IP traffic transmission method, device and network side equipment

By determining IP traffic parameters and tunnel identifiers, obtaining FlowSpec routing information and sending it to the designated tunnel, it solves the problem that IP traffic transmission solutions cannot accurately guarantee service quality, and achieves precise optimization of IP traffic and improvement of service quality.

CN114650262BActive Publication Date: 2024-10-15CHINA MOBILE COMM LTD RES INST +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202011516323.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2024-10-15
Estimated Expiration
2040-12-21

AI Technical Summary

Technical Problem

The IP traffic transmission scheme in the existing technology cannot accurately guarantee the service quality of the business, especially when the network is congested, it cannot effectively protect high-value or delay-sensitive traffic.

Method used

By determining the IP traffic parameter information to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the instruction identifier that instructs the second network side device to perform the outer packet header stripping operation, the flow specification FlowSpec routing information is obtained and sent to the third network side device. Three network-side devices to accurately control IP traffic entering designated tunnels.

Benefits of technology

It achieves precise optimization of IP traffic, ensures good service quality of the business, has strong implementability and stability, and solves the problem that IP traffic transmission solutions in the existing technology cannot accurately guarantee service quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650262B_ABST
    Figure CN114650262B_ABST
Patent Text Reader

Abstract

The present invention provides an IP traffic transmission method, device and network side equipment, wherein the IP traffic transmission method includes: determining parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel and the indication identifier for instructing the second network side equipment to perform the outer header stripping operation; obtaining the flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier; sending the FlowSpec routing information to the third network side equipment; the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; the second network side equipment is the exit equipment of the target segment routing policy tunnel; the third network side equipment is the entrance equipment of the target segment routing policy tunnel. This solution can realize accurate control of IP traffic entering the designated tunnel, ensure accurate optimization of IP traffic, thereby ensuring good service quality of the business, and solve the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an IP traffic transmission method, device and network side equipment. Background Art

[0002] The best-effort working mode of the Internet makes it impossible to guarantee the service quality of some high-value traffic or delay-sensitive traffic when the network is congested. Therefore, operators generally deploy QoS (Quality of Service) on the IP network to ensure the priority forwarding of high-priority traffic. However, when a link in the traffic path is completely congested, the service quality cannot be guaranteed well. In this regard, the existing technology uses BGP (Border Gateway Protocol) Flowspec (flow specification) technology to send Flowspec redirection routes to the forwarding device (router) through the SDN (software defined network) controller, and introduces the specified traffic into the tunnel for carrying.

[0003] However, the current BGP Flowspec traffic optimization technology can only randomly select a tunnel to the egress PE (carrier edge) router to forward traffic by redirecting IP, and it still cannot accurately guarantee the service quality of the business. Summary of the invention

[0004] The purpose of the present invention is to provide an IP traffic transmission method, device and network side equipment to solve the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides an IP traffic transmission method, which is applied to a first network side device, including:

[0006] Determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation;

[0007] Obtaining flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier;

[0008] Sending the FlowSpec routing information to a third network side device;

[0009] The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic;

[0010] The second network side device is an egress device of the target segment routing policy tunnel;

[0011] The third network side device is an entry device of the target segment routing policy tunnel.

[0012] Optionally, before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier for instructing the second network side device to perform the outer packet header stripping operation, the method further includes:

[0013] Determine an indication mark corresponding to each network side device in the preset network, indicating execution of an outer packet header stripping operation;

[0014] Among them, the network side device in the preset network includes the second network side device.

[0015] Optionally, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0016] Optionally, sending the FlowSpec routing information to a third network-side device includes:

[0017] The FlowSpec routing information is sent to the third network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0018] The embodiment of the present invention further provides an IP traffic transmission method, which is applied to a third network side device, including:

[0019] Receiving flow specification FlowSpec routing information sent by the first network side device;

[0020] Determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation;

[0021] When receiving the IP traffic according to the parameter information of the IP traffic, the IP traffic is encapsulated into an inner message, and the tunnel transmission path and the indication identifier are encapsulated in an outer message header of the inner message to obtain a tunnel message;

[0022] Sending the tunnel message according to the transmission path;

[0023] Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located;

[0024] The second network side device is an egress device of the target segment routing policy tunnel;

[0025] The third network side device is an entry device of the target segment routing policy tunnel;

[0026] The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

[0027] Optionally, determining a tunnel transmission path of the IP traffic to be adjusted according to the FlowSpec routing information includes:

[0028] Determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information;

[0029] According to the tunnel identifier, obtaining the tunnel transmission path of the IP traffic to be adjusted;

[0030] The tunnel identifier includes device information of the second network side device and tunnel color information.

[0031] Optionally, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0032] Optionally, the receiving the flow specification FlowSpec routing information sent by the first network side device includes:

[0033] Receive FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0034] The embodiment of the present invention further provides an IP traffic transmission method, which is applied to a second network side device, including:

[0035] Receiving a tunnel message sent by a third network side device;

[0036] When it is identified that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, a stripping operation of the outer message header is performed according to the indicator to obtain an inner message of the tunnel message;

[0037] Determining a target address of the inner message;

[0038] Send the inner message to the target address.

[0039] The embodiment of the present invention further provides an IP traffic transmission device, which is applied to a first network side device, including:

[0040] A first determination module, used to determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation;

[0041] A first processing module is used to obtain flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier;

[0042] A first sending module, used to send the FlowSpec routing information to a third network side device;

[0043] The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic;

[0044] The second network side device is an egress device of the target segment routing policy tunnel;

[0045] The third network side device is an entry device of the target segment routing policy tunnel.

[0046] Optionally, also include:

[0047] A second determination module is used to determine the indication identifiers corresponding to each network side device in the preset network and indicating the execution of the outer header stripping operation before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to execute the outer header stripping operation;

[0048] Among them, the network side device in the preset network includes the second network side device.

[0049] Optionally, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0050] Optionally, the first sending module includes:

[0051] The first sending submodule is used to send the FlowSpec routing information to the third network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0052] The embodiment of the present invention further provides an IP traffic transmission device, which is applied to a third network side device, including:

[0053] A first receiving module is used to receive flow specification FlowSpec routing information sent by the first network side device;

[0054] A third determination module is used to determine the parameter information of the IP traffic to be adjusted, the tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation according to the FlowSpec routing information;

[0055] A second processing module is used for, when confirming that the IP traffic is received according to the parameter information of the IP traffic, encapsulating the IP traffic into an inner message, and encapsulating the tunnel transmission path and the indication identifier in an outer message header of the inner message to obtain a tunnel message;

[0056] A second sending module, used for sending the tunnel message according to the transmission path;

[0057] Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located;

[0058] The second network side device is an egress device of the target segment routing policy tunnel;

[0059] The third network side device is an entry device of the target segment routing policy tunnel;

[0060] The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

[0061] Optionally, the third determining module includes:

[0062] A first determination submodule is used to determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information;

[0063] A first processing submodule, configured to obtain a tunnel transmission path of the IP traffic to be adjusted according to the tunnel identifier;

[0064] The tunnel identifier includes device information of the second network side device and tunnel color information.

[0065] Optionally, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0066] Optionally, the first receiving module includes:

[0067] The first receiving submodule is used to receive FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0068] The embodiment of the present invention further provides an IP traffic transmission device, which is applied to a second network side device, including:

[0069] A second receiving module, used to receive a tunnel message sent by a third network side device;

[0070] A first execution module, configured to, when recognizing that the indication identifier carried in the outer message header of the tunnel message is the indication identifier corresponding to the second network side device, perform a stripping operation on the outer message header according to the indication identifier to obtain an inner message of the tunnel message;

[0071] A fourth determination module, used to determine a target address of the inner message;

[0072] The third sending module is used to send the inner message to the target address.

[0073] The embodiment of the present invention further provides a network side device, the network side device is a first network side device, including: a processor and a transceiver;

[0074] The processor is used to determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation;

[0075] Obtaining flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier;

[0076] Sending the FlowSpec routing information to a third network side device through the transceiver;

[0077] The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic;

[0078] The second network side device is an egress device of the target segment routing policy tunnel;

[0079] The third network side device is an entry device of the target segment routing policy tunnel.

[0080] Optionally, the processor is further configured to:

[0081] Before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier for instructing the second network side device to perform the outer header stripping operation, determine the indication identifiers for instructing to perform the outer header stripping operation corresponding to each network side device in the preset network;

[0082] Among them, the network side device in the preset network includes the second network side device.

[0083] Optionally, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0084] Optionally, the processor is specifically configured to:

[0085] The transceiver is used to send the FlowSpec routing information to the third network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0086] The embodiment of the present invention further provides a network side device, the network side device is a third network side device, including: a processor and a transceiver;

[0087] The processor is used to receive, through the transceiver, flow specification FlowSpec routing information sent by the first network side device;

[0088] Determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation;

[0089] When receiving the IP traffic according to the parameter information of the IP traffic, the IP traffic is encapsulated into an inner message, and the tunnel transmission path and the indication identifier are encapsulated in an outer message header of the inner message to obtain a tunnel message;

[0090] sending the tunnel message through the transceiver according to the transmission path;

[0091] Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located;

[0092] The second network side device is an egress device of the target segment routing policy tunnel;

[0093] The third network side device is an entry device of the target segment routing policy tunnel;

[0094] The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

[0095] Optionally, the processor is specifically configured to:

[0096] Determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information;

[0097] According to the tunnel identifier, obtaining the tunnel transmission path of the IP traffic to be adjusted;

[0098] The tunnel identifier includes device information of the second network side device and tunnel color information.

[0099] Optionally, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0100] Optionally, the processor is specifically configured to:

[0101] The FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol is received through the transceiver.

[0102] The embodiment of the present invention further provides a network side device, the network side device is a second network side device, including: a processor and a transceiver;

[0103] The processor is configured to receive, through the transceiver, a tunnel message sent by a third network side device;

[0104] When it is identified that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, a stripping operation of the outer message header is performed according to the indicator to obtain an inner message of the tunnel message;

[0105] Determining a target address of the inner message;

[0106] The inner message is sent to the target address through the transceiver.

[0107] The embodiment of the present invention further provides a network side device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the above-mentioned IP traffic transmission method on the first network side device side is implemented; or,

[0108] When the processor executes the program, the third network side device side IP traffic transmission method is implemented; or,

[0109] When the processor executes the program, the above-mentioned IP traffic transmission method on the second network side device side is implemented.

[0110] The embodiment of the present invention further provides a readable storage medium on which a program is stored, and when the program is executed by a processor, the steps in the above-mentioned IP traffic transmission method on the first network side device side are implemented; or,

[0111] When the program is executed by the processor, the steps in the third network side device side IP traffic transmission method are implemented; or,

[0112] When the program is executed by the processor, the steps in the above-mentioned IP traffic transmission method on the second network side device side are implemented.

[0113] The beneficial effects of the above technical solution of the present invention are as follows:

[0114] In the above scheme, the IP traffic transmission method determines the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to perform the outer header stripping operation; obtains the flow specification FlowSpec routing information according to the parameter information, tunnel identifier and indication identifier; sends the FlowSpec routing information to the third network side device; wherein the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; it can realize accurate control of IP traffic entering the designated tunnel, ensure accurate tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission scheme in the prior art cannot accurately guarantee the service quality of the business. BRIEF DESCRIPTION OF THE DRAWINGS

[0115] Figure 1 The IP traffic transmission method according to the present invention is shown in FIG. Figure 1 ;

[0116] Figure 2 The IP traffic transmission method according to the present invention is shown in FIG. Figure 2 ;

[0117] Figure 3 The IP traffic transmission method according to the present invention is shown in FIG. Figure 3 ;

[0118] Figure 4 A schematic diagram of an implementation architecture of an IP traffic transmission method according to an embodiment of the present invention;

[0119] Figure 5 The structure of the IP traffic transmission device according to the embodiment of the present invention is shown as follows Figure 1 ;

[0120] Figure 6 The structure of the IP traffic transmission device according to the embodiment of the present invention is shown as follows Figure 2 ;

[0121] Figure 7 The structure of the IP traffic transmission device according to the embodiment of the present invention is shown as follows Figure 3 ;

[0122] Figure 8 The network side device structure of the embodiment of the present invention is shown in FIG. Figure 1 ;

[0123] Fig. 9 The network side device structure of the embodiment of the present invention is shown in FIG. Figure 2 ;

[0124] Fig.10 The network side device structure of the embodiment of the present invention is shown in FIG. Figure 3 . DETAILED DESCRIPTION

[0125] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0126] The present invention aims to solve the problem that the IP traffic transmission scheme in the existing technology cannot accurately guarantee the service quality of the business, and provides an IP traffic transmission method, which is applied to a first network side device, such as Figure 1 As shown, including:

[0127] Step 11: Determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation;

[0128] Step 12: Obtain flow specification FlowSpec routing information according to the parameter information, tunnel identifier and indication identifier;

[0129] Step 13: Send the FlowSpec routing information to a third network side device; wherein the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; the second network side device is the exit device of the target segment routing policy tunnel; and the third network side device is the entry device of the target segment routing policy tunnel.

[0130] The first network side device may be an SDN (Software Defined Network) controller, and the second network side device and the third network side device may be PE routers. The parameter information may be a five-tuple of IP traffic, including a target address (also understood as a destination address); the indication information may be a PublicDT4SID (IPv4 public segment identifier) ​​or a PublicDT6SID (IPv6 public segment identifier).

[0131] The IP traffic transmission method provided by the embodiment of the present invention determines the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to perform the outer header stripping operation; obtains the flow specification FlowSpec routing information according to the parameter information, tunnel identifier and indication identifier; sends the FlowSpec routing information to the third network side device; wherein the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; it can realize accurate control of IP traffic entering the designated tunnel, ensure accurate tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0132] Furthermore, before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to perform the outer packet header stripping operation, it also includes: determining the indication identifier corresponding to each network side device in the preset network, which indicates the execution of the outer packet header stripping operation; wherein the network side devices in the preset network include the second network side device.

[0133] It can also be understood as determining the PublicDT4SID or PublicDT6SID of each PE device in the preset network.

[0134] In an embodiment of the present invention, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0135] The device information may be the Endpoint in the tunnel identifier.

[0136] The sending of the FlowSpec routing information to the third network side device includes: sending the FlowSpec routing information to the third network side device through a Border Gateway Protocol (BGP) Flowspec protocol.

[0137] This can ensure the security and accuracy of data transmission.

[0138] The embodiment of the present invention also provides an IP traffic transmission method, which is applied to a third network side device, such as Figure 2 As shown, including:

[0139] Step 21: receiving the flow specification FlowSpec routing information sent by the first network side device;

[0140] Step 22: Determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication flag for instructing the second network side device to perform an outer packet header stripping operation;

[0141] Step 23: when it is confirmed that the IP traffic is received according to the parameter information of the IP traffic, encapsulate the IP traffic into an inner message, and encapsulate the tunnel transmission path and the indication identifier in an outer message header of the inner message to obtain a tunnel message;

[0142] Step 24: Send the tunnel message according to the transmission path; wherein, in the outer message header, the field where the indicator identifier is located is located after the field where the tunnel transmission path is located; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

[0143] The first network side device may be an SDN (Software Defined Network) controller, and the second network side device and the third network side device may be PE routers. The parameter information may be a five-tuple of IP traffic, including a destination address; the indication information may be a PublicDT4SID (IPv4 Public Segment Identifier) ​​or a PublicDT6SID (IPv6 Public Segment Identifier).

[0144] Regarding step 22, it can be specifically understood as determining the local FlowSpec routing table entry and confirming the tunnel transmission path. Regarding the operation of confirming whether the IP traffic is received in step 23, it can be based on the target address or source address in the parameter information, which is not limited here. Regarding confirming whether the IP traffic is received, it can be specifically understood as confirming whether the original message of the IP traffic is received. Regarding the outer message header, that is, the outer IPv6 message header encapsulated by the SRv6Policy tunnel.

[0145] The second network side device is the exit device of the target segment routing policy tunnel, which can also be understood as the end node in the tunnel transmission path being the second network side device.

[0146] The IP traffic transmission method provided by the embodiment of the present invention receives the flow specification FlowSpec routing information sent by the first network side device; determines the parameter information of the IP traffic to be adjusted, the tunnel transmission path and the indication mark instructing the second network side device to perform the outer layer message header stripping operation according to the FlowSpec routing information; when confirming the reception of the IP traffic according to the parameter information of the IP traffic, encapsulates the IP traffic into an inner layer message, and encapsulates the tunnel transmission path and the indication mark in the outer layer message header of the inner layer message to obtain a tunnel message; sends the tunnel message according to the transmission path; wherein, The field where the indicator in the outer message header is located is located after the field where the tunnel transmission path is located; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; it can accurately control the IP traffic entering the designated tunnel, ensure the accurate tuning of the IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0147] Among them, according to the FlowSpec routing information, the tunnel transmission path of the IP traffic to be adjusted is determined, including: according to the FlowSpec routing information, the tunnel identifier of the target segment routing policy tunnel is determined; according to the tunnel identifier, the tunnel transmission path of the IP traffic to be adjusted is obtained; wherein the tunnel identifier includes the device information and tunnel color information of the second network side device.

[0148] In an embodiment of the present invention, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0149] The device information may be the Endpoint in the tunnel identifier.

[0150] The step of receiving the flow specification FlowSpec routing information sent by the first network side device includes: receiving the FlowSpec routing information sent by the first network side device via the Border Gateway Protocol BGP Flowspec protocol.

[0151] This can ensure the security and accuracy of data transmission.

[0152] The embodiment of the present invention also provides an IP traffic transmission method, which is applied to a second network side device, such as Figure 3 As shown, including:

[0153] Step 31: receiving a tunnel message sent by a third network side device;

[0154] Step 32: when it is identified that the indicator carried in the outer header of the tunnel message is the indicator corresponding to the second network side device, a stripping operation is performed on the outer header according to the indicator to obtain an inner message of the tunnel message;

[0155] Step 33: Determine the target address of the inner message;

[0156] Step 34: Send the inner message to the target address.

[0157] The first network side device may be an SDN (Software Defined Network) controller, and the second network side device and the third network side device may be PE routers. The parameter information may be a five-tuple of IP traffic, including a destination address; the indication information may be a PublicDT4SID (IPv4 public segment identifier) ​​or a PublicDT6SID (IPv6 public segment identifier). The outer layer header is the outer layer IPv6 header encapsulated by the SRv6 Policy tunnel.

[0158] The second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the inner layer message (corresponding IP traffic).

[0159] The IP traffic transmission method provided in the embodiment of the present invention receives a tunnel message sent by a third network side device; when it is identified that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, according to the indicator, a stripping operation of the outer message header is performed to obtain an inner message of the tunnel message; a target address of the inner message is determined; and the inner message is sent to the target address. The method can support the precise control of IP traffic entering the designated tunnel, ensure the precise tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0160] The IP traffic transmission method provided by the embodiment of the present invention is further explained below in combination with multiple sides such as a first network side device, a second network side device, and a third network side device. The first network side device takes an SDN (software defined network) controller as an example, the second network side device takes an egress PE (operator edge) router as an example, and the third network side device takes an ingress PE router.

[0161] In response to the above technical problems, an embodiment of the present invention provides an IP traffic transmission method, which can be specifically implemented as a method for accurately introducing IP traffic into a specified SRv6 (segment routing based on IPv6) Policy tunnel to ensure accurate tuning of IP traffic, thereby ensuring a good service experience for high-value businesses and enhancing network value.

[0162] The solution provided by the embodiment of the present invention mainly involves:

[0163] (1) SDN (Software Defined Network) Controller

[0164] 1) maintaining the PublicDT4SID (IPv4 public segment identifier) ​​and / or PublicDT6SID (IPv6 public segment identifier) ​​information of all PE devices (routers) in the network (corresponding to the above-mentioned preset network) (corresponding to the indication mark corresponding to each network-side device in the above-mentioned preset network, indicating the execution of the outer packet header stripping operation);

[0165] 2) Formulate traffic optimization strategy: including determining the IP traffic to be optimized (five-tuple information, corresponding to the parameter information of the above-mentioned IP traffic to be adjusted, including: source address, source port, destination address, destination port, etc.), the corresponding SRv6 Policy tunnel identifier (corresponding to the tunnel identifier of the above-mentioned target segment routing policy tunnel, including Endpoint (corresponding to the device information of the above-mentioned second network side device), color (tunnel color information in the tunnel identifier, used to distinguish the service level (SLA) of different tunnels to the same destination)) and the PublicDT4SID (for IPv4 traffic) or PublicDT6SID (for IPv6 traffic) information of the egress PE device; mainly involving matching the correspondence between the IP traffic to be optimized and the tunnel and the indication identifier (i.e., PublicDT4SID or PublicDT6SID) of the tunnel tail node to perform the outer packet header stripping operation;

[0166] 3) Responsible for sending the policy (the formulated traffic optimization policy) to the forwarding device (i.e., PE router) through the BGP Flowspec protocol. This policy is to match the IP traffic to be optimized and introduce it into the specified SRv6 Policy tunnel for forwarding.

[0167] (2) Ingress PE router: the ingress router of traffic;

[0168] Accept the routing policy (including the above traffic optimization policy) issued by the SDN controller through the BGP Flowspec protocol, and introduce the IP traffic matching the five-tuple information defined in the routing policy into the SRv6 Policy tunnel corresponding to (Endpoint, color) (corresponding to the above target segment routing policy tunnel), and encapsulate an IPv6 header (corresponding to the above outer header) on the outer layer of the original message (corresponding to the above inner message), and encapsulate the tunnel segmentlist (segment list) information (corresponding to the above tunnel transmission path) in its SRH (segment routing header), which is used to guide the traffic to be forwarded along the path specified by the segmentlist. The IPv6 header will also encapsulate the PublicDT4SID or PublicDT6SID corresponding to the egress PE router.

[0169] (3) Egress PE router: the last hop router of the SRv6 Policy tunnel;

[0170] According to the PublicDT4SID or PublicDT6SID information, the SRH of the outer SRv6 tunnel is stripped off, the traffic is restored to the original message, and the ordinary IP FIB (routing forwarding table) is checked to find the target address, and the traffic is forwarded to the final destination address (ie, the target address).

[0171] The implementation of the solution provided in the embodiment of the present invention can be achieved by Figure 4 The overall system architecture shown can be implemented as follows:

[0172] 1) Assume that the destination address of the IP traffic to be optimized is 8.8.8.8, and the optimization requirement for this traffic is latency < 500ms;

[0173] 2) The SDN controller calculates the qualified SRv6 Policy path Segment list (segment list, corresponding to the above tunnel transmission path) in advance according to this constraint condition (i.e., the tuning requirement in 1), and sends the Segment list and (Endpoint B2:1::200, color 100), hereinafter referred to as "Tunnel1-2", to the network edge device PE1 (corresponding to the above ingress PE router) through the BGP SRv6 Policy protocol, and the forwarding device (corresponding to the relevant PE and P (carrier network backbone) router) establishes the SRv6 Policy tunnel "Tunnel1-2" in the network;

[0174] 3) The SDN controller sets the traffic optimization policy: redirect the traffic with the destination IP of 8.8.8.8 to the SRv6Policy tunnel "Tunnel1-2", and routes the FlowSpec through the BGP flowspec protocol: <destination IP (corresponding to the above target address): 8.8.8.8, redirection B2:1::200 (i.e. Endpoint), 100 (i.e. color), B2:1::B400 (i.e. PublicDT6SID)> to the PE1 device;

[0175] 4) The PE1 device generates a FlowSpec routing table entry locally according to the information sent in 3) (including the tunnel identifier of the target segment routing policy tunnel corresponding to the IP traffic to be adjusted according to the FlowSpec routing information and the indication identifier for instructing the second network side device to perform the outer header stripping operation); and determines the Segmentlist (corresponding to the above-mentioned tunnel transmission path) according to the tunnel identifier;

[0176] 5) When PE1 receives inbound traffic with a destination IP of 8.8.8.8, it matches the local FlowSpec routing table entry and redirects it to Endpoint B2:1::200. It then iterates to a unique SRv6 TE Policy tunnel "Tunnel1-2" through (Endpoint B2:1::200, color 100), and puts B2:1::B400 behind the Segment list of the outer IPv6 header encapsulated by the SRv6 tunnel (corresponding to the above-mentioned encapsulation of the IP traffic into an inner message, and encapsulating the tunnel transmission path and the indicator in the outer message header of the inner message to obtain a tunnel message).

[0177] It is explained here that the above-mentioned "redirection" and "iteration" operations may also be performed when the source IP of the IP traffic received by the PE1 device matches the local FlowSpec routing table entry, which is not limited here.

[0178] 6) The message (i.e., the message obtained in 5) is forwarded along the path of the SRv6 Policy tunnel "Tunnel1-2";

[0179] 7) When the message reaches the tunnel tail node PE2 (corresponding to the above-mentioned egress PE router), according to the PublicDT4SID: B2:1::B400 information in the outer IPv6 message header DA (destination address), the outer IPv6 message header encapsulated by the SRv6 tunnel is stripped off, the traffic is restored to the original message, and the ordinary IP FIB is checked to forward the traffic to the final destination address 8.8.8.8.

[0180] It should be noted that each routing device has its own SID. Figure 4 Flow represents the inbound traffic (IP traffic), P represents the P route in the tunnel, IDC represents the Internet Data Center, SA represents the source address (can be the source IP), DA represents the destination address (can be the destination IP), SL[0] represents the routing path with a pointer offset of 0 in the Segment list, SL[1] represents the routing path with a pointer offset of 1 in the Segment list, SL[2] represents the routing path with a pointer offset of 2 in the Segment list, and Payload represents the payload.

[0181] As can be seen from the above, the solution provided by the embodiment of the present invention specifically relates to a method for providing accurate tuning of Internet IP traffic into an SRv6 Policy tunnel, which involves:

[0182] (1) SDN adds the function of maintaining PublicDT4SID and PublicDT6SID information;

[0183] (2) The PublicSID field is added to the traffic optimization policy issued by SDN to instruct the tail node of the SRv6 Policy tunnel to strip the encapsulated IPv6 packet header;

[0184] (3) The operations performed by PE1 in response to the traffic optimization policy issued by the SDN controller: redirection of the EndPoinit+Color+PublicDT4SID or PublicDT6SID processing mechanism;

[0185] (4) PE2 device’s processing mechanism for PublicSID.

[0186] In summary, the embodiments of the present invention provide a practical method for optimizing IP traffic accurately into the SRv6 Policy tunnel, which requires only a small amount of modification to the SDN controller and no modification to the existing forwarding equipment, and has strong feasibility. In addition, the solution realizes accurate optimization of IP traffic, avoids the drawback that the existing traffic optimization technology cannot be carried through the specified SRv6 Policy tunnel, and has good stability and reliability.

[0187] The embodiment of the present invention also provides an IP traffic transmission device, which is applied to a first network side device, such as Figure 5 As shown, including:

[0188] A first determination module 51 is used to determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation;

[0189] A first processing module 52 is used to obtain flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier;

[0190] A first sending module 53, configured to send the FlowSpec routing information to a third network side device;

[0191] The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic;

[0192] The second network side device is an egress device of the target segment routing policy tunnel;

[0193] The third network side device is an entry device of the target segment routing policy tunnel.

[0194] The IP traffic transmission device provided by the embodiment of the present invention determines the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to perform the outer header stripping operation; obtains the flow specification FlowSpec routing information according to the parameter information, tunnel identifier and indication identifier; sends the FlowSpec routing information to the third network side device; wherein the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; it can realize accurate control of IP traffic entering the designated tunnel, ensure accurate tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0195] Furthermore, the IP traffic transmission device also includes: a second determination module, which is used to determine the indication identifier corresponding to each network side device in the preset network and indicating the execution of the outer layer header stripping operation before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to execute the outer layer header stripping operation; wherein, the network side devices in the preset network include the second network side device.

[0196] In an embodiment of the present invention, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0197] The first sending module includes: a first sending submodule, which is used to send the FlowSpec routing information to the third network side device through the Border Gateway Protocol BGPFlowspec protocol.

[0198] Among them, the implementation embodiments of the IP traffic transmission method on the first network side device side are all applicable to the embodiments of the IP traffic transmission device, and can also achieve the corresponding same technical effects.

[0199] The embodiment of the present invention also provides an IP traffic transmission device, which is applied to a third network side device, such as Figure 6 As shown, including:

[0200] The first receiving module 61 is used to receive the flow specification FlowSpec routing information sent by the first network side device;

[0201] A third determination module 62, configured to determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation;

[0202] The second processing module 63 is used to encapsulate the IP traffic into an inner message when confirming that the IP traffic is received according to the parameter information of the IP traffic, and encapsulate the tunnel transmission path and the indication identifier in the outer message header of the inner message to obtain a tunnel message;

[0203] A second sending module 64, configured to send the tunnel message according to the transmission path;

[0204] Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located;

[0205] The second network side device is an egress device of the target segment routing policy tunnel;

[0206] The third network side device is an entry device of the target segment routing policy tunnel;

[0207] The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

[0208] The IP traffic transmission device provided by the embodiment of the present invention receives the flow specification FlowSpec routing information sent by the first network side device; determines the parameter information of the IP traffic to be adjusted, the tunnel transmission path and the indication mark for instructing the second network side device to perform the outer packet header stripping operation according to the FlowSpec routing information; when confirming the reception of the IP traffic according to the parameter information of the IP traffic, encapsulates the IP traffic into an inner packet, and encapsulates the tunnel transmission path and the indication mark in the outer packet header of the inner packet to obtain a tunnel packet; sends the tunnel packet according to the transmission path; wherein, The field where the indicator in the outer message header is located is located after the field where the tunnel transmission path is located; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; it can accurately control the IP traffic entering the designated tunnel, ensure the accurate tuning of the IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0209] Among them, the third determination module includes: a first determination sub-module, used to determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information; a first processing sub-module, used to obtain the tunnel transmission path of the IP traffic to be adjusted according to the tunnel identifier; wherein the tunnel identifier includes the device information and tunnel color information of the second network side device.

[0210] In an embodiment of the present invention, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0211] Among them, the first receiving module includes: a first receiving sub-module, which is used to receive FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0212] Among them, the implementation embodiments of the IP traffic transmission method on the third network side device side are all applicable to the embodiments of the IP traffic transmission device, and can also achieve the corresponding same technical effects.

[0213] The embodiment of the present invention also provides an IP traffic transmission device, which is applied to a second network side device, such as Figure 7As shown, including:

[0214] The second receiving module 71 is used to receive the tunnel message sent by the third network side device;

[0215] A first execution module 72 is used to, when recognizing that the indication identifier carried in the outer message header of the tunnel message is the indication identifier corresponding to the second network side device, perform a stripping operation on the outer message header according to the indication identifier to obtain an inner message of the tunnel message;

[0216] A fourth determination module 73, configured to determine a target address of the inner message;

[0217] The third sending module 74 is used to send the inner message to the target address.

[0218] The IP traffic transmission device provided in the embodiment of the present invention receives a tunnel message sent by a third network side device; when it is identified that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, according to the indicator, performs a stripping operation on the outer message header to obtain an inner message of the tunnel message; determines the target address of the inner message; sends the inner message to the target address; can support the precise control of IP traffic entering the designated tunnel, ensure the precise tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0219] Among them, the implementation embodiments of the IP traffic transmission method on the second network side device side are all applicable to the embodiments of the IP traffic transmission device, and can also achieve the corresponding same technical effects.

[0220] The embodiment of the present invention further provides a network side device, wherein the network side device is a first network side device, such as Figure 8 As shown, it includes: a processor 81 and a transceiver 82;

[0221] The processor 81 is used to determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation;

[0222] Obtaining flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier;

[0223] Sending the FlowSpec routing information to a third network side device through the transceiver 82;

[0224] The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic;

[0225] The second network side device is an egress device of the target segment routing policy tunnel;

[0226] The third network side device is an entry device of the target segment routing policy tunnel.

[0227] The network side device provided in the embodiment of the present invention determines the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to perform the outer header stripping operation; obtains the flow specification FlowSpec routing information according to the parameter information, tunnel identifier and indication identifier; sends the FlowSpec routing information to the third network side device; wherein the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; it can realize accurate control of IP traffic entering the designated tunnel, ensure accurate tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0228] Furthermore, the processor is also used to: before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indicator identifier instructing the second network side device to perform the outer header stripping operation, determine the indicator identifier corresponding to each network side device in the preset network, indicating the execution of the outer header stripping operation; wherein the network side devices in the preset network include the second network side device.

[0229] In an embodiment of the present invention, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0230] The processor is specifically used to: use the transceiver to send the FlowSpec routing information to the third network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0231] Among them, the implementation embodiments of the IP traffic transmission method on the first network side device side are all applicable to the embodiments of the network side device and can achieve the corresponding same technical effects.

[0232] The embodiment of the present invention further provides a network side device, wherein the network side device is a third network side device, such as Fig. 9 As shown, it includes: a processor 91 and a transceiver 92;

[0233] The processor 91 is configured to receive, through the transceiver 92, flow specification FlowSpec routing information sent by the first network side device;

[0234] Determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation;

[0235] When receiving the IP traffic according to the parameter information of the IP traffic, the IP traffic is encapsulated into an inner message, and the tunnel transmission path and the indication identifier are encapsulated in an outer message header of the inner message to obtain a tunnel message;

[0236] sending the tunnel message through the transceiver 92 according to the transmission path;

[0237] Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located;

[0238] The second network side device is an egress device of the target segment routing policy tunnel;

[0239] The third network side device is an entry device of the target segment routing policy tunnel;

[0240] The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

[0241] The network side device provided in the embodiment of the present invention receives the flow specification FlowSpec routing information sent by the first network side device; determines the parameter information of the IP traffic to be adjusted, the tunnel transmission path and the indication mark instructing the second network side device to perform the outer message header stripping operation according to the FlowSpec routing information; when confirming the reception of the IP traffic according to the parameter information of the IP traffic, encapsulates the IP traffic into an inner message, and encapsulates the tunnel transmission path and the indication mark in the outer message header of the inner message to obtain a tunnel message; sends the tunnel message according to the transmission path; wherein, in the The field where the indicator in the outer message header is located is located after the field where the tunnel transmission path is located; the second network side device is the exit device of the target segment routing policy tunnel; the third network side device is the entry device of the target segment routing policy tunnel; the target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic; it can accurately control the IP traffic entering the designated tunnel, ensure the accurate tuning of the IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0242] Among them, the processor is specifically used to: determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information; obtain the tunnel transmission path of the IP traffic to be adjusted according to the tunnel identifier; wherein the tunnel identifier includes the device information and tunnel color information of the second network side device.

[0243] In an embodiment of the present invention, the FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

[0244] The processor is specifically used to: receive, through the transceiver, FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol.

[0245] Among them, the implementation embodiments of the IP traffic transmission method on the third network side device side are all applicable to the embodiments of the network side device and can achieve the corresponding same technical effects.

[0246] The embodiment of the present invention further provides a network side device, wherein the network side device is a second network side device, such as Fig.10 As shown, it includes: a processor 101 and a transceiver 102;

[0247] The processor 101 is configured to receive a tunnel message sent by a third network side device through the transceiver 102;

[0248] When it is identified that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, a stripping operation of the outer message header is performed according to the indicator to obtain an inner message of the tunnel message;

[0249] Determining a target address of the inner message;

[0250] The inner message is sent to the target address through the transceiver 102.

[0251] The network side device provided in the embodiment of the present invention receives a tunnel message sent by a third network side device; when it is identified that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, according to the indicator, a stripping operation of the outer message header is performed to obtain an inner message of the tunnel message; a target address of the inner message is determined; and the inner message is sent to the target address. It can support the precise control of IP traffic entering the designated tunnel, ensure the precise tuning of IP traffic, thereby ensuring good service quality of the business, and has strong feasibility, good stability and reliability, and well solves the problem that the IP traffic transmission solution in the prior art cannot accurately guarantee the service quality of the business.

[0252] Among them, the implementation embodiments of the IP traffic transmission method on the second network side device side are all applicable to the embodiments of the network side device and can achieve the corresponding same technical effects.

[0253] An embodiment of the present invention also provides a network side device, including a memory, a processor, and a program stored on the memory and executable on the processor; when the processor executes the program, the above-mentioned IP traffic transmission method on the first network side device side is implemented; or, when the processor executes the program, the above-mentioned IP traffic transmission method on the third network side device side is implemented; or, when the processor executes the program, the above-mentioned IP traffic transmission method on the second network side device side is implemented.

[0254] Among them, the implementation embodiments of the IP traffic transmission method on the first network side device side, the third network side device side or the second network side device side are all applicable to the embodiments of the network side device and can achieve the corresponding same technical effects.

[0255] An embodiment of the present invention also provides a readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the above-mentioned IP traffic transmission method on the first network side device side; or, when executed by a processor, implements the steps in the above-mentioned IP traffic transmission method on the third network side device side; or, when executed by a processor, implements the steps in the above-mentioned IP traffic transmission method on the second network side device side.

[0256] Among them, the implementation embodiments of the IP traffic transmission method on the first network side device side, the third network side device side or the second network side device side are all applicable to the embodiments of the readable storage medium, and can also achieve the corresponding same technical effects.

[0257] It should be noted that many functional components described in this specification are referred to as modules / sub-modules in order to more particularly emphasize the independence of their implementation methods.

[0258] In the embodiment of the present invention, module / submodule can be implemented with software so that it can be performed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of this module.

[0259] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0260] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0261] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An IP traffic transmission method, applied to a first network side device, characterized in that: include: Determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation; Obtaining flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier; Sending the FlowSpec routing information to a third network side device; The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic; The second network side device is an egress device of the target segment routing policy tunnel; The third network side device is an entry device of the target segment routing policy tunnel.

2. The IP traffic transmission method according to claim 1, characterized in that: Before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier for instructing the second network side device to perform the outer header stripping operation, the method further includes: Determine an indication mark corresponding to each network side device in the preset network, indicating execution of an outer packet header stripping operation; Among them, the network side device in the preset network includes the second network side device.

3. The IP traffic transmission method according to claim 1, characterized in that: The FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

4. The IP traffic transmission method according to claim 1, characterized in that: The sending the FlowSpec routing information to the third network side device includes: The FlowSpec routing information is sent to the third network side device through the Border Gateway Protocol BGP Flowspec protocol.

5. An IP traffic transmission method, applied to a third network side device, characterized in that: include: Receiving flow specification FlowSpec routing information sent by the first network side device; Determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation; When receiving the IP traffic according to the parameter information of the IP traffic, the IP traffic is encapsulated into an inner message, and the tunnel transmission path and the indication identifier are encapsulated in an outer message header of the inner message to obtain a tunnel message; Sending the tunnel message according to the tunnel transmission path; Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located; The second network side device is an egress device of the target segment routing policy tunnel; The third network side device is an entry device of the target segment routing policy tunnel; The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

6. The IP traffic transmission method according to claim 5, characterized in that: Determining a tunnel transmission path of the IP traffic to be adjusted according to the FlowSpec routing information includes: Determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information; According to the tunnel identifier, obtaining the tunnel transmission path of the IP traffic to be adjusted; The tunnel identifier includes device information of the second network side device and tunnel color information.

7. The IP traffic transmission method according to claim 5, characterized in that: The FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

8. The IP traffic transmission method according to claim 5, characterized in that: The receiving the flow specification FlowSpec routing information sent by the first network side device includes: Receive FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol.

9. An IP traffic transmission method, applied to a second network side device, characterized in that: include: Receiving a tunnel message sent by a third network side device; In the case of identifying that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, according to the indicator, performing a stripping operation on the outer message header to obtain an inner message of the tunnel message; the inner message is obtained by the third network side device encapsulating the IP traffic when confirming that the IP traffic is received according to the parameter information of the IP traffic; the parameter information of the IP traffic is determined by the first network side device; Determining a target address of the inner message; Send the inner message to the target address.

10. An IP traffic transmission device, applied to a first network side device, characterized in that: include: A first determination module, used to determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation; A first processing module, configured to obtain flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier; A first sending module, used to send the FlowSpec routing information to a third network side device; The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic; The second network side device is an egress device of the target segment routing policy tunnel; The third network side device is an entry device of the target segment routing policy tunnel.

11. The IP traffic transmission device according to claim 10, characterized in that: Also includes: A second determination module is used to determine the indication identifiers corresponding to each network side device in the preset network and indicating the execution of the outer header stripping operation before determining the parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and the indication identifier instructing the second network side device to execute the outer header stripping operation; Among them, the network side device in the preset network includes the second network side device.

12. The IP traffic transmission device according to claim 10, characterized in that: The FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

13. The IP traffic transmission device according to claim 10, characterized in that: The first sending module includes: The first sending submodule is used to send the FlowSpec routing information to the third network side device through the Border Gateway Protocol BGP Flowspec protocol.

14. An IP traffic transmission device, applied to a third network side device, characterized in that: include: A first receiving module is used to receive flow specification FlowSpec routing information sent by the first network side device; A third determination module is used to determine the parameter information of the IP traffic to be adjusted, the tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation according to the FlowSpec routing information; A second processing module is used for, when confirming that the IP traffic is received according to the parameter information of the IP traffic, encapsulating the IP traffic into an inner message, and encapsulating the tunnel transmission path and the indication identifier in an outer message header of the inner message to obtain a tunnel message; A second sending module, used for sending the tunnel message according to the tunnel transmission path; Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located; The second network side device is an egress device of the target segment routing policy tunnel; The third network side device is an entry device of the target segment routing policy tunnel; The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

15. The IP traffic transmission device according to claim 14, characterized in that: The third determining module comprises: A first determination submodule is used to determine the tunnel identifier of the target segment routing policy tunnel according to the FlowSpec routing information; A first processing submodule, configured to obtain a tunnel transmission path of the IP traffic to be adjusted according to the tunnel identifier; The tunnel identifier includes device information of the second network side device and tunnel color information.

16. The IP traffic transmission device according to claim 14, characterized in that: The FlowSpec routing information carries parameter information of the IP traffic to be adjusted, the tunnel identifier of the target segment routing policy tunnel, and an indication identifier instructing the second network side device to perform an outer packet header stripping operation; the tunnel identifier includes device information of the second network side device.

17. The IP traffic transmission device according to claim 14, characterized in that: The first receiving module includes: The first receiving submodule is used to receive FlowSpec routing information sent by the first network side device through the Border Gateway Protocol BGP Flowspec protocol.

18. An IP traffic transmission device, applied to a second network side device, characterized in that: include: A second receiving module, used to receive a tunnel message sent by a third network side device; A first execution module, configured to, when identifying that the indication identifier carried in the outer header of the tunnel message is the indication identifier corresponding to the second network side device, perform a stripping operation on the outer header according to the indication identifier to obtain an inner message of the tunnel message; the inner message is obtained by the third network side device encapsulating the IP traffic when confirming that the IP traffic is received according to the parameter information of the IP traffic; the parameter information of the IP traffic is determined by the first network side device; A fourth determination module, used to determine a target address of the inner message; The third sending module is used to send the inner message to the target address.

19. A network side device, the network side device being a first network side device, characterized in that: include: processor and transceiver; The processor is used to determine parameter information of the IP traffic to be adjusted, a tunnel identifier of the target segment routing policy tunnel, and an indication identifier for instructing the second network side device to perform an outer packet header stripping operation; Obtaining flow specification FlowSpec routing information according to the parameter information, the tunnel identifier and the indication identifier; Sending the FlowSpec routing information to a third network side device through the transceiver; The target segment routing policy tunnel is a tunnel that can meet the transmission requirement conditions of the IP traffic; The second network side device is an egress device of the target segment routing policy tunnel; The third network side device is an entry device of the target segment routing policy tunnel.

20. A network side device, the network side device being a third network side device, characterized in that: include: processor and transceiver; The processor is configured to receive, through the transceiver, flow specification FlowSpec routing information sent by the first network side device; Determine, according to the FlowSpec routing information, parameter information of the IP traffic to be adjusted, a tunnel transmission path, and an indication mark for instructing the second network side device to perform an outer packet header stripping operation; When receiving the IP traffic according to the parameter information of the IP traffic, the IP traffic is encapsulated into an inner message, and the tunnel transmission path and the indication identifier are encapsulated in an outer message header of the inner message to obtain a tunnel message; Sending the tunnel message through the transceiver according to the tunnel transmission path; Wherein, in the outer message header, the field where the indication identifier is located is located after the field where the tunnel transmission path is located; The second network side device is an egress device of the target segment routing policy tunnel; The third network side device is an entry device of the target segment routing policy tunnel; The target segment routing policy tunnel is a tunnel that can meet the transmission requirements of the IP traffic.

21. A network side device, the network side device being a second network side device, characterized in that: include: processor and transceiver; The processor is configured to receive, through the transceiver, a tunnel message sent by a third network side device; In the case of identifying that the indicator carried in the outer message header of the tunnel message is the indicator corresponding to the second network side device, according to the indicator, performing a stripping operation on the outer message header to obtain an inner message of the tunnel message; the inner message is obtained by the third network side device encapsulating the IP traffic when confirming that the IP traffic is received according to the parameter information of the IP traffic; the parameter information of the IP traffic is determined by the first network side device; Determining a target address of the inner message; The inner message is sent to the target address through the transceiver.

22. A network side device, comprising a memory, a processor and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the IP traffic transmission method according to any one of claims 1 to 4 is implemented; or, When the processor executes the program, the IP traffic transmission method according to any one of claims 5 to 8 is implemented; or, When the processor executes the program, the IP traffic transmission method as claimed in claim 9 is implemented.

23. A readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps of the IP traffic transmission method according to any one of claims 1 to 4 are implemented; or, When the program is executed by a processor, the steps of the IP traffic transmission method according to any one of claims 5 to 8 are implemented; or, When the program is executed by a processor, the steps in the IP traffic transmission method as claimed in claim 9 are implemented.

Citation Information

Patent Citations

  • Mobile evolved packet network system

    CN102625363A

  • Communication of non-IP data over packet data networks

    CN107925914A

  • Method, device and system for controlling route iteration

    CN111670565A

  • Simple Virtual Private Network For Small Local Area Networks

    US20080198858A1

  • Method of Multiprotocol Label Switching Encapsulation for United Router Farm Forwarding

    US20140056300A1