Fault positioning method and device

By using the enhanced OAM request frame mechanism in the optical transmission network, the problems of low fault location efficiency and environmental damage in the optical transmission network are solved, fast and accurate fault root cause location is achieved, and fault repair efficiency is improved.

CN118740602APending Publication Date: 2024-10-01HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310361204.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing optical transmission network fault location methods are inefficient and rely on the experience of operation and maintenance personnel. Moreover, the manual loopback method may damage the on-site environment and cause the fault to disappear, making it impossible to accurately locate the root cause of the fault.

Method used

By introducing the enhanced OAM request frame mechanism into the optical transmission network, devices can determine the link device status and fault location by sending and receiving OAM request frames, quickly determine the root cause of the fault, and avoid invalid detection and environmental damage.

Benefits of technology

It achieves rapid and accurate location of fault root causes in optical transmission networks, improves fault repair efficiency, and reduces the dependence of operation and maintenance personnel and the risk of environmental damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740602A_ABST
    Figure CN118740602A_ABST
Patent Text Reader

Abstract

The invention provides a fault positioning method and device, belongs to the technical field of communication, and aims to quickly position a fault root cause. In the method, whether a device in a link can respond to an OAM request frame or not is confirmed, so that whether the device and the link between a first device and the device are normal or not can be quickly judged, and then the fault root cause can be quickly determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a fault location method and device. Background Art

[0002] Optical transport network (OTN) has the characteristics of large bandwidth, hard isolation of services, and deterministic latency, and is the first choice for high-value private line services. When a fault occurs in the optical transport network, the faster the fault is repaired, the higher the customer satisfaction. In order to quickly repair the fault, it is necessary to quickly locate the root cause of the fault after the fault occurs. In other words, quickly locating the root cause of the fault is a prerequisite for quickly repairing the fault. At present, the manual loopback method is usually used to locate the root cause of the fault in the optical transport network, that is, experienced operation and maintenance personnel manually loop back section by section on the private line service path, that is, in the service line where the fault occurs, each node is checked in turn.

[0003] However, the manual loopback method relies on the experience and ability of the operation and maintenance personnel, and the efficiency of locating the root cause of the fault is low. In addition, setting up a loopback will change the pipeline configuration, which may damage the on-site environment, causing the fault to disappear and making it impossible to locate the root cause of the fault. Therefore, how to quickly locate the root cause of the fault is a hot topic in current research. Summary of the invention

[0004] The embodiments of the present application provide a fault location method and device for quickly locating the root cause of a fault.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a fault location method is provided, which is performed by a first device, and the method includes: the first device sends an OAM request frame, and the first device sends indication information when the OAM response frame returned by the second device is not received. The OAM request frame is used to indicate that the device receiving the OAM request frame needs to return an OAM response frame to the first device for the OAM request frame. The indication information represents a fault of the second device, or a fault of a link between the first device and the second device.

[0007] Based on the method described in the first aspect, it can be known that by enhancing the capabilities of the existing OAM request frame, the first device can send an OAM request frame in the link, and it can quickly determine whether the device in the link and the link between the first device and each device are normal by judging whether the corresponding OAM response frame is received, for example: if the OAM response frame returned by the second device is not received, it is determined that the second device is faulty, or the link between the first device and the second device is faulty. In other words, by confirming whether the device in the link can respond to the OAM request frame, it is possible to quickly determine whether the device and the link between the first device and the device are normal, thereby enabling the root cause of the fault to be quickly determined.

[0008] In one possible design scheme, the OAM request frame is specifically used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is sent to the device, it returns an OAM response frame to the first device; and the OAM request frame is also used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is not sent to the device, it sends the OAM request frame to the next-hop device of the device.

[0009] In another possible design, the OAM request frame is further used to indicate that the device that has received the OAM request frame needs to send the OAM request frame to a next-hop device of the device.

[0010] It can be seen that the OAM request frame can have two different indications. One is to instruct the device that receives the OAM request frame to first determine whether the OAM request frame is sent to the device. If it is sent to the device, the device returns an OAM response frame to the first device to feedback the status of the device to the first device, that is, whether the device is normal; if it is not sent to the device, the device needs to send an OAM request frame to its next-hop device to transmit the OAM request frame to the device that the first device wants to send it to. In other words, the first device can send a single OAM request frame to any device in its link to flexibly obtain the status of the device it wants to obtain. The other is to instruct the device that receives the OAM request frame to send an OAM request frame to the next-hop device of the device in addition to returning an OAM response frame to the first device. That is, the first device can send an OAM request frame once, and each device in the link will transmit the OAM request frame and return the OAM response frame of each device, thereby saving communication overhead. It can be understood that different OAM request frames can be selected for fault root cause location in different situations.

[0011] Optionally, the method described in the first aspect may also include: when the first device determines that the link where the first device is located is faulty, the first device sends a link detection request to the third device, and receives a link detection response returned by the third device for the link detection request, thereby sending an OAM request frame according to the link detection response to timely locate the root cause of the fault in the link. The link detection request is used to indicate that a link fault detection is to be performed on the link where the first device is located. The third device is a management device for the first device. The link detection response is used to indicate that the first device can perform link fault detection on the link where the first device is located.

[0012] Further, the first device sends an OAM request frame according to the link detection response, including: the first device determines that the first device is a normal device according to the link detection response; in response to the first device being a normal device, the first device sends an OAM request frame. That is, the first device initiates fault detection only when the first device is normal, so as to avoid an error in the link detection result due to the failure of the first device, thereby causing invalid detection.

[0013] Furthermore, the first device is an end node (denoted as node #1) in the link where the first device is located, and the failure of the link where the first device is located means that the first device does not receive information sent by another end node (denoted as node #2) in the link where the first device is located. Normally, node #2 needs to periodically send information to node #1. If node #1 does not receive the information after a timeout, it can be explained that the information may not be transmitted to node #1 due to the failure of the link between node #1 and node #2. In other words, through this mechanism, node #1 can accurately determine whether to initiate link failure detection to avoid invalid detection.

[0014] Optionally, the first device sending the OAM request frame includes: the first device sending a unicast OAM request frame to the second device; or the first device broadcasting the OAM request frame. In this way, in different situations, the first device can choose different ways to send the OAM request frame to meet the detection requirements.

[0015] In a second aspect, a fault location method is provided, which is performed by a second device, and includes: the second device receives an OAM request frame from a first device, and sends an OAM response frame to the first device. The OAM request frame is used to indicate that the device receiving the OAM request frame needs to return an OAM response frame to the first device for the OAM request frame.

[0016] In a possible design, the OAM request frame is specifically used to indicate that the device that receives the OAM request frame returns an OAM response frame to the first device when it determines that the OAM request frame is sent to the device. Alternatively, the OAM request frame is also used to indicate that the device that receives the OAM request frame sends the OAM request frame to the next hop device of the device when it determines that the OAM request frame is not sent to the device.

[0017] In another possible design, the OAM request frame is specifically used to indicate that when the device receiving the OAM request frame determines that the OAM request frame is sent to the device, it returns an OAM response frame to the first device and also sends the OAM request frame to the next-hop device of the device.

[0018] In a possible design, the OAM response frame includes the device fault information of the second device. It is understandable that when the second device is able to receive the OAM request frame and return the OAM response frame, it may also have a device fault, such as an inductor fault, and the second device can obtain the device fault information from the network alarm. The second device records its device fault information in the OAM response frame and returns it, which can facilitate the subsequent resolution of the device fault.

[0019] In addition, the technical effects of the method described in the second aspect can also refer to the technical effects of the method described in the first aspect, and will not be repeated here.

[0020] In a third aspect, a communication device is provided. The communication device includes: a module for executing the method described in the first aspect, such as a transceiver module and a processing module. For example, the transceiver module is used to indicate the transceiver function of the communication device, and the processing module is used to execute functions of the communication device other than the transceiver function.

[0021] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the third aspect, and the receiving module is used to implement the receiving function of the communication device described in the third aspect.

[0022] Optionally, the communication device described in the third aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the method described in the first aspect.

[0023] It can be understood that the communication device described in the third aspect can be a terminal, such as a remote device, or a chip (system) or other parts or components that can be set in the terminal, or a device including a terminal, which is not limited in this application.

[0024] In addition, the technical effects of the communication device described in the third aspect can refer to the technical effects of the method described in the first aspect, and will not be repeated here.

[0025] In a fourth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the second aspect, such as a transceiver module and a processing module. For example, the transceiver module is used to indicate the transceiver function of the communication device, and the processing module is used to execute functions of the communication device other than the transceiver function.

[0026] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the fourth aspect, and the receiving module is used to implement the receiving function of the communication device described in the fourth aspect.

[0027] Optionally, the communication device described in the fourth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the method described in the second aspect.

[0028] It can be understood that the communication device described in the fourth aspect can be a terminal, such as a remote device, or a chip (system) or other parts or components that can be set in the terminal, or a device including a terminal, which is not limited in this application.

[0029] In addition, the technical effects of the communication device described in the fourth aspect can refer to the technical effects of the method described in the second aspect, and will not be repeated here.

[0030] According to a fifth aspect, a communication device is provided, including a processor configured to execute the method described in any possible implementation of the first aspect or the second aspect.

[0031] In a possible design solution, the communication device described in the fifth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the fifth aspect to communicate with other communication devices.

[0032] In a possible design scheme, the communication device described in the fifth aspect may also include a memory. The memory may be integrated with the processor or may be separately provided. The memory may be used to store the computer program and / or data involved in the method described in any one of the first aspect or the second aspect.

[0033] In an embodiment of the present application, the communication device described in the fifth aspect may be the terminal described in any one of the first aspect or the second aspect, or a chip (system) or other parts or components that may be set in the terminal, or a device including the terminal.

[0034] In addition, the technical effects of the communication device described in the fifth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first aspect or the second aspect, and will not be repeated here.

[0035] In a sixth aspect, a communication device is provided, comprising: a processor, the processor being coupled to a memory, the processor being configured to execute a computer program stored in the memory, so that the communication device executes the method described in any possible implementation manner in the first aspect or the second aspect.

[0036] In a possible design solution, the communication device described in the sixth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the eighth aspect to communicate with other communication devices.

[0037] In an embodiment of the present application, the communication device described in the sixth aspect may be the terminal described in any one of the first aspect or the second aspect, or a chip (system) or other parts or components that may be set in the terminal, or a device including the terminal.

[0038] In addition, the technical effects of the communication device described in the sixth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first aspect or the second aspect, and will not be repeated here.

[0039] In the seventh aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the communication device executes the method described in any one of the implementation methods of the first aspect or the second aspect.

[0040] In a possible design solution, the communication device described in the seventh aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the seventh aspect to communicate with other communication devices.

[0041] In an embodiment of the present application, the communication device described in the seventh aspect may be the terminal described in any one of the first aspect or the second aspect, or a chip (system) or other parts or components that may be set in the terminal, or a device including the terminal.

[0042] In addition, the technical effects of the communication device described in the seventh aspect can refer to the technical effects of the method described in any one of the implementation methods of the first aspect or the second aspect, and will not be repeated here.

[0043] In an eighth aspect, a communication system is provided, including: a first device and a second device, wherein the first device is configured to execute the method described in the first aspect, and the second device executes the method described in the second aspect.

[0044] In a ninth aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer executes the method described in any possible implementation of the first aspect or the second aspect.

[0045] In a tenth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, enables the computer to execute the method described in any possible implementation of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A fault diagram of a dedicated line service path provided in an embodiment of the present application;

[0047] Figure 2 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0048] Figure 3 A schematic diagram of a flow chart of a fault location method provided in an embodiment of the present application;

[0049] Figure 4 Schematic diagram of the frame structure of the OAM request frame provided in the embodiment of the present application Figure 1 ;

[0050] Figure 5 Schematic diagram of the frame structure of the OAM request frame provided in the embodiment of the present application Figure 2 ;

[0051] Figure 6 A schematic diagram of the frame structure of an OAM response frame provided in an embodiment of the present application;

[0052] Figure 7 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 1 ;

[0053] Figure 8 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0054] For ease of understanding, the technical terms involved in the embodiments of the present application are first introduced below.

[0055] Optical transport network:

[0056] The optical transport network is a communication network transmission system with wavelength division multiplexing and optical channel technology as its core. It has high-quality features such as large bandwidth, hard isolation of services, and deterministic latency, and is the first choice for high-value private line services. When a fault occurs in the optical transport network, the faster the fault is repaired, the higher the customer satisfaction. In order to quickly repair the fault, it is necessary to quickly locate the root cause of the fault after it occurs. In other words, quickly locating the root cause of the fault is the prerequisite for quickly repairing the fault.

[0057] At present, common fault location technologies include manual loopback method, automatic loopback method, trailtrace identifier (TTI) overhead method and alarm correlation method, which are introduced below.

[0058] The manual loopback method is that when a communication network fails, experienced operation and maintenance personnel manually loop back section by section on the faulty dedicated line service path. That is, by comparing the service connectivity when different loopback points are set, the approximate fault point is determined.

[0059] For example, Figure 1 As shown, the dedicated line service path includes sequentially connected devices #1, #2, ..., #6, wherein device #4 fails, causing device #4 to fail and fail to receive information sent by device #3, or to be able to receive information sent by device #3 but unable to send information. For this dedicated line service path, when using the manual loopback method, it is necessary to first determine whether device #1 is normal. After determining that device #1 is normal, set device #1 and device #2 as a loop, that is, send information from device #1, and when the information reaches device #2, it is returned to device #1 by device #2. If device #1 receives the information, it means that device #2 is normal. After determining that device #2 is normal, set devices #1, #2 and #3 as a loop, that is, send information from device #1, and when the information reaches device #2, it is sent from device #2 to device #3. When device #3 receives the information, it returns the information to device #2, and device #2 returns the information to device #1, thereby determining that device #3 is normal. After confirming that device #3 is normal, set device #1, device #2, device #3 and device #4 as a loop to test whether device #4 is normal. If device #1 cannot receive the information it sends, it means that device #4 is faulty.

[0060] However, the manual loopback method relies on the experience and ability of the operation and maintenance personnel, and the positioning efficiency is low. In addition, setting the loopback will change the pipeline configuration. For example, in the dedicated line service path, device #2 transmits information to device #3, but when manually looping back, device #2 needs to be set not to transmit information to device #3, but to return information to device #1. Therefore, using the manual loopback method may damage the on-site environment due to the change of pipeline configuration, causing the fault to disappear, making it impossible to locate the fault point.

[0061] The automatic loopback method is to automatically set up loopbacks segment by segment through software, and the software compares the service connectivity when different loopback points are set to determine the approximate fault point. Compared with the manual loopback method, the automatic loopback method can improve the efficiency of fault location to a certain extent, but it may still damage the on-site environment due to changes in the ring pipe configuration, causing the fault to disappear, making it impossible to locate the fault point.

[0062] The TTI overhead method is that the software automatically sets the TTI segment by segment, and the software compares the monitoring results of each detection point to determine the approximate fault point. In the scenario of a small-bandwidth pipe of an optical service unit (OSU), the TTI overhead transmission efficiency is low. For example, when the business volume is large, the TTI overhead extraction cycle of a 2-megabit pipe is about 10 minutes. In the scenario where the fault node appears in a batch service failure, it is necessary to initiate TTI fault detection for multiple services at the same time. At this time, the fault node’s insufficient processing capacity for TTI will cause the fault location time to increase exponentially. Therefore, the TTI overhead method is only suitable for single-pipeline or small-number-of-pipeline fault location, and the fault location performance is poor.

[0063] The alarm association method is that when a fault occurs, the network management system analyzes the alarm protocol association relationship and the link connection relationship to determine the root cause of the fault. The link connection relationship can be extracted by the network management system based on the pre-collected network topology of the entire network. During the analysis process, the network topology analysis relies on the logical fiber connection relationship data, but the logical fiber connection relationship of the existing network is usually configured with errors and omissions, resulting in inaccurate topology analysis and affecting the accuracy of locating the root cause of the fault. In addition, the alarm association method relies on the alarms reported by each device, but in order to improve the operation and maintenance efficiency, the existing network usually turns off the alarm monitoring function of a large number of paths to reduce alarms. In addition, the network is usually composed of multiple domains and multiple manufacturers, so the alarm association method requires the cooperation of multiple domains and multiple manufacturers. Therefore, the practicality of the alarm association method is poor. It can usually only locate more obvious optical cable faults, and the location effect of channel-level faults is poor.

[0064] In summary, common fault location technologies have problems such as low location efficiency, damage to the on-site environment, poor location performance, and poor practicality. Therefore, how to quickly and accurately locate the root cause of a fault in a large-scale network environment is a hot topic in current research.

[0065] In response to the above technical problems, the embodiments of the present application propose the following technical solutions to quickly locate the root cause of the fault.

[0066] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0067] The technical solutions of the embodiments of the present application can be applied to transmission networks, such as optical transmission networks, and future communication networks.

[0068] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0069] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0070] In the embodiments of the present application, "information", "signal", "message", "channel" and "signaling" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. "Of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. In addition, the " / " mentioned in the embodiments of the present application can be used to indicate an "or" relationship. In addition, the embodiments of the present application mention sending to A, sending to A, or sending to A, etc., which refers to the sending behavior with A as the destination address, which can be directly or indirectly sent to A. Similarly, the embodiments of the present application mention receiving from A or from A, etc., which refers to the receiving behavior with A as the source address, which can be directly or indirectly received from A.

[0071] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0072] To facilitate understanding of the embodiments of the present application, first Figure 2 The communication system shown in the example is used to describe in detail the communication system applicable to the embodiment of the present application. Figure 2 A schematic diagram of the architecture of a communication system applicable to the fault location method provided in an embodiment of the present application.

[0073] like Figure 2 As shown, the communication system mainly includes a first device and a second device.

[0074] The first device and the second device may be access OTN devices, metropolitan OTN devices, or data center interconnect (DCI) OTN devices, and the first device and the second device may also be used for various types of devices after future evolution without limitation. The first device and the second device are on the same link.

[0075] In the above communication system, by enhancing the capability of the existing OAM request frame, the first device can send an OAM request frame in the link, and can quickly determine the device of the link and whether the link between the first device and each device is normal by judging whether the corresponding OAM response frame is received. That is, by determining whether each device in the link can respond to the OAM request frame, it can quickly determine which device the root cause of the fault is located in, or which device is located on the link between the first device, so that the root cause of the fault can be quickly determined.

[0076] For ease of understanding, the following will combine Figure 3 The fault location method provided in the embodiment of the present application is described in detail.

[0077] For example, Figure 3 A schematic diagram of a flow chart of a fault location method provided in an embodiment of the present application. The method can be applied to the communication between the first device and the second device in the above communication system.

[0078] like Figure 3 As shown, the process of the above fault location method is as follows:

[0079] S301, a first device sends an operation, administration and maintenance (OAM) request frame.

[0080] The OAM request frame may be a frame structure newly defined in the OSU standard.

[0081] In a possible implementation, part of the structure of the existing OAM management frame in the OSU standard can be reused, and new information elements (fields) can be added to obtain the OAM request frame of the embodiment of the present application. For example, additional values ​​can be configured for the frame type field of the OAM management frame, as shown in Table 1 below.

[0082] Table 1

[0083] 5-bit value type 00001 Lossless bandwidth adjustment control frame 00002 OAM request frame other reserve

[0084] In Table 1, the value of the frame type field of the OAM management frame can be 00001 or 00002. When the value is 00002, the OAM management frame represents the OAM request frame of the embodiment of the present application. It can be understood that the field representing the OAM request frame can also be 00003 or 00004 without limitation.

[0085] Or, in another possible implementation, the OAM request frame may have other implementation modes. For example, the frame structure of the OAM request frame may be a frame structure newly defined in the OSU standard, and the frame structure is different from the existing frame structure.

[0086] For the specific frame structure of the OAM management frame, please refer to the relevant introduction in Chapter 6.1.4.4 of "Technical Requirements for China Telecom's Metropolitan Optical Transport Network M-OTN Equipment", which will not be repeated here.

[0087] The OAM request frame can be used to indicate that the device receiving the OAM request frame needs to return an OAM response frame to the first device for the OAM request frame. The relevant introduction of the OAM response frame is described in S302. It can be seen that the first device sends an OAM request frame on its link, which can make the device receiving the OAM request frame return an OAM response frame to the first device. Therefore, the first device can determine whether the device is normal based on whether the OAM response frame is received.

[0088] In the embodiment of the present application, the OAM request frame may also have other functions, such as: the OAM request frame may indicate that the device receiving the OAM request frame may first determine whether the OAM request frame is an OAM request frame sent to the device, and make different responses according to different situations; and may also indicate that the device receiving the OAM request frame also needs to send the OAM request frame to other devices. The following are explained separately.

[0089] In one possible design scheme, the OAM request frame can be specifically used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is sent to the device, it returns an OAM response frame to the first device; and the OAM request frame can also be used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is not sent to the device, it sends the OAM request frame to the next-hop device of the device.

[0090] The OAM request frame may include a field that enables a device that receives the OAM request frame to determine whether the OAM request frame is sent to the device. Figure 4As shown, the OAM request frame may include a protocol version number (VER), a branch port number (TPN), a frame type (FT), a reserved field (RES), an OAM frame type (OT), an 8-bit cyclic redundancy check (CRC8), a trail type (Trail Type) and a hop index (HopIndex) field. Among them, the VER, TPN, FT, RES, OT and CRC8 fields can refer to the relevant introduction in Chapter 6.1.4.4 of the "Technical Requirements for China Telecom's Metropolitan Optical Transport Network M-OTN Equipment", which will not be repeated here. The trail type field can indicate that the forwarding of the OAM request frame is in hop-by-hop mode. The hop-by-hop mode means that the OAM request frame needs to be forwarded hop by hop. In other words, the device that receives the OAM request frame needs to obtain the value of the hop index field. If the value of the hop index field is greater than the preset value, such as the preset value is 1, and the value of the hop index field is 3, it means that the OAM request frame is not sent to the device, and the device needs to reduce the value of the hop index field by 1, such as 2, and then send the OAM request frame to the next hop device. Until the device forwarding the received OAM request frame determines that the value of the jump index field is the preset value, the device consumes the OAM request frame and does not forward it again. The value of the preset value can be pre-agreed by each device in the link where the first device is located, such as 0, 1, 2, etc., without limitation.

[0091] Specifically, the device that receives the OAM request frame can first determine whether the OAM request frame is sent to the device. If the OAM request frame is sent to the device, it means that the first device needs to obtain the status of the device. At this time, the device can return an OAM response frame to the first device to return the status of the device to the first device. If the OAM request frame is not sent to the device, it means that the first device does not need to obtain the status of the device, but wants to obtain the status of other devices. At this time, the device can send the OAM request frame to its next-hop device, that is, pass the OAM request frame to the device whose status the first device needs to obtain.

[0092] For example, after receiving the OAM request frame, device #3 at the third node in the link where the first device is located determines that the tracking type field of the OAM request frame is 3'b001, which means that the forwarding of the OAM request frame is in hop-by-hop mode, and then determines that the jump index field is 1, that is, the jump index field is a preset value, then device #3 returns an OAM response frame to the first device.

[0093] For another example, after receiving the OAM request frame, device #2 at the second node in the link where the first device is located determines that the tracking type field is 3'b001, which means that the forwarding of the OAM request frame is in hop-by-hop mode, and then determines that the jump index field is 3, that is, the value of the jump index field is greater than the preset value, and device #2 sends the OAM request frame to device #3 at the third node in the link. Among them, device #3 is the next hop device of device #2.

[0094] It can be understood that in the link where the first device is located, the information sent by the first device can be transmitted according to the connection order of each device in the link. For example, if the first device needs to obtain the status of device #4 at the 4th node in the link, the first device initiates an OAM request frame to device #4. Specifically, the OAM request frame needs to be sent from the first device to device #2 at the 2nd node, then from device #2 to device #3 at the 3rd node, and then from device #3 to device #4 at the 4th node. Among them, the first device, device #2, device #3 and device #4 are connected in sequence.

[0095] In this implementation, the first device may send a unicast OAM request frame to the second device.

[0096] Among them, the second device can be any device in the link where the first device is located except the first device. For example, the second device can be device #2 at the second node in the link, or it can be device #3 at the third node in the link, without limitation.

[0097] When the first device sends a unicast OAM request frame to the second device, you can refer to the aforementioned introduction on setting the tracking type field and the jump index field in the OAM request frame to enable the second device to receive the OAM request frame and determine that the OAM request frame is sent to the second device.

[0098] It can be understood that the purpose of the first device sending the OAM request frame is to detect whether the devices or links in the link are normal. Therefore, in order to quickly locate the root cause of the fault, the first device can send OAM request frames in the order of the devices in the link to check each device in turn.

[0099] For example, see Figure 1 , each device can pre-agree that when the jump index field of the received OAM request frame is 1, the OAM request frame is determined to be a request frame sent to the device; when the jump index field of the received OAM request frame is not 1, the jump index field is reduced by 1, and the modified OAM request frame is sent to the next hop device of the device.

[0100] When locating the fault of link #1 by unicasting an OAM request frame, device #1 can first send an OAM request frame with a jump index field of 1 to device #2; when device #2 receives the OAM request frame and determines that the jump index field of the OAM request frame is 1, it returns an OAM response frame to device #1. After receiving the OAM response frame returned by device #2, device #1 sends an OAM request frame with a jump index field of 2 to device #2; after receiving the OAM request frame, when device #2 determines that the jump index field of the OAM request frame is not 1, it decrements the jump index field by 1 and sends the OAM request frame with a jump index field of 1 to device #3. When device #3 receives the OAM request frame and determines that the jump index field of the OAM request frame is 1, it returns an OAM response frame to device #1. After receiving the OAM response frame returned by device #3, device #1 can send an OAM request frame with a jump index field of 3 to device #2; after receiving the OAM request frame, device #2 determines that the jump index field of the OAM request frame is not 1, and then decrements the jump index field by 1, and sends the OAM request frame with a jump index field of 2 to device #3; after receiving the OAM request frame, device #3 determines that the jump index field of the OAM request frame is not 1, and then decrements the jump index field by 1, and sends the OAM request frame with a jump index field of 1 to device #4. Because device #4 fails, device #4 cannot receive the OAM request frame, or device #4 can receive the OAM request frame but cannot return an OAM response frame to device #1. Therefore, device #1 cannot receive the OAM response frame of device #4, and at this time, device #1 can stop sending OAM request frames.

[0101] It can also be understood that the failure of the link where the first device is located may be a device failure in the link or a link failure between devices. When a link between devices fails and the link fault is located by unicasting an OAM request frame, a device in the link may fail to return an OAM response frame to the first device.

[0102] Continuing with the above example, if in this example it is not device #4 that fails, but the link between device #3 and device #4 fails, then device #4 will also not be able to receive the OAM request frame with the jump index field being 1 sent by device #3. In this case, device #4 will also not be able to return an OAM response frame to device #1.

[0103] In another possible design, the OAM request frame may also be used to indicate that the device that has received the OAM request frame needs to send the OAM request frame to a next-hop device of the device.

[0104] The OAM request frame may include a field that enables a device that receives the OAM request frame to send the OAM request frame to a next-hop device of the device. Figure 5 As shown, the OAM request frame may include a protocol version number (VER), a branch port number (TPN), a frame type (FT), a reserved field (RES), an OAM frame type (OT), an 8-bit cyclic redundancy check (CRC8), and a trail type (Trail Type) field. Among them, the VER, TPN, FT, RES, OT, and CRC8 fields can refer to the relevant introduction in Chapter 6.1.4.4 of the "Technical Requirements for Metropolitan Optical Transport Network M-OTN Equipment of China Telecom", which will not be repeated here. The trail type field can indicate that the forwarding of the OAM request frame is in transparent transmission mode. The transparent transmission mode can indicate that the forwarding of the OAM request frame is in transparent transmission mode. For example, device #2 at the second node in the link where the first device is located receives the OAM request frame. Device #2 can determine that the OAM request frame is in transparent transmission mode based on the value of the trail type field of the OAM request frame being 3'b001. At this time, device #2 returns an OAM response frame to the first device and sends the OAM request frame to device #3 at the third node. It can be understood that device #3 is the next-hop device of device #2.

[0105] Specifically, after receiving the OAM request frame, the device in the link where the first device is located must not only return an OAM response frame to the first device, but also forward the OAM request frame to its next-hop device. In this way, the status of each device in the link can be obtained in sequence according to the node order in the link until the root cause of the fault is determined.

[0106] In this implementation, the first device can broadcast an OAM request frame, that is, the first device can send an OAM request frame to its next-hop device, and the next-hop device will forward the OAM request frame. For example, the first device sends an OAM request frame to device #2 of its link, and after receiving the OAM request frame, device #2 can send the OAM request frame to device #3. Until the OAM request frame cannot be forwarded to a certain device or cannot be forwarded by a certain device.

[0107] It can be understood that, since in the link where the first device is located, the information sent by the first device can be transmitted according to the connection order of the devices in the link, after the first device sends an OAM request frame to its next-hop device, the OAM request frame can be transmitted sequentially in the link until the OAM request frame can no longer be received or sent by a device in the link.

[0108] For example, see Figure 1, when locating the fault of link #2 by broadcasting an OAM request frame, device #1 can send an OAM request frame with transparent transmission mode turned on to device #2, such as the tracking type field of the OAM request frame is 3'b001. After receiving the OAM request frame and determining that the transparent transmission mode is turned on according to the tracking type field of the OAM request frame, device #2 returns an OAM response frame to device #1 and sends the OAM request frame to device #3. After receiving the OAM request frame and determining that the transparent transmission mode is turned on according to the tracking type field of the OAM request frame, device #3 returns an OAM response frame to device #1 and sends the OAM request frame to device #4. Due to the failure of device #4, device #4 cannot receive the OAM request frame sent by device #3, or device #4 can receive the OAM request frame sent by device #3, but cannot transmit the OAM request frame and cannot return the OAM response frame to device #1. Therefore, device #1 cannot receive the response frames of device #4, device #5 and device #6.

[0109] It can also be understood that the failure of the link where the first device is located may be a device failure in the link or a link failure between devices. When a link between devices fails and the link fault is located by broadcasting an OAM request frame, a device in the link may fail to return an OAM response frame to the first device.

[0110] Optionally, the first device may periodically broadcast an OAM request frame, that is, the first device may periodically send an OAM request frame to its next-hop device. In this way, when the OAM request frame fails to be transmitted due to other reasons other than the root cause of the fault, the OAM request frame can be resent, that is, the root cause of the fault can be relocated to avoid failure of fault location due to other reasons.

[0111] After the first device sends the OAM request frame, the first device may not receive the OAM response frame, that is, execute S302. Of course, the first device may also receive the OAM response frame. In this case, S302 is not executed. For ease of understanding, the following description is based on the example that the first device does not receive the OAM response frame.

[0112] S302: When the first device does not receive an OAM response frame returned by the second device, the first device sends indication information.

[0113] The OAM response frame may be a frame structure newly defined in the OSU standard.

[0114] In a possible implementation, part of the structure of the existing OAM management frame in the OSU standard can be reused, and new information elements (fields) can be added on this basis to obtain the OAM response frame in the embodiment of the present application. For example, additional values ​​can be configured for the frame type field of the OAM management frame, as shown in Table 2 below.

[0115] Table 2

[0116] 5-bit value type 00001 Lossless bandwidth adjustment control frame 00003 OAM response frame other reserve

[0117] According to Table 2 above, the value of the frame type field of the OAM management frame can be 00001 or 00003. When the value is 00003, the OAM management frame represents the OAM response frame of the embodiment of the present application. It can be understood that the field representing the OAM response frame can also be 00004 or 00005 without limitation.

[0118] Or, in another possible implementation, the OAM response frame may have other implementation modes. For example, the entire frame structure of the OAM response frame is newly defined and is different from the existing OAM management frame.

[0119] The indication information indicates a failure of the second device, or a failure of the link between the first device and the second device. The indication information may be a device identification (ID) of the second device; or, when the first device detects each device in sequence according to the node order, the indication information may also be a device ID of each normal device and / or device failure information of the normal device. It is understood that when a device can send and receive information normally, it may also have certain failures, that is, the failure does not affect the normal sending and receiving of information by the device, but the network alarm can analyze the failure.

[0120] Specifically, the fact that the first device does not receive the OAM response frame returned by the second device indicates that the second device may not have received the OAM request frame, or the second device may have received the OAM request frame but cannot respond to the OAM request frame. The root cause of the failure that causes the second device to be unable to return the OAM response frame may be a failure of the second device, or a failure of the link between the second device and the first device. Therefore, the first device may send indication information indicating a failure of the second device, or a failure of the link between the second device and the first device, when it does not receive the OAM response frame returned by the second device.

[0121] For example, the second device is device #4 at the 4th node of the link where the first device is located. When the first device does not receive the OAM response frame returned by device #4, it can determine according to its preset network topology that it is device #4 that does not return the OAM response frame. At this time, the first device can send the device ID of device #4, that is, NE4.

[0122] For another example, the second device is device #4 at the fourth node of the link where the first device is located. Each time the first device receives an OAM response frame, it will record the device ID that sent the OAM response frame. In other words, before the first device receives the OAM response frame returned by the second device, it has recorded the device ID of device #2 at the second node of the link and the device ID of device #3 at the third node of the link, i.e., NE2 and NE3. If the first device does not receive the OAM response frame returned by device #4, it can send NE2 and NE3, i.e., NE2 and NE3 as indication information.

[0123] It can be understood that the first device can send indication information when it does not receive the OAM response frame returned by the second device within the preset time period, that is, the first device can send indication information when it does not receive the OAM response frame returned by the second device after timeout. The preset time period can be determined according to the position of the device that the first device needs to detect in the link, that is, the farther the distance between the device that the first device needs to detect and the first device is, the longer the preset time period is; the preset time period can also be a fixed time period without restriction.

[0124] For example, in the case where the first device adopts the method of unicasting OAM request frames, if the first device sends an OAM request frame to device #2 at the second node in its link, the first device can determine within a time period of 1 millisecond whether it has received the OAM response frame sent by device #2; if the first device sends an OAM request frame to device #3 at the third node in the link, the first device can determine within a time period of 2 milliseconds whether it has received the OAM response frame sent by device #3.

[0125] For another example, when the first device broadcasts an OAM request frame, if the first device sends an OAM request frame to device #2 at the second node in its link, the first device can determine whether it has received an OAM response frame sent by each device within a 10 millisecond period.

[0126] It can also be understood that the first device can send indication information to the third device without receiving the OAM response frame returned by the second device. The third device is a management device of the first device, and the management device can be a device having a network management system for managing the first device.

[0127] In addition, when the second device is normal, when the second device receives an OAM request frame from the first device, because the OAM request frame can indicate that the device receiving the OAM request frame needs to return an OAM response frame for the OAM request frame to the first device, the second device can send an OAM response frame to the first device, so that the first device can confirm that the second device is normal based on the OAM response frame.

[0128] It can be understood that the first device may be pre-set with the network topology of the link where it is located. That is, the first device may determine, based on the pre-set network topology, which device in the link sent the received OAM response frame.

[0129] For example, in the case where the first device unicasts an OAM request frame, it can first send an OAM request frame to its next-hop device (recorded as device #2) according to a preset network topology; after receiving an OAM response frame returned by device #2, it can record the device ID of device #2, such as NE2; then, according to the network topology, it sends an OAM request frame to the next-hop device of device #2 (recorded as device #3); after receiving an OAM response frame returned by device #3, it can record the device ID of device #3, such as NE3; and then, according to the network topology, it sends an OAM request frame to the next-hop device of device #3, that is, it sends OAM request frames in sequence according to the order of the devices in the link, and when receiving an OAM response frame returned by the device, it records the information of each device in sequence.

[0130] For another example, when the first device broadcasts an OAM request frame, it can first send an OAM request frame to its next-hop device (recorded as device #2); after receiving the OAM response frame, it can determine that the OAM response frame is an OAM response frame returned by its next-hop device based on the preset network topology, and record the device ID of device #2, such as NE2; then, when it receives the OAM response frame again, it can record the device ID of the next-hop device of device #2 based on the network topology, such as NE3. That is, the first device broadcasts an OAM request frame so that each device in the link can return an OAM response frame to the first device in sequence. Accordingly, the first device can record the information of each device in sequence when receiving the OAM response frame.

[0131] It can also be understood that a custom information field can be preset in the OAM response frame, so that when the device sends the OAM response frame, the information of the device can be recorded in the custom information field, so that the first device can determine which device the OAM response frame is sent for according to the custom information field. In other words, the structure of the OAM response frame can include a custom information field that can carry the information of the second device.

[0132] In addition, the OAM response frame may include the device fault information of the second device, that is, the device fault information of the second device may be recorded in the above-mentioned custom information field, so that the first device can obtain the device fault information of the second device according to the custom information field. The device fault information may be the fault information analyzed by the network alarm, that is, the second device can obtain the device fault information of the second device from the network alarm, such as the inductance fault of the second device. It can be understood that when the network alarm does not analyze the fault information of the device, it means that the second device is normal or the fault of the second device cannot be analyzed and processed, so the second device will not be able to obtain its device fault information. In this case, the device may not return its device fault information to the first device.

[0133] For example, Figure 6 As shown, the OAM response frame may include a protocol version number (VER), a branch port number (TPN), a frame type (FT), a reserved field (RES), an OAM frame type (OT), an 8-bit cyclic redundancy check (CRC8), a trail type (TrailType), and a custom information (Custom Info) field. Among them, the VER, TPN, FT, RES, OT, and CRC8 fields can refer to the relevant introduction in Chapter 6.1.4.4 of the "Technical Requirements for Metropolitan Optical Transport Network M-OTN Equipment of China Telecom", which will not be repeated here. The trail type field can indicate whether the current mode of the OAM response frame is the trail response mode, that is, if the trail type field is a preset field, the OAM response frame is in the trail response mode; conversely, if the trail type field is not a preset field, the OAM response frame is not in the trail response mode. The trail response mode refers to transmitting the OAM response frame to the first device according to the reverse service path. When the OAM response frame is in the trail response mode, the custom information field is valid. The custom information field may carry device information, such as device ID and / or device fault information. For example, the OAM response frame returned by device #3 to the first device may carry the device ID of device #3, namely NE3; or may carry device fault information of NE3 and inductor fault.

[0134] After receiving the OAM response frame from the second device, the first device may record the device information of the second device, such as the device ID and / or device fault information of the second device, so that the first device can subsequently feed back the relevant information of the link fault to the third device.

[0135] In summary, the first device can quickly and accurately locate the root cause of the fault in a large-scale network environment by sending OAM request frames in the link where it is located and receiving OAM response frames. That is to say, by determining whether each device in the link can respond to the OAM request frame, it can be quickly determined in which device the root cause of the fault is located, or in which device and the link between the first device.

[0136] Optionally, in combination with the above S301-S302, the method provided in the embodiment of the present application may further execute a step of requesting fault location, which is described in detail below.

[0137] Step 1: When the first device determines that the link where the first device is located is faulty, the first device sends a link detection request to the third device. The third device receives the link detection request from the first device.

[0138] The link detection request is used to instruct to perform link fault detection on the link where the first device is located. The relevant contents of the third device can refer to the above-mentioned relevant introduction, which will not be repeated here.

[0139] Optionally, the first device may be an end node in the link where the first device is located, and the failure of the link where the first device is located means that the first device does not receive information sent by another end node in the link where the first device is located.

[0140] For example, there are 6 devices connected in sequence, among which the first device (referred to as device #1) and device #6 are two end nodes in the link. When the link is working normally, device #6 periodically inserts a message for detecting whether the link is normal in the information sent to device #1. When device #1 receives the message, it can obtain the message from the message to determine that the link is normal. If device #1 fails to receive the message for multiple consecutive times, device #1 can determine that the link is faulty and send a link detection request to the third device.

[0141] It can be understood that the transmission of information in the link is bidirectional, that is, the first device can send information to the other end node in the link where it is located, and correspondingly, the other end node can also send information to the first device. Therefore, the other end node can also determine whether the link is faulty. The specific principle of the other end node determining whether the link is faulty can refer to the above-mentioned related content and will not be repeated. In the case where the other end node determines that the link is faulty, it can also send a link detection request to the third device. Correspondingly, the third device can also send a link detection response to the other end node or the first device. The relevant introduction of the link detection response is described in step two.

[0142] After the first device sends the link detection request to the third device, the method may proceed to step two.

[0143] Step 2: The third device sends a link detection response to the first device. The first device receives the link detection response returned by the third device in response to the link detection request.

[0144] The link detection response is used to indicate that the first device can perform link fault detection on the link where the first device is located.

[0145] After the third device receives the link detection request from the first device, it may send a link detection response to the first device according to the link detection request, so that the first device performs link fault detection according to the link detection response.

[0146] After the first device receives the link detection response, the method may proceed to step three.

[0147] Step three: The first device sends an OAM request frame according to the link detection response.

[0148] After receiving the link detection response from the third device, the first device may perform link fault detection, that is, send an OAM request frame. The specific principle of the first device sending the OAM request frame can be referred to the above related introduction, which will not be repeated here.

[0149] Optionally, the first device may determine, according to the link detection response, that the first device is a non-faulty device; and in response to the first device being a non-faulty device, the first device may send an OAM request frame.

[0150] After receiving the link detection response, the first device may record its device ID to determine that it is a normal device. Alternatively, the first device may also use other methods to detect whether it is faulty to determine that it is a normal device, without limitation.

[0151] After the first device determines that it is a non-faulty device, it can send an OAM request frame to perform fault detection on other devices in the link. That is, the first device initiates fault detection only when the first device is normal to avoid incorrect link detection results due to device failure, resulting in invalid detection.

[0152] In summary, when the first device determines that the link where it is located is faulty, it uploads the link fault situation to the third device, so that the third device can promptly issue an instruction to perform link detection and perform link detection in a timely manner.

[0153] Combination of the above Figure 3-Figure 6 The communication method provided by the embodiment of the present application is described in detail. Figure 7-Figure 8 A communication device for executing the communication method provided in an embodiment of the present application is described in detail.

[0154] Figure 7This is a schematic diagram of the structure of the communication device provided in the embodiment of the present application. Figure 1 For example, Figure 7 As shown, the communication device 700 includes: a transceiver module 701 and a processing module 702. For ease of description, Figure 7 Only the main components of the communication device are shown.

[0155] In some embodiments, the communication device 700 may be adapted to Figure 2 In the communication system shown in FIG. , the above Figure 3 The method shown is a function of a first device.

[0156] For example, the processing module 702 is used to control the transceiver module 701 to send an OAM request frame, and send indication information when no OAM response frame returned by the second device is received. The OAM request frame is used to indicate that: the device receiving the OAM request frame needs to return an OAM response frame to the first device for the OAM request frame; the indication information indicates a failure of the second device, or a failure of the link between the first device and the second device.

[0157] In one possible design scheme, the OAM request frame is specifically used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is sent to the device, it returns an OAM response frame to the first device; and the OAM request frame is also used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is not sent to the device, it sends the OAM request frame to the next-hop device of the device.

[0158] In a possible design, the OAM request frame is further used to indicate that a device that has received the OAM request frame needs to send the OAM request frame to a next-hop device of the device.

[0159] Optionally, before the first device sends the OAM request frame, the transceiver module 701 is also used for, when it is determined that the link where the first device is located is faulty, the first device sends a link detection request to the third device; receives a link detection response returned by the third device for the link detection request, and sends an OAM request frame according to the link detection response. The link detection request is used to indicate that a link fault detection is performed on the link where the first device is located, and the third device is a management device for the first device. The link detection response is used to indicate that the first device can perform link fault detection on the link where the first device is located.

[0160] Furthermore, the processing module 702 is used for the first device to determine that the first device is a normal device according to the link detection response; in response to the first device being a normal device, the transceiver module 701 is further used to send an OAM request frame.

[0161] Furthermore, the first device is an end node in the link where the first device is located, and the failure of the link where the first device is located means that the first device does not receive information sent by another end node in the link where the first device is located.

[0162] Optionally, the transceiver module 701 is further configured for the first device to send a unicast OAM request frame to the second device; or the first device to broadcast the OAM request frame.

[0163] Optionally, the transceiver module 701 may include a sending module ( Figure 7 ) and a receiving module ( Figure 7 The sending module is used to implement the sending function of the communication device 700, and the receiving module is used to implement the receiving function of the communication device 700.

[0164] Optionally, the communication device 700 may further include a storage module ( Figure 7 When the processing module 702 executes the program or instruction, the communication device 700 can execute the above method. Figure 3 Functions of the remote UE or remote device in the method shown.

[0165] It can be understood that the communication device 700 can be a terminal or a network device, or a chip (system) or other parts or components that can be set in a terminal or a network device, or a device that includes a terminal or a network device, and this application does not limit this.

[0166] In addition, the technical effects of the communication device 700 can be referred to Figure 3 The technical effects of the communication method shown will not be repeated here.

[0167] In some embodiments, the communication device 700 may be adapted to Figure 2 In the communication system shown in FIG. , the above Figure 3 The method shown is a function of the second device.

[0168] For example, the processing module 702 is used to control the transceiver module 701 to receive an OAM request frame from the first device and send an OAM response frame to the first device. The OAM request frame is used to indicate that the device receiving the OAM request frame needs to return an OAM response frame to the first device.

[0169] In one possible design scheme, the OAM request frame is specifically used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is sent to the device, it returns an OAM response frame to the first device; the OAM request frame is also used to indicate: when the device that receives the OAM request frame determines that the OAM request frame is not sent to the device, it sends the OAM request frame to the next-hop device of the device.

[0170] In one possible design, the OAM request frame is specifically used to indicate that the device receiving the OAM request frame returns an OAM response frame to the first device and also sends the OAM request frame to the next-hop device of the device when determining that the OAM request frame is sent to the device.

[0171] In a possible design scheme, the OAM response frame includes device failure information of the second device.

[0172] Optionally, the transceiver module 701 may include a sending module ( Figure 7 ) and a receiving module ( Figure 7 The sending module is used to implement the sending function of the communication device 700, and the receiving module is used to implement the receiving function of the communication device 700.

[0173] Optionally, the communication device 700 may further include a storage module ( Figure 7 When the processing module 702 executes the program or instruction, the communication device 700 can execute the above method. Figure 3 Functions of the remote UE or remote device in the method shown.

[0174] It can be understood that the communication device 700 can be a terminal or a network device, or a chip (system) or other parts or components that can be set in a terminal or a network device, or a device that includes a terminal or a network device, and this application does not limit this.

[0175] In addition, the technical effects of the communication device 700 can be referred to Figure 3 The technical effects of the communication method shown will not be repeated here.

[0176] Figure 8 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 For example, the communication device may be a terminal, or a chip (system) or other components or assemblies that may be provided in the terminal. Figure 8 As shown, the communication device 800 may include a processor 801. Optionally, the communication device 800 may further include a memory 802 and / or a transceiver 803. The processor 801 is coupled with the memory 802 and the transceiver 803, such as being connected via a communication bus.

[0177] Combine the following Figure 8 The components of the communication device 800 are described in detail:

[0178] The processor 801 is the control center of the communication device 800, and may be a processor or a general term for multiple processing elements. For example, the processor 801 is one or more central processing units (CPUs), or may be application specific integrated circuits (ASICs), or may be configured to implement one or more integrated circuits of the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).

[0179] Optionally, the processor 801 may execute various functions of the communication device 800 by running or executing a software program stored in the memory 802 and calling data stored in the memory 802, such as executing the above Figure 3 The communication method shown.

[0180] In a specific implementation, as an embodiment, the processor 801 may include one or more CPUs, such as Figure 8 CPU0 and CPU1 are shown in FIG.

[0181] In a specific implementation, as an embodiment, the communication device 800 may also include multiple processors, such as Figure 8 801 and processor 804 are shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0182] The memory 802 is used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 801. The specific implementation method can refer to the above method embodiment, which will not be repeated here.

[0183] Optionally, the memory 802 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 802 may be integrated with the processor 801, or may exist independently and be communicated to the processor 801 through the interface circuit ( Figure 8 (not shown) is coupled to the processor 801, which is not specifically limited in the embodiment of the present application.

[0184] The transceiver 803 is used for communication with other communication devices. For example, if the communication device 800 is a terminal, the transceiver 803 can be used to communicate with a network device, or with another terminal device. For another example, if the communication device 800 is a network device, the transceiver 803 can be used to communicate with a terminal, or with another network device.

[0185] Optionally, the transceiver 803 may include a receiver and a transmitter ( Figure 8 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0186] Optionally, the transceiver 803 may be integrated with the processor 801, or may exist independently and communicate with the processor 801 through the interface circuit ( Figure 8 (not shown) is coupled to the processor 801, which is not specifically limited in the embodiment of the present application.

[0187] Understandably, Figure 8 The structure of the communication device 800 shown in the figure does not constitute a limitation on the communication device. The actual communication device may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.

[0188] In addition, the technical effects of the communication device 800 can refer to the technical effects of the method described in the above method embodiment, which will not be repeated here.

[0189] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0190] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0191] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0192] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0193] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0194] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0195] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0196] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0197] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0198] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0199] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0200] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0201] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A fault location method, characterized in that: The method comprises: The first device sends an operation, administration and maintenance OAM request frame, wherein the OAM request frame is used to indicate that the device receiving the OAM request frame needs to return an OAM response frame for the OAM request frame to the first device; When the first device does not receive the OAM response frame returned by the second device, the first device sends indication information, where the indication information indicates that the second device is faulty, or a link between the first device and the second device is faulty.

2. The method according to claim 1, characterized in that The OAM request frame is specifically used to instruct: the device receiving the OAM request frame returns the OAM response frame to the first device when determining that the OAM request frame is sent to the device; The OAM request frame is further used to instruct: when the device receiving the OAM request frame determines that the OAM request frame is not sent to the device, the device sends the OAM request frame to the next hop device of the device.

3. The method according to claim 1, characterized in that The OAM request frame is also used to indicate that the device receiving the OAM request frame needs to send the OAM request frame to the next hop device of the device.

4. The method according to any one of claims 1 to 3, characterized in that Before the first device sends the OAM request frame, the method further includes: When the first device determines that a link where the first device is located is faulty, the first device sends a link detection request to a third device, wherein the link detection request is used to instruct to perform link fault detection on the link where the first device is located, and the third device is a management device of the first device; The first device receives a link detection response returned by the third device in response to the link detection request, wherein the link detection response is used to indicate that the first device can perform link fault detection on the link where the first device is located; The first device sends an OAM request frame, including: The first device sends the OAM request frame according to the link detection response.

5. The method according to claim 4, characterized in that The first device sending the OAM request frame according to the link detection response includes: The first device determines, according to the link detection response, that the first device is a normal device; In response to the first device being a non-faulty device, the first device sends the OAM request frame.

6. The method according to claim 4 or 5, characterized in that: The first device is an end node in the link where the first device is located, and the failure of the link where the first device is located means that the first device does not receive information sent by another end node in the link where the first device is located.

7. The method according to any one of claims 1 to 6, characterized in that The first device sends an OAM request frame, including: The first device sends the OAM request frame in unicast to the second device; or, The first device broadcasts the OAM request frame.

8. A fault location method, characterized in that: The method comprises: The second device receives an OAM request frame from the first device, wherein the OAM request frame is used to indicate that the device receiving the OAM request frame needs to return an OAM response frame for the OAM request frame to the first device; The second device sends the OAM response frame to the first device.

9. The method according to claim 8, characterized in that The OAM request frame is specifically used to instruct: the device receiving the OAM request frame returns the OAM response frame to the first device when determining that the OAM request frame is sent to the device; The OAM request frame is further used to instruct: when the device receiving the OAM request frame determines that the OAM request frame is not sent to the device, the device sends the OAM request frame to the next hop device of the device.

10. The method according to claim 8, characterized in that The OAM request frame is specifically used to instruct: when the device receiving the OAM request frame determines that the OAM request frame is sent to the device, it returns the OAM response frame to the first device and also sends the OAM request frame to the next hop device of the device.

11. The method according to claim 8, characterized in that The OAM response frame includes device failure information of the second device.

12. A communication device, characterized in that: The apparatus comprises: a module for executing the method of any one of claims 1-7 or the method of any one of claims 8-11.

13. A communication device, characterized in that: The communication device comprises: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device executes the method according to any one of claims 1 to 7 or the method according to any one of claims 8 to 11.

14. A communication system, characterized in that: The communication system comprises: a first device and a second device, the first device being used to execute the method according to any one of claims 1 to 7, and the second device being used to execute the method according to any one of claims 8 to 11.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 7 or the method according to any one of claims 8 to 11.