Data message transmission method and device and storage medium

By establishing virtual ports in PE devices and adjusting their bandwidth to match service bandwidth, the bandwidth waste problem during transmission between customer edge devices is solved, and the utilization rate of bandwidth resources is improved.

CN119520295APending Publication Date: 2025-02-25RUIJIE NETWORKS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311060378.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-22
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

When transmitting service data between different customer edge devices, the physical port bandwidth is greater than the service bandwidth, resulting in waste of bandwidth resources, thereby reducing the utilization rate of bandwidth resources.

Method used

By establishing a virtual port in the first PE device and adjusting the transmission bandwidth of the virtual port according to the service bandwidth of the service flow to match the service bandwidth, a virtual port with matching bandwidth is used when transmitting data between the first PE device and the second PE device.

Benefits of technology

It realizes flexible allocation of bandwidth resources, avoids bandwidth waste caused by service bandwidth less than physical port bandwidth, and improves the utilization rate of bandwidth resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520295A_ABST
    Figure CN119520295A_ABST
Patent Text Reader

Abstract

The invention discloses a data message transmission method and device and a storage medium, belongs to the technical field of communication, and solves the problem of low bandwidth resource utilization rate. According to the specific scheme, first PE equipment receives a first internet protocol IP data message from first CE equipment through a first physical port; the first IP data message comprises data of a first service flow; the first PE device adjusts a transmission bandwidth of a first virtual port in the first PE device to a first transmission bandwidth according to a service bandwidth corresponding to the first service flow; the first transmission bandwidth is matched with the service bandwidth; and the first PE device sends the first IP data message to the second PE device through the adjusted first virtual port. The embodiments of the present application are used in a scene in which data forwarding is performed through an IP network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a data message transmission method, device and storage medium. Background Art

[0002] Currently, in a scenario where service data is transmitted between different Customer Edge (CE) devices, CE device 1 may first send a service flow of service 1 to Provider Edge (PE) 1, so that PE device 1 may encapsulate the service flow received on the physical port connected to CE device 1, and send the encapsulated data packet to PE device 2 through the physical port, so that PE device 2 may decapsulate the data packet and forward the service flow to CE device 2, and then CE device 2 may receive the service flow.

[0003] However, in the process of transmitting service data between different CE devices, PE device 1 sends the encapsulated data packets of the service flow of service 1 to PE device 2 through the physical port connected to CE device 1. In this way, if the service bandwidth requested by service 1 is less than the bandwidth of the physical port, it may cause a waste of bandwidth resources, thereby resulting in low bandwidth resource utilization. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a data message transmission method, device and storage medium, which can solve the problem of low bandwidth resource utilization.

[0005] In a first aspect, an embodiment of the present application provides a data packet transmission method, the method comprising: a first PE device receives a first Internet Protocol (IP) data packet from a first CE device through a first physical port; the first IP data packet includes data of a first service flow; the first PE device adjusts the transmission bandwidth of a first virtual port in the first PE device to a first transmission bandwidth according to the service bandwidth corresponding to the first service flow; the first transmission bandwidth matches the service bandwidth; the first PE device sends the first IP data packet to a second PE device through the adjusted first virtual port.

[0006] The embodiment of the present application provides a data packet transmission method. Since a first virtual port and a second virtual port are respectively established in a first PE device and a second PE device, and the transmission bandwidth of the first virtual port and the second virtual port is adjustable, when the first PE device receives a first IP data packet including data of a first service flow through a first physical port, the transmission bandwidth of the first virtual port can be adjusted to a first transmission bandwidth matching the service bandwidth, so as to send the first IP data packet to the second PE device through the first virtual port matching the service bandwidth, so that the second PE device can receive the first IP data packet through the second virtual port matching the service bandwidth, and send the first IP data packet to a destination CE device, that is, the transmission bandwidth of the first virtual port can be losslessly adjusted to flexibly allocate bandwidth resources, so as to avoid wasting bandwidth resources due to the service bandwidth corresponding to the first service flow being smaller than the first physical port, thereby improving the utilization rate of bandwidth resources.

[0007] In combination with the first aspect and the above possible implementation, in another possible implementation, the above first physical port is bound to a first virtual private network (VPN) instance; the first IP datagram carries the destination address information of the destination CE device. Before the above first PE device adjusts the transmission bandwidth of the first virtual port in the first PE device to the first transmission bandwidth according to the service bandwidth corresponding to the first service flow, the method also includes: the first PE device determines the first next hop information associated with the destination address information according to the first routing forwarding table in the first VPN instance, wherein the first routing forwarding table carries the association relationship between the destination address information and the first next hop information; the first PE device determines the next hop device indicated by the first next hop information as the second PE device; the first PE device determines the virtual port associated with the second PE device as the first virtual port.

[0008] In combination with the first aspect and the above-mentioned possible implementation methods, in another possible implementation method, before the above-mentioned first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, the method also includes: the first PE device determines the first VPN label associated with the destination address information according to the first routing forwarding table, wherein the first routing forwarding table also carries the association relationship between the destination address information and the first VPN label; the first PE device encapsulates the first VPN label on the first IP data packet.

[0009] In combination with the first aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned first PE device sends a first IP data packet to the second PE device through the adjusted first virtual port, including: the first PE device divides the first IP data packet to obtain multiple first bit streams; the length of each first bit stream is matched; the first PE device encapsulates the multiple first bit streams to obtain multiple second IP data packets; each second IP data packet corresponds to a first bit stream; the first PE device sends multiple second IP data packets to the second PE device through the adjusted first virtual port.

[0010] In combination with the first aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned first PE device encapsulates multiple first bit streams to obtain multiple second IP data packets, including: the first PE device simulates encapsulation of multiple first bit streams to obtain multiple second IP data packets; the second IP data packet is a VPN data packet.

[0011] In combination with the first aspect and the above-mentioned possible implementation methods, in another possible implementation method, before the above-mentioned first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, the method also includes: the first PE device adjusts the transmission bandwidth of the first virtual port connected to the first tunnel to a second transmission bandwidth; the first tunnel includes at least one of the following: an Internet Protocol Version 6 Segment Routing (Internet Protocol Version 6 Segment Routing, SRv6) tunnel, a Multi-Protocol Label Switching (Multi-Protocol Label Switching, MPLS) virtual private wire service (Virtual Private Wire Service, VPWS) tunnel, and the first tunnel is connected to the second PE device; the second transmission bandwidth is greater than the first transmission bandwidth; the above-mentioned first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, including: the first PE device sends the first IP data packet to the first tunnel through the adjusted first virtual port.

[0012] In combination with the first aspect and the above-mentioned possible implementation methods, in another possible implementation method, before the above-mentioned first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, the method also includes: the first PE device sets the transmission priority of the first IP data packet to the target priority; the target priority is the highest priority of the Ethernet port.

[0013] In the second aspect, an embodiment of the present application provides a data packet transmission method, the method comprising: a second PE device receives a first IP data packet from a first PE device through a second virtual port; the first IP data packet includes data of a first service flow, the first IP data packet is sent by the first PE device through a first virtual port, the second virtual port corresponds to the first virtual port, the second transmission bandwidth of the second virtual port matches the first transmission bandwidth of the first virtual port, and the first transmission bandwidth matches the service bandwidth corresponding to the first service flow; the second PE device sends the first IP data packet to the destination CE device.

[0014] The embodiment of the present application provides a data packet transmission method. Since a first virtual port and a second virtual port are respectively established in a first PE device and a second PE device, and the transmission bandwidth of the first virtual port and the second virtual port is adjustable, when the first PE device receives a first IP data packet including data of a first service flow through a first physical port, the transmission bandwidth of the first virtual port can be adjusted to a first transmission bandwidth matching the service bandwidth, so as to send the first IP data packet to the second PE device through the first virtual port matching the service bandwidth, so that the second PE device can receive the first IP data packet through the second virtual port matching the service bandwidth, and send the first IP data packet to a destination CE device, that is, the transmission bandwidth of the first virtual port can be losslessly adjusted to flexibly allocate bandwidth resources, so as to avoid wasting bandwidth resources due to the service bandwidth corresponding to the first service flow being smaller than the first physical port, thereby improving the utilization rate of bandwidth resources.

[0015] In combination with the second aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned second PE device receives the first IP data packet from the first PE device through the second virtual port, including: the second PE device receives multiple second IP data packets from the first PE device through the second virtual port; the second PE device sorts and reorganizes the multiple second IP data packets through the second virtual port to obtain the first IP data packet.

[0016] In combination with the second aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned second PE device receives the first IP data packet from the first PE device through the second virtual port, including: the second PE device receives the first IP data packet from the first tunnel through the second virtual port; the first tunnel is connected to the first virtual port, and the first tunnel includes at least one of the following: an SRv6 tunnel, an MPLS VPWS tunnel, and the transmission bandwidth of the first tunnel is a second transmission bandwidth, and the second transmission bandwidth is greater than the first transmission bandwidth.

[0017] In combination with the second aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned first IP data packet carries a first VPN label and destination address information of a destination CE device; before the above-mentioned second PE device sends the first IP data packet to the destination CE device, the method also includes: the second PE device determines a first VPN instance associated with the first VPN label; the second PE device determines a second physical port associated with the destination address information according to a routing table in the first VPN instance; wherein the routing table carries an association relationship between the destination address information and the second physical port; the above-mentioned second PE device sends the first IP data packet to the destination CE device, including: the second PE device sends the first IP data packet to the destination CE device through the second physical port.

[0018] In a third aspect, an embodiment of the present application provides a data packet transmission device, which is a first data packet transmission device, and the first data packet transmission device includes: a receiving module, an adjustment module, and a sending module. Among them, the receiving module is used to receive a first IP data packet from a first CE device through a first physical port; the first IP data packet includes data of a first service flow. The adjustment module is used to adjust the transmission bandwidth of the first virtual port in the first data packet transmission device to the first transmission bandwidth according to the service bandwidth corresponding to the first service flow; the first transmission bandwidth matches the service bandwidth. The sending module is used to send the first IP data packet to the second data packet transmission device through the first virtual port adjusted by the adjustment module.

[0019] In combination with the third aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned first physical port is bound to a first VPN instance; the first IP data packet carries the destination address information of the destination CE device. The first data packet transmission device provided in the embodiment of the present application may also include: a determination module. Among them, the determination module is used to determine the first next hop information associated with the destination address information according to the first routing forwarding table in the first VPN instance before the adjustment module adjusts the transmission bandwidth of the first virtual port in the first data packet transmission device to the first transmission bandwidth according to the service bandwidth corresponding to the first service flow; wherein the first routing forwarding table carries the association relationship between the destination address information and the first next hop information; and determines the next hop device indicated by the first next hop information as the second data packet transmission device; and determines the virtual port associated with the second data packet transmission device as the first virtual port.

[0020] In combination with the third aspect and the above-mentioned possible implementation, in another possible implementation, the above-mentioned determination module is also used to determine the first VPN label associated with the destination address information according to the first routing forwarding table before the sending module sends the first IP data packet to the second data packet transmission device through the first virtual port adjusted by the adjustment module, wherein the first routing forwarding table also carries the association relationship between the destination address information and the first VPN label. The first data packet transmission device provided by the embodiment of the present application may also include: an encapsulation module. The encapsulation module is used to encapsulate the first VPN label determined by the determination module on the first IP data packet.

[0021] In combination with the third aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned sending module is specifically used to divide the first IP data packet to obtain multiple first bit streams; the length of each first bit stream is matched; and the multiple first bit streams are encapsulated to obtain multiple second IP data packets; each second IP data packet corresponds to a first bit stream; and, the multiple second IP data packets are sent to the second PE device through the adjusted first virtual port.

[0022] In combination with the third aspect and the above possible implementations, in another possible implementation, the above sending module is specifically used to simulate and encapsulate multiple first bit streams to obtain multiple second IP data packets; the second IP data packets are VPN data packets.

[0023] In combination with the third aspect and the above possible implementations, in another possible implementation, the above adjustment module is further used to adjust the transmission bandwidth of the first virtual port connected to the first tunnel to a second transmission bandwidth before the sending module sends the first virtual port adjusted by the adjustment module to the second data packet transmission device; the first tunnel includes at least one of the following: an SRv6 tunnel, an MPLS VPWS tunnel, and the first tunnel is connected to the second PE device; the second transmission bandwidth is greater than the first transmission bandwidth. The above sending module is specifically used to send the first IP data packet to the first tunnel through the first virtual port adjusted by the adjustment module.

[0024] In combination with the third aspect and the above-mentioned possible implementations, in another possible implementation, the first data packet transmission device provided in the embodiment of the present application may further include: a setting module. The setting module is used to set the transmission priority of the first IP data packet to the target priority before the sending module sends the first IP data packet to the second data packet transmission device through the first virtual port adjusted by the adjustment module; the target priority is the highest priority of the Ethernet port.

[0025] In a fourth aspect, an embodiment of the present application provides a data packet transmission device, which is a second data packet transmission device, and the second data packet transmission device includes: a receiving module and a sending module. The receiving module is used to receive a first IP data packet from the first data packet transmission device through a second virtual port; the first IP data packet includes data of a first service flow, and the first IP data packet is sent by the first data packet transmission device through a first virtual port, the second virtual port corresponds to the first virtual port, the second transmission bandwidth of the second virtual port matches the first transmission bandwidth of the first virtual port, and the first transmission bandwidth matches the service bandwidth corresponding to the first service flow. The sending module is used to send the first IP data packet received by the receiving module to the destination CE device.

[0026] In combination with the fourth aspect and the above possible implementation, in another possible implementation, the above receiving module is specifically used to receive multiple second IP data packets from the first data packet transmission device through the second virtual port. The second data packet transmission device provided in the embodiment of the present application may also include: a processing module. Among them, the processing module is used to sort and reorganize the multiple second IP data packets received by the receiving module to obtain the first IP data packet.

[0027] In combination with the fourth aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned receiving module is specifically used to receive a first IP data packet from a first tunnel through a second virtual port; the first tunnel is connected to the first virtual port, and the first tunnel includes at least one of the following: an SRv6 tunnel, an MPLS VPWS tunnel, and the transmission bandwidth of the first tunnel is a second transmission bandwidth, and the second transmission bandwidth is greater than the first transmission bandwidth.

[0028] In combination with the fourth aspect and the above-mentioned possible implementation methods, in another possible implementation method, the above-mentioned first IP data packet carries the first VPN label and the destination address information of the destination CE device. The second data packet transmission device provided in the embodiment of the present application may also include: a processing module. Among them, the processing module is used to determine the first VPN instance associated with the first VPN label before the sending module sends the first IP data packet to the destination CE device; and determine the second physical port associated with the destination address information according to the routing table in the first VPN instance; the routing table carries the association relationship between the destination address information and the second physical port. The above-mentioned sending module is specifically used to send the first IP data packet to the destination CE device through the second physical port.

[0029] In a fifth aspect, an embodiment of the present application provides a data packet transmission system, which includes a first PE device and a second PE device; the first PE device executes the data packet transmission method as described in the first aspect and its possible implementation method of the first aspect; the second PE device executes the data packet transmission method as described in the second aspect and its possible implementation method of the second aspect.

[0030] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the data message transmission method as described in the first aspect and the possible implementation manner of the first aspect is implemented, or the data message transmission method as described in the second aspect and the possible implementation manner of the second aspect is implemented.

[0031] In the seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the data packet transmission method as described in the first aspect and the possible implementation method of the first aspect is implemented, or the data packet transmission method as described in the second aspect and the possible implementation method of the second aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a data transmission schematic diagram of a data message transmission method in the related art;

[0033] Figure 2 It is one of the flow charts of the data message transmission method provided in the embodiment of the present application;

[0034] Figure 3 is a schematic diagram of the connection relationship between the first CE device and the first PE device provided in an embodiment of the present application;

[0035] Figure 4 This is the second flow chart of the data message transmission method provided in the embodiment of the present application;

[0036] Figure 5 This is the third flow chart of the data message transmission method provided in the embodiment of the present application;

[0037] Figure 6 This is the fourth flow chart of the data message transmission method provided in the embodiment of the present application;

[0038] Figure 7 It is a data transmission schematic diagram of the data message transmission method provided in an embodiment of the present application;

[0039] Figure 8 It is a signaling interaction diagram of the data message transmission method provided in an embodiment of the present application;

[0040] Fig. 9 A schematic diagram of the composition of a first data message transmission device provided in an embodiment of the present application;

[0041] Fig.10 A schematic diagram of the composition of a second data message transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.

[0044] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0045] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0046] The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0047] At present, with the gradual withdrawal of the Synchronous Digital Hierarchy (SDH) and Multi-Service Transporting Platforms (MSTP) in traditional networks, the services carried on traditional networks need to be migrated to IP networks. In this case, how IP networks can provide the small-granular rigid pipeline requirements of SDH and MSTP types and ensure that the service level agreement (SLA) provided by the IP network for the services can remain consistent after the services are migrated is a technical problem that technical personnel in this field need to solve urgently.

[0048] In order to solve the above technical problems, in a related technology, the bit stream received on the physical port of the PE device can be first subjected to private line emulation (Private Line Emulation, PLE), and the timestamp is carried on the data packet, and then encapsulated in a virtual private wire service (Virtual Private Wire Service, VPWS) data packet, and sent to the destination PE device, so that the destination PE device can store the VPWS data packet in a buffer and recover the bit stream of the payload in the VPWS data packet according to differential clock recovery (Differential Clock Recovery, DCR) to obtain the bit stream. Among them, PLE can be used for Ethernet service emulation, synchronous optical network (Synchronous Optical Network, SONET), SDH, optical transport network (Optical Transport Network, OTN) and other service emulations.

[0049] However, since the PE device performs PLE on the bit stream received on the physical port based on the physical port, and sends the VPWS data packet to the destination device through the physical port connected to the destination PE device, if the service bandwidth applied for by the service to which the above bit stream belongs is smaller than the physical port, it may cause a waste of bandwidth resources, thus resulting in low bandwidth resource utilization. Figure 1 As shown, assuming that there are 3 service flows in the IP network, PE device 2 needs to forward the 3 service flows to PE device 2, and the service bandwidths of the 3 service flows are 200 megabits (M), 500M, and 2 gigabits (G), respectively. Therefore, two Gigabit Ethernet (GE) physical ports and one 10GE physical port of PE device 1 are required, and a total of 12GE port bandwidth is required to carry 2.7G service bandwidth, which seriously wastes bandwidth resources.

[0050] In order to solve the above technical problems, an embodiment of the present application provides a data message transmission method. Figure 2 A flow chart of a data message transmission method provided in an embodiment of the present application. Figure 2 As shown, the data message transmission method may include the following steps 101 to 105.

[0051] Step 101: A first PE device receives a first IP data packet from a first CE device through a first physical port.

[0052] In the embodiment of the present application, the first physical port is a physical port of the first PE device connected to the first CE device.

[0053] In some embodiments of the present application, the number of the above-mentioned first physical ports may be at least one, and the number of the above-mentioned first CE devices may be at least one. Wherein, when the number of the first physical ports is one, the number of the first CE devices may be one; when the number of the first physical ports is at least two, the number of the first CE devices may be at least two, and each first physical port corresponds to one first CE device.

[0054] In the embodiment of the present application, the above-mentioned first IP data packet includes data of the first service flow.

[0055] In some embodiments of the present application, the first service flow may be a service flow of one service, or a service flow of multiple services.

[0056] In some embodiments of the present application, the number of the above-mentioned first IP data packets may be at least one.

[0057] For example, Figure 3 As shown, assuming that the first CE device includes CE device 1, CE device 2 and CE device 3, CE device 1 is connected to the first PE device (for example, PE device 1) through physical port 11, CE device 2 is connected to PE device 1 through physical port 12, and CE device 3 is connected to PE device 1 through physical port 13, then PE device 1 can receive IP datagram 1 sent by CE device 1 through physical port 11, and the IP datagram 1 includes data of the service flow of service 1, and can receive IP datagram 2 sent by CE device 2 through physical port 12, and the IP datagram 2 includes data of the service flow of service 2, and can receive IP datagram 3 sent by CE device 3 through physical port 13, and the IP datagram 3 includes data of the service flow of service 3.

[0058] In some embodiments of the present application, when service interaction is required between the first CE device and the destination CE device, the first CE device may send a first IP data packet to the first PE device, so that the first PE device may receive the first IP data packet.

[0059] Step 102: The first PE device adjusts the transmission bandwidth of the first virtual port in the first PE device to the first transmission bandwidth according to the service bandwidth corresponding to the first service flow.

[0060] In the embodiment of the present application, the first transmission bandwidth matches the service bandwidth.

[0061] It should be noted that the above “matching” can be understood as: being the same, or the difference between the two is less than or equal to a preset threshold.

[0062] In some embodiments of the present application, the service bandwidth corresponding to the first service flow may specifically be: the bandwidth requested by the service to which the first service flow belongs.

[0063] In some embodiments of the present application, the first virtual port may be a rigid container virtual port pre-established on the first PE device. The rigid container virtual port may include but is not limited to at least one of the following: a small granularity flexible Ethernet (Fine Granularity-Flexible Ethernet, fg-FlexE) port, a small granularity optical transport network (Fine Granularity-Optical Transport Network, fg-OTN) port, and a custom port that supports small granules. It should be noted that the above-mentioned "rigid container virtual port" can be understood as: a virtual port whose service exclusively occupies the transmission resources of the first PE device (that is, the transmission resources will not be preempted by other services) and whose transmission bandwidth is adjustable.

[0064] The first virtual port may be a unique rigid container virtual port established in the first PE device, or may be one of the multiple rigid container virtual ports established in the first PE device. When multiple rigid container virtual ports are established in the first PE device, each rigid container virtual port is associated with a different PE device. For example, multiple rigid container virtual ports may be established in the first PE device, namely, rigid container virtual port 1, rigid container virtual port 2, and rigid container virtual port 3. Then, rigid container virtual port 1 may be associated with PE device 1, rigid container virtual port 2 may be associated with PE device 2, and rigid container virtual port 3 may be associated with PE device 3.

[0065] Optionally, when multiple rigid container virtual ports are established in the first PE device, if the first PE device only needs to forward the first IP data packet to the second PE device through the first virtual port, the first virtual port can monopolize all transmission resources of the first PE device; if the first PE device needs to forward the first IP data packet to the second PE device through the first virtual port, and needs to forward other IP data packets to other PE devices through other virtual ports, the first PE device can allocate transmission resources to the first virtual port and other virtual ports according to the service bandwidth corresponding to the service flow included in each data packet, so that the first virtual port can monopolize all transmission resources allocated by the first PE device to the first virtual port, and other virtual ports can monopolize all transmission resources allocated by the first PE device to other virtual ports.

[0066] Optionally, when the first virtual port is a plurality of rigid container virtual ports established in the first PE device, the first PE device may first determine the next hop device to send the first IP data packet based on the first IP data packet, and then determine the rigid container virtual port associated with the next hop device as the first virtual port.

[0067] In some embodiments of the present application, the first PE device may first determine the first transmission bandwidth according to the service bandwidth corresponding to the first service flow, and then adjust the transmission bandwidth of the first virtual port to the first transmission bandwidth.

[0068] The first PE device may directly determine the service bandwidth corresponding to the first service flow as the first transmission bandwidth.

[0069] The following will take the case where the first virtual port is a rigid container virtual port among a plurality of rigid container virtual ports established in the first PE device as an example to illustrate a specific scheme for the electronic device to determine the first virtual port.

[0070] Specifically, the first physical port is bound to a first virtual private network (VPN) instance; the first IP data message carries the destination address information of the destination CE device. Figure 2 ,like Figure 4 As shown, before the above step 102, the data message transmission method provided in the embodiment of the present application may also include the following steps 201 to 203.

[0071] Step 201: A first PE device determines first next hop information associated with destination address information according to a first routing forwarding table in a first VPN instance.

[0072] It should be noted that the above-mentioned “first VPN instance” can be understood as: a VPN instance configured in the first PE device.

[0073] It can be understood that multiple VPN instances are configured in the first PE device, each VPN instance is bound to a physical port, and each VPN instance is used to forward a data message received by a physical port. The first VPN instance is a VPN instance bound to the first physical port, and the first VPN instance is used to forward the data message received by the first physical port.

[0074] In some embodiments of the present application, the above-mentioned destination address information may specifically be: information on the destination address of the service corresponding to the first service flow.

[0075] In the embodiment of the present application, the first routing forwarding table carries the association relationship between the destination address information and the first next hop information.

[0076] In some embodiments of the present application, the first routing forwarding table may specifically be a private network routing forwarding table.

[0077] In some embodiments of the present application, the above-mentioned destination address information may include at least one of the following: IP address information, media access control (Media Access Control, MAC) address information.

[0078] In the embodiment of the present application, the first next hop information is used to indicate that the second PE device is the next hop device.

[0079] In some embodiments of the present application, the first next hop information may include at least one of the following: a device identifier of the second PE device, and address information of the second PE device. The device identifier of the second PE device may include at least one of the following: a name of the second PE device, and an identity code (ID) of the second PE device.

[0080] Step 202: The first PE device determines the next hop device indicated by the first next hop information as the second PE device.

[0081] Step 203: The first PE device determines the virtual port associated with the second PE device as the first virtual port.

[0082] In some embodiments of the present application, the first PE device may determine the first virtual port associated with the second PE device according to the second routing forwarding table, wherein the second routing forwarding table may be a public network routing forwarding table, and the second routing forwarding table carries the association relationship between the device identification of the second PE device and the first virtual port.

[0083] In the embodiment of the present application, since multiple rigid container virtual ports can be pre-set in the first PE device, each rigid container virtual port is associated with a different PE device. Therefore, when the first PE device receives an IP data packet including a service flow of a certain service, it can directly determine an associated rigid container virtual port based on the destination address information in the IP data packet, and perform lossless bandwidth adjustment on the transmission bandwidth of the rigid container virtual port. Therefore, bandwidth resources can be flexibly allocated while ensuring normal transmission of the certain service to avoid waste of bandwidth resources.

[0084] Step 103: The first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port.

[0085] In some embodiments of the present application, the first PE device may first encapsulate the first IP data packet with relevant information, and then route the encapsulated IP data packet to the first virtual port, so that the first virtual port can encapsulate the first IP data packet and send the encapsulated IP data packet to the provider (Provider, P) device, so that the P device can send the encapsulated IP data packet to the second PE device.

[0086] In some embodiments of the present application, before the above step 103, the data packet transmission method provided by the embodiment of the present application may further include the following steps 301 and 302.

[0087] Step 301: A first PE device determines a first VPN label associated with destination address information according to a first routing forwarding table.

[0088] In the embodiment of the present application, the first routing forwarding table carries an association relationship between the destination address information and the first VPN label.

[0089] Step 302: The first PE device encapsulates a first VPN label on the first IP data packet.

[0090] In some embodiments of the present application, the first PE device may further encapsulate MAC information of a next-hop device (ie, a second PE device) on the first IP data packet, and route the encapsulated first IP data packet to the first virtual port.

[0091] In the embodiment of the present application, since the first PE device can also encapsulate the first VPN label on the first IP data packet, after sending the first IP data packet to the second PE device, the second PE device can accurately determine the destination CE device according to the first VPN label to accurately forward the first IP data packet to the destination CE device.

[0092] In some embodiments of the present application, the above step 103 can be specifically implemented through the following steps 103a to 103c.

[0093] Step 103a: The first PE device divides the first IP data message to obtain multiple first bit streams.

[0094] In the embodiment of the present application, the length of each first bit stream in the above-mentioned multiple first bit streams matches.

[0095] It should be noted that the above “matching” can be understood as: being the same, or the difference between the two is less than or equal to a preset threshold.

[0096] In some embodiments of the present application, the first PE device may divide the first IP data packet through the first virtual port to obtain multiple first bit streams.

[0097] Optionally, the first PE device may perform fixed-length packet segmentation processing on the IP data packet obtained by encapsulating MAC information of the next-hop device (ie, the second PE device) on the first IP data packet through the first virtual port to obtain multiple first bit streams.

[0098] Step 103b: The first PE device encapsulates the multiple first bit streams to obtain multiple second IP data packets.

[0099] In the embodiment of the present application, each of the multiple second IP data packets corresponds to a first bit stream.

[0100] In some embodiments of the present application, the first PE device may encapsulate multiple first bit streams through the first virtual port to obtain multiple second IP data packets.

[0101] In some embodiments of the present application, the above step 103b can be specifically implemented through the following step 103b1.

[0102] Step 103b1: The first PE device simulates and encapsulates the multiple first bit streams to obtain multiple second IP data packets.

[0103] In the embodiment of the present application, the second IP data message is a VPN data message.

[0104] In some embodiments of the present application, the first PE device may perform PLE on the multiple first bit streams through the first virtual port to obtain multiple second IP data packets.

[0105] Among them, the first PE device can use the first virtual port to use each first bit stream as a payload, and then encapsulate the PLE header, which includes a real-time transport protocol (RTP) header and a PLE control word, and encapsulates tunnel information of the destination address information, as well as an encapsulated packet switching network (PSN) header, to simulate and encapsulate multiple first bit streams, thereby obtaining multiple second IP data packets.

[0106] It can be understood that PLE simulates and encapsulates the received bit stream in a virtual private wire service (VPWS) data message. The VPWS data message is a type of VPN data message. Therefore, the first PE device performs PLE on multiple first bit streams, and also encapsulates the multiple first bit streams in multiple VPWS data messages to obtain multiple VPWS data messages, that is, multiple VPN data messages, that is, the second IP data message is a VPN data message.

[0107] In some embodiments of the present application, the first PE device may also add a timestamp to each second IP data message after obtaining the plurality of second IP data messages, wherein the timestamp is used by the second PE device to sort and reassemble the plurality of second IP data messages to obtain the first IP data message.

[0108] In the embodiment of the present application, since the overlay model can be used to route to the first virtual port based on the service routing and then perform simulation encapsulation, rather than directly performing simulation encapsulation based on the first physical port, PLE simulation of multiple service types (peer-to-peer (P2P), Layer 2 Virtual Private Network (L2VPN), Layer 3 Virtual Private Network (L3VPN)) can be supported, thereby increasing the number of service types supported by the first PE device.

[0109] Step 103c: The first PE device sends a plurality of second IP data packets to the second PE device through the adjusted first virtual port.

[0110] In some embodiments of the present application, the first PE device may first search for the routing information of the second PE device based on the public network routing table (e.g., the second routing table in the above embodiment), and send the multiple second IP data packets to the P device in the IP network according to the routing information, so that the P device can send the multiple second IP data packets to the second PE device.

[0111] It can be understood that the first PE device can flexibly combine the rigid container virtual port inside the device with the PLE technology, and adopt an overlay model to implement deterministic PLE bearing of multiple services.

[0112] In the embodiment of the present application, since the first PE device can obtain multiple second IP data packets based on the first IP data packet, the transmission status of each second IP data packet is certain during the transmission of multiple second IP data packets, thereby ensuring the certainty of transmitting multiple second IP data packets.

[0113] In some embodiments of the present application, Figure 2 ,like Figure 5 As shown, before the above step 103, the data message transmission method provided in the embodiment of the present application may further include the following step 303.

[0114] Step 303: The first PE device sets the transmission priority of the first IP data packet to the target priority.

[0115] In the embodiment of the present application, the above target priority is the highest priority of the Ethernet port.

[0116] It should be noted that the execution order of the above-mentioned step 301 and step 303 is not limited in the embodiments of the present application; in one example, step 301 may be executed first, and then step 303; in another example, step 303 may be executed first, and then step 301; in yet another example, step 303 may be executed at the same time as step 301.

[0117] In the embodiment of the present application, since the first PE device can set the transmission priority of the first IP data packet to the highest priority of the Ethernet port, this can reduce the situation where data packets of other services occupy the transmission resources of the first IP data packet. Therefore, the transmission efficiency of the first IP data packet can be improved. In this way, the delay of the service to which the first service flow belongs can be reduced to ensure the SLA of the service.

[0118] Step 104: The second PE device receives the first IP data packet from the first PE device through the second virtual port.

[0119] In an embodiment of the present application, the above-mentioned first IP data packet includes data of the first business flow, and the first IP data packet is sent by the first PE device through the first virtual port. The above-mentioned second virtual port corresponds to the first virtual port, and the second transmission bandwidth of the second virtual port matches the first transmission bandwidth of the first virtual port, and the first transmission bandwidth matches the business bandwidth corresponding to the first business flow.

[0120] It can be understood that the second transmission bandwidth matches the adjusted transmission bandwidth of the first virtual port.

[0121] In some embodiments of the present application, the second virtual port may be a rigid container virtual port pre-established on the second PE device. The rigid container virtual port may include but is not limited to at least one of the following: fg-FlexE port, fg-OTN port, and a custom port supporting small particles.

[0122] The second virtual port may be a unique rigid container virtual port established in the second PE device, or may be one of multiple rigid container virtual ports established in the second PE device. When multiple rigid container virtual ports are established in the second PE device, each rigid container virtual port is associated with a different PE device.

[0123] Optionally, in the case where multiple rigid container virtual ports are established in the first PE device, the second PE device may directly determine the second virtual port according to the tunnel information in the first IP data packet.

[0124] In some embodiments of the present application, Figure 2 ,like Figure 6 As shown, the above step 104 can be specifically implemented through the following steps 104a and 104b.

[0125] Step 104a: The second PE device receives a plurality of second IP data packets from the first PE device through the second virtual port.

[0126] In some embodiments of the present application, the second PE device may determine the second virtual port based on the tunnel information in the second IP data packet, and route multiple second IP data packets to the second virtual port to receive the multiple second IP data packets through the second virtual port.

[0127] In some embodiments of the present application, the second IP data message may be a VPN data message. It can be understood that the plurality of second IP data are obtained by the first PE device emulating and encapsulating the plurality of first bit streams.

[0128] It should be noted that, for the description of the simulation encapsulation of multiple first bit streams by the first PE device, reference can be made to the description in the above embodiment, and the embodiments of the present application will not be repeated here.

[0129] Step 104b: The second PE device sorts and reassembles the multiple second IP data packets to obtain the first IP data packet.

[0130] In some embodiments of the present application, the second PE device may first strip the tunnel information in multiple second IP data packets through the second virtual port, then decapsulate the stripped multiple second IP data packets through the second virtual port, and sort and reassemble the multiple second IP data packets based on the timestamps in the multiple second IP data packets, thereby obtaining the first IP data packet.

[0131] In the embodiment of the present application, since multiple rigid container virtual ports can be pre-set in the second PE device, each rigid container virtual port is associated with a different PE device, and each rigid container virtual port matches the transmission bandwidth of the corresponding rigid container virtual port in the associated PE device, the second PE device can directly receive the IP data packets of the service flow of a certain service through the rigid container virtual port that matches the service bandwidth applied for by the certain service, and sort and reorganize the IP data packets, that is, the data reception of the service flow of the certain service can be completed through the rigid container virtual port that matches the service bandwidth applied for by the certain service, thereby avoiding the waste of bandwidth resources.

[0132] Step 105: The second PE device sends the first IP data message to the destination CE device.

[0133] In some embodiments of the present application, the second PE device may send the first IP data packet to the destination CE device through the second physical port.

[0134] In some embodiments of the present application, the number of the second physical ports may be at least one, and the number of the destination CE devices may be at least one. Wherein, when the number of the second physical ports is one, the number of the destination CE devices may be one; when the number of the second physical ports is at least two, the number of the destination CE devices may be at least two, and each second physical port corresponds to one destination CE device.

[0135] It can be understood that when the number of the first physical port, the first CE device, the second physical port and the destination CE device are all one, the data packet transmission method provided in the embodiment of the present application can realize a point-to-point dedicated line service.

[0136] When the number of the first physical port and the first CE device is one, and the number of the second physical port and the destination CE device is at least two, the data packet transmission method provided in the embodiment of the present application can realize point-to-multipoint networking services.

[0137] When the number of the first physical port and the first CE device is at least two, and the number of the second physical port and the destination CE device is at least two, the data message transmission method provided in the embodiment of the present application can realize multi-point to multi-point networking services.

[0138] In some embodiments of the present application, the first IP datagram carries the first VPN label and the destination address information of the destination CE device. Before the above step 105, the data message transmission method provided in the embodiment of the present application may also include the following steps 401 and 402, and the above step 105 may be specifically implemented by the following step 105a.

[0139] Step 401: A second PE device determines a first VPN instance associated with a first VPN label.

[0140] In the embodiment of the present application, after the second PE device determines the first VPN instance, the second PE device may further strip the first VPN label in the first IP data packet.

[0141] Step 402: The second PE device determines a second physical port associated with the destination address information according to the routing table in the first VPN instance.

[0142] In the embodiment of the present application, the above-mentioned routing table carries the association relationship between the destination address information and the second physical port.

[0143] Step 105a: The second PE device sends the first IP data packet to the destination CE device through the second physical port.

[0144] In the embodiment of the present application, since the first IP data packet carries the first VPN label and the destination address information of the destination CE device, the second PE device can determine the first VPN instance based on the first VPN label, and accurately determine the destination CE device based on the first VPN instance and the destination address information, so as to accurately forward the first IP data packet to the destination CE device.

[0145] An embodiment of the present application provides a data packet transmission method, in which a first PE device can receive a first IP data packet including data of a first service flow from a first CE device through a first physical port, and adjust the transmission bandwidth of a first virtual port in the first PE device to a first transmission bandwidth matching the service bandwidth according to the service bandwidth corresponding to the first service flow, so that the first PE device can send the first IP data packet to a second PE device through the adjusted first virtual port, so that the second PE device can receive the first IP data packet from the first PE device through a second virtual port corresponding to the first virtual port, the second transmission bandwidth of the second virtual port matching the first transmission bandwidth, and send the first IP data packet to the destination CE device. Since a first virtual port and a second virtual port are respectively established in the first PE device and the second PE device, and the transmission bandwidth of the first virtual port and the second virtual port is adjustable, when the first PE device receives a first IP data packet including data of a first service flow through the first physical port, the transmission bandwidth of the first virtual port can be adjusted to a first transmission bandwidth matching the service bandwidth, so as to send the first IP data packet to the second PE device through the first virtual port matching the service bandwidth, so that the second PE device can receive the first IP data packet through the second virtual port matching the service bandwidth, and send the first IP data packet to the destination CE device, that is, the transmission bandwidth of the first virtual port can be losslessly adjusted to flexibly allocate bandwidth resources, so as to avoid waste of bandwidth resources due to the service bandwidth corresponding to the first service flow being smaller than the first physical port, thereby improving the utilization rate of bandwidth resources.

[0146] It is understandable that, combined with Figure 1 ,like Figure 7 As shown, assuming that there are 3 service flows in the IP network, the first PE device (for example, PE device 1) needs to forward the 3 service flows to the second PE device (for example, PE device 2), and the bandwidths of the 3 service flows are 200M, 500M and 2G respectively. Then, by adopting the data packet transmission method provided in the present application, a virtual port 14 can be established on the first PE device, and a virtual port 15 can be established on the second PE device, so that the first PE device can adjust the transmission bandwidth of the virtual port 14 to 2.7G according to the service bandwidth (that is, 2.7G) of the 3 service flows, and send the 3 service flows to the virtual port 15 through the adjusted virtual port 14, that is, the embodiment of the present application can carry the 2.7G service bandwidth through the 2.7G bandwidth, thereby avoiding the waste of bandwidth resources.

[0147] Furthermore, the data packet transmission method provided by the present application only needs to establish a virtual port on the first PE device and the second PE device, and can achieve the effect of improving the bandwidth utilization of the port. The intermediate device is not aware of it. Therefore, it has strong compatibility with the existing network. That is, when implementing the data packet transmission method provided by the present application, it is only necessary to directly upgrade the existing network equipment without the need for upgrading and replacing the entire network. In this way, the cost of upgrading the network can be reduced.

[0148] In an embodiment of the present application, before the above-mentioned step 103, the data message transmission method provided in the embodiment of the present application may also include the following step 304, and the above-mentioned step 103 can be specifically implemented by the following step 103a, and the above-mentioned step 104 can be specifically implemented by the following step 104a.

[0149] Step 304: The first PE device adjusts the transmission bandwidth of the first virtual port connected to the first tunnel to the second transmission bandwidth.

[0150] It should be noted that the execution order of the above-mentioned step 301 and step 304 is not limited in the embodiments of the present application; in one example, step 301 may be executed first, and then step 304; in another example, step 304 may be executed first, and then step 301; in yet another example, step 304 may be executed at the same time as step 301.

[0151] In an embodiment of the present application, the first tunnel includes at least one of the following: an SRv6 tunnel and an MPLS VPWS tunnel, and the first tunnel is connected to a second PE device; and the second transmission bandwidth is greater than the first transmission bandwidth.

[0152] In some embodiments of the present application, the first tunnel may be directly connected to the second virtual port of the second PE device, or may be connected to the second virtual port of the second PE device through the P device.

[0153] Step 103a: The first PE device sends a first IP data packet to the first tunnel through the adjusted first virtual port.

[0154] Step 104a: The second PE device receives the first IP data packet from the first tunnel through the second virtual port.

[0155] In an embodiment of the present application, the first tunnel is connected to the first virtual port, and the first tunnel includes at least one of the following: an SRv6 tunnel and an MPLS VPWS tunnel. The transmission bandwidth of the first tunnel is a second transmission bandwidth, and the second transmission bandwidth is greater than the first transmission bandwidth.

[0156] In the embodiment of the present application, since the first PE device can also adjust the transmission bandwidth of the first tunnel connected to the first virtual port to the second transmission bandwidth, and the second transmission bandwidth is greater than the first transmission bandwidth, the large pipe bonus can be enjoyed when transmitting the first IP data packet, that is, the high-speed and low-latency effect brought about by the use of a transmission bandwidth higher than the service bandwidth corresponding to the first service flow to transmit the first IP data packet can be enjoyed, and therefore, the latency of transmitting the data of the service flow can be reduced.

[0157] Furthermore, in the case where the first service flow is a service flow of multiple services, the first PE device can aggregate the IP data packets including data of multiple service flows transmitted in multiple physical ports to transmit between the first virtual port and the second virtual port, instead of transmitting between the multiple physical ports of the first PE device and the multiple physical ports of the second PE device, thereby improving the utilization rate of the bandwidth of the physical port.

[0158] The following will illustrate with specific examples.

[0159] Assume that the number of the first PE device, the second PE device, the first CE device and the destination CE device are all one, the first PE device is PE device 1, the second PE device is PE device 2, the first CE device is CE device 1, and the second CE device is CE device 2. CE device 1 and CE device 2 need to communicate and require the IP network to provide deterministic forwarding capabilities for services. At this time, relevant configurations such as rigid container virtual ports, PLE, VPN, SRv6 / MPLS VPWS tunnels, etc. can be completed on PE device 1 and PE device 2 first, so that the VPN channel between CE device 1 and CE device 2 can be opened through routing iteration.

[0160] like Figure 8As shown, assuming that CE device 1 needs to send an IP datagram to CE device 2, CE device 1 can first send an IP datagram to PE device 1, with the destination address being MAC1 / IP1, so that PE device 1 can receive the IP datagram from the physical port (i.e., the first physical port in the above embodiment) bound to the VPN instance (i.e., the first VPN instance in the above embodiment), and search the private network MAC / IP routing table of the VPN instance to obtain the associated VPN label (i.e., the first VPN label in the above embodiment) and the next hop information, wherein the next hop information indicates that the next hop device is PE device 2, and PE device 1 can search the corresponding outbound interface through the public network routing table, wherein the outbound interface is the rigid container virtual port PE1-PLE1-1.1 (i.e., the first virtual port in the above embodiment) established on PE device 1, and the associated tunnel is Tunnel 1 (i.e., the first tunnel in the above embodiment); at this time, PE device 1 can first encapsulate the VPN label and the MAC information of PE device 2 in the IP data message, and then route the encapsulated IP data message to the rigid container virtual port PE1-PLE1-1.1, so that the rigid container virtual port PE1-PLE1-1.1 can perform fixed-length packet cutting on the encapsulated IP data message to obtain at least one bit stream, and then encapsulate each bit stream as a payload with a PLE header, the PLE header including an RTP header and a PLE control word, as well as an SRv6 / PLS VPWS tunnel Tunnel 1 associated with the rigid container virtual port PE1-PLE1-1.1, and then encapsulate the information of the SRv6 / MPLS VPWS tunnel with the destination address of PE device 2 in the encapsulated emulation packet, so that PE device 1 can search for the routing information of PE device 2 based on the public network routing forwarding table, and forward the encapsulated emulation packet to the P device in the IP network. At this time, the P device can search for the routing information of PE device 2 based on the public network routing forwarding table, and forward the encapsulated simulation packet to PE device 2, so that PE device 2 can be associated with the rigid container virtual port PE2-PLE1-2.1 (i.e., the second virtual port in the above embodiment) established on PE device 2 based on the information of the SRv6 / MPLS VPWS tunnel, and after stripping the information of the SRv6 / MPLS VPWS tunnel through the rigid container virtual port PE2-PLE1-2.1, the rigid container virtual port PE2-PLE1-2.1 can decapsulate the PLE simulation packet, and sort and reassemble the message to obtain a data message carrying a VPN label, so that PE device 2 can determine the corresponding VPN instance according to the VPN label, and after stripping the VPN label, search the MAC / IP routing table in the VPN instance based on the destination address MAC1 / IP1, and finally PE device 2 can forward the data message to CE device 2.

[0161] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the interaction between the first PE device and the second PE device. It is understandable that in order to realize the above functions, the first PE device or the second PE device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0162] The embodiment of the present application can divide the functional modules of the first PE device or the second PE device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0163] In the case of dividing each functional module into corresponding functional modules, Figure 6 FIG. 1 shows a possible composition diagram of the data message transmission device involved in the above embodiment, and the data message transmission device is a first data message transmission device. Fig. 9 As shown, the first data packet transmission device 40 may include: a receiving module 41, an adjustment module 42 and a sending module 43. The receiving module 41 is used to receive a first IP data packet from a first CE device through a first physical port; the first IP data packet includes data of a first service flow. The adjustment module 42 is used to adjust the transmission bandwidth of the first virtual port in the first data packet transmission device 40 to a first transmission bandwidth according to the service bandwidth corresponding to the first service flow; the first transmission bandwidth matches the service bandwidth. The sending module 43 is used to send the first IP data packet to the second data packet transmission device through the first virtual port adjusted by the adjustment module 42.

[0164] In an embodiment of the present application, the above-mentioned first physical port is bound to a first VPN instance; the first IP data packet carries the destination address information of the destination CE device. The first data packet transmission device 40 provided in the embodiment of the present application may also include: a determination module. Among them, the determination module is used to determine the first next hop information associated with the destination address information according to the first routing forwarding table in the first VPN instance before the adjustment module 42 adjusts the transmission bandwidth of the first virtual port in the first data packet transmission device 40 to the first transmission bandwidth according to the service bandwidth corresponding to the first service flow, wherein the first routing forwarding table carries the association relationship between the destination address information and the first next hop information; and determines the next hop device indicated by the first next hop information as the second data packet transmission device; and determines the virtual port associated with the second data packet transmission device as the first virtual port.

[0165] In the embodiment of the present application, the above-mentioned determination module is also used to determine the first VPN label associated with the destination address information according to the first routing forwarding table before the sending module 43 sends the first IP data packet to the second data packet transmission device through the first virtual port adjusted by the adjustment module 42, wherein the first routing forwarding table also carries the association relationship between the destination address information and the first VPN label. The first data packet transmission device 40 provided in the embodiment of the present application may also include: an encapsulation module. The encapsulation module is used to encapsulate the first VPN label determined by the determination module on the first IP data packet.

[0166] In an embodiment of the present application, the above-mentioned sending module 43 is specifically used to divide the first IP data packet to obtain multiple first bit streams; match the length of each first bit stream; and encapsulate the multiple first bit streams to obtain multiple second IP data packets; each second IP data packet corresponds to a first bit stream; and send multiple second IP data packets to the second PE device through the adjusted first virtual port.

[0167] In the embodiment of the present application, the sending module 43 is specifically used to simulate and encapsulate multiple first bit streams to obtain multiple second IP data packets; the second IP data packets are VPN data packets.

[0168] In the embodiment of the present application, the adjustment module 42 is also used to adjust the transmission bandwidth of the first virtual port connected to the first tunnel to the second transmission bandwidth before the sending module 43 sends the first virtual port adjusted by the adjustment module 42 to the second data packet transmission device; the first tunnel includes at least one of the following: SRv6 tunnel, MPLS VPWS tunnel, the first tunnel is connected to the second PE device; the second transmission bandwidth is greater than the first transmission bandwidth. The sending module 43 is specifically used to send the first IP data packet to the first tunnel through the first virtual port adjusted by the adjustment module 42.

[0169] In the embodiment of the present application, the first data message transmission device 40 provided in the embodiment of the present application may further include: a setting module. The setting module is used to set the transmission priority of the first IP data message to the target priority before the sending module 43 sends the first IP data message to the second data message transmission device through the first virtual port adjusted by the adjustment module 42; the target priority is the highest priority of the Ethernet port.

[0170] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0171] In the case of dividing each functional module into corresponding functional modules, Fig.10 FIG. 1 shows a possible composition diagram of the data message transmission device involved in the above embodiment, and the data message transmission device is a second data message transmission device. Fig.10 As shown, the second data packet transmission device 50 may include: a receiving module 51 and a sending module 52. The receiving module 51 is used to receive the first IP data packet from the first data packet transmission device through the second virtual port; the first IP data packet includes data of the first service flow, the first IP data packet is sent by the first data packet transmission device through the first virtual port, the second virtual port corresponds to the first virtual port, the second transmission bandwidth of the second virtual port matches the first transmission bandwidth of the first virtual port, and the first transmission bandwidth matches the service bandwidth corresponding to the first service flow. The sending module 52 is used to send the first IP data packet received by the receiving module 51 to the destination CE device.

[0172] In the embodiment of the present application, the receiving module 51 is specifically used to receive multiple second IP data messages from the first data message transmission device through the second virtual port. The second data message transmission device 50 provided in the embodiment of the present application may also include: a processing module. Among them, the processing module is used to sort and reorganize the multiple second IP data messages received by the receiving module 51 to obtain the first IP data message.

[0173] In an embodiment of the present application, the above-mentioned receiving module 51 is specifically used to receive a first IP data packet from a first tunnel through a second virtual port; the first tunnel is connected to the first virtual port, and the first tunnel includes at least one of the following: an SRv6 tunnel, an MPLS VPWS tunnel, and the transmission bandwidth of the first tunnel is a second transmission bandwidth, and the second transmission bandwidth is greater than the first transmission bandwidth.

[0174] In the embodiment of the present application, the first IP datagram carries the first VPN label and the destination address information of the destination CE device. The second data message transmission device 50 provided in the embodiment of the present application may also include: a processing module. The processing module is used to determine the first VPN instance associated with the first VPN label before the sending module 52 sends the first IP datagram to the destination CE device; and determine the second physical port associated with the destination address information according to the routing table in the first VPN instance; the routing table carries the association relationship between the destination address information and the second physical port. The sending module 52 is specifically used to send the first IP datagram to the destination CE device through the second physical port.

[0175] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0176] The embodiment of the present application further provides a data message transmission system, comprising: a first PE device and a second PE device, wherein the first PE device executes the data message transmission method as described in the above implementation manner, and the second PE device executes the data message transmission method as described in the above implementation manner.

[0177] It should be noted that the specific working process of each functional module in the first PE device and the second PE device provided in the embodiment of the present application can refer to the specific description of the corresponding process in the method embodiment, and the embodiment of the present application will not be repeated in detail here. The first PE device and the second PE device provided in the embodiment of the present application are used to execute the above-mentioned data message transmission method, so the same effect as the above-mentioned data message transmission method can be achieved.

[0178] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0179] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0180] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0181] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0182] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), disk or optical disk and other media that can store program code.

[0183] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data message transmission method, characterized in that: The method comprises: The first provider edge PE device receives a first Internet Protocol IP datagram from the first customer edge CE device through the first physical port; the first IP datagram includes data of the first service flow; The first PE device adjusts the transmission bandwidth of the first virtual port in the first PE device to a first transmission bandwidth according to the service bandwidth corresponding to the first service flow; the first transmission bandwidth matches the service bandwidth; The first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port.

2. The method according to claim 1, characterized in that The first physical port is bound to a first virtual private network VPN instance; the first IP data message carries destination address information of a destination CE device; Before the first PE device adjusts the transmission bandwidth of the first virtual port in the first PE device to the first transmission bandwidth according to the service bandwidth corresponding to the first service flow, the method further includes: The first PE device determines, according to a first routing forwarding table in the first VPN instance, first next hop information associated with the destination address information, wherein the first routing forwarding table carries an association relationship between the destination address information and the first next hop information; The first PE device determines the next hop device indicated by the first next hop information as the second PE device; The first PE device determines the virtual port associated with the second PE device as the first virtual port.

3. The method according to claim 2, characterized in that Before the first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, the method further includes: The first PE device determines, according to the first routing forwarding table, a first VPN label associated with the destination address information, wherein the first routing forwarding table also carries an association relationship between the destination address information and the first VPN label; The first PE device encapsulates the first VPN label on the first IP data packet.

4. The method according to claim 1, characterized in that The first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, including: The first PE device divides the first IP data message to obtain a plurality of first bit streams; the length of each of the first bit streams matches; The first PE device encapsulates the multiple first bit streams to obtain multiple second IP data packets; each of the second IP data packets corresponds to one of the first bit streams; The first PE device sends a plurality of the second IP data packets to the second PE device through the adjusted first virtual port.

5. The method according to claim 4, characterized in that The first PE device encapsulates the plurality of the first bit streams to obtain a plurality of second IP data packets, including: The first PE device simulates and encapsulates the multiple first bit streams to obtain multiple second IP data packets; the second IP data packets are VPN data packets.

6. The method according to claim 1, characterized in that Before the first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, the method further includes: The first PE device adjusts the transmission bandwidth of the first virtual port connected to the first tunnel to a second transmission bandwidth; the first tunnel includes at least one of the following: an Internet Protocol Segment Routing Version 6 SRv6 tunnel, a Multi-Protocol Label Switching Virtual Private Line Service MPLS VPWS tunnel, and the first tunnel is connected to the second PE device; the second transmission bandwidth is greater than the first transmission bandwidth; The first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, including: The first PE device sends the first IP data packet to the first tunnel through the adjusted first virtual port.

7. The method according to claim 1, characterized in that Before the first PE device sends the first IP data packet to the second PE device through the adjusted first virtual port, the method further includes: The first PE device sets the transmission priority of the first IP data packet to a target priority; the target priority is the highest priority of the Ethernet port.

8. A data message transmission method, characterized in that: The method comprises: The second PE device receives a first IP data packet from the first PE device through the second virtual port; the first IP data packet includes data of a first service flow, the first IP data packet is sent by the first PE device through the first virtual port, the second virtual port corresponds to the first virtual port, the second transmission bandwidth of the second virtual port matches the first transmission bandwidth of the first virtual port, and the first transmission bandwidth matches the service bandwidth corresponding to the first service flow; The second PE device sends the first IP data packet to the destination CE device.

9. The method according to claim 8, characterized in that The second PE device receives the first IP data packet from the first PE device through the second virtual port, including: The second PE device receives a plurality of second IP data packets from the first PE device through the second virtual port; The second PE device sorts and reassembles the plurality of second IP data packets to obtain the first IP data packet.

10. The method according to claim 8, characterized in that The second PE device receives the first IP data packet from the first PE device through the second virtual port, including: The second PE device receives the first IP data packet from the first tunnel through the second virtual port; the first tunnel is connected to the first virtual port, the first tunnel includes at least one of the following: an SRv6 tunnel, an MPLS VPWS tunnel, the transmission bandwidth of the first tunnel is a second transmission bandwidth, and the second transmission bandwidth is greater than the first transmission bandwidth.

11. The method according to claim 8, characterized in that The first IP data packet carries a first VPN label and destination address information of the destination CE device; Before the second PE device sends the first IP data message to the destination CE device, the method further includes: The second PE device determines a first VPN instance associated with the first VPN label; The second PE device determines, according to the routing table in the first VPN instance, a second physical port associated with the destination address information; wherein the routing table carries an association relationship between the destination address information and the second physical port; The second PE device sends the first IP data packet to the destination CE device, including: The second PE device sends the first IP data packet to the destination CE device through the second physical port.

12. A data message transmission device, the data message transmission device being a first data message transmission device, characterized in that: The first data message transmission device includes: a receiving module, an adjustment module and a sending module; The receiving module is used to receive a first IP data message from a first CE device through a first physical port; the first IP data message includes data of a first service flow; The adjustment module is used to adjust the transmission bandwidth of the first virtual port in the first data packet transmission device to a first transmission bandwidth according to the service bandwidth corresponding to the first service flow; the first transmission bandwidth matches the service bandwidth; The sending module is used to send the first IP data message to the second data message transmission device through the first virtual port adjusted by the adjustment module.

13. A data message transmission device, the data message transmission device being a second data message transmission device, characterized in that: The second data message transmission device includes: a receiving module and a sending module; The receiving module is used to receive a first IP data packet from a first data packet transmission device through a second virtual port; the first IP data packet includes data of a first service flow, the first IP data packet is sent by the first data packet transmission device through a first virtual port, the second virtual port corresponds to the first virtual port, the second transmission bandwidth of the second virtual port matches the first transmission bandwidth of the first virtual port, and the first transmission bandwidth matches the service bandwidth corresponding to the first service flow; The sending module is used to send the first IP data message received by the receiving module to a destination CE device.

14. A data message transmission system, characterized in that: The data message transmission system includes a first PE device and a second PE device; The first PE device executes the data message transmission method according to any one of claims 1 to 7; the second PE device executes the data message transmission method according to any one of claims 8 to 11.

15. A PE device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data message transmission method as described in any one of claims 1 to 11 are implemented.

16. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the data message transmission method according to any one of claims 1 to 11 are implemented.

Citation Information

Cited By

  • Method for realizing fgOTN data transmission, protection method, equipment and medium

    CN120111398A