Fault positioning method and network equipment
By using the switch module between the main control board and Telnet redirection technology in the mobile communication network, timely fault location of fault base station equipment is achieved, the problem of low maintenance efficiency in remote areas is solved, and the efficiency of fault handling is improved. reliability.
Patent Information
- Application Number
- CN202411359741.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-09-27
AI Technical Summary
In mobile communication networks, the base station equipment is located in remote areas, resulting in uncontrollable attendance time for maintenance personnel and failure to locate faults through serial port connection in time, affecting the efficiency of problem positioning.
The TX direction switch module of the first main control board sends instructions to the RX direction switch module of the second main control board, and uses the normal main control board to locate faults, including disconnecting the network interface, and using Telnet redirection technology to realize remote debugging. Read information about the failed main control board.
It improves the timeliness and efficiency of fault location, avoids network service interruptions caused by the failure of the main control board, and reduces economic losses to operators and users.
Smart Images

Figure CN119109773A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a fault location method and network equipment. Background Art
[0002] With the development of mobile communication technology, people have become inseparable from the network, especially the mobile network. The development of mobile networks has also driven the construction of operators' infrastructure, such as ICT equipment (information and communication technology equipment), such as integrated service access network aggregation layer equipment (hereinafter referred to as A equipment) and integrated service access network equipment for class A access device traffic aggregation (hereinafter referred to as B equipment), especially A equipment, which is often installed and constructed together with base stations. As of 2020, 98% of administrative villages in the country have access to optical fiber, 98% of 4G network coverage, and more than 700,000 5G base stations have been built. As the number of base stations increases, A equipment will also increase significantly.
[0003] The increase in the number of devices is also accompanied by an increase in the number of professional maintenance personnel required. However, the equipment is often located in remote villages or high mountains. Due to factors such as labor costs and the low probability of communication equipment problems, it is impossible to have a professional maintenance personnel on site at each base station, so there are often no relevant personnel around the base stations.
[0004] As the equipment runs for a long time, various problems may occur. Some problems can be solved by remotely logging into the equipment through Telnet. Once the equipment encounters a startup problem, it is necessary to connect to the serial port of the equipment to locate the problem. However, due to the geographical location of the equipment and manpower issues, the serial port of the equipment cannot be connected in time. It may be necessary to wait until the maintenance personnel arrive at the site before implementation. After the personnel arrive, they connect the PC and the CON port of the equipment through a serial cable to view the device information. This cannot achieve timeliness and affects the efficiency of problem location. Summary of the invention
[0005] To overcome the problems existing in the related art, this specification provides a fault location method and a network device.
[0006] According to a first aspect of an embodiment of this specification, a method for locating a fault is provided, the method comprising:
[0007] When a fault of the second main control board is identified, a first instruction is sent to the CPU of the second main control board through the TX direction switch module of the first main control board and the RX direction switch module of the second main control board;
[0008] So that the CPU of the second main control board sends the response information to the CPU of the first main control board through the TX direction switch module of the second main control board and the RX direction switch module of the first main control board according to the first instruction;
[0009] The CPU of the first main control board locates the fault of the second main control board according to the response information;
[0010] Among them, the TX direction switch module is a one-to-two buffer module, and the RX direction switch module is a two-to-one switch module.
[0011] Wherein, the TX direction switch module of the first main control board is respectively connected to the CPU of the first main control board, the network interface of the first main control board and the RX direction switch module of the second main control board;
[0012] The TX direction switch module of the second main control board is respectively connected to the CPU of the second main control board, the network interface of the second main control board and the RX direction switch module of the first main control board.
[0013] Wherein, the method further comprises:
[0014] The first main control board sends a first signal to the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPU, so that the RX direction switch module in the first main control board and the RX direction switch module in the second main control board are disconnected from the network interface.
[0015] Wherein, the method further comprises:
[0016] The first main control board controls the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPLD / FPGA module to disconnect from the network interface.
[0017] The CPU of the first main control board locates the fault of the second main control board according to the response information, including:
[0018] The response information received by the CPU of the first main control board is read by the network management device to locate the fault of the second main control board.
[0019] It can be seen from the above embodiments that for a dual-master network device, when a master control board fails and the management network port cannot be used or even cannot be controlled, the normal master control board can be used to debug the faulty master control board through telnet redirection technology, thereby improving the timeliness and efficiency of fault location.
[0020] According to a second aspect of an embodiment of the present specification, a network device is provided, the network device comprising: a first main control board and a second main control board, the first main control board comprising: a first CPU, a first RX direction two-choose-one switch module and a first TX direction one-to-two buffer module, the second main control board comprising: a second CPU, a second RX direction two-choose-one switch module and a second TX direction one-to-two buffer module,
[0021] The first RX direction two-choose-one switch module is respectively connected to the first CPU, the second TX direction one-to-two buffer module and the network interface of the first main control board, and the first TX direction one-to-two buffer module is respectively connected to the first CPU, the second RX direction two-choose-one switch module and the network interface;
[0022] The second RX direction two-choose-one switch module is respectively connected to the second CPU, the first TX direction one-to-two buffer module and the network interface of the second main control board, and the second TX direction one-to-two buffer module is respectively connected to the second CPU, the first RX direction two-choose-one switch module and the network interface;
[0023] The first main control board includes:
[0024] an identification module, used for sending a first instruction to the CPU of the second main control board through the TX direction switch module of the first main control board and the RX direction switch module of the second main control board when a fault of the second main control board is identified;
[0025] So that the CPU of the second main control board sends the response information to the CPU of the first main control board through the TX direction switch module of the second main control board and the RX direction switch module of the first main control board according to the first instruction;
[0026] A response module, used for locating the fault of the second main control board according to the response information;
[0027] Among them, the TX direction switch module is a one-to-two buffer module, and the RX direction switch module is a two-to-one switch module.
[0028] Wherein, the first main control board also includes:
[0029] The sending module is used to send a first signal to the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPU, so that the RX direction switch module in the first main control board and the RX direction switch module in the second main control board are disconnected from the network interface.
[0030] The response module is also used to control the RX direction switch module in the first main control board and the RX direction switch module in the second main control board to disconnect from the network interface through the CPLD / FPGA module.
[0031] The response module is further used to read the response information received by the CPU of the first main control board through the network management device to locate the fault of the second main control board.
[0032] According to a third aspect of the embodiments of this specification, a network device is provided, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program implements the method steps in the above embodiments when executed by the processor.
[0033] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0035] Figure 1 It is a flowchart of a fault location method shown in this specification according to an exemplary embodiment.
[0036] Figure 2 This is a schematic diagram of a dual-master control architecture according to an exemplary embodiment of this specification.
[0037] Figure 3 It is a schematic diagram of a network architecture shown in this specification according to an exemplary embodiment. DETAILED DESCRIPTION
[0038] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0039] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0040] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first main control board may also be referred to as the second main control board, and similarly, the second main control board may also be referred to as the first main control board. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0041] Existing operator network equipment is a dual-master control environment. Each master control has a serial port and a management network port. Each master control board has a serial port named CONSOLE and a management network port named MANAGMENT. After the device is connected to the network, you can log in and manage the device through the management network port. However, if the network connection is disconnected, you cannot log in and manage the device through the network. At this time, you can only log in to the device on site by connecting the CONSOLE port to a PC with a serial cable.
[0042] However, these devices are often installed in remote areas. Therefore, in general, maintenance personnel will leave the site after the device is online. Subsequent management and maintenance of the device are all operated by logging into the device or the network management system through Telnet. When a main control board fails to start during device operation (it may be a hardware failure that causes a loop start, a software bug that causes the program to hang, or a software version error that causes it to stop at the boot stage), there is another main control device that can work, which will not have much impact on the operator's business. However, since it takes time for maintenance personnel to arrive on site, and the time is uncontrollable, there are also huge hidden dangers in the equipment environment at this time. Once another main control device also has problems, network services will be interrupted, causing serious consequences. Both the operator and the users of the operator will be affected, causing indirect economic losses.
[0043] In order to solve the above problems, the present disclosure provides a method for locating a fault. Figure 1 As shown, the method includes:
[0044] S101: When a fault of the second main control board is identified, a first instruction is sent to the CPU of the second main control board through the TX direction switch module of the first main control board and the RX direction switch module of the second main control board;
[0045] So that the CPU of the second main control board sends the response information to the CPU of the first main control board through the TX direction switch module of the second main control board and the RX direction switch module of the first main control board according to the first instruction;
[0046] S102: the CPU of the first main control board locates the fault of the second main control board according to the response information;
[0047] Among them, the TX direction switch module is a one-to-two buffer module, and the RX direction switch module is a two-to-one switch module.
[0048] like Figure 2 As shown, a first main control board and a second main control board, the first main control board includes: a first CPU, a first RX direction two-to-one switch module and a first TX direction one-to-two buffer module, the second main control board includes: a second CPU, a second RX direction two-to-one switch module and a second TX direction one-to-two buffer module.
[0049] Among them, the first RX direction two-choose-one switch module is respectively connected to the first CPU, the second TX direction one-to-two buffer module and the network interface of the first main control board, and the first TX direction one-to-two buffer module is respectively connected to the first CPU, the second RX direction two-choose-one switch module and the network interface. The second RX direction two-choose-one switch module is respectively connected to the second CPU, the first TX direction one-to-two buffer module and the network interface of the second main control board, and the second TX direction one-to-two buffer module is respectively connected to the second CPU, the first RX direction two-choose-one switch module and the network interface.
[0050] In this embodiment, it is assumed that the second main control board is the main control board before the failure. When the second main control board fails, the master-slave switching will be performed, that is, the first main control board is enabled to be the main control board. At this time, the CPU in the first main control board can send a first signal to the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPU, so that the RX direction switch module in the first main control board and the RX direction switch module in the second main control board are disconnected from the network interface.
[0051] Through the above method, it is possible to effectively avoid the situation where a faulty main control board (such as the second main control board) cannot control the second RX direction switch module, resulting in the inability to disconnect the connection between the second RX direction switch module and the network port and connect the first TX direction switch module.
[0052] In this embodiment, the TX direction switch module is a one-to-two buffer module. Figure 2As shown in the figure, because the TX direction switch module is a one-to-two buffer module, during the above steps, only the RX direction two-choice switch needs to be controlled; the TX direction does not need to be controlled anymore, and the TX direction switch module will continue to send the CPU serial port information to the RJ45 crystal head and the RX direction two-choice switch of the opposite main control board at the same time. During normal operation, the RX direction two-choice switch directly connects to the RJ45 crystal head connector, and the serial port information from the opposite main control board is always disconnected, which will not affect the normal serial port debugging. When the opposite main control board needs to be debugged, at this time, it is only necessary to switch the RX direction two-choice switch of the normal main control board to the TX direction one-to-two buffer from the opposite main control board (disconnect the signal transmitted by the RJ45 crystal head connector), and the serial port information sent by the CPU of the opposite main control board can be received.
[0053] In another embodiment, the switch control of the above-mentioned RX direction switch module can be implemented through CPLD / FPGA. Specifically, there is an inter-board signal line between the two main control boards. The CPLD / FPGA sets it to the receiving state by default and controls the RX direction two-choice switch according to its level.
[0054] On the main control board, there will be a pull-up resistor or a pull-down resistor to give this signal line a stable level. For example, we give it a pull-down resistor here, which means that the level of this signal line is low in the normal state. When the CPLD / FPGA senses that the level of this signal line is low, the RX direction two-choice switch is set to connect to the RJ45 crystal head connector.
[0055] When a main control board enters a faulty state, we can control the normal main control board to enter the debug mode. After entering the debug mode, the inter-board signal line will be set to output a high level in the CPLD / FPGA of the normal main control board. At this time, the level received by the faulty main control board on the other end is a high level, and the RX direction two-way switch will be switched to the main control board on the other end. At this time, bidirectional communication of the CPU serial port of the faulty main control board can be achieved.
[0056] In this embodiment, since the CPLD / FPGA method is used to control the RX direction switch module, only one line is needed to realize the control of the RX direction two-choice switch of the two main control boards, thus saving one inter-board signal line.
[0057] from Figure 2 It can be seen that the CPUs of the first main control board and the second main control board are both connected to the management network port. The administrator can use the network management device to read the information of the faulty main control board through the management network port, thereby locating the fault of the faulty main control board.
[0058] In this embodiment, in order to realize the functions described in this patent, redirection technology can also be used: the function of remotely logging into the console port of the target device is realized through Telnet and asynchronous serial port, such as Figure 3 As shown:
[0059] After enabling Telnet and redirection on the Server, the user can establish a Telnet connection on the PC. After entering the redirection server address 192.168.100.240 and the Telnet redirection listening port number 6066, select TCP / IP connection mode when connecting, and then enter the login interface of the device, which is equivalent to directly connecting to the console of the Device through a serial port line. For example, the CPU of the second main control board is the redirection server, the CPU of the first main control board is the Device, and the RX direction switch module can be regarded as the Console port. In principle, the Console port is also an asynchronous serial port, so you only need to configure the redirection port number, plus the network address of the management network port on the main and second control boards, to redirect the input and output information of the serial port on the first main control board to the second main control board.
[0060] It can be seen from the above embodiments that for dual-master routing switching equipment, when a main control board fails and the management network port cannot be used or even cannot be controlled, the normal main control board can be used to debug the faulty main control board through telnet redirection technology, thereby improving the timeliness and efficiency of problem location.
[0061] Based on the above method embodiments, the embodiment of the present disclosure further provides a network device, the network device comprising: a first main control board and a second main control board, the first main control board comprising: a first CPU, a first RX direction two-choice switch module and a first TX direction one-to-two buffer module, the second main control board comprising: a second CPU, a second RX direction two-choice switch module and a second TX direction one-to-two buffer module,
[0062] The first RX direction two-choose-one switch module is respectively connected to the first CPU, the second TX direction one-to-two buffer module and the network interface of the first main control board, and the first TX direction one-to-two buffer module is respectively connected to the first CPU, the second RX direction two-choose-one switch module and the network interface;
[0063] The second RX direction two-choose-one switch module is respectively connected to the second CPU, the first TX direction one-to-two buffer module and the network interface of the second main control board, and the second TX direction one-to-two buffer module is respectively connected to the second CPU, the first RX direction two-choose-one switch module and the network interface;
[0064] The first main control board includes:
[0065] an identification module, used for sending a first instruction to the CPU of the second main control board through the TX direction switch module of the first main control board and the RX direction switch module of the second main control board when a fault of the second main control board is identified;
[0066] So that the CPU of the second main control board sends the response information to the CPU of the first main control board through the TX direction switch module of the second main control board and the RX direction switch module of the first main control board according to the first instruction;
[0067] A response module, used for locating the fault of the second main control board according to the response information;
[0068] Among them, the TX direction switch module is a one-to-two buffer module, and the RX direction switch module is a two-to-one switch module.
[0069] Wherein, the first main control board also includes:
[0070] The sending module is used to send a first signal to the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPU, so that the RX direction switch module in the first main control board and the RX direction switch module in the second main control board are disconnected from the network interface.
[0071] The response module is also used to control the RX direction switch module in the first main control board and the RX direction switch module in the second main control board to disconnect from the network interface through the CPLD / FPGA module.
[0072] The response module is further used to read the response information received by the CPU of the first main control board through the network management device to locate the fault of the second main control board.
[0073] The embodiment of the present disclosure further provides a network device, which includes: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program implements the method steps in the above-mentioned embodiments when executed by the processor.
[0074] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0075] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0076] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.
[0077] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
[0078] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A fault location method, characterized in that: The method comprises: When a fault of the second main control board is identified, a first instruction is sent to the CPU of the second main control board through the TX direction switch module of the first main control board and the RX direction switch module of the second main control board; So that the CPU of the second main control board sends the response information to the CPU of the first main control board through the TX direction switch module of the second main control board and the RX direction switch module of the first main control board according to the first instruction; The CPU of the first main control board locates the fault of the second main control board according to the response information; Among them, the TX direction switch module is a one-to-two buffer module, and the RX direction switch module is a two-to-one switch module.
2. The method according to claim 1, characterized in that The TX direction switch module of the first main control board is respectively connected to the CPU of the first main control board, the network interface of the first main control board and the RX direction switch module of the second main control board; The TX direction switch module of the second main control board is respectively connected to the CPU of the second main control board, the network interface of the second main control board and the RX direction switch module of the first main control board.
3. The method according to claim 1, characterized in that The method further comprises: The first main control board sends a first signal to the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPU, so that the RX direction switch module in the first main control board and the RX direction switch module in the second main control board are disconnected from the network interface.
4. The method according to claim 1, characterized in that: The method further comprises: The first main control board controls the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPLD / FPGA module to disconnect from the network interface.
5. The method according to claim 1, characterized in that The CPU of the first main control board locates the fault of the second main control board according to the response information, including: The response information received by the CPU of the first main control board is read by the network management device to locate the fault of the second main control board.
6. A network device, characterized in that: The network device comprises: a first main control board and a second main control board, wherein the first main control board comprises: a first CPU, a first RX direction two-choose-one switch module and a first TX direction one-to-two buffer module, and the second main control board comprises: a second CPU, a second RX direction two-choose-one switch module and a second TX direction one-to-two buffer module, The first RX direction two-choose-one switch module is respectively connected to the first CPU, the second TX direction one-to-two buffer module and the network interface of the first main control board, and the first TX direction one-to-two buffer module is respectively connected to the first CPU, the second RX direction two-choose-one switch module and the network interface; The second RX direction two-choose-one switch module is respectively connected to the second CPU, the first TX direction one-to-two buffer module and the network interface of the second main control board, and the second TX direction one-to-two buffer module is respectively connected to the second CPU, the first RX direction two-choose-one switch module and the network interface; The first main control board includes: an identification module, used for sending a first instruction to the CPU of the second main control board through the TX direction switch module of the first main control board and the RX direction switch module of the second main control board when a fault of the second main control board is identified; So that the CPU of the second main control board sends the response information to the CPU of the first main control board through the TX direction switch module of the second main control board and the RX direction switch module of the first main control board according to the first instruction; A response module, used for locating the fault of the second main control board according to the response information; Among them, the TX direction switch module is a one-to-two buffer module, and the RX direction switch module is a two-to-one switch module.
7. The network device according to claim 6, characterized in that: The first main control board also includes: The sending module is used to send a first signal to the RX direction switch module in the first main control board and the RX direction switch module in the second main control board through the CPU, so that the RX direction switch module in the first main control board and the RX direction switch module in the second main control board are disconnected from the network interface.
8. The network device according to claim 6, characterized in that: The response module is also used to control the RX direction switch module in the first main control board and the RX direction switch module in the second main control board to disconnect from the network interface through the CPLD / FPGA module.
9. The network device according to claim 6, characterized in that: The response module is also used to read the response information received by the CPU of the first main control board through the network management device to locate the fault of the second main control board.
10. A network device, characterized in that: The network device comprises: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program implements the method steps according to any one of claims 1 to 5 when executed by the processor.
Citation Information
Patent Citations
Method for positioning errors of serial port and system
CN101997737A
Intelligent three-dimensional garage control system and method
CN105652780A
Fault processing method and device and network device
CN105959128A
Shell processing method and device
CN106325982A
Board card in-place detection method, network equipment and storage medium
CN117033108A
