WO2024066553A1 - 一种报文处理方法、信息处理方法及装置 - Google Patents

一种报文处理方法、信息处理方法及装置 Download PDF

Info

Publication number
WO2024066553A1
WO2024066553A1 PCT/CN2023/103084 CN2023103084W WO2024066553A1 WO 2024066553 A1 WO2024066553 A1 WO 2024066553A1 CN 2023103084 W CN2023103084 W CN 2023103084W WO 2024066553 A1 WO2024066553 A1 WO 2024066553A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
forwarding
indication information
ipv6
ipv6 message
Prior art date
Application number
PCT/CN2023/103084
Other languages
English (en)
French (fr)
Inventor
田太徐
李振斌
夏阳
李呈
胡志波
陈大鹏
毛健炜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024066553A1 publication Critical patent/WO2024066553A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Definitions

  • the present application relates to the field of communications, and in particular to a message processing method, an information processing method and a device.
  • IPv6 Internet Protocol Version 6
  • the embodiments of the present application provide a message processing method, an information processing method and an apparatus, which can improve the efficiency of IPv6 network transmission services.
  • an embodiment of the present application provides a message processing method, which can be applied to a first network node.
  • the first network node can obtain a first IPv6 message, and the first IPv6 message does not carry a segment routing header (SRH).
  • the first IPv6 message includes indication information, and the indication information is used to indicate source routing forwarding behavior.
  • the so-called source routing forwarding behavior can be understood as forwarding the message based on the message forwarding path indicated by the segment identifier list (SID list).
  • SID list segment identifier list
  • source routing forwarding can be achieved by carrying indication information indicating source routing forwarding behavior in the first IPv6 message, without carrying SRH in the first IPv6 message.
  • the length of the indication information is less than the length of the SRH, especially when the number of SIDs included in the SID list is large, the length of the indication information is much smaller than the length of the SRH.
  • this solution provides an SR traffic engineering (TE) implementation method without using SRH, which can reduce the message length of the non-payload part in the first IPv6 message, thereby reducing the bandwidth resources occupied by the non-payload part, and correspondingly increasing the available bandwidth of the payload part used to carry the service, thereby achieving the effect of improving service transmission efficiency.
  • TE SR traffic engineering
  • the first network node may be an intermediate node in the first IPv6 message forwarding path. In this case, after the first network node obtains the first IPv6 message, it may forward the first IPv6 message according to the indication information, thereby realizing source routing forwarding based on the indication information.
  • the first IPv6 message when the first network node forwards the first IPv6 message according to the indication information, the first IPv6 message may be forwarded according to the forwarding information corresponding to the source routing forwarding behavior indicated by the indication information.
  • the first network node before forwarding the first IPv6 message according to the indication information, the first network node may also determine the forwarding information according to the indication information and the target correspondence, wherein the target correspondence includes at least: the correspondence between the indication information and the forwarding information. In this way, the first network node first determines the forwarding information corresponding to the source routing forwarding behavior according to the indication information, and further forwards the message based on the forwarding information.
  • the first IPv6 message thereby achieves the effect of realizing source routing forwarding based on the indication information.
  • the forwarding information may include the next-hop SID.
  • the first network node may forward the first IPv6 message based on the next-hop SID.
  • the first network node may update the destination address in the first IPv6 message according to the next-hop SID to obtain a second IPv6 message, and the destination address of the second IPv6 message is the next-hop SID.
  • the aforementioned forwarding information may also include the output interface, so that the first network node can directly determine the output interface based on the target correspondence and forward the second IPv6 packet through the output interface.
  • the forwarding information includes a next-hop SID
  • the forwarding information includes a SID list
  • the SID list includes the next-hop SID.
  • the first network node may first determine the SID list according to the target correspondence and the indication information, and further determine the next-hop SID from the SID list.
  • the forwarding information includes the SID list
  • the first network node may determine a complete message forwarding path according to the SID list, so that in the event of a failure in the message forwarding path, the service may be switched to a backup path for forwarding.
  • the indication information may be carried in an IPv6 header of the first IPv6 message, for example, using an unused field in the IPv6 header, or using one or more unused bits in a used field.
  • the indication information is carried in the IPv6 header, since the IPv6 header is located at the outermost layer of the entire IPv6 message, the resource consumption of the network node in parsing the first IPv6 message to obtain the indication information can be reduced.
  • the indication information may be carried in an extension header of the first IPv6 message, and the extension header may be any extension header except SRH.
  • the indication information may be carried in a destination options header (DOH) of the first IPv6 message, and as another example, the indication information may be carried in a hop-by-hop options header of the first IPv6 message.
  • DOH destination options header
  • the IPv6 address includes 128 bits.
  • the destination address of the IPv6 message may include three parts, namely a locator field, a function field, and an arguments field. Among them: the meaning of the arguments field is not clearly defined at present. Therefore, in an example, the indication information may be carried in the arguments field of the destination address of the first IPv6 message. For this case, there is no need to extend a new field to carry the indication information, thereby saving the length of the first IPv6 message.
  • the first network node when the first network node is an intermediate node of the message forwarding path indicated by the aforementioned SID list, after the first network node obtains the first IPv6 message, it can forward the first IPv6 message according to the indication information, thereby realizing source routing forwarding.
  • the first network node can be pre-configured to perform source routing forwarding behavior based on the indication information.
  • the first network node can determine to perform source routing forwarding behavior based on the indication information based on a specific field in the first IPv6 message. The embodiments of the present application do not specifically limit the specific fields.
  • the specific field can be a function of the destination address of the first IPv6 message.
  • the specific field can be carried in the first IPv6 message without increasing the length of the first IPv6 message.
  • the aforementioned forwarding information may include a next-hop destination field, and the next-hop destination field includes a next-hop locator field and a next-hop function field.
  • the first network node may further obtain a third IPv6 message based on the next-hop target field and the first IPv6 message, and further forward the third IPv6 message.
  • the first network node may update the destination address of the first IPv6 message according to the next-hop target field to obtain a third IPv6 message, the destination address of the third IPv6 message including the next-hop target field and the indication information, and the indication information is carried in the arguments field of the destination address of the third IPv6 message.
  • the aforementioned forwarding information may also include an outgoing interface, so that the first network node can directly determine the outgoing interface based on the target correspondence and forward the third IPv6 message through the outgoing interface.
  • the message forwarding path indicated by the aforementioned SID list can be associated with a network slice.
  • the head node of the message forwarding path forwards the message, it will add the slice identifier to the message and perform corresponding forwarding behavior based on the slice identifier.
  • the message received by the intermediate node of the message forwarding includes the slice identifier, and the intermediate node can perform corresponding forwarding behavior based on the slice identifier.
  • the aforementioned indication information can also be used to indicate the slice information.
  • the aforementioned target correspondence relationship can also include the correspondence between the indication information and the slice identifier.
  • the slice identifier may not need to be carried in the first IPv6 message.
  • the first network node may determine the slice identifier based on the indication information and the target correspondence. Furthermore, in an example, the first network node may perform a forwarding behavior corresponding to the slice identifier.
  • the message forwarding path indicated by the aforementioned SID list may be associated with an application-aware networking (APN).
  • APN application-aware networking
  • the head node of the message forwarding path will add the APN identifier to the message and perform corresponding data processing behavior based on the APN identifier.
  • the message received by the intermediate node of the message forwarding includes the APN identifier, and the intermediate node may perform corresponding data processing behavior based on the APN identifier.
  • the aforementioned indication information may also be used to indicate the APN information.
  • the aforementioned target correspondence may also include a correspondence between the indication information and the APN identifier.
  • the first IPv6 message may not need to carry the APN identifier.
  • the first network node may determine the APN identifier based on the indication information and the target correspondence. Further, in an example, the first network node may perform a data processing behavior corresponding to the APN identifier.
  • the first network node may pre-save the target correspondence relationship.
  • the target correspondence relationship may be sent to the first network node by a controller. Accordingly, after receiving the first IPv6 message, the first network node may determine forwarding information based on the target correspondence relationship, and further forward the first IPv6 message based on the forwarding information, thereby implementing source routing forwarding.
  • the target correspondence relationship may also be generated by the first network node.
  • the first network node may receive a first SRv6 message for creating the target correspondence relationship, wherein the first SRv6 message includes the indication information and the SRH, and obtain the target correspondence relationship according to the indication information and the SRH included in the first SRv6 message. Accordingly, after receiving the first IPv6 message, the first network node may determine forwarding information based on the target correspondence relationship, and further forward the first IPv6 message based on the forwarding information, thereby realizing source routing forwarding.
  • the first SRv6 message may also include a slice identifier, and accordingly, the target correspondence created by the first network node may also include the correspondence between the indication information and the slice identifier.
  • the first SRv6 message may also include an APN identifier, and accordingly, the target correspondence created by the first network node may also include a correspondence between the indication information and the APN identifier.
  • the first SRv6 message may be generated by a head node of the aforementioned message forwarding path.
  • the head node may generate a first SRv6 message including the indication information and an SRH carrying the SID list according to the SID list and the indication information.
  • the first IPv6 message may be generated by the first network node.
  • the first network node may receive a service message sent by a user-side device, and determine the message forwarding path corresponding to the service message. Further, the indication information is determined according to the message forwarding path, and the first IPv6 message is generated based on the indication information. In this way, when the first network node encapsulates the service message, it no longer encapsulates the SRH, but encapsulates the indication information indicating the source routing forwarding behavior, thereby effectively reducing the message length.
  • the first network node may also obtain the indication information before encapsulating the service message based on the indication information.
  • the indication information may be generated by a controller and sent to the first network node.
  • the first network node may receive the indication information sent by the controller.
  • the controller may send the indication information and the SID list to the first network node in correspondence.
  • the first network node generates the indication information, for example, the first network node may generate the indication information after receiving the SID list sent by the controller, and save the correspondence between the indication information and the SID list.
  • an embodiment of the present application provides an information processing method, which can be applied to a controller.
  • the controller can determine a correspondence between indication information and a target, wherein the indication information is used to indicate source routing forwarding behavior, and the target correspondence includes: a correspondence between the indication information and the forwarding information corresponding to the source routing forwarding behavior.
  • the target correspondence can be sent to the first network node.
  • the first network node is an intermediate node on the message forwarding path of the first IPv6 message.
  • the controller After the controller sends the target correspondence to the first network node, when the first network node receives a first IPv6 message including the indication information and not carrying SRH, the first network node can determine the forwarding information according to the target correspondence to implement source routing forwarding.
  • the present solution provides an SR-TE implementation method without using SRH, and source routing forwarding can be implemented by carrying indication information indicating source routing forwarding behavior in the first IPv6 message, without carrying SRH in the first IPv6 message.
  • the length of the indication information is less than the length of the SRH, especially when the number of SIDs included in the SID list is large, the length of the indication information is much smaller than that of the SRH.
  • the message length of the non-payload part in the first IPv6 message can be reduced, thereby reducing the bandwidth resources occupied by the non-payload part, and correspondingly increasing the available bandwidth of the payload part used to carry the service, thereby achieving the effect of improving the service transmission efficiency.
  • the controller may also send the segment identifier list SID list corresponding to the source routing forwarding behavior and the indication information to the head node of the message forwarding path, so that when the head node receives the service message, it can determine the SID list for forwarding the service message, and further determine the indication information based on the SID list, thereby generating a first IPv6 message including the indication information and not carrying the SRH.
  • the forwarding information includes: a next hop segment identifier SID.
  • the forwarding information further includes: an outgoing interface.
  • the forwarding information includes a SID list corresponding to the source routing forwarding behavior, and the SID list includes the next hop SID.
  • the forwarding information includes: a next hop target field, and the next hop target field includes a next hop locator field and a next hop function field.
  • the forwarding information further includes an outbound interface.
  • the indication information is also used to indicate slice information, and accordingly, the target correspondence also includes a correspondence between the indication information and the slice identifier.
  • an embodiment of the present application provides a message processing device, which is applied to a first network node, and the device includes: an acquisition unit, used to acquire a first Internet Protocol version 6 IPv6 message, the first IPv6 message does not carry a segment routing header SRH, the first IPv6 message includes indication information, and the indication information is used to indicate source routing forwarding behavior, and the source routing forwarding behavior includes: forwarding the message based on the message forwarding path indicated by the segment identification list SID list; a sending unit, used to forward the first IPv6 message.
  • the first network node is an intermediate node of the first IPv6 message forwarding path, and the sending unit is used to forward the first IPv6 message according to the indication information.
  • the device also includes: a processing unit, used to determine forwarding information based on the indication information and a target correspondence before forwarding the first IPv6 message according to the indication information, and the target correspondence includes: a correspondence between the indication information and the forwarding information; the sending unit is used to: forward the first IPv6 message according to the forwarding information.
  • the forwarding information includes: a next hop segment identifier SID; the sending unit is used to: update the destination address in the first IPv6 message according to the next hop SID to obtain a second IPv6 message, and the destination address of the second IPv6 message is the next hop SID; and forward the second IPv6 message.
  • the forwarding information further includes: an outbound interface; and forwarding the second IPv6 packet includes: forwarding the second IPv6 packet through the outbound interface.
  • the forwarding information includes the SID list, and the SID list includes the next hop SID.
  • the indication information is carried in an IPv6 header of the first IPv6 message.
  • the indication information is carried in a destination options header DOH of the first IPv6 message.
  • the indication information is carried in the destination address of the first IPv6 message. In the arguments field.
  • the function field of the destination address indicates to perform source routing forwarding behavior based on the indication information.
  • the indication information is carried in the arguments field of the destination address of the first IPv6 message, and the forwarding information includes: a next hop target field, and the next hop target field includes a next hop locator field and a next hop function field; the sending unit is used to: update the destination address of the first IPv6 message according to the next hop target field to obtain a third IPv6 message, the destination address of the third IPv6 message includes the next hop target field and the indication information, and the indication information is carried in the arguments field of the destination address of the third IPv6 message; forward the third IPv6 message.
  • the forwarding information further includes: an outbound interface; and forwarding the third IPv6 packet includes: forwarding the third IPv6 packet through the outbound interface.
  • the indication information is also used to indicate slice information, and accordingly, the target correspondence also includes a correspondence between the indication information and the slice identifier.
  • the device includes a processing unit that is further used to: determine the slice identifier based on the indication information and the target correspondence.
  • the first network node is an intermediate node of the first IPv6 message forwarding path
  • the device further includes: a receiving unit, configured to receive the target correspondence relationship sent by the controller before receiving the first IPv6 message.
  • the first network node is an intermediate node of the first IPv6 message forwarding path
  • the device also includes: a receiving unit, used to receive a first Internet Protocol version 6 segment routing SRv6 message before receiving the first IPv6 message, the first SRv6 message including the indication information and SRH, and the first SRv6 message is used to create the target correspondence relationship; the processing unit included in the device is also used to obtain the target correspondence relationship based on the indication information and the SRH included in the first SRv6 message.
  • the first SRv6 message is generated by a head node of the message forwarding path.
  • the first network node is the head node of the first IPv6 message forwarding path
  • the acquisition unit is used to: receive a service message sent by a user-side device; determine the message forwarding path corresponding to the service message; determine the indication information according to the message forwarding path, and generate the first IPv6 message based on the indication information.
  • the processing unit included in the device is also used to generate the indication information before generating the first IPv6 message, or the receiving unit included in the device is also used to receive the indication information sent by the controller before receiving the first IPv6 message.
  • an embodiment of the present application provides an information processing device, which is applied to a controller, and the device includes: a processing unit, which is used to determine a correspondence between indication information and a target, wherein the indication information is used to indicate source routing forwarding behavior, and the target correspondence includes: a correspondence between the indication information and the forwarding information corresponding to the source routing forwarding behavior; a sending unit, which is used to send the target correspondence to a first network node, so that when the first network node receives a first Internet Protocol version 6 IPv6 message including the indication information and not carrying a segment routing header SRH, the forwarding information is determined according to the target correspondence, and the first network node is an intermediate node on the message forwarding path of the first IPv6 message.
  • the sending unit is further used to send the segment identifier list SID list corresponding to the source routing forwarding behavior and the indication information to the head node of the message forwarding path.
  • the forwarding information includes: a next hop segment identifier SID.
  • the forwarding information further includes: an outgoing interface.
  • the forwarding information includes a SID list corresponding to the source routing forwarding behavior, and the SID list includes the next hop SID.
  • the forwarding information includes: a next hop target field, and the next hop target field includes a next hop locator field and a next hop function field.
  • the forwarding information further includes an outbound interface.
  • the indication information is also used to indicate slice information, and accordingly, the target correspondence also includes a correspondence between the indication information and the slice identifier.
  • an embodiment of the present application provides a device.
  • the device includes a processor and a memory.
  • the memory is used to store instructions or computer programs.
  • the processor is used to execute the instructions or computer programs in the memory, execute the method described in any one of the first aspects above, or execute the method described in any one of the second aspects above.
  • an embodiment of the present application provides a computer-readable storage medium, including instructions or a computer program, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect above, or execute any of the methods described in the second aspect above.
  • an embodiment of the present application provides a computer program product comprising instructions or a computer program, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect above, or execute any of the methods described in the second aspect above.
  • an embodiment of the present application provides a communication system, comprising: a first network node that executes the method described in any one of the first aspect above, and a controller that executes the method described in any one of the second aspect above.
  • FIG. 1a is a schematic diagram of the structure of an IPv6 message provided in an embodiment of the present application.
  • FIG1b is a schematic diagram of the structure of an SRH provided in an embodiment of the present application.
  • FIG1c is a schematic diagram of the structure of another SRH provided in an embodiment of the present application.
  • FIG1d is a schematic diagram of a message forwarding method provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of an exemplary application scenario provided in an embodiment of the present application.
  • FIG3 is a flow chart of a message processing method provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a process of creating a target correspondence relationship provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a flow chart of an information processing method provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of the architecture of another communication system provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of a message processing device provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of the structure of an information processing device provided in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the structure of a device provided in an embodiment of the present application.
  • the embodiments of the present application provide a message processing method, an information processing method and an apparatus, which can improve the efficiency of IPv6 network transmission services.
  • the IPv6 message may include an IPv6 header, at least one IPv6 extension header and a payload. Among them:
  • IPv6 extension headers can include SRH, DOH, hop-by-hop option headers, etc.
  • RRC request for comments
  • the payload can be used to carry services.
  • SRH can be used to guide source routing forwarding behavior and is widely used. IPv6 packets carrying SRH are called SRv6 packets.
  • SRH may include an SRH header and a segment list, wherein:
  • the SRH header occupies 8 bytes.
  • the various fields in the SRH header are not described in detail here.
  • the segment list can also be called the SID list.
  • the SID list can be used to indicate the message forwarding path.
  • the SID list can include multiple SIDs.
  • the multiple SIDs can be multiple IPv6 addresses, one IPv6 address corresponds to one SID, and the IPv6 address is used to indicate the intermediate nodes passed during the message forwarding process.
  • the multiple SIDs can be the identifiers of multiple adjacent links, one adjacent link identifier corresponds to one SID, and the adjacent link identifier is used to indicate the adjacent link through which the message is forwarded.
  • the aforementioned IPv6 address and adjacent link identifier are both 128 bits.
  • the adjacent link between two nodes in the embodiment of the present application refers to a link used for direct communication between the two nodes.
  • the other node is the next hop of the previous node.
  • the length of SRH is related to the number of SIDs included in the SID list.
  • the length of the SRH is: (8+16*n) bytes. For example, when n is 7, the length of SRH is 120 bytes, and when n is 20, the length of SRH is 328 bytes.
  • SRH occupies a certain amount of bandwidth resources, especially when the value of n is large, SRH occupies more bandwidth resources, thereby affecting the transmission efficiency of the service.
  • the SID in order to reduce the length of the SID list, can be carried in the form of "block + micro-SID (uSID)".
  • micro-SID can also be called micro-segment.
  • the block occupies 64 bits and the uSID occupies 16 bits.
  • the block field is used to carry the common prefix of the network nodes in a certain area, and the uSID field can be used to carry the network node ID or function ID.
  • the uSID1 field is used to carry the ID of network node 1
  • the uSID2 field is used to carry the function ID of network node 1
  • the uSID3 field is used to carry the ID of network node 2
  • the uSID4 field is used to carry the function ID of network node 2.
  • the function ID of block 1 is used to carry the common prefix of network node 1 and network node 2. In this way, 128 bits are used to carry the information of two network nodes. If the information carried by the SID list is as shown in Figure 1b, 256 bits are required to carry the information of two nodes.
  • the length of the SID list can be reduced.
  • the block can only use the local IPv6 unicast address (LUA), and LUA cannot be exposed to the operator network, that is, the applicable scenarios of this method are limited to private networks.
  • LUA IPv6 unicast address
  • the length of the uSID field is 16 bits, the number of nodes it can represent is limited, making this method not applicable to large-scale networks with a large number of network nodes.
  • the embodiments of the present application provide a message processing method, an information processing method and a device, which can achieve the effect of improving business transmission efficiency, and its application scenarios are not limited to private networks, and can also be applied to large-scale networks.
  • the head node specifies the complete message forwarding path, and the intermediate node guides the message forwarding according to the forwarding path indicated by the head node until the message is forwarded to the destination node.
  • the head node can encapsulate SRH in the message, and the SID list in SRH is used to indicate the complete message forwarding path.
  • the message forwarding path specified by the head node can be sent to the head node by the controller.
  • Figure 1d is a schematic diagram of a message forwarding method provided in an embodiment of the present application.
  • the head node 101 determines that the message is forwarded to the destination node 104 through the intermediate node 102 and the intermediate node 103 in sequence.
  • the SRH of the SRv6 message generated by the head node 101 carries the segment list 1, which includes 3 IPv6 addresses, namely address 2, address 3 and address 4, where: address 2 is the address of the intermediate node 102, address 3 is the address of the intermediate node 103, and address 4 is the address of the destination node 104.
  • the head node 101 After generating the SRv6 message, the head node 101 analyzes the segment list in the SRH and determines that the next hop node to be forwarded is the intermediate node 102 . Therefore, the head node 101 modifies the destination address of the SRv6 message to address 2 and forwards the SRv6 message to the intermediate node 102 .
  • the SRv6 message received by the intermediate node 102 also includes the aforementioned segment list 1, and the destination address of the message is address 2.
  • the intermediate node 102 determines that the next hop SID of address 2 is address 3, and thus determines that the next node to be forwarded is the intermediate node 103. Therefore, the intermediate node 102 modifies the destination address of the SRv6 message to address 3, and forwards the SRv6 message to the intermediate node 103.
  • the SRv6 message received by the intermediate node 103 also includes the aforementioned segment list 1.
  • the intermediate node 103 determines that the next hop SID of address 3 is address 4, thereby determining that the next node to be forwarded is the destination node 104. Therefore, the intermediate node 103 modifies the destination address of the SRv6 message to address 4, and forwards the SRv6 message to the destination node 104, thereby completing the message forwarding.
  • the aforementioned nodes may also modify other fields in the SRv6 message, for example, modify the SL field in the SRH header, which will not be described in detail here.
  • the aforementioned head node 101, intermediate node 102, intermediate node 103 and destination node 104 are all nodes supporting SRv6 technology.
  • the head node 101 forwards the SRv6 message to the intermediate node 103. In the process of reaching point 102, it may also pass through several other nodes.
  • FIG. 1d takes the IPv6 address of the node carried in the segment list as an example for explanation, but the segment list may also carry the identifiers of several adjacent links, and the specific message forwarding method is the same as the forwarding method carrying the IPv6 address, which will not be repeated here.
  • the controller can interact with network nodes such as provider edge devices (provider edge, PE) 1, PE2, PE3, PE4, and provider backbone devices (provider, P) 1, P2, P3 and P4.
  • network nodes such as provider edge devices (provider edge, PE) 1, PE2, PE3, PE4, and provider backbone devices (provider, P) 1, P2, P3 and P4.
  • the controller can interact with the network nodes through route reflectors (route reflectors, RR).
  • route reflectors route reflectors, RR.
  • the connection relationship between network nodes and the connection relationship between customer edge devices (customer edge, CE) and network nodes are not described in detail here.
  • Figure 3 is a flow chart of a message processing method provided by the embodiment of the present application.
  • the method shown in Figure 3 can be applied to a first network node, and the first network node can be the head node of the message forwarding path corresponding to the source routing forwarding behavior, or it can be an intermediate node of the message forwarding path.
  • the source routing forwarding behavior mentioned here can be understood as forwarding based on the message forwarding path indicated by the SID list.
  • the message forwarding path corresponding to the source routing forwarding behavior can be the message forwarding path indicated by the SID list.
  • the message forwarding path indicated by the SID list please refer to the relevant description part of the previous text, and no repeated description will be made here.
  • the scenario shown in Figure 2 is used as an example: assuming that PE1-P1-P2-PE2 is an SRv6 path, the first network node can be the head node PE1 of the SRv6 path, or it can be the intermediate node P1 or P2 of the SRv6 path.
  • the method may include, for example, the following S101 - S102 .
  • S101 Obtain a first IPv6 message, wherein the first IPv6 message does not carry an SRH, and the first IPv6 message includes indication information, wherein the indication information is used to indicate a source routing forwarding behavior, and the source routing forwarding behavior includes: forwarding a message based on a message forwarding path indicated by a SID list.
  • the embodiment of the present application does not specifically limit the carrying position of the indication information in the first IPv6 message.
  • the indication information may be carried in the IPv6 header of the first IPv6 message, for example, by using an unused field in the IPv6 header, or by using one or more bits that have not been used in a used field.
  • the indication information may be carried in a flow label field in the IPv6 header.
  • the indication information may be carried in an extension header of the first IPv6 message.
  • the embodiment of the present application does not specifically limit the extension header, and the extension header may be any extension header except SRH.
  • the indication information may be carried in the DOH of the first IPv6 message.
  • the indication information may be carried in the hop-by-hop option header of the first IPv6 message.
  • the destination address of the IPv6 message is an IPv6 address, which includes 128 bits.
  • the destination address of the IPv6 message may include three parts, namely, a locator field, a function field, and an arguments field. Among them:
  • the locator field is used to carry a locator.
  • the locator has a positioning function and indicates the network segment that can reach the node. For example, the locator of node 1 indicates the network segment that can reach node 1.
  • the function field is used to instruct the node to perform a specific function operation, which can be defined by the user;
  • the indication information can be carried in the arguments field of the destination address of the first IPv6 message. In this case, there is no need to extend a new field to carry the indication information, thereby saving the length of the first IPv6 message.
  • SRH can be used to indicate source routing forwarding behavior.
  • indication information is used to replace SRH to indicate source routing forwarding behavior.
  • the carrying method of indication information in the first IPv6 message can be known:
  • the indication information can be carried using existing fields in the IPv6 message, for example, using the arguments field of the IPv6 header or the destination address to carry the indication information.
  • using this solution can effectively save the message length, and the saved message length is the length of the entire SRH.
  • the IPv6 extension header may be used to carry the indication information, and the message length increased by carrying the indication information is less than the length of the SRH. Therefore, in this case, using this solution can also effectively save the message length.
  • the first network node can be the head node of the message forwarding path indicated by the SID list, or it can be an intermediate node of the message forwarding path indicated by the SID list. In one example, when the first network node is an intermediate node of the message forwarding path, the first network node can receive the first IPv6 message from an upstream node. In another example, when the first network node is the head node of the message forwarding path, the first network node can generate the first IPv6 message.
  • the head node may generate the first IPv6 message through the following steps A1-A3.
  • Step A1 Receive a service message sent by a user-side device.
  • the user side device mentioned here may be, for example, a CE.
  • PE1 as a head node may receive a service message sent by CE1.
  • the service message may be an IPv4 message or an IPv6 message, which is not specifically limited in the embodiment of the present application.
  • Step A2 Determine the message forwarding path corresponding to the service message.
  • a message forwarding path for forwarding the business message can be further determined.
  • the embodiment of the present application does not specifically limit the specific implementation method of determining the message forwarding path corresponding to the business message.
  • the message forwarding path corresponding to the business message can be determined according to the destination address of the business message.
  • the virtual private network (VPN) instance corresponding to the business message can be determined according to the interface for receiving the business message, and further, the message forwarding path can be determined according to the VPN instance.
  • VPN virtual private network
  • determining the message forwarding path may include, for example, determining a SID list indicating the message forwarding path.
  • determining an SRv6 policy for the service message may include the SID list.
  • Step A3 Determine the indication information according to the message forwarding path, and generate the first IPv6 message based on the indication information.
  • the aforementioned indication information may be further determined based on the message forwarding path, and the service message may be further encapsulated based on the indication information to obtain the first IPv6 message.
  • the indication information may also be obtained.
  • the first network node may obtain the indication information. Two possible implementations are described below.
  • the controller may generate the indication information and send it to the first network node.
  • the first network node may receive the indication information sent by the controller.
  • the controller may send the indication information and the SID list to the first network node in correspondence, and accordingly, the first network node may save the correspondence between the indication information and the SID list.
  • the first network node may further determine the indication information based on the correspondence between the indication information and the SID list.
  • the first network node may generate the indication information.
  • the first network node may generate the indication information and save the correspondence between the indication information and the SID list.
  • the first network node executes step A2 it may further determine the indication information based on the correspondence between the indication information and the SID list.
  • it may generate the indication information.
  • the embodiment of the present application does not specifically limit the method for generating the indication information. Whether the indication information is generated by the controller or by the first network node, the method for generating the indication information may be the same. For the method for generating the indication information, reference may be made to the relevant description below, which will not be described in detail here.
  • the first network node when the first network node is the head node of the message forwarding path indicated by the aforementioned SID list, the first network node can determine the output interface according to the destination address of the first IPv6 message, and forward the first IPv6 message to the downstream node through the output interface.
  • the first IPv6 message can be forwarded according to the indication information, thereby realizing source routing forwarding.
  • the first network node can be pre-configured to perform source routing forwarding behavior based on the indication information.
  • the first network node can determine to perform source routing forwarding behavior based on the indication information according to a specific field in the first IPv6 message. The embodiment of the present application does not specifically limit the specific field.
  • the specific field and the indication information are carried in the same IPv6 extension header.
  • the specific field can be the function field of the destination address of the first IPv6 message. In this case, the specific field can be carried in the first IPv6 message without additionally increasing the length of the first IPv6 message.
  • the first network node when it performs source routing forwarding behavior according to the indication information, it can determine the forwarding information corresponding to the source routing forwarding behavior according to the indication information, and further forward the first IPv6 message based on the forwarding information, thereby realizing source routing forwarding.
  • the first network node may pre-save a target correspondence relationship, which may include a correspondence relationship between the indication information and the forwarding information. Accordingly, after obtaining the indication information from the first IPv6 message, the first network node may obtain the forwarding information according to the indication information and the target correspondence relationship.
  • the first network node when a network node performs SRv6 forwarding, it can determine the next hop SID from the SID list and forward based on the next hop SID.
  • the first network node may forward the first IPv6 message based on the next hop SID.
  • the first network node may update the destination address in the first IPv6 message according to the next hop SID to obtain a second IPv6 message, and the destination address of the second IPv6 message is the next hop SID.
  • the first network node may replace the destination address of the first IPv6 message with the next hop SID to obtain the second IPv6 message.
  • the first network node may further forward the second IPv6 message.
  • the second IPv6 message is the same as the first IPv6 message except for the destination address field.
  • the second IPv6 message also includes the aforementioned indication information so that the node receiving the second IPv6 message performs source routing forwarding based on the indication information.
  • the second IPv6 message in addition to the destination address field, also has other fields that control message forwarding that are different, which is not specifically limited in the embodiments of the present application.
  • the forwarding information includes a next-hop SID
  • the forwarding information includes a SID list
  • the SID list includes the next-hop SID.
  • the first network node may first determine the SID list based on the target correspondence and the indication information, and further determine the next-hop SID from the SID list.
  • the forwarding information includes the SID list
  • the first network node may determine a complete message forwarding path based on the SID list, so that in the event of a failure in the message forwarding path, the service can be switched to a backup path for forwarding.
  • the forwarding information may also include other content, for example, it may include other content in the SRH header of the SRH used to indicate the source routing forwarding behavior, which is not specifically limited in the embodiments of the present application.
  • the first network node when the first network node forwards the second IPv6 message, for example, it can match the destination address of the second IPv6 message with the message forwarding table to determine the output interface for forwarding the second IPv6 message, and further forward the second IPv6 message through the output interface.
  • the aforementioned forwarding information may also include the output interface, so that the first network node can directly determine the output interface based on the target correspondence and forward the second IPv6 packet through the output interface.
  • the aforementioned indication information may be carried in the arguments field of the destination address of the first IPv6 message.
  • the aforementioned forwarding information may include a next hop destination field, and the next hop destination field includes a next hop locator field and a next hop function field.
  • the first network node may further obtain a third IPv6 message based on the next hop target field and the first IPv6 message, and further forward the third IPv6 message.
  • the destination address of the first IPv6 message can be updated according to the next hop target field to obtain the third IPv6 message, and the destination address of the third IPv6 message includes the next hop target field and the indication information, and the indication information is carried in the arguments field of the destination address of the third IPv6 message.
  • the first network node can replace the destination field of the destination address of the first IPv6 message with the next hop target field, and keep the arguments field of the destination address of the first IPv6 message unchanged, thereby obtaining the third IPv6 message.
  • the third IPv6 packet is compared with the first IPv6 packet, except for the target field of the destination address
  • the third IPv6 message is different from the first IPv6 message in that the target field of the destination address is different and other fields for controlling message forwarding are also different, which is not specifically limited in the embodiment of the present application.
  • the first network node when the first network node forwards the third IPv6 message, for example, it can match the destination address of the third IPv6 message with the message forwarding table to determine the output interface for forwarding the third IPv6 message, and further forward the third IPv6 message through the output interface.
  • the aforementioned forwarding information may also include an outgoing interface, so that the first network node can directly determine the outgoing interface based on the target correspondence and forward the third IPv6 packet through the outgoing interface.
  • the message forwarding path indicated by the aforementioned SID list can be associated with a network slice. That is, the message forwarding path can be associated with a certain slice identifier.
  • the message forwarding path when the head node of the message forwarding path forwards the message, it will add the slice identifier to the message and perform corresponding forwarding behavior based on the slice identifier.
  • the message received by the intermediate node of the message forwarding includes the slice identifier, and the intermediate node can perform corresponding forwarding behavior based on the slice identifier.
  • the aforementioned indication information can also be used to indicate the slice information.
  • the aforementioned target correspondence can also include the correspondence between the indication information and the slice identifier.
  • the first IPv6 message may not need to carry the slice identifier.
  • the first network node After the first network node receives the first IPv6 message, it can determine the slice identifier based on the indication information and the target correspondence. Further, in one example, the first network node can perform a forwarding behavior corresponding to the slice identifier, for example, determine the forwarding resource according to the slice identifier, and further forward the message based on the forwarding resource.
  • the forwarding resources mentioned here can be a physical sub-interface, a channelized sub-interface, or a Flexible Ethernet (FlexE) interface, and the embodiments of the present application do not make specific limitations.
  • the message forwarding path indicated by the aforementioned SID list can be associated with an APN. That is, the message forwarding path can be associated with a certain APN identifier.
  • the head node of the message forwarding path forwards the message, it will add the APN identifier to the message and perform corresponding data processing behavior based on the APN identifier.
  • the message received by the intermediate node of the message forwarding includes the APN identifier, and the intermediate node can perform corresponding data processing behavior based on the APN identifier.
  • the aforementioned indication information can also be used to indicate the APN information.
  • the aforementioned target correspondence relationship can also include the correspondence between the indication information and the APN identifier.
  • the first IPv6 message may not need to carry the APN identifier.
  • the first network node After the first network node receives the first IPv6 message, it can determine the APN identifier based on the indication information and the target correspondence relationship. Further, in one example, the first network node can perform data processing behavior corresponding to the APN identifier, for example, perform corresponding forwarding behavior, and for example, perform network parameter statistics behavior, etc.
  • the indication information may be an identifier of the message forwarding path indicated by the SID list.
  • the path identifier may be generated by calculating the SID list according to a specific algorithm, and the path identifier may be used as the indication information.
  • the SID list may be calculated using a hash algorithm, and the result of the hash calculation may be used as the indication information.
  • the path identifier in order to ensure that The indication information is globally unique, and the path identifier can be generated by calculating the SID list and the identifier of the head node of the message forwarding path indicated by the SID list according to a specific algorithm, and the path identifier is used as the indication information.
  • the identifier of the head node and the SID list can be concatenated, and the concatenation result can be calculated using a hash algorithm, and the calculation result of the hash calculation can be used as the indication information.
  • the indication information may be obtained, for example, based on the path identifier and the slice identifier indicated by the indication information.
  • the path identifier and the slice identifier may be calculated according to a specific algorithm to obtain the indication information. For example, a hash algorithm may be used to calculate the path identifier and the slice identifier to obtain the indication information.
  • the indication information may be obtained, for example, based on the path identifier and the APN identifier indicated by the indication information.
  • the path identifier and the APN identifier may be calculated according to a specific algorithm to obtain the indication information.
  • the path identifier and the APN identifier may be calculated using a hash algorithm to obtain the indication information.
  • the indication information may be obtained, for example, based on the path identifier, the slice identifier indicated by the indication information, and the APN identifier indicated by the indication information.
  • the path identifier, the slice identifier, and the APN identifier may be calculated according to a specific algorithm to obtain the indication information.
  • the path identifier, the slice identifier, and the APN identifier may be calculated using a hash algorithm to obtain the indication information.
  • source routing forwarding can be achieved by carrying indication information indicating source routing forwarding behavior in the first IPv6 message, without carrying SRH in the first IPv6 message.
  • the length of the indication information is smaller than the length of the SRH, especially when the number of SIDs included in the SID list is large, the length of the indication information is much smaller than the length of the SRH.
  • the present solution provides an SR-TE implementation method without using SRH, which can reduce the message length of the non-payload part in the first IPv6 message, thereby reducing the bandwidth resources occupied by the non-payload part, and correspondingly, increasing the available bandwidth of the payload part used to carry the service, thereby achieving the effect of improving the service transmission efficiency.
  • the first network node when the first network node is an intermediate node of the message forwarding path indicated by the SID list, the first network node performs source routing forwarding based on the indication information. Compared with source routing forwarding based on SRH, the length of the message header processed by the first network node is reduced, and the efficiency of source routing forwarding by the first network node is correspondingly improved.
  • this solution can not only save more message length, but also is applicable to scenarios other than internal networks, and can also be used on a larger network scale.
  • the first network node may pre-store the target correspondence relationship.
  • the target correspondence relationship may be created by the first network node, or may be sent to the first network node under control, which is not specifically limited in the embodiment of the present application.
  • Figure 4 is a schematic diagram of a process of creating a target correspondence relationship provided by an embodiment of the present application.
  • the method shown in Figure 4 may include the following S201-S202.
  • S201 Receive a first SRv6 message, where the first SRv6 message includes the indication information and the SRH, and the first SRv6 message is used to create the target corresponding relationship.
  • the first network node may receive the first SRv6 message from an upstream node.
  • the indication information and SRH included in the SRv6 message are used to indicate the same source routing forwarding behavior.
  • the SID list carried by the SRH is the SID list corresponding to the source routing forwarding behavior indicated by the indication information.
  • the first SRv6 message may be generated by the head node of the aforementioned message forwarding path.
  • the head node may generate the first SRv6 message including the indication information and the SRH carrying the SID list according to the SID list and the indication information.
  • the embodiment of the present application does not specifically limit the timing when the head node generates the first SRv6 message.
  • the head node may generate the first SRv6 message when the message forwarding path starts to transmit service data.
  • the first SRv6 message may include service data.
  • the head node may also generate the first SRv6 message before the message forwarding path starts to transmit service data. In this case, the first SRv6 message may not include service data.
  • the first network node may parse the first SRv6 message to obtain the indication information and SRH carried in the first SRv6 message, and further obtain the target correspondence based on the indication information and the SRH.
  • the first network node may obtain the target correspondence based on the indication information carried in the SRv6 message and the SID list included in the SRH.
  • the forwarding information may be first determined, and then a target correspondence between the forwarding information and the indication information may be further created.
  • the target correspondence may include a correspondence between indication information and forwarding information.
  • the forwarding information includes the following situations:
  • the third case SID list
  • the fourth case the next hop target field, the target field includes locator and function;
  • the fifth case next hop target field and outgoing interface.
  • obtaining the forwarding information can be performed by extracting the forwarding information from the SRH in a specific implementation.
  • the next hop SID and the next hop target field can be extracted from the SID list included in the SRH.
  • obtaining the forwarding information may also include matching the next hop SID with a message forwarding table to obtain the outgoing interface.
  • obtaining the forwarding information may also include matching the next hop target field with a message forwarding table to obtain the outgoing interface.
  • the first SRv6 message may also include a slice identifier, and accordingly, the target correspondence created by the first network node may also include a correspondence between the indication information and the slice identifier.
  • the embodiment of the present application does not specifically limit the carrying position of the slice identifier in the first SRv6 message.
  • the slice identifier may be carried in an IPv6 extension header of the first SRv6 message.
  • the slice identifier may be carried in a hop-by-hop option header of the first SRv6 message.
  • the first SRv6 message may also include an APN identifier, and accordingly, the target correspondence created by the first network node may also include a correspondence between the indication information and the APN identifier.
  • the embodiment of the present application does not specifically limit the carrying position of the APN identifier in the first SRv6 message.
  • the APN identifier may be carried in the IPv6 extension header of the first SRv6 message.
  • the APN identifier may be carried in the DOH of the first SRv6 message.
  • the first network node After receiving the first SRv6 message, the first network node can, in addition to executing S202, obtain a second SRv6 message according to the first SRv6 message, for example, update the destination address of the first SRv6 message according to the next hop SID to obtain the second SRv6 message.
  • the first network node can continue to forward the second SRv6 message to the downstream node, and the second SRv6 message also includes the at least information, so that the downstream node can create the target correspondence relationship matching itself based on the second SRv6 message.
  • each intermediate node in the message forwarding path can create a target correspondence relationship that matches itself.
  • the tail node when the second SRv6 message is forwarded along the message forwarding path to the tail node of the message forwarding path, the tail node can, for example, create a correspondence relationship between the indication information and the tail node indication, wherein the tail node indication is used to indicate that it is the tail node of the message forwarding path associated with the indication information.
  • the tail node when the aforementioned first IPv6 message is forwarded to the tail node, the tail node can obtain the tail node indication based on the correspondence between the indication information and the tail node indication, thereby determining that itself is the tail node of the forwarding path of the first IPv6 message. Accordingly, the tail node can strip off the IPv6 header and IPv6 extension header of the first IPv6 message to obtain the service message, and further forward the service message.
  • the tail node after the tail node creates the correspondence between the indication information and the tail node indication, it can send a notification message to the head node, and the notification message is used to notify the head node that the tail node has successfully created a correspondence including the indication information.
  • the head node receives the notification message, if it receives a service message sent by the aforementioned user-side device, when the head node encapsulates the service message, it can encapsulate the service message based on the service message and the aforementioned indication information without encapsulating the SRH.
  • the controller may first determine the aforementioned target correspondence corresponding to each intermediate node, and send the determined target correspondence to the corresponding head node.
  • the implementation method of the controller determining the target correspondence corresponding to each intermediate node is similar. Taking the controller determining the target correspondence corresponding to the first network node as an example, the controller can first determine the forwarding information and further create a target correspondence between the forwarding information and the indication information.
  • forwarding information includes the following situations:
  • the third case SID list
  • the fourth case the next hop target field, the target field includes locator and function;
  • the fifth case next hop target field and outgoing interface.
  • the specific implementation method in which the controller determines the forwarding information is similar to the method in which the first network node determines the forwarding information, and the controller can extract the forwarding information from the SID list.
  • determining the forwarding information may also include obtaining the output interface based on the network topology information collected by the controller.
  • determining the forwarding information may also include obtaining the output interface based on the network topology information collected by the controller.
  • the embodiment of the present application also provides an information processing method applied to the controller. See Figure 5, which is a flow chart of an information processing method provided by the embodiment of the present application.
  • the information processing method shown in Figure 5, for example, may include the following S301-S302.
  • S301 Determine a correspondence between indication information and a target, wherein the indication information is used to indicate a source routing forwarding behavior, and the target correspondence includes: a correspondence between the indication information and forwarding information corresponding to the source routing forwarding behavior.
  • S302 Send the target correspondence to a first network node, so that when the first network node receives a first IPv6 message including the indication information and not carrying the SRH, the first network node determines the forwarding information according to the target correspondence, and the first network node is an intermediate node on the message forwarding path of the first IPv6 message.
  • the controller may also send the table SID list corresponding to the source routing forwarding behavior and the indication information to the head node of the message forwarding path.
  • FIG. 6 this figure is a schematic diagram of the architecture of a communication system provided by the embodiment of the present application.
  • the communication system may include a controller and network nodes PE1, P1, P2 and PE2.
  • the message forwarding path of PE1 ⁇ P1 ⁇ P2 ⁇ PE2 is introduced.
  • the method provided in the embodiment of the present application may, for example, include the following steps B1-B15.
  • Step B1 The controller collects network topology, including END END.X, END.DT and other information, and also collects information on whether the network nodes support compression capabilities for source routing forwarding based on indication information.
  • Step B2 The controller calculates a path PE1 ⁇ P1 ⁇ P2 ⁇ PE2 that meets the requirements according to the service level agreement (SLA), and arranges the SID LIST of SRv6policy based on the calculated path, and assigns a path ID to the path.
  • SLA service level agreement
  • Step B3 The controller sends the orchestrated SRv6 policy and the assigned path ID to the head node PE1 through the Border Gateway Protocol (BGP).
  • BGP Border Gateway Protocol
  • the SRv6 policy can carry the IP address headend of the head node, the IP address endpoint of the tail node, and the color attribute.
  • the SRv6 policy can also carry the SID list.
  • Step B4 When PE2 publishes a route, it carries the color attribute and endpoint.
  • the route received by the head node PE1 is iterated to the aforementioned SRv6 policy according to the endpoint and color.
  • Step B5 The head node PE1 generates SRv6 message 1 according to the aforementioned path ID and the SID list of SRv6 policy.
  • SRv6 message 1 includes SRH carrying the SID list and the aforementioned path ID.
  • the path ID is carried in the DOH of SRv6 message 1.
  • Step B6 The head node PE1 sends the SRv6 message 1 to the intermediate node P1.
  • Step B7 The intermediate node P1 saves the correspondence between the path ID and the next hop SID1 according to the SRv6 message 1, wherein the node indicated by the next hop SID is the intermediate node P2.
  • the target correspondence relationship stored in the intermediate node P1 may also be the correspondence relationship between the path ID, the next hop SID1, and the outbound interface; in yet other examples, the target correspondence relationship stored in the intermediate node P1 may also be the correspondence relationship between the path ID and the SID list.
  • Step B8 The intermediate node P1 forwards the SRv6 message 2 obtained according to the SRv6 message 1 to the intermediate node P2.
  • the intermediate node P1 may modify the SL field in the SRH of the SRv6 message 1 and the destination address field of the SRv6 message 1 to obtain the SRv6 message 2.
  • Step B9 The intermediate node P1 saves the correspondence between the path ID and the next hop SID2 according to the received SRv6 message 2, where the node indicated by the next hop SID2 is the tail node PE2.
  • the target correspondence relationship stored in the intermediate node P2 may also be the correspondence relationship between the path ID, the next hop SID2, and the outbound interface; in yet other examples, the target correspondence relationship stored in the intermediate node P2 may also be the correspondence relationship between the path ID and the SID list.
  • Step B10 The intermediate node P2 forwards the SRv6 message 3 obtained according to the SRv6 message 2 to the egress node PE2.
  • the intermediate node P2 may modify the SL field in the SRH of the SRv6 message 2 and the destination address field of the SRv6 message 2 to obtain the SRv6 message 3.
  • Step B11 The tail node PE2 determines that it is the tail node that forwards the SRv6 message 3 based on the received SRv6 message 3. Therefore, the tail node PE2 can save the correspondence between the path ID and the tail node indication.
  • Step B12 the tail node PE2 sends a notification message to the head node PE1, where the notification message is used to notify the head node PE1 that the tail node PE2 has successfully created a corresponding relationship including the indication information.
  • Step B13 After receiving the notification message, the tail node can generate IPv6 message 1 including the path ID but not including the SRH during the message forwarding phase, and forward IPv6 message 1.
  • Step B13 The intermediate node P1 forwards the IPv6 packet 2 obtained according to the IPv6 packet 1 to the intermediate node P2 based on the path ID and the corresponding relationship between the locally stored targets, and the IPv6 packet 2 includes the aforementioned path ID.
  • Step B14 The intermediate node P2 forwards IPv6 packet 3 obtained from IPv6 packet 2 to the tail node PE2 based on the path ID and the corresponding relationship between the locally stored targets.
  • Step B15 When the tail node PE2 receives IPv6 message 3, it strips off the outer IPv6 header and IPv6 extension header of IPv6 message 3 based on the path ID and the locally stored target correspondence, and forwards the inner service message.
  • FIG. 6 is only an application scenario of the present application and does not constitute a limitation on the embodiments of the present application.
  • FIG 7 is a schematic diagram of the architecture of another communication system provided in an embodiment of the present application.
  • the target correspondence relationship stored by the intermediate node P1 and the intermediate node P2 can be the correspondence between compression ID1, forwarding information, and slice identifier 1.
  • the compression ID 1 may be obtained by calculating the path ID and the slice identifier 1 using a specific algorithm.
  • the SRv6 message 1 may also include the slice identifier 1.
  • the target correspondence relationship stored by the intermediate node P1 and the intermediate node P2 may be a correspondence relationship between compression ID2, forwarding information, and APN identifier 1, wherein compression ID2 may be calculated using a specific algorithm for the path ID and APN identifier 1.
  • the SRv6 message 1 may also include the APN identifier 1.
  • the target correspondence relationship stored by the intermediate node P1 and the intermediate node P2 may be a correspondence relationship between compression ID3, forwarding information, slice identifier 1, and APN identifier 1, wherein compression ID3 may be calculated using a specific algorithm for the path ID, slice identifier 1, and APN identifier 1.
  • the SRv6 message 1 may also include the slice identifier 1 and the APN identifier 1.
  • the aforementioned path ID may also be carried in other locations besides the DOH, such as in a hop-by-hop option header or in the arguments field of the destination address.
  • the embodiment of the present application also provides a message processing device.
  • the message processing device is introduced in conjunction with the drawings.
  • FIG 8 is a schematic diagram of the structure of a message processing device provided in an embodiment of the present application.
  • the message processing device 800 shown in Figure 8 can be applied to a first network node to execute the message processing method provided by the first network node in the above method embodiment.
  • the message processing device 800 may include: an acquiring unit 801 and a sending unit 802 .
  • the acquisition unit 801 is used to acquire a first Internet Protocol version 6 IPv6 message, wherein the first IPv6 message does not carry a segment routing header SRH, and the first IPv6 message includes indication information, wherein the indication information is used to indicate a source routing forwarding behavior, and the source routing forwarding behavior includes: forwarding the message based on a message forwarding path indicated by a segment identifier list SID list.
  • the sending unit 802 is used to forward the first IPv6 message.
  • the first network node is an intermediate node of the first IPv6 message forwarding path, and the sending unit 802 is used to forward the first IPv6 message according to the indication information.
  • the device also includes: a processing unit, used to determine forwarding information based on the indication information and a target correspondence before forwarding the first IPv6 message according to the indication information, and the target correspondence includes: a correspondence between the indication information and the forwarding information; the sending unit 802 is used to: forward the first IPv6 message according to the forwarding information.
  • the forwarding information includes: a next hop segment identifier SID; the sending unit 802 is used to: update the destination address in the first IPv6 message according to the next hop SID to obtain a second IPv6 message, the destination address of the second IPv6 message is the next hop SID; and forward the second IPv6 message.
  • the forwarding information further includes: an outbound interface; and forwarding the second IPv6 packet includes: forwarding the second IPv6 packet through the outbound interface.
  • the forwarding information includes the SID list, and the SID list includes the next hop SID.
  • the indication information is carried in an IPv6 header of the first IPv6 message.
  • the indication information is carried in a destination options header DOH of the first IPv6 message.
  • the indication information is carried in an arguments field of a destination address of the first IPv6 message.
  • the function field of the destination address indicates to perform source routing forwarding behavior based on the indication information.
  • the indication information is carried in the arguments field of the destination address of the first IPv6 message, and the forwarding information includes: a next hop target field, and the next hop target field includes a next hop locator field and a next hop function field; the sending unit 802 is used to: update the destination address of the first IPv6 message according to the next hop target field to obtain a third IPv6 message, the destination address of the third IPv6 message includes the next hop target field and the indication information, and the indication information is carried in the arguments field of the destination address of the third IPv6 message; forward the third IPv6 message.
  • the forwarding information further includes: an outbound interface; and forwarding the third IPv6 packet includes: forwarding the third IPv6 packet through the outbound interface.
  • the indication information is also used to indicate slice information, and accordingly, the target correspondence also includes a correspondence between the indication information and the slice identifier.
  • the device includes a processing unit that is further used to: determine the slice identifier based on the indication information and the target correspondence.
  • the first network node is an intermediate node of the first IPv6 message forwarding path
  • the device further includes: a receiving unit, configured to receive the target correspondence relationship sent by the controller before receiving the first IPv6 message.
  • the first network node is an intermediate node of the first IPv6 message forwarding path
  • the device also includes: a receiving unit, used to receive a first Internet Protocol version 6 segment routing SRv6 message before receiving the first IPv6 message, the first SRv6 message including the indication information and SRH, and the first SRv6 message is used to create the target correspondence relationship; the processing unit included in the device is also used to obtain the target correspondence relationship based on the indication information and the SRH included in the first SRv6 message.
  • the first SRv6 message is generated by a head node of the message forwarding path.
  • the first network node is the head node of the first IPv6 message forwarding path
  • the acquisition unit is used to: receive a service message sent by a user-side device; determine the message forwarding path corresponding to the service message; determine the indication information according to the message forwarding path, and generate the first IPv6 message based on the indication information.
  • the processing unit included in the device is also used to generate the indication information before generating the first IPv6 message, or the receiving unit included in the device is also used to receive the indication information sent by the controller before receiving the first IPv6 message.
  • the device 800 is a device corresponding to the message processing method provided by the above method embodiment, the device 800
  • the specific implementation of each unit is the same concept as the above method embodiment. Therefore, for the specific implementation of each unit of the device 800, reference can be made to the relevant description part of the above method embodiment, which will not be repeated here.
  • the embodiment of the present application also provides an information processing device.
  • the message processing device is introduced in conjunction with the accompanying drawings.
  • FIG 9 is a schematic diagram of the structure of an information processing device provided in an embodiment of the present application.
  • the information processing device 900 shown in Figure 9 can be applied to a controller to execute the information processing method performed by the controller provided in the above method embodiment.
  • the information processing device 900 may include: a processing unit 901 and a sending unit 902 .
  • the processing unit 901 is used to determine a correspondence between indication information and a target, where the indication information is used to indicate a source routing forwarding behavior, and the target correspondence includes: a correspondence between the indication information and forwarding information corresponding to the source routing forwarding behavior.
  • a sending unit 902 is used to send the target correspondence relationship to a first network node so that when the first network node receives a first Internet Protocol version 6 IPv6 message including the indication information and not carrying a segment routing header SRH, the first network node determines the forwarding information according to the target correspondence relationship, and the first network node is an intermediate node on the message forwarding path of the first IPv6 message.
  • the sending unit 902 is further used to send the segment identifier list SID list corresponding to the source routing forwarding behavior and the indication information to the head node of the message forwarding path.
  • the forwarding information includes: a next hop segment identifier SID.
  • the forwarding information further includes: an outgoing interface.
  • the forwarding information includes a SID list corresponding to the source routing forwarding behavior, and the SID list includes the next hop SID.
  • the forwarding information includes: a next hop target field, and the next hop target field includes a next hop locator field and a next hop function field.
  • the forwarding information further includes an outbound interface.
  • the indication information is also used to indicate slice information, and accordingly, the target correspondence also includes a correspondence between the indication information and the slice identifier.
  • the device 900 is a device corresponding to the information processing method provided by the above method embodiment, the specific implementation of each unit of the device 900 is based on the same concept as the above method embodiment. Therefore, regarding the specific implementation of each unit of the device 900, please refer to the relevant description part of the above method embodiment, which will not be repeated here.
  • FIG. 10 is a schematic diagram of the structure of a device provided in an embodiment of the present application.
  • the device 1000 includes: a processor 1010, a communication interface 1020, and a memory 1030.
  • the number of processors 1010 in the device 1000 may be one or more, and FIG. 10 takes one processor as an example.
  • the processor 1010, the communication interface 1020, and the memory 1030 may be connected via a bus system or other means, and FIG. 10 takes the connection via a bus system 1040 as an example.
  • the processor 1010 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.
  • the processor 1010 may further include a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a processor.
  • 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 memory 1030 may include a volatile memory (English: volatile memory), such as a random-access memory (RAM); the memory 1030 may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (HDD) or a solid-state drive (SSD); the memory 1030 may also include a combination of the above-mentioned types of memory.
  • the memory 1030 may, for example, store the aforementioned target correspondence relationship;
  • the memory 1030 may, for example, store the aforementioned target correspondence relationship and the SID list corresponding to the source routing forwarding behavior.
  • the memory 1030 stores an operating system and a program, an executable module or a data structure, or a subset thereof, or an extended set thereof, wherein the program may include various operating instructions for implementing various operations.
  • the operating system may include various system programs for implementing various basic services and processing hardware-based tasks.
  • the processor 1010 may read the program in the memory 1030 to implement the message processing method or information processing method provided in the embodiment of the present application.
  • the bus system 1040 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus.
  • the bus system 1040 may be divided into an address bus, a data bus, a control bus, etc.
  • FIG10 only uses one thick line, but does not mean that there is only one bus or one type of bus.
  • An embodiment of the present application also provides a computer-readable storage medium, including instructions or computer programs, which, when executed on a computer, enable the computer to execute the message processing method or information processing method provided in the above embodiments.
  • An embodiment of the present application also provides a computer program product including instructions or a computer program, which, when executed on a computer, enables the computer to execute the message processing method or information processing method provided in the above embodiment.
  • An embodiment of the present application also provides a communication system, which includes a first network node that executes the message processing method provided by the above method embodiment, and a controller that executes the information processing method provided by the above method embodiment.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of units is only a logical business division. There may be other division methods in actual implementation.
  • 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 through some interfaces, devices or units. Or communication connection, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each business unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software business units.
  • 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.
  • the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
  • the services described in the present invention can be implemented using hardware, software, firmware, or any combination thereof.
  • the services can be stored in 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, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.

Landscapes

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

Abstract

本申请实施例公开了一种报文处理方法,第一网络节点可以获取第一IPv6报文,并转发该第一IPv6报文。该第一IPv6报文不携带分段路由头、且携带指示信息,所述指示信息用于指示源路由转发行为,所谓源路由转发行为,可以理解成基于段标识列表所指示的报文转发路径进行报文转发。利用本方案,可以在第一IPv6报文中携带指示源路由转发行为的指示信息即可实现源路由转发,无需在第一IPv6报文中携带SRH。而指示信息的长度小于SRH的长度,尤其是在SID list所包括的SID数量较多的情况下,指示信息的长度远远小于SRH的长度,从而增加了用于承载业务的净荷部分的可用带宽,并达到了提升业务传输效率的效果。

Description

一种报文处理方法、信息处理方法及装置
本申请要求以下专利申请的优先权,其全部内容通过引用结合在本申请中。
1.于2022年9月29日提交中国国家知识产权局、申请号为202211205554.6、申请名称为“一种IPv6协议头的压缩方法、设备及系统”的中国专利申请;
2.于2022年10月27日提交中国国家知识产权局、申请号为202211330202.3、申请名称为“一种报文处理方法、信息处理方法及装置”的中国专利申请。
技术领域
本申请涉及通信领域,尤其涉及一种报文处理方法、信息处理方法及装置。
背景技术
互联网协议第6版(Internet Protocol Version 6,IPv6)网络与互联网协议第4版(Internet Protocol Version 4,IPv4)网络相比,具有网络地址资源充足等优势,因此,IPv6网络的应用越来越广泛,越来越多的业务通过IPv6网络来传输。
目前,在利用IPv6网络来传输业务时,业务传输效率有待进一步提高。因此,急需一种方案,能够解决上述问题。
发明内容
本申请实施例提供了一种报文处理方法、信息处理方法及装置,可以提升IPv6网络传输业务的效率。
第一方面,本申请实施例提供了一种报文处理方法,该方法可以应用于第一网络节点,第一网络节点可以获取第一IPv6报文,该第一IPv6报文不携带分段路由头(segment routing header,SRH),另外,该第一IPv6报文中包括指示信息,所述指示信息用于指示源路由转发行为,所谓源路由转发行为,可以理解成基于段标识列表(segment identifier list,SID list)所指示的报文转发路径进行报文转发。第一网络节点获取所述第一IPv6报文之后,可以转发所述第一IPv6报文。由此可见,利用本方案,与传统技术相比,可以在第一IPv6报文中携带指示源路由转发行为的指示信息即可实现源路由转发,无需在第一IPv6报文中携带SRH。而指示信息的长度小于SRH的长度,尤其是在SID list所包括的SID数量较多的情况下,指示信息的长度远远小于SRH的长度。因此,本方案提供了一种不使用SRH的SR-流量工程(traffic engineering,TE)实现方式,可以减少第一IPv6报文中非净荷部分的报文长度,从而减少了非净荷部分所占用的带宽资源,相应的,增加了用于承载业务的净荷部分的可用带宽,从而达到了提升业务传输效率的效果。
在一种可能的实现方式中,所述第一网络节点可以是所述第一IPv6的报文转发路径的中间节点,对于这种情况,第一网络节点获取第一IPv6报文之后,可以根据所述指示信息转发所述第一IPv6报文,从而基于指示信息实现源路由转发。
在一种可能的实现方式中,第一网络节点根据指示信息转发第一IPv6报文在具体实现时,可以根据所述指示信息指示的源路由转发行为所对应的转发信息来转发所述第一IPv6报文。对于这种情况,所述第一网络节点在根据所述指示信息转发所述第一IPv6报文之前,还可以根据所述指示信息以及目标对应关系,确定所述转发信息,所述目标对应关系中至少包括:所述指示信息以及所述转发信息之间的对应关系。通过这种方式,第一网络节点首先根据指示信息确定源路由转发行为对应的转发信息,并进一步基于所述转发信息转发 所述第一IPv6报文,从而达到基于所述指示信息实现源路由转发的效果。
在一种可能的实现方式中,考虑到网络节点在进行互联网协议第6版段路由(Segment Routing Internet Protocol Version 6,SRv6)转发时,可以从SID list中确定下一跳SID,并基于所述下一跳SID进行转发。因此,在一个示例中,所述转发信息可以包括下一跳SID。对于这种情况,所述第一网络节点可以基于所述下一跳SID转发所述第一IPv6报文。在一个示例中,所述第一网络节点可以根据所述下一跳SID更新所述第一IPv6报文中的目的地址,得到第二IPv6报文,所述第二IPv6报文的目的地址为所述下一跳SID。
在一种可能的实现方式中,为了提升第一网络节点转发所述第二IPv6报文的效率,前述转发信息还可以包括所述出接口,这样一来,所述第一网络节点可以直接根据所述目标对应关系确定所述出接口,并通过该出接口转发所述第二IPv6报文。
在一种可能的实现方式中,所述转发信息包括下一跳SID,例如可以是所述转发信息包括SID list,而所述SID list包括所述下一跳SID。对于这种情况,所述第一网络节点可以首先根据所述目标对应关系和所述指示信息,确定所述SID list,并进一步从所述SID list中确定所述下一跳SID。当所述转发信息包括所述SID list时,所述第一网络节点可以根据所述SID list确定完整的报文转发路径,以便于在该报文转发路径故障的情况下,将业务切换至备份路径上转发。
在一种可能的实现方式中,所述指示信息可以携带在第一IPv6报文的IPv6头中,例如,可以利用IPv6头中尚未被使用的字段、或者,使用已经被使用的字段中尚未被使用的某一个或者某几个比特来携带。当所述指示信息携带在所述IPv6头中时,由于IPv6头位于整个IPv6报文的最外层,因此,可以减少网络节点对第一IPv6报文进行解析以获得所述指示信息的资源消耗。
在一种可能的实现方式中,所述指示信息可以携带在所述第一IPv6报文的扩展头中,所述扩展头可以是除SRH之外的任意一种扩展头。作为一个示例,所述指示信息可以携带在所述第一IPv6报文的目的选项头(destinations options header,DOH)中,作为又一个示例,所述指示信息可以携带在所述第一IPv6报文的逐跳(hop-by-hop)选项头中。
在一种可能的实现方式中,考虑到第一IPv6报文的目的地址是一个IPv6地址,该IPv6地址包括128比特。在IPv6支持源路由转发的场景中,IPv6报文的目的地址可以包括三个部分,分别为定位符(locator)字段、功能(function)字段以及参数(arguments)字段。其中:arguments字段的含义目前没有明确定义。因此,在一个示例中,所述指示信息可以携带在所述第一IPv6报文的目的地址的arguments字段中。对于这种情况,可以无需扩展新的字段来携带所述指示信息,从而节省了第一IPv6报文的长度。
在一种可能的实现方式中,当所述第一网络节点为前述SID list所指示的报文转发路径的中间节点时,第一网络节点获取所述第一IPv6报文之后,可以根据所述指示信息转发所述第一IPv6报文,从而实现源路由转发。在一个示例中,所述第一网络节点可以被预先配置基于所述指示信息执行源路由转发行为。在又一个示例中,所述第一网络节点可以根据所述第一IPv6报文中的特定字段,确定基于所述指示信息执行源路由转发行为。本申请实施例不具体限定所述的特定字段。例如,当所述指示信息携带在所述第一IPv6报文的目的地址的arguments字段中时,所述特定字段可以是所述第一IPv6报文的目的地址的function 字段,对于这种情况,可以在不额外增加第一IPv6报文的长度的情况下,在第一IPv6报文中携带所述特定字段。
在一种可能的实现方式中,若前述指示信息可以携带在第一IPv6报文的目的地址的arguments字段中,则在一个示例中,前述转发信息可以包括下一跳目的字段,所述下一跳目的字段包括下一跳locator字段和下一跳function字段。对于这种情况,所述第一网络节点在确定所述下一跳目标字段之后,可以进一步基于所述下一跳目标字段和所述第一IPv6报文得到第三IPv6报文,并进一步转发所述第三IPv6报文。在一个具体的示例中,所述第一网络节点可以根据所述下一跳目标字段更新根据所述第一IPv6报文的目的地址,得到第三IPv6报文,所述第三IPv6报文的目的地址包括所述下一跳目标字段和所述指示信息,所述指示信息携带在所述第三IPv6报文的目的地址的arguments字段中。
在一种可能的实现方式中,为了提升第一网络节点转发所述第三IPv6报文的效率,前述转发信息还可以包括出接口,这样一来,所述第一网络节点可以直接根据所述目标对应关系确定所述出接口,并通过该出接口转发所述第三IPv6报文。
在一种可能的实现方式中,考虑到对于前述SID list所指示的报文转发路径而言,其可以与网络切片关联。在此场景下,所述报文转发路径的头节点在进行报文转发时,会在报文中添加该切片标识并基于该切片标识执行相应的转发行为。相应的,报文转发的中间节点接收到的报文中包括该切片标识,中间节点可以基于该切片标识执行相应的转发行为。对于这种情况,为了进一步缩短报文长度,前述指示信息还可以用于指示切片信息。对于这种情况,前述目标对应关系还可以包括所述指示信息和切片标识之间的对应关系。
在一种可能的实现方式中,当所述指示信息还用于指示切片信息时,第一IPv6报文中可以无需携带所述切片标识。所述第一网络节点接收到所述第一IPv6报文之后,可以基于所述指示信息和所述目标对应关系,确定所述切片标识。进一步地,在一个示例中,所述第一网络节点可以执行与所述切片标识对应的转发行为。
在一种可能的实现方式中,考虑到对于前述SID list所指示的报文转发路径而言,其可以与应用感知网络(application-aware networking,APN)关联。在此场景下,所述报文转发路径的头节点在进行报文转发时,会在报文中添加该APN标识并基于该APN标识执行相应的数据处理行为。相应的,报文转发的中间节点接收到的报文中包括该APN标识,中间节点可以基于该APN标识执行相应的数据处理行为。对于这种情况,为了进一步缩短报文长度,前述指示信息还可以用于指示APN信息。对于这种情况,前述目标对应关系还可以包括所述指示信息和APN标识之间的对应关系。相应的,在一个示例中,第一IPv6报文中可以无需携带所述APN标识。所述第一网络节点接收到所述第一IPv6报文之后,可以基于所述指示信息和所述目标对应关系,确定所述APN标识。进一步地,在一个示例中,所述第一网络节点可以执行与所述APN标识对应的数据处理行为。
在一种可能的实现方式中,第一网络节点可以预先保存所述目标对应关系,在一个示例中,所述目标对应关系可以是控制器下发给所述第一网络节点的。相应的,第一网络节点在接收到第一IPv6报文之后,可以基于所述目标对应关系确定转发信息,并进一步基于所述转发信息转发所述第一IPv6报文,从而实现源路由转发。
在一种可能的实现方式中,所述目标对应关系也可以是第一网络节点生成的,具体地, 第一网络节点可以接收用于创建所述目标对应关系的第一SRv6报文,所述第一SRv6报文中包括所述指示信息和SRH,并根据第一SRv6报文中包括的所述指示信息和所述SRH,得到所述目标对应关系。相应的,第一网络节点在接收到第一IPv6报文之后,可以基于所述目标对应关系确定转发信息,并进一步基于所述转发信息转发所述第一IPv6报文,从而实现源路由转发。
在一种可能的实现方式中,在前述指示信息还用于指示切片信息的场景下,所述第一SRv6报文中还可以包括切片标识,相应的,所述第一网络节点创建的目标对应关系中还可以包括所述指示信息和所述切片标识之间的对应关系。
在一种可能的实现方式中,在前述指示信息还用于指示APN信息的场景下,所述第一SRv6报文中还可以包括APN标识,相应的,所述第一网络节点创建的目标对应关系中还可以包括所述指示信息和所述APN标识之间的对应关系。
在一种可能的实现方式中,所述第一SRv6报文可以由前述报文转发路径的头节点生成。在一个示例中,所述头节点可以在接收到控制器下发的SID list之后,根据所述SID list和所述指示信息,生成包括所述指示信息和携带所述SID list的SRH的第一SRv6报文。
在一种可能的实现方式中,若所述第一网络节点为所述第一IPv6的报文转发路径的头节点,则第一IPv6报文可以是所述第一网络节点生成的。在一个具体的示例中,所述第一网络节点可以接收用户侧设备发送的业务报文,并确定所述业务报文对应的所述报文转发路径。进一步地,根据所述报文转发路径确定所述指示信息,并基于所述指示信息生成所述第一IPv6报文。采用这种方式,第一网络节点在对业务报文进行封装时,不再封装SRH,而是封装指示源路由转发行为的指示信息,从而有效减少了报文长度。
在一种可能的实现方式中,所述第一网络节点在基于所述指示信息对所述业务报文进行封装之前,还可以获得所述指示信息。在一种实现方式中,可以由控制器生成所述指示信息并发送给所述第一网络节点。换言之,所述第一网络节点可以接收控制器发送的所述指示信息。作为一个示例,所述控制器可以将所述指示信息和所述SID list对应发送给所述第一网络节点。在另一种实现方式中,所述第一网络节点生成所述指示信息,例如所述第一网络节点可以在接收到控制器发的SID list之后,生成所述指示信息,并保存所述指示信息和所述SID list的对应关系。
第二方面,本申请实施例提供了一种信息处理方法,该方法可以应用于控制器。控制器可以确定指示信息和目标对应关系,所述指示信息用于指示源路由转发行为,所述目标对应关系包括:所述指示信息和所述源路由转发行为对应的转发信息之间的对应关系。控制器获取所述指示信息和所述目标对应关系之后,可以将所述目标对应关系发送给第一网络节点。所述第一网络节点为所述第一IPv6报文的报文转发路径上的中间节点。控制器将所述目标对应关系发送给第一网络节点之后,可以使得所述第一网络节点在接收到包括所述指示信息且不携带SRH的第一IPv6报文时,根据所述目标对应关系确定所述转发信息以实现源路由转发。由此可见,利用本方案,与传统技术相比,本方案提供了一种不使用SRH的SR-TE实现方式,可以在第一IPv6报文中携带指示源路由转发行为的指示信息即可实现源路由转发,无需在第一IPv6报文中携带SRH。而指示信息的长度小于SRH的长度,尤其是在SID list所包括的SID数量较多的情况下,指示信息的长度远远小于SRH的 长度。因此,利用本方案,可以减少第一IPv6报文中非净荷部分的报文长度,从而减少了非净荷部分所占用的带宽资源,相应的,增加了用于承载业务的净荷部分的可用带宽,从而达到了提升业务传输效率的效果。
在一种可能的实现方式中,所述控制器还可以将所述源路由转发行为对应的段标识列表SID list和所述指示信息发送给所述报文转发路径的头节点,以便于所述头节点在接收到业务报文时,确定转发业务报文的SID list,并进一步基于所述SID list确定所述指示信息,从而生成包括所述指示信息并不携带SRH的第一IPv6报文。
在一种可能的实现方式中,所述转发信息包括:下一跳段标识SID。
在一种可能的实现方式中,所述转发信息还包括:出接口。
在一种可能的实现方式中,所述转发信息包括所述源路由转发行为对应的SID list,所述SID list包括所述下一跳SID。
在一种可能的实现方式中,所述转发信息包括:下一跳目标字段,所述下一跳目标字段包括下一跳定位符locator字段和下一跳功能function字段。
在一种可能的实现方式中,所述转发信息还包括出接口。
在一种可能的实现方式中,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
第三方面,本申请实施例提供了一种报文处理装置,应用于第一网络节点,所述装置包括:获取单元,用于获取第一互联网协议第六版IPv6报文,所述第一IPv6报文不携带分段路由头SRH,所述第一IPv6报文中包括指示信息,所述指示信息用于指示源路由转发行为,所述源路由转发行为包括:基于段标识列表SID list所指示的报文转发路径进行报文转发;发送单元,用于转发所述第一IPv6报文。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述发送单元,用于:根据所述指示信息转发所述第一IPv6报文。
在一种可能的实现方式中,所述装置还包括:处理单元,用于在根据所述指示信息转发所述第一IPv6报文之前,根据所述指示信息以及目标对应关系,确定转发信息,所述目标对应关系包括:所述指示信息以及所述转发信息之间的对应关系;所述发送单元,用于:根据所述转发信息转发所述第一IPv6报文。
在一种可能的实现方式中,所述转发信息包括:下一跳段标识SID;所述发送单元,用于:根据所述下一跳SID更新所述第一IPv6报文中的目的地址,得到第二IPv6报文,所述第二IPv6报文的目的地址为所述下一跳SID;转发所述第二IPv6报文。
在一种可能的实现方式中,所述转发信息还包括:出接口;所述转发所述第二IPv6报文,包括:通过所述出接口转发所述第二IPv6报文。
在一种可能的实现方式中,所述转发信息包括所述SID list,所述SID list包括所述下一跳SID。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的IPv6头中。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的目的选项头DOH中。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的目的地址的 arguments字段中。
在一种可能的实现方式中,所述目的地址的功能function字段指示基于所述指示信息执行源路由转发行为。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的目的地址的arguments字段中,所述转发信息包括:下一跳目标字段,所述下一跳目标字段,包括下一跳定位符locator字段和下一跳function字段;所述发送单元,用于:根据所述下一跳目标字段更新根据所述第一IPv6报文的目的地址,得到第三IPv6报文,所述第三IPv6报文的目的地址包括所述下一跳目标字段和所述指示信息,所述指示信息携带在所述第三IPv6报文的目的地址的arguments字段中;转发所述第三IPv6报文。
在一种可能的实现方式中,所述转发信息还包括:出接口;所述转发所述第三IPv6报文,包括:通过所述出接口转发所述第三IPv6报文。
在一种可能的实现方式中,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
在一种可能的实现方式中,所述装置包括的处理单元,还用于:根据所述指示信息以及所述目标对应关系,确定所述切片标识。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述装置还包括:接收单元,用于在接收所述第一IPv6报文之前,接收控制器下发的所述目标对应关系。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述装置还包括:接收单元,用于在接收所述第一IPv6报文之前,接收第一互联网协议第六版段路由SRv6报文,所述第一SRv6报文中包括所述指示信息和SRH,所述第一SRv6报文用于创建所述目标对应关系;所述装置包括的处理单元,还用于根据第一SRv6报文中包括的所述指示信息和所述SRH,得到所述目标对应关系。
在一种可能的实现方式中,所述第一SRv6报文由所述报文转发路径的头节点生成。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的头节点,所述获取单元,用于:接收用户侧设备发送的业务报文;确定所述业务报文对应的所述报文转发路径;根据所述报文转发路径确定所述指示信息,并基于所述指示信息生成所述第一IPv6报文。
在一种可能的实现方式中,所述装置包括的处理单元,还用于在生成所述第一IPv6报文之前,生成所述指示信息,或者,所述装置包括的接收单元,还用于在接收所述第一IPv6报文之前,接收控制器发送的所述指示信息。
第四方面,本申请实施例提供了一种信息处理装置,应用于控制器,所述装置包括:处理单元,用于确定指示信息和目标对应关系,所述指示信息用于指示源路由转发行为,所述目标对应关系包括:所述指示信息和所述源路由转发行为对应的转发信息之间的对应关系;发送单元,用于将所述目标对应关系发送给第一网络节点,以使得所述第一网络节点在接收到包括所述指示信息且不携带分段路由头SRH的第一互联网协议第六版IPv6报文时,根据所述目标对应关系确定所述转发信息,所述第一网络节点为所述第一IPv6报文的报文转发路径上的中间节点。
在一种可能的实现方式中,所述发送单元,还用于:将所述源路由转发行为对应的段标识列表SID list和所述指示信息发送给所述报文转发路径的头节点。
在一种可能的实现方式中,所述转发信息包括:下一跳段标识SID。
在一种可能的实现方式中,所述转发信息还包括:出接口。
在一种可能的实现方式中,所述转发信息包括所述源路由转发行为对应的SID list,所述SID list包括所述下一跳SID。
在一种可能的实现方式中,所述转发信息包括:下一跳目标字段,所述下一跳目标字段包括下一跳定位符locator字段和下一跳功能function字段。
在一种可能的实现方式中,所述转发信息还包括出接口。
在一种可能的实现方式中,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
第五方面,本申请实施例提供了一种设备。所述设备包括处理器和存储器。所述存储器用于存储指令或计算机程序。所述处理器用于执行所述存储器中的所述指令或计算机程序,执行以上第一方面任意一项所述的方法,或者执行以上第二方面任意一项所述的方法。
第六方面,本申请实施例提供了一种计算机可读存储介质,包括指令或计算机程序,当其在计算机上运行时,使得计算机执行以上第一方面任意一项所述的方法,或者执行以上第二方面任意一项所述的方法。
第七方面,本申请实施例提供了一种包含指令或计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行以上第一方面任意一项所述的方法,或者执行以上第二方面任意一项所述的方法。
第八方面,本申请实施例提供了一种通信系统,所述通信系统包括:执行以上第一方面任意一项所述的方法的第一网络节点,以及,执行以上第二方面任意一项所述的方法的控制器。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1a为本申请实施例提供的一种IPv6报文的结构示意图;
图1b为本申请实施例提供的一种SRH的结构示意图;
图1c为本申请实施例提供的又一种SRH的结构示意图;
图1d为本申请实施例提供的一种报文转发方法的示意图;
图2为本申请实施例提供的一种示例性应用场景示意图;
图3为本申请实施例提供的一种报文处理方法的流程示意图;
图4为本申请实施例提供的一种创建目标对应关系的流程示意图;
图5为本申请实施例提供的一种信息处理方法的流程示意图;
图6为本申请实施例提供的一种通信系统的架构示意图;
图7为本申请实施例提供的又一种通信系统的架构示意图;
图8为本申请实施例提供的一种报文处理装置的结构示意图;
图9为本申请实施例提供的一种信息处理装置的结构示意图;
图10为本申请实施例提供的一种设备的结构示意图。
具体实施方式
本申请实施例提供了一种报文处理方法、信息处理方法及装置,可以提升IPv6网络传输业务的效率。
为方便理解,首先对IPv6报文的结构进行简单介绍。
参见图1a,该图为本申请实施例提供的一种IPv6报文的结构示意图。如图1a所示,IPV6报文可以包括IPv6头、至少一个IPv6扩展头和净荷。其中:
IPv6扩展头可以包括SRH、DOH、逐跳(hop-by-hop)选项头等等,关于IPv6扩展头的类型,可以参考请求评论(request for comments,RFC)8200的相关内容,此处不一一列举说明。
净荷中可以用于承载业务。
目前,SRH可以用于指导源路由转发行为,其应用较为广泛。携带有SRH的IPv6报文被称为SRv6报文。
关于SRH,可参考图1b进行理解,图1b为本申请实施例提供的一种SRH的结构示意图。如图1b所示,SRH可以包括SRH头和段列表(segment list),其中:
SRH头占用8字节,关于SRH头中的各个字段,此处不做详细说明。
segment list也可以被称为SID list。SID list可以用于指示报文转发路径。SID list可以包括多个SID。在一个示例中,该多个SID可以是多个IPv6地址,一个IPv6地址对应一个SID,该IPv6地址用于指示报文转发过程中经过的中间节点。在另一个示例中,该多个SID可以是多个邻接链路的标识,一个邻接链路的标识对应的一个SID,邻接链路的标识用于指示报文转发所经过的邻接链路。前述IPv6地址和邻接链路的标识均为128比特(bit)。
本申请实施例中的两个节点之间的邻接链路,指的是用于该两个节点直接通信的链路,当其中一个节点通过该邻接链路向另一个节点发送报文时,该另一个节点为该前一节点的下一跳。
根据图1b可知,SRH的长度与SID list中所包括的SID数量有关,当SID list中包括n个SID时,所述SRH的长度为:(8+16*n)字节。例如,当n为7时,SRH的长度为120字节,当n等于20时,SRH的长度为328字节。SRv6报文在转发的过程中,SRH占用了一定的带宽资源,尤其是当n的值较大时,SRH占用了较多的带宽资源,从而影响了业务的传输效率。
在一个示例中,为了减少SID list占用的长度,可以通过“块(block)+微SID(micro-SID,uSID)”的方式携带SID。其中,micro-SID也可以被称为micro-segment。关于通过“block+uSID”的方式携带SID,可参考图1c进行理解,block占用64比特,uSID占用16比特。在一个示例中,block字段用于携带某一区域中网络节点的公用前缀,uSID字段可以用于携带网络节点ID或者function ID。
例如,在图1c中,uSID1字段用于携带网络节点1的ID,uSID2字段用于携带网络节点1的function ID,uSID3字段用于携带网络节点2的ID,uSID4字段用于携带网络节点2 的function ID,block1用于携带网络节点1和网络节点2公用的前缀。这样一来,用过128比特,可以携带2个网络节点的信息,而若SID list携带的信息如图1b所示,携带两个节点的信息需要256比特。
因此,采用通过“block+uSID”的方式携带SID,可以达到减少SID list占用的长度的效果。但是,采用这种方式,block只能采用本地IPv6单播地址(Local IPv6 Unicast Addresses,LUA),而LUA不能暴露到运营商网络中,即:该方法可应用的场景被限定到私有网络。另外,由于uSID字段的长度为16比特,因此,其所能够表示的节点数量有限,使得该方式不能应用于网络节点较多的大规模网络中。
鉴于此,本申请实施例提供了一种报文处理方法、信息处理方法及装置,其可以达到了提升业务传输效率的效果,并且,其应用场景也不会受限于私有网络,而且,还可以应用于大规模网络中。
为了更容易理解本方案中与报文转发的相关操作,在介绍本申请实施例的方案之前,首先对传统SRv6转发的过程进行简单介绍。
传统的SRv6的转发过程,由头节点指定完整的报文转发路径,中间节点根据头节点指示的转发路径指导报文转发,直至将报文转发至目的节点。具体地,头节点可以在报文中封装SRH,SRH中的SID list用于指示前述完整的报文转发路径。其中,头节点指定的报文转发路径,可以是控制器下发给头节点的。
以下结合图1d介绍传统的SRv6转发过程,头节点以及各中间节点转发报文的具体方式。图1d为本申请实施例提供的一种报文转发方法的示意图。
如图1d所示,头节点101确定报文依次经过中间节点102和中间节点103转发至目的节点104。头节点101生成的SRv6报文的SRH中携带段列表1,该段列表1中包括3个IPv6地址,分别为地址2,地址3和地址4,其中:地址2为中间节点102的地址、地址3为中间节点103的地址、地址4为目的节点104的地址。
头节点101生成SRv6报文之后,对SRH中的段列表进行分析,确定转发的下一跳节点为中间节点102,故而头节点101将该SRv6报文的目的地址修改为地址2,并将该SRv6报文转发至中间节点102。
中间节点102接收到的SRv6报文中也包括前述段列表1,并且,该报文的目的地址为地址2。中间节点102接收到该SRv6报文之后,确定地址2的下一跳SID为地址3,从而确定转发的下一节点为中间节点103,故而中间节点102将该SRv6报文的目的地址修改为地址3,并将该SRv6报文转发至中间节点103。
依次类推,中间节点103接收到的SRv6报文中也包括前述段列表1,中间节点103接收到该SRv6报文之后,确定地址3的下一跳SID为地址4,从而确定转发的下一节点为目的节点104,故而中间节点103将该SRv6报文的目的地址修改为地址4,并将该SRv6报文转发至目的节点104,从而完成报文转发。
当然,前述各个节点在进行SRv6转发时,还可以对SRv6报文中的其它字段进行修改,例如,对SRH头中的SL字段进行修改,此处不一一详细说明。
需要说明的是,前述头节点101、中间节点102、中间节点103和目的节点104均为支持SRv6技术的节点。虽然图1d中未示出,但是头节点101在将SRv6报文转发至中间节 点102的过程中,也可以经过若干个其它节点。另外,图1d以段列表中携带节点的IPv6地址为例进行说明,但是,段列表中也可以携带若干个邻接链路的标识,具体报文转发方式与携带IPv6地址的转发方式相同,此处不再赘述。
参见图2,该图为本申请实施例提供的一种示例性应用场景示意图。在图2所示的场景中,控制器可以与运营商边缘设备(provider edge,PE)1、PE2、PE3、PE4、以及运营商骨干设备(provider,P)1、P2、P3和P4等网络节点进行交互。在一个示例中,控制器可以通过路由反射器(route reflectors,RR)与网络节点进行交互。关于网络节点之间的连接关系以及用户边缘设备(customer edge,CE)和网络节点之间的连接关系,此处不做详细说明。
接下来,结合图2所示的应用场景和图3,对本申请实施例提供的报文处理方法进行介绍。图3为本申请实施例提供的一种报文处理方法的流程示意图。图3所示的方法,可以应用于第一网络节点,所述第一网络节点可以是源路由转发行为对应的报文转发路径的头节点,也可以是所述报文转发路径的中间节点。此处提及的源路由转发行为,可以理解成基于SID list指示的报文转发路径进行转发,相应的,源路由转发行为对应的报文转发路径,可以是所述SID list指示的报文转发路径。关于SID list指示的报文转发路径,可以参考前文的相关描述部分,此处不做重复描述。
关于第一网络节点,以图2所示的场景为例进行说明:假设PE1-P1-P2-PE2为一条SRv6路径,则第一网络节点可以是该SRv6路径的头节点PE1,也可以是该SRv6路径的中间节点P1或者P2。
所述方法例如可以包括如下S101-S102。
S101:获取第一IPv6报文,所述第一IPv6报文不携带SRH,所述第一IPv6报文中包括指示信息,所述指示信息用于指示源路由转发行为,所述源路由转发行为包括:基于SID list所指示的报文转发路径进行报文转发。
本申请实施例不具体限定所述指示信息在所述第一IPv6报文中的携带位置。
在一个示例中,所述指示信息可以携带在第一IPv6报文的IPv6头中,例如,可以利用IPv6头中尚未被使用的字段、或者,使用已经被使用的字段中尚未被使用的某一个或者某几个比特来携带。举例说明:所述指示信息可以携带在所述IPv6头中的流标签(flow label)字段中。当所述指示信息携带在所述IPv6头中时,由于IPv6头位于整个IPv6报文的最外层,因此,可以减少网络节点对第一IPv6报文进行解析以获得所述指示信息的资源消耗。
在又一个示例中,所述指示信息可以携带在所述第一IPv6报文的扩展头中,本申请实施例不具体限定所述扩展头,所述扩展头可以是除SRH之外的任意一种扩展头。作为一个示例,所述指示信息可以携带在所述第一IPv6报文的DOH中,作为又一个示例,所述指示信息可以携带在所述第一IPv6报文的hop-by-hop选项头中。
在另一个示例中,IPv6报文的目的地址是一个IPv6地址,该IPv6地址包括128比特。在IPv6支持源路由转发的场景中,IPv6报文的目的地址可以包括三个部分,分别为locator字段、function字段以及arguments字段。其中:
locator字段用于携带locator,locator具有定位功能,其指示能够到达节点的网段;例如,节点1的locator指示能够到达节点1的网段;
function字段用于指示节点执行特定的功能操作,具体功能操作可以由用户定义;
arguments字段的含义目前没有明确定义。
正是考虑到所述arguments字段目前没有明确定义,因此,在一个示例中,所述指示信息可以携带在所述第一IPv6报文的目的地址的arguments字段中。对于这种情况,可以无需扩展新的字段来携带所述指示信息,从而节省了第一IPv6报文的长度。
在传统SRv6技术中,可以利用SRH来指示源路由转发行为,在本申请实施例中,利用指示信息来替代SRH来指示源路由转发行为。如前对于指示信息在第一IPv6报文中的携带方式可知:
在一些实施例中,可以利用IPv6报文中已有的字段来携带所述指示信息,例如,采用IPv6头或者目的地址的arguments字段来携带所述指示信息。对于这种情况,利用本方案,能够有效节省报文长度,节省的报文长度为整个SRH的长度。
在另一些实施例中,可以利用IPv6扩展头来携带所述指示信息,而携带指示信息所增加的报文长度,小于SRH的长度,因此,对于这种情况,利用本方案,也能够有效节省报文长度。
如前文,第一网络节点可以是所述SID list所指示的报文转发路径的头节点,也可以是所述SID list所指示的报文转发路径的中间节点。在一个示例中,当所述第一网络节点为所述报文转发路径的中间节点时,所述第一网络节点可以从上游节点处接收所述第一IPv6报文。在又一个示例中,当所述第一网络节点为所述报文转发路径的头节点时,所述第一网络节点可以生成所述第一IPv6报文。
作为一个示例,所述头节点可以通过如下步骤A1-A3生成所述第一IPv6报文。
步骤A1:接收用户侧设备发送的业务报文。
此处提及的用户侧设备,例如可以是CE。例如,在图2所示的场景中,作为头节点的PE1可以接收CE1发送的业务报文。所述业务报文可以是IPv4报文,也可以是IPv6报文,本申请实施例不做具体限定。
步骤A2:确定所述业务报文对应的报文转发路径。
接收所述业务报文之后,可以进一步确定用于转发所述业务报文的报文转发路径。本申请实施例不具体限定确定所述业务报文对应的报文转发路径的具体实现方式,在一个示例中,可以根据所述业务报文的目的地址,确定所述业务报文对应的报文转发路径。在又一个示例中,可以根据接收所述业务报文的接口,确定该业务报文对应的虚拟专用网(virtual private network,VPN)实例,进一步地,根据所述VPN实例确定所述报文转发路径。
在一个示例中,确定所述报文转发路径,例如可以是确定指示所述报文转发路径的SID list。例如,可以是确定所述业务报文的SRv6策略(policy),所述SRv6policy包括所述SID list。
步骤A3:根据所述报文转发路径确定所述指示信息,并基于所述指示信息生成所述第一IPv6报文。
确定所述报文转发路径之后,可以进一步基于所述报文转发路径确定前述指示信息,并进一步基于所述指示信息对所述业务报文进行封装,从而得到所述第一IPv6报文。
在一个示例中,所述第一网络节点在基于所述指示信息对所述业务报文进行封装之前, 还可以获得所述指示信息。所述第一网络节点获得所述指示信息可以有多种方式。以下介绍两种可能的实现方式。
在一种实现方式中,可以由控制器生成所述指示信息并发送给所述第一网络节点。换言之,所述第一网络节点可以接收控制器发送的所述指示信息。作为一个示例,所述控制器可以将所述指示信息和所述SID list对应发送给所述第一网络节点,相应的,所述第一网络节点可以保存所述指示信息和所述SID list的对应关系。对于这种情况,所述第一网络节点执行步骤A2之后,可以进一步基于所述指示信息和所述SID list的对应关系,确定所述指示信息。在又一种可能的实现方式中,所述第一网络节点可以生成所述指示信息。作为一个示例,所述第一网络节点可以在接收到控制器发的SID list之后,生成所述指示信息,并保存所述指示信息和所述SID list的对应关系。对于这种情况,所述第一网络节点执行步骤A2之后,可以进一步基于所述指示信息和所述SID list的对应关系,确定所述指示信息。作为又一个示例,所述第一网络节点可以执行步骤A2之后,再生成所述指示信息。
本申请实施例不具体限定所述指示信息的生成方式,无论是由控制器生成所述指示信息,还是由第一网络节点生成所述指示信息,指示信息的生成方式可以是相同的。关于指示信息的生成方式,可以参考下文的相关描述,此处不做详细描述。
S102:转发所述第一IPv6报文。
在一个示例中,当所述第一网络节点为前述SID list所指示的报文转发路径的头节点时,所述第一网络节点可以根据所述第一IPv6报文的目的地址确定出接口,从通过该出接口将所述第一IPv6报文转发至下游节点。
在一个示例中,当所述第一网络节点为前述SID list所指示的报文转发路径的中间节点时,第一网络节点获取所述第一IPv6报文之后,可以根据所述指示信息转发所述第一IPv6报文,从而实现源路由转发。在一个示例中,所述第一网络节点可以被预先配置基于所述指示信息执行源路由转发行为。在又一个示例中,所述第一网络节点可以根据所述第一IPv6报文中的特定字段,确定基于所述指示信息执行源路由转发行为。本申请实施例不具体限定所述的特定字段,例如,当所述指示信息携带在所述第一IPv6报文的IPv6扩展头中时,所述特定字段和所述指示信息携带在同一个IPv6扩展头中。又如,当所述指示信息携带在所述第一IPv6报文的目的地址的arguments字段中时,所述特定字段可以是所述第一IPv6报文的目的地址的function字段,对于这种情况,可以在不额外增加第一IPv6报文的长度的情况下,在第一IPv6报文中携带所述特定字段。
在一个具体的示例中,所述第一网络节点根据所述指示信息执行源路由转发行为在具体实现时,可以根据所述指示信息确定源路由转发行为对应的转发信息,并进一步基于所述转发信息转发所述第一IPv6报文,从而实现源路由转发。
在一个示例中,所述第一网络节点可以预先保存目标对应关系,该目标对应关系可以包括所述指示信息以及所述转发信息之间的对应关系。相应的,第一网络节点在从所述第一IPv6报文中获得所述指示信息之后,可以根据所述指示信息和所述目标对应关系,得到所述转发信息。
如前对于SRv6转发过程的描述可知,网络节点在进行SRv6转发时,可以从SID list中确定下一跳SID,并基于所述下一跳SID进行转发。因此,在一个示例中,所述转发信 息可以包括下一跳SID。对于这种情况,所述第一网络节点可以基于所述下一跳SID转发所述第一IPv6报文。在一个示例中,所述第一网络节点可以根据所述下一跳SID更新所述第一IPv6报文中的目的地址,得到第二IPv6报文,所述第二IPv6报文的目的地址为所述下一跳SID。换言之,所述第一网络节点可以将所述第一IPv6报文的目的地址替换为所述下一跳SID,从而得到所述第二IPv6报文。所述第一网络节点得到所述第二IPv6报文之后,可以进一步转发所述第二IPv6报文。
在一个示例中,所述第二IPv6报文与第一IPv6报文相比,除了目的地址字段不同之外,其它字段均相同。对于这种情况,所述第二IPv6报文中也包括前述指示信息,以便于接收到第二IPv6报文的节点基于所述指示信息执行源路由转发行为。
在又一个示例中,所述第二IPv6报文与第一IPv6报文相比,除了目的地址字段不同之外,还有其它控制报文转发的字段也不同,本申请实施例不做具体限定。
在另一个示例中,所述转发信息包括下一跳SID,例如可以是所述转发信息包括SID list,而所述SID list包括所述下一跳SID。对于这种情况,所述第一网络节点可以首先根据所述目标对应关系和所述指示信息,确定所述SID list,并进一步从所述SID list中确定所述下一跳SID。当所述转发信息包括所述SID list时,所述第一网络节点可以根据所述SID list确定完整的报文转发路径,以便于在该报文转发路径故障的情况下,将业务切换至备份路径上转发。在一些实施例中,所述转发信息除了可以包括所述SID list之外,还可以包括其它内容,例如,可以包括用于指示所述源路由转发行为的SRH的SRH头中的其它内容,本申请实施例不做具体限定。
在一个示例中,所述第一网络节点转发所述第二IPv6报文在具体实现时,例如可以将所述第二IPv6报文的目的地址与报文转发表进行匹配,从而确定转发所述第二IPv6报文的出接口,并进一步通过所述出接口转发所述第二IPv6报文。
在又一个示例中,为了提升第一网络节点转发所述第二IPv6报文的效率,前述转发信息还可以包括所述出接口,这样一来,所述第一网络节点可以直接根据所述目标对应关系确定所述出接口,并通过该出接口转发所述第二IPv6报文。
如前所述,前述指示信息可以携带在第一IPv6报文的目的地址的arguments字段中。对于这种情况,在一个示例中,前述转发信息可以包括下一跳目的字段,所述下一跳目的字段包括下一跳locator字段和下一跳function字段。对于这种情况,所述第一网络节点在确定所述下一跳目标字段之后,可以进一步基于所述下一跳目标字段和所述第一IPv6报文得到第三IPv6报文,并进一步转发所述第三IPv6报文。
在一个具体的示例中,所述第一网络节点基于所述下一跳目标字段和所述第一IPv6报文得到第三IPv6报文在具体实现时,例如可以根据所述下一跳目标字段更新根据所述第一IPv6报文的目的地址,得到第三IPv6报文,所述第三IPv6报文的目的地址包括所述下一跳目标字段和所述指示信息,所述指示信息携带在所述第三IPv6报文的目的地址的arguments字段中。换言之,所述第一网络节点可以利用所述下一跳目标字段替换所述第一一IPv6报文的目的地址的目标字段,并保持所述第一IPv6报文的目的地址的arguments字段不变,从而得到所述第三IPv6报文。
在一个示例中,所述第三IPv6报文与第一IPv6报文相比,除了目的地址的目标字段 不同之外,其它字段均相同。在又一个示例中,所述第三IPv6报文与第一IPv6报文相比,除了目的地址的目标字段不同之外,还有其它控制报文转发的字段也不同,本申请实施例不做具体限定。
在一个示例中,所述第一网络节点转发所述第三IPv6报文在具体实现时,例如可以将所述第三IPv6报文的目的地址与报文转发表进行匹配,从而确定转发所述第三IPv6报文的出接口,并进一步通过所述出接口转发所述第三IPv6报文。
在又一个示例中,为了提升第一网络节点转发所述第三IPv6报文的效率,前述转发信息还可以包括出接口,这样一来,所述第一网络节点可以直接根据所述目标对应关系确定所述出接口,并通过该出接口转发所述第三IPv6报文。
在一个示例中,考虑到对于前述SID list所指示的报文转发路径而言,其可以与网络切片关联。即:该报文转发路径可以关联某一个切片标识。在此场景下,所述报文转发路径的头节点在进行报文转发时,会在报文中添加该切片标识并基于该切片标识执行相应的转发行为。相应的,报文转发的中间节点接收到的报文中包括该切片标识,中间节点可以基于该切片标识执行相应的转发行为。对于这种情况,为了进一步缩短报文长度,前述指示信息还可以用于指示切片信息。对于这种情况,前述目标对应关系还可以包括所述指示信息和切片标识之间的对应关系。相应的,在一个示例中,第一IPv6报文中可以无需携带所述切片标识。所述第一网络节点接收到所述第一IPv6报文之后,可以基于所述指示信息和所述目标对应关系,确定所述切片标识。进一步地,在一个示例中,所述第一网络节点可以执行与所述切片标识对应的转发行为,例如,根据所述切片标识确定转发资源,并进一步基于所述转发资源进行报文转发。此处提及的转发资源,可以是物理子接口,也可以是信道化子接口,还可以是灵活以太(Flexible Ethernet,FlexE)接口,本申请实施例不作具体限定。
在一个示例中,考虑到对于前述SID list所指示的报文转发路径而言,其可以与APN关联。即:该报文转发路径可以关联某一个APN标识。在此场景下,所述报文转发路径的头节点在进行报文转发时,会在报文中添加该APN标识并基于该APN标识执行相应的数据处理行为。相应的,报文转发的中间节点接收到的报文中包括该APN标识,中间节点可以基于该APN标识执行相应的数据处理行为。对于这种情况,为了进一步缩短报文长度,前述指示信息还可以用于指示APN信息。对于这种情况,前述目标对应关系还可以包括所述指示信息和APN标识之间的对应关系。相应的,在一个示例中,第一IPv6报文中可以无需携带所述APN标识。所述第一网络节点接收到所述第一IPv6报文之后,可以基于所述指示信息和所述目标对应关系,确定所述APN标识。进一步地,在一个示例中,所述第一网络节点可以执行与所述APN标识对应的数据处理行为,例如,执行对应的转发行为,又如,执行网络参数统计行为,等等。
关于前述指示信息和所述指示信息的生成方式,需要说明的是:
在一个示例中,所述指示信息可以是所述SID list所指示的报文转发路径的标识。对于这种情况,在一些实施例中,可以按照特定算法对所述SID list进行计算的方式,生成所述路径标识,并将所述路径标识作为所述指示信息。例如,可以利用哈希算法对所述SID list进行计算,将哈希计算的计算结果作为所述指示信息。在又一些实施例中,为了保证所述 指示信息全局唯一,可以按照特定算法对所述SID list和所述SID list所指示的报文转发路径的头节点的标识进行计算的方式,生成所述路径标识,并将所述路径标识作为所述指示信息。例如,可以对所述头节点的标识和所述SID list进行拼接,并利用哈希算法对拼接结果进行计算,将哈希计算的计算结果作为所述指示信息。
在另一个示例中,在所述指示信息还用于指示切片信息的场景下,所述指示信息例如可以是根据所述路径标识和所述指示信息所指示的切片标识得到的。作为一示例,可以按照特定算法对所述路径标识和所述切片标识进行计算,从而得到所述指示信息。例如,可以利用哈希算法对所述路径标识和所述切片标识进行计算,从而得到所述指示信息。
在又一个示例中,在所述指示信息还用于指示APN信息的场景下,所述指示信息例如可以是根据所述路径标识和所述指示信息所指示的APN标识得到的。作为一示例,可以按照特定算法对所述路径标识和所述APN标识进行计算,从而得到所述指示信息。例如,可以利用哈希算法对所述路径标识和所述APN标识进行计算,从而得到所述指示信息。
在另一个示例中,在所述指示信息还用于指示切片信息和APN信息的场景下,所述指示信息例如可以是根据所述路径标识、所述指示信息所指示的切片标识、以及所述指示信息所指示的APN标识得到的。作为一示例,可以按照特定算法对所述路径标识、所述切片标识、以及所述APN标识进行计算,从而得到所述指示信息。例如,可以利用哈希算法对所述路径标识、所述切片标识、以及所述APN标识进行计算,从而得到所述指示信息。
通过以上描述可知,利用本申请实施例提供的方案,与传统技术相比,可以在第一IPv6报文中携带指示源路由转发行为的指示信息即可实现源路由转发,无需在第一IPv6报文中携带SRH。而指示信息的长度小于SRH的长度,尤其是在SID list所包括的SID数量较多的情况下,指示信息的长度远远小于SRH的长度。因此,本方案提供了一种不使用SRH的SR-TE实现方式,可以减少第一IPv6报文中非净荷部分的报文长度,从而减少了非净荷部分所占用的带宽资源,相应的,增加了用于承载业务的净荷部分的可用带宽,从而达到了提升业务传输效率的效果。
另外,当第一网络节点为SID list所指示的报文转发路径的中间节点时,第一网络节点基于所述指示信息来进行源路由转发与基于SRH进行源路由转发相比,第一网络节点处理的报文头的长度减少了,相应的也提升了第一网络节点进行源路由转发的效率。
并且,本方案与在SRH中携带“block+uSID”的方式相比,不仅能够更加节省报文长度,而且,本方案所适应的场景也不限于内部网络,并且,本方案所能使用的网络规模也更大。
如前所述,第一网络节点可以预先保存所述目标对应关系。所述目标对应关系可以是所述第一网络节点创建的,也可以是控制下发给所述第一网络节点的,本申请实施例不做具体限定。
接下来,结合图4,介绍作为中间节点的第一网络节点创建所述目标对应关系的具体实现方式。图4为本申请实施例提供的一种创建目标对应关系的流程示意图。图4所示的方法,例如可以包括如下S201-S202。
S201:接收第一SRv6报文,所述第一SRv6报文中包括所述指示信息和SRH,所述第一SRv6报文用于创建所述目标对应关系。
在本申请实施例中,所述第一网络节点可以从上游节点处接收所述第一SRv6报文。该SRv6报文中包括的指示信息和SRH,用于指示同一源路由转发行为。或者说,所述SRH携带的SID list,即为所述指示信息所指示的源路由转发行为对应的SID list。
在一个示例中,所述第一SRv6报文可以由前述报文转发路径的头节点生成。在一个示例中,所述头节点可以在接收到控制器下发的SID list之后,根据所述SID list和所述指示信息,生成包括所述指示信息和携带所述SID list的SRH的第一SRv6报文。
本申请实施例不具体限定所述头节点生成所述第一SRv6报文的时机,所述头节点可以在所述报文转发路径开始传输业务数据时,生成所述第一SRv6报文,对于这种情况,所述第一SRv6报文中可以包括业务数据。所述头节点也可以在所述报文转发路径尚未开始传输业务数据之前,生成所述第一SRv6报文,对于这种情况,所述第一SRv6报文中可以不包括业务数据。
S202:根据第一SRv6报文中包括的所述指示信息和所述SRH,得到所述目标对应关系。
第一网络节点接收所述第一SRv6报文之后,可以对所述第一SRv6报文进行解析,得到所述第一SRv6报文中携带的指示信息和SRH,并进一步基于所述指示信息和所述SRH,得到所述目标对应关系。在一个具体的示例中,所述第一网络节点可以基于所述SRv6报文中携带的指示信息和SRH中包括的SID list,得到所述目标对应关系。在一个具体的示例中,创建所述目标对应关系在具体实现时,可以首先确定所述转发信息,进一步创建所述转发信息和所述指示信息的目标对应关系。
如前所述,所述目标对应关系可以包括指示信息和转发信息的对应关系。而转发信息包括以下几种情况:
第一种情况:下一跳SID;
第二种情况:下一跳SID和出接口;
第三种情况:SID list;
第四种情况:下一跳目标字段,目标字段包括locator和function;
第五种情况:下一跳目标字段和出接口。
对于这五种情况中的第一种情况、第三种情况和第四种情况,获取转发信息在具体实现时,均可以为从所述SRH中提取所述转发信息。其中,下一跳SID和下一跳目标字段可以从SRH中包括的SID list中提取得到。
对于第二种情况,获取所述转发信息除了包括从所述SRH中提取所述下一跳SID之外,还可以将所述下一跳SID与报文转发表进行匹配,从而得到所述出接口。
类似的,对于第四种情况,获取所述转发信息除了包括从所述SRH中提取所述下一跳目标字段之外,还可以将所述下一跳目标字段与报文转发表进行匹配,从而得到所述出接口。
在一个示例中,在前述指示信息还用于指示切片信息的场景下,所述第一SRv6报文中还可以包括切片标识,相应的,所述第一网络节点创建的目标对应关系中还可以包括所述指示信息和所述切片标识之间的对应关系。
本申请实施例不具体限定所述切片标识在所述第一SRv6报文中的携带位置,所述切 片标识可以携带在所述第一SRv6报文的IPv6扩展头中,例如,所述切片标识可以携带在所述第一SRv6报文的hop-by-hop选项头中。
在一个示例中,在前述指示信息还用于指示APN信息的场景下,所述第一SRv6报文中还可以包括APN标识,相应的,所述第一网络节点创建的目标对应关系中还可以包括所述指示信息和所述APN标识之间的对应关系。
本申请实施例不具体限定所述APN标识在所述第一SRv6报文中的携带位置,所述APN标识可以携带在所述第一SRv6报文的IPv6扩展头中,例如,所述APN标识可以携带在所述第一SRv6报文的DOH中。
第一网络节点接收到第一SRv6报文之后,除了可以执行S202之外,还可以根据第一SRv6报文得到第二SRv6报文,例如根据下一跳SID更新所述第一SRv6报文的目的地址,得到所述第二SRv6报文。第一网络节点可以继续向下游节点转发所述第二SRv6报文,所述第二SRv6报文也包括所述至少信息,以便于下游节点基于所述第二SRv6报文创建与自身匹配的所述目标对应关系。
通过以上描述可知,所述报文转发路径中的各个中间节点均可以创建与自身匹配的目标对应关系。在一个示例中,当所述第二SRv6报文沿着所述报文转发路径转发至所述报文转发路径的尾节点时,所述尾节点例如可以创建所述指示信息和尾节点指示之间的对应关系,其中,所述尾节点指示用于指示自身为与所述指示信息关联的报文转发路径的尾节点。
在一个示例中,当前述第一IPv6报文转发至所述尾节点时,所述尾节点可以基于所述指示信息和尾节点指示之间的对应关系,得到所述尾节点指示,从而确定自身为第一IPv6报文的转发路径的尾节点,相应的,所述尾节点可以剥离所述第一IPv6报文的IPv6头和IPv6扩展头得到业务报文,并进一步对该业务报文进行转发。
在一个示例中,所述尾节点创建所述指示信息和尾节点指示之间的对应关系之后,可以向所述头节点发送通知消息,该通知消息用于通知所述头节点尾节点已经成功创建了包括所述指示信息的对应关系。相应的,所述头节点接收到所述通知消息之后,若接收到前述用户侧设备发送的业务报文,则所述头节点在对业务报文进行封装时,可以基于业务报文和前述指示信息来对业务报文进行封装,而无需再封装SRH。
另外,若前述目标对应关系是控制器下发给所述报文传输路径的中间节点的,则控制器可以首先确定各个中间节点分别对应的前述目标对应关系,并将所确定的目标对应关系下发给对应的头节点。
控制器确定各个中间节点对应的目标对应关系的实现方式是类似的,以控制器确定第一网络节点对应的目标对应关系为例,控制器可以首先确定所述转发信息,并进一步创建所述转发信息和所述指示信息的目标对应关系。
如前所述,转发信息包括以下几种情况:
第一种情况:下一跳SID;
第二种情况:下一跳SID和出接口;
第三种情况:SID list;
第四种情况:下一跳目标字段,目标字段包括locator和function;
第五种情况:下一跳目标字段和出接口。
对于这五种情况中的第一种情况、第三种情况和第四种情况,控制器确定转发信息的具体实现方式与第一网络节点确定转发信息的方式是类似的,控制器可以从所述SID list中提取所述转发信息。
对于第二种情况,确定所述转发信息除了包括从所述SID list中提取所述下一跳SID之外,还可以根据控制器收集的网络拓扑信息,得到所述出接口。
类似的,对于第四种情况,确定所述转发信息除了包括从所述SID list中提取所述下一跳目标字段之外,还可以根据控制器收集的网络拓扑信息,得到所述出接口。
另外,本申请实施例还提供了一种应用于控制器的信息处理方法。参见图5,该图为本申请实施例提供的一种信息处理方法的流程示意图。图5所示的信息处理方法,例如可以包括如下S301-S302。
S301:确定指示信息和目标对应关系,所述指示信息用于指示源路由转发行为,所述目标对应关系包括:所述指示信息和所述源路由转发行为对应的转发信息之间的对应关系。
S302:将所述目标对应关系发送给第一网络节点,以使得所述第一网络节点在接收到包括所述指示信息且不携带SRH的第一IPv6报文时,根据所述目标对应关系确定所述转发信息,所述第一网络节点为所述第一IPv6报文的报文转发路径上的中间节点。
在一种可能的实现方式中,所述控制器还可以将所述源路由转发行为对应的表SID list和所述指示信息发送给所述报文转发路径的头节点。
关于所述控制器执行的信息处理方法,其具体实现可以参考上文的相关描述部分,此处不做重复描述。
关于所述目标对应关系以及转发信息的具体内容,可以参考上文的相关描述部分,此处不做重复描述。
接下来,从系统角度,对本申请实施例提供的报文处理方法进行介绍。参见图6,该图为本申请实施例提供的一种通信系统的架构示意图。如图6所示,所述通信系统可以包括控制器和网络节点PE1、P1、P2以及PE2。接下来,以报文转发路径为PE1→P1→P2→PE2为例,对本申请实施例提供的报文处理方法进行介绍。
本申请实施例提供的方法,例如可以包括如下步骤B1-B15。
步骤B1:控制器收集网络拓扑,包括END END.X、END.DT等信息,同时收集网络节点是否支持基于指示信息进行源路由转发的压缩能力。
步骤B2:控制器根据服务级别协议(service level agreement,SLA)要求计算得到一条满足要求的路径PE1→P1→P2→PE2,并基于计算得到的路径编排SRv6policy的SID LIST,并为该路径分配路径标识(path ID)。
步骤B3:控制器通过边界网关协议(Border Gateway Protocol,BGP)把编排的SRv6 policy和分配的path ID下发给头节点PE1,SRv6policy中可以携带头节点的IP地址headend、尾节点的IP地址endpoint、以及着色(color)属性,另外,SRv6policy中还可以携带SID list。
步骤B4:PE2在进行路由发布时,携带color属性和endpoint,头节点PE1收到的路由根据Endpoint和color迭代到前述SRv6 policy。
步骤B5:头节点PE1根据前述path ID和SRv6policy的SID list生成SRv6报文1,SRv6报文1中包括携带所述SID list的SRH以及前述path ID。在图6中,path ID携带在SRv6报文1的DOH中。
步骤B6:头节点PE1将该SRv6报文1发送给中间节点P1。
步骤B7:中间节点P1根据所述SRv6报文1,保存path ID和下一跳SID1的对应关系,其中,下一跳SID所指示的节点为中间节点P2。
在另一些示例中,中间节点P1保存的目标对应关系,也可以是path ID、下一跳SID1以及出接口之间的对应关系;在又一些示例中,中间节点P1保存的目标对应关系,还可以是path ID和SID list之间的对应关系。
步骤B8:中间节点P1将根据SRv6报文1得到的SRv6报文2转发给中间节点P2。
中间节点P1可以对SRv6报文1的SRH中的SL字段和SRv6报文1的目的地址字段进行修改,从而得到所述SRv6报文2。
步骤B9:中间节点P1根据接收到的SRv6报文2,保存path ID和下一跳SID2的对应关系,其中,下一跳SID2所指示的节点为尾节点PE2。
在另一些示例中,中间节点P2保存的目标对应关系,也可以是path ID、下一跳SID2以及出接口之间的对应关系;在又一些示例中,中间节点P2保存的目标对应关系,还可以是path ID和SID list之间的对应关系。
步骤B10:中间节点P2将根据SRv6报文2得到的SRv6报文3转发给尾节点PE2。
中间节点P2可以对SRv6报文2的SRH中的SL字段和SRv6报文2的目的地址字段进行修改,从而得到所述SRv6报文3。
步骤B11:尾节点PE2根据接收到的SRv6报文3,确定自身是转发该SRv6报文3的尾节点,因此,尾节点PE2可以保存path ID和尾节点指示之间的对应关系。
步骤B12:尾节点PE2向所述头节点PE1发送通知消息,该通知消息用于通知所述头节点PE1尾节点PE2已经成功创建了包括所述指示信息的对应关系。
步骤B13:尾节点接收到该通知消息之后,在报文转发阶段,可以生成包括path ID且不包括SRH的IPv6报文1,并转发IPv6报文1。
步骤B13:中间节点P1基于path ID和本地存储的目标对应关系,向中间节点P2转发根据IPv6报文1得到的IPv6报文2,IPv6报文2中包括前述path ID。
步骤B14:中间节点P2基于path ID和本地存储的目标对应关系,向尾节点PE2转发根据IPv6报文2得到的IPv6报文3。
步骤B15:尾节点PE2接收到IPv6报文3,则基于path ID和本地存储的目标对应关系,剥掉IPv6报文3的外层IPv6头和IPv6扩展头,进行内层业务报文的转发。
需要说明的是,图6只是本申请的一种应用场景,其并不构成对本申请实施例的限定。
在一个示例中,如图7所示,前述节点P1、节点P2以及节点PE2存储的目标对应关系,可以是控制器下发的。其中,图7为本申请实施例提供的又一种通信系统的架构示意图。
在又一个示例中,当前述路径PE1→P1→P2→PE2关联切片标识1时,中间节点P1和中间节点P2保存的目标对应关系,可以是压缩ID1、转发信息、以及切片标识1之间的对 应关系,其中,压缩ID1可以是利用特定算法对所述path ID和切片标识1进行计算得到的。对于这种情况,SRv6报文1中还可以包括所述切片标识1。
在又一个示例中,当前述路径PE1→P1→P2→PE2关联APN标识1时,中间节点P1和中间节点P2保存的目标对应关系,可以是压缩ID2、转发信息、以及APN标识1之间的对应关系,其中,压缩ID2可以是利用特定算法对所述path ID和APN标识1进行计算得到的。对于这种情况,SRv6报文1中还可以包括所述APN标识1。
在又一个示例中,当前述路径PE1→P1→P2→PE2关联切片标识1、且关联APN标识1时,中间节点P1和中间节点P2保存的目标对应关系,可以是压缩ID3、转发信息、切片标识1、以及APN标识1之间的对应关系,其中,压缩ID3可以是利用特定算法对所述path ID、切片标识1以及APN标识1进行计算得到的。对于这种情况,SRv6报文1中还可以包括所述切片标识1和所述APN标识1。
在另一个示例中,前述path ID也可以携带在除DOH中的其它位置,例如携带在hop-by-hop选项头中,又如携带在目的地址的arguments字段中。
关于本申请可能的应用场景,此处不一一列举说明。
需要说明的是,本申请实施例提供的各种可能的实现方式,在不冲突的情况下,可以相互结合引用。
本申请实施例还提供了一种报文处理装置,接下来,结合附图对该报文处理装置进行介绍。
参见图8,该图为本申请实施例提供的一种报文处理装置的结构示意图。图8所示的报文处理装置800,可以应用于第一网络节点,用于执行以上方法实施例提供的由第一网络节点执行的报文处理方法。
在一个示例中,所述报文处理装置800可以包括:获取单元801和发送单元802。
获取单元801,用于获取第一互联网协议第六版IPv6报文,所述第一IPv6报文不携带分段路由头SRH,所述第一IPv6报文中包括指示信息,所述指示信息用于指示源路由转发行为,所述源路由转发行为包括:基于段标识列表SID list所指示的报文转发路径进行报文转发。
发送单元802,用于转发所述第一IPv6报文。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述发送单元802,用于:根据所述指示信息转发所述第一IPv6报文。
在一种可能的实现方式中,所述装置还包括:处理单元,用于在根据所述指示信息转发所述第一IPv6报文之前,根据所述指示信息以及目标对应关系,确定转发信息,所述目标对应关系包括:所述指示信息以及所述转发信息之间的对应关系;所述发送单元802,用于:根据所述转发信息转发所述第一IPv6报文。
在一种可能的实现方式中,所述转发信息包括:下一跳段标识SID;所述发送单元802,用于:根据所述下一跳SID更新所述第一IPv6报文中的目的地址,得到第二IPv6报文,所述第二IPv6报文的目的地址为所述下一跳SID;转发所述第二IPv6报文。
在一种可能的实现方式中,所述转发信息还包括:出接口;所述转发所述第二IPv6报文,包括:通过所述出接口转发所述第二IPv6报文。
在一种可能的实现方式中,所述转发信息包括所述SID list,所述SID list包括所述下一跳SID。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的IPv6头中。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的目的选项头DOH中。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的目的地址的arguments字段中。
在一种可能的实现方式中,所述目的地址的功能function字段指示基于所述指示信息执行源路由转发行为。
在一种可能的实现方式中,所述指示信息携带在所述第一IPv6报文的目的地址的arguments字段中,所述转发信息包括:下一跳目标字段,所述下一跳目标字段,包括下一跳定位符locator字段和下一跳function字段;所述发送单元802,用于:根据所述下一跳目标字段更新根据所述第一IPv6报文的目的地址,得到第三IPv6报文,所述第三IPv6报文的目的地址包括所述下一跳目标字段和所述指示信息,所述指示信息携带在所述第三IPv6报文的目的地址的arguments字段中;转发所述第三IPv6报文。
在一种可能的实现方式中,所述转发信息还包括:出接口;所述转发所述第三IPv6报文,包括:通过所述出接口转发所述第三IPv6报文。
在一种可能的实现方式中,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
在一种可能的实现方式中,所述装置包括的处理单元,还用于:根据所述指示信息以及所述目标对应关系,确定所述切片标识。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述装置还包括:接收单元,用于在接收所述第一IPv6报文之前,接收控制器下发的所述目标对应关系。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述装置还包括:接收单元,用于在接收所述第一IPv6报文之前,接收第一互联网协议第六版段路由SRv6报文,所述第一SRv6报文中包括所述指示信息和SRH,所述第一SRv6报文用于创建所述目标对应关系;所述装置包括的处理单元,还用于根据第一SRv6报文中包括的所述指示信息和所述SRH,得到所述目标对应关系。
在一种可能的实现方式中,所述第一SRv6报文由所述报文转发路径的头节点生成。
在一种可能的实现方式中,所述第一网络节点为所述第一IPv6的报文转发路径的头节点,所述获取单元,用于:接收用户侧设备发送的业务报文;确定所述业务报文对应的所述报文转发路径;根据所述报文转发路径确定所述指示信息,并基于所述指示信息生成所述第一IPv6报文。
在一种可能的实现方式中,所述装置包括的处理单元,还用于在生成所述第一IPv6报文之前,生成所述指示信息,或者,所述装置包括的接收单元,还用于在接收所述第一IPv6报文之前,接收控制器发送的所述指示信息。
由于所述装置800是与以上方法实施例提供的报文处理方法对应的装置,所述装置800 的各个单元的具体实现,均与以上方法实施例为同一构思,因此,关于所述装置800的各个单元的具体实现,可以参考以上方法实施例的相关描述部分,此处不再赘述。
本申请实施例还提供了一种信息处理装置,接下来,结合附图对该报文处理装置进行介绍。
参见图9,该图为本申请实施例提供的一种信息处理装置的结构示意图。图9所示的信息处理装置900,可以应用于控制器,用于执行以上方法实施例提供的由控制器执行的信息处理方法。
在一个示例中,所述信息处理装置900可以包括:处理单元901和发送单元902。
处理单元901,用于确定指示信息和目标对应关系,所述指示信息用于指示源路由转发行为,所述目标对应关系包括:所述指示信息和所述源路由转发行为对应的转发信息之间的对应关系。
发送单元902,用于将所述目标对应关系发送给第一网络节点,以使得所述第一网络节点在接收到包括所述指示信息且不携带分段路由头SRH的第一互联网协议第六版IPv6报文时,根据所述目标对应关系确定所述转发信息,所述第一网络节点为所述第一IPv6报文的报文转发路径上的中间节点。
在一种可能的实现方式中,所述发送单元902,还用于:将所述源路由转发行为对应的段标识列表SID list和所述指示信息发送给所述报文转发路径的头节点。
在一种可能的实现方式中,所述转发信息包括:下一跳段标识SID。
在一种可能的实现方式中,所述转发信息还包括:出接口。
在一种可能的实现方式中,所述转发信息包括所述源路由转发行为对应的SID list,所述SID list包括所述下一跳SID。
在一种可能的实现方式中,所述转发信息包括:下一跳目标字段,所述下一跳目标字段包括下一跳定位符locator字段和下一跳功能function字段。
在一种可能的实现方式中,所述转发信息还包括出接口。
在一种可能的实现方式中,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
由于所述装置900是与以上方法实施例提供的信息处理方法对应的装置,所述装置900的各个单元的具体实现,均与以上方法实施例为同一构思,因此,关于所述装置900的各个单元的具体实现,可以参考以上方法实施例的相关描述部分,此处不再赘述。
需要说明的是,前述提及的报文处理装置800和信息处理装置900,其硬件结构可以为如图10所示的结构,图10为本申请实施例提供的一种设备的结构示意图。
请参阅图10所示,设备1000包括:处理器1010、通信接口1020和存储器1030。其中设备1000中的处理器1010的数量可以一个或多个,图10中以一个处理器为例。本申请实施例中,处理器1010、通信接口1020和存储器1030可通过总线系统或其它方式连接,其中,图10中以通过总线系统1040连接为例。
处理器1010可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。处理器1010还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器 件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器1030可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(random-access memory,RAM);存储器1030也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器1030还可以包括上述种类的存储器的组合。当设备1000对应前述报文处理装置800时,存储器1030例如可以存储前述目标对应关系;当设备1000对应前述信息处理装置900时,存储器1030例如可以存储前述目标对应关系以及所述源路由转发行为对应的SID list。
可选地,存储器1030存储有操作系统和程序、可执行模块或者数据结构,或者它们的子集,或者它们的扩展集,其中,程序可包括各种操作指令,用于实现各种操作。操作系统可包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。处理器1010可以读取存储器1030中的程序,实现本申请实施例提供的报文处理方法或者信息处理方法。
总线系统1040可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线系统1040可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本申请实施例还提供了一种计算机可读存储介质,包括指令或计算机程序,当其在计算机上运行时,使得计算机执行以上实施例提供的报文处理方法或者信息处理方法。
本申请实施例还提供了一种包含指令或计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行以上实施例提供的报文处理方法或者信息处理方法。
本申请实施例还提供了一种通信系统,所述通信系统包括执行以上方法实施例提供的报文处理方法的第一网络节点、以及执行以上方法实施例提供的信息处理方法的控制器。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑业务划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合 或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各业务单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件业务单元的形式实现。
集成的单元如果以软件业务单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的业务可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些业务存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明的具体实施方式而已。
以上,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (33)

  1. 一种报文处理方法,其特征在于,应用于第一网络节点,所述方法包括:
    获取第一互联网协议第六版IPv6报文,所述第一IPv6报文不携带分段路由头SRH,所述第一IPv6报文中包括指示信息,所述指示信息用于指示源路由转发行为,所述源路由转发行为包括:基于段标识列表SID list所指示的报文转发路径进行报文转发;
    转发所述第一IPv6报文。
  2. 根据权利要求1所述的方法,其特征在于,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,所述转发所述第一IPv6报文,包括:
    根据所述指示信息转发所述第一IPv6报文。
  3. 根据权利要求2所述的方法,其特征在于,在根据所述指示信息转发所述第一IPv6报文之前,所述方法还包括:
    根据所述指示信息以及目标对应关系,确定转发信息,所述目标对应关系包括:所述指示信息以及所述转发信息之间的对应关系;
    所述根据所述指示信息转发所述第一IPv6报文,包括:
    根据所述转发信息转发所述第一IPv6报文。
  4. 根据权利要求3所述的方法,其特征在于,所述转发信息包括:下一跳段标识SID;
    所述根据所述转发信息转发所述第一IPv6报文,包括:
    根据所述下一跳SID更新所述第一IPv6报文中的目的地址,得到第二IPv6报文,所述第二IPv6报文的目的地址为所述下一跳SID;
    转发所述第二IPv6报文。
  5. 根据权利要求4所述的方法,其特征在于,所述转发信息还包括:出接口;
    所述转发所述第二IPv6报文,包括:
    通过所述出接口转发所述第二IPv6报文。
  6. 根据权利要求4所述的方法,其特征在于,所述转发信息包括所述SID list,所述SID list包括所述下一跳SID。
  7. 根据权利要求1-6任意一项所述的方法,其特征在于,所述指示信息携带在所述第一IPv6报文的IPv6头中。
  8. 根据权利要求1-6任意一项所述的方法,其特征在于,所述指示信息携带在所述第一IPv6报文的目的选项头DOH中。
  9. 根据权利要求1-6任意一项所述的方法,其特征在于,所述指示信息携带在所述第一IPv6报文的目的地址的参数arguments字段中。
  10. 根据权利9所述的方法,其特征在于,所述目的地址的功能function字段指示基于所述指示信息执行源路由转发行为。
  11. 根据权利要求3所述的方法,其特征在于,所述指示信息携带在所述第一IPv6报文的目的地址的arguments字段中,所述转发信息包括:下一跳目标字段,所述下一跳目标字段,包括下一跳定位符locator字段和下一跳function字段;
    所述根据所述转发信息转发所述第一IPv6报文,包括:
    根据所述下一跳目标字段更新根据所述第一IPv6报文的目的地址,得到第三IPv6报 文,所述第三IPv6报文的目的地址包括所述下一跳目标字段和所述指示信息,所述指示信息携带在所述第三IPv6报文的目的地址的arguments字段中;
    转发所述第三IPv6报文。
  12. 根据权利要求11所述的方法,其特征在于,所述转发信息还包括:出接口;
    转发所述第三IPv6报文,包括:
    通过所述出接口转发所述第三IPv6报文。
  13. 根据权利要求1-12任意一项所述的方法,其特征在于,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    根据所述指示信息以及所述目标对应关系,确定所述切片标识。
  15. 根据权利要求3-6任意一项所述的方法,其特征在于,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,在接收所述第一IPv6报文之前,所述方法还包括:
    接收控制器下发的所述目标对应关系。
  16. 根据权利要求3-6任意一项所述的方法,其特征在于,所述第一网络节点为所述第一IPv6的报文转发路径的中间节点,在接收所述第一IPv6报文之前,所述方法还包括:
    接收第一互联网协议第六版段路由SRv6报文,所述第一SRv6报文中包括所述指示信息和SRH,所述第一SRv6报文用于创建所述目标对应关系;
    根据第一SRv6报文中包括的所述指示信息和所述SRH,得到所述目标对应关系。
  17. 根据权利要求16所述的方法,其特征在于,所述第一SRv6报文由所述报文转发路径的头节点生成。
  18. 根据权利要求1所述的方法,其特征在于,所述第一网络节点为所述第一IPv6的报文转发路径的头节点,所述获取第一互联网协议第六版IPv6报文,包括:
    接收用户侧设备发送的业务报文;
    确定所述业务报文对应的所述报文转发路径;
    根据所述报文转发路径确定所述指示信息,并基于所述指示信息生成所述第一IPv6报文。
  19. 根据权利要求18所述的方法,其特征在于,在生成所述第一IPv6报文之前,所述方法还包括:
    生成所述指示信息,或者,
    接收控制器发送的所述指示信息。
  20. 一种信息处理方法,其特征在于,应用于控制器,所述方法包括:
    确定指示信息和目标对应关系,所述指示信息用于指示源路由转发行为,所述目标对应关系包括:所述指示信息和所述源路由转发行为对应的转发信息之间的对应关系;
    将所述目标对应关系发送给第一网络节点,以使得所述第一网络节点在接收到包括所述指示信息且不携带分段路由头SRH的第一互联网协议第六版IPv6报文时,根据所述目标对应关系确定所述转发信息,所述第一网络节点为所述第一IPv6报文的报文转发路径上的中间节点。
  21. 根据权利要求20所述的方法,其特征在于,所述方法还包括:
    将所述源路由转发行为对应的段标识列表SID list和所述指示信息发送给所述报文转发路径的头节点。
  22. 根据权利要求20所述的方法,其特征在于,所述转发信息包括:下一跳段标识SID。
  23. 根据权利要求22所述的方法,其特征在于,所述转发信息还包括:出接口。
  24. 根据权利要求22所述的方法,其特征在于,所述转发信息包括所述源路由转发行为对应的SID list,所述SID list包括所述下一跳SID。
  25. 根据权利要求20所述的方法,其特征在于,所述转发信息包括:下一跳目标字段,所述下一跳目标字段包括下一跳定位符locator字段和下一跳功能function字段。
  26. 根据权利要求25所述的方法,其特征在于,所述转发信息还包括出接口。
  27. 根据权利要求20-26任意一项所述的方法,其特征在于,所述指示信息还用于指示切片信息,相应的,所述目标对应关系还包括所述指示信息和切片标识之间的对应关系。
  28. 一种报文处理装置,其特征在于,应用于第一网络节点,所述装置包括:
    获取单元,用于获取第一互联网协议第六版IPv6报文,所述第一IPv6报文不携带分段路由头SRH,所述第一IPv6报文中包括指示信息,所述指示信息用于指示源路由转发行为,所述源路由转发行为包括:基于段标识列表SID list所指示的报文转发路径进行报文转发;
    发送单元,用于转发所述第一IPv6报文。
  29. 一种信息处理装置,其特征在于,应用于控制器,所述装置包括:
    处理单元,用于确定指示信息和目标对应关系,所述指示信息用于指示源路由转发行为,所述目标对应关系包括:所述指示信息和所述源路由转发行为对应的转发信息之间的对应关系;
    发送单元,用于将所述目标对应关系发送给第一网络节点,以使得所述第一网络节点在接收到包括所述指示信息且不携带分段路由头SRH的第一互联网协议第六版IPv6报文时,根据所述目标对应关系确定所述转发信息,所述第一网络节点为所述第一IPv6报文的报文转发路径上的中间节点。
  30. 一种设备,其特征在于,包括:处理器和存储器;
    所述存储器,用于存储指令或计算机程序;
    所述处理器,用于执行所述指令或计算机程序,执行权利要求1-27任意一项所述的方法。
  31. 一种计算机可读存储介质,其特征在于,包括指令或计算机程序,当其在计算机上运行时,使得计算机执行以上权利要求1-27任意一项所述的方法。
  32. 一种通信系统,其特征在于,所述系统包括:
    执行以上权利要求1-19任意一项所述的方法的第一网络节点,以及,执行以上权利要求20-27任意一项所述的方法的控制器。
  33. 一种计算机程序产品,其特征在于,包括计算机程序,当其在处理器上运行时,执行以上权利要求1-27任意一项所述的方法。
PCT/CN2023/103084 2022-09-29 2023-06-28 一种报文处理方法、信息处理方法及装置 WO2024066553A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202211205554.6 2022-09-29
CN202211205554 2022-09-29
CN202211330202.3 2022-10-27
CN202211330202.3A CN117792999A (zh) 2022-09-29 2022-10-27 一种报文处理方法、信息处理方法及装置

Publications (1)

Publication Number Publication Date
WO2024066553A1 true WO2024066553A1 (zh) 2024-04-04

Family

ID=90378521

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/103084 WO2024066553A1 (zh) 2022-09-29 2023-06-28 一种报文处理方法、信息处理方法及装置

Country Status (2)

Country Link
CN (1) CN117792999A (zh)
WO (1) WO2024066553A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583711A (zh) * 2019-09-27 2021-03-30 华为技术有限公司 一种报文处理方法及装置
WO2022110535A1 (zh) * 2020-11-27 2022-06-02 华为技术有限公司 一种报文发送方法、设备及系统
CN114884867A (zh) * 2019-03-08 2022-08-09 华为技术有限公司 一种bier报文的发送方法和装置
CN115412976A (zh) * 2021-05-27 2022-11-29 华为技术有限公司 一种报文处理方法及相关设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884867A (zh) * 2019-03-08 2022-08-09 华为技术有限公司 一种bier报文的发送方法和装置
CN112583711A (zh) * 2019-09-27 2021-03-30 华为技术有限公司 一种报文处理方法及装置
WO2022110535A1 (zh) * 2020-11-27 2022-06-02 华为技术有限公司 一种报文发送方法、设备及系统
CN115412976A (zh) * 2021-05-27 2022-11-29 华为技术有限公司 一种报文处理方法及相关设备

Also Published As

Publication number Publication date
CN117792999A (zh) 2024-03-29

Similar Documents

Publication Publication Date Title
US11979322B2 (en) Method and apparatus for providing service for traffic flow
US11902049B2 (en) BIER packet sending method and apparatus
US9929947B1 (en) Transmitting packet label contexts within computer networks
EP4113919A1 (en) Method for forwarding message in srv6 service function chain, sff and sf device
EP4106281B1 (en) Virtual private network vpn service optimization method and device
CN107770073B (zh) 一种信息同步的方法,装置及系统
WO2021043232A1 (zh) 主机网络性能需求可编程化的方法、设备和系统
JP2023549797A (ja) Bierパケット転送方法、デバイス、及びシステム
JP7154315B2 (ja) 仮想プライベートネットワークを管理するための方法およびデバイス
US8711838B1 (en) Using network labels without standard-defined syntax and semantics
WO2020249035A1 (zh) 一种实现业务功能处理的方法及装置
WO2022057810A1 (zh) 业务报文的转发方法、sr策略的发送方法、设备及系统
WO2024001701A1 (zh) 数据处理方法、装置及系统
WO2024066553A1 (zh) 一种报文处理方法、信息处理方法及装置
CN113965518A (zh) 一种报文处理的方法及设备
US20220247598A1 (en) Packet Detection Method, Connectivity Negotiation Relationship Establishment Method, and Related Device
WO2024093286A1 (zh) 一种切片配置信息的处理方法及装置
WO2023231438A1 (zh) 报文发送的方法、网络设备及系统
WO2024027378A1 (zh) 数据传输方法、装置、网络设备及存储介质
WO2024007762A1 (zh) 一种路由发布方法、通信方法及装置
WO2024041064A1 (zh) Quic报文的传输方法及相关设备
WO2023143585A1 (zh) 路由通告的方法、网络设备和系统
EP4319096A1 (en) Packet transmission method and related device
WO2024109042A1 (zh) 用于sd-wan的通信方法、报文处理方法及网络设备
WO2022257773A1 (zh) 路由检测方法、设备、系统及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23869801

Country of ref document: EP

Kind code of ref document: A1