Fault monitoring device and method for console management interface of communication equipment
By introducing an indicator light control module into the RJ45 interface module of the communication equipment, and using UART signals to drive the indicator light status, the problem of quickly locating the console management interface fault between the communication equipment and the terminal equipment is solved, and intuitive fault monitoring and maintenance management are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-05
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, when the console management interface between communication equipment and terminal equipment malfunctions, it is impossible to quickly locate the fault point.
By introducing an indicator light control module into the RJ45 interface module of the communication equipment, the UART signal is used to drive the indicator light to turn on, off, and flash, and the fault point can be determined based on the display status of the indicator light.
Users can directly observe the indicator light status of the RJ45 interface module with the naked eye to quickly locate faulty nodes in the console management link, improving the convenience of maintenance and management.
Smart Images

Figure CN121077877B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of management interfaces for communication equipment, and more particularly to a fault monitoring device and method for the console management interface of a communication device. Background Technology
[0002] The console management interface is a common interface used by communication devices to connect to terminal devices (such as computers). Communication devices typically have a console management interface, which connects to the terminal device's console management interface via an RJ-45 interface. This allows the terminal device to configure and manage the communication device. When the console management interface between the communication device and the terminal device malfunctions, such as due to line or equipment failure, the user cannot quickly locate the fault. Summary of the Invention
[0003] The purpose of this application is to provide a fault monitoring device for the console management interface of a communication device, which can solve the technical problem in the prior art that the fault point cannot be quickly located when the console management interface between the communication device and the terminal device fails. Users can quickly determine whether the console management interface between the communication device and the terminal device has failed by means of the indicator light display of the RJ45 interface module.
[0004] In a first aspect, this application provides a fault monitoring device for the console management interface of a communication device, the device comprising:
[0005] An RJ45 interface module, including indicator lights, is configured to connect to the console management interface of a terminal device via a console cable.
[0006] The main controller includes a console management interface, which in turn includes a UART module. The UART module is connected to an RJ45 interface module. The UART module enables console management between the communication device and the terminal device by sending / receiving UART signals.
[0007] The indicator light control module is connected to the RJ45 interface module and the UART module respectively. The indicator light control module is configured to receive UART signals and control the display status of the indicator lights according to the UART signals. Based on the display status of the indicator lights, it determines whether the console management interface of the communication device / terminal device has malfunctioned.
[0008] Optionally, the device includes an RS-232 interface module, a UART module including a first UART transmitter and a first UART receiver, an indicator light control module including a transmit indicator light control unit and a receive indicator light control unit, indicator lights including transmit-side indicator lights and receive-side indicator lights, the first UART transmitter is electrically connected to the transmit indicator light control unit, the first UART receiver is electrically connected to the receive indicator light control unit, the transmit indicator light control unit is electrically connected to the receive-side indicator lights, and the receive indicator light control unit is electrically connected to the transmit-side indicator lights.
[0009] The first UART transmitter outputs a UART transmission signal to the indicator light control unit;
[0010] The transmit indicator control unit controls the display status of the indicator lights on the receive side according to the level status of the UART transmit signal;
[0011] The first UART receiver receives the UART receive signal output from the RS-232 interface module, and the receive indicator control unit controls the display status of the transmitting side indicator light according to the level status of the UART receive signal.
[0012] Optionally, when the UART transmit signal is high, the transmit indicator control unit controls the receive-side indicator to be off;
[0013] When the UART transmit signal is normally low, the transmit indicator control unit controls the receive side indicator to be lit.
[0014] When the UART transmit signal is a level transition, the transmit indicator control unit controls the receive-side indicator to flash;
[0015] When the UART receive signal is at a constant high level, the receive indicator control unit controls the transmit side indicator to be in an off state;
[0016] When the UART receive signal is at a constant low level, the receive indicator control unit controls the transmit side indicator to be lit.
[0017] When the UART received signal undergoes a level transition, the receive indicator control unit controls the transmit side indicator to flash.
[0018] Optionally, when both the receiving-side indicator light and the transmitting-side indicator light are off, it is determined that there is a normal connection between the console management interface of the communication device and the console management interface of the terminal device and no data transmission.
[0019] When both the receiving side indicator light and the transmitting side indicator light are flashing, it is determined that the data transmission between the console management interface of the communication device and the console management interface of the terminal device is normal.
[0020] If the indicator light on the receiving side remains off when the terminal device sends command information to the communication device, it is determined that the console cable is faulty.
[0021] If the indicator light on the receiving side is flashing and the indicator light on the sending side is off when the terminal device sends instruction information to the communication device, it is determined that the console management interface of the communication device has failed.
[0022] If the indicator light on the transmitting side is flashing and no information is displayed on the console management interface of the terminal device, it is determined that the serial port configuration managed by the console has failed.
[0023] Optionally, the transmit indicator control unit includes a first MOSFET, a first resistor, and a first capacitor, the first resistor and the first capacitor forming a first charging delay circuit, and the receive-side indicator includes pin LED2+ and pin LED2-, wherein,
[0024] The UART transmit signal is electrically connected to the gate of the first MOSFET;
[0025] One end of the first resistor is electrically connected to the drain of the first MOSFET, and the other end is electrically connected to the LED2+ pin.
[0026] One end of the first capacitor is electrically connected to the drain of the first MOSFET, and the other end is electrically connected to pin LED2-.
[0027] When the UART transmit signal is high, the first MOSFET is in the off state, driving the indicator light on the receiving side to be off.
[0028] When the UART transmit signal is low, the first MOSFET is in the conducting state, and when the voltage value across the indicator light on the receiving side is greater than or equal to the lighting voltage threshold, the indicator light on the receiving side is driven to be lit, and the first charging delay circuit performs charging at the same time.
[0029] When the UART transmit signal flips from low level to high level, the first MOSFET is in the off state, and the first charging delay circuit performs discharge, keeping the receiver-side indicator light on until the voltage value across the receiver-side indicator light is less than the lighting voltage threshold, at which point the receiver-side indicator light turns off.
[0030] Optionally, the receive indicator control unit includes a second MOSFET, a second resistor, and a second capacitor, which form a second charging delay circuit. The transmit-side indicator includes pin LED1+ and pin LED1-.
[0031] The UART receives signals and is electrically connected to the gate of the second MOSFET;
[0032] One end of the second resistor is electrically connected to the drain of the second MOSFET, and the other end is electrically connected to the LED1+ pin.
[0033] One end of the second capacitor is electrically connected to the drain of the second MOSFET, and the other end is electrically connected to pin LED1-.
[0034] When the UART receive signal is high, the second MOSFET is in the off state, controlling the transmit side indicator light to be off.
[0035] When the UART receive signal is low, the second MOSFET is in the conducting state, and when the voltage value across the transmitter indicator is greater than or equal to the lighting voltage threshold, the transmitter indicator is driven to light up, and the second charging delay circuit performs charging.
[0036] When the UART receive signal flips from low level to high level, the second MOSFET is in the off state, and the second charging delay circuit performs discharge, keeping the transmit-side indicator light on until the voltage value across the transmit-side indicator light is less than the lighting voltage threshold, at which point the transmit-receive indicator light turns off.
[0037] Optionally, the capacitance of the first capacitor and the second capacitor are both 1uF, and the resistance of the first resistor and the second resistor is 1KΩ.
[0038] Optionally, the UART module includes a first UART transmitter and a first UART receiver. The device includes an RS-232 interface module, which includes a second UART transmitter, a second UART receiver, a first UART transmitter, and a first UART receiver. The RJ45 interface module includes a second UART transmitter and a second UART receiver. The first UART transmitter is electrically connected to the second UART receiver, the first UART receiver is electrically connected to the second UART transmitter, the first UART transmitter is electrically connected to the second UART receiver, and the first UART receiver is electrically connected to the second UART transmitter.
[0039] The first UART transmitter outputs a UART transmit signal to the second UART receiver;
[0040] The RS-232 interface module converts the received UART transmission signal into an RS-232 transmission signal, and transmits the RS-232 transmission signal to the second RS-232 receiver through the first RS-232 transmitter. The RJ45 interface module outputs the RS-232 transmission signal to the console management interface of the terminal device through the console cable.
[0041] The RJ45 interface module receives RS-232 receive signals from the console management interface of the terminal device via the console cable, and transmits the RS-232 receive signals to the first RS-232 receiver via the second RS-232 transmitter.
[0042] The first RS-232 receiver converts the RS-232 received signal into a UART received signal, and sends the UART received signal to the first UART receiver through the second UART transmitter, so that the master controller can process the UART received signal.
[0043] Secondly, this application provides a fault monitoring method for the console management interface of a communication device, the method comprising:
[0044] The UART module can send / receive UART signals to enable console management between communication devices and terminal devices;
[0045] The indicator light control module receives UART signals and controls the display status of the indicator lights set on the RJ45 interface module according to the UART signals. Based on the display status of the indicator lights, it determines whether the console management interface of the communication device / terminal device has malfunctioned.
[0046] Thirdly, this application provides a communication device, including a fault monitoring device for the console management interface of the communication device as described above.
[0047] In this application, the indicator light control module drives the received UART signal to turn the indicator lights of the RJ45 interface module on and off. The UART signal is the communication signal of the console management interface of the main controller. Therefore, users can directly observe the display status of the indicator lights of the RJ45 interface module to determine whether the console management interface of the communication device 100 / terminal device has failed. This method can quickly locate the faulty node in the console management link, enabling users to more directly and intuitively locate and maintain the communication device, bringing convenience to users in maintenance and management. Attached Figure Description
[0048] Figure 1A first system block diagram of a fault monitoring device for the console management interface of a communication device provided in an embodiment of this application;
[0049] Figure 2 A second system block diagram of a fault monitoring device for the console management interface of a communication device provided in this application embodiment;
[0050] Figure 3 A third system block diagram of a fault monitoring device for the console management interface of a communication device provided in this application embodiment;
[0051] Figure 4 A fourth system block diagram of a fault monitoring device for the console management interface of a communication device provided in this application embodiment;
[0052] Figure 5 A flowchart of a fault monitoring method for the console management interface of a communication device provided in an embodiment of this application;
[0053] Figure 6 This is a system block diagram of a communication device provided in an embodiment of this application. Detailed Implementation
[0054] The present application will be described in detail below with reference to the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present application. Any structural, methodological, or functional modifications made by those skilled in the art based on these embodiments are included within the protection scope of the present application.
[0055] Please refer to Figure 1 This application provides a fault monitoring device for the console management interface of a communication device 100. The device includes an RJ45 interface module 11, a main controller 12, and an indicator light control module 13.
[0056] RJ45 interface module 11 includes indicator lights (not shown in the figure). RJ45 interface module 11 is configured to connect to the console management interface of terminal device 200 via a console cable. Exemplarily, one end of the console cable connects to RJ45 interface module 11 of communication device 100, and the other end connects to RJ45 interface module / DB9 interface / USB interface of terminal device 200. It should be noted that RJ45 interface module 11 uses an RJ45 connector. The appearance of the RJ45 connector is similar to that of an RJ45 network port, but the signal definition of the RJ45 connector is different. This RJ45 connector carries RS-232 signals and follows the RS-232 serial port protocol.
[0057] The main controller 12 includes a console management interface (not shown in the figure), which includes a UART module 121. For example, the main controller 12 uses an MCU chip, which implements data communication with the console management interface through a UART (Asynchronous Receiver / Transmitter) interface. The UART module 121 is connected to the RJ45 interface module 11. The UART module 121 transmits / receives UART signals to achieve console management between the communication device 100 and the terminal device 200. Console management enables configuration management of the communication device 100, such as device IP address management, user and password management, etc.
[0058] The indicator light control module 13 is connected to the UART module 121 and the RJ45 interface module 11 respectively. The indicator light control module 13 is configured to receive UART signals and drive the display status of the indicator lights of the RJ45 interface module 11 according to the UART signals. Based on the display status of the indicator lights, it determines whether the console management interface of the communication device 100 / the console management interface of the terminal device 200 has failed.
[0059] In the prior art, the RJ45 interface module of the console management interface of the communication device 100 typically uses an RJ45 connector with or without indicator lights. RJ45 connectors with indicator lights are usually not used because they are different from Ethernet RJ45 connectors. The indicator lights of Ethernet RJ45 connectors can be directly driven by Ethernet link signals to turn on and off. However, the RJ45 interface module of the console management interface uses RS-232 signals, and the indicator lights of the RJ45 interface module cannot be directly turned on and off by driving RS-232 signals. Therefore, the indicator lights of the RJ45 interface module of the console management interface of the communication device 100 are usually not used in the prior art.
[0060] Therefore, in this embodiment, the indicator light control module 13 drives the received UART signal to turn the indicator light of the RJ45 interface module 11 on and off. The UART signal is the communication signal of the console management interface of the main controller 12. Therefore, the user can directly observe the display status of the indicator light of the RJ45 interface module 11 to determine whether the console management interface of the communication device 100 / terminal device 200 has failed. This method can quickly locate the faulty node in the console management link, enabling the user to more directly and intuitively locate and maintain the communication device, bringing convenience to the user in maintenance and management.
[0061] One embodiment of this application, such as Figure 2 As shown, the UART module 121 includes a first UART transmitter 1211 and a first UART receiver 1212. The device also includes an RS-232 interface module 14, which includes a second UART transmitter 141, a second UART receiver 142, a first UART transmitter 143, and a first UART receiver 144. The RS-232 interface 11 includes a second UART transmitter 111 and a second UART receiver 112. The first UART transmitter 1211 is electrically connected to the second UART receiver 142, the first UART receiver 1212 is electrically connected to the second UART transmitter 141, the first UART transmitter 143 is electrically connected to the second UART receiver 112, and the first UART receiver 144 is electrically connected to the second UART transmitter 111. The first UART transmitter 1211 outputs a UART transmission signal to the second UART receiver 142. The RS-232 interface module 14 converts the received UART transmit signal into an RS-232 transmit signal and transmits it to the second RS-232 receiver 112 via the first RS-232 transmitter 143. The RJ45 interface module 11 outputs the RS-232 transmit signal to the console management interface of the terminal device 200 via a console cable, so that the console management interface of the terminal device 200 can process the received RS-232 transmit signal. The RJ45 interface module 11 receives the RS-232 receive signal from the console management interface of the terminal device 200 via a console cable and transmits it to the first RS-232 receiver 144 via the second RS-232 transmitter 111. The first RS-232 receiver 144 converts the RS-232 received signal into a UART received signal and sends the UART received signal to the first UART receiver 1212 through the second UART transmitter 141, so that the master controller 12 can process the UART received signal, thereby realizing data communication between the console management interface of the communication device 100 and the console management interface of the terminal device 200, and thus realizing the console management and configuration of the device.
[0062] One specific embodiment of this application, such as Figure 3As shown, UART module 121 includes CPU chip U2A, RS-232 interface module 14 includes RS-232 chip U1, U1's chip model is SP3232EU, and RJ45 interface module 11 includes RJ45 connector J1. The first UART transmitter 1211 (pin A1) of CPU chip U2A outputs a UART transmit signal (UART-TX) to the second UART receiver 142 (pin 11) of RS-232 chip U1. RS-232 chip U1 converts the received UART transmit signal into an RS-232 transmit signal (CONSOLE_TX) and transmits it through the first RS-232 transmit terminal 143 (pin 14) to the second RS-232 receive terminal 112 (pin A3) of RJ45 connector J1. RJ45 connector J1 outputs the RS-232 transmit signal (CONSOLE_TX) to the console management interface of terminal device 200 via a console cable, so that the console management interface of terminal device 200 can process the received RS-232 transmit signal. RJ45 connector J1 receives the RS-232 receive signal (CONSOLE_RX) sent from the console management interface of terminal device 200 via a console cable and transmits the RS-232 receive signal (UART-TX) through the second RS-232 transmit terminal 111 (pin A6) to the first RS-232 receive terminal 144 (pin 13) of RS-232 chip U1. The first RS-232 receiver 144 converts the RS-232 received signal (CONSOLE_RX) into a UART received signal (UART-RX), and sends the UART received signal (UART-RX) to the first UART receiver 1212 (pin A3) of the CPU chip U2A through the second UART transmitter 141 (pin 12), so that the main controller 12 processes the UART received signal (UART-RX), thereby realizing data communication between the console management interface of the communication device 100 and the console management interface of the terminal device 200, and thus realizing the console management and configuration of the device.
[0063] One embodiment of this application, such as Figure 4As shown, the indicator light control module 13 includes a transmitting indicator light control unit 131 and a receiving indicator light control unit 132. The indicator lights of the RJ45 interface module 11 include a transmitting side indicator light 113 and a receiving side indicator light 114. The first UART transmitting end 1211 is electrically connected to the transmitting indicator light control unit 131, the first UART receiving end 1212 is electrically connected to the receiving indicator light control unit 132, the transmitting indicator light control unit 131 is electrically connected to the receiving side indicator light 114, and the receiving indicator light control unit 132 is electrically connected to the transmitting side indicator light 113. The first UART transmitting end 1211 outputs a UART transmitting signal to the transmitting indicator light control unit 131, and the transmitting indicator light control unit 131 controls the display state of the receiving side indicator light 114 according to the level state of the UART transmitting signal. The first UART receiving end 1212 receives the UART receiving signal output from the RS-232 interface module 14, and the receiving indicator light control unit 132 controls the display state of the transmitting side indicator light 113 according to the level state of the UART receiving signal.
[0064] Specifically, when the UART transmit signal is high, the transmit indicator control unit 131 drives the receive-side indicator 114 to be off; when the UART transmit signal is normally low, the transmit indicator control unit 131 drives the receive-side indicator 114 to be on; when the UART transmit signal undergoes a level transition, the transmit indicator control unit 131 drives the receive-side indicator 114 to flash. When the UART receive signal is normally high, the receive indicator control unit 132 drives the transmit-side indicator 113 to be off; when the UART receive signal is normally low, the receive indicator control unit 132 drives the transmit-side indicator 113 to be on; when the UART receive signal undergoes a level transition, the receive indicator control unit 132 drives the transmit-side indicator 113 to flash.
[0065] In this embodiment, the transmit indicator control unit 131 drives the display state of the receive-side indicator 114 of the RJ45 interface module 11 according to the level state of the received UART transmit signal, i.e., on, off, or flashing. The receive indicator control unit 132 drives the display state of the transmit-side indicator 113 of the RJ45 interface module 11 according to the level state of the received UART receive signal, i.e., on, off, or flashing. The user can determine whether the line between the console management interface of the communication device 100 and the console management interface of the terminal device 200 is normal or faulty based on the display states of the receive-side indicator 114 and the transmit-side indicator 113. This method is simple and can quickly locate whether the line is normal.
[0066] In one embodiment of this application, the transmit indicator control unit 131 includes a first MOSFET, a first resistor, and a first capacitor. The first resistor and the first capacitor form a first charging delay circuit. The receive-side indicator 114 includes pins LED2+ and LED2-. The UART transmit signal is electrically connected to the gate of the first MOSFET. One end of the first resistor is electrically connected to the drain of the first MOSFET, and the other end is electrically connected to pin LED2+. One end of the first capacitor is electrically connected to the drain of the first MOSFET, and the other end is electrically connected to pin LED2-. When the UART transmit signal is high, the first MOSFET is off, keeping the receiver-side indicator light 114 off. When the UART transmit signal is low, the first MOSFET is on, and when the voltage across the receiver-side indicator light 114 is greater than or equal to the lighting voltage threshold, the indicator light 114 is turned on, and the first charging delay circuit performs charging. When the UART transmit signal flips from low to high, the first MOSFET is off, and the first charging delay circuit performs discharging, keeping the receiver-side indicator light 114 on until the voltage across it is less than the lighting voltage threshold, at which point the indicator light 114 turns off, thus extending the lighting time of the receiver-side indicator light 114. The setting of the lighting voltage threshold is related to the chip design of the RJ45 interface module 11.
[0067] In one embodiment of this application, the receive indicator control unit 132 includes a second MOSFET, a second resistor, and a second capacitor. The second resistor and the second capacitor form a second charging delay circuit. The transmit side indicator 113 includes pins LED1+ and LED1-. The UART receive signal is electrically connected to the gate of the second MOSFET. One end of the second resistor is electrically connected to the drain of the second MOSFET, and the other end is electrically connected to pin LED1+. One end of the second capacitor is electrically connected to the drain of the second MOSFET, and the other end is electrically connected to pin LED1-. When the UART receive signal is high, the second MOSFET is off, keeping the transmitting side indicator light 113 off. When the UART receive signal is low, the second MOSFET is on. When the voltage across the transmitting side indicator light 113 is greater than or equal to the brightness voltage threshold, the transmitting side indicator light 113 is turned on, and the second charging delay circuit performs charging. When the UART receive signal flips from low to high, the second MOSFET is off, and the second charging delay circuit performs discharging, keeping the transmitting side indicator light 113 on until the voltage across the transmitting side indicator light 113 is less than the lighting voltage threshold, at which point the transmitting side indicator light 113 turns off, thus extending the lighting time of the transmitting side indicator light 113. The setting of the lighting voltage threshold is related to the chip design of the RJ45 interface module 11.
[0068] In this embodiment, the UART transmit signal and UART receive signal transition rapidly during level changes. If the signal is used to directly drive the indicator light, the indicator light will be weak, making it difficult for the user to observe the changes in the indicator light status with the naked eye. Therefore, the charging and discharging functions of the first and second charging delay circuits can extend the indicator light's illumination time, allowing the user to directly observe the changes in the indicator light status with the naked eye. This enables the correct positioning of the line status between the console management interface of the communication device 100 and the console management interface of the terminal device 200.
[0069] One specific embodiment of this application, such as Figure 3 As shown, the transmit indicator control unit 131 includes a first MOSFET Q2, a first resistor R6, and a first capacitor C2. The first resistor R6 and the first capacitor C2 form a first charging delay circuit. The receive-side indicator 114 of the RJ45 connector J1 includes pins LED2+ and LED2-. The UART transmit signal (UART-TX) is electrically connected to the gate of the first MOSFET Q2. One end of the first resistor R6 is electrically connected to the drain of the first MOSFET Q2, and the other end is electrically connected to pin LED2+. One end of the first capacitor C2 is electrically connected to the drain of the first MOSFET Q2, and the other end is electrically connected to pin LED2-. The receive indicator control unit 132 includes a second MOSFET Q1, a second resistor R3, and a second capacitor C1. The second resistor R3 and the second capacitor C1 form a second charging delay circuit. The transmit-side indicator 113 includes pins LED1+ and LED1-. The UART receive signal (UART-RX) is electrically connected to the gate of the second MOSFET Q1. One end of the second resistor R3 is electrically connected to the drain of the second MOSFET Q1, and the other end is electrically connected to the LED1+ pin. One end of the second capacitor C1 is electrically connected to the drain of the second MOSFET Q1, and the other end is electrically connected to the LED1- pin. For example, the capacitance of the first capacitor C2 and the second capacitor C1 is 1uF, and the resistance of the first resistor R6 and the second resistor R3 is 1KΩ.
[0070] Specifically, when the UART transmit signal (UART-TX) is high, the first MOSFET Q2 is off, and the output RX-LED signal drives the receiving-side indicator light 114 to be off. When the UART transmit signal (UART-TX) is low, the first MOSFET Q2 is on, and R6 and C2 form a first charging delay circuit. This circuit charges during this stage. Because R6 has a smaller resistance and C2 has a larger resistance, the charging time t1 = R6 * C2. When the voltage across the receiving-side indicator light 114 reaches the lighting voltage threshold, the output RX-LED signal drives the receiving-side indicator light 114 to light up, and C2 simultaneously stores energy. When the UART transmit signal (UART-TX) flips from low to high, the first MOSFET Q2 is off, and C2 discharges the energy stored in the previous stage, keeping the receiving-side indicator light 114 on until the voltage across it falls below the lighting voltage threshold, at which point the receiving-side indicator light 114 turns off. Users can adjust the value of C2 according to the actual situation to adjust the lighting extension time of the receiver-side indicator light 114.
[0071] Specifically, when the UART receive signal (UART-RX) is high, the second MOSFET Q1 is off, and the output TX-LED signal drives the transmitting side indicator light 113 to remain off. When the UART receive signal (UART-RX) is low, the second MOSFET Q1 is on, and R3 and C1 form a second charging delay circuit. This circuit charges during this stage. Because R3 has a smaller resistance and C1 has a larger resistance, the charging time t1 = R3 * C1. When the voltage across the transmitting side indicator light 113 reaches the lighting voltage threshold, the output TX-LED signal drives the transmitting side indicator light 113 to light up, and C1 simultaneously stores energy. When the UART receive signal (UART-RX) flips from low to high, the second MOSFET Q1 is off, and C1 discharges the energy stored in the previous stage, keeping the transmitting side indicator light 113 on until the voltage across it falls below the lighting voltage threshold, at which point the transmitting side indicator light 113 turns off. Users can adjust the value of C1 according to the actual situation to adjust the lighting extension time of the transmitting side indicator light 113.
[0072] In one embodiment of this application, when both the receiving-side indicator light 114 and the transmitting-side indicator light 113 are off, it is determined that the console management interface of the communication device 100 and the console management interface of the terminal device 200 are connected but there is no data transmission. The console management interface of the communication device is typically used during device debugging and maintenance, and is generally not used during normal operation. The console management interface does not actively send signals to the terminal device. At this time, the UART transmit signal and UART receive signal are idle and at a high level. Therefore, when both the receiving-side indicator light 114 and the transmitting-side indicator light 113 are off, there is a normal connection between the console management interface of the communication device 100 and the console management interface of the terminal device 200, but no data transmission. When both the receiving-side indicator light 114 and the transmitting-side indicator light 113 are flashing, it indicates that the UART transmitting side of the main controller outputs a data signal, and the UART receiving side receives the data signal. Therefore, it is determined that the data transmission between the console management interface of the communication device and the console management interface of the terminal device is normal.
[0073] In one embodiment of this application, when a user manages the communication device 100 through the console management software of the terminal device 200, if the receiving-side indicator light 114 remains off when the terminal device 200 sends command information to the communication device 100, it indicates that the communication device 100 has not received a signal, and the console cable is determined to be faulty. In another application scenario where the user manages the communication device 100 through the console management software of the terminal device 200, if the transmitting-side indicator light 113 is flashing and the receiving-side indicator light 114 is off when the terminal device 200 sends command information to the communication device 100, the flashing transmitting-side indicator light 113 indicates that the UART receiving side of the communication device 100 has received a data signal, while the off receiving-side indicator light 114 indicates that the UART transmitting side of the communication device 100 has not sent a data signal, thus the console management interface of the communication device 100 is determined to be faulty. In another application scenario where the user manages the communication device 100 through the console management software of the terminal device 200, if the transmitting side indicator light 113 is flashing and no information is displayed on the console management interface of the terminal device, it is determined that the console management serial port configuration has failed, such as a problem with the serial port interface parameter configuration, and the baud rate, port, etc. need to be reconfigured.
[0074] Based on the same inventive concept, this application also provides a method for fault monitoring of the console management interface of a communication device. The solution provided by this method is similar to the solution described in the above-mentioned device. Therefore, the specific limitations in the embodiments of one or more fault monitoring methods for the console management interface of a communication device provided below can be found in the limitations of the fault monitoring device for the console management interface of the communication device described above, and will not be repeated here.
[0075] like Figure 5 As shown, this application provides a fault monitoring method for the console management interface of a communication device. This method is applied to the fault monitoring device for the console management interface described above, and includes:
[0076] The S501 UART module can send / receive UART signals to enable console management between communication devices and terminal devices;
[0077] S502, the indicator light control module receives UART signals and controls the display status of the indicator lights set on the RJ45 interface module according to the UART signals. Based on the display status of the indicator lights, it determines whether the console management interface of the communication device / terminal device has malfunctioned.
[0078] As an example, please refer to Figure 6This diagram illustrates the structure of a communication device according to an embodiment of this application. The network device includes a fault monitoring device 601 for the console management interface of the communication device, a communication interface 602, a processor 603, a memory 604, and a bus 605. The processor 603, memory 604, communication interface 602, and fault monitoring device 601 for the console management interface of the communication device are communicatively connected to each other via the bus 605. The memory 604 can be used to store computer programs, which may include instructions and data. In this embodiment, the memory 604 can be various types of storage media, such as random access memory, static random access memory, non-volatile RAM, DDR, etc. The memory 604 may include a hard disk and / or RAM. The processor 603 can be a general-purpose processor, which can be a processor that performs specific steps and / or operations by reading and executing the computer program stored in the memory (e.g., memory 604). The general-purpose processor is used to process the data output by the fault monitoring device for the console management interface of the communication device. The general-purpose processor may be, for example, but is not limited to, a central processing unit. Furthermore, processor 603 can also be a dedicated processor, which can be a processor specifically designed to perform specific steps and / or operations. Dedicated processors can be, for example, but not limited to, ASICs and FPGAs. Additionally, processor 603 can also be a combination of multiple processors, such as a multi-core processor. Communication interface 602 can include input / output interfaces, physical interfaces, and logical interfaces for interconnecting devices within the network device, as well as interfaces for interconnecting the network device with other devices (e.g., network devices). The physical interface can be a gigabit Ethernet interface, which can be used to interconnect the network device with other devices. The logical interface is an interface within the network device, which can be used to interconnect devices within the network device. Bus 605 can be of any type, used to interconnect processor 603, memory 604, communication interface 602, and a fault monitoring device for the console management interface of the communication device. For example, the structure of the fault monitoring device 601 for the console management interface of a system bus communication device can be referenced. Figure 1 The illustrated embodiment will not be described in detail here. The interconnection of any device in processor 603, memory 604, and communication interface 602 with the fault monitoring device 601 of the console management interface of the communication device can specifically refer to the interconnection of any device with the device in the fault monitoring device of the console management interface of the communication device.
[0079] Although preferred embodiments of the present application have been disclosed for illustrative purposes, those skilled in the art will recognize that various modifications, additions, and substitutions are possible without departing from the scope and spirit of the present application as disclosed in the appended claims.
Claims
1. A failure monitoring apparatus of a console management interface of a communication device, characterized by, The device comprises: an RJ45 interface module comprising an indicator light, the RJ45 interface module being configured to be connected to a console management interface of a terminal device through a console cable; a master controller comprising a console management interface, the console management interface comprising a UART module, the UART module being connected to the RJ45 interface module, the UART module realizing console management between the communication device and the terminal device by sending / receiving UART signals; an indicator light control module connected to the RJ45 interface module and the UART module respectively, the indicator light control module being configured to receive UART signals and control the display state of the indicator light according to the UART signals, and to determine whether the console management interface of the communication device / the console management interface of the terminal device has failed based on the display state of the indicator light; wherein the device further comprises an RS-232 interface module, the UART module comprises a first UART sending end and a first UART receiving end, the indicator light control module comprises a sending indicator light control unit and a receiving indicator light control unit, the indicator light comprises a sending side indicator light and a receiving side indicator light, the first UART sending end is electrically connected to the sending indicator light control unit, the first UART receiving end is electrically connected to the receiving indicator light control unit, the sending indicator light control unit is electrically connected to the receiving side indicator light, and the receiving indicator light control unit is electrically connected to the sending side indicator light, wherein the first UART sending end outputs a UART sending signal to the sending indicator light control unit; the sending indicator light control unit controls the display state of the receiving side indicator light according to the level state of the UART sending signal; the first UART receiving end receives a UART receiving signal output from the RS-232 interface module, and the receiving indicator light control unit controls the display state of the sending side indicator light according to the level state of the UART receiving signal.
2. The fault monitoring device for the console management interface of the communication device according to claim 1, wherein in the case where the UART sending signal is at a high level, the sending indicator light control unit controls the receiving side indicator light to be in an extinguished state; in the case where the UART sending signal is at a constant low level, the sending indicator light control unit controls the receiving side indicator light to be in a lit state; in the case where the UART sending signal is at a level jump, the sending indicator light control unit controls the receiving side indicator light to be in a flashing state; in the case where the UART receiving signal is at a constant high level, the receiving indicator light control unit controls the sending side indicator light to be in an extinguished state; in the case where the UART receiving signal is at a constant low level, the receiving indicator light control unit controls the sending side indicator light to be in a lit state; When the UART receiving signal is a level jump, the receiving indicator control unit controls the sending side indicator to be in a flashing state.
3. The fault monitoring device of a console management interface of a communication device according to claim 2, characterized in that, when the receiving side indicator is in an off state and the sending side indicator is in an off state, it is determined that the console management interface of the communication device and the console management interface of the terminal device are normally connected and no data transmission is performed; when the receiving side indicator is in a flashing state and the sending side indicator is in a flashing state, it is determined that the data transmission between the console management interface of the communication device and the console management interface of the terminal device is normal; when the terminal device sends instruction information to the communication device, if the receiving side indicator is always in an off state, it is determined that the console cable is faulty; when the terminal device sends instruction information to the communication device, if the receiving side indicator is in a flashing state and the sending side indicator is in an off state, it is determined that the console management interface of the communication device is faulty; when the sending side indicator is in a flashing state and the console management interface of the terminal device does not display information, it is determined that the console management serial port configuration is faulty.
4. The apparatus for failure monitoring of a console management interface of a communication device according to claim 2, wherein The sending indicator control unit comprises a first MOS transistor, a first resistor and a first capacitor, the first resistor and the first capacitor form a first charging delay circuit, the receiving side indicator comprises a pin LED2+ and a pin LED2-, wherein, the UART sending signal is electrically connected to the gate of the first MOS transistor; one end of the first resistor is electrically connected to the drain of the first MOS transistor, and the other end is electrically connected to the pin LED2+; one end of the first capacitor is electrically connected to the drain of the first MOS transistor, and the other end is electrically connected to the pin LED2-; when the UART sending signal is at a high level, the first MOS transistor is in an off state, and the receiving side indicator is driven to be in an off state; when the UART sending signal is at a low level, the first MOS transistor is in an on state, and when the voltage value between the receiving side indicator is greater than or equal to the light-on voltage threshold, the receiving side indicator is driven to be in a light-on state, and the first charging delay circuit performs charging at the same time; when the UART sending signal flips from a low level to a high level, the first MOS transistor is in an off state, the first charging delay circuit performs discharging, and the receiving side indicator remains in a light-on state until the voltage value between the receiving side indicator is less than the light-on voltage threshold, and the receiving side indicator is turned off.
5. The apparatus for failure monitoring of a console management interface of a communication device according to claim 4, characterized by The receiving indicator control unit comprises a second MOS transistor, a second resistor and a second capacitor, the second resistor and the second capacitor form a second charging delay circuit, the sending side indicator comprises a pin LED1+ and a pin LED1-, wherein, The UART receiving signal is electrically connected with the gate of the second MOS tube; One end of the second resistor is electrically connected with the drain of the second MOS tube, and the other end is electrically connected with the pin LED1+; One end of the second capacitor is electrically connected with the drain of the second MOS tube, and the other end is electrically connected with the pin LED1-; When the UART receiving signal is at a high level, the second MOS tube is in an off state, and the sending side indicator is in an off state; When the UART receiving signal is at a low level, the second MOS tube is in an on state, and when the voltage value between the sending side indicator is greater than or equal to the lighting voltage threshold, the sending side indicator is in a lighting state, and the second charging delay circuit performs charging; When the UART receiving signal is flipped from a low level to a high level, the second MOS tube is in an off state, the second charging delay circuit performs discharging, and the sending side indicator remains in a lighting state until the voltage value between the sending side indicator is less than the lighting voltage threshold, and the sending side indicator is off.
6. The console management interface fault monitoring apparatus of claim 5, wherein, The capacitance values of the first capacitor and the second capacitor are both 1uf, and the resistance values of the first resistor and the second resistor are both 1KΩ.
7. The apparatus for failure monitoring of a console management interface of a communication device according to claim 1, wherein The UART module includes a first UART sending end and a first UART receiving end, the device includes an RS-232 interface module, the RS-232 interface module includes a second UART sending end, a second UART receiving end, a first 232 sending end, and a first 232 receiving end, the RJ45 interface module includes a second 232 sending end and a second 232 receiving end, the first UART sending end is electrically connected with the second UART receiving end, the first UART receiving end is electrically connected with the second UART sending end, the first 232 sending end is electrically connected with the second 232 receiving end, and the first 232 receiving end is electrically connected with the second 232 sending end, wherein, The first UART sending end outputs a UART sending signal to the second UART receiving end; The RS-232 interface module converts the received UART sending signal into an RS-232 sending signal, and sends the RS-232 sending signal to the second 232 receiving end through the first 232 sending end, and the RJ45 interface module outputs the RS-232 sending signal to the console management interface of the terminal device through the console cable; The RJ45 interface module receives an RS-232 receiving signal from the console management interface of the terminal device through the console cable, and sends the RS-232 receiving signal to the first 232 receiving end through the second 232 sending end; The first 232 receiving end converts the RS-232 receiving signal into a UART receiving signal, and sends the UART receiving signal to the first UART receiving end through the second UART sending end, so that the host processor performs processing on the UART receiving signal.
8. A method of fault monitoring of a console management interface of a communication device, characterized in that The method is applied to the fault monitoring device of the console management interface of the communication device as claimed in claims 1-7, and the method comprises: The UART module can send / receive UART signals to realize the console management between the communication device and the terminal device. The indicator light control module receives the UART signals and controls the display state of the indicator light arranged in the RJ45 interface module according to the UART signals, and judges whether the console management interface of the communication device / console management interface of the terminal device is faulty based on the display state of the indicator light.
9. A communication device, characterized by The fault monitoring device of the console management interface of the communication device as claimed in claims 1-7.
Citation Information
Patent Citations
BYPASS device and method of switch and switch
CN116095026A
Connection abnormality detection method, network system, and master device
US20140047056A1