Information processing method and apparatus

By using AFI and SAFI in BGP messages to indicate the SD-WAN address family, directly advertise SD-WAN routing, solving the performance overhead problem of the BGP-4 protocol when managing routing information of multiple network layer protocols, and achieving more efficient routing Announcements and simplified configuration process.

WO2024239686A1PCT designated stage expired Publication Date: 2024-11-28HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/073023
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-22
Filing Date
2024-01-18
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

The existing BGP-4 protocols have high performance overhead when managing routing information of multiple network layer protocols, especially in the MP-BGP advertisement routing method, resulting in increased performance consumption of network devices.

Method used

By introducing AFI and SAFI in the BGP message, the route based on the SD-WAN address family is directly advertised, which reduces the number of BGP messages required to be sent by the routing advertisement and simplifies the configuration method of network equipment.

Benefits of technology

It effectively reduces the performance overhead of network equipment advertisement routing, improves routing advertisement efficiency, and simplifies the configuration process of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024073023_28112024_PF_FP_ABST
    Figure CN2024073023_28112024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the embodiments of the present application are an information processing method, which is applied to a first communication apparatus. The method comprises: acquiring a first BGP message, and sending the first BGP message to a second communication apparatus, wherein the first BGP message is used for notifying a first SD-WAN route, the first BGP message comprises an AFI, and the AFI indicates an SD-WAN address family. It can be seen therefrom that in the embodiments of the present application, the AFI can indicate the SD-WAN address family, such that when a route based on the SD-WAN address family is notified, it is no longer necessary to distinguish between an IPv4 SD-WAN address family and an IPv6 SD-WAN address family, thereby reducing the number of BGP messages required to be sent to notify the route based on the SD-WAN address family, such as the first SD-WAN route, and correspondingly reducing the performance overhead of the first communication apparatus notifying the route based on the SD-WAN address family.
Need to check novelty before this filing date? Find Prior Art

Description

Information processing method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 22, 2023, with application number 202310588453.X and invention name “A Method and Device for Information Processing”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communications, and in particular to an information processing method and device. Background Art

[0003] The Border Gateway Protocol (BGP) is a dynamic routing protocol used between autonomous systems (AS). The currently used version of BGP is BGP version 4, which can be abbreviated as BGP-4. Traditional BGP-4 can only manage Internet Protocol version 4 (IPv4) unicast routing information and does not support the management of routing information using other network layer protocols. For example, it does not support the management of multicast routing information, and it does not support the management of Internet Protocol version 6 (IPv6) routing information. In order to provide support for multiple network layer protocols, Multi-Protocol Extensions for BGP (MP-BGP) were formed based on BGP-4.

[0004] Currently, network devices can use MP-BGP to advertise routes corresponding to multiple address families. For example, MP-BGP can be used to advertise routes based on the IPv4 address family, and another example is MP-BGP can be used to advertise routes based on the IPv6 address family.

[0005] However, the current network equipment uses MP-BGP to announce routes, which has a high performance overhead.

[0006] Therefore, a solution is urgently needed to solve the above problems.

[0007] Summary of the Invention

[0008] The embodiments of the present application provide an information processing method and apparatus, which can reduce the performance overhead of network devices based on MP-BGP advertising routing.

[0009] In the first aspect, an embodiment of the present application provides an information processing method, which can be applied to a first communication device. The first communication device can obtain a first BGP message, and the first BGP message is used to announce a first SD-WAN route. The first BGP message includes an address family identifier (AFI) and a subsequent address family identifier (SAFI), and the AFI indicates the SD-WAN address family. After the first communication device obtains the first BGP message, it can send the first BGP message to the second communication device. It can be seen that in an embodiment of the present application, the AFI can indicate the SD-WAN address family. In this way, the route based on the SD-WAN address family can be directly announced without distinguishing between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family, thereby reducing the number of BGP messages required to be sent for route announcement, and correspondingly reducing the performance overhead of the first communication device in announcing the route.

[0010] Among them: the IPv4 SD-WAN address family mentioned in the embodiments of this application can be understood as the IPv4 address family combined with the SD-WAN sub-address family; the IPv6 SD-WAN address family mentioned in the embodiments of this application can be understood as the IPv6 address family combined with the SD-WAN sub-address family.

[0011] In one possible implementation, the SAFI indicates the SD-WAN sub-address family. In this case, there is no need to modify the SAFI, so that this solution can be well compatible with the current BGP message method based on MP-BGP advertising routes.

[0012] In one possible implementation, the first BGP message includes first network layer reachability information (NLRI), the first NLRI includes at least one type length value (TLV), and the first TLV may be one of the at least one TLV. In one example, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

[0013] In one possible implementation, the at least one TLV may further include a second TLV, wherein the type field of the second TLV indicates the type of the second SD-WAN route. The type of the second SD-WAN route is different from the type of the first SD-WAN route. In this case, the first BGP message can be used to announce the second SD-WAN route in addition to the first SD-WAN route. Accordingly, the first BGP message may also include routing information of the second SD-WAN route. In this case, using this solution, two different types of routes can be announced through one BGP message (the first BGP message).

[0014] In one possible implementation, the first communication device may further obtain a second BGP message, the second BGP message including the AFI, the second BGP message being used to announce a third SD-WAN route, the second BGP message including a second NLRI, the second NLRI including a third TLV, the third TLV being used to carry routing information for the third SD-WAN route, the type field of the third TLV indicating the type of the third SD-WAN route, the type of the first SD-WAN route being different from the type of the third SD-WAN route. After obtaining the second BGP message, the first communication device may send the second BGP message to the second communication device. In this case, using this solution, the first communication device may announce different types of SD-WAN routes to the second communication device via different BGP messages.

[0015] In one possible implementation, the first SD-WAN route may be one of an SD-WAN virtual private network (VPN) route, an SD-WAN service route, an SD-WAN application (APP) route, an SD-WAN security route, and an SD-WAN WAN tunnel state route. The SD-WAN VPN route is a route related to a VPN, the SD-WAN service route is a route related to a service, the SD-WAN APP route is a route related to an APP, the SD-WAN security route is a route indicating a security feature, and the SD-WAN WAN tunnel state route is a route indicating the state of an SD-WAN tunnel.

[0016] In one possible implementation, if the first SD-WAN route is an SD-WAN service route, the routing information of the first SD-WAN route may include service information of the service and information about the device deploying the service. For example, if the device deploying the service includes the first device, the first communication device may notify the service information of the service and information about the first device deploying the service to other communication devices via a first BGP message.

[0017] In a possible implementation, the service information of a service may be information related to the service. In one example, the service information of the service may include a service type of the service and / or a service identifier of the service.

[0018] In one possible implementation, if the service is associated with a service instance on the first device, the routing information of the first SD-WAN route may further include first instance information, or in other words, the information of the first device may further include the first instance information. The first instance information is used to indicate the service instance to which the service belongs.

[0019] In one possible implementation, if the first SD-WAN route is an SD-WAN APP route, the routing information of the SD-WAN APP route includes APP attribute information and information about the device accessing the APP. For example, if the device accessing the APP includes a second device, the first communication device can notify the other communication devices of the APP attribute information and information about the second device accessing the APP via a first BGP message.

[0020] In one possible implementation, the attribute information of the APP includes one or more of the following: an Internet Protocol IP address of the APP, a uniform resource identifier (URI) of the APP, and a quality parameter for accessing the APP through the first communication device.

[0021] In one possible implementation, if the APP is associated with a service instance on the second device, for example, the second device accesses the APP through the second service instance on the second device, then the routing information of the first SD-WAN route may further include the second instance information, or in other words, the information of the second device may further include the second instance information. The second instance information is used to indicate access to the service instance to which the APP belongs.

[0022] In one possible implementation, if the first SD-WAN route is a secure SD-WAN route, the routing information of the first SD-WAN route may be used to indicate the security features of the first SD-WAN route. The security features of the first SD-WAN route may reflect the security of the first SD-WAN route. In this case, the first communication device may notify other communication devices of the first SD-WAN route and its security features via a first BGP message.

[0023] In one possible implementation, the security features of the first SD-WAN route may include the security level of the first SD-WAN route. In this case, the routing information of the first SD-WAN route may include the security level of the first SD-WAN route. In another example, the security features of the first SD-WAN route may include at least one security verification result of the first SD-WAN route. In this case, the routing information of the first SD-WAN route may include at least one security verification result of the first SD-WAN route. The at least one security verification result.

[0024] In one possible implementation, if the first SD-WAN route is an SD-WAN WAN tunnel state route, the routing information of the first SD-WAN route may be used to indicate the state of the WAN tunnel. As a specific example, the routing information of the first SD-WAN route may be used to indicate the state of the first WAN tunnel. In this case, the routing information of the first SD-WAN route may include the state information of the first WAN tunnel. The first communication device may notify other communication devices of the state information of the first WAN tunnel via a first BGP message.

[0025] In one possible implementation, the status information of the first WAN tunnel may be one or more types of information that can reflect the status of the first WAN tunnel. In one example, the status information of the first WAN tunnel may include connectivity information of the first WAN tunnel, where the connectivity information of the first WAN tunnel may, for example, include information indicating that the connectivity of the first WAN tunnel is normal, or information indicating that the connectivity of the first WAN tunnel is abnormal. In another example, the status information of the first WAN tunnel may include quality parameters of the first WAN tunnel, where the quality parameters of the first WAN tunnel may be understood as quality of service parameters that the first WAN tunnel can provide for the service when used to transmit the service.

[0026] In one possible implementation, before the first communication device sends a first BGP message to the second communication device, the first communication device and the second communication device may negotiate SD-WAN address family capabilities. The SD-WAN address family capabilities mentioned herein can be understood as the ability to use the AFI to indicate the SD-WAN address family. In a specific example, the first communication device may send first capability indication information to the second communication device, where the first capability indication information indicates that the first communication device supports the aforementioned AFI and SAFI. The first communication device's support for AFI means that the first communication device supports using the AFI in a BGP message to indicate the SD-WAN address family. The first communication device's support for SAFI may, for example, indicate that the first communication device supports using the SAFI to support the SD-WAN sub-address family. Accordingly, the second communication device may also send second capability indication information to the first communication device, where the second capability indication information indicates that the second communication device supports the AFI and SAFI. The second communication device's support for AFI means that the second communication device supports using the AFI in a BGP message to indicate the SD-WAN address family. The second communication device's support for SAFI may, for example, indicate that the second communication device supports using the SAFI to support the SD-WAN sub-address family.

[0027] On the second aspect, an embodiment of the present application provides an information processing method, which can be applied to a second communication device, and the second communication device can receive a first BGP message sent by the first communication device, wherein the first BGP message includes an AFI and a SAFI, and the AFI indicates the SD-WAN address family, and the first BGP message is used to announce the first SD-WAN route. After the second communication device receives the first BGP message, it can obtain the routing information of the first SD-WAN route. It can be seen that in this embodiment of the present application, the AFI can indicate the SD-WAN address family, so that the route based on the SD-WAN address family can be directly announced without distinguishing between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family, thereby reducing the number of BGP messages required to send to announce the route, and accordingly, reducing the performance overhead of the first communication device in announcing the route, and also reducing the performance overhead of the second communication device in obtaining the routing information.

[0028] In one possible implementation, the SAFI indicates an SD-WAN sub-address family.

[0029] In one possible implementation, the first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

[0030] In one possible implementation, the first BGP message is also used to announce a second SD-WAN route, the first NLRI includes a second TLV, the second TLV is used to carry routing information of the second SD-WAN route, the type field of the second TLV indicates the type of the second SD-WAN route, and the type of the first SD-WAN route is different from the type of the second SD-WAN route.

[0031] In one possible implementation, the method further includes: receiving a second BGP message sent by the first communication device, the second BGP message including the AFI, the second BGP message being used to announce a third SD-WAN route, the second BGP message including a second NLRI, the second NLRI including a third TLV, the third TLV being used to carry routing information of the third SD-WAN route, the type field of the third TLV indicating the type of the third SD-WAN route, the type of the first SD-WAN route and the type of the third SD-WAN route being different; and obtaining routing information of the third SD-WAN route.

[0032] In one possible implementation, the first SD-WAN route includes one of the following: SD-WAN virtual private network VPN route, SD-WAN service route, SD-WAN application APP route, SD-WAN security route or SD-WAN WAN tunnel state route.

[0033] In one possible implementation, the first SD-WAN route is an SD-WAN service route, and the routing information of the SD-WAN service route includes service information of the service and information of a device on which the service is deployed.

[0034] In a possible implementation, the service information includes the type corresponding to the service and / or the service identifier of the service.

[0035] In one possible implementation, the routing information of the SD-WAN service routing also includes first instance information, where the first instance information indicates the service instance to which the service belongs.

[0036] In one possible implementation, when the first SD-WAN route is an SD-WAN service route, the second communication device may further store the routing information of the first SD-WAN route after obtaining the routing information of the first SD-WAN route. For example, the second communication device may store the routing information of the first SD-WAN route in the routing table item corresponding to the service, so that when the service traffic corresponding to the service is subsequently processed, the routing information of the first SD-WAN route may be found from the routing table item corresponding to the service, thereby processing the service traffic corresponding to the service based on the routing information of the first SD-WAN route, thereby realizing processing of the service traffic based on the processing logic corresponding to the service.

[0037] In one possible implementation, the first SD-WAN route is an SD-WAN APP route, and the routing information of the SD-WAN APP route includes attribute information of the APP and information of a device accessing the APP.

[0038] In a possible implementation, the attribute information of the APP includes one or more of the following: an Internet Protocol (IP) address of the APP, a Uniform Resource Identifier (URI) of the APP, and a first quality parameter for accessing the APP through the first communication device.

[0039] In a possible implementation, the routing information of the SD-WAN APP routing also includes second instance information, where the second instance information indicates the service instance to which the APP belongs.

[0040] In one possible implementation, the routing information of the first SD-WAN route includes a first quality parameter, where the first quality parameter is a quality parameter for accessing the APP through the first communication device. In this case, the second communication device can determine the specific method for accessing the APP through the first quality parameter. In a specific example, the second communication device can detect the second quality parameter for accessing the APP through itself, and determine the specific method for accessing the APP based on the first quality parameter and the second quality parameter.

[0041] In one possible implementation, if the first quality parameter is better than the second quality parameter, it means that better service quality can be obtained by accessing the APP through the first communication device, and the second communication device can determine to access the APP in the aforementioned second way. In one possible implementation, if the first quality parameter is worse than the second quality parameter, it means that better service quality can be obtained by accessing the APP directly through the second communication device, and the second communication device can determine to access the APP in the aforementioned first way. It can be seen that, using this solution, the second communication device can combine the first quality parameter and the second quality parameter to determine the specific method of accessing the APP, so as to obtain better service quality as much as possible.

[0042] In one possible implementation, the first SD-WAN route is an SD-WAN security route, and the routing information of the SD-WAN security route indicates the security features of the first SD-WAN route.

[0043] In one possible implementation, the security features of the SD-WAN secure route include the security level of the first SD-WAN route and / or at least one security verification result of the first SD-WAN route.

[0044] In one possible implementation, when the first SD-WAN route is a SD-WAN security route, the second communication device can also receive a fourth SD-WAN route sent by the third communication device. The fourth SD-WAN route is also a SD-WAN security route, and the routing information of the fourth SD-WAN route indicates the security features of the fourth SD-WAN route. The first SD-WAN route and the fourth SD-WAN route correspond to the same routing prefix. Precisely because the first SD-WAN route and the fourth SD-WAN route correspond to the same routing prefix, when the destination address of the business traffic matches the routing prefix, the second communication device can use the first SD-WAN route to forward the business traffic, or use the second SD-WAN route to forward the business traffic. In this case, in order to ensure the security of the transmission of business traffic in the network, in an embodiment of the present application, a more secure route can be selected to transmit business traffic. In a specific example, the second communication device can store the more secure route of the first SD-WAN route and the fourth SD-WAN route in the routing table.

[0045] In one possible implementation, the first SD-WAN route is SD-WAN WAN tunnel state route, and the routing information of the SD-WAN WAN tunnel state route includes the state information of the first WAN tunnel.

[0046] In a possible implementation, the state information of the first WAN tunnel includes: connectivity information of the first WAN tunnel, and / or quality parameters of the first WAN tunnel.

[0047] In one possible implementation, when the first SD-WAN route is an SD-WAN WAN tunnel state route, after obtaining the routing information of the first SD-WAN route, the second communication device may also select, based on the routing information of the first SD-WAN route, a WAN tunnel that actually transmits business data from multiple WAN tunnels that can reach the same destination communication device, thereby meeting business needs. In a specific example, the second communication device may also receive routing information of a fifth SD-WAN route sent by a fourth communication device. The routing information of the fifth SD-WAN route may include state information of the second WAN tunnel. Both the first WAN tunnel and the second WAN tunnel are WAN tunnels on the path from the second communication device to the destination communication device. In this case: after the second communication device obtains the routing information of the fifth SD-WAN route and the routing information of the first SD-WAN route, it may determine, based on the routing information of the first SD-WAN route and the routing information of the fifth SD-WAN route, the WAN tunnel that actually transmits business data from the first WAN tunnel and the second WAN tunnel. For example, the first WAN tunnel may be determined as the WAN tunnel that actually transmits business data.

[0048] In a possible implementation manner, the method further includes: receiving first capability indication information sent by the first communication apparatus, where the first capability indication information indicates that the first communication apparatus supports the AFI and the SAFI.

[0049] In a possible implementation manner, the method further includes: sending second capability indication information to the first communication device, where the second capability indication information indicates that the second communication device supports the AFI and the SAFI.

[0050] In a third aspect, an embodiment of the present application provides a first communication device, which may include a transceiver unit and a processing unit; the transceiver unit is used to perform the receiving and / or sending operations performed by the first communication device as described in the first aspect above; the processing unit is used to perform operations other than the receiving and / or sending operations performed by the first communication device as described in the first aspect above.

[0051] In a specific example, the first communication device includes: a processing unit for obtaining a first Border Gateway Protocol BGP message, the first BGP message including an address family identifier AFI and a sub-address family identifier SAFI, the AFI indicating a software-defined wide area network SD-WAN address family, and the first BGP message being used to announce a first SD-WAN route; and a sending unit for sending the first BGP message to the second communication device.

[0052] In one possible implementation, the SAFI indicates an SD-WAN sub-address family.

[0053] In one possible implementation, the first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

[0054] In one possible implementation, the first BGP message is also used to announce a second SD-WAN route, the first NLRI includes a second TLV, the second TLV is used to carry routing information of the second SD-WAN route, the type field of the second TLV indicates the type of the second SD-WAN route, and the type of the first SD-WAN route is different from the type of the second SD-WAN route.

[0055] In one possible implementation, the processing unit is further used to obtain a second BGP message, the second BGP message includes the AFI, the second BGP message is used to announce a third SD-WAN route, the second BGP message includes a second NLRI, the second NLRI includes a third TLV, the third TLV is used to carry routing information of the third SD-WAN route, the type field of the third TLV indicates the type of the third SD-WAN route, and the type of the first SD-WAN route is different from the type of the third SD-WAN route; the sending unit is further used to send the second BGP message to the second communication device.

[0056] In one possible implementation, the first SD-WAN route includes one of the following: SD-WAN virtual private network VPN route, SD-WAN service route, SD-WAN application APP route, SD-WAN security route or SD-WAN WAN tunnel state route.

[0057] In one possible implementation, the first SD-WAN route is an SD-WAN service route, and the routing information of the SD-WAN service route includes service information of the service and information of a device on which the service is deployed.

[0058] In a possible implementation manner, the service information includes the type of the service and / or the service identifier of the service.

[0059] In one possible implementation, the routing information of the SD-WAN service routing also includes first instance information, where the first instance information indicates the service instance to which the service belongs.

[0060] In one possible implementation, the first SD-WAN route is an SD-WAN APP route, and the routing information of the SD-WAN APP route includes attribute information of the APP and information of a device accessing the APP.

[0061] In a possible implementation, the attribute information of the APP includes one or more of the following: an Internet Protocol (IP) address of the APP, a Uniform Resource Identifier (URI) of the APP, and a quality parameter for accessing the APP through the first communication device.

[0062] In a possible implementation, the routing information of the SD-WAN APP routing also includes second instance information, where the second instance information indicates a service instance for accessing the APP.

[0063] In one possible implementation, the first SD-WAN route is an SD-WAN security route, and the routing information of the SD-WAN security route indicates the security features of the first SD-WAN route.

[0064] In one possible implementation, the security feature of the first SD-WAN route includes a security level of the first SD-WAN route and / or at least one security verification result of the first SD-WAN route.

[0065] In one possible implementation, the first SD-WAN route is SD-WAN WAN tunnel state route, and the routing information of the SD-WAN WAN tunnel state route includes the state information of the WAN tunnel.

[0066] In a possible implementation, the status information of the WAN tunnel includes: connectivity information of the WAN tunnel, and / or quality parameters of the WAN tunnel.

[0067] In a possible implementation manner, the sending unit is further configured to: send first capability indication information to the second communication apparatus, where the first capability indication information indicates that the first communication apparatus supports the AFI and the SAFI.

[0068] In a possible implementation manner, the apparatus further includes: a receiving unit, configured to receive second capability indication information sent by the second communication apparatus, where the second capability indication information indicates that the second communication apparatus supports the AFI and the SAFI.

[0069] In a fourth aspect, an embodiment of the present application provides a second communication device, which may include a transceiver unit and a processing unit; the transceiver unit is used to perform the receiving and / or sending operations performed by the second communication device as described in the second aspect above; the processing unit is used to perform operations other than the receiving and / or sending operations performed by the second communication device as described in the second aspect above.

[0070] In a specific example, the second communication device includes: a receiving unit for receiving a first Border Gateway Protocol BGP message sent by the first communication device, the first BGP message including an address family identifier AFI and a sub-address family identifier SAFI, the AFI indicating a software-defined wide area network SD-WAN address family, and the first BGP message being used to announce a first SD-WAN route; and a processing unit for obtaining routing information of the first SD-WAN route.

[0071] In one possible implementation, the SAFI indicates an SD-WAN sub-address family.

[0072] In one possible implementation, the first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

[0073] In one possible implementation, the first BGP message is also used to announce a second SD-WAN route, the first NLRI includes a second TLV, the second TLV is used to carry routing information of the second SD-WAN route, the type field of the second TLV indicates the type of the second SD-WAN route, and the type of the first SD-WAN route is different from the type of the second SD-WAN route.

[0074] In one possible implementation, the receiving unit is further used to receive a second BGP message sent by the first communication device, the second BGP message includes the AFI, the second BGP message is used to announce a third SD-WAN route, the second BGP message includes a second NLRI, the second NLRI includes a third TLV, the third TLV is used to carry routing information of the third SD-WAN route, the type field of the third TLV indicates the type of the third SD-WAN route, and the type of the first SD-WAN route is different from the type of the third SD-WAN route; the processing unit is further used to obtain routing information of the third SD-WAN route.

[0075] In one possible implementation, the first SD-WAN routing type includes one of the following: SD-WAN virtual private network VPN routing, SD-WAN service routing, SD-WAN application APP routing, SD-WAN security routing or SD-WAN WAN tunnel state routing.

[0076] In one possible implementation, the first SD-WAN route is an SD-WAN service route, and the routing information of the SD-WAN service route includes service information of the service and information of a device on which the service is deployed.

[0077] In a possible implementation, the service information includes the type corresponding to the service and / or the service identifier of the service.

[0078] In one possible implementation, the routing information of the SD-WAN service routing also includes first instance information, where the first instance information indicates the service instance to which the service belongs.

[0079] In a possible implementation, the processing unit is further used to: store routing information of the SD-WAN service routing.

[0080] In one possible implementation, the first SD-WAN route is an SD-WAN APP route, and the routing information of the SD-WAN APP route includes attribute information of the APP and information of a device accessing the APP.

[0081] In a possible implementation, the attribute information of the APP includes one or more of the following: an Internet Protocol (IP) address of the APP, a Uniform Resource Identifier (URI) of the APP, and a first quality parameter for accessing the APP through the first communication device.

[0082] In a possible implementation, the routing information of the SD-WAN APP routing also includes second instance information, where the second instance information indicates the service instance to which the APP belongs.

[0083] In a possible implementation, the processing unit is further used to: determine, based on routing information of the SD-WAN APP routing, to access the APP through the first communication device.

[0084] In one possible implementation, the processing unit is configured to determine accessing the APP through the first communication device when a first quality parameter included in the routing information of the SD-WAN APP routing is better than a second quality parameter of directly accessing the APP through the second communication device.

[0085] In a possible implementation, the processing unit is further used to determine direct access to the APP based on routing information of the SD-WAN APP routing.

[0086] In one possible implementation, the processing unit is configured to determine to directly access the APP when a first quality parameter included in the routing information of the SD-WAN APP routing is inferior to a second quality parameter of directly accessing the APP through the second communication device.

[0087] In one possible implementation, the first SD-WAN route is an SD-WAN security route, and the routing information of the SD-WAN security route indicates the security features of the first SD-WAN route.

[0088] In one possible implementation, the security feature of the first SD-WAN route includes a security level of the first SD-WAN route and / or at least one security verification result of the first SD-WAN route.

[0089] In one possible implementation, the receiving unit is further used to receive a fourth SD-WAN route sent by a third communication device, where the fourth SD-WAN route is a SD-WAN security route, and the routing information of the fourth SD-WAN route indicates the security features of the fourth SD-WAN route. The first SD-WAN route and the fourth SD-WAN route correspond to the same routing prefix; the processing unit is further used to store the route with higher security between the first SD-WAN route and the fourth SD-WAN route in a routing table.

[0090] In one possible implementation, the first SD-WAN route is SD-WAN WAN tunnel state route, and the routing information of the SD-WAN WAN tunnel state route includes the state information of the first WAN tunnel.

[0091] In a possible implementation, the state information of the first WAN tunnel includes: connectivity information of the first WAN tunnel, and / or quality parameters of the first WAN tunnel.

[0092] In one possible implementation, the receiving unit is further used to receive a fifth SD-WAN route sent by a fourth communication device, where the fifth SD-WAN route is an SD-WAN WAN tunnel state route, and the routing information of the fifth SD-WAN route includes the state information of the second WAN tunnel, wherein the first WAN tunnel and the second WAN tunnel are both WAN tunnels on the path from the second communication device to the target communication device; the processing unit is further used to determine the transmission of business data through the first WAN tunnel based on the routing information of the first SD-WAN route and the routing information of the fifth SD-WAN route.

[0093] In a possible implementation manner, the receiving unit is further configured to: receive first capability indication information sent by the first communication apparatus, where the first capability indication information indicates that the first communication apparatus supports the AFI and the SAFI.

[0094] In a possible implementation manner, the apparatus further includes: a sending unit, configured to send second capability indication information to the first communication apparatus, where the second capability indication information indicates that the second communication apparatus supports the AFI and the SAFI.

[0095] In a fifth aspect, an embodiment of the present application provides a communication device, characterized in that it includes: a processor and a memory;

[0096] The memory is used to store instructions; the processor is used to execute the instructions, so that the communication device executes the method described in the first aspect and any one of the first aspects above, or causes the communication device to execute the method described in the second aspect and any one of the second aspects above.

[0097] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions or a computer program. When the instructions or computer program are run on a processor, the method described in the first aspect and any one of the first aspects is implemented, or the method described in the second aspect and any one of the second aspects is implemented.

[0098] In the seventh aspect, an embodiment of the present application provides a computer program product, including a computer program product, which, when running on a processor, implements the method described in the first aspect and any one of the first aspects, or implements the method described in the second aspect and any one of the second aspects.

[0099] In an eighth aspect, an embodiment of the present application provides a communication system, which includes a first communication device for executing the method described in the first aspect and any one of the first aspects, and a second communication device for executing the method described in the second aspect and any one of the second aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0100] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0101] FIG1a is a schematic diagram of a network scenario of an SD-WAN provided in an embodiment of the present application;

[0102] FIG1b is a schematic diagram of another SD-WAN network scenario provided in an embodiment of the present application;

[0103] FIG2 is a schematic diagram of the structure of an MP_REACH_NLRI provided in an embodiment of the present application;

[0104] FIG3 is a signaling interaction diagram of an information processing method provided in an embodiment of the present application;

[0105] FIG4a is a schematic structural diagram of a first TLV provided in an embodiment of the present application;

[0106] FIG4 b is a schematic structural diagram of another first TLV provided in an embodiment of the present application;

[0107] FIG4c is a schematic structural diagram of another first TLV provided in an embodiment of the present application;

[0108] FIG4 d is a schematic structural diagram of another first TLV provided in an embodiment of the present application;

[0109] FIG4e is a schematic structural diagram of another first TLV provided in an embodiment of the present application;

[0110] FIG4f is a schematic structural diagram of another first TLV provided in an embodiment of the present application;

[0111] FIG4g is a schematic diagram of the structure of an optional parameter field provided in an embodiment of the present application;

[0112] FIG5 is a schematic structural diagram of a first communication device provided in an embodiment of the present application;

[0113] FIG6 is a schematic structural diagram of a second communication device provided in an embodiment of the present application;

[0114] FIG7 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0115] FIG8 is a schematic structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0116] The embodiments of the present application provide an information processing method and apparatus, which can reduce the performance overhead of network devices based on MP-BGP advertising routing.

[0117] For ease of understanding, the possible application scenarios of the embodiments of the present application are first introduced.

[0118] See Figure 1a, which is a schematic diagram of a network scenario of an SD-WAN provided in an embodiment of the present application.

[0119] As shown in Figure 1a, network device 201, network device 202, and network device 203 can communicate directly with each other, and network device 201, network device 202, and network device 203 can respectively communicate with route reflector (RR) 204 and controller 205. In one example, network device 201 may belong to network domain 100, and network device 202 may belong to network domain 200. Network device 201 establishes a BGP session with a network device in network domain 200 (e.g., network device 202) based on BGP peer IP 10.2.1.2.

[0120] In one example, the network device 201 may directly advertise the route to the network device 202, or the network device 201 may advertise the route to the network device 202 through the RR 204. The network device 201 may also directly advertise the route to the controller 205, where the controller 205 may be an SD-WAN controller.

[0121] In an example, the network device 201 , the network device 202 , and the network device 203 shown in FIG. 1 a may be, for example, customer-premises equipment (CPE).

[0122] Refer to Figure 1b, which is a schematic diagram of another SD-WAN network scenario provided by an embodiment of the present application. As shown in Figure 1b, for a certain network tenant, its data center 210 and its multiple spoke sites 220 can be interconnected through a Multi-Protocol Label Switching (MPLS) network and the Internet. CPE can be deployed in each branch site 220, and a hub device is deployed on the data center side. Both CPE and hub devices can communicate with RR (not all connection relationships are shown in Figure 1b), and CPE and RR can announce routes to each other, and hub devices and RR can also announce routes to each other.

[0123] Currently, in SD-WAN, when two network devices advertise routes through MP-BGP, they can advertise routes based on the IPv4 SD-WAN address family and the IPv6 SD-WAN address family respectively. Taking the example of network device 201 advertising routes to network device 202 shown in Figure 1a, network device 201 sends BGP message 1 and BGP message 2 to network device 202. BGP message 1 is used to advertise routes based on the IPv4 SD-WAN address family to network device 202, and BGP message 2 is used to advertise routes based on the IPv6 SD-WAN address family to network device 202. BGP message 1 includes MP_REACH_NLRI 1, and BGP message 2 includes MP_REACH_NLRI 2.

[0124] In one example, the structure of the MP_REACH_NLRI is shown in Figure 2, which is a schematic diagram of the structure of an MP_REACH_NLRI provided in an embodiment of the present application. As shown in Figure 2, the MP_REACH_NLRI includes an AFI field, a SAFI field, a next hop information length field, a next hop information field, and a network reachability information field.

[0125] As an example, the AFI field can identify the network layer protocol. For example, the value of the AFI field is 1 to identify IPv4, and the value of the AFI field is 2 to identify IPv6. The value of the AFI field can refer to the relevant description of the address family number in the request for comments (RFC) 1700, which is not described in detail here. The SAFI field identifies the type of the sub-address family. For example, the value of the SAFI field is 1 to identify unicast, the value of the SAFI field is 2 to identify multicast, the value of the SAFI field is 74 to identify SD-WAN, and the value of the SAFI field is 128 to identify a virtual private network (VPN).

[0126] In one example, the aforementioned next-hop network address may refer to the network address of the next device on the path to the destination device.

[0127] In one example, the NLRI field may include one or more NLRIs, each NLRI includes a length field and an NLRI value field, and the specific content of the NLRI value may be determined based on a combination of the AFI field and the SAFI field. For example:

[0128] When the AFI value is 1 and the SAFI value is 1, the NLRI information field of MP_REACH_NLRI carries IPv4 unicast routes;

[0129] When the AFI value is 1 and the SAFI value is 128, the VPNv4 routes carried in the NLRI information field of the MP_REACH_NLRI;

[0130] When the AFI value is 1 and the SAFI value is 4, the BGP labeled route carried in the NLRI information field of MP_REACH_NLRI;

[0131] When the AFI value is 1 and the SAFI value is 74, the NLRI information field of MP_REACH_NLRI carries the IPv4 SD-WAN address family information;

[0132] When the AFI value is 2 and the SAFI value is 74, the NLRI information field of MP_REACH_NLRI carries the IPv6 SD-WAN address family information.

[0133] The NLRI information field includes a route type field, a length field, and a type specific value field. The route type field is used to indicate the route type, the length field is the length of the type specific value field, and the type specific value field is used to carry the value associated with the type corresponding to the route type field. In one example, when the value of the type field is 1, the NLRI information field can be used to carry SD-WAN transport network port (TNP) routing information. The TNP routing information is not described in detail here.

[0134] In one example, the route type field in the NLRI information field may also be an NLRI type field. In a specific example, if the NLRI information field is used to carry one type of routing information, for example, the NLRI information field only carries the routing information of the first SD-WAN route mentioned below, then the NLRI information field may include an NLRI type field, and the NLRI type field may correspond to the type field of the first TLV; if the NLRI information field is used to carry multiple types of routing information, for example, the NLRI information field only carries the routing information of the first SD-WAN route and the routing information of the second SD-WAN route mentioned below, then the NLRI information field may include a route type field. The route type field corresponding to the first SD-WAN route may be the type field of the first TLV mentioned below, and the route type field corresponding to the second SD-WAN route may be the type field of the second TLV mentioned below.

[0135] In one example, the AFI field in the aforementioned MP_REACH_NLRI 1 is set to 1, and the SAFI field is set to 2. The NLRI information field in the MP_REACH_NLRI 1 can carry routing information 1, thereby announcing routing information 1 based on the IPv4 SD-WAN address family to the network device 202. The AFI field in the MP_REACH_NLRI 2 is set to 2, and the SAFI field is set to 74. The NLRI information field in the MP_REACH_NLRI 2 can carry routing information 1, thereby announcing routing information 1 based on the IPv6 SD-WAN address family to the network device 202. In this way, the network device 201 notifies the network device 202 of routing information based on the IPv4 SD-WAN address family and the IPv6 SD-WAN address family respectively through two BGP messages. In one example, before a network device advertises routes to be advertised based on the IPv4 SD-WAN address family and routes to be advertised based on the IPv6 SD-WAN address family based on MP-BGP, it is necessary to configure the network device to support route advertisement based on the IPv4 SD-WAN address family and to configure the network and device to support route advertisement based on the IPv6 SD-WAN address family. The configuration method is relatively complex. In one example, the network device 201 shown in FIG1a can be configured based on the following configuration commands:

[0136] In the above configuration commands, the content after the symbol “ / / ” is a comment.

[0137] As can be seen from the above description, when using MP-BGP to advertise routes, routes based on the IPv4 SD-WAN address family can be advertised, as can routes based on the IPv6 SD-WAN address family. When using MP-BGP to advertise routes based on the IPv4 SD-WAN address family and routes based on the IPv6 SD-WAN address family, network device performance overhead is high. This is because the routes to be advertised must be advertised based on both the IPv4 SD-WAN address family and the IPv6 SD-WAN address family. The network device must send a large number of BGP messages to advertise these routes, resulting in a high performance overhead for the network device.

[0138] Moreover, once the network device is expanded to support the advertisement of more types of routes, the configuration method of the network device in the SD-WAN scenario will also be more complicated. Assuming that the embodiment of the present application expands 5 types of routes, if the traditional configuration scheme is adopted, the following configuration commands can be used to configure the network device 201 shown in Figure 1a:

[0139] In the above configuration commands, the content after the symbol " / / " is a comment. Route type 2, route type 3, route type 4, route type 5 and route type 6 can be route types extended by the embodiments of the present application, such as the SD-WAN VPN routing, SD-WAN service routing, SD-WAN APP routing, SD-WAN security routing and SD-WAN WAN tunnel status routing mentioned below.

[0140] After research, the inventors of this application discovered that for some routes to be announced, it is not necessary to distinguish between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family. Therefore, an information processing method and device provided in an embodiment of this application redefines AFI, using AFI to indicate the SD-WAN address family and SAFI to indicate the SD-WAN sub-address family or SD-WAN application. In this way, when using MP_REACH_NLRI as shown in Figure 2 to announce the routes to be announced, the routes can be directly published based on the SD-WAN address family represented by AFI, without having to announce the routes to be announced based on the IPv4 SD-WAN and IPv6 SD-WAN address families respectively, thereby reducing the performance overhead of network device route announcements. Moreover, using this solution, it is sufficient to configure the network device to support route announcements based on the SD-WAN address family, simplifying the configuration method of the network device.

[0141] The routes to be announced mentioned in the embodiments of this application may include, for example, routes extended in the embodiments of this application, such as the SD-WAN VPN routes, SD-WAN service routes, SD-WAN APP routes, SD-WAN security routes, or SD-WAN WAN tunnel state routes mentioned later. To announce the above routes, this application extends the route type field in the NLRI. When the route type takes different values, they correspond to the newly extended routes.

[0142] Next, the information processing method provided by the embodiment of the present application is introduced in conjunction with Figure 3. Figure 3 is a signaling interaction diagram of an information processing method provided by the embodiment of the present application. The method 100 shown in Figure 3 may include the following S101-S104.

[0143] Before introducing method 100, it should be noted that the communication device mentioned in the embodiments of the present application can be a network device such as a switch, a router, or a controller, or a component on a network device, such as a single board or line card on the network device, or a functional module on the network device, or a chip for implementing the method of the present application, and the embodiments of the present application do not make specific limitations. The communication devices can be directly connected, for example, but not limited to, via an Ethernet cable or an optical cable. In a specific example, the communication device can correspond to the RR or CPE shown in Figure 1a or Figure 1b, or can correspond to the hub device shown in Figure 1b, or can correspond to the controller shown in Figure 1a.

[0144] In one example, the first communication device mentioned in method 100 may correspond to any network device shown in Figure 1a, and accordingly, the second communication device in method 100 may correspond to any network device shown in Figure 1a that is different from the first communication device, or the second communication device in method 100 may correspond to RR 104 or controller 105 shown in Figure 1a.

[0145] In another example, the first communication device mentioned in the method 100 may correspond to the RR 104 shown in FIG. 1 a , and accordingly, the second communication device in the method 100 may correspond to any network device shown in FIG. 1 a .

[0146] In another example, the first communication device mentioned in method 100 may correspond to the CPE or hub device shown in Figure 1b, and accordingly, the second communication device in method 100 may correspond to the RR shown in Figure 1b.

[0147] In another example, the first communication device mentioned in method 100 may correspond to the RR shown in FIG1b , and accordingly, the second communication device in method 100 may correspond to the CPE or hub device shown in FIG1b .

[0148] S101: A first communication device obtains a first BGP message, where the first BGP message includes an AFI and a SAFI, where the AFI indicates an SD-WAN address family, and the first BGP message is used to announce a first SD-WAN route.

[0149] In one example, when the first communication device obtains the first BGP message, in a specific implementation, the first communication device may generate the first BGP message. For example, when the first communication device corresponds to any network device shown in Figure 1a, the first communication device may generate the first BGP message.

[0150] In another example, when the first communication device obtains the first BGP message, in a specific implementation, the first communication device may receive the first BGP message from other communication devices. For example, when the first communication device corresponds to RR 104 shown in Figure 1a, the first communication device may receive the first BGP message from other communication devices.

[0151] In an embodiment of the present application, the first BGP message is used to announce the first SD-WAN route, and the first BGP message may include routing information of the first SD-WAN route.

[0152] In one example, the first BGP message may include an address family information field, and the address family information field includes an AFI field. In an embodiment of the present application, unlike conventional technologies, the AFI field no longer indicates a network layer protocol, but indicates an SD-WAN address family. In this way, for a first SD-WAN route that does not need to distinguish between an IPv4 SD-WAN address family and an IPv6 SD-WAN address family, the first SD-WAN route can be announced using a first BGP message, without having to announce the first SD-WAN route based on the IPv4 SD-WAN address family and the IPv6 SD-WAN address family respectively, thereby reducing the number of BGP messages that the first communication device needs to send to announce the first SD-WAN route, and correspondingly, also reducing the performance overhead of the first communication device announcing the first SD-WAN route.

[0153] In an embodiment of the present application, the first SD-WAN route may be a route that can be announced based on the SD-WAN address family and does not need to distinguish between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family.

[0154] In one example, the first SD-WAN route may be one of an SD-WAN VPN route, an SD-WAN service route, an SD-WAN APP route, an SD-WAN security route, and an SD-WAN WAN tunnel state route. The SD-WAN VPN route is a route related to VPN, the SD-WAN VPN route may include one or more of an SD-WAN IPv4 Layer 3 VPN (L3VPN) route, an SD-WAN IPv6 L3VPN route, and an SD-WAN Ethernet VPN (EVPN) IP prefix route, the SD-WAN service route is a route related to service, the SD-WAN APP route is a route related to APP, the SD-WAN security route is a route indicating security features, and the SD-WAN WAN tunnel state route is a route indicating the status of the SD-WAN tunnel.

[0155] In one example, the SAFI field of the Address Family Information field of the first BGP message can indicate the SD-WAN sub-address family. In this case, there is no need to modify the SAFI, making this solution more compatible with the current BGP message method based on MP-BGP route announcement. In one example, the value of the SAFI field can continue to be 74.

[0156] In another example, the SAFI field may also indicate an SD-WAN application. In a specific example, the SAFI may indicate a service type, such as a virtual private lan service (VPLS) service, or a VPN service, wherein the service type of the VPN service may include: IPv4 L3VPN, IPv6 L3VPN, or Ethernet EVPN IP prefix. For example, when the value of the SAFI is 1, it indicates IPv4 L3VPN, when the value of the SAFI is 2, it indicates IPv6 L3VPN, and when the value of the SAFI is 3, it indicates an EVPN IP prefix. In another specific example, the SAFI field may also indicate a routing type, and the routing types mentioned here include but are not limited to unicast routing, multicast routing, or label routing. For example, when the value of the SAFI is 4, it indicates unicast routing, when the value of the SAFI is 5, it indicates multicast routing, and when the value of the SAFI is 6, it indicates label routing. In one example, the first BGP message includes a first NLRI, and the first NLRI may include at least one TLV. In one example, the at least one TLV may include a first TLV, and the type field of the first TLV indicates the routing type of the first SD-WAN route. In one example, the routing information of the first SD-WAN route may be carried only through the value field of the first TLV. In another example, the routing information of the first SD-WAN route may also be carried by both the first path attribute of the first BGP message and the value field of the first TLV. For example, part of the routing information of the first SD-WAN route is carried by the value field of the first TLV, and another part of the routing information of the first SD-WAN route is carried by the first path attribute.

[0157] Next, the routing information of the first SD-WAN route is introduced in combination with the routing type of the first SD-WAN route.

[0158] In one example, the first SD-WAN route is an SD-WAN service route. The routing information of the first SD-WAN route may include service information of the service and information about the device deploying the service. For example, if the device deploying the service includes the first device, the first communication device may notify the service information of the service and information about the first device deploying the service to other communication devices via a first BGP message.

[0159] The information of the first device may be information related to the first device. In one example, the information of the first device may include an identifier of the first device and an identifier of a site to which the first device belongs.

[0160] In one example, if the service is associated with a service instance on the first device, the routing information of the first SD-WAN route may further include first instance information, or in other words, the information of the first device may further include the first instance information. The first instance information is used to indicate the service instance to which the service belongs. The service instance mentioned in the embodiment of the present application may be a VPN instance or a tenant instance, which is not specifically limited in the embodiment of the present application. In a specific example, the first instance information may include a first route distinguisher (RD), and the first route distinguisher indicates that the service belongs to the first service instance. In this case, the routing information of the first SD-WAN route may indicate that the first service instance of the first device is deployed with the service. In another specific example, the first instance information may include a first route distinguisher and first group information, and the first route distinguisher indicates that the service belongs to the first service instance, and the first group information indicates the first group within the first service instance. In this case, the routing information of the first SD-WAN route may indicate that the first group of the first service instance of the first device is deployed with the service.

[0161] The business information of a business may be information related to the business, and the embodiments of the present application do not specifically limit the business information of the business. In one example, the business information of the business may include the business type of the business. In another example, the business information of the business may also include the business identifier of the business. In another example, the business information of the business may include both the business type and the business identifier.

[0162] In the embodiments of the present application, the service type can be determined based on the actual service deployment situation and is not specifically limited in the embodiments of the present application. For example, the service type can be any one of a firewall, a load balancer, a deep packet inspection engine, a WAN accelerator, an application accelerator, a Transmission Control Protocol (TCP) optimizer, a network address translator, and a lawful intercept.

[0163] When the first SD-WAN route is an SD-WAN service route, if the routing information of the first SD-WAN route is carried only by the first TLV, the structure of the first TLV may be as shown in FIG4a, which is a schematic diagram of the structure of a first TLV provided in an embodiment of the present application. As shown in FIG4a, the first TLV includes a route type field, a length field, a site identifier (site-ID) field, a node identifier (node-ID) field, a route distinguisher field, a group identifier (group ID) field, a service type (service type) field, and a service identifier (service ID) field. Wherein:

[0164] The route type field is used to carry the type of the first SD-WAN route. In one example, the value of the route type field corresponding to the SD-WAN service route is 2.

[0165] The site identification field is used to carry the ID of the site to which the first device belongs;

[0166] The node ID field is used to carry the ID of the first device;

[0167] The routing distinguisher field is used to indicate the first service instance;

[0168] The group identification field is used to indicate the first group of the first service instance;

[0169] The business type field is used to indicate the business type of the business;

[0170] The service identification field is used to indicate the identification of the service. The identification of the service can be, for example, the segment identifier (SID) corresponding to the service. The SID mentioned here can be an MPLS label or an Internet Protocol Version 6 Segment Routing Internet Protocol Version 6 (SRv6) SID.

[0171] When the routing information of the first SD-WAN route is carried jointly by the first TLV and the first path attribute in the first BGP message, the aforementioned service type field and service identification field can be carried by the first path attribute.

[0172] In one example, if the first SD-WAN route is an SD-WAN APP route, the routing information of the first SD-WAN route may include APP attribute information and information about devices accessing the APP. For example, if the devices accessing the APP include a second device, the first communication device may notify the other communication devices of the APP attribute information and information about the second device accessing the APP via a first BGP message.

[0173] The attribute information of the APP can be used to indicate the attributes of the APP. In one example, the attribute information of the APP may include at least one attribute of the APP. The embodiment of the present application does not specifically limit the attribute information of the APP. As an example, the attribute information of the APP may include the IP address of the APP, the URI of the APP, and the quality parameters for accessing the APP through the first communication device. In one example, the quality parameters for accessing the APP through the first communication device may be detected by the first communication device in a certain manner. The quality parameters mentioned in the embodiments of the present application include but are not limited to parameters such as latency, jitter, packet loss rate, and bit error rate.

[0174] Regarding the information about the second device, please refer to the description of the information about the first device above, and no repeated description will be given here.

[0175] In one example, if the APP is associated with a business instance on the second device, for example, the second device accesses the APP through the second business instance on the second device, the routing information of the first SD-WAN route may also include the second instance information, or in other words, the information of the second device may also include the second instance information. The second instance information is used to indicate access to the business instance to which the APP belongs. In a specific example, the second instance information may include a second routing distinguisher, and the second routing distinguisher indicates the second business instance. For this case, the routing information of the first SD-WAN route may indicate that the second device accesses the APP through the second business instance. In another specific example, the second instance information may include a second routing distinguisher and second grouping information, and the second routing distinguisher indicates the second business instance, and the second grouping information indicates the second group within the second business instance. For this case, the routing information of the first SD-WAN route may indicate that the second device accesses the APP through the second group of the second business instance.

[0176] When the first SD-WAN route is an SD-WAN APP route, if the routing information of the first SD-WAN route is carried only by the first TLV, the structure of the first TLV may be as shown in FIG4b, which is a schematic diagram of the structure of another first TLV provided in an embodiment of the present application. As shown in FIG4b, the first TLV includes a route type field, a length field, a site identifier field, a node identifier field, a route distinguisher field, a group identifier field, an APP IP address length field, an APP IP address field, an APP URI length field, an APP URI field, and an APP quality parameter field. Among them:

[0177] The route type field is used to carry the type of the first SD-WAN route. In one example, the value of the route type field corresponding to the SD-WAN APP route is 3.

[0178] The site identification field is used to carry the ID of the site to which the second device belongs;

[0179] The node ID field is used to carry the ID of the second device;

[0180] The routing distinguisher field is used to indicate the second service instance;

[0181] The group identification field is used to indicate the second group of the second service instance;

[0182] The APP IP address length field indicates the length of the APP ID address field;

[0183] The APP IP address field is used to indicate the IP address of the APP;

[0184] The APP URI length field is used to indicate the length of the APP URI field;

[0185] The APP URI field is used to carry the URI of the APP;

[0186] The APP quality parameter field is used to indicate a quality parameter of accessing the APP through the first communication device. In an example, the APP quality parameter field may include at least one sub-TLV field. For example, one quality parameter is carried by one sub-TLV field.

[0187] When the routing information of the first SD-WAN route is carried jointly by the first TLV and the first path attribute in the first BGP message, the aforementioned APP IP address length field, APP IP address field, APP URI length field, APP URI field and APP quality parameter field can be carried by the first path attribute.

[0188] In one example, if the first SD-WAN route is a secure SD-WAN route, the routing information of the first SD-WAN route may be used to indicate the security features of the first SD-WAN route. The security features of the first SD-WAN route may reflect the security of the first SD-WAN route. The first communication device may notify other communication devices of the first SD-WAN route and the security features of the first SD-WAN route via a first BGP message.

[0189] When the type of the first route is SD-WAN secure routing, in one example, the routing information of the first SD-WAN route may include at least one information that can indicate the security of the first SD-WAN route, or in other words, the routing information of the first SD-WAN route may include information that can indicate at least one security feature.

[0190] In one example, the security features of the first SD-WAN route may include the security level of the first SD-WAN route. In this case, the routing information of the first SD-WAN route may include the security level of the first SD-WAN route. The security level of the first SD-WAN route may be obtained after the first communication device performs a security verification on the first SD-WAN route after learning the first SD-WAN route from the external network. In a specific example, the first communication device may use at least one verification method to perform a security verification on the first SD-WAN route, and determine the security level of the first SD-WAN route based on the result of the security verification. In an example, the higher the security level of the first SD-WAN route, the higher the security of the first SD-WAN route.

[0191] The embodiments of the present application do not specifically limit the specific implementation method of the first communication device performing security verification on the first SD-WAN route. In an example, the first communication device can use one or more verification methods such as Internet routing registry database (IRRDB) verification, resource public key infrastructure (RPKI) route origin verification (ROA), RPKI autonomous system service provider verification (ASPA), route leak detection (RLD), etc. to perform security verification on the first SD-WAN route.

[0192] When the first route is a SD-WAN secure route, in another example, the security feature of the first SD-WAN route may include at least one security verification result of the first SD-WAN route. In this case, the routing information of the first SD-WAN route may include at least one security verification result of the first SD-WAN route. The at least one security verification result may, for example, include one or more of the following: an IRRDB verification result of the first SD-WAN route, an RPKI ROA result of the first SD-WAN route, an RPKI ASPA result of the first SD-WAN route, and an RLD result of the first SD-WAN route.

[0193] The specific implementation of IRRDB verification, RPKI ROA, RPKI ASPA, and RLD is not described in detail in the embodiments of this application. The embodiments of this application also do not describe in detail the IRRDB verification results, RPKI ROA results, RPKI ASPA results, and RLD results. In one example, for the RPKI ROA and RPKI ROA results, reference can be made to the relevant description section of RFC6811, for RPKI ASPA and RPKI ASPA results, reference can be made to the relevant description section of RFC 6482, and for RLD and RLD results, reference can be made to the relevant description section of RFC7908.

[0194] In addition, when the first SD-WAN route is a secure SD-WAN route, the routing information of the first SD-WAN route may further include information of a third device in an external network, wherein the first communication device learns the first SD-WAN route through the third device in the external network. For information about the third device, please refer to the description of the information about the first device above, and will not be repeated here.

[0195] When the first SD-WAN route is an SD-WAN secure route, if the routing information of the first SD-WAN route is carried only by the first TLV, the structure of the first TLV may be as shown in Figure 4c, which is a schematic diagram of the structure of another first TLV provided in an embodiment of the present application. As shown in Figure 4c, the first TLV includes a route type field, a length field, a site identifier field, a node identifier field, a route distinguisher field, a group identifier field, a prefix length field, a prefix field, a security level field, an IRRDB check field, an IRRDB result field, an RPKI ROV check field, an RPKI ROV result field, an RPKI ASPA check field, an RPKI ASPA result field, an RLD check field, and an RLD result field. Wherein:

[0196] The route type field is used to carry the type of the first SD-WAN route. In one example, the value of the route type field corresponding to the SD-WAN secure route is 4.

[0197] The site identification field is used to carry the ID of the site to which the third device belongs;

[0198] The node ID field is used to carry the ID of the third device;

[0199] The routing distinguisher field is used to indicate the third service instance;

[0200] The group identification field is used to indicate the third group of the third service instance;

[0201] The prefix length field is used to indicate the length of the prefix field;

[0202] The prefix field is used to carry the route prefix of the first SD-WAN route;

[0203] The security level field is used to indicate the security level of the first SD-WAN route;

[0204] The IRRDB checked field is used to indicate whether the first SD-WAN route has been IRRDB verified;

[0205] The IRRDB checked result field indicates the result of the IRRDB verification;

[0206] The RPKI ROV checked field is used to indicate whether an RPKI ROV has been performed on the first SD-WAN route;

[0207] The RPKI ROV result field indicates the RPKI ROV result;

[0208] The RPKI ASPA checked field indicates whether RPKI ASPA was performed on the first SD-WAN route;

[0209] The RPKI ASPA result field indicates the RPKI ASPA result;

[0210] RLD checked indicates whether RLD is performed on the first SD-WAN route;

[0211] RLD checked result indicates the RLD result.

[0212] When the routing information of the first SD-WAN route is carried jointly by the first TLV and the first path attribute in the first BGP message, the aforementioned prefix length field, prefix field, security level field, IRRDB detection field, IRRDB result field, RPKI ROV detection field, RPKI ROV result field, RPKI ASPA detection field, RPKI ASPA result field, RLD detection field and RLD result field can be carried by the first path attribute.

[0213] In one example, if the first SD-WAN route is an SD-WAN WAN tunnel state route, the routing information of the first SD-WAN route can be used to indicate the state of the WAN tunnel. As a specific example, the routing information of the first SD-WAN route can be used to indicate the state of the first WAN tunnel. In this case, the routing information of the first SD-WAN route can include the state information of the first WAN tunnel. The first communication device can notify the state information of the first WAN tunnel to other communication devices via a first BGP message.

[0214] The status information of the first WAN tunnel may be one or more information that can reflect the status of the first WAN tunnel. In one example, the status information of the first WAN tunnel may include the connectivity information of the first WAN tunnel, wherein the connectivity information of the first WAN tunnel may include, for example, information indicating that the connectivity of the first WAN tunnel is normal, or information indicating that the connectivity of the first WAN tunnel is abnormal. In another example, the status information of the first WAN tunnel may include the quality parameters of the first WAN tunnel, and the quality parameters of the first WAN tunnel may be understood as the service quality parameters that the first WAN tunnel can provide for the service when it is used to transmit the service. The embodiment of the present application does not specifically limit the quality parameters of the first WAN tunnel, and the quality parameters of the first WAN tunnel include but are not limited to one or more quality parameters such as remaining available bandwidth, latency, jitter, packet loss rate, and bit error rate.

[0215] In addition, when the first SD-WAN route is an SD-WAN WAN tunnel state route, the routing information of the first SD-WAN route may further include WAN tunnel scope information. In one example, the WAN tunnel scope information may include a site identifier, and the first WAN tunnel may include all WAN tunnels passing through a certain site. In another example, the WAN tunnel scope information may include a node identifier. In this case, the first WAN tunnel may include all WAN tunnels passing through a certain node of a certain site. In another example, the WAN tunnel scope information may further include a local port identifier, and in this case, the first WAN tunnel may include all WAN tunnels passing through a certain port of a certain node of a certain site.

[0216] When the first SD-WAN route is an SD-WAN WAN tunnel state route, if the routing information of the first SD-WAN route is carried only by the first TLV, the structure of the first TLV may be as shown in FIG4d, which is a schematic diagram of the structure of another first TLV provided in an embodiment of the present application. As shown in FIG4d, the first TLV includes a route type field, a length field, a site identifier field, a node identifier field, a local port identifier (port-local-ID) field, and a status information field. Among them:

[0217] The route type field is used to carry the type of the first SD-WAN route. In one example, the value of the route type field corresponding to the WAN tunnel state route is 5.

[0218] The site identification field is used to carry the ID of the first site;

[0219] The node ID field is used to carry the ID of the fourth device included in the first site;

[0220] The local port identification field is used to carry the ID of a port of the fourth device;

[0221] The state information field is used to carry the quality parameter of the first WAN tunnel. In an example, the state information field may include at least one sub-TLV. For example, one quality parameter may be carried by one sub-TLV field.

[0222] In one example, the first SD-WAN route is an SD-WAN VPN route. The information of the SD-WAN VPN route may include information of the first VPN, where the information of the first VPN includes information of a fifth device configuring the first VPN and routing prefix information corresponding to the first VPN. The first communication device may notify the other communication devices of the first VPN information via a first BGP message.

[0223] As mentioned above, the SD-WAN VPN route may include one or more of the SD-WAN IPv4 L3VPN route, the SD-WAN IPv6 L3VPN route, and the SD-WAN EVPN route. The SD-WAN EVPN route may include one or more of the SD-WAN Ethernet auto-discovery route, the SD-WAN Media Access Control (MAC) address advertisement route, the SD-WAN IP address advertisement route, the SD-WAN inclusive multicast route, the SD-WAN Ethernet segment route, and the SD-WAN EVPN IP prefix route.

[0224] If the first SD-WAN route is an SD-WAN IPv4 L3VPN route or an SD-WAN IPv6 L3VPN route, and the routing information of the first SD-WAN route is carried only by the first TLV, the structure of the first TLV may be as shown in FIG4e, which is a schematic diagram of the structure of another first TLV provided in an embodiment of the present application. As shown in FIG4e, the first TLV includes a route type field, a length field, a site identifier field, a node identifier field, a route distinguisher field, a prefix length field, a prefix field, and a virtual network ID (VN ID) field. Wherein:

[0225] The Route Type field is used to carry the type of the first SD-WAN route. In one example, the Route Type field corresponding to the SD-WAN IPv4 L3VPN route has a value of 7 or 11. For example, when the SAFI field indicates the SD-WAN sub-address family, the Route Type field has a value of 7. When the SAFI field indicates a VPN service, the Route Type field has a value of 11. In another example, the Route Type field corresponding to the SD-WAN IPv6 L3VPN route has a value of 8 or 12. For example, when the SAFI field indicates the SD-WAN sub-address family, the Route Type field has a value of 8. When the SAFI field indicates a VPN service, the Route Type field has a value of 12.

[0226] The site identification field is used to carry the ID of the site to which the fourth device belongs;

[0227] The node ID field is used to carry the ID of the fourth device;

[0228] The routing distinguisher field is used to indicate the fourth service instance;

[0229] The prefix length field indicates the length of the prefix field;

[0230] The prefix field is used to carry the IP prefix;

[0231] The VN ID is used to carry the ID of the virtual network. The ID of the virtual network can be an MPLS label or an SRv6 SID.

[0232] If the first SD-WAN route is an SD-WAN EVPN route, and the routing information of the first SD-WAN route is carried only by the first TLV, then taking the first SD-WAN route as an SD-WAN EVPN IP prefix route as an example, the structure of the first TLV can be as shown in Figure 4f, which is a schematic diagram of the structure of another first TLV provided in an embodiment of the present application. As shown in Figure 4f, the first TLV includes a route type field, a length field, a site identifier field, a node identifier field, a route distinguisher field, an Ethernet segment identifier (ethernet segment ID) field, an Ethernet tag identifier (ethernet tag ID) field, a prefix length (prefix length) field, a prefix field, a gateway IP address field, and a virtual network identifier (virtual network ID, VN ID) field. Wherein:

[0233] The Route Type field is used to carry the type of the first SD-WAN route. In one example, the Route Type field corresponding to the SD-WAN EVPN IP prefix route has a value of 9 or 13. For example, when the SAFI field indicates an SD-WAN sub-address family, the Route Type field has a value of 9; when the SAFI field indicates a VPN service, the Route Type field has a value of 13.

[0234] The site identification field is used to carry the ID of the site to which the fourth device belongs;

[0235] The node ID field is used to carry the ID of the fourth device;

[0236] The routing distinguisher field is used to indicate the fourth service instance;

[0237] The prefix length field indicates the length of the prefix field;

[0238] The Ethernet segment identifier field is used to carry the identifier of the network segment associated with the first VPN;

[0239] The Ethernet tag identifier is used to indicate the Ethernet tag associated with the first VPN;

[0240] The prefix field is used to carry the IP prefix;

[0241] The gateway IP address is used to indicate the IP address of the gateway device associated with the first VPN;

[0242] The VN ID is used to carry the ID of the virtual network. The ID of the virtual network can be an MPLS label or an SRv6 SID.

[0243] For the aforementioned SD-WAN Ethernet auto-discovery routing, SD-WAN MAC address announcement routing, SD-WAN IP address announcement routing, SD-WAN integrated multicast routing, and SD-WAN Ethernet segment routing, their routing information can be found in the relevant description section of RFC7432 and will not be described in detail here.

[0244] As previously described, the first BGP message may include a first NLRI, which may include at least one TLV, including the first TLV. In one example, in addition to the first TLV, the at least one TLV may also include a second TLV, where the type field of the second TLV indicates the type of the second SD-WAN route. The type of the second SD-WAN route is different from the type of the first SD-WAN route. In this case, the first BGP message may be used to advertise the second SD-WAN route in addition to the first SD-WAN route. Accordingly, the first BGP message may also include routing information for the second SD-WAN route. In one example, the routing information for the second SD-WAN route may be carried solely through the value field of the second TLV. In another example, the routing information for the second SD-WAN route may also be carried through both the second path attribute of the first BGP message and the value field of the second TLV. For example, some information in the routing information for the second SD-WAN route may be carried through the value field of the second TLV, while other information in the routing information for the second SD-WAN route may be carried through the second path attribute.

[0245] When the at least one TLV includes the aforementioned second TLV, using this solution, two different types of routes can be announced through one BGP message (first BGP message).

[0246] In the embodiment of the present application, similar to the first SD-WAN route, the second SD-WAN route can also be a route that can be announced based on the SD-WAN address family and does not need to distinguish between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family. The type of the second SD-WAN route can also be one of the aforementioned SD-WAN VPN route, SD-WAN service route, SD-WAN APP route, SD-WAN security route, or SD-WAN WAN tunnel state route. For the routing information of the second SD-WAN route, please refer to the relevant description of the routing information of the first SD-WAN route above, and will not be repeated here.

[0247] S102: The first communication device sends the first BGP message to the second communication device.

[0248] S103: The second communication device receives the first BGP message sent by the first communication device.

[0249] After obtaining the first BGP message, the first communication device may send the first BGP message to the second communication device. Correspondingly, the second communication device may receive the first BGP message sent by the first communication device.

[0250] S104: The second communication device obtains routing information of the first SD-WAN route.

[0251] After receiving the first BGP message sent by the first communication device, the second communication device may parse the first BGP message to obtain routing information for the first SD-WAN route. For example, the second communication device may parse the first BGP message to obtain the first NLRI included in the first BGP message, and further obtain the routing information for the first SD-WAN route using the first TLV in the first NLRI. For another example, the second communication device may obtain the routing information for the first SD-WAN route using the first TLV in the first NLRI and the first path attribute included in the first BGP message.

[0252] In one example, when the first SD-WAN route is an SD-WAN service route, the second communication device may further store the routing information of the first SD-WAN route after obtaining the routing information of the first SD-WAN route. For example, the second communication device may store the routing information of the first SD-WAN route in the routing table item corresponding to the service, so that when the service traffic corresponding to the service is subsequently processed, the routing information of the first SD-WAN route can be found from the routing table item corresponding to the service, thereby processing the service traffic corresponding to the service based on the routing information of the first SD-WAN route, thereby processing the service traffic based on the processing logic corresponding to the service. In a specific example, the service traffic can be processed according to the service type. For example, if the service type of the service is a firewall, the service traffic can be filtered by using a firewall; for another example, if the service type of the service is load balancing, the service traffic can be processed by using a load balancing strategy, and so on. They are not listed here one by one.

[0253] In another example, when the first SD-WAN route is an SD-WAN APP route, after obtaining the routing information of the first SD-WAN route, the second communication device can determine the specific method for accessing the APP based on the routing information of the first SD-WAN route. The second communication device can access the APP in two ways. The first method is for the second communication device to directly access the APP. The second method is for the second communication device to access the APP through the first communication device.

[0254] In one example, the routing information of the first SD-WAN route may include a first quality parameter, where the first quality parameter is a quality parameter for accessing an APP through the first communication device. In this case, the second communication device may determine the specific method by which the second communication device accesses the APP based on the first quality parameter. In a specific example, the second communication device may detect a second quality parameter for accessing the APP through itself, and determine the specific method for accessing the APP based on the first quality parameter and the second quality parameter.

[0255] In one example, if the first quality parameter is better than the second quality parameter, it means that accessing the APP through the first communication device can obtain better service quality, and the second communication device can determine to access the APP in the aforementioned second way. In another example, if the first quality parameter is worse than the second quality parameter, it means that accessing the APP directly through the second communication device can obtain better service quality, and the second communication device can determine to access the APP in the aforementioned first way. It can be seen that, using this solution, the second communication device can combine the first quality parameter and the second quality parameter to determine the specific method of accessing the APP, so as to obtain the best possible service quality.

[0256] In one example, when the first SD-WAN route is a SD-WAN secure route, the second communication device may further perform the following steps A1-A2.

[0257] A1: Receive a fourth SD-WAN route sent by a third communication device, where the fourth SD-WAN route is a SD-WAN security route, and the routing information of the fourth SD-WAN route indicates the security features of the fourth SD-WAN route. The first SD-WAN route and the fourth SD-WAN route correspond to the same routing prefix.

[0258] A2: Store the route with higher security between the first SD-WAN route and the fourth SD-WAN route into the routing table.

[0259] The manner in which the third communication device sends the routing information of the fourth SD-WAN route to the second communication device may be the same as the manner in which the first communication device sends the routing information of the first SD-WAN route to the second communication device, and will not be repeated here.

[0260] In an embodiment of the present application, the first SD-WAN route and the fourth SD-WAN route correspond to the same routing prefix, which means that when the destination address of the business traffic matches the routing prefix, the second communication device can use the first SD-WAN route to forward the business traffic, or use the second SD-WAN route to forward the business traffic. In this case, in order to ensure the security of the business traffic transmitted in the network, in an embodiment of the present application, a route with higher security can be selected to transmit the business traffic. In a specific example, the second communication device can determine which of the two routes, the first SD-WAN route and the fourth SD-WAN route, is more secure based on the routing information of the first SD-WAN route and the routing information of the fourth SD-WAN route, and store the more secure route of the first SD-WAN route and the fourth SD-WAN route in the routing table. If the security of the first SD-WAN route is higher than the security of the fourth SD-WAN route, the second communication device can store the routing information of the first SD-WAN route in the routing table so that the business traffic can be forwarded based on the routing information of the first SD-WAN route during the forwarding phase. If the security of the fourth SD-WAN route is higher than the security of the first SD-WAN route, the second communication device can store the routing information of the fourth SD-WAN route in the routing table so as to forward the business traffic based on the routing information of the fourth SD-WAN route during the forwarding stage.

[0261] The embodiment of the present application does not specifically limit the specific implementation method of the second communication device determining which SD-WAN route, the first SD-WAN route or the fourth SD-WAN route, is more secure. Taking the case where the second communication device determines that the security of the first SD-WAN route is higher than that of the fourth SD-WAN route as an example:

[0262] In one example, the routing information of a first SD-WAN route may include a security level of the first SD-WAN route, and the routing information of a fourth SD-WAN route may include a security level of the fourth SD-WAN route. In this case, the second communication device may determine that the security of the first SD-WAN route is higher than that of the fourth SD-WAN route if the security level of the first SD-WAN route is higher than that of the fourth SD-WAN route. In another example, the routing information of the first SD-WAN route may include a first security verification result, and the routing information of the fourth SD-WAN route may include a second security verification result. If the first security verification result indicates that the first SD-WAN route has passed security verification (e.g., passed RLD), and the second security verification result indicates that the first SD-WAN route has failed security verification (e.g., failed RLD), the second communication device may determine that the security of the first SD-WAN route is higher than that of the fourth SD-WAN route. In one example, when the first SD-WAN route is an SD-WAN WAN tunnel state route, after obtaining the routing information of the first SD-WAN route, the second communication device may further select a WAN tunnel for actually transmitting service data from multiple WAN tunnels that can reach the same destination communication device based on the routing information of the first SD-WAN route, thereby meeting service requirements. In one example, the first WAN tunnel and the second WAN tunnel can reach the same target communication device. In other words, the first WAN tunnel and the second WAN tunnel are both WAN tunnels on the path from the second communication device to the target communication device. In this case:

[0263] In a specific example, the second communication device can also receive routing information of the fifth SD-WAN route sent by the fourth communication device, and the routing information of the fifth SD-WAN route can include status information of the second WAN tunnel. Regarding the specific implementation of the fourth communication device sending the routing information of the fifth SD-WAN route to the second communication device, you can refer to the description part of the first communication device sending the routing information of the first SD-WAN route to the second communication device, and no repeated description is made here. After the second communication device obtains the routing information of the fifth SD-WAN route and the routing information of the first SD-WAN route, it can determine the WAN tunnel that actually transmits business data from the first WAN tunnel and the second WAN tunnel based on the routing information of the first SD-WAN route and the routing information of the fifth SD-WAN route, for example, determine the first WAN tunnel as the WAN tunnel that actually transmits business data.

[0264] In one example, the second communication device can select a WAN tunnel that actually transmits business data from the first WAN tunnel and the second WAN tunnel in combination with the locally stored WAN tunnel selection policy. For example, if the WAN tunnel selection policy includes selecting a low-latency tunnel, the second communication device can determine the first WAN tunnel as the WAN tunnel that actually transmits business data if the transmission delay of the first WAN tunnel is lower than the transmission delay of the second WAN tunnel. For another example, if the WAN tunnel selection policy includes selecting a low bit error rate tunnel, the second communication device can determine the first WAN tunnel as the WAN tunnel that actually transmits business data if the bit error rate of the first WAN tunnel is lower than the bit error rate of the second WAN tunnel. For another example, if the WAN tunnel selection policy includes selecting a low packet loss rate tunnel, the second communication device can determine the first WAN tunnel as the WAN tunnel that actually transmits business data if the packet loss rate of the first WAN tunnel is lower than the packet loss rate of the second WAN tunnel.

[0265] In one example, when the first SD-WAN route is an SD-WAN VPN route, after obtaining the routing information of the first SD-WAN route, the second communication device can use the routing information of the first SD-WAN route to trigger the second communication device to create an SD-WAN tunnel from the second communication device to the first communication device based on the routing information of the TNP route exchanged between the first communication device and the second communication device, and iterate the first SD-WAN route to the created SD-WAN tunnel.

[0266] In conventional technology, a first communication device and a second communication device cannot directly advertise an SD-WAN VPN route. To establish an SD-WAN tunnel to the first communication device, the second communication device can perform the following steps B1-B4.

[0267] B1: The second communication device sends TNP route 1 of the SD-WAN address family to the first communication device;

[0268] B2: The first communication device sends TNP route 2 of the SD-WAN address family to the second communication device;

[0269] B3: The first communication device sends the IP prefix route of the EVPN address family to the second communication device;

[0270] B4: After the second communication device receives the IP prefix route of the EVPN address family from the first communication device, the IP prefix route of the EVPN address family triggers the second communication device to use the routing information of TNP route 1 and TNP route 2 to create an SD-WAN tunnel from the second communication device to the first communication device, and iterates the received IP prefix route of the EVPN address family to the created SD-WAN tunnel.

[0271] As can be seen from steps B1-B4, in conventional technologies, the TNP routing and IP prefix routing used to create the SD-WAN tunnel use different address families, which is not conducive to the subsequent management and maintenance of the SD-WAN tunnel. However, using the solution of the embodiment of the present application, the second communication device can establish an SD-WAN tunnel to the first communication device through the following steps C1-C5.

[0272] C1: The second communication device sends TNP route 3 of the SD-WAN address family to the first communication device;

[0273] C2: The first communication device sends TNP route 4 of the SD-WAN address family to the second communication device;

[0274] C3: The first communication device sends the first SD-WAN route to the second communication device.

[0275] C4: After the second communication device receives the first SD-WAN route from the first communication device, the first SD-WAN route triggers the second communication device to use the routing information of TNP route 3 and TNP route 4 to create an SD-WAN tunnel from the second communication device to the first communication device, and iterates the received first SD-WAN route to the created SD-WAN tunnel.

[0276] Thus, it can be seen that, using the solution of the embodiment of the present application, the TNP route and the first SD-WAN route used to create the SD-WAN tunnel are both routes based on the SD-WAN address family announcement, which facilitates the subsequent management and maintenance of the created SD-WAN tunnel. In one example, before the first communication device executes S101, the first communication device and the second communication device can negotiate the SD-WAN address family capabilities. The SD-WAN address family capabilities mentioned here can be understood as the ability to indicate the SD-WAN address family using AFI.

[0277] In a specific example, the first communication device may send a first capability indication information to the second communication device, and the first capability indication information indicates that the first communication device supports the aforementioned AFI and SAFI. Among them, the first communication device supports AFI, which means that the first communication device supports the use of AFI in the BGP message to indicate the SD-WAN address family. The first communication device supports the SAFI, for example, the first communication device supports the use of the SAFI to support the SD-WAN sub-address family. Correspondingly, the second communication device may also send a second capability indication information to the first communication device, and the second capability indication information indicates that the second communication device supports the AFI and SAFI. Among them, the second communication device supports AFI, which means that the second communication device supports the use of AFI in the BGP message to indicate the SD-WAN address family. The second communication device supports the SAFI, for example, the second communication device supports the use of the SAFI to support the SD-WAN sub-address family.

[0278] When the first communication device sends the first capability indication information to the second communication device, and the first communication device also receives the second capability indication information sent by the second communication device, the negotiation of the SD-WAN address family capabilities between the first communication device and the second communication device is completed. Further, the first communication device can perform S101 and subsequent steps.

[0279] Regarding the first capability indication information and the second capability indication information, it should be noted that, in one example, the first capability indication information can be carried in a first negotiation message. In other words, the first communications device can send a first negotiation message including the first capability indication information to the second communications device. Correspondingly, the second capability indication information can be carried in a second negotiation message. In other words, the second communications device can send a second negotiation message including the second capability indication information to the first communications device.

[0280] Both the first negotiation message and the second negotiation message can be BGP open messages. In a specific example, the BGP open message can include an optional parameters field. The structure of the optional parameters field can be as shown in Figure 4g, which is a schematic diagram of the structure of an optional parameter field provided in an embodiment of the present application. As shown in Figure 4g, the optional parameter field includes: a parameter type field, a parameter length field, and a parameter value field.

[0281] The parameter type field is used to indicate the type of the parameter. When the value of the parameter type field is 2, it indicates that the parameter carried by the parameter value field is a capability negotiation parameter.

[0282] The parameter length field indicates the length of the parameter value field.

[0283] The parameter value field carries specific parameters. When the value of the parameter type field is 2, the parameter value field can carry a list of supported capabilities. One capability corresponds to an entry in the list, and an entry can be carried by a TLV. That is, the parameter value field can include at least one TLV field.

[0284] As shown in FIG4g , the TLV of the parameter value field may include a capability code field, a capability length field, and a capability value field.

[0285] The capability code field carries the supported capability number. When the value of the capability code field is 1, it indicates that the address family capability is supported.

[0286] The Capability Length field indicates the length of the Capability Value field.

[0287] The capability value field carries the specific capabilities carried. In an embodiment of the present application, the capability value field may be a triplet including three fields: AFI, Reserved, and SAFI. In an embodiment of the present application, the value corresponding to AFI in the capability value field indicates the SD-WAN address family, and the value corresponding to SAFI in the capability value field indicates the SD-WAN sub-address family.

[0288] From the above description, it can be seen that by utilizing the solution of the embodiment of the present application, the first communication device can directly announce the first SD-WAN route based on the SD-WAN address family without distinguishing between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family, thereby reducing the number of BGP messages required to be sent for the announcement, and accordingly reducing the performance overhead of the first communication device announcing the route based on the SD-WAN address family.

[0289] Furthermore, since the AFI indicates the SD-WAN address family and does not distinguish between the IPv4 SD-WAN address family and the IPv6 SD-WAN address family, when configuring the first communication device, it is only necessary to configure the first communication device to support routing based on the SD-WAN address family. Taking the first communication device corresponding to the network device 201 shown in FIG. 1a as an example, in one example, the first communication device can be configured using the following configuration command.

[0290] In the above configuration commands, the content after the symbol “ / / ” is a comment.

[0291] According to this configuration command and the traditional configuration commands mentioned above, it can be seen that the configuration method for configuring the network device is also simplified by using this solution.

[0292] In some embodiments, the information processing method provided by the embodiments of the present application may further include the following steps D1-D4.

[0293] D1: The first communication device obtains a second BGP message, the second BGP message includes the AFI, the second BGP message is used to announce the third SD-WAN route, the second BGP message includes a second NLRI, the second NLRI includes a third TLV, the third TLV is used to carry routing information of the third SD-WAN route, the type field of the third TLV indicates the type of the third SD-WAN route, and the type of the first SD-WAN route is different from the type of the third SD-WAN route.

[0294] D2: The first communication device sends the second BGP message to the second communication device.

[0295] D3: The second communication device receives the second BGP message sent by the first communication device.

[0296] D4: The second communication device obtains routing information of the third SD-WAN router.

[0297] The implementation principle of steps D1-D4 is similar to that of method 100. For the specific implementation of steps D1-D4, please refer to the relevant description of method 100 above, and no repeated description will be given here.

[0298] Using method 100 and steps D1-D4, the first communication device can advertise different types of SD-WAN routes to the second communication device through different BGP messages.

[0299] The present application also provides a first communication device for executing the information processing method provided by the first communication device in the above method embodiment. The first communication device may include a transceiver unit and a processing unit; the transceiver unit is configured to execute the receiving and / or transmitting operations performed by the first communication device as described in the above method embodiment; and the processing unit is configured to execute operations other than the receiving and / or transmitting operations performed by the first communication device as described in the above method embodiment.

[0300] In a specific example, the structure of the first communication device may be as shown in Figure 5, which is a schematic diagram of the structure of a first communication device provided in an embodiment of the present application. As shown in Figure 5, the first communication device 500 includes: a processing unit 501 and a sending unit 502.

[0301] The processing unit 501 is configured to obtain a first Border Gateway Protocol (BGP) message, where the first BGP message includes an address family identifier (AFI) and a sub-address family identifier (SAFI), where the AFI indicates a Software Defined Wide Area Network (SD-WAN) address family, and the first BGP message is used to advertise a first SD-WAN route.

[0302] The sending unit 502 is configured to send the first BGP message to the second communication device.

[0303] In one possible implementation, the SAFI indicates an SD-WAN sub-address family.

[0304] In one possible implementation, the first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

[0305] In one possible implementation, the first BGP message is also used to announce a second SD-WAN route, the first NLRI includes a second TLV, the second TLV is used to carry routing information of the second SD-WAN route, the type field of the second TLV indicates the type of the second SD-WAN route, and the type of the first SD-WAN route is different from the type of the second SD-WAN route.

[0306] In one possible implementation, the processing unit 501 is further used to obtain a second BGP message, the second BGP message includes the AFI, the second BGP message is used to announce a third SD-WAN route, the second BGP message includes a second NLRI, the second NLRI includes a third TLV, the third TLV is used to carry routing information of the third SD-WAN route, the type field of the third TLV indicates the type of the third SD-WAN route, and the type of the first SD-WAN route is different from the type of the third SD-WAN route; the sending unit 502 is further used to send the second BGP message to the second communication device.

[0307] In one possible implementation, the first SD-WAN route includes one of the following: SD-WAN virtual private network VPN route, SD-WAN service route, SD-WAN application APP route, SD-WAN security route or SD-WAN WAN tunnel state route.

[0308] In one possible implementation, the first SD-WAN route is an SD-WAN service route, and the routing information of the SD-WAN service route includes service information of the service and information of a device on which the service is deployed.

[0309] In a possible implementation manner, the service information includes the type of the service and / or the service identifier of the service.

[0310] In one possible implementation, the routing information of the SD-WAN service routing also includes first instance information, where the first instance information indicates the service instance to which the service belongs.

[0311] In one possible implementation, the first SD-WAN route is an SD-WAN APP route, and the routing information of the SD-WAN APP route includes attribute information of the APP and information of a device accessing the APP.

[0312] In a possible implementation, the attribute information of the APP includes one or more of the following: an Internet Protocol (IP) address of the APP, a Uniform Resource Identifier (URI) of the APP, and a quality parameter for accessing the APP through the first communication device.

[0313] In a possible implementation, the routing information of the SD-WAN APP routing also includes second instance information, where the second instance information indicates a service instance for accessing the APP.

[0314] In one possible implementation, the first SD-WAN route is an SD-WAN security route, and the routing information of the SD-WAN security route indicates the security features of the first SD-WAN route.

[0315] In one possible implementation, the security feature of the first SD-WAN route includes a security level of the first SD-WAN route and / or at least one security verification result of the first SD-WAN route.

[0316] In one possible implementation, the first SD-WAN route is SD-WAN WAN tunnel state route, and the routing information of the SD-WAN WAN tunnel state route includes the state information of the WAN tunnel.

[0317] In a possible implementation, the status information of the WAN tunnel includes: connectivity information of the WAN tunnel, and / or quality parameters of the WAN tunnel.

[0318] In a possible implementation, the sending unit 502 is further configured to: send first capability indication information to the second communication apparatus, where the first capability indication information indicates that the first communication apparatus supports the AFI and the SAFI.

[0319] In a possible implementation manner, the apparatus further includes: a receiving unit, configured to receive second capability indication information sent by the second communication apparatus, where the second capability indication information indicates that the second communication apparatus supports the AFI and the SAFI.

[0320] The present application also provides a second communication device for executing the information processing method provided by the second communication device in the above method embodiment. The second communication device may include a transceiver unit and a processing unit; the transceiver unit is configured to execute the receiving and / or transmitting operations performed by the second communication device as described in the above method embodiment; and the processing unit is configured to execute operations other than the receiving and / or transmitting operations performed by the second communication device as described in the above method embodiment.

[0321] In a specific example, the structure of the second communication device may be as shown in Figure 6, which is a schematic diagram of the structure of a second communication device provided in an embodiment of the present application. As shown in Figure 6, the second communication device 600 includes: a receiving unit 601 and a processing unit 602.

[0322] The receiving unit 601 is configured to receive a first Border Gateway Protocol (BGP) message sent by a first communication device, wherein the first BGP message includes an address family identifier (AFI) and a sub-address family identifier (SAFI), wherein the AFI indicates a software-defined wide area network (SD-WAN) address family, and the first BGP message is used to announce a first SD-WAN route;

[0323] The processing unit 602 is used to obtain routing information of the first SD-WAN route.

[0324] In one possible implementation, the SAFI indicates an SD-WAN sub-address family.

[0325] In one possible implementation, the first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

[0326] In one possible implementation, the first BGP message is also used to announce a second SD-WAN route, the first NLRI includes a second TLV, the second TLV is used to carry routing information of the second SD-WAN route, the type field of the second TLV indicates the type of the second SD-WAN route, and the type of the first SD-WAN route is different from the type of the second SD-WAN route.

[0327] In one possible implementation, the receiving unit 601 is further used to receive a second BGP message sent by the first communication device, the second BGP message includes the AFI, the second BGP message is used to announce a third SD-WAN route, the second BGP message includes a second NLRI, the second NLRI includes a third TLV, the third TLV is used to carry routing information of the third SD-WAN route, the type field of the third TLV indicates the type of the third SD-WAN route, and the type of the first SD-WAN route is different from the type of the third SD-WAN route; the processing unit 602 is further used to obtain routing information of the third SD-WAN route.

[0328] In one possible implementation, the first SD-WAN routing type includes one of the following: SD-WAN virtual private network VPN routing, SD-WAN service routing, SD-WAN application APP routing, SD-WAN security routing or SD-WAN WAN tunnel state routing.

[0329] In one possible implementation, the first SD-WAN route is an SD-WAN service route, and the routing information of the SD-WAN service route includes service information of the service and information of a device on which the service is deployed.

[0330] In a possible implementation, the service information includes the type corresponding to the service and / or the service identifier of the service.

[0331] In one possible implementation, the routing information of the SD-WAN service routing also includes first instance information, where the first instance information indicates the service instance to which the service belongs.

[0332] In a possible implementation, the processing unit 602 is further used to: store routing information of the SD-WAN service routing.

[0333] In one possible implementation, the first SD-WAN route is an SD-WAN APP route, and the routing information of the SD-WAN APP route includes attribute information of the APP and information of a device accessing the APP.

[0334] In a possible implementation, the attribute information of the APP includes one or more of the following: an Internet Protocol (IP) address of the APP, a Uniform Resource Identifier (URI) of the APP, and a first quality parameter for accessing the APP through the first communication device.

[0335] In a possible implementation, the routing information of the SD-WAN APP routing also includes second instance information, where the second instance information indicates the service instance to which the APP belongs.

[0336] In a possible implementation, the processing unit 602 is further configured to: determine, based on routing information of the SD-WAN APP routing, to access the APP through the first communication device.

[0337] In one possible implementation, the processing unit 602 is used to determine access to the APP through the first communication device when the first quality parameter included in the routing information of the SD-WAN APP routing is better than the second quality parameter of directly accessing the APP through the second communication device.

[0338] In a possible implementation, the processing unit 602 is further configured to determine direct access to the APP based on routing information of the SD-WAN APP routing.

[0339] In one possible implementation, the processing unit 602 is configured to determine to directly access the APP when a first quality parameter included in the routing information of the SD-WAN APP routing is inferior to a second quality parameter of directly accessing the APP through the second communication device.

[0340] In one possible implementation, the first SD-WAN route is an SD-WAN security route, and the routing information of the SD-WAN security route indicates the security features of the first SD-WAN route.

[0341] In one possible implementation, the security feature of the first SD-WAN route includes a security level of the first SD-WAN route and / or at least one security verification result of the first SD-WAN route.

[0342] In one possible implementation, the receiving unit 601 is further used to receive a fourth SD-WAN route sent by a third communication device, where the fourth SD-WAN route is a SD-WAN security route, and the routing information of the fourth SD-WAN route indicates the security features of the fourth SD-WAN route. The first SD-WAN route and the fourth SD-WAN route correspond to the same routing prefix; the processing unit 602 is further used to store the route with higher security between the first SD-WAN route and the fourth SD-WAN route in a routing table.

[0343] In one possible implementation, the first SD-WAN route is SD-WAN WAN tunnel state route, and the routing information of the SD-WAN WAN tunnel state route includes the state information of the first WAN tunnel.

[0344] In a possible implementation, the state information of the first WAN tunnel includes: connectivity information of the first WAN tunnel, and / or quality parameters of the first WAN tunnel.

[0345] In one possible implementation, the receiving unit 601 is further used to receive a fifth SD-WAN route sent by a fourth communication device, where the fifth SD-WAN route is an SD-WAN WAN tunnel state route, and the routing information of the fifth SD-WAN route includes the state information of the second WAN tunnel, wherein the first WAN tunnel and the second WAN tunnel are both WAN tunnels on the path from the second communication device to the target communication device; the processing unit 602 is further used to: determine the transmission of business data through the first WAN tunnel based on the routing information of the first SD-WAN route and the routing information of the fifth SD-WAN route.

[0346] In a possible implementation, the receiving unit 601 is further configured to: receive first capability indication information sent by the first communication apparatus, where the first capability indication information indicates that the first communication apparatus supports the AFI and the SAFI.

[0347] In a possible implementation manner, the apparatus further includes: a sending unit, configured to send second capability indication information to the first communication apparatus, where the second capability indication information indicates that the second communication apparatus supports the AFI and the SAFI.

[0348] In addition, an embodiment of the present application further provides a communication device 700, as shown in Figure 7, which is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device 700 includes a communication interface 701 and a processor 702 connected to the communication interface 701. The communication device 700 can be used to perform the method 100 in the above embodiment.

[0349] In one example, the communication device 700 is equivalent to the first communication device in the method 100. The communication interface 701 is used to perform the sending and receiving operations performed by the first communication device in the method 100. The processor 702 is used to perform operations other than the sending and receiving operations performed by the first communication device in the method 100. For example, the processor 702 is used to obtain a first BGP message, the first BGP message including an AFI and a SAFI, the AFI indicating an SD-WAN address family, and the first BGP message being used to announce a first SD-WAN route; and the communication interface 701 is used to send the first BGP message to the second communication device.

[0350] In another example, the communication device 700 is equivalent to the second communication device in method 100. The communication interface 701 is configured to execute the sending and receiving operations performed by the second communication device in method 100. The processor 702 is configured to execute operations other than the sending and receiving operations performed by the second communication device in method 100. For example, the communication interface 701 is configured to receive a first BGP message sent by the first communication device; and the processor 702 is configured to obtain routing information of the first SD-WAN route.

[0351] In addition, the present invention also provides a communication device 800, as shown in Figure 8, which is a schematic diagram of the structure of a communication device provided in the present invention. The communication device 800 can be used to execute the method 100 in the above embodiment.

[0352] As shown in Figure 8, the communication device 800 may include a processor 810, a memory 820 coupled to the processor 810, and a transceiver 830. The transceiver 830 may be, for example, a communication interface, an optical module, etc. The processor 810 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor may also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The processor 810 may be a single processor or may include multiple processors. The memory 820 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); and the memory 820 may also include a combination of the aforementioned types of memory. The memory 820 may refer to a single memory or may include multiple memories. In one embodiment, the memory 820 stores computer-readable instructions, which include multiple software modules, such as a sending module 821, a processing module 822, and a receiving module 823. After executing each software module, the processor 810 may perform corresponding operations according to the instructions of each software module. In this embodiment, the operations performed by a software module actually refer to the operations performed by the processor 810 according to the instructions of the software module.

[0353] In one example, the communication device 800 is equivalent to the first communication device in the method 100. The transceiver 830 is configured to perform the transceiver operations performed by the first communication device in the method 100. The processor 810 is configured to perform operations other than the transceiver operations performed by the first communication device in the method 100. For example, the processor 810 is configured to obtain a first BGP message, the first BGP message including an AFI and a SAFI, the AFI indicating an SD-WAN address family, and the first BGP message being used to advertise a first SD-WAN route; and the transceiver 830 is configured to send the first BGP message to the second communication device.

[0354] In another example, the communication device 800 is equivalent to the second communication device in method 100. The transceiver 830 is configured to perform the transceiver operations performed by the second communication device in method 100. The processor 810 is configured to perform operations other than the transceiver operations performed by the second communication device in method 100. For example, the transceiver 830 is configured to receive a first BGP message sent by the first communication device; and the processor 810 is configured to obtain routing information of the first SD-WAN route.

[0355] The present application also provides a computer-readable storage medium, which stores instructions or computer programs. When the instruction computer program runs on a processor, it can implement any one or more operations of the methods described in the above embodiments (such as method 100).

[0356] The present application also provides a computer program product, including a computer program. When the computer program is run on a processor, it can implement any one or more operations of the methods described in the above embodiments (such as method 100).

[0357] An embodiment of the present application further provides a communication system, which includes: the first communication device and the second communication device mentioned in the above embodiment.

[0358] The terms "first," "second," "third," "fourth," and the like (if any) in the specification and claims of this application and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

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

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

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

[0362] In addition, each business unit in each embodiment of the present application can be integrated into a processing unit, each unit can exist physically separately, or two or more units can be integrated into a single unit. The above-mentioned integrated units can be implemented in the form of hardware or software business units.

[0363] If the integrated unit is implemented in the form of a software business unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0364] Those skilled in the art will appreciate that, in one or more of the above examples, the services described herein can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these services can be stored on a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, including any medium that facilitates the transmission of computer programs from one location to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0365] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention.

[0366] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An information processing method, characterized in that: Applied to a first communication device, the method comprises: Obtain a first border gateway protocol BGP message, wherein the first BGP message includes an address family identifier AFI and a sub-address family identifier SAFI, the AFI indicates a software defined wide area network SD-WAN address family, and the first BGP message is used to announce a first SD-WAN route; The first BGP message is sent to the second communication device.

2. The method according to claim 1, characterized in that The SAFI indicates the SD-WAN sub-address family.

3. The method according to claim 1 or 2, characterized in that: The first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

4. The method according to claim 3, characterized in that The first BGP message is also used to announce a second SD-WAN route. The first NLRI includes a second TLV. The second TLV is used to carry routing information of the second SD-WAN route. The type field of the second TLV indicates the type of the second SD-WAN route. The type of the first SD-WAN route is different from the type of the second SD-WAN route.

5. The method according to claim 3, characterized in that: The method further comprises: Obtain a second BGP message, the second BGP message including the AFI, the second BGP message being used to announce a third SD-WAN route, the second BGP message including a second NLRI, the second NLRI including a third TLV, the third TLV being used to carry routing information of the third SD-WAN route, the type field of the third TLV indicating the type of the third SD-WAN route, the type of the first SD-WAN route being different from the type of the third SD-WAN route; The second BGP message is sent to the second communication device.

6. The method according to any one of claims 1 to 5, characterized in that: The first SD-WAN route includes one of the following: SD-WAN virtual private network VPN routing, SD-WAN business routing, SD-WAN application APP routing, SD-WAN security routing or SD-WAN WAN tunnel state routing.

7. The method according to any one of claims 1 to 5, characterized in that: The first SD-WAN route is an SD-WAN service route, and the routing information of the SD-WAN service route includes service information of the service and information of the device for deploying the service.

8. The method according to any one of claims 1 to 5, characterized in that: The first SD-WAN route is an SD-WAN APP route, and the routing information of the SD-WAN APP route includes attribute information of the APP and information of a device accessing the APP.

9. The method according to claim 8, characterized in that The attribute information of the APP includes one or more of the following: The Internet Protocol IP address of the APP, the Uniform Resource Identifier URI of the APP, and the quality parameter of accessing the APP through the first communication device.

10. The method according to any one of claims 1 to 5, characterized in that: The first SD-WAN route is a SD-WAN secure route, and the routing information of the SD-WAN secure route indicates the security features of the first SD-WAN route.

11. The method according to claim 10, characterized in that The security features of the first SD-WAN route include the security level of the first SD-WAN route and / or at least one security verification result of the first SD-WAN route.

12. The method according to any one of claims 1 to 5, characterized in that: The first SD-WAN route is SD-WAN WAN tunnel state route, and the routing information of the SD-WAN WAN tunnel state route includes the status information of the WAN tunnel.

13. The method according to claim 12, characterized in that The status information of the WAN tunnel includes: Connectivity information of the WAN tunnel, and / or, quality parameters of the WAN tunnel.

14. An information processing method, characterized in that: Applied to a second communication device, the method comprises: Receive a first Border Gateway Protocol (BGP) message sent by a first communication device, wherein the first BGP message includes an address family identifier (AFI) and a sub-address family identifier (SAFI), the AFI indicates a software defined wide area network (SD-WAN) address family, and the first BGP message is used to announce a first SD-WAN route; Obtain routing information for the first SD-WAN route.

15. The method according to claim 14, characterized in that The SAFI indicates the SD-WAN sub-address family.

16. The method according to claim 14 or 15, characterized in that The first BGP message includes first network layer reachability information NLRI, the first NLRI includes a first type length value TLV, the first TLV is used to carry routing information of the first SD-WAN route, and the type field of the first TLV indicates the type of the first SD-WAN route.

17. The method according to any one of claims 14 to 16, characterized in that: The first SD-WAN route includes one of the following: SD-WAN virtual private network VPN routing, SD-WAN business routing, SD-WAN application APP routing, SD-WAN security routing or SD-WAN WAN tunnel state routing.

18. The method according to claim 17, characterized in that The first SD-WAN route is the SD-WAN service route, and the method further includes: Store routing information of the SD-WAN service routing.

19. The method according to claim 17, characterized in that The first SD-WAN route is the SD-WAN APP route, and the method further includes: In a case where a first quality parameter included in the routing information of the SD-WAN APP routing is better than a second quality parameter of directly accessing the APP through the second communication device, it is determined to access the APP through the first communication device.

20. The method according to claim 17, characterized in that The first SD-WAN route is a SD-WAN secure route, and the method further includes: receiving a fourth SD-WAN route sent by a third communication device, the fourth SD-WAN route being a SD-WAN security route, the routing information of the fourth SD-WAN route indicating a security feature of the fourth SD-WAN route, the first SD-WAN route and the fourth SD-WAN route corresponding to the same routing prefix; The route with higher security among the first SD-WAN route and the fourth SD-WAN route is stored in the routing table.

21. The method according to claim 17, characterized in that The first SD-WAN route is an SD-WAN WAN tunnel state route, the routing information of the first SD-WAN route includes state information of the first WAN tunnel, and the method further includes: Receive a fifth SD-WAN route sent by a fourth communication device, wherein the fifth SD-WAN route is an SD-WAN WAN tunnel state route, and the routing information of the fifth SD-WAN route includes the state information of the second WAN tunnel, wherein the first WAN tunnel and the second WAN tunnel are both WAN tunnels on a path from the second communication device to the target communication device; determine to transmit business data through the first WAN tunnel based on the routing information of the first SD-WAN route and the routing information of the fifth SD-WAN route.

22. A communication device, characterized in that: The device comprises: Transceiver unit and processing unit; The transceiver unit is used to perform the receiving and / or sending operations performed by the first communication device as described in any one of claims 1-13; the processing unit is used to perform operations other than the receiving and / or sending operations performed by the first communication device as described in any one of claims 1-13; or, The transceiver unit is used to perform the receiving and / or sending operations performed by the second communication device as described in any one of claims 14-21; the processing unit is used to perform operations other than the receiving and / or sending operations performed by the second communication device as described in any one of claims 14-21.

23. A communication device, characterized in that: include: Processor and memory; The memory is used to store instructions; The processor is used to execute the instructions so that the communication device executes the method according to any one of claims 1-21.

24. A communication system, characterized in that: The system comprises: A first communication device for executing the method described in any one of claims 1 to 13, and a second communication device for executing the method described in any one of claims 14 to 21.

25. A computer-readable storage medium, characterized in that: The method comprises instructions or computer programs, and when the instructions or computer programs are executed on a processor, the method according to any one of claims 1 to 21 is implemented.

26. A computer program product, characterized in that The invention comprises a computer program which, when executed on a processor, executes the method according to any one of claims 1 to 21.

Citation Information

Patent Citations

  • Secure sd-wan port information distribution

    CN113261248A

  • Internet protocol security (IPsec) simplification in border gateway protocol (BGP) controlled software defined wide area network (SD-WAN)

    CN115606154A

  • Method and system for protecting data flow between pairs of branch nodes in a software-defined wide-area network

    US20180091481A1

  • Method and system for routing connections in a software-defined wide area network

    US20190052558A1

  • Systems and methods for advertising internet protocol (IP) version 4 network layer routing information with an IP version 6 next hop address

    US20220345438A1