CN117439923A - Processing method of link error code and related network equipment - Google Patents

Processing method of link error code and related network equipment Download PDF

Info

Publication number
CN117439923A
CN117439923A CN202210832262.9A CN202210832262A CN117439923A CN 117439923 A CN117439923 A CN 117439923A CN 202210832262 A CN202210832262 A CN 202210832262A CN 117439923 A CN117439923 A CN 117439923A
Authority
CN
China
Prior art keywords
error
hop
network device
path
detection message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210832262.9A
Other languages
Chinese (zh)
Inventor
王九明
谢刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN202210832262.9A priority Critical patent/CN117439923A/en
Publication of CN117439923A publication Critical patent/CN117439923A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a processing method of link error codes and related network equipment, which can acquire multi-hop error codes and link error codes, and can reduce faults caused by the link error codes by performing error code switching according to the link error codes. The method comprises the following steps: the first network equipment sends a first error code detection message to the second network equipment along a first path, then receives a second error code detection message sent by the second network equipment, and determines a first accumulated error code rate according to a single-hop error code rate carried by the second error code detection message; and switching the unidirectional transmission path from the first path to the second path when the first accumulated bit error rate is greater than or equal to the first link bit error rate threshold.

Description

Processing method of link error code and related network equipment
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method for processing link error codes and related network devices.
Background
Bit errors refer to bit errors in a signal received by a network device compared to when the signal was sent.
An error code processing method is generally as follows: and detecting a single-segment error rate, and when the single-segment error rate is greater than or equal to a single-segment error rate threshold value, adjusting a COST value of an interface according to an interior gateway protocol (interior gateway protocol, IGP), and adjusting a tunnel path according to the changed COST value by the network control engine.
In practical application, when the service data stream passes through a plurality of network nodes, the error code of each path may be lower than the single-hop error rate threshold, but serious error code occurs after the data passes through the whole link, and at this time, the error code processing method cannot detect the link error code.
Disclosure of Invention
In view of this, the present application provides a processing method of link error codes and related network device, which can accumulate error codes on paths to obtain link error codes, and switch unidirectional transmission paths to backup paths when the link error codes are greater than or equal to a threshold of the link error codes, so as to reduce failures caused by the link error codes.
A first aspect provides a method for processing link error, the method comprising: the first network equipment sends a first error code detection message to the second network equipment along a first path, then receives a second error code detection message sent by the second network equipment, and determines a first accumulated error code rate according to a single-hop error code rate carried by the second error code detection message; and switching the unidirectional transmission path from the first path to the second path when the first accumulated bit error rate is greater than or equal to the first link bit error rate threshold. Wherein the second network device is a neighboring node of the first network device on the first path. The second path is a backup path for the first path. The first error detection message is an error detection message sent from a first node of the first path to a tail node of the first path. The second error detection message is an error detection message sent from the tail node of the first path to the head node of the first path.
According to the implementation, after the network equipment of the first path obtains the single-hop error rate according to the first error code detection message, the single-hop error rate is written into the first error code detection message, the second error code detection message looped back to the first network equipment by the second network equipment comprises at least two single-hop error rates, the link error rate (namely the first accumulated error rate) can be calculated according to the at least two single-hop error rates, when the link error rate is overlarge, error switching is carried out, and data transmitted on a multi-hop path with overlarge accumulated error rate can be switched to a normal multi-hop path for transmission, so that the use of the multi-hop path with serious accumulated error rate for forwarding the data is avoided, and the faults such as service level degradation caused by the link error code or service stopping of a base station can be reduced.
With reference to the first aspect, in a first possible implementation manner of the first aspect, determining, by the first network device, the first accumulated bit error rate according to the single-hop bit error rate carried by the second bit error detection packet includes: and the first network equipment selects a target single-hop error rate from the single-hop error rates carried by the second error detection message according to the single-hop error state, and then determines a first accumulated error rate according to the target single-hop error rate. The single-hop error code state comprises an error code state and an error-free state, the influence of the single-hop error code rate corresponding to the error code state on data transmission is larger, and the influence of the single-hop error code rate corresponding to the error-free state on the data transmission is smaller. The single-hop error state corresponding to the target single-hop error rate is the error state. The second error detection message carries the single-hop error state acquired by at least two network devices.
According to the implementation, the single-hop error rate with larger influence on data transmission can be screened out according to the error code state, and then the first accumulated error rate is accumulated according to the screened single-hop error rate, so that the accuracy of determining the link error rate can be improved.
With reference to the first aspect, in a second possible implementation manner of the first aspect, after switching the unidirectional transmission path from the first path to the second path, the first network device sends a third error detection message to the second network device along the first path, then receives a fourth error detection message sent by the second network device, and determines a second accumulated error rate according to a single-hop error rate carried by the fourth error detection message; and when the second accumulated error rate is smaller than the second link error rate threshold value, switching the unidirectional transmission path from the second path to the first path. The fourth error code detection message carries a single-hop error rate acquired by at least two network devices in the first path. After switching to the standby path, the link error rate of the first path may be continuously detected, and when the link error rate of the first path is less than the link error rate threshold, the unidirectional transmission path may be switched back to the first path.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the method further includes: the first network device sends the path information of the second path to the controller, and the controller updates the path information stored by the controller according to the path information of the second path, so that the path information stored by the controller is consistent with the actual unidirectional transmission path. The path information includes, but is not limited to, an identification of the network device.
With reference to the first aspect or the foregoing possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the first error detection packet, the second error detection packet, the third error detection packet, and the fourth error detection packet are bidirectional forwarding detection (bidirectional forwarding detection, BFD) packets.
With reference to the first aspect or the foregoing possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the first error detection packet, the second error detection packet, the third error detection packet, and the fourth error detection packet are operation, maintenance and administration (operation administration and maintenance, OAM) packets.
A second aspect provides a method for processing link error, the method comprising: the second network equipment receives a first error code detection message sent by the first network equipment along a first path, acquires a first single-hop error rate according to the first error code detection message, writes the first single-hop error code rate into the first error code detection message, sends the first error code detection message comprising the first single-hop error code rate to the third network equipment, and sends the second error code detection message to the first network equipment after receiving a second error code detection message from the third network equipment. The first network device is a head node of the first path and the third network device is a tail node of the first path. The first single-hop error rate is the error rate of the second network device receiving the message from the first network device. After the second network device obtains the single-hop error rate, the single-hop error rate can be written into the first error detection message. According to the implementation, each network device on the first path can write the acquired single-hop error rate into the first error code detection message, and the third network device generates a second error code detection message, wherein the second error code detection message carries the single-hop error rate acquired by at least two network devices in the first path.
In one possible implementation, the second network device obtains a first single-hop error rate and a first single-hop error state, and writes the first single-hop error rate and the first single-hop error state into the first error detection message. The single-hop error code state can identify the error code state and the error code-free state, so that the single-hop error code rate with great influence on data transmission can be screened out, and the accuracy of calculating the link error code rate is improved.
A third aspect provides a method for processing link error, the method comprising: after receiving a first error detection message including a first single-hop error rate sent by second network equipment along a first path, third network equipment acquires a second single-hop error rate according to the first error detection message including the first single-hop error rate; generating a second error code detection message according to the second single-hop error code rate and the first error code detection message comprising the first single-hop error code rate; and sending a second error code detection message to the second network equipment. The second single-hop error rate is the error rate of the message received by the third network device from the network device of the previous hop, and the second error detection message carries the single-hop error rate obtained by at least two network devices in the first path. After the third network device obtains the single-hop error rate, the single-hop error rate can be written into the first error detection message, so as to obtain the second error detection message.
In one possible implementation, the third network device obtains a second single-hop error rate and a second single-hop error state, and writes the second single-hop error rate and the second single-hop error state into the first error detection message. The single-hop error code state can identify the error code state and the error code-free state, so that the single-hop error code rate with great influence on data transmission can be screened out, and the accuracy of calculating the link error code rate is improved.
A fourth aspect provides a network device, the network device comprising a receiving unit, a processing unit and a transmitting unit; the sending unit is used for sending a first error code detection message to the second network equipment along the first path, wherein the second network equipment is an adjacent node of the first network equipment on the first path; the receiving unit is used for receiving a second error code detection message sent by the second network equipment, wherein the second error code detection message carries a single-hop error rate acquired by at least two network equipment in the first path; the processing unit is used for determining a first accumulated error rate according to the single-hop error rate carried by the second error detection message; when the first accumulated bit error rate is greater than or equal to the first link bit error rate threshold, the unidirectional transmission path is switched from the first path to a second path, and the second path is a backup path of the first path.
With reference to the fourth aspect, in a first possible implementation manner, the processing unit is specifically configured to select, according to a single-hop error state, a target single-hop error rate from the single-hop error rates carried by the second error detection packet, determine, according to the target single-hop error rate, a first accumulated error rate, where the single-hop error state corresponding to the target single-hop error rate is the error state. The second error detection message carries the single-hop error state acquired by at least two network devices.
With reference to the fourth aspect, in a second possible implementation manner, the sending unit is further configured to send a third error detection packet to the second network device along the first path; the receiving unit is further configured to receive a fourth error detection packet sent by the second network device, where the fourth error detection packet carries a single-hop error rate obtained by at least two network devices in the first path; the processing unit is further configured to determine a second accumulated error rate according to a single-hop error rate carried by the fourth error detection packet; and when the second accumulated error rate is smaller than the second link error rate threshold value, switching the unidirectional transmission path from the second path to the first path.
With reference to the fourth aspect or the foregoing possible implementation manner, in a third possible implementation manner, the sending unit is further configured to send path information of a second path to the controller, where the path information of the second path is used by the controller to update the path information stored by the controller.
With reference to the fourth aspect or the foregoing possible implementation manners, in a fourth possible implementation manner, the first error code detection packet, the second error code detection packet, the third error code detection packet, and the fourth error code detection packet are bidirectional forwarding detection packets.
With reference to the fourth aspect or the foregoing possible implementation manners, in a fifth possible implementation manner, the first error code detection packet, the second error code detection packet, the third error code detection packet, and the fourth error code detection packet are operation maintenance management packets.
The steps and advantages performed by the units of the fourth aspect are explained by terms of the corresponding description of the first aspect.
A fifth aspect provides a network device, the network device comprising a receiving unit, a processing unit and a transmitting unit; the receiving unit is used for receiving a first error code detection message sent by first network equipment along a first path, wherein the first network equipment is a head node of the first path; the processing unit is used for acquiring a first single-hop error rate according to the first error detection message, wherein the first single-hop error rate is the error rate of the message received by the second network device from the first network device; writing a first single-hop error rate into a first error code detection message; the sending unit is used for sending a first error code detection message comprising a first single-hop error code rate to third network equipment, and the third network equipment is a tail node of the first path; the receiving unit is further configured to receive a second error detection packet from the third network device, where the second error detection packet carries a single-hop error rate obtained by at least two network devices in the first path; the sending unit is further configured to send the second error detection message to the first network device.
With reference to the fifth aspect, in a first possible implementation manner, the processing unit is further configured to obtain a first single-hop error state; writing the first single-hop error rate and the first single-hop error state into a first error detection message.
The explanation of the terms of the fifth aspect refers to the steps and advantageous effects performed by the units as described in the second aspect.
A sixth aspect provides a network device, the network device comprising a receiving unit, a processing unit and a transmitting unit; the receiving unit is used for receiving a first error code detection message which is sent by the second network equipment along a first path and comprises a first single-hop error code rate; the processing unit is used for acquiring a second single-hop error rate according to a first error detection message comprising the first single-hop error rate, wherein the second single-hop error rate is the error rate of a message received by third network equipment from network equipment of the previous hop; generating a second error code detection message according to the second single-hop error code rate and the first error code detection message comprising the first single-hop error code rate; the sending unit is used for sending a second error code detection message to the second network equipment, wherein the second error code detection message carries the single-hop error rate acquired by at least two network equipment in the first path.
With reference to the sixth aspect, in a first possible implementation manner, the processing unit is specifically configured to generate, in a case where the first error detection packet including the first single-hop error rate further includes a first single-hop error state, a second error detection packet according to the second single-hop error rate, the second single-hop error state, and the first error detection packet including the first single-hop error rate and the first single-hop error state.
The explanation of the terms of the sixth aspect refers to the steps and advantageous effects performed by the units described in the corresponding description of the third aspect.
A seventh aspect provides a network device comprising a processor and a memory for storing a program; the processor is configured to implement the method of the first aspect, the method of the second aspect or the method of the third aspect by executing a program.
An eighth aspect provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the methods of the above aspects.
A ninth aspect provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
A tenth aspect provides a system on a chip comprising at least one processor coupled to a memory for storing a computer program or instructions for executing the computer program or instructions to implement the methods of the above aspects.
Drawings
Fig. 1 is a schematic diagram of an application scenario in an embodiment of the present application;
fig. 2 is a block diagram of a first network device according to an embodiment of the present application;
fig. 3 is a block diagram of a second network device according to an embodiment of the present application;
fig. 4 is a block diagram of a third network device according to an embodiment of the present application;
fig. 5 is a signaling interaction diagram of a processing method of link error codes in the embodiment of the present application;
FIG. 6A is a schematic diagram of a bi-directional forwarding message according to an embodiment of the present application;
FIG. 6B is another schematic diagram of a bi-directional forwarding message according to an embodiment of the present application;
fig. 7 is another signaling interaction diagram of a processing method of link error in the embodiment of the present application;
fig. 8 is another signaling interaction diagram of a processing method of link error in the embodiment of the present application;
fig. 9 is a block diagram of a network device in an embodiment of the present application.
Detailed Description
The link error code processing method can be applied to a communication system. Referring to fig. 1, in one embodiment, the communication system includes a network control engine (network control engineering, NCE) 10, a base station side gateway (cell site gateway, CSG) 111, a base station side gateway 112, a base station side gateway 113, a convergence side gateway (aggregation site gateway, ASG) 121, a convergence side gateway 122, a wireless service side gateway (radio service gateway, RSG) 131, a wireless service side gateway 132, and a core network device 14.
The tunnel from CSG111 to ASG121 includes a primary tunnel and a backup tunnel. The primary tunnel includes CSG111, CSG112 and ASG121. The backup tunnels include CSG111, CSG113, ASG122 and ASG121. The head node of the tunnel is CSG111 and the tail node of the tunnel is ASG121. The head node is configured with error detection functionality, the intermediate node is configured with segment layer error functionality, and the tail node is configured with reflective end functionality for seamless bidirectional forwarding detection (seamless bidirectional forwarding detection, SBFD).
When a link error occurs in both the link from CSG111 to CSG112 and the link from CSG112 to ASG121, according to the method of the prior art, when CSG112 detects a single-hop error, an error linkage function is used to trigger the COST value of the IGP adjustment interface, and the network control engine 10 calculates the COST value of the primary tunnel according to the updated COST value of the interface, and selects a tunnel with a smaller COST value according to the comparison result between the COST value of the primary tunnel and the COST value of the backup tunnel. ASG121 also adjusts the COST value of the interface when it detects a single-hop error, causing network control engine 10 to adjust the tunnel.
The existing error code processing method can not detect the error code rate of the link. Link error refers to the occurrence of bit errors in a signal received by a network device when a line problem occurs in an ethernet physical link between connected network devices, as compared to when the signal is sent. In this regard, the present application provides a method for processing link errors, which detects the error of the entire link, and then selects a suitable unidirectional transmission path according to the link error.
The execution main body of the link error code processing method can be the first node of the tunnel, the middle node of the tunnel or the tail node of the tunnel. Referring now to fig. 2, in an embodiment, the first network device 20 includes a receiving unit 201, a processing unit 202, and a transmitting unit 203;
the sending unit 203 is configured to send a first error detection message to a second network device along a first path, where the second network device is a neighboring node of the first network device on the first path;
the receiving unit 201 is configured to receive a second error detection packet sent by a second network device, where the second error detection packet carries a single-hop error rate obtained by at least two network devices in the first path;
the processing unit 202 is configured to determine a first accumulated bit error rate according to a single-hop bit error rate carried by the second bit error detection message; when the first accumulated bit error rate is greater than or equal to the first link bit error rate threshold, the unidirectional transmission path is switched from the first path to a second path, and the second path is a backup path of the first path.
In an alternative embodiment, in the case that the second error detection packet carries the single-hop error states acquired by at least two network devices, the processing unit 202 is specifically configured to select, according to the single-hop error states, a target single-hop error rate from the single-hop error rates carried by the second error detection packet, determine the first accumulated error rate according to the target single-hop error rate, where the single-hop error state corresponding to the target single-hop error rate is the error state.
In another alternative embodiment, the sending unit 203 is further configured to send a third error detection packet to the second network device along the first path after the processing unit 202 switches the unidirectional transmission path from the first path to the second path; the receiving unit 201 is further configured to receive a fourth error detection packet sent by the second network device, where the fourth error detection packet carries a single-hop error rate obtained by at least two network devices in the first path; the processing unit 202 is further configured to determine a second accumulated bit error rate according to the single-hop bit error rate carried by the fourth bit error detection message; and when the second accumulated error rate is smaller than the second link error rate threshold value, switching the unidirectional transmission path from the second path to the first path.
In another alternative embodiment, the sending unit 203 is further configured to send path information of the second path to the controller, where the path information of the second path is used by the controller to update the path information stored by the controller.
Optionally, the first error detection message, the second error detection message, the third error detection message and the fourth error detection message are BFD messages. The BFD messages may be, but are not limited to, SBFD messages.
Alternatively, the first error code detection message, the second error code detection message, the third error code detection message and the fourth error code detection message are OAM messages.
In the following description of the second network device as a tunnel intermediate node, referring to fig. 3, in another embodiment, the second network device 30 comprises a receiving unit 301, a processing unit 302 and a transmitting unit 303.
The receiving unit 301 is configured to receive a first error detection packet sent by a first network device along a first path, where the first network device is a first node of the first path;
the processing unit 302 is configured to obtain a first single-hop error rate according to the first error detection packet, write the first single-hop error rate into the first error detection packet, where the first single-hop error rate is an error rate of the second network device receiving the packet from the first network device;
the sending unit 303 is configured to send a first error detection packet including a first single-hop error rate to a third network device, where the third network device is a tail node of the first path;
the receiving unit 301 is configured to receive a second error detection packet from the third network device, where the second error detection packet carries a single-hop error rate obtained by at least two network devices in the first path;
the sending unit 303 is configured to send the second error detection message to the first network device.
In an alternative embodiment, the processing unit 302 is specifically configured to obtain the first single-hop error state, and write the first single-hop error rate and the first single-hop error state into the first error detection packet.
Specifically, the processing unit 302 includes a device management module, an interface management module, and a microcode module. The device management module obtains the single-hop error rate. An interface management (interface management, IFM) module generates an interface error forwarding engine service (forwarding engine service, FES) table entry that includes an interface and a single-hop error state. And the microcode module writes the single-hop error rate and the single-hop error state of the FES table entry into an error detection message.
Referring to fig. 4, in one embodiment, the third network device 40 includes a receiving unit 401, a processing unit 402, and a transmitting unit 403.
The receiving unit 401 is configured to receive a first error detection packet including a first single-hop error rate, which is sent by a second network device along a first path; the processing unit 402 is configured to obtain a second single-hop error rate according to a first error detection message including the first single-hop error rate, and generate a second error detection message according to the second single-hop error rate and the first error detection message including the first single-hop error rate; the sending unit 403 is configured to send a second error detection message to the second network device. The second error code detection message carries the single-hop error rate acquired by at least two network devices in the first path. The second single-hop error rate is the error rate of the message received by the third network device from the network device of the previous hop.
In an alternative embodiment, in the case that the first error detection packet including the first single-hop error rate further includes the first single-hop error state, the processing unit 402 is specifically configured to generate the second error detection packet according to the second single-hop error rate, the second single-hop error state, and the first error detection packet including the first single-hop error rate and the first single-hop error state.
The content of information interaction and execution process between the modules/units of the above device is based on the same concept as the method embodiment of the present application, so that the technical effects brought by the content are the same as the method embodiment of the present application, and the specific content can be referred to the description in the method embodiment of the present application, and will not be repeated here.
Based on the first network device, the second network device, and the third network device of the present application, a method for processing link errors of the present application is described below, referring to fig. 5, and in one embodiment, the method for processing link errors of the present application includes:
step 501, the first network device sends a first error detection message to the second network device along a first path.
In this embodiment, after the first network device generates the error detection session, the first network device sends a first error detection packet to the second network device along the first path. The first error detection message is used for indicating the network equipment on the first path to acquire the single-hop error rate. The second network device is a neighboring node of the first network device on the first path. It should be appreciated that the first path may include the network device and an interface of the network device. Optionally, the error detection session is a dynamic BFD session. And when the first network equipment detects that the error rate of the target interface exceeds a preset single-hop error rate threshold value, generating an error code detection session. The target interface is an egress port of the first network device on the first path.
Alternatively, the error detection session is a static BFD session. The static BFD session is a BFD session created by manually configured BFD sessions according to instructions input by a user. The non-SR-TE tunnels do not support error detection configurations. After path switching, the configuration of the static BFD session may be automatically deleted.
Step 502, the second network device obtains a first single-hop error rate according to the first error detection message.
Specifically, after receiving the first error code detection message and the data message sent by the first network device along the first path, the second network device calculates an error rate (i.e., a first single-hop error rate) of the data message according to a cyclic redundancy check (cyclic redundancy check, CRC) error code detection method. The first single-hop error rate is the error rate of the second network device receiving the message from the first network device. It should be noted that, the method for calculating the single-hop error rate is not limited to the CRC error detection method.
Step 503, the second network device writes the first single-hop error rate into the first error detection message.
Step 504, the second network device sends a first error detection message including a first single-hop error rate to the third network device. The third network device is a tail node of the first path.
Step 505, the third network device obtains a second single-hop error rate according to the first error detection message including the first single-hop error rate.
Specifically, after the third network device receives the first error code detection message and the data message from the network device of the previous hop, the third network device calculates the error rate (i.e. the second single-hop error rate) of the data message according to the CRC error code detection method. The second single-hop error rate is the error rate of the message received by the third network device from the network device of the previous hop.
Step 506, the third network device generates a second error detection message according to the second single-hop error rate and the first error detection message including the first single-hop error rate.
The third network device is configured with an error detection reflective-side function. Specifically, the third network device writes the second single-hop error rate into the first error detection packet including the first single-hop error rate to obtain a second error detection packet including the first single-hop error rate and the second single-hop error rate, and then executes step 507.
Step 507, the third network device sends a second error code detection message to the second network device.
Step 508, the second network device sends a second error detection message to the first network device.
Step 509, the first network device determines a first accumulated bit error rate according to the single-hop bit error rate carried by the second bit error detection message.
The first accumulated bit error rate may be a weighted sum of single-hop bit error rates carried by the second bit error detection message, or may be a sum of single-hop bit error rates carried by the second bit error detection message.
Step 510, when the first accumulated bit error rate is greater than or equal to the first link bit error rate threshold, the first network device switches the unidirectional transmission path from the first path to the second path.
The unidirectional transmission path in the present application may be a tunnel, an ethernet, a virtual circuit, a multiprotocol label switching (MPLS) label switching path (label switched paths), or the like. It should be noted that, when the first path is switched to the second path, the unidirectional transmission path from the third network device to the first network device may remain unchanged, that is, the error code switching is performed in the single-ended switching mode. The path switching may be, but is not limited to, a hot switching mode.
In this embodiment, the network device of the first path may obtain a single-hop error rate, write the single-hop error rate into the first error detection packet to obtain a second error detection packet including at least two single-hop error rates, and the first network device may calculate the link error rate (i.e., the first accumulated error rate) according to the single-hop error rate carried by the second error detection packet. When the error rate of the link is too large, the error switching is carried out, and the data transmitted on the multi-hop path with the too large accumulated error rate can be switched to the normal multi-hop path for transmission, so that the data is prevented from being forwarded by using the multi-hop path with the severe accumulated error rate, and the faults of service grade degradation, base station service stopping and the like caused by the error rate of the link can be reduced.
In an alternative embodiment, after step 510, the link error processing method of the present application further includes: the first network device sends a third error code detection message to the second network device along the first path; receiving a fourth error code detection message sent by second network equipment, and determining a second accumulated error code rate according to a single-hop error code rate carried by the fourth error code detection message; and when the second accumulated error rate is smaller than a second link error rate threshold value, switching the unidirectional transmission path from the second path to the first path. The fourth error detection message carries a single-hop error rate acquired by at least two network devices in the first path.
In this embodiment, after the unidirectional transmission path is switched, the link error rate of the first path may be further detected, and when the link error rate of the first path is smaller than the second link error rate threshold, the unidirectional transmission path may be switched back to the first path. This can improve the quality of service of the data transmission, since the first path is generally better than the alternate path.
The first link error rate threshold and the second link error rate threshold may be set according to actual conditions. Taking voice data as an example, when the packet loss rate is 1.98%, the voice call has no noise. When the packet loss rate is higher than 3% (e.g., 3.58%), the voice call may experience slight noise. As the link is continuously degraded, the call quality also shows a decreasing trend, and when the packet loss rate reaches about 10%, normal call cannot be performed. According to practical test, the threshold value of the error rate of the link is greater than or equal to 4 times 10 -2 When the voice service is affected, the link packet loss rate is about 3%. When the link error rate threshold is less than or equal to 3 x 10 -3 When the voice service is recovered to be normal, the link packet loss rate is about 0.2%. I.e. indicating that the first link bit error rate threshold is 4 x 10 -2 The error rate threshold of the second link is 3 x 10 -3
In another alternative embodiment, after step 510, the link error processing method of the present application further includes: the first network device sends the path information of the second path to the controller, and the path information of the second path is used for updating the path information stored by the controller. In this way the controller can update the unidirectional transmission path synchronously, and the controller can also display the first path and/or the second path. The controller may be, but is not limited to, a network control engine.
It should be noted that, the network device of the present application is also referred to as a network node. There are one or more intermediate nodes between the first network device and the third network device. The second network device and the other intermediate nodes are both configured with segment layer error functions. The second network device is an intermediate node adjacent to the first network device, and steps performed by other intermediate nodes are similar to those performed by the second network device, and will not be described herein.
Optionally, the first error detection message, the second error detection message, the third error detection message and the fourth error detection message are BFD messages. The BFD messages may be, but are not limited to, SBFD messages. Alternatively, the first error code detection message, the second error code detection message, the third error code detection message and the fourth error code detection message are OAM messages.
In the following description, the error detection message of the present application is taken as an example of a BFD message, and referring to fig. 6a, the BFD message 60 includes an rmi field 601 and a DMRI field 602. The single-hop error rate of the present application may be expressed by a scientific notation, for example, error rate=a×10 to the nth power, a is an integer, and n is a negative integer. The single-hop error rate of the present application may also be expressed in the following form, for example, error rate=a×10 to the nth power. a is a rational number, and n is a negative integer. The RMERI field 601 is used to store a, and the DMRI field 602 is used to store n.
It should be noted that, the fields for storing the single-hop error rate are not limited to the rmi field and the DMRI field, but may be other extension fields of the error detection packet, for example, a field for storing a common format identifier of the packet header (i.e., GFD field).
In the following, a detailed description of the BFD messages of the present application is provided, referring to fig. 6B, in one embodiment, the BFD messages may further include a DMAC field, a SMAC field, an IP header, and a BFD format portion, among others. The IP header includes fields such as IP header identification, vers, hlen, DIP, SIP, IP Option, and IP header padding.
The BFD format part includes fields of VERS, diag, STA, P, F, C, A, D, R, detect Mult, length, YD, MD, DMTI, DMRI, RMERI, DMRI, authtype, authlen, authentication Data, etc.
In the existing BFD messages, the rmi field and DMRI field are used for echo sessions. The RMERI field of the application is used for storing a, and the DMRI field is used for storing n. The other fields are identical to the corresponding fields in the existing BFD messages.
In practical application, the values of the single-hop error rates are greatly different, and when the single-hop error rates are smaller than a preset threshold value, the error rates of the single-hop paths can be considered to have no or little influence on data transmission. The method can set the single-hop error code state to indicate whether the single-hop path has error codes or not. For example, when the single-hop error rate is detected to be greater than or equal to the preset threshold, the single-hop error state is set to be an error state, which indicates that the message received from the previous hop has an error. When the single-hop error rate is detected to be smaller than the preset threshold value, the single-hop error state is set to be an error-free state, and the fact that the message received from the previous hop has no error code or few error codes is indicated. Alternatively, the error state is indicated by 1 and the no error state is indicated by 0. The preset threshold value may be set according to practical situations, which is not limited in this application.
Referring to fig. 7, in another embodiment, the link error processing method of the present application includes:
step 701, the first network device sends a first error code detection message to the second network device along a first path.
Step 702, the second network device obtains a first single-hop error rate and a first single-hop error state according to the first error detection message.
In step 703, the second network device writes the first single-hop error rate and the first single-hop error status into the first error detection message.
Step 704, the second network device sends a first error detection message including a first single-hop error rate and a first single-hop error status to the third network device.
The first network device is a head node of the first path and the third network device is a tail node of the first path. The first network device and the third network device have one or more intermediate nodes, and the second network device is a neighboring node of the first network device on the first path.
Step 705, the third network device obtains a second single-hop error rate and a second single-hop error state according to a first error detection message including the first single-hop error rate and the first single-hop error state.
Step 706, the third network device generates a second error detection message according to the second single-hop error rate, the second single-hop error state, and the first error detection message including the first single-hop error rate and the first single-hop error state.
Step 707, the third network device sends a second error detection message to the second network device.
Step 708, the second network device sends a second error detection message to the first network device.
Step 709, the first network device determines a first accumulated bit error rate according to the single-hop bit error rate and the single-hop bit error rate carried by the second bit error detection message.
Optionally, step 709 includes: the first network device selects a target single-hop error rate from the single-hop error rates carried by the second error detection messages according to the single-hop error state, and determines a first accumulated error rate according to the target single-hop error rate. The single-hop error state corresponding to the target single-hop error rate is the error state. Therefore, the single-hop error rate with smaller influence on data transmission can be removed, the single-hop error rate with larger influence on the data transmission is selected to calculate the first accumulated error rate, the error between the calculation result and the actual link error rate can be reduced, and the accuracy of calculating the link error rate is improved.
Step 710, switching the unidirectional transmission path from the first path to the second path when the first accumulated bit error rate is greater than or equal to the first link bit error rate threshold.
In this embodiment, the network device of the first path may obtain a single-hop error rate and a single-hop error state, write the single-hop error rate into the first error detection packet to obtain a second error detection packet including at least two single-hop error rates, and the first network device may calculate the link error rate (i.e., the first accumulated error rate) according to the single-hop error rate carried by the second error detection packet. When the error rate of the link is too large, the error switching is carried out, and the data transmitted on the multi-hop path with the too large accumulated error rate can be switched to the normal multi-hop path for transmission, so that the data is prevented from being forwarded by using the multi-hop path with the severe accumulated error rate, and the faults of service grade degradation, base station service stopping and the like caused by the error rate of the link can be reduced.
And secondly, the single-hop error rate with smaller influence on data transmission can be removed according to the single-hop error state, the error between a calculation result and the actual link error rate can be reduced, and the accuracy of calculating the link error rate is improved.
It should be noted that, if the single-hop error rate is smaller than the single-hop error rate threshold, the network device may not write the single-hop error rate in the first error detection packet. Therefore, the single-hop error rate carried by the second error code detection message is larger than or equal to the single-hop error rate threshold value, and the first network equipment can calculate the link error rate without excluding the excessively small single-hop error rate.
In the present application, in addition to the first network device calculating the link error rate, the third network device may also calculate the link error rate. Referring to fig. 8, in another embodiment, the link error processing method of the present application includes:
step 801, the first network device sends a first error detection message to the second network device along a first path.
Step 802, the second network device obtains a first single-hop error rate according to the first error detection message.
Step 803, the second network device writes the first single-hop error rate into the first error detection message.
Step 804, the second network device sends a first error code detection message including a first single-hop error rate to the third network device.
Step 805, the third network device obtains a second single-hop error rate according to the first error detection message including the first single-hop error rate.
Step 806, the third network device calculates the link error rate according to the single-hop error rate carried by the first error detection message and the second single-hop error rate.
The link error rate may be the sum of the single-hop error rate carried by the first error detection message and the second single-hop error rate, or may be a weighted sum of the single-hop error rate carried by the first error detection message and the second single-hop error rate.
Step 807, the third network device sends a second error code detection message including the link error rate to the second network device.
Step 808, the second network device sends a second error detection message to the first network device.
Step 809, when the link error rate is greater than or equal to the first link error rate threshold, the first network device switches the unidirectional transmission path from the first path to the second path.
In this embodiment, the network device of the first path may acquire a single-hop error rate, write the single-hop error rate into the first error detection packet, and calculate the link error rate by the third network device according to the single-hop error rate acquired by each network device. When the error rate of the link is too large, the error switching is carried out, and the data transmitted on the multi-hop path with the too large accumulated error rate can be switched to the normal multi-hop path for transmission, so that the data is prevented from being forwarded by using the multi-hop path with the severe accumulated error rate, and the faults of service grade degradation, base station service stopping and the like caused by the error rate of the link can be reduced.
And secondly, compared with a message carrying at least two single-hop error rates, the message carrying one link error rate is smaller, so that network transmission data can be reduced.
In an alternative embodiment, when the first error detection packet further includes a first single-hop error state, the third network device further obtains a second single-hop error state, selects a target single-hop error rate from the second single-hop error state and the single-hop error state included in the first error detection packet according to the single-hop error state, and calculates the link error rate according to the target single-hop error rate.
It should be understood that when other network devices are further included between the second network device and the third network device, the first error detection packet further includes a single-hop error rate and a single-hop error status of the other network devices.
In this embodiment, the process of selecting the target single-hop error rate by the third network device is similar to the process of selecting the target single-hop error rate from the single-hop error rates carried by the second error detection message by the first network device according to the single-hop error state in the embodiment shown in fig. 7, and the process of calculating the link error rate by the third network device according to the target single-hop error rate in this embodiment is similar to the process of determining the first accumulated error rate by the first network device according to the target single-hop error rate in the embodiment shown in fig. 7, which is not repeated herein.
Referring to fig. 9, in another embodiment, a network device 90 provided in the present application includes a main control board 91, an interface board 92, and a switch board 93.
The master control board 91 may have one or more, and may include a main master control board and a standby master control board when there are a plurality. Functional units on the main control board include, but are not limited to, a system management control unit, a system clock unit, and a system maintenance unit. The main control board 91 is connected to the interface board 92 through a communication bus.
The interface board 92 includes a processor 921, a network processor 922, a physical interface card 923, and a forwarding table entry memory 924.
It should be appreciated that the processor 921 of the network device 90 may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Network device 90 may also include memory, which may include read only memory and random access memory, storing program code, and providing instructions and data to the processor. The processor 921 may perform the method of processing link errors in the embodiment of fig. 5, the embodiment of fig. 7, or the embodiment of fig. 8 by invoking program code stored in the memory.
The interface board 92 is connected to the switch board 93 via a communication bus. The switching network board 93 is used to switch data inside the network device 90. The communication bus may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
The present application also provides a computer program product comprising instructions, which may be software or a program product capable of running on a computing device or stored in any available medium. The computer program product, when executed on at least one computing device, causes the at least one computing device to perform a method of processing link errors.
The present application also provides a computer-readable storage medium that can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. Usable media may be magnetic media (e.g., floppy disks, hard disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid state disk), among others. The computer-readable storage medium includes instructions that instruct a computing device to perform a method of processing link errors.
The present application also provides a chip system including a processor and a memory coupled to each other. The memory is used for storing a computer program or instructions, and the processing unit is used for executing the computer program or instructions stored in the memory, so that the chip system executes the steps executed by the first network device, the second network device or the third network device in the above embodiments. Alternatively, the memory is an on-chip memory, such as a register, a cache, etc., and the memory may be an off-chip memory located in a site, such as a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM), etc. The processor referred to in any of the foregoing may be a general purpose central processing unit, a microprocessor, an application specific integrated circuit (application specific integrated circuit, ASIC) or one or more integrated circuits configured to implement the above-described link error handling method.
The terms "unit," "component," "module," "system," and the like are used in this specification to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between 2 or more computers. Furthermore, these components can execute from various computer readable media having various data structures stored thereon. The components may communicate by way of local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from two components interacting with one another in a local system, distributed system, and/or across a network such as the internet with other systems by way of the signal).
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method. To avoid repetition, a detailed description is not provided herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; these modifications or substitutions do not depart from the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.

Claims (19)

1. A method for processing link errors, comprising:
the method comprises the steps that first network equipment sends a first error code detection message to second network equipment along a first path, wherein the second network equipment is an adjacent node of the first network equipment on the first path;
the first network equipment receives a second error code detection message sent by second network equipment, wherein the second error code detection message carries a single-hop error code rate acquired by at least two network equipment in the first path;
the first network device determines a first accumulated error rate according to the single-hop error rate carried by the second error detection message;
and when the first accumulated bit error rate is greater than or equal to a first link bit error rate threshold, switching a unidirectional transmission path from a first path to a second path, wherein the second path is a backup path of the first path.
2. The method of claim 1, wherein the second error detection message further comprises a single-hop error status obtained by the at least two network devices;
the first network device determining a first accumulated bit error rate according to the single-hop bit error rate carried by the second bit error detection message includes:
The first network device selects a target single-hop error rate from the single-hop error rates carried by the second error detection message according to the single-hop error rate state, wherein the single-hop error rate state corresponding to the target single-hop error rate is the error rate state;
the first network device determines a first accumulated bit error rate according to a target single-hop bit error rate.
3. The method of claim 1, wherein after the switching the unidirectional transmission path from the first path to the second path, the method further comprises:
the first network device sends a third error code detection message to the second network device along the first path;
the first network equipment receives a fourth error code detection message sent by the second network equipment, wherein the fourth error code detection message carries a single-hop error code rate obtained by at least two network equipment in the first path;
the first network device determines a second accumulated bit error rate according to the single-hop bit error rate carried by the fourth bit error detection message;
and when the second accumulated error rate is smaller than a second link error rate threshold value, switching the unidirectional transmission path from the second path to the first path.
4. A method according to any one of claims 1 to 3, further comprising:
And the first network equipment sends the path information of the second path to a controller, and the path information of the second path is used for updating the path information stored by the controller.
5. A method according to any one of claim 1 to 3, wherein,
the first error code detection message, the second error code detection message, the third error code detection message and the fourth error code detection message are bidirectional forwarding detection messages; or,
the first error code detection message, the second error code detection message, the third error code detection message and the fourth error code detection message are operation maintenance management messages.
6. A method for processing link errors, comprising:
the method comprises the steps that second network equipment receives a first error code detection message sent by first network equipment along a first path, wherein the first network equipment is a head node of the first path;
the second network device obtains a first single-hop error rate according to the first error detection message, wherein the first single-hop error rate is the error rate of the message received by the second network device from the first network device;
the second network device writes the first single-hop error rate into the first error code detection message;
The second network device sends a first error code detection message comprising the first single-hop error code rate to third network device, wherein the third network device is a tail node of the first path;
the second network equipment receives a second error code detection message from third network equipment, wherein the second error code detection message carries a single-hop error code rate acquired by at least two network equipment in the first path;
and the second network equipment sends the second error code detection message to the first network equipment.
7. The method of claim 6, wherein the step of providing the first layer comprises,
the method further comprises the steps of: the second network equipment acquires a first single-hop error code state;
the second network device writing the first single-hop error rate into the first error code detection message includes: and the second network equipment writes the first single-hop error rate and the first single-hop error state into the first error detection message.
8. A method for processing link errors, comprising:
the third network equipment receives a first error code detection message which is sent by the second network equipment along a first path and comprises a first single-hop error code rate;
the third network device obtains a second single-hop error rate according to the first error detection message comprising the first single-hop error rate, wherein the second single-hop error rate is the error rate of the message received by the third network device from the network device of the previous hop;
The third network device generates a second error code detection message according to the second single-hop error code rate and a first error code detection message comprising the first single-hop error code rate;
and the third network equipment sends a second error code detection message to the second network equipment, wherein the second error code detection message carries the single-hop error code rate acquired by at least two network equipment in the first path.
9. The method of claim 8, wherein the first error detection message including a first single-hop error rate further includes a first single-hop error state;
the third network device generating a second error code detection message according to the second single-hop error code rate and the first error code detection message including the first single-hop error code rate includes:
and the third network equipment generates a second error code detection message according to the second single-hop error rate, the second single-hop error code shape and the first error code detection message comprising the first single-hop error rate and the first single-hop error code state.
10. A network device, wherein the network device acts as a first network device, the network device comprising:
a sending unit, configured to send a first error detection packet to a second network device along a first path, where the second network device is an adjacent node of the first network device on the first path;
The receiving unit is used for receiving a second error code detection message sent by a second network device, wherein the second error code detection message carries a single-hop error rate acquired by at least two network devices in the first path;
the processing unit is used for determining a first accumulated bit error rate according to the single-hop bit error rate carried by the second bit error detection message; and when the first accumulated bit error rate is greater than or equal to a first link bit error rate threshold, switching a unidirectional transmission path from a first path to a second path, wherein the second path is a backup path of the first path.
11. The network device of claim 10, wherein the second error detection message carries a single-hop error status obtained by the at least two network devices;
the processing unit is specifically configured to select a target single-hop error rate from the single-hop error rates carried by the second error detection message according to the single-hop error rate state, determine a first accumulated error rate according to the target single-hop error rate, where the single-hop error rate corresponding to the target single-hop error rate is the error rate state.
12. The network device of claim 10, wherein the network device,
the sending unit is further configured to send a third error code detection packet to the second network device along the first path;
The receiving unit is further configured to receive a fourth error detection packet sent by the second network device, where the fourth error detection packet carries a single-hop error rate obtained by at least two network devices in the first path;
the processing unit is further configured to determine a second accumulated error rate according to a single-hop error rate carried by the fourth error detection packet; and when the second accumulated error rate is smaller than a second link error rate threshold value, switching the unidirectional transmission path from the second path to the first path.
13. The network device according to any one of claims 10 to 12, characterized in that,
the sending unit is further configured to send path information of the second path to a controller, where the path information of the second path is used to update path information stored by the controller.
14. The network device according to any one of claims 10 to 12, characterized in that,
the first error code detection message, the second error code detection message, the third error code detection message and the fourth error code detection message are bidirectional forwarding detection messages; or,
the first error code detection message, the second error code detection message, the third error code detection message and the fourth error code detection message are operation maintenance management messages.
15. A network device, wherein the network device acts as a second network device, the network device comprising:
a receiving unit, configured to receive a first error code detection packet sent by a first network device along a first path, where the first network device is a head node of the first path;
the processing unit is used for acquiring a first single-hop error rate according to the first error detection message, writing the first single-hop error rate into the first error detection message, wherein the first single-hop error rate is the error rate of the message received by the second network device from the first network device;
a sending unit, configured to send a first error detection packet including the first single-hop error rate to a third network device, where the third network device is a tail node of the first path;
the receiving unit is further configured to receive a second error detection packet from a third network device, where the second error detection packet carries a single-hop error rate obtained by at least two network devices in the first path;
the sending unit is further configured to send the second error detection packet to the first network device.
16. The network device of claim 15, wherein the network device,
The processing unit is further configured to obtain a first single-hop error state, and write the first single-hop error rate and the first single-hop error state into the first error detection packet.
17. A network device, wherein the network device acts as a third network device, the network device comprising:
the receiving unit is used for receiving a first error code detection message which is sent by the second network equipment along a first path and comprises a first single-hop error code rate;
the processing unit is used for acquiring a second single-hop error rate according to the first error detection message comprising the first single-hop error rate, wherein the second single-hop error rate is the error rate of the message received by the third network device from the network device of the last hop; generating a second error code detection message according to the second single-hop error code rate and the first error code detection message comprising the first single-hop error code rate;
and the sending unit is used for sending a second error code detection message to the second network equipment, wherein the second error code detection message carries the single-hop error rate acquired by at least two network equipment in the first path.
18. The network device of claim 17, wherein the network device,
the processing unit is specifically configured to generate a second error detection message according to the second single-hop error rate, the second single-hop error status, and the first error detection message including the first single-hop error rate and the first single-hop error status when the first error detection message including the first single-hop error rate further includes the first single-hop error status.
19. A computer readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 9.
CN202210832262.9A 2022-07-15 2022-07-15 Processing method of link error code and related network equipment Pending CN117439923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210832262.9A CN117439923A (en) 2022-07-15 2022-07-15 Processing method of link error code and related network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210832262.9A CN117439923A (en) 2022-07-15 2022-07-15 Processing method of link error code and related network equipment

Publications (1)

Publication Number Publication Date
CN117439923A true CN117439923A (en) 2024-01-23

Family

ID=89554114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210832262.9A Pending CN117439923A (en) 2022-07-15 2022-07-15 Processing method of link error code and related network equipment

Country Status (1)

Country Link
CN (1) CN117439923A (en)

Similar Documents

Publication Publication Date Title
US7995574B2 (en) Detection of forwarding problems for external prefixes
EP1391079B1 (en) Method and system for implementing a fast recovery process in a local area network
US9185025B2 (en) Internetworking and failure recovery in unified MPLS and IP networks
US20220368626A1 (en) Packet or frame replication and elimination with explict or implict notification to reset sequence number recovery
JPH05502346A (en) Automatic failure recovery in packet networks
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
WO2020030000A1 (en) Disaster recovery switching method, related device and computer storage medium
US20210111995A1 (en) Time-to-live (ttl) handing for segment routing ping/traceroute
US20180013669A1 (en) Transport segment oam routing mechanisms
WO2022066199A1 (en) Conditional routing delivery in a compromised network
US9413642B2 (en) Failover procedure for networks
CN114124801B (en) Redundant message processing method and device and gateway equipment
CN117439923A (en) Processing method of link error code and related network equipment
WO2020244471A1 (en) Processing method and apparatus based on link error code
JP6299768B2 (en) Information processing system, information processing apparatus, and data communication method
CN109787797B (en) Link fault detection method, device and system
CN117240748A (en) Communication link detection method and device
US20120250536A1 (en) Ethernet-dual-ended loss measurement calculation
CN112073285B (en) Error code notification method and related equipment
US20150271057A1 (en) Method for running a computer network
CN111917637B (en) Data message sending method and device
CN111901181A (en) Processing method for error rate detection and related equipment
CN111107006B (en) Routing management method and device
CN117221192A (en) BFD event processing method and device and network monitoring method using same
CN116962296A (en) Path detection method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication