Fault detection method, device and storage medium

By acquiring and analyzing the ARP information of VPN base station services and the relationship information between the base station and the remote controller, the complex problem of traditional IPRAN fault detection is solved, and the ability to quickly locate faults on the access side or bearer side of the base station is realized.

CN113852477BActive Publication Date: 2025-02-11ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010598600.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-28
Publication Date
2025-02-11
Estimated Expiration
2040-06-28

AI Technical Summary

Technical Problem

The traditional IPRAN fault detection process is complicated, and it is difficult to quickly locate the base station access test failure or the load test failure.

Method used

By obtaining the ARP information of the VPN base station service of the layer three virtual private network and the relationship information between the base station and the remote controller, the status of the ARP information is determined, and the base station access side failure or bearer side failure is located based on the status and relationship information.

Benefits of technology

It realizes fast and intelligent end-to-end fault detection, and users can quickly locate fault types without explicitly creating detection objects, simplifying the fault location process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113852477B_ABST
    Figure CN113852477B_ABST
Patent Text Reader

Abstract

The present invention discloses a fault detection method, device and storage medium, belonging to the field of network communication technology. The method comprises: obtaining the address resolution protocol ARP information of the three-layer virtual private network VPN base station service and the relationship information between the base station and the remote controller; determining the state of the ARP information according to the ARP information of the three-layer VPN base station service; locating the base station access side fault or the base station bearer side fault according to the state of the ARP information and the relationship information between the base station and the remote controller. Rapid intelligent end-to-end detection is realized, and the user only needs to select a certain L3VPN service to realize rapid detection and locate whether it is a base station access test fault or a bearer test fault.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a fault detection method, device, equipment and storage medium. Background Art

[0002] When a traditional IPRAN (Internet Protocol-Radio Access Network) fails, users cannot quickly locate the base station access fault or the bearer fault. The location is generally determined by segmented detection, which involves manually searching for related service data and then creating a detection object. The whole process is relatively complicated. Summary of the invention

[0003] The main purpose of the embodiments of the present invention is to provide a fault detection method, device and storage medium, aiming to quickly locate whether it is a base station access fault or a bearer fault.

[0004] To achieve the above object, an embodiment of the present invention provides a fault detection method, the method comprising:

[0005] Obtain the address resolution protocol ARP information of the three-layer virtual private network VPN base station service and the relationship information between the base station and the remote controller;

[0006] Determine the state of the ARP information based on the ARP information of the Layer 3 VPN base station service;

[0007] Based on the status of ARP information and the relationship information between the base station and the remote controller, locate the base station access side fault or the base station bearer side fault.

[0008] Preferably, the ARP information of the three-layer VPN base station service includes a specified date ARP information set and a current date ARP information set of the three-layer VPN base station service based on the same time point, and the specified date ARP information set and the current date ARP information set both include the VPN routing table VRF, the address of the base station and the device name of the access device connected; the relationship information between the base station and the remote controller includes the correspondence between the address of the base station and the address of the remote controller.

[0009] Preferably, determining the state of the ARP information according to the ARP information of the Layer 3 VPN base station service and the relationship information between the base station and the remote controller includes:

[0010] The state of the ARP information in the current date ARP information set is determined as a normal state of the ARP information.

[0011] Preferably, locating a base station access side fault or a base station bearer side fault according to the state of the ARP information and the relationship information between the base station and the remote controller includes:

[0012] If the state of the ARP information is a normal state of the ARP information, a connectivity check is performed from the access device to the base station it accesses and a connectivity check is performed from the access device to the remote controller associated with the base station it accesses to determine a base station access side failure or a base station bearer side failure.

[0013] Preferably, after locating the base station access side fault or the base station bearer side fault according to the state of the ARP information, the method further includes:

[0014] Perform path restoration on the access side or bearer side of the failed base station to identify the suspected device on the path that caused the failure.

[0015] Preferably, the determining the state of the ARP information according to the ARP information of the Layer 3 VPN base station service further comprises:

[0016] According to the ARP information set of the specified date and the ARP information set of the current date, a difference set between the ARP information set of the specified date and the ARP information set of the current date is determined, and the state of the ARP information in the difference set is determined as the ARP information missing state.

[0017] Preferably, the method further comprises:

[0018] If the state of the ARP information is the ARP information missing state, it is determined that both the base station access side and the base station bearer side are faulty;

[0019] Perform path restoration on the access side and the bearer side of the failed base station respectively to identify the suspected device on the path that caused the failure.

[0020] To achieve the above object, an embodiment of the present invention provides a fault detection device, the device comprising:

[0021] An information acquisition module is used to acquire the address resolution protocol ARP information of the three-layer virtual private network VPN base station service and the relationship information between the base station and the remote controller;

[0022] A state determination module, used to determine the state of ARP information according to the ARP information of the Layer 3 VPN base station service;

[0023] The fault direction locating module is used to locate the access side fault of the base station or the bearer side fault of the base station according to the state of the ARP information and the relationship information between the base station and the remote controller.

[0024] Preferably, the device further comprises:

[0025] The faulty device locating module is used to restore the path of the failed base station access side or base station bearer side and determine the suspected device on the path that caused the fault.

[0026] To achieve the above objectives, the present invention provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the aforementioned fault detection method.

[0027] The fault detection method, device, equipment and storage medium proposed in the present invention realize fast and intelligent end-to-end detection. The user only needs to select a certain L3VPN service to realize fast detection and locate whether it is a base station access test failure or a bearer test failure. There is no need to pay too much attention to specific network elements, interfaces, IP addresses, etc., and there is no need to explicitly create detection objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is a first flow chart of the fault detection method provided by an embodiment of the present invention.

[0029] Figure 2 This is a second flow chart of the fault detection method provided by an embodiment of the present invention.

[0030] Figure 3 It is a schematic diagram of the flow of an implementation method of intelligent detection of base station service failures provided by an embodiment of the present invention.

[0031] Figure 4 yes Figure 3 A schematic diagram of the union of the ARP information set of a specified date and the ARP information set of the current date involved in the embodiment.

[0032] Figure 5 yes Figure 3 A schematic diagram of the difference between the ARP information set of a specified date and the ARP information set of the current date involved in the embodiment.

[0033] Figure 6 yes Figure 3 Schematic diagram of end-to-end detection involved in the embodiment.

[0034] Figure 7 It is a schematic structural block diagram of a fault detection device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0036] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no special meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0037] Figure 1 is a first flow chart of a fault detection method provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include the following steps:

[0038] Step S101: Acquire ARP (Address Resolution Protocol, a TCP / IP protocol for acquiring a physical address based on an IP address) information of a Layer 3 VPN base station service and relationship information between a base station and a remote controller.

[0039] The ARP information of the three-layer VPN base station service includes a specified date ARP information set and a current date ARP information set based on the same time point of the three-layer VPN base station service. For example, the specified date ARP information set is a set of ARP information collected at 00:00:00 of the previous day, and the current date ARP information set is a set of ARP information collected at 00:00:00 of the current day. Both the specified date ARP information set and the current date ARP information set include the VPN routing table VRF, the address of the base station, and the device name of the access device connected.

[0040] The relationship information between the base station and the remote controller includes the corresponding relationship between the address of the base station and the address of the remote controller.

[0041] Step S102: Determine the state of the ARP information according to the ARP information of the Layer 3 VPN base station service.

[0042] Step S102 may include: determining the state of the ARP information in the current date ARP information set as a normal state of the ARP information.

[0043] Step S103: locating a base station access side fault or a base station bearer side fault according to the state of the ARP information and the relationship information between the base station and the remote controller.

[0044] Specifically, if the status of the ARP information is the normal state of the ARP information, a connectivity check is performed from the access device to the base station to which it accesses and a connectivity check is performed from the access device to the remote controller associated with the base station to which it accesses. For example, a ping test is used to perform a connectivity check from the access device to the base station to which it accesses and a connectivity check from the access device to the remote controller associated with the base station to which it accesses, to determine a base station access side fault or a base station bearer side fault.

[0045] Figure 2 is a second flow chart of the fault detection method provided by an embodiment of the present invention, such as Figure 2 As shown, in Figure 1 After step S103 of the embodiment, the method may further include:

[0046] Step S104: Perform path restoration on the failed base station access side or base station bearer side, for example, by performing trace detection, performing path restoration, and determining a suspicious device on the path that causes the failure.

[0047] Through the embodiments of the present invention, from the user's perspective, by selecting a certain L3 service and performing connectivity detection, the access test failure or the bearer test failure can be quickly located, and the service path can be further restored to quickly find the problematic device; from the development perspective, the relationship between the base station address, access device, and remote controller can be dynamically collected, and an end-to-end connectivity test (such as SQA ICMP end test) can be initiated from the access device to the base station and the remote control to test the connectivity of both ends at one time. For the problematic end, a TRACE test can be initiated to find the problematic jump device.

[0048] The method provided in the embodiment of the present invention can detect a fault on the access side of a base station or a base station bearing side, or can detect a fault on the access side of a base station and a base station bearing side. Figure 1 In the illustrated embodiment, step S102 may further include: determining the difference between the ARP information set of the specified date and the ARP information set of the current date according to the ARP information set of the specified date and the ARP information set of the current date, and determining the state of the ARP information in the difference as the ARP information missing state. The ARP information missing indicates that the base station is not online, and a base station side fault can be determined. At this time, in one embodiment, the method may further include: if the state of the ARP information is the ARP information missing state, determining the base station access side fault and preliminarily determining the base station bearer side fault, and performing path restoration on the base station access side and the base station bearer side respectively, for example, by performing trace detection, performing path restoration, and determining the suspicious device on the path that causes the fault. In another embodiment, the method may further include: if the state of the ARP information is the ARP information missing state, determining the base station access side fault, and determining whether the base station bearer side is faulty through ping detection, and then performing path restoration on the faulty side, for example, by performing trace detection, performing path restoration, and determining the suspicious device on the path that causes the fault.

[0049] Figure 3 : is a schematic diagram of a flow chart of an implementation method of intelligent detection of base station service failures provided by an embodiment of the present invention, such as Figure 3 As shown, the method shown may include the following steps:

[0050] Step S301: Collect ARP information.

[0051] Collect ARP information at regular intervals, for example, at 00:00:00, collect ARP information of L3 service VPN routing chanp forwarding table 1 (vrf1), as shown in the following table.

[0052] Collection time VRF Name Device Name Base station address 2020-5-11 00:00:00 Vrf1 Device 1 1.1.1.1 2020-5-11 00:00:00 Vrf1 Device 1 1.1.1.2 2020-5-12 00:00:00 Vrf1 Device 1 1.1.1.2 2020-5-12 00:00:00 Vrf1 Device 1 1.1.1.3

[0053] The main purpose of collecting ARP information is to find the device connected to the base station. For example, the access device of base station 1.1.1.1 is device 1, which is used as the landing point for subsequent detection. Base station ARP information is collected regularly, and each collection is a collection of time bases.

[0054] Step S302: Import the relationship between the base station and the remote controller.

[0055] The relationship data between the base station and the remote controller has been determined when the base station is planned. It is static data and can be imported once by the user. Maintenance is required only when a new base station is connected or the base station is changed, and it will not have much impact on subsequent use.

[0056] The structure is shown in the following table:

[0057] Base ID Base station address Remote controller address 0 1.1.1.1 2.1.1.1 1 1.1.1.2 2.1.1.2 2 1.1.1.3 2.1.1.1 3 1.1.1.4 2.1.1.2

[0058] Step S303: Calculate the base station ARP status under vrf1.

[0059] Taking 2020-5-11 00:00:00 as the base time of ARP information, set the ARP data of 2020-5-11 00:00:00 as set A (specified date ARP information set ARP information set), and set the ARP data of 2020-5-12 00:00:00 as set B (i.e. the current date ARP information set).

[0060] The result set information is set C (the union of the ARP information set of the specified date and the ARP information set of the current date), C = A∪B, that is, the data in C is equal to the union of A and B. Figure 4 shown.

[0061] like Figure 5 As shown, the ARP status in AB is set to missing, and the ARP status in B is set to normal, including the added base station, such as base station 1.1.1.3.

[0062] The calculation results are shown in the following table:

[0063] VRF Name Device Name Base station address ARP Status Vrf1 Device 1 1.1.1.1 Missing Vrf1 Device 1 1.1.1.2 normal Vrf1 Device 2 1.1.1.3 normal

[0064] Step S304: Perform connectivity detection;

[0065] If the ARP status is missing, it means that the base station is not online, and the connectivity status is directly set to disconnected, and it will no longer participate in connectivity detection;

[0066] If the ARP status is normal, perform SQA-ICMP detection and set the status according to the actual detection result;

[0067] When the test is executed, Figure 6 As shown in the figure, the base station access device in the ARP table is used as the landing device, and detection is initiated on the base station and the remote controller at the same time. The execution results are shown in the following table:

[0068] Base station address Base station status Remote controller address Result Status 1.1.1.1 Break 2.1.1.1 Break 1.1.1.2 Pass 2.1.1.2 Pass 1.1.1.3 Pass 2.1.1.1 Break

[0069] It should be noted that SQA ICMP detection is a unique detection of ZTE. Although it is used in the same way as ordinary PING detection, it can provide more detailed performance indicators and provide a reference for the network quality on the base station side. The performance indicators it provides may include: packet loss, delay (maximum, minimum, average), jitter (maximum, minimum, average), positive jitter (maximum, minimum, average), and negative jitter (maximum, minimum, average). Ordinary PIGN detection does not support positive and negative jitter indicators.

[0070] Step S305: Path restoration to find suspicious devices.

[0071] For the end with broken connectivity, perform TRACE detection to find the problem jump address and corresponding device. Filter by base station address to find all suspicious devices and interface addresses related to this base station. The execution results are shown in the following table.

[0072] Base station address Destination Address Question jump tag Problem Jump Address Suspicious device 1.1.1.1 1.1.1.1 1 1.1.10.1 Devicex 1.1.1.2 2.1.1.1 3 PreHop: 1.1.10.2 Equipment

[0073] The TRACE detection used in actual detection only displays the jumps that failed the detection when executed in batches, and finds out the devices corresponding to the jump addresses of the jumps that failed the detection, that is, the suspicious devices; if the jumps that failed the detection have no jump addresses, the problem jump is determined to be the jump address of the jump closest to the jump that failed the detection, such as PreHop (previous jump): 1.1.10.2.

[0074] This embodiment collects L3 service ARP information regularly; imports and maintains the relationship table between the base station and the remote controller; selects a certain L3 service and calculates the ARP information related to it; verifies the connectivity of both ends according to the ARP information; performs path restoration on the end with connectivity problems to find the device with problems, and implements a one-time test of the connectivity of both ends, and initiates a TRACE test on the end with problems to find the device with problems, making fault detection simple and fast. Furthermore, the user selects the L3 service, performs connectivity detection to determine the wrong direction, and performs TRACE detection to find the device with problems. It also has the following advantages: for end-to-end services, data is automatically generated, execution is simple and fast, indicators are detailed, and goals are clear.

[0075] Figure 7is a schematic structural block diagram of a fault detection device provided by an embodiment of the present invention, such as Figure 7 As shown, the device may include an information acquisition module 10, a state determination module 20 and a fault direction location module 30, wherein:

[0076] The information acquisition module 10 is used to obtain the address resolution protocol ARP information of the three-layer VPN base station service and the relationship information between the base station and the remote controller. Among them, the ARP information of the three-layer VPN base station service includes the specified date ARP information set and the current date ARP information set of the three-layer VPN base station service based on the same time point. For example, the specified date ARP information set is a set of ARP information collected at 00:00:00 of the previous day, and the current date ARP information set is a set of ARP information collected at 00:00:00 of the current day. The specified date ARP information set and the current date ARP information set both include the VPN routing table VRF, the address of the base station, and the device name of the access device connected. The relationship information between the base station and the remote controller includes the corresponding relationship between the address of the base station and the address of the remote controller.

[0077] The state determination module 20 is used to determine the state of the ARP information according to the ARP information of the Layer 3 VPN base station service. The state determination module 20 is specifically used to determine the state of the ARP information in the ARP information set of the current date as the normal state of the ARP information.

[0078] The fault direction positioning module 30 is used to locate the base station access side fault or the base station bearer side fault according to the state of the ARP information and the relationship information between the base station and the remote controller. Specifically, if the state of the ARP information is the normal state of the ARP information, a connectivity check from the access device to the base station it accesses and a connectivity check from the access device to the remote controller associated with the base station it accesses are performed. For example, a connectivity check from the access device to the base station it accesses and a connectivity check from the access device to the remote controller associated with the base station it accesses are performed using a ping test to determine the base station access side fault or the base station bearer side fault.

[0079] The apparatus may further include a faulty device locating module 40, which is used to perform path restoration on the failed base station access side or base station bearer side, for example, by performing trace detection, performing path restoration, and determining the suspected device on the path that caused the fault.

[0080] Through the embodiment of the present invention, a certain L3 service is selected and connectivity detection is performed, so that an access test failure or a bearer test failure can be quickly located, and then the service path is further restored to quickly find the faulty device.

[0081] The device provided in the embodiment of the present invention can detect a fault on the access side of a base station or a base station bearing side, or can detect a fault on the access side of a base station and a base station bearing side. Figure 7 Based on the device embodiment, the state determination module 20 can also be used to determine the difference between the specified date ARP information set and the current date ARP information set based on the specified date ARP information set and the current date ARP information set, and determine the state of the ARP information in the difference as the ARP information missing state. Furthermore, the fault direction location module 30 can also be used to preliminarily determine that both the base station access side and the base station bearer side are faulty when the state of the ARP information is the ARP information missing state. At this time, the faulty device location module 40 can perform path restoration on the faulty base station access side and base station bearer side respectively, for example, by performing trace detection, performing path restoration, and determining the suspicious device on the path that caused the fault.

[0082] An embodiment of the present invention further provides a storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the specific steps of the aforementioned fault detection method.

[0083] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0084] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0085] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present invention.

Claims

1. A fault detection method, characterized in that: The method comprises: Acquire address resolution protocol ARP information of a layer 3 virtual private network VPN base station service and relationship information between the base station and a remote controller, wherein the ARP information of the layer 3 VPN base station service includes a specified date ARP information set and a current date ARP information set of the layer 3 VPN base station service based on the same time point, and the relationship information between the base station and the remote controller includes a correspondence between an address of the base station and an address of the remote controller; Determine the state of the ARP information based on the ARP information of the Layer 3 VPN base station service; If the state of the ARP information is a normal state of the ARP information, a connectivity check is performed from the access device to the base station it accesses and a connectivity check is performed from the access device to the remote controller associated with the base station it accesses to determine a base station access side failure or a base station bearer side failure.

2. The method according to claim 1, characterized in that The ARP information set of the specified date and the ARP information set of the current date both include the VPN routing forwarding table VRF, the address of the base station, and the device name of the access device.

3. The method according to claim 2, characterized in that Determining the state of the ARP information according to the ARP information of the Layer 3 VPN base station service includes: The state of the ARP information in the current date ARP information set is determined as a normal state of the ARP information.

4. The method according to any one of claims 1 to 3, characterized in that: After locating the base station access side fault or the base station bearer side fault according to the state of the ARP information, the method further includes: Perform path restoration on the access side or bearer side of the failed base station to identify the suspected device on the path that caused the failure.

5. The method according to claim 3, characterized in that: The determining the state of the ARP information according to the ARP information of the Layer 3 VPN base station service also includes: According to the ARP information set of the specified date and the ARP information set of the current date, a difference set between the ARP information set of the specified date and the ARP information set of the current date is determined, and the state of the ARP information in the difference set is determined as the ARP information missing state.

6. The method according to claim 5, characterized in that The method further comprises: If the state of the ARP information is the ARP information missing state, it is determined that both the base station access side and the base station bearer side are faulty; Perform path restoration on the access side and the bearer side of the failed base station respectively to identify the suspected device on the path that caused the failure.

7. A fault detection device, characterized in that: The device comprises: An information acquisition module, used to acquire address resolution protocol ARP information of a three-layer virtual private network VPN base station service and relationship information between the base station and a remote controller, wherein the ARP information of the three-layer VPN base station service includes a specified date ARP information set and a current date ARP information set of the three-layer VPN base station service based on the same time point, and the relationship information between the base station and the remote controller includes a corresponding relationship between an address of the base station and an address of the remote controller; A state determination module, used to determine the state of ARP information according to the ARP information of the Layer 3 VPN base station service; The fault direction locating module is used to perform connectivity detection from the access device to the base station it accesses and connectivity detection from the access device to the remote controller associated with the base station it accesses if the state of the ARP information is the normal state of the ARP information, so as to determine the base station access side fault or the base station bearer side fault.

8. The device according to claim 7, characterized in that The device also includes: The faulty device locating module is used to restore the path of the failed base station access side or base station bearer side and determine the suspected device on the path that caused the fault.

9. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the fault detection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • 5G base station service fault searching method and device

    CN110708715A

  • Control Method for Access Gateway and Communication System

    US20100061226A1