CN115604178A - Communication method, label switching router and communication system - Google Patents

Communication method, label switching router and communication system Download PDF

Info

Publication number
CN115604178A
CN115604178A CN202110719231.8A CN202110719231A CN115604178A CN 115604178 A CN115604178 A CN 115604178A CN 202110719231 A CN202110719231 A CN 202110719231A CN 115604178 A CN115604178 A CN 115604178A
Authority
CN
China
Prior art keywords
label
switching router
message
label switching
fec
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
CN202110719231.8A
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202110719231.8A priority Critical patent/CN115604178A/en
Publication of CN115604178A publication Critical patent/CN115604178A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • 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

Landscapes

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

Abstract

The disclosure provides a communication method, a label switching router and a communication system, and relates to the technical field of communication. The communication method comprises the following steps: sending a label mapping message for forwarding the equivalent FEC to a second label switching router according to a preset label distribution mode; judging whether a label receiving confirmation message sent by the second label switching router is received within preset time; if the label receiving confirmation message is received within the preset time, confirming that the label release aiming at the FEC is successful; and if the label receiving confirmation message is not received within the preset time, re-sending the label mapping information of the FEC to the second label switching router. The method and the device can establish the complete Label Switching Path (LSP) with high reliability, ensure the reliability and accuracy of data transmission, can be suitable for the condition of transient network abnormality, reduce the influence of the network abnormality on the LSP establishment, and further ensure the correctness of data transmission in the VPN tunnel.

Description

Communication method, label switching router and communication system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a communication method, a label switching router, and a communication system.
Background
Under the scenario of solving enterprise interconnection and providing various new services, multi-Protocol Label Switching (MPLS) technology and Virtual Private Network (VPN) are increasingly being considered and widely used. Establishing reliable MPLS VPN tunnel connections between nodes such as remote users, outside agencies, partners, providers, and corporate headquarters is especially important to ensure data transmission integrity and correctness.
Disclosure of Invention
The inventor finds, through research, that in the related art, if the network has uncertain factors such as transient oscillation, etc., the Label mapping message may be failed to be sent, an established Label Switched Path (LSP) is broken, and the MPLS network is not through, thereby causing the problems of incomplete data transmission, data packet loss, VPN service information loss, etc.
To this end, the present disclosure provides a communication method capable of establishing a reliable LSP.
According to some embodiments of the present disclosure, there is provided a communication method, performed by a label switching router, including:
sending a label mapping message for forwarding the equivalent FEC to a second label switching router according to a preset label distribution mode;
judging whether a label receiving confirmation message sent by the second label switching router is received within preset time;
if the label receiving confirmation message is received within the preset time, confirming that the label distribution aiming at the FEC is successful;
and if the label receiving confirmation message is not received within the preset time, re-sending the label mapping information of the FEC to the second label switching router.
In some embodiments, said retransmitting label mapping information of said FEC to a second label switching router comprises: judging whether the retransmission times counted currently is greater than a preset threshold or not; and if the FEC is not greater than the preset threshold, retransmitting the label mapping information of the FEC to a second label switching router, and updating retransmission times.
In some embodiments, if the value is greater than the preset threshold, the sending of the label mapping information of the FEC to the second label switching router is stopped.
In some embodiments, the tag receipt acknowledgement message includes a message identification field, a message type field, and a status data field.
In some embodiments, the sending, to the second label switching router, the label mapping message for forwarding the equivalence class FEC according to the preset label distribution manner includes: and actively sending a forwarding equivalence class FEC label mapping message to the second label switching router according to the label distribution mode of the downstream autonomous mode DU.
In some embodiments, the sending, to the second label switching router, the label mapping message of the FEC according to the preset label distribution manner includes: and according to the label distribution mode of the downstream on-demand DoD, sending the label mapping message of the FEC to the second label switching router under the condition of receiving the label request message sent by the second label switching router.
According to further embodiments of the present disclosure, there is provided a label switching router comprising:
the sending module is configured to send a label mapping message for forwarding the equivalent FEC to the second label switching router according to a preset label distribution mode;
the judging module is configured to judge whether a label receiving confirmation message sent by the second label switching router is received within preset time;
a confirmation module configured to confirm that the label distribution for the FEC is successful if the label reception confirmation message is received within a preset time;
a retransmission module configured to retransmit the label mapping information of the FEC to a second label switching router if the label reception acknowledgement message is not received within a preset time.
In some embodiments, the retransmission module is configured to determine whether the current counted retransmission times are greater than a preset threshold if the label reception acknowledgement message is not received within a preset time, and re-send the label mapping information of the FEC to the second label switching router and update the retransmission times if the current counted retransmission times are not greater than the preset threshold.
In some embodiments, the retransmission module is configured to stop sending the label mapping information of the FEC to the second label switching router if the size of the label mapping information is larger than the preset threshold.
In some embodiments, the tag receipt acknowledgement message includes a message identification field, a message type field, and a status data field.
In some embodiments, the sending module is configured to proactively send the label mapping message of the FEC to the second label switching router according to a label distribution manner of the downstream autonomous manner DU.
In some embodiments, the sending module is configured to send the label mapping message of the FEC to the second label switching router in a label distribution manner of the downstream on-demand DoD, when receiving the label request message sent by the second label switching router.
According to still further embodiments of the present disclosure, there is provided a label switching router, including: a memory; and a processor coupled to the memory, the processor configured to perform the message processing method of any of the embodiments based on instructions stored in the memory
According to still further embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the communication method of any of the embodiments.
According to still further embodiments of the present disclosure, there is provided a communication system including: a first label switching router, which is the label switching router according to any embodiment; and the second label switching router is configured to receive the label mapping message of the FEC sent by the first label switching router, and send a label receiving confirmation message to the first label switching router under the condition of receiving the label mapping message.
Drawings
The drawings that will be used in the description of the embodiments or the related art will be briefly described below. The present disclosure can be understood more clearly from the following detailed description, which proceeds with reference to the accompanying drawings.
It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without undue inventive faculty.
Fig. 1 illustrates a schematic diagram of a communication method according to some embodiments of the present disclosure.
Fig. 2 illustrates a flow diagram of a communication method according to some embodiments of the present disclosure.
Fig. 3 illustrates a schematic diagram of a message structure of a notification message, according to some embodiments of the present disclosure.
Fig. 4 shows a schematic diagram of a communication method according to further embodiments of the present disclosure.
Fig. 5 illustrates a schematic diagram of a label switching router, in accordance with some embodiments of the present disclosure.
Fig. 6 shows a schematic diagram of a label switching router, according to further embodiments of the present disclosure.
Fig. 7 illustrates a schematic diagram of a communication system, in accordance with some embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure.
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the disclosure, its application, or uses. The present disclosure may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials and values set forth in these embodiments are to be construed as illustrative only and not as limiting unless otherwise specifically stated.
The use of the word "comprising" or "comprises" and the like in this disclosure means that the elements listed before the word encompass the elements listed after the word and do not exclude the possibility that other elements may also be encompassed.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
The descriptions of "first", "second", etc. in this disclosure are intended to refer to different objects, and are not intended to refer to the meaning of size or timing, etc., unless otherwise specified.
Fig. 1 illustrates a schematic diagram of a communication method according to some embodiments of the present disclosure.
As shown in fig. 1, in the related art, when an LSP is established based On a Label Distribution Protocol (LDP) Protocol, a Downstream autonomous (DU) mode or a Downstream On Demand (DoD) mode may be adopted, and the LDP Protocol is responsible for operations such as classification of Forwarding Equivalence Class (FEC), allocation of labels, establishment and maintenance of the LSP, and the like. Data packets traverse the MPLS network via LSPs, i.e., an LSP is the path of a packet as it traverses the MPLS network. In the DU mode, for a specific FEC, a downstream Label Switching Router (LSR) performs Label distribution and distribution without obtaining a Label request message from an upstream Label Switching Router, for example, sending a Label Mapping (Label Mapping) message; in DoD mode, for a particular FEC, the downstream label switching router does not distribute and distribute labels until it obtains a label request message from the upstream label switching router.
In both DU and DoD modes, the downstream label switching router cannot sense whether the upstream label switching router receives the label. If there are abnormal situations such as too small network bandwidth, network oscillation or congestion during label distribution, which may cause the upstream label switching router not to receive the label sent by the downstream label switching router, at this time, label distribution fails, but the downstream label switching router considers that the label is successfully issued. The occurrence of the above situation may cause LSP fragmentation, MPLS network failure, packet loss during data transmission, VPN service information loss, and other problems.
Thus, the present disclosure provides a communication method capable of establishing a reliable LSP.
Fig. 2 illustrates a flow diagram of a communication method, in accordance with some embodiments of the present disclosure. The method may be performed by a label switching router, for example. The label switching routers herein are also referred to as first label switching routers or downstream label switching routers, and each first label switching router can be used as a second label switching router at the same time.
As shown in FIG. 2, the method of this embodiment includes steps 210-240.
In step 210, a label mapping message for forwarding the equivalent FEC is sent to the second label switching router according to a preset label distribution manner.
For example, according to the label distribution mode of the downstream autonomous mode DU, the label mapping message forwarding the equivalence class FEC is actively sent to the second label switching router.
For another example, according to the label distribution method of the downstream on-demand DoD, when receiving the label request message sent by the second label switching router, the FEC label mapping message is sent to the second label switching router.
The second switching routers, also referred to as upstream switching routers, may each be used as the first switching router at the same time.
In step 220, it is determined whether a label reception acknowledgement message sent by the second label switching router is received within a preset time.
The counting of the preset time may be started, for example, from when the label mapping message of the FEC is sent to the second label switching router, for example, when the label mapping message of the FEC is sent to the second label switching router, the first label switching router starts a timer at the same time. The preset time is set to, for example, 2 minutes. That is, it is determined whether the first label switching router receives the label reception acknowledgement message within 2 minutes.
In some embodiments, the tag receipt acknowledgement Message may be sent via a Notification Message (Notification Message). The tag reception acknowledgement Message may include, for example, a Message identification (Message ID) field, a Message Type (Type) field, and a Status Data (Status Data) field. Wherein, the tag receiving confirmation message is represented by the message identification field and the message type field as a reply to the corresponding tag mapping message, and the status data field is represented by confirming the receiving of the corresponding tag mapping message. For example, the message identification field is 0x00000001, the message type field is Label Mapping, and the status data field is ack.
As shown in fig. 3, fig. 3 illustrates a schematic diagram of a message structure of a notification message according to some embodiments of the present disclosure. The Notification (0 x 0001) indicates a Notification message, and the message structure of the Notification message may be determined according to the specification in the LDP RFC (Request For messages) standard, for example. The Message ID indicates a Message identification field of the notification Message, and Status (TLV) indicates that the tag receives the acknowledgement Message, and includes a Message identification (Message ID) field, a Message Type (Type) field, and a Status Data (Status Data) field, for example, the Message identification field is 0x00000001, the Message Type field is Label Mapping, and the Status Data field is ack. Optional Parameters for the notification message are denoted Optional Parameters. The protocol layer program of the first label switching router may analyze, according to the Message content of the Notification Message, whether the upstream label switching router successfully receives a label mapping Message of a certain FEC sent by the downstream label switching router.
Returning to fig. 2.
If the tag reception acknowledgement message is received within the preset time, step 230 is performed, otherwise, step 240 is performed.
At step 230, the label issuance for the FEC is confirmed to be successful.
At step 240, the label mapping information of the FEC is retransmitted to the second label switching router.
In some embodiments, re-sending label mapping information for the FEC to the second label switching router comprises: judging whether the retransmission times counted currently is greater than a preset threshold or not; and if the number of times of retransmission is not larger than the preset threshold, retransmitting the label mapping information of the FEC to the second label switching router. And if the label mapping information is larger than the preset threshold, stopping sending the label mapping information of the FEC to the second label switching router. Wherein the preset threshold is set to 3, for example. The mechanism of timeout retransmission can avoid excessive waste of system resources.
In the above embodiment, the second label switching router (i.e., the upstream label switching router) sends the label reception acknowledgement message, and the first label switching router (i.e., the downstream label switching router) performs the retransmission mechanism, so that the downstream label switching router can obtain the result of label distribution, confirm that the label information of the upstream label switching router and the downstream label switching router is synchronous, establish a highly reliable and complete label switching path LSP, ensure the reliability and accuracy of data transmission, be applicable to a situation where a transient network anomaly occurs, reduce the influence of a network anomaly on LSP establishment, and thereby ensure the correctness of data transmission in the VPN tunnel.
Fig. 4 shows a schematic diagram of a communication method according to further embodiments of the present disclosure.
As shown in fig. 4, three label switching routers shown in this embodiment form an MPLS area, where R1 is an edge Ingress LSR (Ingress LSR), R2 is a Transit label switching router (Transit LSR), and R3 is an edge Egress LSR (Egress LSR). Each label switching router in R1, R2 and R3 is a downstream label switching router of the former and an upstream label switching router of the latter in turn.
The communication method proposed by the present disclosure is described below by taking R2 as a first label switching router and R1 as a second label switching router as an example.
R2 distributes a Label to the upstream R1, namely, a Label Mapping message is sent, R2 starts a timer, R1 sends a Notification message to R2 after receiving the Label Mapping message sent by R2, the Notification message comprises a Label receiving confirmation message carrying an ack state data field, and if the network is short-term abnormal, the R2 does not receive the Notification message carrying the ack state data field after overtime, and the retransmission times are judged to be not more than a preset threshold, R2 redistributes the Label to the upstream R1, namely, the Label Mapping message is sent. The method can establish a complete Label Switching Path (LSP) with high reliability, ensure the reliability and accuracy of data transmission, be suitable for the condition of transient network abnormality, reduce the influence of the network abnormality on the LSP establishment, and ensure the correctness of data transmission in a VPN tunnel.
For example, MPLS groups packets having the same characteristics into one class, called forwarding equivalence class FEC. Data packets belonging to the same FEC are handled by the LSR in the same way during forwarding. In the IP forwarding process using the longest match algorithm, all data packets to the same route are a forwarding equivalence class.
Assuming that the LSR has 4 routes, there are message forwarding equivalence classes FEC1-FEC4 to these 4 routes. If there are 4 routes for R2, R2 will allocate specific labels to the 4 FECs respectively, and bind the FEC and the labels. R2 advertises this binding to R1 via a Label Mapping message. At the same time, R2 starts a timer. Due to network congestion, R1 receives the labels of FEC1, FEC2, and FEC4, and does not receive the label of FEC3, which is expressed as:
FEC1 FEC2 FEC3 FEC4
Label1 Label2 is not received Label4
And R1 immediately sends Notification messages aiming at FEC labels to R2 to confirm the reception after receiving the labels of FEC 1/2/4. Since R1 does not receive the label of FEC3, the label acknowledgement message packet for FEC3 is not transmitted. And R2 receives the label confirmation message of FEC1/2/4 before the timer is overtime, and the label issuing of the three FEC is successful. After the R2 timer expires, the label reception acknowledgement message for FEC3 sent by R1 is not received, and the retransmission number is smaller than the threshold, the label message for FEC3 is sent to R1 again, at this time, R1 receives the labels of FEC1, FEC2, FEC3, and FEC4, which is expressed as:
FEC1 FEC2 FEC3 FEC4
Label1 Label2 Label3 Label4
fig. 5 illustrates a schematic diagram of a label switching router, in accordance with some embodiments of the present disclosure.
As shown in fig. 5, the label switching router 500 of this embodiment includes: a sending module 510, a determining module 520, an acknowledging module 530, and a retransmitting module 540.
A sending module 510, configured to send a label mapping message for forwarding the equivalence class FEC to the second label switching router according to a preset label distribution manner.
In some embodiments, the sending module is configured to proactively send the label mapping message of the FEC to the second label switching router according to a label distribution manner of the downstream autonomous manner DU.
In other embodiments, the sending module is configured to send, to the second label switching router, the label mapping message of the FEC according to the label distribution manner of the downstream on-demand DoD in the case of receiving the label request message sent by the second label switching router.
A determining module 520 configured to determine whether a label receiving confirmation message sent by the second label switching router is received within a preset time.
Wherein, the tag reception confirmation message comprises a message identification field, a message type field and a status data field. In some embodiments, the tag receipt acknowledgement message may be sent via a Notification (Notification) message. Wherein, the tag receiving confirmation message is represented by the message identification field and the message type field as a reply to the corresponding tag mapping message, and the status data field represents the confirmation of receiving the corresponding tag mapping message. For example, the message identification field is 0x00000001, the message type field is Label Mapping, and the status data field is ack.
An acknowledgement module 530 configured to acknowledge successful label issuance for the FEC if the label reception acknowledgement message is received within a preset time.
A retransmission module 540 configured to retransmit the label mapping information of the FEC to the second label switching router if the label reception acknowledgement message is not received within the preset time.
In some embodiments, the retransmission module is configured to determine whether the number of retransmission times counted currently is greater than a preset threshold if the label reception acknowledgement message is not received within a preset time, and re-send the label mapping information of the FEC to the second label switching router and update the number of retransmission times if the number of retransmission times is not greater than the preset threshold.
In still other embodiments, the retransmission module is configured to stop sending the label mapping information of the FEC to the second label switching router if the retransmission is greater than the preset threshold.
In the label switching router in the above embodiment, by determining whether the label reception acknowledgement message sent by the second label switching router (i.e., the upstream label switching router) is received within the preset time, and retransmitting the label reception acknowledgement message when the label reception acknowledgement message is not received within the preset time, a complete label switching path LSP with high reliability can be established, reliability and accuracy of data transmission are ensured, and the label switching router can be applied to a situation where a transient network anomaly occurs, and reduce an influence of a network anomaly on LSP establishment, thereby ensuring accuracy of data transmission in a VPN tunnel.
Fig. 6 illustrates a schematic diagram of a label switching router, in accordance with some embodiments of the present disclosure.
As shown in fig. 6, the label switching router 600 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, the processor 620 configured to perform a communication method in any of the embodiments of the present disclosure based on instructions stored in the memory 610.
Memory 610 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
Label switching router 600 may also include input output interface 630, network interface 640, storage interface 650, and the like. These interfaces 630, 640, 650 and the connections between the memory 610 and the processor 620 may be, for example, via a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networking devices. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a usb disk.
Fig. 7 illustrates a schematic diagram of a communication system, in accordance with some embodiments of the present disclosure.
As shown in fig. 7, a communication system 700 of this embodiment includes: one or more first label switching routers 710, and one or more second label switching routers 720. Wherein the first switching router is also referred to as a downstream switching router and the second switching router is also referred to as an upstream switching router. That is, each first switching router can be simultaneously used as a second switching router, and each second switching router can be simultaneously used as a first switching router.
The first label switching router 710 may be, for example, the label switching router 500 shown in fig. 5 or the label switching router 600 shown in fig. 6.
And the second label switching router is configured to receive the label mapping message of the FEC sent by the first label switching router, and send a label receiving confirmation message to the first label switching router when the label mapping message is received.
The communication system in the above embodiment includes the first label switching router and the second label switching router, and the second label switching router (i.e., the upstream label switching router) sends the label reception acknowledgement message, and the first label switching router (i.e., the downstream label switching router) performs a retransmission mechanism, so that the LSP can be established as a complete label switching path with high reliability, reliability and accuracy of data transmission are ensured, and the communication system can be applied to a case where a transient network anomaly occurs, and reduce an influence of the network anomaly on LSP establishment, thereby ensuring accuracy of data transmission in the VPN tunnel.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-non-transitory readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (15)

1. A communications method, performed by a label switching router, comprising:
sending a label mapping message for forwarding the equivalent FEC to a second label switching router according to a preset label distribution mode;
judging whether a label receiving confirmation message sent by the second label switching router is received within preset time;
if the label receiving confirmation message is received within the preset time, confirming that the label distribution aiming at the FEC is successful;
and if the label receiving confirmation message is not received within the preset time, re-sending the label mapping information of the FEC to the second label switching router.
2. The communication method of claim 1, wherein the retransmitting label mapping information of the FEC to a second label switching router comprises:
judging whether the retransmission times counted currently is greater than a preset threshold or not;
and if the FEC is not greater than the preset threshold, retransmitting the label mapping information of the FEC to a second label switching router, and updating retransmission times.
3. The communication method according to claim 2,
and if the label mapping information is larger than the preset threshold, stopping sending the label mapping information of the FEC to a second label switching router.
4. The communication method according to claim 1, wherein the tag reception acknowledgement message includes a message identification field, a message type field, and a status data field.
5. The communication method according to claim 1, wherein the sending the label mapping message for forwarding the equivalence class FEC to the second label switching router according to the preset label distribution manner includes:
and actively sending a label mapping message for forwarding the equivalence class FEC to the second label switching router according to the label distribution mode of the downstream autonomous mode DU.
6. The communication method according to claim 1, wherein the sending the label mapping message of the FEC to the second label switching router according to the preset label distribution manner includes:
and according to a downstream DoD (demand-on-demand) label distribution mode, sending the FEC label mapping message to the second label switching router under the condition of receiving a label request message sent by the second label switching router.
7. A label switching router, comprising:
the sending module is configured to send a label mapping message for forwarding the equivalent FEC to the second label switching router according to a preset label distribution mode;
the judging module is configured to judge whether a label receiving confirmation message sent by the second label switching router is received within preset time;
a confirmation module configured to confirm that the label distribution for the FEC is successful if the label reception confirmation message is received within a preset time;
a retransmission module configured to retransmit the label mapping information of the FEC to a second label switching router if the label reception acknowledgement message is not received within a preset time.
8. The label switching router of claim 7,
and the retransmission module is configured to determine whether the number of retransmission times counted currently is greater than a preset threshold if the label reception acknowledgement message is not received within a preset time, and resend the label mapping information of the FEC to a second label switching router and update the number of retransmission times if the number of retransmission times is not greater than the preset threshold.
9. The label switching router of claim 8,
the retransmission module is configured to stop sending the label mapping information of the FEC to the second label switching router if the label mapping information is greater than the preset threshold.
10. The label switching router of claim 7, wherein the label receipt acknowledgement message includes a message identification field, a message type field, and a status data field.
11. The label switching router of claim 7,
and the sending module is configured to actively send the label mapping message of the FEC to the second label switching router according to the label distribution mode of the downstream autonomous mode DU.
12. The label switching router of claim 7,
the sending module is configured to send the label mapping message of the FEC to the second label switching router in a label distribution manner of the downstream on-demand DoD, when receiving the label request message sent by the second label switching router.
13. A label switching router, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the message processing method of any of claims 1-6 based on instructions stored in the memory.
14. A non-transitory computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, implements the communication method of any one of claims 1-6.
15. A communication system, comprising:
a first label switching router being the label switching router of any one of claims 7-13;
and the second label switching router is configured to receive the label mapping message of the FEC sent by the first label switching router, and send a label receiving confirmation message to the first label switching router under the condition of receiving the label mapping message.
CN202110719231.8A 2021-06-28 2021-06-28 Communication method, label switching router and communication system Pending CN115604178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110719231.8A CN115604178A (en) 2021-06-28 2021-06-28 Communication method, label switching router and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110719231.8A CN115604178A (en) 2021-06-28 2021-06-28 Communication method, label switching router and communication system

Publications (1)

Publication Number Publication Date
CN115604178A true CN115604178A (en) 2023-01-13

Family

ID=84841127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110719231.8A Pending CN115604178A (en) 2021-06-28 2021-06-28 Communication method, label switching router and communication system

Country Status (1)

Country Link
CN (1) CN115604178A (en)

Similar Documents

Publication Publication Date Title
US10237153B2 (en) Packet retransmission method and apparatus
US9722916B2 (en) Data-plane driven fast protection mechanism for MPLS pseudowire services
US9577791B2 (en) Notification by network element of packet drops
US8976682B2 (en) Connection verification for MPLS label switched paths and pseudowires
US10218592B2 (en) Method, device and system for performing bidirectional forwarding detection on aggregated link
CN101189840B (en) Data unit relay device and method for controlling the same
US7903546B2 (en) Detecting unavailable network connections
US9013978B2 (en) Synchronization between active TCP application and standby TCP application
US9031076B2 (en) Processing requests
US8442046B2 (en) Sending routing protocol data on a multi-access network segment
US9077617B1 (en) Kernel-based TCP-layer assist for fast recovery by backup control unit of a device
US9007904B2 (en) System to improve an ethernet network
WO2014092779A1 (en) Notification by network element of packet drops
US20070133414A1 (en) Method for faster detection and retransmission of lost TCP segments
US7653060B2 (en) System and method for implementing ASI over long distances
CN111740939B (en) Message transmission device, message transmission equipment, message transmission method and storage medium
US20150113339A1 (en) Relay node, control method of relay node and network system
KR20080053078A (en) Apparatus for improving performance of transport control protocol using path recovery notification in wireless network and method using the same
WO2016172926A1 (en) Communication method and device, and system in communication system
CN110959272B (en) Defect detection in IP/MPLS network tunnels
JP2001308900A (en) Network and protocol for group multi-casting
US20060176904A1 (en) Method for sharing a transport connection across a multi-processor platform with limited inter-processor communications
CN115604178A (en) Communication method, label switching router and communication system
CN115812284A (en) Apparatus and method for transmitting acknowledgements in a network transport protocol
EP3432500A1 (en) Point-to-point transmitting method based on the use of an erasure coding scheme and a tcp/ip protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination