WO2024027378A1 - Data transmission method and apparatus, and network device and storage medium - Google Patents

Data transmission method and apparatus, and network device and storage medium Download PDF

Info

Publication number
WO2024027378A1
WO2024027378A1 PCT/CN2023/102953 CN2023102953W WO2024027378A1 WO 2024027378 A1 WO2024027378 A1 WO 2024027378A1 CN 2023102953 W CN2023102953 W CN 2023102953W WO 2024027378 A1 WO2024027378 A1 WO 2024027378A1
Authority
WO
WIPO (PCT)
Prior art keywords
srv6
indication information
bandwidth control
tenant
transmission service
Prior art date
Application number
PCT/CN2023/102953
Other languages
French (fr)
Chinese (zh)
Inventor
谢经荣
盛成
王海波
陈大鹏
钱国锋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024027378A1 publication Critical patent/WO2024027378A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Definitions

  • the present application relates to the field of communications, and in particular, to a data transmission method, device, network equipment and storage medium.
  • the operator's edge (English: Provider Edge, PE) device introduces the user's traffic to the operator's network-based network in accordance with the agreement between the operator and the user.
  • the Segment Routing over Internet Protocol version 6 (English: Segment Routing over Internet Protocol version 6, referred to as: SRv6) tunnel, the traffic is forwarded through the SRv6 tunnel.
  • the operator's network provides differentiated transmission capabilities to meet users' different needs for network transmission services (for example: path overhead requirements, delay requirements, bandwidth requirements, link jitter requirements, bit error requirements, fiber to be allocated (wavelength or time slot requirements, etc.), operators cannot operate different types of network transmission services in different ways based on SRv6 technology.
  • Embodiments of the present application provide a data transmission method, device, network equipment and storage medium, which can solve the problem that operators are unable to operate different types of network transmission services in different ways based on SRv6 technology.
  • a data transmission method is provided.
  • the data transmission method is applied to a first PE device.
  • the method includes: the first PE device obtains a first SRv6 message, and the first SRv6 message contains first indication information.
  • the first indication information is used to indicate the first transmission service type of the first tenant to the operator network.
  • the first PE device then processes the first SRv6 message according to the associated first bandwidth control policy indicated by the first indication information.
  • the operator can use the PE equipment in the operator's network to control the bandwidth of the tenant's transmission traffic using different transmission service types, thereby realizing the operator's billing operation for different transmission service types.
  • the manner in which the first SRv6 message carries the first indication information is not limited, so as to improve the format flexibility of the first SRv6 message carrying the first indication information, so that the first SRv6 message can be configured according to the scenario requirements.
  • the first indication information may be set in the IPv6 extension header of the IPv6 header of the first SRv6 message.
  • the outer destination IP address field of the first SRv6 message may be used to carry the first indication information.
  • the first bandwidth control policy may include a committed access rate (English: Committed Access Rate, referred to as: CAR), and the committed access rate may include a committed rate (English: Committed Information Rate, referred to as: CIR) and/or a peak rate (English: Peak Information Rate (PIR), that is, the first bandwidth control policy selects the processing method for the first SRv6 packet based on the committed rate and/or peak rate agreed between the first tenant and the operator, such as forwarding the packet or discarding the packet. .
  • CAR Committed Access Rate
  • CIR Committed Information Rate
  • PIR Peak Information Rate
  • the above-mentioned first indication information is an SRv6 segment identifier (English: segment id, abbreviation: SID).
  • the first indication information may be the first SRv6 SID assigned by the first PE device to the first tenant in a per-tenant-per-service manner, and the destination address field of the first SRv6 message carries the first SRv6 SID.
  • the per-tenant-per-service approach refers to allocating different SRv6SIDs to different transmission service types of different tenants.
  • the above-mentioned first indication information may also be a partial field of the first SRv6SID, such as a function (English: Function) field or an argument (English: Argument) field of the first SRv6SID.
  • the first PE device can also determine the first transmission path of the first SRv6 message according to the first indication information.
  • the first indication information is SRv6SID
  • the first PE device determines the first transmission service according to the SRv6SID. the first transmission path corresponding to the type, and then process the first SRv6 message according to the first transmission path.
  • the first PE device stores a corresponding relationship between the first indication information and the first bandwidth control policy, so that the first PE device determines the first SRv6 based on the first indication information carried in the first SRv6 message.
  • the first bandwidth control policy for packets.
  • the correlation between the first indication information and the first bandwidth control policy may be a direct correspondence or an indirect correspondence.
  • the first PE device determines the first bandwidth control policy based on the correspondence between the first indication information and the first bandwidth control policy.
  • the first PE device may also determine the first transmission service type based on the corresponding relationship between the first indication information and the first transmission service type, and then determine the first bandwidth based on the corresponding relationship between the first transmission service type and the first bandwidth control policy. Control Strategy.
  • the association relationship between the above-mentioned first indication information and the first bandwidth control policy is stored in the first PE device in the form of an association relationship table.
  • the association relationship table is the first PE device's first PE device before processing the tenant's business. configured in the device. For example, when the resources of the built-in access control list (English: Access Control Lists, ACL for short) of the first PE device are relatively sufficient, the first PE device can use the access control list as the association table.
  • the first PE device may use the local SID table or the forwarding information base table as the association table.
  • FIB Forward Information dataBase
  • RIB Routing Information dataBase
  • the first PE device when the first PE device stores an association table, after receiving the first SRv6 message, the first PE device determines the association table according to the first indication information carried in the first SRv6 message.
  • the first bandwidth control policy corresponding to the first transmission service type to which the first SRv6 message belongs is determined in the table. For example, the first PE device inputs the first indication information into the access control list, local segment identification SID table, forwarding information database table or routing information database table, and matches the first bandwidth policy corresponding to the first indication information. This ensures rapid matching between the first indication information and the first bandwidth policy, and improves packet forwarding and transmission efficiency.
  • the first PE device when the first PE device processes the first SRv6 message based on the first bandwidth control policy, it first determines the effective length of the first SRv6 message, and then uses the first SRv6 message based on the effective length of the first SRv6 message.
  • the bandwidth control policy controls the processing of the first SRv6 packet.
  • the embodiment of the present application does not limit the method of determining the effective length of the first SRv6.
  • the segment routing header (English: Segment Routing Header, SRH) of the first SRv6 message usually does not carry the data required by the tenant.
  • the first PE device strips off the segment routing header of the first SRv6 message to obtain the first
  • the payload of the SRv6 message is used as the effective length of the first SRv6 message, so that the first bandwidth control policy calculates the traffic used by the tenant to transmit the first SRv6 message based on the message content that is valid for the tenant, which improves Bandwidth control accuracy.
  • the first PE device uses the length of the first SRv6 message containing the segment routing header as the effective length of the first SRv6 message, which reduces the operation of stripping the segment routing header and ensures the overall efficiency of message transmission.
  • the first PE device discards the first SRv6 message when the value of the segment remaining (English: Segment Left, SL) of the first SRv6 message is greater than 1. When the remaining value of the segment is equal to 1, the first SRv6 message is forwarded.
  • the tenant's packets can be restricted from carrying, in addition to the SID used to indicate the bandwidth control policy, a SID used to indicate the destination customer premises equipment (English: Customer-premises equipment, CPE) of the packet, thereby reducing
  • the packet transmission overhead of the tenant prevents the tenant from sending packets with a long forwarding path to the first PE device and occupying additional user bandwidth quota.
  • the first PE device may also use different bandwidth control policies to process packets of different tenants.
  • the first PE device obtains the second SRv6 message, determines the second bandwidth control policy associated with the second instruction information according to the second indication information contained in the second SRv6 message, and processes the second SRv6 message.
  • the first PE The device provides different billing operation methods for different transmission type services of the same tenant. If the second tenant and the first tenant are different tenants, the second transmission service type and the first transmission service type are the same transmission service type, and the second bandwidth control policy and the first bandwidth control policy are different bandwidth control policies, then the first PE The device provides different billing operation methods for different transmission type services of the same tenant. If the second tenant and the first tenant are different tenants, the second transmission service type and the first transmission service type are the same transmission service type, and the second bandwidth control policy and the first bandwidth control policy are different bandwidth control policies, then the first PE For the same transmission service type, the equipment can provide different billing operation methods for different tenants.
  • a second aspect provides a data transmission device, which includes various modules for executing the data transmission method in the first aspect or any possible implementation of the first aspect.
  • the data transmission device described in the second aspect may be a terminal device or a network device, or may be a chip (system) or other component or component that can be installed in the terminal device or network device, or may include a terminal device.
  • Equipment or network equipment this application does not limit this.
  • a network device including a memory and a processor.
  • the memory is used to store instructions.
  • the processor executes the instructions, it is used to perform any of the possible designs in the first aspect. Operational steps of the data transfer method.
  • a computer-readable storage medium including: computer software instructions; when the computer software instructions are run in a processor, the method described in any possible implementation manner in the first aspect is executed.
  • a computer program product is provided.
  • the computer program product When the computer program product is run on a processor, it executes the method described in any possible implementation manner in the first aspect.
  • Figure 1 is a schematic diagram of the network framework involved in an application scenario provided by the embodiment of the present application.
  • Figure 2 is a schematic diagram of message processing when providing bearer services in an operator network provided by an embodiment of the present application
  • Figure 3 is a schematic structural diagram of a transmission network in an operator network provided by an embodiment of the present application.
  • Figure 4a is a schematic diagram of an SRv6 message 1 provided by an embodiment of the present application.
  • Figure 4b is a schematic diagram of a message 2 provided by the embodiment of the present application.
  • Figure 4c is a schematic diagram of a message 3 provided by the embodiment of the present application.
  • Figure 4d is a schematic diagram of an SRv6 message 4 provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of a network framework involved in another application scenario provided by the embodiment of the present application.
  • Figure 6 is a schematic flow chart of a data transmission method provided by an embodiment of the present application.
  • Figure 7 is a schematic structural diagram of a data transmission device provided by an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of a network device provided by an embodiment of the present application.
  • Figure 9 is a schematic structural diagram of a data transmission system provided by an embodiment of the present application.
  • a, b or c can mean: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b and c can be single or multiple.
  • words such as “first” and “second” are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as “first” and “second” do not limit the number and execution order.
  • the "first” in the first message and the "second” in the second message are only used to distinguish different messages.
  • the first, second, etc. descriptions appearing in the embodiments of the present application are only for illustration and to distinguish the description objects, and there is no order. They do not represent special limitations on the number of devices in the embodiments of the present application, and cannot constitute a limitation of the present application. Any limitations of the embodiments.
  • a tenant's traffic is sent from one user-side device to another user-side device of the tenant, it needs to be forwarded through the operator's network, which provides bearer services for the tenant's traffic.
  • tenants and operator networks agree on transmission service types by signing contracts and other forms, and operator networks provide corresponding services to tenants according to the agreed transmission service types.
  • an SRv6 tunnel is established in the operator's network. After the tenant's traffic reaches the PE equipment of the operator's network, the PE equipment can introduce the traffic into the SRv6 tunnel corresponding to the pre-agreed transmission service type. The traffic can be forwarded through the SRv6 tunnel. This enables the operator network to provide tenants with services that comply with the pre-agreed transmission service type.
  • tenants require the operator network to provide different transmission service types for some traffic.
  • the above-mentioned operator network provides at least one bearer service method for the tenant's traffic according to the agreement.
  • the service is operated by transmitting traffic. For example, if an operator and a tenant sign a service agreement to determine the traffic limit for a certain transmission service type, the operation method corresponding to the transmission service type includes controlling the traffic of the tenant to access the bearer network so as not to exceed the traffic upper limit determined by the above service agreement. Avoid mutual congestion of bandwidth in the case of multi-tenants and multiple services.
  • Operators will provide at least one transmission service type to the same tenant or different tenants, and operators have different billing plans for different transmission service types. Operators need to use different billing operations for tenants using different transmission service types. Traffic is billed for operation. However, when the operator network uses the SRv6 tunnel to determine the tenant's transmission service type, it cannot conduct different charging operations for the traffic transmitted by the tenant using different transmission service types.
  • the PE equipment of the bearer network can obtain SRv6 messages including different indication information.
  • the different indication information is used to indicate the first transmission service of the first tenant to the operator network. type, and the PE device processes SRv6 messages according to the bandwidth control policy associated with the indication information.
  • the operator network provides tenants with different transmission service types, it can provide the transmission service type required by the tenant according to the instruction information to transmit SRv6 messages, and use the bandwidth control policy indicated by the instruction information to process the SRv6 messages.
  • Bandwidth control Therefore, the operator can control the bandwidth of the transmission traffic of tenants using different transmission service types, thereby realizing the operator's billing operation for different transmission service types.
  • transmission service types can be divided according to different quality of service (English: Quality of Service, QoS for short) requirements, such as path overhead requirements, delay requirements, bandwidth requirements, link jitter requirements, bit error requirements, and waiting requirements. Assigned fiber wavelength or time slot requirements.
  • QoS Quality of Service
  • the operator network can divide paths corresponding to different transmission service types based on different topologies, slicing, routing algorithms, and Differentiated Services Code Points (DSCP).
  • Bandwidth control policies include committed access rates, such as committed rate control, peak rate control, etc.
  • the operator network 10 may include: PE equipment 1, PE equipment 2, and transmission network 3.
  • PE equipment 1 is connected to the user-side equipment 11 of tenant 1 through interface 1, and through interface 2
  • the user-side equipment 21 of tenant 2 is connected, and PE equipment 1 is connected to PE equipment 2 through transmission network 3.
  • PE device 2 is connected to the user-side device 12 of tenant 1 through interface 3, and is connected to the user-side device 22 of combination 2 through interface 4.
  • the transmission network 3 may include one or more operator (English: Provider, abbreviated as: P) equipment (which may also be called core layer equipment).
  • P Operator
  • the embodiment of this application only takes PE equipment as an example for description.
  • operator network 10 can agree with tenant 1 on transmission service type 1 and establish SRv6 tunnel 1 that meets transmission service type 1.
  • This SRv6 tunnel 1 passes through PE equipment 1, transmission network 3 and PE equipment 2 in sequence.
  • User-side device 11 receives message 1 and sends message 1 from interface 1 to PE device 1;
  • PE device 1 receives message 1 from tenant 1 and forwards message 1 using SRv6 tunnel 1, for example,
  • PE device 1 Strip the segment routing header of message 1 and then encapsulate the transmission network header to obtain message 2.
  • PE device 2 receives message 2.
  • PE device 2 decapsulates message 2 and obtains message 3.
  • the schematic diagram can be seen in Figure 2; thus, PE device 2 sends message 3 from interface 3 to the user-side device 12 of tenant 1.
  • the operator network 10 provides tenant 1 with services corresponding to the pre-agreed transmission service type 1. If tenant 1 needs operator network 10 to provide transmission service type 2 services for traffic with certain characteristics, and transmission service type 2 is different from transmission service type 1, operator network 10 needs to agree with tenant 1 on transmission service type 2 and establish a transmission service type that meets the requirements of SRv6 tunnel 2 of service type 2 passes through PE device 1, transmission network 3 and PE device 2 in sequence.
  • the traffic includes, for example, message 1'.
  • user-side device 11 receives message 1' and sends message 1' from interface 1 to PE device 1; PE device 1 receives message 1',' from tenant 1.
  • the PE equipment in the operator network 10 and the user-side equipment of each tenant support SRv6.
  • the operator network 10 provides multiple different types of paths, such as: Label Switched Path (LSP) for forwarding based on Multi-Protocol Label Switching (MPLS). , IPv6 tunnel, SRv6 tunnel or optical fiber physical link. Different types of paths correspond to different transmission service types.
  • LSP Label Switched Path
  • MPLS Multi-Protocol Label Switching
  • IPv6 tunnel IPv6 tunnel
  • SRv6 tunnel or optical fiber physical link.
  • Different types of paths correspond to different transmission service types.
  • the transmission network 3 can also provide multiple different types of paths such as label switching paths, IPv6 tunnels, SRv6 tunnels or optical fiber physical links.
  • the network transmission header encapsulated by PE device 1 for message 1 or message 1' conforms to the protocol of the path provided by transmission network 3, such as IP header, IPv6 header, multi-protocol label switching (English: Multi-Protocol Label Switching, Abbreviation: MPLS) header, etc.
  • transmission network 3 includes PE equipment 3 and PE equipment 4.
  • PE equipment 1 is connected to PE equipment 2 through PE equipment 3 and PE equipment 4 respectively.
  • the path 1 included in transmission network 3 is PE equipment 1->PE.
  • path 2 is PE device 1—>PE equipment 4—>PE equipment 2.
  • Path 1 and path 2 are different types of paths in transmission network 3. For example, path 1 corresponds to transmission service type 1, and path 2 corresponds to transmission service type 2.
  • the operator network 10 is able to provide tenant 1 with services corresponding to the pre-agreed transmission service type 1 and transmission service type 2.
  • the operator network 10 cannot provide services for different transmission service types separately.
  • To perform billing operations that is, the operator network 10 cannot control the traffic sent and received by the tenant using different transmission service types to comply with the traffic range defined in the service agreement signed between the tenant and the operator.
  • the tenant's user-side equipment and the PE equipment connected to the operator network 10 can obtain the transmission service information.
  • the transmission service information is used to indicate bandwidth control policies corresponding to different indication information.
  • the PE device connected to the tenant's user-side device in the operator network 10 can configure relevant transmission service information for the tenant connected to the PE device, and send the transmission service information of each tenant to the tenant's user-side device. on the user side device.
  • the PE device sends transmission service information to the user-side device.
  • the PE device can directly send the transmission service information to the user-side device, or the PE device can indirectly send the transmission service information to the user-side device through the operator management equipment and business management equipment to which the PE equipment belongs. Send the transmission service information to the user-side device.
  • the operator management device or service management device can configure relevant transmission service information for the tenant, and send the transmission service information to the tenant's user-side equipment and the PE equipment connected to the tenant's user-side equipment.
  • the tenant's user-side device and the PE device connected to the user-side device can obtain relevant transmission service information through static configuration, as long as the same transmission service information indicates the same content. The following description takes the example of configuring relevant transmission service information on the PE device and sending the transmission service information directly to the user-side device.
  • the transmission service information may include the corresponding relationship between indication information, paths in the operator's network, and bandwidth control policies. Different paths meet different transmission service types, and different transmission service types correspond to different bandwidths. Control Strategy.
  • the transmission service information may include correspondence between indication information, transmission service type, and bandwidth control policy.
  • the indication information can be the IPv6 address in the exclusive IPv6 address set allocated to the tenant (which can also be called IPv6 address block or IPv6 network segment); it can also be based on the exclusive IPv6 address set allocated to the tenant, through Function The bandwidth control policy carried by the field or Argument field; it can also be a bandwidth control policy that is not related to the exclusive IPv6 address set assigned to the tenant.
  • the bandwidth control policy can be defined in the traffic-behavior object, and then the traffic-behavior object is associated with the indication information, thereby realizing the association between the bandwidth control policy and the indication information.
  • the PE device can also configure a corresponding bandwidth control policy for each indication information, or associate the bandwidth control policy with the indication information through other objects instead of the traffic-behavior object.
  • the PE equipment in the operator's network can parse the packets sent by the user-side device when the transmission service information is known, obtain the indication information, and determine the path and bandwidth control policy based on the transmission service type corresponding to the indication information. Based on the bandwidth The control policy encapsulates the SRv6 packet according to the determined path type and forwards it along the path. In this way, the operator network can provide the tenant's packets with the transmission service type required by the tenant, and perform bandwidth control on the traffic of different transmission service types, realizing the operator's planning of services of different transmission service types. Free operation.
  • PE device 1 can pre-configure the IPv6 address set for tenant 1: 2001:db8:A1::/48, and pre-configure the IPv6 address set for tenant 2: 2001:db8:A2::/48. .
  • the indication information is an IPv6 address in the tenant's IPv6 address set
  • the transmission service information includes indication information and transmission service type.
  • the transmission service information on PE device 1 may include:
  • a specific example of configuring the above transmission service information on PE device 1 can be:
  • the transmission service information on the PE device 1 can be sent to the user-side device of the corresponding tenant in an offline manner or in a protocol message.
  • the IPv6 address set configured on the above PE device 1 that needs to be advertised to each tenant can be sent through a protocol message (such as an intermediate system to intermediate system (English: Intermediate system to intermediate system, abbreviation: ISIS) message)
  • a protocol message such as an intermediate system to intermediate system (English: Intermediate system to intermediate system, abbreviation: ISIS) message
  • ISIS Intermediate system to intermediate system
  • the PE device 1 can send the above-mentioned transmission service information 1-3 to the user-side device 11, and send the transmission service information 4 and 5 to the user-side device 12.
  • the transmission service information in the PE device 1 also includes a bandwidth control policy associated with the indication information, such as the committed access rate (English: Committed Access Rate (CAR) bandwidth control information.
  • a bandwidth control policy associated with the indication information such as the committed access rate (English: Committed Access Rate (CAR) bandwidth control information.
  • a specific example of configuring the bandwidth control policy in the above transmission service information on PE device 1 can be:
  • the user-side device 11 can determine to fill in the SRv6 message 1 to be sent based on the transmission service information 1.
  • the destination IP address is IPv6 address 11 (that is, 2001:db8:A1::1).
  • PE device 1 When PE device 1 receives SRv6 message 1 including 2001:db8:A1::1 from interface 1 connected to tenant 1, it can use the destination IP address 2001:db8 of the SRv6 message 1 as shown in the above example 1: A1::1 determines the transmission service type 11 required for the SRv6 message 1, selects the path 1 with the smallest cost, and passes through PE device 1, PE device 3 and PE device 2 in sequence, and determines the SRv6 message based on the transmission service type 11.
  • transmission service type 11 corresponds to path 1
  • transmission service type 12 corresponds to path 2; or, for tenant 1
  • the paths determined by SRv6 packets of different transmission service types can pass through the same network device, but the path types are different.
  • transmission service type 11 and transmission service type 12 both correspond to path 1, but the path 1 corresponding to transmission service type 11 is For LSPs forwarded based on MPLS, path 1 corresponding to transmission service type 12 is an SRv6 tunnel.
  • the user-side device 12 can forward the service based on the transmission service type 22.
  • Information 5 confirm that the destination IP address in the SRv6 message 5 to be sent is IPv6 address 22 (that is, 2001:db8:A2::2).
  • PE device 1 When PE device 1 receives SRv6 packet 5 including 2001:db8:A2::2 from interface 2 connected to tenant 2, it can use the destination IP address 2001:db8:A2 of the SRv6 packet 5 as shown in the above example 2: :2 Determine that the transmission service type 22 required for the SRv6 message 5 is path 2 with the smallest link jitter, and the bandwidth control policy qt5 corresponding to the SRv6 message 5.
  • Path 2 passes through PE device 1, PE device 4 and PE device in sequence 2; Therefore, PE device 1 can process SRv6 message 5 according to path 2 corresponding to this transmission service type 22 to obtain message 6, and send message 6 to PE device 2 according to path 2 based on bandwidth control policy qt5, and then use PE device 2 processes the received message 6 to obtain SRv6 message 7, and sends SRv6 message 7 from interface 4 to user-side device 22.
  • SRv6 message 1 and SRv6 message 5 can also specify the destination address of the user-side device in the SID list of SRH.
  • SRv6 message 1 can also include the address of user-side device 12.
  • the SRv6 message 5 may also include the address of the user-side device 22 .
  • the address of the user-side device can be carried in the segment identifier list (English: Segment Identifier list, abbreviation: SID list) field of the segment routing header in the SRv6 message.
  • the user-side device 12 may be a destination host, a user edge device, or a user premises device.
  • the destination address of the user-side device specified in the SRv6 message 1 may be the address of the CE device or CPE, for example, it may be a 128-bit SRv6 SID, or it may be A compressed SRv6 SID or IPv6 address less than 128 bits, for example, it can be compressed using draft-cl-spring-generalized-srv6-for-cmpr-03; if the user-side device 12 is the destination host, then the SRv6 report
  • the destination address of the user-side device specified in Document 1 may be the address of the destination host, for example, it may be the IPv6 address of the destination host.
  • the host 11 can generate an SRv6 message as shown in Figure 4a for service 1.
  • 1 (actually a native (English: native) IPv6 message with SRH added as an IPv6 extension header).
  • SRv6 message 1 uses the non-simplified (English: reduced) SRH message encapsulation method, and when the destination address in the IPv6 header of SRv6 message 1 is 2001:db8:A1::1, SRH The SID list does not need to include 2001:db8:A1::1.
  • This method is called the reduced SRH packet encapsulation method.
  • the embodiment of this application takes an SRv6 packet in the non-reduced SRH packet encapsulation mode as an example for explanation.
  • PE device 1 determines the transmission service type 11 and bandwidth control policy qt1 corresponding to message 1 based on the destination IP address field in message 1.
  • the message 2 processed by PE device 1 can be seen in Figure 4b.
  • this message 2 also adds the MPLS label stack corresponding to path 1 that meets the transmission service type 11.
  • the above MPLS label stack is that PE device 1 searches the routing table entry to determine that the next hop to host 12 is PE device 3, and determines that path 1 between PE device 1 and PE device 2 that meets the transmission service type 11 is forwarded based on MPLS. LSP, thereby obtaining the MPLS label stack corresponding to path 1.
  • PE device 1 forwards message 2 to PE device 2 through path 1 based on the MPLS label stack of message 2 in a forwarding manner that complies with bandwidth control policy qt1.
  • PE device 2 receives message 3 corresponding to message 2.
  • the difference compared with Figure 4b is that the MPLS label stack only includes the MPLS label of PE device 2.
  • PE device 2 can peel off the MPLS label of PE device 2 (that is, peel off the MPLS label stack) Obtain SRv6 message 4, as shown in Figure 4d.
  • This SRv6 message 4 includes an IPv6 header, SRH and payload.
  • the SL field 0, and the SID list includes the address of host 12 and 2001:db8:A1::1.
  • PE device 2 can send the SRv6 message 4 to host 12.
  • host 11 can be directly connected to PE device 1, or can be connected to PE device 1 through other network devices such as switches or routers.
  • host 11 is connected to PE device 1 through other network devices, then other networks The device only performs IPv6 forwarding processing on SRv6 message 1 without changing the destination address and SRH of the SRv6 message 1.
  • host 12 can be directly connected to PE device 2, or can be connected to PE device 2 through other network devices. If host 12 is connected to PE device 2 through other network devices, then other network devices will only forward SRv6 packet 4 through IPv6. to the host 12 for processing without changing the destination address and SRH of the SRv6 message 4.
  • the remaining value in the segment routing header of the packets shown in Figure 4b, Figure 4c and Figure 4d is 0, and the segment routing header can be stripped off, that is, the packets shown in Figure 4b, Figure 4c and Figure 4d
  • the document may not contain a segment routing header.
  • the segment routing header may be stripped when message 2, message 3 or message 4 is generated.
  • the operator network may refer to the service provider network, and the tenant may be an individual tenant.
  • the service provider network for enterprise tenants, not only the service provider network can be used, but also the virtual private cloud (English: Virtual Private Cloud, VPC for short) service provided by the cloud provider.
  • VPC Virtual Private Cloud
  • the scenario shown in Figure 5 includes the campus network 20 of Enterprise , the operator network 31 includes PE equipment 31 and PE equipment 31', the operator network 32 includes PE equipment 32 and PE equipment 32', and the cloud provider network 40 may include an access point (English: Point of Presence, abbreviation: PoP) 41.
  • the host 21 is connected to the CPE 23 through the switch 22.
  • the CPE 23 is connected to the operator network 31 and the operator network 32 through the PE equipment 31 and PE equipment 32 respectively.
  • the operator network 31 is connected to the cloud provider network 40 through the PE equipment 31'.
  • PoP 41 the operator network 32 is connected to the PoP 41 of the cloud provider network 40 through the PE device 32', and the PoP 41 is connected to the server 43 through the server 42.
  • the server 42 can be regarded as a cloud PE device
  • the server 43 can be regarded as a cloud CE device.
  • the cloud provider network 40 can provide VPC services for enterprise X.
  • the devices in the cloud provider network 40 can be virtualized into virtual hosts, switches, routers, gateways, etc.
  • the server 42 is virtualized into a virtual gateway (English: Virtual Gateway, abbreviation: VGW) and a virtual router rt0
  • the server 43 is virtualized into a virtual switch (English: Virtual Switch, abbreviation: VSW) and a virtual machine (English: Virtual Machine, abbreviation: VM) .
  • VM can be regarded as a virtual host
  • VGW can be regarded as a virtual CPE.
  • enterprise X it can be considered that it has an end-to-end connection from the host 21 to the VM.
  • the carrier network 31 and the carrier network provide corresponding services for enterprise X to transmit traffic between the campus network 20 and VPC services. From the perspective of enterprise For the virtual router rt1-rt4. For operators In addition to the tenant Enterprise X, the network 31 and the operator network 32 may also include other individual and enterprise tenants, which are not limited in the embodiment of this application.
  • this scenario may also include: the operator management device 31" of the operator network 31, the operator management device 32" of the operator network 32, and the cloud management device 40 of the cloud provider network 40, where,
  • the operator management device 31" is used to manage and control the equipment in the operator network 31, and is also used to provide a management interface to enterprise X through the Web portal; similarly, the operator management equipment 32" is used to manage and control the equipment in the operator network 32, It is also used to provide a management interface to Enterprise
  • This scenario may also include a service management device (or service orchestrator) 20.
  • the service management device 20 is used to manage and control its own physical devices (such as host 21, switch 22 or CPE 23); on the other hand, The service management device 20 is used to manage virtual routers rt1-rt4 through the management interface provided by the operator management device; on the other hand, the service management device 20 is used to manage VM, VSW, rt0 and rt0 through the management interface provided by the cloud management device 40. VGW.
  • the operator network 31 configures three IPv6 addresses for enterprise X.
  • the corresponding transmission service information may include:
  • the transmission service information of the operator network 31 for enterprise X also includes the bandwidth control policy:
  • operator network 32 configures two IPv6 addresses for enterprise X, and the corresponding transmission service information can be:
  • the transmission service information of the operator network 32 for enterprise X also includes the bandwidth control policy:
  • the transmission service information may be statically configured on the operator management device 31" and the operator management device 32" or obtained from the PE equipment in the corresponding operator network. Then, the service management device 20 may obtain the information from the operator management device 31" and the operator management device 32". The device 31" and the operator management device 32" obtain the transmission service information and send the transmission service information to the host 21 and/or CPE 23 in the campus network 10.
  • the service management device 20 can obtain the transmission service information from the operator management device 31" and the operator management device 32" obtain the transmission service information, and send the transmission service information to the VM and/or VGW in the cloud provider network 40; alternatively, the service management device 20 can obtain the transmission service information from the operator management device 31" and the operator The management device 32" obtains the transmission service information and sends the transmission service information to the VM and/or VGW through the cloud management device 40 of the cloud provider network 40.
  • the service management device 20 or the service management device 20 sends the corresponding transmission service information to the VM (or VGW) through the cloud management device 40, instructing the VM (or VGW) to encapsulate the transmission service information in the packet of the specific service. IPv6 address.
  • the cloud management device 40 can also deliver all transmission service information to the VM (or VGW), and the VM (or VGW) selects one of the transmission service types according to the actual needs of the business, and encapsulates the corresponding IPv6 address in the message. .
  • the service management device 20 can deliver corresponding transmission service information to the host 21 (or CPE 23) for a specific service, and instruct the host 21 (or CPE 23) to encapsulate the IPv6 in the transmission service information for the message of the specific service. address.
  • the service management device 20 can also deliver all transmission service information to the host 21 (or CPE 23), and the host 21 (or CPE 23) selects one of the transmission service types according to the actual needs of the business and encapsulates it in the message. The corresponding IPv6 address.
  • PE device 31 or PE device 32 When PE device 31 or PE device 32 receives the message sent by host 21, it determines the transmission service type and bandwidth control policy corresponding to the message according to the transmission service information, and determines the transmission service type and bandwidth control policy corresponding to the message in the path corresponding to the transmission service type according to the bandwidth control policy corresponding to the message. Forward the message.
  • enterprise tenants and cloud providers can independently select different transmission service types provided by the operator's network, and use bandwidth control policies corresponding to different transmission service types to control packet transmission, achieving Operators' billing operations for traffic of different transmission service types.
  • the granularity of selecting the transmission service type is not limited in the embodiments of this application.
  • the granularity of selecting the transmission service type can be selected for different services.
  • Different transmission service types can also be selected for different traffic types.
  • the PE device in the embodiment of this application may be a network device such as a switch, router, or firewall.
  • CE devices can be devices with private network access functions, such as switches, routers, Internet of Things (English: Internet of Things, abbreviated as: IoT) terminals, hosts and other devices.
  • IoT Internet of Things
  • the transmission service information in the embodiment of this application can be a set of correspondences between multiple pieces of information.
  • the transmission service information on the PE device can be: the tenant's identity, interface, indication information, and transmission service type. , the correspondence between paths and bandwidth control strategies.
  • the transmission service information may also include the correspondence between multiple sets of partial information.
  • the transmission service information on the PE device includes: the correspondence 1 between the indication information and the transmission service type, and the correspondence between the indication information and the path. Relationship 2, correspondence relationship 3 between tenant identification and interface, correspondence relationship 4 between tenant identification and indication information, and correspondence relationship 4 between transmission service type and bandwidth control policy.
  • the tenant's identifier is used to uniquely identify the tenant, for example, it may be the tenant's VPN identifier or the tenant's corresponding VNI. It should be noted that the specific embodiment of the transmission service information is not limited in the embodiments of this application, as long as it can ensure that the operator network provides the required services for tenants.
  • Figure 6 is a schematic flowchart of a data transmission method provided by an embodiment of the present application. This method is described with the interaction between the first user-side device of the first tenant and the first PE device.
  • the first user-side device in this method is the user-side device 11 in Figure 1
  • the first PE device can is PE equipment 1 in Figure 1
  • the first user-side equipment in this method is the host 21 or CPE 23 in Figure 5
  • the first PE equipment can be the PE equipment 31 or PE equipment 32 in Figure 5 ( Corresponding to rt3 or rt4 for enterprise '(Corresponding to rt1 or rt2 for enterprise X).
  • the method may include steps 601 to 604:
  • Step 601 The first user-side device of the first tenant obtains a first SRv6 message.
  • the first SRv6 message includes first indication information.
  • the first indication information is used to indicate the first transmission service of the first tenant to the operator network. type.
  • the first SRv6 message may be an SRv6-encapsulated message of the first tenant's service message, or may be a message generated (English: originating) by the first tenant's host.
  • the device that encapsulates the first tenant's service packets with SRv6 may be a network device such as a switch or router connected to the first tenant's host.
  • the first indication information in the first SRv6 message is the indication information determined by the first tenant according to the QoS requirements of the service packet to indicate the first bandwidth control policy of the operator network.
  • the first indication information is carried in In the first SRv6 message, the first PE device that receives the first SRv6 message can determine the first bandwidth control policy according to the first indication information, thereby enabling the operator to perform bandwidth control on traffic of different transmission service types.
  • the destination host of the first tenant or the CE device or CPE connected to the destination host that the first SRv6 packet reaches can be recorded as the second user-side device.
  • the second user-side device is connected to the operator network through the second PE device.
  • the second PE device is the egress node of the first SRv6 message in the operator's network, and the first PE device and the second PE device belong to the operator's network.
  • the first SRv6 message may include the address of the second user-side device, indicating that the first SRv6 message passes through or reaches the second user-side device.
  • the first transmission service type is used to indicate the transmission service to be provided by the first tenant for the operator's network to process the first SRv6 message.
  • different path types are set up between PE devices to meet the different transmission service needs of each tenant.
  • the path type and specific path used are used.
  • the path affects the services provided by the operator's network for tenants' SRv6 packets.
  • the paths between PE devices in the operator network may include but are not limited to: LSPs, IPv6 tunnels, SRv6 tunnels or physical links for forwarding based on MPLS.
  • Bearing technologies for physical links may include: link layer encapsulation based on a single physical link, link layer encapsulation based on the first wavelength or time slot of a single optical fiber physical link.
  • the first transmission service type may be, but is not limited to, transmission services with large path overhead, low-latency transmission services, large-bandwidth transmission services, low-link jitter transmission services, transmission services with few bit errors, and optical fiber wavelengths to be allocated. or time slot transmission service.
  • the first path that satisfies the first transmission service type may be, for example, LSP 1 for forwarding based on MPLS.
  • LSP 1 may be the path from PE device 1 to PE device 2 via PE device 3.
  • the first indication information may be any information that can be carried in the first SRv6 message and sensed and recognized by the first PE device.
  • the first indication information may be the first IPv6 address in the exclusive IPv6 address set allocated by the first PE device to the first tenant, and the first IPv6 address is used to carry the first indication information.
  • the IPv6 address set may be an IPv6 network segment allocated by the first PE device to the first tenant, such as 2001:db8:A1::/48.
  • the IPv6 address set may include multiple IPv6 addresses.
  • Each IPv6 address in the IPv6 address can correspond to a transmission service type of the first tenant. For example, the transmission service type corresponding to 2001:db8:A1::1 is the path with the minimum cost, and the transmission service type corresponding to 2001:db8:A1::2 The service type is the path with the smallest delay.
  • the first IPv6 address as a whole may carry the first indication information.
  • 2001:db8:A1::1 is the first indication information.
  • some fields in the first IPv6 address (such as the Function field or the Argument field) are used to carry the first indication information.
  • the value of the Function field is "1" This is the first instruction information.
  • the value of the outer destination IP address field in the first SRv6 message is the first IPv6 address.
  • the first PE device parses the first SRv6 message and obtains the value from its outer layer.
  • the first IPv6 address is obtained from the destination IP address field, so that the first transmission service type is determined according to the value of the first IPv6 address or the field used to carry the first indication information in the first IPv6 address.
  • the first indication information may also be set in the IPv6 extension header of the first SRv6 message.
  • both the first PE device and the first user-side device need to obtain transmission service information, where the transmission service information includes an association relationship between the indication information and the transmission service type.
  • the association between the indication information and the transmission service type may include, but is not limited to, the association between the first indication information and the first transmission service type.
  • the association between the first indication information and the first transmission service type can be configured on the first PE device, and the first PE device not only saves it locally
  • the association between the first indication information and the first transmission service type can also be sent directly or indirectly to the first user-side device in the form of an offline or protocol message. .
  • the association between the first indication information and the first transmission service type can also be configured on the operator management device. Then, the operator management device can send the association between the first indication information and the first transmission service type. To the first PE device, the association relationship between the first indication information and the first transmission service type may also be sent to the first user-side device through the service management device.
  • the specific form of the transmission service information stored locally by the first PE device is not limited, as long as the first PE device can determine based on the transmission service information stored locally and the first indication information in the first SRv6 message. It is sufficient to satisfy the first path of the first transmission service type corresponding to the first indication information, thereby providing services to the first tenant based on the first path.
  • Step 602 The first user-side device sends the first SRv6 message to the first PE device.
  • Step 603 The first PE device receives the first SRv6 message sent by the first user-side device belonging to the first tenant.
  • the first PE device can also save the matching relationship between each interface and the indication information. After receiving the SRv6 message, the first PE device can determine the interface that received the SRv6 message, thereby determining the interface and the indication in the SRv6 message. Whether the information satisfies the matching relationship. If so, it is considered that the SRv6 message needs to be processed, and the following step 604 is performed on the SRv6 message; otherwise, the SRv6 message is deemed not to meet the conditions for continued processing, and the SRv6 message is discarded. text, the following step 604 is not performed.
  • Step 604 The first PE device processes the first SRv6 message and obtains the second SRv6 message.
  • the first PE device decrements the value of the SL field by one, and updates the value of the outer destination IP address field in the IPv6 header according to the SID in the SID list indicated by the SL field.
  • Step 605 The first PE device selects the first path corresponding to the first transmission service type and forwards the second SRv6 message based on the first indication information and the first bandwidth control policy.
  • the first PE device can decrement the value of the SL field in the SRH of the first SRv6 message by one, so that the SID of the next hop of the first PE device is in the SID list indicated by the SL field; and, the first PE device will In the first SRv6 message, the value of the outer destination IP address field in the IPv6 header is updated. Specifically, the value of the outer destination IP address field in the IPv6 header can be updated according to the SID in the SID list indicated by SL in the SRH.
  • the first PE device may select a first path that satisfies the first transmission service type based on the first indication information, so as to correspondingly encapsulate the first SRv6 message according to the first path.
  • the first path is based on
  • the first SRv6 packet is encapsulated according to the first path, which may be based on the first SRv6 packet.
  • the MPLS label stack corresponding to the first path is encapsulated; for another example, the first path is an SRv6 tunnel.
  • encapsulating the first SRv6 message according to the first path may be based on the first SRv6 message and then performing SRv6 encapsulation; for another example, the first path is an IPv6 tunnel, then encapsulating the first SRv6 message according to the first path
  • the SRv6 message encapsulation may include encapsulating the IPv6 header corresponding to the first path based on the first SRv6 message.
  • the ingress node of the first path is the first PE device
  • the egress node of the first path is the second PE device
  • the destination host of the first SRv6 message accesses the operator network through the second PE device.
  • the first PE device stores an association relationship between the first indication information, the first transmission service type and the first bandwidth control policy.
  • Step 605 may include: the first PE device obtains the first indication information from the first SRv6 message, and searches for the first transmission service corresponding to the first indication information in the first SRv6 message from the locally saved association relationship. type, and determine the first path starting from the first PE device and meeting the first transmission service type in the operator network. Then, the first PE device saves the association from the local In the relationship, search for the first bandwidth control policy corresponding to the first indication information in the first SRv6 message. The first PE device then forwards the first SRv6 packet to the second PE device according to the first path based on the first bandwidth control policy.
  • the first PE device uses the access control list to store the bandwidth control policy.
  • Step 605 may include: the first PE device receives the first SRv6 message, the first PE device obtains the first indication information from the destination IP field of the first SRv6 message, and searches for the first indication information from the locally saved association relationship.
  • a first transmission service type corresponding to the first indication information in an SRv6 message, and a first path starting from the first PE device and meeting the first transmission service type is determined in the operator network.
  • the first PE device uses the access control list to match the first bandwidth control policy corresponding to the first indication information, and forwards the first SRv6 message to the second PE along the first path according to the traffic behavior of the first bandwidth control policy. equipment.
  • the above implementation requires the first PE device to have ACL resources. If the ACL resource specifications of the first PE device are larger, the indication information that can support the selection function of the bandwidth control policy stored in the first PE device in the above implementation is relatively large. many.
  • the first PE device uses a SID list, a routing information database table, or a forwarding information database table to store the bandwidth control policy.
  • Step 605 may include: the first PE device receives the first SRv6 message, the first PE device obtains the first indication information from the destination IP field of the first SRv6 message, and searches for the first indication information from the locally saved association relationship.
  • a first transmission service type corresponding to the first indication information in an SRv6 message, and a first path starting from the first PE device and meeting the first transmission service type is determined in the operator network.
  • the first PE device uses the SID list, routing information database table or forwarding information database table to match the first bandwidth control policy corresponding to the first indication information, and according to the traffic behavior of the first bandwidth control policy, follow the first path Forward the first SRv6 packet to the second PE device.
  • the above implementation requires that the first PE device has a SID list or FIB resource. If the SID list or FIB resource of the first PE device has a larger specification, then the first PE device in the above implementation can support the bandwidth control policy. There are more instructions for selecting functions.
  • the method provided by the embodiment of the present application can use the access control list, SID list, routing information database table or forwarding information database table as the association table for storing the association between the indication information and the bandwidth control policy, and can be based on the PE equipment.
  • ACL resources, SID list resources or FIB resources you can flexibly choose to use access control lists, SID lists, routing information base tables or forwarding information base tables to store bandwidth control policies corresponding to indication information, as well as indication information and bandwidth control. Strategy relationships.
  • the first PE device forwards the second SRv6 message based on the first bandwidth control policy.
  • the first PE device may determine the effective length of the first SRv6 message. If the effective length of the first SRv6 message meets the first bandwidth Control policy: Send the first SRv6 message to the next-hop device. If the effective length of the first SRv6 message does not comply with the first bandwidth control policy, discard the first SRv6 message.
  • the first method is to determine the effective length of the first SRv6 message.
  • the effective length of the first SRv6 message is the length of the message including the segment routing header.
  • the length of the first SRv6 message is 1500 bytes.
  • the transmission rate of the first SRv6 message is 416 packets per second (English: Packets per Second). , abbreviation: pps) and 500pps.
  • the second method is to determine the effective length of the first SRv6 message.
  • the effective length of the first SRv6 message is the length of the message with the segment routing header stripped off.
  • the length of the first SRv6 message is 1500 bytes, and the length of the message after stripping off the 24-byte segment routing header is 1476 bytes.
  • the transmission rates of the messages are 423pps and 508pps respectively.
  • the SRv6 SID in this embodiment can conform to the Delete On Demand style and the Only One Segment Left style.
  • Delete On Demand style means that when the PE device receives an SRv6 message whose outer destination IP address is SRv6SID and the next SID is the last SID in the SID list (the value of the SL field is 1), the PE device will The outer destination IP address of the message is updated to the last SID in the SID list, and the segment routing header will be stripped off.
  • the Only One Segment Left style means that the PE device only processes SRv6 packets with an SL field value equal to 1 and discards SRv6 packets with an SL field value greater than 1.
  • the tenant's first SRv6 message can be restricted to carry only an additional SID used to indicate the bandwidth control policy of the first SRv6 message to send messages on behalf of the tenant.
  • the SID of the destination device thereby preventing the tenant from sending packets with an SL field value greater than 1 to the first PE device, resulting in the inability to perform operations corresponding to the Delete On Demand style, and at the same time reducing the user's packet transmission overhead and avoiding occupying more tenants.
  • Bandwidth limit ensures the actual available bandwidth of tenants.
  • the first PE device processes the first SRv6 message of the first tenant.
  • the first PE device can also process packets of other tenants.
  • the first PE device obtains the SRv6 message, and the second indication information contained in the SRv6 message is used to indicate the second transmission service type of the second tenant, then the first PE device controls the bandwidth based on the second bandwidth associated with the second indication information.
  • the policy processes the second SRv6 packet.
  • the second tenant and the first tenant may be the same tenant or different tenants, the second transmission service type may be the same transmission service type or different transmission service types, and the second bandwidth control policy and the first bandwidth control policy may be different bandwidth control policies. Or the same bandwidth control policy, so that billing operations can be flexibly performed for different transmission services of different tenants.
  • FIG. 7 is a schematic structural diagram of a data transmission device 700 provided by an embodiment of the present application.
  • the data transmission device 700 is applied to the first user-side device belonging to the first tenant.
  • the device 700 may include: an acquisition module 701 and a forwarding module 702.
  • the device 700 can be used to perform the methods in the above embodiments, such as steps 601 to 605.
  • the acquisition module 701 is configured to acquire a first SRv6 message, where the first SRv6 message includes first indication information, and the first indication information indicates a first transmission service type of the first tenant to the operator network.
  • the forwarding module 702 is configured to process the first SRv6 message based on the first bandwidth control policy associated with the first indication information.
  • the destination address of the first SRv6 message is the first indication information.
  • the first indication information is set in an IPv6 extension header.
  • the first indication information is the first SRv6SID
  • the first SRv6SID is the destination address of the first SRv6 message
  • the first SRv6SID is assigned by the first PE device to the first tenant in a per-tenant-per-service manner. SID.
  • the forwarding module 702 before acquiring the first SRv6 message, is also configured to: determine the first bandwidth control policy based on the association between the first indication information and the first bandwidth control policy.
  • the association includes a correspondence between the first indication information and the first transmission service type, and a correspondence between the first transmission service type and the first bandwidth control policy.
  • the association relationship table includes an access control list, a local SID table, a routing information database table or a forwarding information database table of the first PE device.
  • the forwarding module 702 before forwarding the first SRv6 message based on the first bandwidth control policy, is also configured to query the first bandwidth control policy in the association table according to the first indication information.
  • the first bandwidth control policy includes a committed access rate
  • the committed access rate includes a committed rate and/or a peak rate profile.
  • the first bandwidth control is performed based on the length of the payload of the first SRv6 message.
  • the forwarding module 702 is specifically configured to: determine the first transmission path corresponding to the first transmission service type according to the first indication information; forward the first SRv6 message based on the first bandwidth control policy and the first transmission path,
  • the ingress node of the first transmission path is the first PE device
  • the egress node of the first transmission path is the second PE device
  • the destination node of the second first SRv6 message accesses the operator network through the second PE device.
  • the remaining segment value of the first SRv6 message is greater than 1, and the forwarding module 702 is specifically configured to discard the first SRv6 message.
  • the remaining value of the segment of the first SRv6 message is equal to 1, and the forwarding module 702 is specifically configured to: forward the first SRv6 message.
  • the obtaining module 701 is further configured to: obtain a second SRv6 message, the second SRv6 message includes second indication information, and the second indication information is used to indicate the third transmission service type of the second SRv6 message. Second bandwidth control policy; the forwarding module is also used to: forward the second SRv6 message based on the second bandwidth control policy.
  • the second tenant and the first tenant are the same tenant, the second transmission service type and the first transmission service type are different transmission service types, and the second bandwidth control policy and the first bandwidth control policy are different bandwidth control policies.
  • the second indication information is the second SRv6SID
  • the second SRv6SID is the destination address of the second SRv6 message
  • the second SRv6SID is the SID allocated by the first PE device to the second tenant in a per-tenant-per-service manner.
  • the acquisition module 701 is further specifically configured to determine the second bandwidth control policy according to the association between the second indication information and the second bandwidth control policy.
  • the first PE device stores an association between the second indication information and the second bandwidth control policy.
  • FIG. 8 is a schematic structural diagram of a network device 800 provided by an embodiment of the present application.
  • the network device 800 can be used to perform the data transmission method in the above embodiment.
  • the network device 800 may include a processor 810 and a memory 820 coupled to the processor 810 .
  • the processor 810 may be a central processing unit (English: central processing unit, abbreviation: CPU), a network processor (English: network processor, abbreviation: NP) or a combination of CPU and NP.
  • the processor can also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), a field-programmable logic gate array (English: field-programmable gate array, abbreviation: FPGA), a general array logic (English: generic array logic, abbreviation: GAL) or any combination thereof.
  • the processor 810 may refer to one processor or may include multiple processors.
  • the memory 820 may include volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM); the memory may also include non-volatile memory (English: non-volatile memory) , such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid-state drive (English: solid-state drive , abbreviation: SSD); the memory 820 may also include a combination of the above types of memories.
  • the memory 820 may refer to one memory or may include multiple memories. In one embodiment, computer readable instructions are stored in the memory 820.
  • the computer readable instructions include a plurality of software modules, such as a first processing module 821 and a second processing module 822, which may respectively correspond to the above-mentioned data transmission device 700.
  • the processor 810 can perform corresponding operations according to the instructions of each software module.
  • the operations performed by a software module actually refer to operations performed by the processor 810 according to the instructions of the software module.
  • "obtaining the first SRv6 message" executed by the first processing module 821 may actually refer to "acquiring the first SRv6 message” executed by the processor 810 according to the instruction of the first processing module 821.
  • the The first processing module 821 may correspond to the acquisition module 701 in the data transmission device 700.
  • the network device 800 can perform the data transmission method as shown in FIG. 6 in the above embodiment.
  • the processor 810 is used to perform the data transmission method. All processing related operations.
  • the processor 810 is configured to process the first SRv6 message to obtain the second SRv6 message, and select the first path corresponding to the first transmission service type to forward the second SRv6 message based on the first indication information and the first bandwidth control policy. 2. SRv6 packets.
  • FIG. 9 is a schematic structural diagram of a data transmission system 900 provided by an embodiment of the present application.
  • the data transmission system 900 may include a first PE device 901 and a first user-side device 902.
  • the first PE device 901 may be, for example, the PE device 1 in FIG. 1 , or the PE device 31 or the PE device 32 in FIG. 5 , and is used to perform operations performed by the first PE device.
  • the first user-side device 90 can be the user-side device 11 in Figure 1, or can be the host 21 or CPE 23 in Figure 5, used to perform the operations performed by the first user-side device in the method.
  • the present application also provides a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When run on a computer, the computer is caused to execute the method described in any of the foregoing embodiments. any one or more operations.
  • This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to perform any one or more operations in the method described in any of the preceding embodiments.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of units is only a logical service division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separate.
  • a component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each business unit in various embodiments of this application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software business units.
  • Integrated units may be stored in a computer-readable storage medium when implemented in the form of software business units and sold or used as independent products.
  • the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
  • Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • Storage media can be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

Provided in the present application are a data transmission method and apparatus, and a network device and a storage medium. When a provider performs traffic transmission for different transmission service types selected by a tenant, a PE device of a provider network parses indication information which is contained in an SRv6 message received from a user-side device of the tenant and is used for indicating a transmission service type of the tenant with respect to the provider network, and then processes the SRv6 message according to a bandwidth control policy associated with the indication information. Therefore, the provider can perform bandwidth control on transmission traffic of services of different transmission service types, which are used by the tenant, thereby realizing the charging and operation of the provider for different transmission service types.

Description

数据传输方法、装置、网络设备及存储介质Data transmission methods, devices, network equipment and storage media
本申请要求于2022年07月30日提交国家知识产权局、申请号为202210912439.6、申请名称为“数据传输方法、装置、网络设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application submitted to the State Intellectual Property Office on July 30, 2022, with application number 202210912439.6 and the application name "Data transmission method, device, network equipment and storage medium", the entire content of which is incorporated by reference. incorporated in this application.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种数据传输方法、装置、网络设备及存储介质。The present application relates to the field of communications, and in particular, to a data transmission method, device, network equipment and storage medium.
背景技术Background technique
当用户的流量需要运营商网络提供承载服务时,运营商边缘(英文:Provider Edge,简称:PE)设备按照运营商和该用户的约定,将该用户的流量引入到运营商网络内建立的基于第六版互联网协议的分段路由(英文:Segment Routing over Internet Protocol version 6,简称:SRv6)隧道中,通过该SRv6隧道转发该流量。When the user's traffic requires the operator's network to provide bearer services, the operator's edge (English: Provider Edge, PE) device introduces the user's traffic to the operator's network-based network in accordance with the agreement between the operator and the user. In the Segment Routing over Internet Protocol version 6 (English: Segment Routing over Internet Protocol version 6, referred to as: SRv6) tunnel, the traffic is forwarded through the SRv6 tunnel.
但在运营商网络提供差异化的传输能力,来满足用户对网络传输服务的不同需求(例如:路径开销的需求、时延需求、带宽需求、链路抖动需求、误码需求、待分配的光纤波长或时隙的需求等)的情况下,运营商无法基于SRv6技术采用不同的方式分别对不同类型的网络传输服务进行运营。However, the operator's network provides differentiated transmission capabilities to meet users' different needs for network transmission services (for example: path overhead requirements, delay requirements, bandwidth requirements, link jitter requirements, bit error requirements, fiber to be allocated (wavelength or time slot requirements, etc.), operators cannot operate different types of network transmission services in different ways based on SRv6 technology.
发明内容Contents of the invention
本申请实施例提供一种数据传输方法、装置、网络设备及存储介质,能够解决运营商无法基于SRv6技术采用不同的方式分别对不同类型的网络传输服务进行运营的问题。Embodiments of the present application provide a data transmission method, device, network equipment and storage medium, which can solve the problem that operators are unable to operate different types of network transmission services in different ways based on SRv6 technology.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above purpose, this application adopts the following technical solutions:
第一方面,提供一种数据传输方法,该数据传输方法应用于第一PE设备,该方法包括:第一PE设备获取第一SRv6报文,第一SRv6报文包含有第一指示信息。第一指示信息用于指示第一租户对运营商网络的第一传输服务类型。第一PE设备再根据第一指示信息指示相关联的第一带宽控制策略对第一SRv6报文进行处理。由此,运营商能够通过运营商网络中的PE设备对租户使用不同的传输服务类型的服务的传输流量进行带宽控制,从而实现运营商对不同的传输服务类型的计费运营。In a first aspect, a data transmission method is provided. The data transmission method is applied to a first PE device. The method includes: the first PE device obtains a first SRv6 message, and the first SRv6 message contains first indication information. The first indication information is used to indicate the first transmission service type of the first tenant to the operator network. The first PE device then processes the first SRv6 message according to the associated first bandwidth control policy indicated by the first indication information. As a result, the operator can use the PE equipment in the operator's network to control the bandwidth of the tenant's transmission traffic using different transmission service types, thereby realizing the operator's billing operation for different transmission service types.
在本申请实施例中未对第一SRv6报文携带第一指示信息的方式进行限定,来提高第一SRv6报文携带第一指示信息的格式灵活性,使第一SRv6报文能够根据场景需求采用不同的方式携带第一指示信息,提高了数据传输方法的适用性。例如,第一指示信息可以设置于第一SRv6报文的IPv6报头的IPv6扩展头中。又如,第一SRv6报文的外层目的IP地址字段可以用于承载第一指示信息。In the embodiment of this application, the manner in which the first SRv6 message carries the first indication information is not limited, so as to improve the format flexibility of the first SRv6 message carrying the first indication information, so that the first SRv6 message can be configured according to the scenario requirements. Using different ways to carry the first indication information improves the applicability of the data transmission method. For example, the first indication information may be set in the IPv6 extension header of the IPv6 header of the first SRv6 message. For another example, the outer destination IP address field of the first SRv6 message may be used to carry the first indication information.
其中,第一带宽控制策略可以包括承诺访问速率(英文:Committed Access Rate,简称:CAR),承诺访问速率可以包括承诺速率(英文:Committed Information Rate,简称:CIR)和/或峰值速率(英文:Peak Information Rate,简称:PIR),即第一带宽控制策略根据第一租户与运营商协定的承诺速率和/或峰值速率选择对第一SRv6报文的处理方式,例如转发报文或丢弃报文。The first bandwidth control policy may include a committed access rate (English: Committed Access Rate, referred to as: CAR), and the committed access rate may include a committed rate (English: Committed Information Rate, referred to as: CIR) and/or a peak rate (English: Peak Information Rate (PIR), that is, the first bandwidth control policy selects the processing method for the first SRv6 packet based on the committed rate and/or peak rate agreed between the first tenant and the operator, such as forwarding the packet or discarding the packet. .
可选地,由于本申请实施例提供的方法应用于SRv6场景中,上述第一指示信息是SRv6段标识(英文:segment id,简称:SID)。Optionally, since the method provided by the embodiment of the present application is applied in an SRv6 scenario, the above-mentioned first indication information is an SRv6 segment identifier (English: segment id, abbreviation: SID).
其中,第一指示信息可以是第一PE设备按照每租户每服务的方式为第一租户分配的第一SRv6SID,第一SRv6报文的目的地址字段承载第一SRv6SID。每租户每服务的方式是指为不同租户的不同传输服务类型分别分配不同的SRv6SID。The first indication information may be the first SRv6 SID assigned by the first PE device to the first tenant in a per-tenant-per-service manner, and the destination address field of the first SRv6 message carries the first SRv6 SID. The per-tenant-per-service approach refers to allocating different SRv6SIDs to different transmission service types of different tenants.
可选地,上述第一指示信息还可以是第一SRv6SID的部分字段,例如第一SRv6SID的功能(英文:Function)字段或参数(英文:Argument)字段。Optionally, the above-mentioned first indication information may also be a partial field of the first SRv6SID, such as a function (English: Function) field or an argument (English: Argument) field of the first SRv6SID.
作为一种可能的实现方式,第一PE设备还可以根据第一指示信息确定第一SRv6报文的第一传输路径,例如第一指示信息是SRv6SID,第一PE设备根据SRv6SID确定第一传输服务类型对应的第一传输路径,再根据第一传输路径处理第一SRv6报文。As a possible implementation manner, the first PE device can also determine the first transmission path of the first SRv6 message according to the first indication information. For example, the first indication information is SRv6SID, and the first PE device determines the first transmission service according to the SRv6SID. the first transmission path corresponding to the type, and then process the first SRv6 message according to the first transmission path.
作为一种可能的实现方式,第一PE设备中存储有第一指示信息和第一带宽控制策略的对应关系,使第一PE设备基于第一SRv6报文携带的第一指示信息确定第一SRv6报文的第一带宽控制策略。As a possible implementation manner, the first PE device stores a corresponding relationship between the first indication information and the first bandwidth control policy, so that the first PE device determines the first SRv6 based on the first indication information carried in the first SRv6 message. The first bandwidth control policy for packets.
其中,第一指示信息和第一带宽控制策略的关联关系可以是直接对应关系,也可以是间接对应关系。 例如第一PE设备基于第一指示信息与第一带宽控制策略的对应关系确定第一带宽控制策略。又如,第一PE设备还可以基于第一指示信息与第一传输服务类型的对应关系确定第一传输服务类型,再基于第一传输服务类型与第一带宽控制策略的对应关系确定第一带宽控制策略。The correlation between the first indication information and the first bandwidth control policy may be a direct correspondence or an indirect correspondence. For example, the first PE device determines the first bandwidth control policy based on the correspondence between the first indication information and the first bandwidth control policy. For another example, the first PE device may also determine the first transmission service type based on the corresponding relationship between the first indication information and the first transmission service type, and then determine the first bandwidth based on the corresponding relationship between the first transmission service type and the first bandwidth control policy. Control Strategy.
可选地,上述第一指示信息和第一带宽控制策略的关联关系以关联关系表的形式存储在第一PE设备中,关联关系表是第一PE设备在处理租户的业务之前在第一PE设备中配置的。例如,在第一PE设备内置的访问控制列表(英文:Access Control Lists,简称ACL)的资源较为充足时,第一PE设备可以使用访问控制列表作为关联关系表。又如,在第一PE设备内置的本地SID表、转发信息库表(英文:Forward Information dataBase,简称:FIB)或路由信息库表(英文:Routing Information dataBase,简称RIB)的资源较为充足时,第一PE设备可以使用本地SID表或转发信息库表作为关联关系表。Optionally, the association relationship between the above-mentioned first indication information and the first bandwidth control policy is stored in the first PE device in the form of an association relationship table. The association relationship table is the first PE device's first PE device before processing the tenant's business. configured in the device. For example, when the resources of the built-in access control list (English: Access Control Lists, ACL for short) of the first PE device are relatively sufficient, the first PE device can use the access control list as the association table. For another example, when the resources of the local SID table, forwarding information base table (English: Forward Information dataBase, referred to as FIB) or routing information base table (English: Routing Information dataBase, referred to as RIB) built into the first PE device are relatively sufficient, The first PE device may use the local SID table or the forwarding information base table as the association table.
作为一种可能的实现方式,第一PE设备中存储有关联关系表的情况下,第一PE设备在接收到第一SRv6报文,根据第一SRv6报文携带的第一指示信息在关联关系表中确定第一SRv6报文所属的第一传输服务类型对应的第一带宽控制策略。例如,第一PE设备将第一指示信息输入访问控制列表、本地段标识SID表、转发信息库表或路由信息库表,匹配到第一指示信息对应的第一带宽策略。从而保证了第一指示信息和第一带宽策略的快速匹配,提高了报文转发传输效率。As a possible implementation manner, when the first PE device stores an association table, after receiving the first SRv6 message, the first PE device determines the association table according to the first indication information carried in the first SRv6 message. The first bandwidth control policy corresponding to the first transmission service type to which the first SRv6 message belongs is determined in the table. For example, the first PE device inputs the first indication information into the access control list, local segment identification SID table, forwarding information database table or routing information database table, and matches the first bandwidth policy corresponding to the first indication information. This ensures rapid matching between the first indication information and the first bandwidth policy, and improves packet forwarding and transmission efficiency.
作为一种可能的实现方式,第一PE设备基于第一带宽控制策略对第一SRv6报文进行处理时,首先确定第一SRv6的有效长度,再根据第一SRv6报文的有效长度使用第一带宽控制策略控制第一SRv6报文的处理。As a possible implementation manner, when the first PE device processes the first SRv6 message based on the first bandwidth control policy, it first determines the effective length of the first SRv6 message, and then uses the first SRv6 message based on the effective length of the first SRv6 message. The bandwidth control policy controls the processing of the first SRv6 packet.
本申请实施例不对第一SRv6的有效长度的确定方式进行限定。The embodiment of the present application does not limit the method of determining the effective length of the first SRv6.
例如,第一SRv6报文的分段路由头(英文:Segment Routing Header,简称:SRH)通常不携带租户需要的数据,第一PE设备剥离第一SRv6报文的分段路由头,得到第一SRv6报文的载荷,将该载荷的长度作为第一SRv6报文的有效长度,从而使第一带宽控制策略基于对租户有效的报文内容计算租户传输第一SRv6报文使用的流量,提高了带宽控制的准确性。For example, the segment routing header (English: Segment Routing Header, SRH) of the first SRv6 message usually does not carry the data required by the tenant. The first PE device strips off the segment routing header of the first SRv6 message to obtain the first The payload of the SRv6 message is used as the effective length of the first SRv6 message, so that the first bandwidth control policy calculates the traffic used by the tenant to transmit the first SRv6 message based on the message content that is valid for the tenant, which improves Bandwidth control accuracy.
又如,第一PE设备将包含分段路由头的第一SRv6报文的长度作为第一SRv6报文的有效长度,减少剥离分段路由头的操作,保证了报文传输的整体效率。For another example, the first PE device uses the length of the first SRv6 message containing the segment routing header as the effective length of the first SRv6 message, which reduces the operation of stripping the segment routing header and ensures the overall efficiency of message transmission.
作为一种可能的实现方式,第一PE设备在第一SRv6报文的段剩余(英文:Segment Left,简称:SL)的值大于1时丢弃该第一SRv6报文,在第一SRv6报文的段剩余的值等于1时对第一SRv6报文进行转发。如此,可以限制租户的报文除了携带用于指示带宽控制策略的SID外还能够携带一个用于指示报文的目的用户驻地设备(英文:Customer-premises equipment,简称:CPE)的SID,从而减少租户的报文传输开销,避免租户发送转发路径较长的报文到第一PE设备上而占用额外的用户带宽限额。As a possible implementation method, the first PE device discards the first SRv6 message when the value of the segment remaining (English: Segment Left, SL) of the first SRv6 message is greater than 1. When the remaining value of the segment is equal to 1, the first SRv6 message is forwarded. In this way, the tenant's packets can be restricted from carrying, in addition to the SID used to indicate the bandwidth control policy, a SID used to indicate the destination customer premises equipment (English: Customer-premises equipment, CPE) of the packet, thereby reducing The packet transmission overhead of the tenant prevents the tenant from sending packets with a long forwarding path to the first PE device and occupying additional user bandwidth quota.
第一PE设备除了使用第一带宽控制策略处理第一租户的第一SRv6报文,还可以采用不同的带宽控制策略对不同租户的报文进行处理。In addition to using the first bandwidth control policy to process the first SRv6 packet of the first tenant, the first PE device may also use different bandwidth control policies to process packets of different tenants.
例如,第一PE设备获取第二SRv6报文,根据第二SRv6报文包含的第二指示信息确定与第二指示信息关联的第二带宽控制策略处理第二SRv6报文。For example, the first PE device obtains the second SRv6 message, determines the second bandwidth control policy associated with the second instruction information according to the second indication information contained in the second SRv6 message, and processes the second SRv6 message.
若第二租户与第一租户为同一租户,第二传输服务类型与第一传输服务类型为不同传输服务类型,第二带宽控制策略与第一带宽控制策略为不同带宽控制策略,则第一PE设备为同一租户的不同传输类型服务提供了不同的计费运营方式。若第二租户与第一租户为不同租户,第二传输服务类型与第一传输服务类型为同一传输服务类型,第二带宽控制策略与第一带宽控制策略为不同带宽控制策略,则第一PE设备针对同一传输服务类型,可以为不同的租户提供不同的计费运营方式。If the second tenant and the first tenant are the same tenant, the second transmission service type and the first transmission service type are different transmission service types, and the second bandwidth control policy and the first bandwidth control policy are different bandwidth control policies, then the first PE The device provides different billing operation methods for different transmission type services of the same tenant. If the second tenant and the first tenant are different tenants, the second transmission service type and the first transmission service type are the same transmission service type, and the second bandwidth control policy and the first bandwidth control policy are different bandwidth control policies, then the first PE For the same transmission service type, the equipment can provide different billing operation methods for different tenants.
上述两种情况为本实施例提供的两种示例,本实施例中不对第二租户、第二传输服务类型和第二带宽控制策略进行限制,来对租户的报文实现更加灵活的带宽控制。The above two situations are two examples provided by this embodiment. In this embodiment, no restrictions are placed on the second tenant, the second transmission service type, and the second bandwidth control policy to achieve more flexible bandwidth control on the tenant's packets.
第二方面,提供了一种数据传输装置,所述装置包括用于执行第一方面或第一方面任一种可能实现方式中的数据传输方法的各个模块。A second aspect provides a data transmission device, which includes various modules for executing the data transmission method in the first aspect or any possible implementation of the first aspect.
需要说明的是,第二方面所述的数据传输装置可以是终端设备或网络设备,也可以是可设置于终端设备或网络设备中的芯片(***)或其他部件或组件,还可以是包含终端设备或网络设备的装置,本申请对此不做限定。It should be noted that the data transmission device described in the second aspect may be a terminal device or a network device, or may be a chip (system) or other component or component that can be installed in the terminal device or network device, or may include a terminal device. Equipment or network equipment, this application does not limit this.
此外,第二方面所述的数据传输装置的技术效果可以参考第一方面所述的数据传输方法的技术效果,此处不再赘述。 In addition, the technical effects of the data transmission device described in the second aspect can be referred to the technical effects of the data transmission method described in the first aspect, which will not be described again here.
第三方面,提供了一种网络设备,包括存储器和处理器,所述存储器用于存储指令,当所述处理器执行所述指令时,用于执行第一方面中任一种可能设计中的数据传输方法的操作步骤。In a third aspect, a network device is provided, including a memory and a processor. The memory is used to store instructions. When the processor executes the instructions, it is used to perform any of the possible designs in the first aspect. Operational steps of the data transfer method.
此外,第三方面所述的网络设备的技术效果可以参考第一方面所述的数据传输方法的技术效果,此处不再赘述。In addition, the technical effects of the network device described in the third aspect can be referred to the technical effects of the data transmission method described in the first aspect, which will not be described again here.
第四方面,提供一种计算机可读存储介质,包括:计算机软件指令;当计算机软件指令在处理器中运行时,执行如第一方面中任意一种可能的实现方式中所述方法。In a fourth aspect, a computer-readable storage medium is provided, including: computer software instructions; when the computer software instructions are run in a processor, the method described in any possible implementation manner in the first aspect is executed.
第五方面,提供一种计算机程序产品,当计算机程序产品在处理器上运行时,执行如第一方面中任意一种可能的实现方式中所述方法。In a fifth aspect, a computer program product is provided. When the computer program product is run on a processor, it executes the method described in any possible implementation manner in the first aspect.
本申请在上述各方面提供的实现方式的基础上,还可以进行进一步组合以提供更多实现方式。Based on the implementation methods provided in the above aspects, this application can also be further combined to provide more implementation methods.
附图说明Description of the drawings
图1为本申请实施例提供的一应用场景所涉及的网络框架示意图;Figure 1 is a schematic diagram of the network framework involved in an application scenario provided by the embodiment of the present application;
图2为本申请实施例提供的一种运营商网络中提供承载服务时报文的处理示意图;Figure 2 is a schematic diagram of message processing when providing bearer services in an operator network provided by an embodiment of the present application;
图3为本申请实施例提供的一种运营商网络中的传输网的结构示意图;Figure 3 is a schematic structural diagram of a transmission network in an operator network provided by an embodiment of the present application;
图4a为本申请实施例提供的一种SRv6报文1的示意图;Figure 4a is a schematic diagram of an SRv6 message 1 provided by an embodiment of the present application;
图4b为本申请实施例提供的一种报文2的示意图;Figure 4b is a schematic diagram of a message 2 provided by the embodiment of the present application;
图4c为本申请实施例提供的一种报文3的示意图;Figure 4c is a schematic diagram of a message 3 provided by the embodiment of the present application;
图4d为本申请实施例提供的一种SRv6报文4的示意图;Figure 4d is a schematic diagram of an SRv6 message 4 provided by an embodiment of the present application;
图5为本申请实施例提供的一种另一应用场景所涉及的网络框架示意图;Figure 5 is a schematic diagram of a network framework involved in another application scenario provided by the embodiment of the present application;
图6为本申请实施例提供的一种数据传输方法的流程示意图;Figure 6 is a schematic flow chart of a data transmission method provided by an embodiment of the present application;
图7为本申请实施例提供的一种数据传输装置的结构示意图;Figure 7 is a schematic structural diagram of a data transmission device provided by an embodiment of the present application;
图8为本申请实施例提供的一种网络设备的结构示意图;Figure 8 is a schematic structural diagram of a network device provided by an embodiment of the present application;
图9为本申请实施例提供的一种数据传输***的结构示意图。Figure 9 is a schematic structural diagram of a data transmission system provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或,a和b和c,其中a、b和c可以是单个,也可以是多个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。比如,本申请实施例中第一报文的“第一”和第二报文中的“第二”仅用于区分不同的报文。本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In this application, "at least one" means one or more, and "plurality" means two or more. "And/or" describes the association of associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the related objects are in an "or" relationship. "At least one of the following" or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items). For example, at least one of a, b or c can mean: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b and c can be single or multiple. In addition, in order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as “first” and “second” are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order. For example, in the embodiment of this application, the "first" in the first message and the "second" in the second message are only used to distinguish different messages. The first, second, etc. descriptions appearing in the embodiments of the present application are only for illustration and to distinguish the description objects, and there is no order. They do not represent special limitations on the number of devices in the embodiments of the present application, and cannot constitute a limitation of the present application. Any limitations of the embodiments.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in this application, words such as “exemplary” or “for example” are used to represent examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary" or "such as" is intended to present the concept in a concrete manner.
通常,租户的流量从一个用户侧设备发送给该租户的另一个用户侧设备时,需要经过运营商网络转发,该运营商网络为该租户的流量提供承载服务。目前,租户和运营商网络通过签署合同等形式约定传输服务类型,运营商网络按照约定好的传输服务类型为租户提供相应的服务。具体而言,运营商网络内建立SRv6隧道,租户的流量到达运营商网络的PE设备后,PE设备可以将流量引入预先约定的传输服务类型所对应的SRv6隧道,通过该SRv6隧道转发该流量能够使得运营商网络为租户提供符合预先约定传输服务类型的服务。Usually, when a tenant's traffic is sent from one user-side device to another user-side device of the tenant, it needs to be forwarded through the operator's network, which provides bearer services for the tenant's traffic. Currently, tenants and operator networks agree on transmission service types by signing contracts and other forms, and operator networks provide corresponding services to tenants according to the agreed transmission service types. Specifically, an SRv6 tunnel is established in the operator's network. After the tenant's traffic reaches the PE equipment of the operator's network, the PE equipment can introduce the traffic into the SRv6 tunnel corresponding to the pre-agreed transmission service type. The traffic can be forwarded through the SRv6 tunnel. This enables the operator network to provide tenants with services that comply with the pre-agreed transmission service type.
但是,很多场景中,租户需要运营商网络为部分流量提供不同传输服务类型的服务,那么,上述运营商网络按照约定为该租户的流量提供至少一种承载服务的方式。运营商为租户提供的不同传输服务类型的服务通常存在成本差异,因此运营商需要采用不同的运营方式对租户使用不同的传输服务类型 的服务进行传输的流量进行运营。例如,运营商和租户签订服务协议确定某种传输服务类型的服务的流量限制,则该传输服务类型对应的运营方式包括控制租户访问承载网的流量不会超过上述服务协议确定的流量上限,从而避免多租户、多种服务的情况下带宽的相互挤占。运营商会对同一租户或不同租户提供至少一种传输服务类型,而运营商对不同传输服务类型制定的计费具有差异,运营商需要使用不同的计费运营方式对租户使用不同传输服务类型传输的流量进行计费运营。但运营商网络在利用SRv6隧道确定租户的传输服务类型时,无法对租户使用不同的传输服务类型的服务所传输的流量进行不同方式的计费运营。However, in many scenarios, tenants require the operator network to provide different transmission service types for some traffic. Then, the above-mentioned operator network provides at least one bearer service method for the tenant's traffic according to the agreement. There are usually cost differences between the different transmission service types provided by operators to tenants, so operators need to adopt different operating methods to use different transmission service types for tenants. The service is operated by transmitting traffic. For example, if an operator and a tenant sign a service agreement to determine the traffic limit for a certain transmission service type, the operation method corresponding to the transmission service type includes controlling the traffic of the tenant to access the bearer network so as not to exceed the traffic upper limit determined by the above service agreement. Avoid mutual congestion of bandwidth in the case of multi-tenants and multiple services. Operators will provide at least one transmission service type to the same tenant or different tenants, and operators have different billing plans for different transmission service types. Operators need to use different billing operations for tenants using different transmission service types. Traffic is billed for operation. However, when the operator network uses the SRv6 tunnel to determine the tenant's transmission service type, it cannot conduct different charging operations for the traffic transmitted by the tenant using different transmission service types.
基于此,本申请实施例提供了一种数据传输方法,承载网的PE设备能够获取包括不同指示信息的SRv6报文,不同的指示信息用于指示第一租户对运营商网络的第一传输服务类型,并且,PE设备根据指示信息关联的带宽控制策略处理SRv6报文。如此,运营商网络在为租户提供不同传输服务类型的服务时,能够根据指示信息提供租户需求的传输服务类型来传输SRv6报文,并采用指示信息指示的带宽控制策略对SRv6报文的处理进行带宽控制。从而,运营商能够对租户使用不同的传输服务类型的服务的传输流量进行带宽控制,从而实现运营商对不同的传输服务类型的计费运营。Based on this, embodiments of this application provide a data transmission method. The PE equipment of the bearer network can obtain SRv6 messages including different indication information. The different indication information is used to indicate the first transmission service of the first tenant to the operator network. type, and the PE device processes SRv6 messages according to the bandwidth control policy associated with the indication information. In this way, when the operator network provides tenants with different transmission service types, it can provide the transmission service type required by the tenant according to the instruction information to transmit SRv6 messages, and use the bandwidth control policy indicated by the instruction information to process the SRv6 messages. Bandwidth control. Therefore, the operator can control the bandwidth of the transmission traffic of tenants using different transmission service types, thereby realizing the operator's billing operation for different transmission service types.
其中,传输服务类型可以是根据不同服务质量(英文:Quality of Service,简称:QoS)需求来划分的,例如路径开销的需求、时延需求、带宽需求、链路抖动需求、误码需求、待分配的光纤波长或时隙的需求。可选地,运营商网络可以基于不同的拓扑、切片、选路算法和差分服务代码点(英文:Differentiated Services Code Point,简称:DSCP)划分与不同传输服务类型对应的路径。带宽控制策略包括承诺访问速率,例如承诺速率控制、峰值速率控制等。Among them, transmission service types can be divided according to different quality of service (English: Quality of Service, QoS for short) requirements, such as path overhead requirements, delay requirements, bandwidth requirements, link jitter requirements, bit error requirements, and waiting requirements. Assigned fiber wavelength or time slot requirements. Optionally, the operator network can divide paths corresponding to different transmission service types based on different topologies, slicing, routing algorithms, and Differentiated Services Code Points (DSCP). Bandwidth control policies include committed access rates, such as committed rate control, peak rate control, etc.
举例来说,如图1所示的场景中,运营商网络10可以包括:PE设备1、PE设备2以及传输网3,PE设备1通过接口1连接租户1的用户侧设备11,通过接口2连接租户2的用户侧设备21,PE设备1通过传输网3连接PE设备2。PE设备2通过接口3连接租户1的用户侧设备12,通过接口4连接组合2的用户侧设备22。可选地,传输网3可以包括一个或多个运营商(英文:Provider,简称:P)设备(也可以称为核心层设备),本申请实施例仅以PE设备为例进行说明。For example, in the scenario shown in Figure 1, the operator network 10 may include: PE equipment 1, PE equipment 2, and transmission network 3. PE equipment 1 is connected to the user-side equipment 11 of tenant 1 through interface 1, and through interface 2 The user-side equipment 21 of tenant 2 is connected, and PE equipment 1 is connected to PE equipment 2 through transmission network 3. PE device 2 is connected to the user-side device 12 of tenant 1 through interface 3, and is connected to the user-side device 22 of combination 2 through interface 4. Optionally, the transmission network 3 may include one or more operator (English: Provider, abbreviated as: P) equipment (which may also be called core layer equipment). The embodiment of this application only takes PE equipment as an example for description.
以租户1为例,运营商网络10可以和租户1约定传输服务类型1,并建立满足传输服务类型1的SRv6隧道1,该SRv6隧道1依次经过PE设备1、传输网3和PE设备2。用户侧设备11接收到报文1,将报文1从接口1发送到PE设备1;PE设备1接收到租户1的报文1,使用SRv6隧道1转发该报文1,例如,PE设备1剥离报文1的分段路由头后再封装传输网络头,获得报文2,通过传输网3转发报文2,PE设备2接收报文2,PE设备2解封装报文2得到报文3,示意图可以参见图2;从而,PE设备2从接口3将报文3发送到租户1的用户侧设备12。这样,运营商网络10为租户1提供了预先约定的传输服务类型1对应的服务。如果租户1需要运营商网络10为某特征的流量提供传输服务类型2的服务,传输服务类型2和传输服务类型1不同,运营商网络10需要和租户1约定传输服务类型2,并建立满足传输服务类型2的SRv6隧道2,该SRv6隧道2依次经过PE设备1、传输网3和PE设备2。该流量例如包括报文1’,那么,用户侧设备11接收到报文1’,将报文1’从接口1发送到PE设备1;PE设备1接收到租户1的报文1’,‘为报文1’封装传输网络头,获得报文2’,通过传输网3转发该报文2’,PE设备2解封装报文2’得到报文3’;从而,PE设备2从接口3将报文3’发送到租户1的用户侧设备12。Taking tenant 1 as an example, operator network 10 can agree with tenant 1 on transmission service type 1 and establish SRv6 tunnel 1 that meets transmission service type 1. This SRv6 tunnel 1 passes through PE equipment 1, transmission network 3 and PE equipment 2 in sequence. User-side device 11 receives message 1 and sends message 1 from interface 1 to PE device 1; PE device 1 receives message 1 from tenant 1 and forwards message 1 using SRv6 tunnel 1, for example, PE device 1 Strip the segment routing header of message 1 and then encapsulate the transmission network header to obtain message 2. Forward message 2 through transmission network 3. PE device 2 receives message 2. PE device 2 decapsulates message 2 and obtains message 3. , the schematic diagram can be seen in Figure 2; thus, PE device 2 sends message 3 from interface 3 to the user-side device 12 of tenant 1. In this way, the operator network 10 provides tenant 1 with services corresponding to the pre-agreed transmission service type 1. If tenant 1 needs operator network 10 to provide transmission service type 2 services for traffic with certain characteristics, and transmission service type 2 is different from transmission service type 1, operator network 10 needs to agree with tenant 1 on transmission service type 2 and establish a transmission service type that meets the requirements of SRv6 tunnel 2 of service type 2 passes through PE device 1, transmission network 3 and PE device 2 in sequence. The traffic includes, for example, message 1'. Then, user-side device 11 receives message 1' and sends message 1' from interface 1 to PE device 1; PE device 1 receives message 1',' from tenant 1. Encapsulate the transmission network header for message 1', obtain message 2', forward the message 2' through transmission network 3, and PE device 2 decapsulates message 2' to obtain message 3'; thus, PE device 2 obtains message 3' from interface 3 Send message 3' to the user-side device 12 of tenant 1.
按照本申请实施例提供的技术方案,在图1所示的场景中,运营商网络10中的PE设备和各租户的用户侧设备均支持SRv6。运营商网络10中提供多条不同类型的路径,例如:基于多协议标签交换(英文:Multi-Protocol Label Switching,简称:MPLS)进行转发的标签交换路径(英文:Label Switched Path,简称:LSP)、IPv6隧道、SRv6隧道或光纤物理链路,不同类型的路径分别对应不同的传输服务类型。According to the technical solution provided by the embodiment of this application, in the scenario shown in Figure 1, the PE equipment in the operator network 10 and the user-side equipment of each tenant support SRv6. The operator network 10 provides multiple different types of paths, such as: Label Switched Path (LSP) for forwarding based on Multi-Protocol Label Switching (MPLS). , IPv6 tunnel, SRv6 tunnel or optical fiber physical link. Different types of paths correspond to different transmission service types.
传输网3作为运营商网络10的一部分,也可以提供标签交换路径、IPv6隧道、SRv6隧道或光纤物理链路等多条不同类型的路径。PE设备1为报文1或报文1’封装的网络传输头部符合传输网3提供的路径的协议,例如IP头部、IPv6头部、多协议标签交换(英文:Multi-Protocol Label Switching,简称:MPLS)头部等。As a part of the operator's network 10, the transmission network 3 can also provide multiple different types of paths such as label switching paths, IPv6 tunnels, SRv6 tunnels or optical fiber physical links. The network transmission header encapsulated by PE device 1 for message 1 or message 1' conforms to the protocol of the path provided by transmission network 3, such as IP header, IPv6 header, multi-protocol label switching (English: Multi-Protocol Label Switching, Abbreviation: MPLS) header, etc.
以图3为例,传输网3包括PE设备3和PE设备4,PE设备1分别通过PE设备3和PE设备4连接PE设备2,则传输网3包括的路径1是PE设备1—>PE设备3—>PE设备2,路径2是PE设备 1—>PE设备4—>PE设备2,路径1和路径2是传输网3中不同类型的路径。例如,路径1对应传输服务类型1,路径2对应传输服务类型2。Taking Figure 3 as an example, transmission network 3 includes PE equipment 3 and PE equipment 4. PE equipment 1 is connected to PE equipment 2 through PE equipment 3 and PE equipment 4 respectively. Then the path 1 included in transmission network 3 is PE equipment 1->PE. Device 3—>PE device 2, path 2 is PE device 1—>PE equipment 4—>PE equipment 2. Path 1 and path 2 are different types of paths in transmission network 3. For example, path 1 corresponds to transmission service type 1, and path 2 corresponds to transmission service type 2.
这样,按照目标的技术方案,运营商网络10实现了为租户1提供预先约定的传输服务类型1和传输服务类型2对应的服务,但是,运营商网络10无法对不同的传输服务类型的服务分别进行计费运营,即运营商网络10无法控制租户使用不同传输服务类型的服务收发的流量符合租户与运营商签订的服务协议中限定的流量范围。In this way, according to the target technical solution, the operator network 10 is able to provide tenant 1 with services corresponding to the pre-agreed transmission service type 1 and transmission service type 2. However, the operator network 10 cannot provide services for different transmission service types separately. To perform billing operations, that is, the operator network 10 cannot control the traffic sent and received by the tenant using different transmission service types to comply with the traffic range defined in the service agreement signed between the tenant and the operator.
在进行报文处理之前,租户的用户侧设备和该用户侧设备接入运营商网络10的PE设备可以获取到传输服务信息,传输服务信息用于指示不同的指示信息对应的带宽控制策略。作为一个示例,运营商网络10中与租户的用户侧设备连接的PE设备上可以为与该PE设备所连接的租户配置相关的传输服务信息,并将各租户的传输服务信息发送到该租户的用户侧设备上。其中,PE设备向用户侧设备发送传输服务信息,可以是PE设备直接将传输服务信息发送给用户侧设备,也可以是PE设备通过该PE设备所属的运营商管理设备和业务管理设备等间接的将传输服务信息发送给用户侧设备。作为另一个示例,运营商管理设备或业务管理设备上可以为租户配置相关的传输服务信息,并将传输服务信息发送到该租户的用户侧设备和与该租户的用户侧设备连接的PE设备上。作为又一个示例,租户的用户侧设备和该用户侧设备连接的PE设备上均可以通过静态配置的方式获得相关的传输服务信息,只要确保相同的传输服务信息指示相同的内容即可。下文中以PE设备上配置相关的传输服务信息并将传输服务信息直接发送给用户侧设备为例进行说明。Before packet processing, the tenant's user-side equipment and the PE equipment connected to the operator network 10 can obtain the transmission service information. The transmission service information is used to indicate bandwidth control policies corresponding to different indication information. As an example, the PE device connected to the tenant's user-side device in the operator network 10 can configure relevant transmission service information for the tenant connected to the PE device, and send the transmission service information of each tenant to the tenant's user-side device. on the user side device. Among them, the PE device sends transmission service information to the user-side device. The PE device can directly send the transmission service information to the user-side device, or the PE device can indirectly send the transmission service information to the user-side device through the operator management equipment and business management equipment to which the PE equipment belongs. Send the transmission service information to the user-side device. As another example, the operator management device or service management device can configure relevant transmission service information for the tenant, and send the transmission service information to the tenant's user-side equipment and the PE equipment connected to the tenant's user-side equipment. . As another example, the tenant's user-side device and the PE device connected to the user-side device can obtain relevant transmission service information through static configuration, as long as the same transmission service information indicates the same content. The following description takes the example of configuring relevant transmission service information on the PE device and sending the transmission service information directly to the user-side device.
对于传输服务信息,一种情况下,传输服务信息可以包括指示信息、运营商网络中路径以及带宽控制策略的对应关系,不同的路径满足不同的传输服务类型,不同的传输服务类型对应不同的带宽控制策略。另一种情况下,传输服务信息可以包括指示信息、传输服务类型以及带宽控制策略的对应关系。其中,指示信息可以是为租户分配的专属IPv6地址集合(也可以称为IPv6地址块或IPv6网段)中的IPv6地址;也可以是在为租户分配的专属IPv6地址集合的基础上,通过Function字段或Argument字段承载的带宽控制策略;还可以是与为租户分配的专属IPv6地址集合不相关的带宽控制策略。For transmission service information, in one case, the transmission service information may include the corresponding relationship between indication information, paths in the operator's network, and bandwidth control policies. Different paths meet different transmission service types, and different transmission service types correspond to different bandwidths. Control Strategy. In another case, the transmission service information may include correspondence between indication information, transmission service type, and bandwidth control policy. Among them, the indication information can be the IPv6 address in the exclusive IPv6 address set allocated to the tenant (which can also be called IPv6 address block or IPv6 network segment); it can also be based on the exclusive IPv6 address set allocated to the tenant, through Function The bandwidth control policy carried by the field or Argument field; it can also be a bandwidth control policy that is not related to the exclusive IPv6 address set assigned to the tenant.
作为一种可能的实现方式,带宽控制策略可以定义在traffic-behavior对象中,再将traffic-behavior对象关联到指示信息上,从而实现带宽控制策略与指示信息的关联。作为另一种可能的实现方式,PE设备还可以对每个指示信息配置相应的带宽控制策略,或者通过其它的对象而不是traffic-behavior对象进行带宽控制策略与指示信息的关联等。As a possible implementation method, the bandwidth control policy can be defined in the traffic-behavior object, and then the traffic-behavior object is associated with the indication information, thereby realizing the association between the bandwidth control policy and the indication information. As another possible implementation, the PE device can also configure a corresponding bandwidth control policy for each indication information, or associate the bandwidth control policy with the indication information through other objects instead of the traffic-behavior object.
运营商网络中的PE设备可以在已知传输服务信息的情况下,解析用户侧设备发送的报文,获得指示信息,并根据指示信息对应的传输服务类型确定路径以及带宽控制策略,基于该带宽控制策略对该SRv6报文按照所确定路径的类型封装后从该路径转发。这样,运营商网络能够为租户的该报文提供租户需求的传输服务类型的服务,并对不同传输服务类型的服务的流量进行带宽控制,实现了运营商对不同的传输服务类型的服务的计费运营。The PE equipment in the operator's network can parse the packets sent by the user-side device when the transmission service information is known, obtain the indication information, and determine the path and bandwidth control policy based on the transmission service type corresponding to the indication information. Based on the bandwidth The control policy encapsulates the SRv6 packet according to the determined path type and forwards it along the path. In this way, the operator network can provide the tenant's packets with the transmission service type required by the tenant, and perform bandwidth control on the traffic of different transmission service types, realizing the operator's planning of services of different transmission service types. Free operation.
在图1所示的场景中,PE设备1可以为租户1预配置IPv6地址集合:2001:db8:A1::/48,为租户2预配置IPv6地址集合:2001:db8:A2::/48。In the scenario shown in Figure 1, PE device 1 can pre-configure the IPv6 address set for tenant 1: 2001:db8:A1::/48, and pre-configure the IPv6 address set for tenant 2: 2001:db8:A2::/48. .
在一些可能的实现方式中,指示信息为租户的IPv6地址集合中的IPv6地址,传输服务信息包括指示信息和传输服务类型,PE设备1上的传输服务信息可以包括:In some possible implementations, the indication information is an IPv6 address in the tenant's IPv6 address set, and the transmission service information includes indication information and transmission service type. The transmission service information on PE device 1 may include:
传输服务信息1:(租户1,IPv6地址11=2001:db8:A1::1,传输服务类型11<传输路径=开销最小的路径>)Transmission service information 1: (Tenant 1, IPv6 address 11 = 2001:db8:A1::1, transmission service type 11 <transmission path = path with the minimum cost>)
传输服务信息2:(租户1,IPv6地址12=2001:db8:A1::2,传输服务类型12<传输路径=时延最小的路径>)Transmission service information 2: (Tenant 1, IPv6 address 12 = 2001:db8:A1::2, transmission service type 12 <transmission path = path with the smallest delay>)
传输服务信息3:(租户1,IPv6地址13=2001:db8:A1::3,传输服务类型13<传输路径=独享光纤波长或时隙的路径>)Transmission service information 3: (Tenant 1, IPv6 address 13 = 2001:db8:A1::3, transmission service type 13 <transmission path = path with exclusive fiber wavelength or time slot>)
传输服务信息4:(租户2,IPv6地址21=2001:db8:A2::1,传输服务类型21<传输路径=时延最小的路径>)Transmission service information 4: (Tenant 2, IPv6 address 21 = 2001:db8:A2::1, transmission service type 21 <transmission path = path with the smallest delay>)
传输服务信息5:(租户2,IPv6地址22=2001:db8:A2::2,传输服务类型22<传输路径=链路抖动最小的路径>)Transmission service information 5: (Tenant 2, IPv6 address 22 = 2001:db8:A2::2, transmission service type 22 <transmission path = path with the smallest link jitter>)
在PE设备1上配置上述传输服务信息的具体示例可以为:
A specific example of configuring the above transmission service information on PE device 1 can be:
可选地,上述PE设备1上的传输服务信息,可以通过离线方式或协议报文的方式发送给相应租户的用户侧设备。Optionally, the transmission service information on the PE device 1 can be sent to the user-side device of the corresponding tenant in an offline manner or in a protocol message.
可选地,上述PE设备1上配置的需要向各租户通告的IPv6地址集合,可以通过协议报文(如中间***到中间***(英文:Intermediate system to intermediate system,简称:ISIS)报文)发送给相应租户的用户侧设备,实现用户侧设备和PE设备1之间的路由可达。Optionally, the IPv6 address set configured on the above PE device 1 that needs to be advertised to each tenant can be sent through a protocol message (such as an intermediate system to intermediate system (English: Intermediate system to intermediate system, abbreviation: ISIS) message) For the user-side equipment of the corresponding tenant, the route between the user-side equipment and PE device 1 is reachable.
PE设备1可以将上述传输服务信息1-3发送给用户侧设备11,将传输服务信息4和5发送给用户侧设备12。The PE device 1 can send the above-mentioned transmission service information 1-3 to the user-side device 11, and send the transmission service information 4 and 5 to the user-side device 12.
在本申请实施例中,为了实现运营商网络10对不同传输服务类型的流量的带宽控制,PE设备1中的传输服务信息还包括与指示信息关联的带宽控制策略,例如承诺访问速率(英文:Committed Access Rate,简称:CAR)带宽控制信息。In the embodiment of the present application, in order to implement bandwidth control of traffic of different transmission service types by the operator network 10, the transmission service information in the PE device 1 also includes a bandwidth control policy associated with the indication information, such as the committed access rate (English: Committed Access Rate (CAR) bandwidth control information.
在PE设备1上配置上述传输服务信息中带宽控制策略的具体示例可以为:

A specific example of configuring the bandwidth control policy in the above transmission service information on PE device 1 can be:

作为一个示例,当租户1的业务1(如Web文件传输业务)具有传输服务类型11对应的QoS需求时,用户侧设备11可以基于传输服务信息1,确定在待发送的SRv6报文1中填写目的IP地址为IPv6地址11(即2001:db8:A1::1)。当PE设备1从连接租户1的接口1上收到包括2001:db8:A1::1的SRv6报文1时,可以如上述示例一所示根据该SRv6报文1目的IP地址2001:db8:A1::1确定该SRv6报文1所需要的传输服务类型11,选择开销最小的路径1,路径1依次经过PE设备1、PE设备3和PE设备2,并根据传输服务类型11确定SRv6报文1对应的带宽控制策略qt1;从而,PE设备1可以按照此传输服务类型11对应的路径1处理SRv6报文1得到报文2,并基于带宽控制策略qt1将报文2按照该路径1发送给PE设备2,再由PE设备2对所接收的与报文2对应的报文3进行处理得到SRv6报文4,并将SRv6报文4从接口3发送给用户侧设备12。需要说明的是,为租户1不同传输服务类型的SRv6报文所确定的路径可以经过的网络设备不同,例如,传输服务类型11对应路径1,传输服务类型12对应路径2;或者,为租户1不同传输服务类型的SRv6报文所确定的路径可以经过相同的网络设备,但路径类型不同,例如,传输服务类型11和传输服务类型12均对应路径1,但传输服务类型11对应的路径1为基于MPLS进行转发的LSP,传输服务类型12对应的路径1为SRv6隧道。As an example, when the service 1 of tenant 1 (such as the Web file transfer service) has QoS requirements corresponding to the transmission service type 11, the user-side device 11 can determine to fill in the SRv6 message 1 to be sent based on the transmission service information 1. The destination IP address is IPv6 address 11 (that is, 2001:db8:A1::1). When PE device 1 receives SRv6 message 1 including 2001:db8:A1::1 from interface 1 connected to tenant 1, it can use the destination IP address 2001:db8 of the SRv6 message 1 as shown in the above example 1: A1::1 determines the transmission service type 11 required for the SRv6 message 1, selects the path 1 with the smallest cost, and passes through PE device 1, PE device 3 and PE device 2 in sequence, and determines the SRv6 message based on the transmission service type 11. The bandwidth control policy qt1 corresponding to the message 1; therefore, the PE device 1 can process the SRv6 message 1 according to the path 1 corresponding to the transmission service type 11 to obtain the message 2, and send the message 2 according to the path 1 based on the bandwidth control policy qt1. to the PE device 2, and then the PE device 2 processes the received message 3 corresponding to the message 2 to obtain the SRv6 message 4, and sends the SRv6 message 4 from the interface 3 to the user-side device 12. It should be noted that the paths determined for SRv6 packets of different transmission service types for tenant 1 can pass through different network devices. For example, transmission service type 11 corresponds to path 1, and transmission service type 12 corresponds to path 2; or, for tenant 1 The paths determined by SRv6 packets of different transmission service types can pass through the same network device, but the path types are different. For example, transmission service type 11 and transmission service type 12 both correspond to path 1, but the path 1 corresponding to transmission service type 11 is For LSPs forwarded based on MPLS, path 1 corresponding to transmission service type 12 is an SRv6 tunnel.
作为另一个示例,当租户2的业务2(如语音或者视频通话业务)具有传输服务类型22对应的QoS需求(即选择链路抖动最小的路径进行转发)时,用户侧设备12可以基于传输服务信息5,确定在待发送的SRv6报文5中填写目的IP地址为IPv6地址22(即2001:db8:A2::2)。当PE设备1从连接租户2的接口2上收到包括2001:db8:A2::2的SRv6报文5时,可以如上述示例二根据该SRv6报文5目的IP地址2001:db8:A2::2确定该SRv6报文5所需要的传输服务类型22为链路抖动最小的路径2,以及SRv6报文5对应的带宽控制策略qt5,路径2依次经过PE设备1、PE设备4和PE设备2;从而,PE设备1可以按照此传输服务类型22对应的路径2处理SRv6报文5得到报文6,并基于带宽控制策略qt5将报文6按照该路径2发送给PE设备2,再由PE设备2对接收到的与报文6进行处理得到SRv6报文7,并将SRv6报文7从接口4发送给用户侧设备22。As another example, when tenant 2's service 2 (such as voice or video call service) has QoS requirements corresponding to the transmission service type 22 (that is, selecting the path with the smallest link jitter for forwarding), the user-side device 12 can forward the service based on the transmission service type 22. Information 5, confirm that the destination IP address in the SRv6 message 5 to be sent is IPv6 address 22 (that is, 2001:db8:A2::2). When PE device 1 receives SRv6 packet 5 including 2001:db8:A2::2 from interface 2 connected to tenant 2, it can use the destination IP address 2001:db8:A2 of the SRv6 packet 5 as shown in the above example 2: :2 Determine that the transmission service type 22 required for the SRv6 message 5 is path 2 with the smallest link jitter, and the bandwidth control policy qt5 corresponding to the SRv6 message 5. Path 2 passes through PE device 1, PE device 4 and PE device in sequence 2; Therefore, PE device 1 can process SRv6 message 5 according to path 2 corresponding to this transmission service type 22 to obtain message 6, and send message 6 to PE device 2 according to path 2 based on bandwidth control policy qt5, and then use PE device 2 processes the received message 6 to obtain SRv6 message 7, and sends SRv6 message 7 from interface 4 to user-side device 22.
上述两个示例中,SRv6报文1和SRv6报文5中还可以在SRH的SID list中指定用户侧设备的目的地址,例如,在SRv6报文1中还可以包括用户侧设备12的地址,SRv6报文5中还可以包括用户侧设备22的地址。用户侧设备的地址例如可以携带在SRv6报文中的分段路由头的段标识列表(英文:Segment Identifier list,简称:SID list)字段中。以用户侧设备12为例,该用户侧设备12可以是目的主机、用户边缘设备或用户驻地设备。如果用户侧设备12为CE设备或CPE,那么,SRv6报文1中指定的用户侧设备的目的地址可以是该CE设备或CPE的地址,例如可以是一个128比特的SRv6SID,或者,也可以是一个小于128比特的、经过压缩的SRv6SID或IPv6地址,如,可以采用draft-cl-spring-generalized-srv6-for-cmpr-03压缩过;如果用户侧设备12为为目的主机,那么,SRv6报文1中指定的用户侧设备的目的地址可以是该目的主机的地址,例如可以是该目的主机的IPv6地址。In the above two examples, SRv6 message 1 and SRv6 message 5 can also specify the destination address of the user-side device in the SID list of SRH. For example, SRv6 message 1 can also include the address of user-side device 12. The SRv6 message 5 may also include the address of the user-side device 22 . For example, the address of the user-side device can be carried in the segment identifier list (English: Segment Identifier list, abbreviation: SID list) field of the segment routing header in the SRv6 message. Taking the user-side device 12 as an example, the user-side device 12 may be a destination host, a user edge device, or a user premises device. If the user-side device 12 is a CE device or CPE, then the destination address of the user-side device specified in the SRv6 message 1 may be the address of the CE device or CPE, for example, it may be a 128-bit SRv6 SID, or it may be A compressed SRv6 SID or IPv6 address less than 128 bits, for example, it can be compressed using draft-cl-spring-generalized-srv6-for-cmpr-03; if the user-side device 12 is the destination host, then the SRv6 report The destination address of the user-side device specified in Document 1 may be the address of the destination host, for example, it may be the IPv6 address of the destination host.
作为一个示例,如果用户侧设备11为与PE设备1连接的主机11,用户侧设备12为与PE设备2连接的主机12,则主机11可以针对业务1生成如图4a所示的SRv6报文1(实际是一个增加了SRH作为IPv6扩展头的原生(英文:native)IPv6报文),该SRv6报文1包括IPv6头、SRH和载荷(英文: payload),其中,IPv6头中源IP地址字段=主机11的地址,目的IP地址字段=2001:db8:A1::1,SRH中包括剩余段字段和SID list字段,SL字段=1,SID list包括主机12的地址和2001:db8:A1::1。需要说明的是,上述SRv6报文1采用的是非简化(英文:reduced)SRH的报文封装方式,而当SRv6报文1的IPv6头中目的地址为2001:db8:A1::1时,SRH中SID list中也可以不包括2001:db8:A1::1,这种方式称为reduced SRH的报文封装方式。本申请实施例以非reduced SRH的报文封装方式下的SRv6报文为例进行说明。As an example, if the user-side device 11 is the host 11 connected to PE device 1, and the user-side device 12 is the host 12 connected to PE device 2, then the host 11 can generate an SRv6 message as shown in Figure 4a for service 1. 1 (actually a native (English: native) IPv6 message with SRH added as an IPv6 extension header). The SRv6 message 1 includes an IPv6 header, SRH and payload (English: payload), where the source IP address field in the IPv6 header = the address of host 11, the destination IP address field = 2001:db8:A1::1, the SRH includes the remaining segment field and the SID list field, the SL field = 1, SID list Includes the address of host 12 and 2001:db8:A1::1. It should be noted that the above SRv6 message 1 uses the non-simplified (English: reduced) SRH message encapsulation method, and when the destination address in the IPv6 header of SRv6 message 1 is 2001:db8:A1::1, SRH The SID list does not need to include 2001:db8:A1::1. This method is called the reduced SRH packet encapsulation method. The embodiment of this application takes an SRv6 packet in the non-reduced SRH packet encapsulation mode as an example for explanation.
当SRv6报文1发送到PE设备1时,PE设备1根据报文1中的目的IP地址字段确定报文1对应的传输服务类型11和带宽控制策略qt1。PE设备1处理获得的报文2可以参见图4b所示,该报文2除了包括IPv6头、SRH和payload,还增加了满足传输服务类型11的路径1对应的MPLS标签栈。上述MPLS标签栈是PE设备1查找路由表项确定到达主机12的下一跳为PE设备3,而且确定PE设备1到PE设备2之间满足传输服务类型11的路径1为基于MPLS进行转发的LSP,从而获得的路径1对应的MPLS标签栈。上述MPLS标签栈可以包括PE设备3的MPLS标签和PE设备2的MPLS标签,其中,IPv6头中源IP地址字段=主机11的地址,目的IP地址字段=主机12的地址,SRH中的SL字段=0,SID list包括主机12的地址和2001:db8:A1::1。如此,PE设备1基于报文2的MPLS标签栈,以符合带宽控制策略qt1的转发方式将报文2经过路径1转发到PE设备2,PE设备2接收到与报文2对应的报文3如图4c所示,与图4b相比区别在于:MPLS标签栈仅包括PE设备2的MPLS标签,此时,PE设备2可以将该PE设备2的MPLS标签剥掉(即剥离MPLS标签栈)获得SRv6报文4,参见图4d所示,该SRv6报文4包括IPv6头、SRH和payload,IPv6头中源IP地址字段=主机11的地址,目的IP地址字段=主机12的地址,SRH中的SL字段=0,SID list包括主机12的地址和2001:db8:A1::1。那么,PE设备2可以将该SRv6报文4发送到主机12。需要说明的是,该示例中,主机11可以和PE设备1直连,也可以通过其他交换机或路由器等网络设备连接PE设备1,如果主机11通过其他网络设备连接PE设备1,那么,其他网络设备对SRv6报文1仅作IPv6转发处理而不更改该SRv6报文1的目的地址及SRH。同理,主机12可以和PE设备2直连,也可以通过其他网络设备连接PE设备2,如果主机12通过其他网络设备连接PE设备2,那么,其他网络设备对SRv6报文4仅作IPv6转发到主机12的处理而不更改该SRv6报文4的目的地址及SRH。When SRv6 message 1 is sent to PE device 1, PE device 1 determines the transmission service type 11 and bandwidth control policy qt1 corresponding to message 1 based on the destination IP address field in message 1. The message 2 processed by PE device 1 can be seen in Figure 4b. In addition to the IPv6 header, SRH and payload, this message 2 also adds the MPLS label stack corresponding to path 1 that meets the transmission service type 11. The above MPLS label stack is that PE device 1 searches the routing table entry to determine that the next hop to host 12 is PE device 3, and determines that path 1 between PE device 1 and PE device 2 that meets the transmission service type 11 is forwarded based on MPLS. LSP, thereby obtaining the MPLS label stack corresponding to path 1. The above MPLS label stack may include the MPLS label of PE device 3 and the MPLS label of PE device 2, where the source IP address field in the IPv6 header = the address of host 11, the destination IP address field = the address of host 12, and the SL field in the SRH =0, the SID list includes the address of host 12 and 2001:db8:A1::1. In this way, PE device 1 forwards message 2 to PE device 2 through path 1 based on the MPLS label stack of message 2 in a forwarding manner that complies with bandwidth control policy qt1. PE device 2 receives message 3 corresponding to message 2. As shown in Figure 4c, the difference compared with Figure 4b is that the MPLS label stack only includes the MPLS label of PE device 2. At this time, PE device 2 can peel off the MPLS label of PE device 2 (that is, peel off the MPLS label stack) Obtain SRv6 message 4, as shown in Figure 4d. This SRv6 message 4 includes an IPv6 header, SRH and payload. The source IP address field in the IPv6 header = the address of host 11, the destination IP address field = the address of host 12, and in the SRH The SL field = 0, and the SID list includes the address of host 12 and 2001:db8:A1::1. Then, PE device 2 can send the SRv6 message 4 to host 12. It should be noted that in this example, host 11 can be directly connected to PE device 1, or can be connected to PE device 1 through other network devices such as switches or routers. If host 11 is connected to PE device 1 through other network devices, then other networks The device only performs IPv6 forwarding processing on SRv6 message 1 without changing the destination address and SRH of the SRv6 message 1. Similarly, host 12 can be directly connected to PE device 2, or can be connected to PE device 2 through other network devices. If host 12 is connected to PE device 2 through other network devices, then other network devices will only forward SRv6 packet 4 through IPv6. to the host 12 for processing without changing the destination address and SRH of the SRv6 message 4.
可选地,图4b、图4c和图4d所示的报文在分段路由头的段剩余的值为0,可以剥离分段路由头,即图4b、图4c和图4d所示的报文可以不包含分段路由头。该分段路由头可以是在报文2、报文3或报文4生成时被剥离的。Optionally, the remaining value in the segment routing header of the packets shown in Figure 4b, Figure 4c and Figure 4d is 0, and the segment routing header can be stripped off, that is, the packets shown in Figure 4b, Figure 4c and Figure 4d The document may not contain a segment routing header. The segment routing header may be stripped when message 2, message 3 or message 4 is generated.
上述图1所示的场景示例中,运营商网络可以指服务提供商网络,租户可以是个人租户。本申请实施例中,对于企业租户,不仅可以使用服务提供商网络,还可以使用云提供商提供的虚拟私有云(英文:Virtual Private Cloud,简称:VPC)业务。下面以图5所示的场景,介绍本申请实施例。In the scenario example shown in Figure 1 above, the operator network may refer to the service provider network, and the tenant may be an individual tenant. In the embodiment of this application, for enterprise tenants, not only the service provider network can be used, but also the virtual private cloud (English: Virtual Private Cloud, VPC for short) service provided by the cloud provider. The following uses the scenario shown in Figure 5 to introduce the embodiment of the present application.
如图5所示的场景中,包括企业X的园区网络20、运营商网络31、运营商网络32和云提供商网络40,其中,园区网络20可以包括主机21、交换机22和用户驻地设备23,运营商网络31包括PE设备31和PE设备31’,运营商网络32包括PE设备32和PE设备32’,云提供商网络40可以包括接入点(英文:Point of Presence,简称:PoP)41、服务器42和服务器43。其中,主机21通过交换机22连接CPE 23,CPE 23分别通过PE设备31和PE设备32接入运营商网络31和运营商网络32,运营商网络31通过PE设备31’连接云提供商网络40的PoP 41,运营商网络32通过PE设备32’连接云提供商网络40的PoP 41,PoP 41通过服务器42连接服务器43。其中,服务器42可以视作云PE设备,服务器43可以视作云CE设备。The scenario shown in Figure 5 includes the campus network 20 of Enterprise , the operator network 31 includes PE equipment 31 and PE equipment 31', the operator network 32 includes PE equipment 32 and PE equipment 32', and the cloud provider network 40 may include an access point (English: Point of Presence, abbreviation: PoP) 41. Server 42 and Server 43. Among them, the host 21 is connected to the CPE 23 through the switch 22. The CPE 23 is connected to the operator network 31 and the operator network 32 through the PE equipment 31 and PE equipment 32 respectively. The operator network 31 is connected to the cloud provider network 40 through the PE equipment 31'. PoP 41, the operator network 32 is connected to the PoP 41 of the cloud provider network 40 through the PE device 32', and the PoP 41 is connected to the server 43 through the server 42. Among them, the server 42 can be regarded as a cloud PE device, and the server 43 can be regarded as a cloud CE device.
云提供商网络40可以为企业X提供VPC业务,从企业X的视角来看,云提供商网络40中的设备可以虚拟化为虚拟的主机、交换机、路由器、网关等,例如,服务器42被虚拟化为虚拟网关(英文:Virtual Gateway,简称:VGW)和虚拟路由器rt0,服务器43被虚拟化为虚拟交换机(英文:Virtual Switch,简称:VSW)和虚拟机(英文:Virtual Machine,简称:VM)。其中,VM可以视作虚拟主机,VGW可以视作虚拟CPE。对企业X而言,可以认为其拥有的一个从主机21到VM的端到端的连接。The cloud provider network 40 can provide VPC services for enterprise X. From the perspective of enterprise X, the devices in the cloud provider network 40 can be virtualized into virtual hosts, switches, routers, gateways, etc. For example, the server 42 is virtualized into a virtual gateway (English: Virtual Gateway, abbreviation: VGW) and a virtual router rt0, and the server 43 is virtualized into a virtual switch (English: Virtual Switch, abbreviation: VSW) and a virtual machine (English: Virtual Machine, abbreviation: VM) . Among them, VM can be regarded as a virtual host, and VGW can be regarded as a virtual CPE. For enterprise X, it can be considered that it has an end-to-end connection from the host 21 to the VM.
运营商网络31和运营商网络为企业X在园区网络20与VPC业务之间进行流量传输,提供相应的服务。从企业X的视角来看,运营商网络31以及运营商网络32中的设备可以虚拟化为虚拟的路由器,例如,PE设备31’、PE设备32’、PE设备31和PE设备32被虚拟化为虚拟路由器rt1-rt4。对于运营商 网络31和运营商网络32,除了包括企业X这一租户外,还可以包括其他的个人及企业租户,在本申请实施例中不作限定。The carrier network 31 and the carrier network provide corresponding services for enterprise X to transmit traffic between the campus network 20 and VPC services. From the perspective of enterprise For the virtual router rt1-rt4. For operators In addition to the tenant Enterprise X, the network 31 and the operator network 32 may also include other individual and enterprise tenants, which are not limited in the embodiment of this application.
如图5所示,该场景中还可以包括:运营商网络31的运营商管理设备31”、运营商网络32的运营商管理设备32”以及云提供商网络40的云管理设备40,其中,运营商管理设备31”用于管控运营商网络31中的设备,还用于通过Web门户向企业X提供管理接口;同理,运营商管理设备32”用于管控运营商网络32中的设备,还用于通过Web门户向企业X提供管理接口;云管理设备40用于管控云提供商网络40中的设备(如服务器42),还用于通过Web门户向企业X提供管理接口。该场景中还可以包括业务管理设备(或者称为业务编排器)20,一方面,该业务管理设备20用于管控自己的物理设备(如主机21、交换机22或CPE 23);另一方面,该业务管理设备20用于通过运营商管理设备提供的管理接口管理虚拟路由器rt1-rt4;再一方面,该业务管理设备20用于通过云管理设备40提供的管理接口管理VM、VSW、rt0和VGW。As shown in Figure 5, this scenario may also include: the operator management device 31" of the operator network 31, the operator management device 32" of the operator network 32, and the cloud management device 40 of the cloud provider network 40, where, The operator management device 31" is used to manage and control the equipment in the operator network 31, and is also used to provide a management interface to enterprise X through the Web portal; similarly, the operator management equipment 32" is used to manage and control the equipment in the operator network 32, It is also used to provide a management interface to Enterprise This scenario may also include a service management device (or service orchestrator) 20. On the one hand, the service management device 20 is used to manage and control its own physical devices (such as host 21, switch 22 or CPE 23); on the other hand, The service management device 20 is used to manage virtual routers rt1-rt4 through the management interface provided by the operator management device; on the other hand, the service management device 20 is used to manage VM, VSW, rt0 and rt0 through the management interface provided by the cloud management device 40. VGW.
作为一个示例,以指示信息通过IPv6地址承载为例,运营商网络31针对企业X配置3个IPv6地址,对应的传输服务信息可以包括:As an example, taking the instruction information to be carried through IPv6 addresses, the operator network 31 configures three IPv6 addresses for enterprise X. The corresponding transmission service information may include:
(租户=企业X,IPv6地址=SID1,传输服务类型<传输路径=开销最小的路径>)(Tenant=Enterprise
(租户=企业X,IPv6地址=SID2,传输服务类型<传输路径=时延最小的路径>)(Tenant = enterprise X, IPv6 address = SID2, transmission service type <transmission path = path with the smallest delay>)
(租户=企业X,IPv6地址=SID3,传输服务类型<传输路径=独享光纤波长或时隙的路径>)(Tenant = enterprise X, IPv6 address = SID3, transmission service type <transmission path = path with exclusive fiber wavelength or time slot>)
运营商网络31针对企业X的传输服务信息还包括带宽控制策略:The transmission service information of the operator network 31 for enterprise X also includes the bandwidth control policy:
(租户=企业X,IPv6地址=SID1,带宽控制策略<QoS-local-id qt1>)(Tenant = enterprise X, IPv6 address = SID1, bandwidth control policy <QoS-local-id qt1>)
(租户=企业X,IPv6地址=SID2,带宽控制策略<QoS-local-id qt2>)(Tenant = enterprise X, IPv6 address = SID2, bandwidth control policy <QoS-local-id qt2>)
(租户=企业X,IPv6地址=SID3,带宽控制策略<QoS-local-id qt3>)(Tenant = enterprise X, IPv6 address = SID3, bandwidth control policy <QoS-local-id qt3>)
同理,运营商网络32针对企业X配置2个IPv6地址,对应的传输服务信息可以为:Similarly, operator network 32 configures two IPv6 addresses for enterprise X, and the corresponding transmission service information can be:
(租户=企业X,IPv6地址=SID4,传输服务类型<传输路径=时延最小的路径>)(Tenant = enterprise X, IPv6 address = SID4, transmission service type <transmission path = path with the smallest delay>)
(租户=企业X,IPv6地址=SID5,传输服务类型<传输路径=链路抖动最小的路径>)(Tenant = enterprise X, IPv6 address = SID5, transmission service type <transmission path = path with the smallest link jitter>)
运营商网络32针对企业X的传输服务信息还包括带宽控制策略:The transmission service information of the operator network 32 for enterprise X also includes the bandwidth control policy:
(租户=企业X,IPv6地址=SID4,带宽控制策略<QoS-local-id qt4>)(Tenant = enterprise X, IPv6 address = SID4, bandwidth control policy <QoS-local-id qt4>)
(租户=企业X,IPv6地址=SID5,带宽控制策略<QoS-local-id qt5>)(Tenant = enterprise X, IPv6 address = SID5, bandwidth control policy <QoS-local-id qt5>)
其中,传输服务信息可以是运营商管理设备31”和运营商管理设备32”上静态配置的或从对应的运营商网络中的PE设备上获得的,那么,业务管理设备20可以从运营商管理设备31”和运营商管理设备32”获得传输服务信息,并将传输服务信息发送到园区网络10中的主机21和/或CPE 23,同理,业务管理设备20可以从运营商管理设备31”和运营商管理设备32”获得传输服务信息,并将传输服务信息发送到云提供商网络40中的VM和/或VGW;又或者,业务管理设备20可以从运营商管理设备31”和运营商管理设备32”获得传输服务信息,并将传输服务信息经过云提供商网络40的云管理设备40发送到VM和/或VGW。The transmission service information may be statically configured on the operator management device 31" and the operator management device 32" or obtained from the PE equipment in the corresponding operator network. Then, the service management device 20 may obtain the information from the operator management device 31" and the operator management device 32". The device 31" and the operator management device 32" obtain the transmission service information and send the transmission service information to the host 21 and/or CPE 23 in the campus network 10. Similarly, the service management device 20 can obtain the transmission service information from the operator management device 31" and the operator management device 32" obtain the transmission service information, and send the transmission service information to the VM and/or VGW in the cloud provider network 40; alternatively, the service management device 20 can obtain the transmission service information from the operator management device 31" and the operator The management device 32" obtains the transmission service information and sends the transmission service information to the VM and/or VGW through the cloud management device 40 of the cloud provider network 40.
针对特定业务,业务管理设备20或业务管理设备20经过云管理设备40向VM(或VGW)发送对应的传输服务信息,指示VM(或VGW)对该特定业务的报文封装该传输服务信息中的IPv6地址。或者,云管理设备40也可以向VM(或VGW)下发所有的传输服务信息,由VM(或VGW)根据业务的实际需求选择其中一个传输服务类型,并在报文中封装相应的IPv6地址。For a specific service, the service management device 20 or the service management device 20 sends the corresponding transmission service information to the VM (or VGW) through the cloud management device 40, instructing the VM (or VGW) to encapsulate the transmission service information in the packet of the specific service. IPv6 address. Alternatively, the cloud management device 40 can also deliver all transmission service information to the VM (or VGW), and the VM (or VGW) selects one of the transmission service types according to the actual needs of the business, and encapsulates the corresponding IPv6 address in the message. .
同理,业务管理设备20可以针对特定业务向主机21(或CPE 23)下发对应的传输服务信息,指示主机21(或CPE 23)对该特定业务的报文封装该传输服务信息中的IPv6地址。或者,业务管理设备20也可以向主机21(或CPE 23)下发所有的传输服务信息,由主机21(或CPE 23)根据业务的实际需求选择其中一个传输服务类型,并在报文中封装相应的IPv6地址。PE设备31或PE设备32接收到主机21发送的报文时,根据传输服务信息确定报文对应的传输服务类型和带宽控制策略,根据报文对应的带宽控制策略在传输服务类型对应的路径中转发报文。Similarly, the service management device 20 can deliver corresponding transmission service information to the host 21 (or CPE 23) for a specific service, and instruct the host 21 (or CPE 23) to encapsulate the IPv6 in the transmission service information for the message of the specific service. address. Alternatively, the service management device 20 can also deliver all transmission service information to the host 21 (or CPE 23), and the host 21 (or CPE 23) selects one of the transmission service types according to the actual needs of the business and encapsulates it in the message. The corresponding IPv6 address. When PE device 31 or PE device 32 receives the message sent by host 21, it determines the transmission service type and bandwidth control policy corresponding to the message according to the transmission service information, and determines the transmission service type and bandwidth control policy corresponding to the message in the path corresponding to the transmission service type according to the bandwidth control policy corresponding to the message. Forward the message.
由此,通过本申请实施例提供的方法,企业租户、云提供商均能够自主选择运营商网络提供的不同传输服务类型,并采用不同传输服务类型对应的带宽控制策略控制报文传输,实现了运营商对不同传输服务类型的流量的计费运营。Therefore, through the method provided by the embodiments of this application, enterprise tenants and cloud providers can independently select different transmission service types provided by the operator's network, and use bandwidth control policies corresponding to different transmission service types to control packet transmission, achieving Operators' billing operations for traffic of different transmission service types.
可选地,本申请实施例中不对选择传输服务类型的粒度进行限定,例如,可以针对不同的业务选择 不同的传输服务类型,也可以针对不同的流量选择不同的传输服务类型。Optionally, the granularity of selecting the transmission service type is not limited in the embodiments of this application. For example, the granularity of selecting the transmission service type can be selected for different services. Different transmission service types can also be selected for different traffic types.
可选地,本申请实施例中PE设备可以是交换机、路由器或防火墙等网络设备。CE设备可以是具有私网接入功能的设备,例如,可以是交换机、路由器、物联网(英文:Internet of Things,简称:IoT)终端、主机等设备。Optionally, the PE device in the embodiment of this application may be a network device such as a switch, router, or firewall. CE devices can be devices with private network access functions, such as switches, routers, Internet of Things (English: Internet of Things, abbreviated as: IoT) terminals, hosts and other devices.
可选地,本申请实施例中的传输服务信息可以是一组多个信息之间的对应关系,例如,PE设备上的传输服务信息可以是:租户的标识、接口、指示信息、传输服务类型、路径、带宽控制策略之间的对应关系。另一种情况下,传输服务信息也可以包括多组部分信息之间的对应关系,例如,PE设备上的传输服务信息包括:指示信息和传输服务类型的对应关系1,指示信息和路径的对应关系2,租户的标识和接口的对应关系3,租户的标识和指示信息的对应关系4,以及传输服务类型和带宽控制策略的对应关系4。其中,租户的标识用于唯一标识租户,例如可以是租户的VPN标识或租户对应的VNI。需要说明的是,本申请实施例中不对传输服务信息的具体体现形式进行限定,只要能够确保运营商网络为租户提供所需的服务即可。Optionally, the transmission service information in the embodiment of this application can be a set of correspondences between multiple pieces of information. For example, the transmission service information on the PE device can be: the tenant's identity, interface, indication information, and transmission service type. , the correspondence between paths and bandwidth control strategies. In another case, the transmission service information may also include the correspondence between multiple sets of partial information. For example, the transmission service information on the PE device includes: the correspondence 1 between the indication information and the transmission service type, and the correspondence between the indication information and the path. Relationship 2, correspondence relationship 3 between tenant identification and interface, correspondence relationship 4 between tenant identification and indication information, and correspondence relationship 4 between transmission service type and bandwidth control policy. The tenant's identifier is used to uniquely identify the tenant, for example, it may be the tenant's VPN identifier or the tenant's corresponding VNI. It should be noted that the specific embodiment of the transmission service information is not limited in the embodiments of this application, as long as it can ensure that the operator network provides the required services for tenants.
上述以图1和图5所示的场景为例,分别介绍了本申请实施例的技术方案在不同场景下的应用,仅是本申请实施例提供的几个场景示例,其并不构成对本申请实施例的限定。The above takes the scenarios shown in Figure 1 and Figure 5 as examples to respectively introduce the application of the technical solutions of the embodiments of the present application in different scenarios. They are only several scenario examples provided by the embodiments of the present application, and they do not constitute a review of the present application. Limitations of Examples.
以下结合附图介绍本申请实施例提供的数据传输方法。The data transmission method provided by the embodiment of the present application is introduced below with reference to the accompanying drawings.
图6为本申请实施例提供的一种数据传输方法的流程示意图。该方法以第一租户的第一用户侧设备和第一PE设备之间的交互进行描述,例如,该方法中的第一用户侧设备是图1中的用户侧设备11,第一PE设备可以是图1中的PE设备1;又例如,该方法中的第一用户侧设备是图5中的主机21或CPE 23,第一PE设备可以是图5中的PE设备31或PE设备32(对于企业X来说对应rt3或rt4);再例如,该方法中的第一用户侧设备是图5中的VM或VGW,第一PE设备可以是图5中的PE设备31’或PE设备32’(对于企业X来说对应rt1或rt2)。参见图6,该方法可以包括步骤601~步骤604:Figure 6 is a schematic flowchart of a data transmission method provided by an embodiment of the present application. This method is described with the interaction between the first user-side device of the first tenant and the first PE device. For example, the first user-side device in this method is the user-side device 11 in Figure 1, and the first PE device can is PE equipment 1 in Figure 1; for another example, the first user-side equipment in this method is the host 21 or CPE 23 in Figure 5, and the first PE equipment can be the PE equipment 31 or PE equipment 32 in Figure 5 ( Corresponding to rt3 or rt4 for enterprise '(Corresponding to rt1 or rt2 for enterprise X). Referring to Figure 6, the method may include steps 601 to 604:
步骤601、第一租户的第一用户侧设备获取第一SRv6报文,该第一SRv6报文包括第一指示信息,第一指示信息用于指示第一租户对运营商网络的第一传输服务类型。Step 601: The first user-side device of the first tenant obtains a first SRv6 message. The first SRv6 message includes first indication information. The first indication information is used to indicate the first transmission service of the first tenant to the operator network. type.
第一SRv6报文可以是第一租户的业务报文进行SRv6封装后的报文,也可以是由第一租户的主机产生(英文:originating)的报文。对第一租户的业务报文进行SRv6封装的设备,可以是与第一租户的主机连接的交换机、路由器等网络设备。第一SRv6报文中的第一指示信息,是第一租户根据业务报文的QoS需求所确定的用于指示运营商网络的第一带宽控制策略的指示信息,将该第一指示信息携带在第一SRv6报文中,能够使得接收到该第一SRv6报文的第一PE设备根据第一指示信息确定第一带宽控制策略,从而实现运营商对不同传输服务类型的流量进行带宽控制。The first SRv6 message may be an SRv6-encapsulated message of the first tenant's service message, or may be a message generated (English: originating) by the first tenant's host. The device that encapsulates the first tenant's service packets with SRv6 may be a network device such as a switch or router connected to the first tenant's host. The first indication information in the first SRv6 message is the indication information determined by the first tenant according to the QoS requirements of the service packet to indicate the first bandwidth control policy of the operator network. The first indication information is carried in In the first SRv6 message, the first PE device that receives the first SRv6 message can determine the first bandwidth control policy according to the first indication information, thereby enabling the operator to perform bandwidth control on traffic of different transmission service types.
第一SRv6报文所要到达的第一租户的目的主机或连接目的主机的CE设备或CPE,可以记作第二用户侧设备,第二用户侧设备通过第二PE设备接入到运营商网络,第二PE设备为第一SRv6报文在运营商网络中的出节点,第一PE设备和第二PE设备属于运营商网络。第一SRv6报文中可以包括第二用户侧设备的地址,指示第一SRv6报文经过或到达第二用户侧设备。The destination host of the first tenant or the CE device or CPE connected to the destination host that the first SRv6 packet reaches can be recorded as the second user-side device. The second user-side device is connected to the operator network through the second PE device. The second PE device is the egress node of the first SRv6 message in the operator's network, and the first PE device and the second PE device belong to the operator's network. The first SRv6 message may include the address of the second user-side device, indicating that the first SRv6 message passes through or reaches the second user-side device.
第一传输服务类型,用于指示第一租户对于运营商网络处理第一SRv6报文所要提供的传输服务。运营商网络中,通过在PE设备之间设置不同的路径类型的路径,满足各个租户的不同传输服务需求,第一PE设备对各租户的SRv6报文进行转发时,使用的路径类型以及具体的路径,影响该运营商网络为租户的SRv6报文提供的服务。其中,运营商网络的PE设备之间的路径可以包括但不限于:基于MPLS进行转发的LSP、IPv6隧道、SRv6隧道或物理链路。对于物理链路的承载技术可以包括:基于单独的物理链路所对应的链路层封装、基于一个单独的光纤物理链路的第一波长或时隙等所对应的链路层封装。第一传输服务类型可以是不限于是路径开销大的传输服务、低时延的传输服务、大带宽的传输服务、低链路抖动的传输服务、误码少的传输服务、待分配的光纤波长或时隙的传输服务。满足第一传输服务类型的第一路径例如可以是基于MPLS进行转发的LSP 1,对应到图1所示的场景,LSP 1可以是PE设备1经过PE设备3到达PE设备2的路径。The first transmission service type is used to indicate the transmission service to be provided by the first tenant for the operator's network to process the first SRv6 message. In the operator's network, different path types are set up between PE devices to meet the different transmission service needs of each tenant. When the first PE device forwards the SRv6 packets of each tenant, the path type and specific path used are used. The path affects the services provided by the operator's network for tenants' SRv6 packets. The paths between PE devices in the operator network may include but are not limited to: LSPs, IPv6 tunnels, SRv6 tunnels or physical links for forwarding based on MPLS. Bearing technologies for physical links may include: link layer encapsulation based on a single physical link, link layer encapsulation based on the first wavelength or time slot of a single optical fiber physical link. The first transmission service type may be, but is not limited to, transmission services with large path overhead, low-latency transmission services, large-bandwidth transmission services, low-link jitter transmission services, transmission services with few bit errors, and optical fiber wavelengths to be allocated. or time slot transmission service. The first path that satisfies the first transmission service type may be, for example, LSP 1 for forwarding based on MPLS. Corresponding to the scenario shown in Figure 1, LSP 1 may be the path from PE device 1 to PE device 2 via PE device 3.
第一指示信息可以是任何能够在第一SRv6报文中携带且被第一PE设备感知并识别出的信息。The first indication information may be any information that can be carried in the first SRv6 message and sensed and recognized by the first PE device.
作为一个示例,第一指示信息可以是第一PE设备为第一租户分配的专属IPv6地址集合中的第一IPv6地址,该第一IPv6地址用于承载第一指示信息。其中,IPv6地址集合,可以是第一PE设备为第一租户分配的一个IPv6网段,例如2001:db8:A1::/48,IPv6地址集合可以包括多个IPv6地址,该多个 IPv6地址中每个IPv6地址可以对应第一租户的一个传输服务类型,例如,2001:db8:A1::1对应的传输服务类型为开销最小的路径,2001:db8:A1::2对应的传输服务类型为时延最小的路径。一种情况下,第一IPv6地址可以作为一个整体承载该第一指示信息,例如,2001:db8:A1::1为该第一指示信息。另一种情况下,第一IPv6地址中的部分字段(如Function字段或Argument字段)用于承载该第一指示信息,例如,2001:db8:A1::1中,Function字段的值“1”为该第一指示信息。该示例中,第一SRv6报文中外层目的IP地址字段的值为该第一IPv6地址,当第一PE设备接收到该第一SRv6报文后,通过解析第一SRv6报文从其外层目的IP地址字段中获得该第一IPv6地址,从而根据该第一IPv6地址或第一IPv6地址中用于承载第一指示信息的字段的值确定第一传输服务类型。在另外的示例中,第一指示信息除了设置于第一SRv6报文的外层目的IP地址字段,还可以设置在第一SRv6报文的IPv6扩展头中。As an example, the first indication information may be the first IPv6 address in the exclusive IPv6 address set allocated by the first PE device to the first tenant, and the first IPv6 address is used to carry the first indication information. The IPv6 address set may be an IPv6 network segment allocated by the first PE device to the first tenant, such as 2001:db8:A1::/48. The IPv6 address set may include multiple IPv6 addresses. Each IPv6 address in the IPv6 address can correspond to a transmission service type of the first tenant. For example, the transmission service type corresponding to 2001:db8:A1::1 is the path with the minimum cost, and the transmission service type corresponding to 2001:db8:A1::2 The service type is the path with the smallest delay. In one case, the first IPv6 address as a whole may carry the first indication information. For example, 2001:db8:A1::1 is the first indication information. In another case, some fields in the first IPv6 address (such as the Function field or the Argument field) are used to carry the first indication information. For example, in 2001:db8:A1::1, the value of the Function field is "1" This is the first instruction information. In this example, the value of the outer destination IP address field in the first SRv6 message is the first IPv6 address. After receiving the first SRv6 message, the first PE device parses the first SRv6 message and obtains the value from its outer layer. The first IPv6 address is obtained from the destination IP address field, so that the first transmission service type is determined according to the value of the first IPv6 address or the field used to carry the first indication information in the first IPv6 address. In another example, in addition to being set in the outer destination IP address field of the first SRv6 message, the first indication information may also be set in the IPv6 extension header of the first SRv6 message.
可选地,在步骤601之前,第一PE设备和第一用户侧设备上均需要获得传输服务信息,该传输服务信息包括指示信息和传输服务类型的关联关系。指示信息和传输服务类型的关联关系,可以包括但不限于第一指示信息和第一传输服务类型的关联关系。以第一指示信息和第一传输服务类型的关联关系为例,作为一个示例,可以在第一PE设备上配置第一指示信息和第一传输服务类型的关联关系,第一PE设备不仅本地保存该第一指示信息和第一传输服务类型的关联关系,还可以通过离线或协议报文的形式将该第一指示信息和第一传输服务类型的关联关系直接或间接发送给第一用户侧设备。作为另一个示例,也可以在运营商管理设备上配置第一指示信息和第一传输服务类型的关联关系,那么,运营商管理设备可以将第一指示信息和第一传输服务类型的关联关系发送给第一PE设备,还可以将第一指示信息和第一传输服务类型的关联关系通过业务管理设备发送给第一用户侧设备。Optionally, before step 601, both the first PE device and the first user-side device need to obtain transmission service information, where the transmission service information includes an association relationship between the indication information and the transmission service type. The association between the indication information and the transmission service type may include, but is not limited to, the association between the first indication information and the first transmission service type. Taking the association between the first indication information and the first transmission service type as an example, the association between the first indication information and the first transmission service type can be configured on the first PE device, and the first PE device not only saves it locally The association between the first indication information and the first transmission service type can also be sent directly or indirectly to the first user-side device in the form of an offline or protocol message. . As another example, the association between the first indication information and the first transmission service type can also be configured on the operator management device. Then, the operator management device can send the association between the first indication information and the first transmission service type. To the first PE device, the association relationship between the first indication information and the first transmission service type may also be sent to the first user-side device through the service management device.
在本申请实施例中不对第一PE设备本地保存的传输服务信息的具体形式作限定,只要第一PE设备基于本地保存的传输服务信息和第一SRv6报文中的第一指示信息,能够确定满足第一指示信息对应的第一传输服务类型的第一路径,从而基于第一路径为第一租户提供服务即可。In the embodiment of this application, the specific form of the transmission service information stored locally by the first PE device is not limited, as long as the first PE device can determine based on the transmission service information stored locally and the first indication information in the first SRv6 message. It is sufficient to satisfy the first path of the first transmission service type corresponding to the first indication information, thereby providing services to the first tenant based on the first path.
步骤602、第一用户侧设备向第一PE设备发送第一SRv6报文。Step 602: The first user-side device sends the first SRv6 message to the first PE device.
步骤603、第一PE设备接收属于第一租户的第一用户侧设备发送的第一SRv6报文。Step 603: The first PE device receives the first SRv6 message sent by the first user-side device belonging to the first tenant.
第一PE设备还可以保存各个接口和指示信息的匹配关系,当第一PE设备接收到SRv6报文后,可以确定接收该SRv6报文的接口,从而判断该接口和该SRv6报文中的指示信息是否满足匹配关系,如果满足,认为需要对该SRv6报文进行处理,从而对该SRv6报文执行下述步骤604;否则,认为该SRv6报文不符合继续处理的条件,从而丢弃该SRv6报文,不执行下述步骤604。The first PE device can also save the matching relationship between each interface and the indication information. After receiving the SRv6 message, the first PE device can determine the interface that received the SRv6 message, thereby determining the interface and the indication in the SRv6 message. Whether the information satisfies the matching relationship. If so, it is considered that the SRv6 message needs to be processed, and the following step 604 is performed on the SRv6 message; otherwise, the SRv6 message is deemed not to meet the conditions for continued processing, and the SRv6 message is discarded. text, the following step 604 is not performed.
步骤604、第一PE设备对第一SRv6报文进行处理,得到第二SRv6报文。Step 604: The first PE device processes the first SRv6 message and obtains the second SRv6 message.
第一PE设备将SL字段的值减一,并根据SL字段指示的SID list中SID更新该IPv6头中外层目的IP地址字段的值。The first PE device decrements the value of the SL field by one, and updates the value of the outer destination IP address field in the IPv6 header according to the SID in the SID list indicated by the SL field.
步骤605、第一PE设备根据第一指示信息,基于第一带宽控制策略,选择第一传输服务类型对应的第一路径转发第二SRv6报文。Step 605: The first PE device selects the first path corresponding to the first transmission service type and forwards the second SRv6 message based on the first indication information and the first bandwidth control policy.
一方面,第一PE设备可以将第一SRv6报文的SRH中SL字段的值减一,使得SL字段指示的SID list中第一PE设备的下一跳的SID;而且,第一PE设备将第一SRv6报文中,IPv6头中的外层目的IP地址字段的值进行更新,具体可以根据SRH中SL指示的SID list中SID更新该IPv6头中外层目的IP地址字段的值。另一方面,第一PE设备可以基于第一指示信息,选择满足第一传输服务类型的第一路径,从而根据第一路径对第一SRv6报文进行对应的封装,例如,第一路径为基于MPLS进行转发的LSP,则,根据第一路径对第一SRv6报文封装,可以是在第一SRv6报文的基础上封装第一路径对应的MPLS标签栈;又例如,第一路径为SRv6隧道,则,根据第一路径对第一SRv6报文封装,可以是在第一SRv6报文的基础上再进行SRv6封装;又例如,第一路径为IPv6隧道,则,根据第一路径对第一SRv6报文封装,可以是在第一SRv6报文的基础上封装第一路径对应的IPv6头。On the one hand, the first PE device can decrement the value of the SL field in the SRH of the first SRv6 message by one, so that the SID of the next hop of the first PE device is in the SID list indicated by the SL field; and, the first PE device will In the first SRv6 message, the value of the outer destination IP address field in the IPv6 header is updated. Specifically, the value of the outer destination IP address field in the IPv6 header can be updated according to the SID in the SID list indicated by SL in the SRH. On the other hand, the first PE device may select a first path that satisfies the first transmission service type based on the first indication information, so as to correspondingly encapsulate the first SRv6 message according to the first path. For example, the first path is based on For LSPs forwarded by MPLS, the first SRv6 packet is encapsulated according to the first path, which may be based on the first SRv6 packet. The MPLS label stack corresponding to the first path is encapsulated; for another example, the first path is an SRv6 tunnel. , then, encapsulating the first SRv6 message according to the first path may be based on the first SRv6 message and then performing SRv6 encapsulation; for another example, the first path is an IPv6 tunnel, then encapsulating the first SRv6 message according to the first path The SRv6 message encapsulation may include encapsulating the IPv6 header corresponding to the first path based on the first SRv6 message.
其中,第一路径的入节点为第一PE设备,第一路径的出节点为第二PE设备,第一SRv6报文的目的主机通过第二PE设备接入运营商网络。The ingress node of the first path is the first PE device, the egress node of the first path is the second PE device, and the destination host of the first SRv6 message accesses the operator network through the second PE device.
作为一个示例,第一PE设备上保存的是第一指示信息、第一传输服务类型和第一带宽控制策略的关联关系。步骤605可以包括:第一PE设备从第一SRv6报文中获得第一指示信息,从本地保存的关联关系中,查找与该第一SRv6报文中的第一指示信息对应的第一传输服务类型,并在运营商网络中确定从第一PE设备出发且满足该第一传输服务类型的第一路径。然后,第一PE设备从本地保存的关联 关系中,查找与该第一SRv6报文中的第一指示信息对应的第一带宽控制策略。第一PE设备再基于第一带宽控制策略,按照第一路径将第一SRv6报文转发到第二PE设备。As an example, the first PE device stores an association relationship between the first indication information, the first transmission service type and the first bandwidth control policy. Step 605 may include: the first PE device obtains the first indication information from the first SRv6 message, and searches for the first transmission service corresponding to the first indication information in the first SRv6 message from the locally saved association relationship. type, and determine the first path starting from the first PE device and meeting the first transmission service type in the operator network. Then, the first PE device saves the association from the local In the relationship, search for the first bandwidth control policy corresponding to the first indication information in the first SRv6 message. The first PE device then forwards the first SRv6 packet to the second PE device according to the first path based on the first bandwidth control policy.
在一种可能的实现方式中,第一PE设备利用访问控制列表存储带宽控制策略。步骤605可以包括:第一PE设备接收到第一SRv6报文,第一PE设备从第一SRv6报文的目的IP字段中获得第一指示信息,从本地保存的关联关系中,查找与该第一SRv6报文中的第一指示信息对应的第一传输服务类型,并在运营商网络中确定从第一PE设备出发且满足该第一传输服务类型的第一路径。然后,第一PE设备利用访问控制列表匹配到第一指示信息对应的第一带宽控制策略,并根据第一带宽控制策略的流量行为,按照第一路径将第一SRv6报文转发到第二PE设备。In a possible implementation manner, the first PE device uses the access control list to store the bandwidth control policy. Step 605 may include: the first PE device receives the first SRv6 message, the first PE device obtains the first indication information from the destination IP field of the first SRv6 message, and searches for the first indication information from the locally saved association relationship. A first transmission service type corresponding to the first indication information in an SRv6 message, and a first path starting from the first PE device and meeting the first transmission service type is determined in the operator network. Then, the first PE device uses the access control list to match the first bandwidth control policy corresponding to the first indication information, and forwards the first SRv6 message to the second PE along the first path according to the traffic behavior of the first bandwidth control policy. equipment.
上述实现方式需要第一PE设备具有ACL资源,若第一PE设备具有的ACL资源的规格较大,则上述实现方式中第一PE设备中存储的能够支持带宽控制策略的选择功能的指示信息较多。The above implementation requires the first PE device to have ACL resources. If the ACL resource specifications of the first PE device are larger, the indication information that can support the selection function of the bandwidth control policy stored in the first PE device in the above implementation is relatively large. many.
在另一种可能的实现方式中,第一PE设备利用SID list、路由信息库表或转发信息库表存储带宽控制策略。步骤605可以包括:第一PE设备接收到第一SRv6报文,第一PE设备从第一SRv6报文的目的IP字段中获得第一指示信息,从本地保存的关联关系中,查找与该第一SRv6报文中的第一指示信息对应的第一传输服务类型,并在运营商网络中确定从第一PE设备出发且满足该第一传输服务类型的第一路径。然后,然后,第一PE设备利用SID list、路由信息库表或转发信息库表匹配到第一指示信息对应的第一带宽控制策略,并根据第一带宽控制策略的流量行为,按照第一路径将第一SRv6报文转发到第二PE设备。In another possible implementation, the first PE device uses a SID list, a routing information database table, or a forwarding information database table to store the bandwidth control policy. Step 605 may include: the first PE device receives the first SRv6 message, the first PE device obtains the first indication information from the destination IP field of the first SRv6 message, and searches for the first indication information from the locally saved association relationship. A first transmission service type corresponding to the first indication information in an SRv6 message, and a first path starting from the first PE device and meeting the first transmission service type is determined in the operator network. Then, the first PE device uses the SID list, routing information database table or forwarding information database table to match the first bandwidth control policy corresponding to the first indication information, and according to the traffic behavior of the first bandwidth control policy, follow the first path Forward the first SRv6 packet to the second PE device.
上述实现方式需要第一PE设备具有SID list或FIB资源,若第一PE设备具有的SID list或FIB资源的规格较大,则上述实现方式中第一PE设备中存储的能够支持带宽控制策略的选择功能的指示信息较多。The above implementation requires that the first PE device has a SID list or FIB resource. If the SID list or FIB resource of the first PE device has a larger specification, then the first PE device in the above implementation can support the bandwidth control policy. There are more instructions for selecting functions.
由此,本申请实施例提供的方法可以将访问控制列表、SID list、路由信息库表或转发信息库表作为用于存储指示信息和带宽控制策略的关联关系的关联关系表,能够根据PE设备具有的ACL资源、SID list资源或FIB资源的大小,灵活选择使用访问控制列表、SID list、路由信息库表或转发信息库表来存储与指示信息对应的带宽控制策略,以及指示信息与带宽控制策略的关联关系。Therefore, the method provided by the embodiment of the present application can use the access control list, SID list, routing information database table or forwarding information database table as the association table for storing the association between the indication information and the bandwidth control policy, and can be based on the PE equipment. With the size of ACL resources, SID list resources or FIB resources, you can flexibly choose to use access control lists, SID lists, routing information base tables or forwarding information base tables to store bandwidth control policies corresponding to indication information, as well as indication information and bandwidth control. Strategy relationships.
针对步骤605,第一PE设备基于第一带宽控制策略转发第二SRv6报文,可以是第一PE设备确定第一SRv6报文的有效长度,若第一SRv6报文的有效长度符合第一带宽控制策略,向下一跳设备发送第一SRv6报文,若第一SRv6报文的有效长度不符合第一带宽控制策略,丢弃第一SRv6报文。For step 605, the first PE device forwards the second SRv6 message based on the first bandwidth control policy. The first PE device may determine the effective length of the first SRv6 message. If the effective length of the first SRv6 message meets the first bandwidth Control policy: Send the first SRv6 message to the next-hop device. If the effective length of the first SRv6 message does not comply with the first bandwidth control policy, discard the first SRv6 message.
第一种确定第一SRv6报文的有效长度的方式,第一SRv6报文的有效长度为包含分段路由头的报文长度。例如,第一SRv6报文的长度为1500字节,按照带宽控制策略qt1中CIR=5000kbps、QIR=6000kbps,第一SRv6报文的传输速率为分别为416数据包每秒(英文:Packets per Second,简称:pps)和500pps。The first method is to determine the effective length of the first SRv6 message. The effective length of the first SRv6 message is the length of the message including the segment routing header. For example, the length of the first SRv6 message is 1500 bytes. According to the bandwidth control policy qt1 in which CIR=5000kbps and QIR=6000kbps, the transmission rate of the first SRv6 message is 416 packets per second (English: Packets per Second). , abbreviation: pps) and 500pps.
第二种确定第一SRv6报文的有效长度的方式,第一SRv6报文的有效长度为剥离分段路由头的报文长度。例如,第一SRv6报文的长度为1500字节,剥离24字节的分段路由头后的报文长度为1476字节,按照带宽控制策略qt1中CIR=5000kbps、QIR=6000kbps,第一SRv6报文的传输速率为分别为423pps和508pps。The second method is to determine the effective length of the first SRv6 message. The effective length of the first SRv6 message is the length of the message with the segment routing header stripped off. For example, the length of the first SRv6 message is 1500 bytes, and the length of the message after stripping off the 24-byte segment routing header is 1476 bytes. According to the bandwidth control policy qt1, CIR=5000kbps, QIR=6000kbps, the first SRv6 The transmission rates of the messages are 423pps and 508pps respectively.
可选地,在指示信息为SID的实现方式中,本实施例中的SRv6SID可以符合Delete On Demand风格和Only One Segment Left风格。Delete On Demand风格是指PE设备对于收到的SRv6报文的外层目的IP地址为SRv6SID、下一个SID为SID list中的最后一个SID(SL字段的值为1)的情况,PE设备会将报文的外层目的IP地址更新为SID list中的最后一个SID,并将剥离分段路由头。Only One Segment Left风格是指PE设备只对SL字段的值等于1的SRv6报文进行处理,丢弃SL字段的值大于1的SRv6报文。Optionally, in an implementation where the indication information is a SID, the SRv6 SID in this embodiment can conform to the Delete On Demand style and the Only One Segment Left style. Delete On Demand style means that when the PE device receives an SRv6 message whose outer destination IP address is SRv6SID and the next SID is the last SID in the SID list (the value of the SL field is 1), the PE device will The outer destination IP address of the message is updated to the last SID in the SID list, and the segment routing header will be stripped off. The Only One Segment Left style means that the PE device only processes SRv6 packets with an SL field value equal to 1 and discards SRv6 packets with an SL field value greater than 1.
若本实施例中的SRv6SID是Only One Segment Left风格,可以限制租户的第一SRv6报文除了携带用于指示第一SRv6报文的带宽控制策略的SID外只额外携带一个代表租户发送报文的目的设备的SID,从而避免租户发送SL字段的值大于1的报文到第一PE设备上导致无法执行Delete On Demand风格对应的操作,同时减少用户的报文传输开销,避免占用较多的租户带宽限额,保证了租户的实际可用带宽。If the SRv6 SID in this embodiment is the Only One Segment Left style, the tenant's first SRv6 message can be restricted to carry only an additional SID used to indicate the bandwidth control policy of the first SRv6 message to send messages on behalf of the tenant. The SID of the destination device, thereby preventing the tenant from sending packets with an SL field value greater than 1 to the first PE device, resulting in the inability to perform operations corresponding to the Delete On Demand style, and at the same time reducing the user's packet transmission overhead and avoiding occupying more tenants. Bandwidth limit ensures the actual available bandwidth of tenants.
上述实施例中第一PE设备对第一租户的第一SRv6报文进行处理只是本申请实施例提供的一种 示例,在另外的实现方式中第一PE设备还可以对其他租户的报文进行处理。例如,第一PE设备获取SRv6报文,SRv6报文包含的第二指示信息用于指示第二租户的第二传输服务类型,则第一PE设备基于与第二指示信息关联的第二带宽控制策略处理第二SRv6报文。其中,第二租户与第一租户可以为同一租户或不同租户,第二传输服务类型可以为同一传输服务类型或不同传输服务类型,第二带宽控制策略与第一带宽控制策略为不同带宽控制策略或相同带宽控制策略,从而能够灵活地为不同租户的不同传输服务进行计费运营。In the above embodiment, the first PE device processes the first SRv6 message of the first tenant. This is only one method provided by the embodiment of this application. For example, in another implementation manner, the first PE device can also process packets of other tenants. For example, the first PE device obtains the SRv6 message, and the second indication information contained in the SRv6 message is used to indicate the second transmission service type of the second tenant, then the first PE device controls the bandwidth based on the second bandwidth associated with the second indication information. The policy processes the second SRv6 packet. The second tenant and the first tenant may be the same tenant or different tenants, the second transmission service type may be the same transmission service type or different transmission service types, and the second bandwidth control policy and the first bandwidth control policy may be different bandwidth control policies. Or the same bandwidth control policy, so that billing operations can be flexibly performed for different transmission services of different tenants.
此外,本申请实施例还提供了一种数据传输装置700,参见图7所示。图7为本申请实施例提供的一种数据传输装置700的结构示意图。该数据传输装置700应用于属于第一租户的第一用户侧设备,该装置700可以包括:获取模块701和转发模块702。该装置700可以用于执行以上实施例中的方法,例如步骤601~步骤605。In addition, this embodiment of the present application also provides a data transmission device 700, as shown in Figure 7. FIG. 7 is a schematic structural diagram of a data transmission device 700 provided by an embodiment of the present application. The data transmission device 700 is applied to the first user-side device belonging to the first tenant. The device 700 may include: an acquisition module 701 and a forwarding module 702. The device 700 can be used to perform the methods in the above embodiments, such as steps 601 to 605.
获取模块701,用于获取第一SRv6报文,第一SRv6报文包括第一指示信息,第一指示信息指示第一租户对运营商网络的第一传输服务类型。The acquisition module 701 is configured to acquire a first SRv6 message, where the first SRv6 message includes first indication information, and the first indication information indicates a first transmission service type of the first tenant to the operator network.
转发模块702,用于基于与第一指示信息相关联的第一带宽控制策略处理第一SRv6报文。The forwarding module 702 is configured to process the first SRv6 message based on the first bandwidth control policy associated with the first indication information.
在一种实现方式中,第一SRv6报文的目的地址为第一指示信息。In an implementation manner, the destination address of the first SRv6 message is the first indication information.
在一种实现方式中,第一指示信息设置于IPv6扩展头中。In an implementation manner, the first indication information is set in an IPv6 extension header.
在一种实现方式中,第一指示信息为第一SRv6SID,第一SRv6SID为第一SRv6报文的目的地址,第一SRv6SID为第一PE设备按照每租户每服务的方式为第一租户分配的SID。In one implementation, the first indication information is the first SRv6SID, the first SRv6SID is the destination address of the first SRv6 message, and the first SRv6SID is assigned by the first PE device to the first tenant in a per-tenant-per-service manner. SID.
在一种实现方式中,转发模块702在获取第一SRv6报文之前,还用于:根据第一指示信息和第一带宽控制策略的关联关系,确定第一带宽控制策略In one implementation, before acquiring the first SRv6 message, the forwarding module 702 is also configured to: determine the first bandwidth control policy based on the association between the first indication information and the first bandwidth control policy.
在一种实现方式中,关联关系包括第一指示信息与第一传输服务类型的对应关系,以及第一传输服务类型与第一带宽控制策略的对应关系。In one implementation, the association includes a correspondence between the first indication information and the first transmission service type, and a correspondence between the first transmission service type and the first bandwidth control policy.
在一种实现方式中,关联关系表包括第一PE设备的访问控制列表、本地SID表、路由信息库表或转发信息库表。In an implementation manner, the association relationship table includes an access control list, a local SID table, a routing information database table or a forwarding information database table of the first PE device.
在一种实现方式中,转发模块702在基于第一带宽控制策略转发第一SRv6报文之前,还用于:根据第一指示信息在关联关系表中查询第一带宽控制策略。In one implementation, before forwarding the first SRv6 message based on the first bandwidth control policy, the forwarding module 702 is also configured to query the first bandwidth control policy in the association table according to the first indication information.
在一种实现方式中,第一带宽控制策略包括承诺访问速率,承诺访问速率包括承诺速率和/或峰值速率文。In an implementation manner, the first bandwidth control policy includes a committed access rate, and the committed access rate includes a committed rate and/or a peak rate profile.
在一种实现方式中,第一带宽控制是基于所述第一SRv6报文的载荷的长度进行的。In an implementation manner, the first bandwidth control is performed based on the length of the payload of the first SRv6 message.
在一种实现方式中,转发模块702具体用于:根据第一指示信息确定第一传输服务类型对应的第一传输路径;基于第一带宽控制策略和第一传输路径转发第一SRv6报文,第一传输路径的入节点为第一PE设备,第一传输路径的出节点为第二PE设备,第二第一SRv6报文的目的节点通过第二PE设备接入运营商网络。In one implementation, the forwarding module 702 is specifically configured to: determine the first transmission path corresponding to the first transmission service type according to the first indication information; forward the first SRv6 message based on the first bandwidth control policy and the first transmission path, The ingress node of the first transmission path is the first PE device, the egress node of the first transmission path is the second PE device, and the destination node of the second first SRv6 message accesses the operator network through the second PE device.
在一种实现方式中,第一SRv6报文的段剩余的值大于1,转发模块702具体用于:丢弃第一SRv6报文。In an implementation manner, the remaining segment value of the first SRv6 message is greater than 1, and the forwarding module 702 is specifically configured to discard the first SRv6 message.
在一种实现方式中,第一SRv6报文的段剩余的值等于1,转发模块702具体用于:转发第一SRv6报文。In an implementation manner, the remaining value of the segment of the first SRv6 message is equal to 1, and the forwarding module 702 is specifically configured to: forward the first SRv6 message.
在一种实现方式中,获取模块701还用于:获取第二SRv6报文,第二SRv6报文包括第二指示信息,第二指示信息用于指示第二SRv6报文的传输服务类型的第二带宽控制策略;转发模块还用于:基于第二带宽控制策略转发第二SRv6报文。In one implementation, the obtaining module 701 is further configured to: obtain a second SRv6 message, the second SRv6 message includes second indication information, and the second indication information is used to indicate the third transmission service type of the second SRv6 message. Second bandwidth control policy; the forwarding module is also used to: forward the second SRv6 message based on the second bandwidth control policy.
例如,第二租户与第一租户为同一租户,第二传输服务类型与第一传输服务类型为不同传输服务类型,第二带宽控制策略与第一带宽控制策略为不同带宽控制策略。For example, the second tenant and the first tenant are the same tenant, the second transmission service type and the first transmission service type are different transmission service types, and the second bandwidth control policy and the first bandwidth control policy are different bandwidth control policies.
又如,第二指示信息为第二SRv6SID,第二SRv6SID为第二SRv6报文的目的地址,第二SRv6SID为第一PE设备按照每租户每服务的方式为第二租户分配的SID。For another example, the second indication information is the second SRv6SID, the second SRv6SID is the destination address of the second SRv6 message, and the second SRv6SID is the SID allocated by the first PE device to the second tenant in a per-tenant-per-service manner.
可选地,获取模块701还具体用于:根据第二指示信息和第二带宽控制策略的关联关系,确定第二带宽控制策略。Optionally, the acquisition module 701 is further specifically configured to determine the second bandwidth control policy according to the association between the second indication information and the second bandwidth control policy.
在一种实现方式中,第一PE设备存储有第二指示信息和第二带宽控制策略的关联关系。 In an implementation manner, the first PE device stores an association between the second indication information and the second bandwidth control policy.
本申请实施例提供的数据传输装置700的具体实现方式以及达到的效果可以参见上述图6以及相关说明,此处不再赘述。For the specific implementation manner and the achieved effects of the data transmission device 700 provided by the embodiment of the present application, please refer to the above-mentioned Figure 6 and related descriptions, and will not be described again here.
此外,本申请实施例还提供了一种网络设备800,参见图8所示,图8为本申请实施例提供的一种网络设备800的结构示意图。该网络设备800可以用于执行以上实施例中的数据传输方法。In addition, this embodiment of the present application also provides a network device 800, as shown in FIG. 8. FIG. 8 is a schematic structural diagram of a network device 800 provided by an embodiment of the present application. The network device 800 can be used to perform the data transmission method in the above embodiment.
如图8所示,网络设备800可以包括处理器810,与处理器810耦合连接的存储器820。处理器810可以是中央处理器(英文:central processing unit,缩写:CPU),网络处理器(英文:network processor,缩写:NP)或者CPU和NP的组合。处理器还可以是专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),可编程逻辑器件(英文:programmable logic device,缩写:PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,缩写:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),通用阵列逻辑(英文:generic array logic,缩写:GAL)或其任意组合。处理器810可以是指一个处理器,也可以包括多个处理器。存储器820可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);存储器820还可以包括上述种类的存储器的组合。存储器820可以是指一个存储器,也可以包括多个存储器。在一个实施方式中,存储器820中存储有计算机可读指令,计算机可读指令包括多个软件模块,例如第一处理模块821和第二处理模块822,可以分别对应于上述数据传输装置700中的获取模块701和转发模块702中的一个功能模块。处理器810执行各个软件模块后可以按照各个软件模块的指示进行相应的操作。在本实施例中,一个软件模块所执行的操作实际上是指处理器810根据软件模块的指示而执行的操作。例如,第一处理模块821执行的“获取第一SRv6报文”,实际上可以指处理器810根据该第一处理模块821的指示而执行的“获取第一SRv6报文”,此时,该第一处理模块821可以对应于数据传输装置700中的获取模块701。As shown in FIG. 8 , the network device 800 may include a processor 810 and a memory 820 coupled to the processor 810 . The processor 810 may be a central processing unit (English: central processing unit, abbreviation: CPU), a network processor (English: network processor, abbreviation: NP) or a combination of CPU and NP. The processor can also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), a field-programmable logic gate array (English: field-programmable gate array, abbreviation: FPGA), a general array logic (English: generic array logic, abbreviation: GAL) or any combination thereof. The processor 810 may refer to one processor or may include multiple processors. The memory 820 may include volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM); the memory may also include non-volatile memory (English: non-volatile memory) , such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid-state drive (English: solid-state drive , abbreviation: SSD); the memory 820 may also include a combination of the above types of memories. The memory 820 may refer to one memory or may include multiple memories. In one embodiment, computer readable instructions are stored in the memory 820. The computer readable instructions include a plurality of software modules, such as a first processing module 821 and a second processing module 822, which may respectively correspond to the above-mentioned data transmission device 700. A functional module in the acquisition module 701 and the forwarding module 702. After executing each software module, the processor 810 can perform corresponding operations according to the instructions of each software module. In this embodiment, the operations performed by a software module actually refer to operations performed by the processor 810 according to the instructions of the software module. For example, "obtaining the first SRv6 message" executed by the first processing module 821 may actually refer to "acquiring the first SRv6 message" executed by the processor 810 according to the instruction of the first processing module 821. At this time, the The first processing module 821 may correspond to the acquisition module 701 in the data transmission device 700.
在一个示例中,网络设备800可以执行以上实施例中如图6所示的数据传输方法,当网络设备800用于执行以上实施例中的数据传输方法时:处理器810用于执行数据传输方法中所有处理相关的操作。例如,处理器810用于对第一SRv6报文进行处理,得到第二SRv6报文,以及根据第一指示信息,基于第一带宽控制策略,选择第一传输服务类型对应的第一路径转发第二SRv6报文。In one example, the network device 800 can perform the data transmission method as shown in FIG. 6 in the above embodiment. When the network device 800 is used to perform the data transmission method in the above embodiment: the processor 810 is used to perform the data transmission method. All processing related operations. For example, the processor 810 is configured to process the first SRv6 message to obtain the second SRv6 message, and select the first path corresponding to the first transmission service type to forward the second SRv6 message based on the first indication information and the first bandwidth control policy. 2. SRv6 packets.
此外,本申请实施例还提供了一种数据传输***900,参见图9所示。图9为本申请实施例提供的一种数据传输***900的结构示意图。该数据传输***900可以包括第一PE设备901和第一用户侧设备902。In addition, this embodiment of the present application also provides a data transmission system 900, as shown in Figure 9. Figure 9 is a schematic structural diagram of a data transmission system 900 provided by an embodiment of the present application. The data transmission system 900 may include a first PE device 901 and a first user-side device 902.
其中,第一PE设备901,例如可以是图1中的PE设备1,也可以是图5中的PE设备31或PE设备32,用于执行第一PE设备所实施的操作。The first PE device 901 may be, for example, the PE device 1 in FIG. 1 , or the PE device 31 or the PE device 32 in FIG. 5 , and is used to perform operations performed by the first PE device.
第一用户侧设备902,例如可以是图1中的用户侧设备11,也可以是图5中的主机21或CPE 23,用于执行方法第一用户侧设备所实施的操作。The first user-side device 902, for example, can be the user-side device 11 in Figure 1, or can be the host 21 or CPE 23 in Figure 5, used to perform the operations performed by the first user-side device in the method.
该通信***900的具体实现方式以及达到的效果,可以参见上述数据传输方法的相关说明。For specific implementation methods and effects achieved by the communication system 900, please refer to the relevant description of the above data transmission method.
本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得所述计算机执行前述实施例中任一实施例所述的方法中任意一个或多个操作。The present application also provides a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When run on a computer, the computer is caused to execute the method described in any of the foregoing embodiments. any one or more operations.
本申请还提供了一种计算机程序产品,包括计算机程序,当其在计算机上运行时,使得所述计算机执行前述实施例中任一实施例所述的方法中任意一个或多个操作。This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to perform any one or more operations in the method described in any of the preceding embodiments.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects without necessarily using Used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑业务划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical service division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separate. A component shown as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各业务单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件业务单元的形式实现。In addition, each business unit in various embodiments of this application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above integrated units can be implemented in the form of hardware or software business units.
集成的单元如果以软件业务单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Integrated units may be stored in a computer-readable storage medium when implemented in the form of software business units and sold or used as independent products. Based on this understanding, the technical solution of the present application is essentially or contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的业务可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些业务存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that in one or more of the above examples, the services described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these services may be stored on or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
以上的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本申请的具体实施方式而已。The above specific implementations further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above are only specific implementations of the present application.
以上,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Above, the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still implement the above-mentioned implementations. The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions in the embodiments of the present application.

Claims (42)

  1. 一种数据传输方法,其特征在于,应用于第一运营商边缘PE设备,所述方法包括:A data transmission method, characterized in that it is applied to the first operator's edge PE equipment, and the method includes:
    获取第一基于第六版互联网协议的段路由SRv6报文,所述第一SRv6报文包括第一指示信息,所述第一指示信息指示第一租户对运营商网络的第一传输服务类型;Obtaining a first segment routing SRv6 message based on Internet Protocol version 6, where the first SRv6 message includes first indication information, and the first indication information indicates a first transmission service type of the first tenant to the operator network;
    基于与所述第一指示信息相关联的第一带宽控制策略处理所述第一SRv6报文。The first SRv6 message is processed based on a first bandwidth control policy associated with the first indication information.
  2. 根据权利要求1所述的方法,其特征在于,所述第一SRv6报文的目的地址承载所述第一指示信息。The method according to claim 1, characterized in that the destination address of the first SRv6 message carries the first indication information.
  3. 根据权利要求1所述的方法,其特征在于,所述第一指示信息设置于所述第一SRv6报文的IPv6扩展头中。The method according to claim 1, characterized in that the first indication information is set in an IPv6 extension header of the first SRv6 message.
  4. 根据权利要求1所述的方法,其特征在于,所述第一指示信息为第一SRv6 SID,所述第一SRv6SID为所述第一SRv6报文的目的地址,所述第一SRv6 SID为所述第一PE设备按照每租户每服务的方式为所述第一租户分配的SID。The method according to claim 1, characterized in that the first indication information is a first SRv6 SID, the first SRv6 SID is the destination address of the first SRv6 message, and the first SRv6 SID is the The SID allocated by the first PE device to the first tenant in a per-tenant-per-service manner.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,在获取所述第一SRv6报文之前,所述方法还包括:The method according to any one of claims 1-4, characterized in that, before obtaining the first SRv6 message, the method further includes:
    根据所述第一指示信息和所述第一带宽控制策略的关联关系,确定所述第一带宽控制策略。The first bandwidth control strategy is determined according to the association between the first indication information and the first bandwidth control strategy.
  6. 根据权利要求5所述的方法,其特征在于,所述关联关系包括所述第一指示信息与所述第一传输服务类型的对应关系,以及所述第一传输服务类型与所述第一带宽控制策略的对应关系。The method of claim 5, wherein the association includes a correspondence between the first indication information and the first transmission service type, and a correspondence between the first transmission service type and the first bandwidth. Correspondence between control strategies.
  7. 根据权利要5或6所述的方法,其特征在于,所述第一PE设备存储有所述第一指示信息和所述第一带宽控制策略的关联关系。The method according to claim 5 or 6, characterized in that the first PE device stores an association between the first indication information and the first bandwidth control policy.
  8. 根据权利要求7所述的方法,其特征在于,所述关联关系存储在所述第一PE设备的访问控制列表、本地段标识SID表、路由信息库表或转发信息库表中。The method according to claim 7, characterized in that the association relationship is stored in an access control list, a local segment identification SID table, a routing information database table or a forwarding information database table of the first PE device.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述基于与所述第一指示信息相关联的第一带宽控制策略处理所述第一SRv6报文,包括:The method according to any one of claims 1-8, wherein processing the first SRv6 message based on the first bandwidth control policy associated with the first indication information includes:
    根据所述第一指示信息查询所述第一带宽控制策略。Query the first bandwidth control policy according to the first indication information.
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,所述第一带宽控制策略包括承诺访问速率CAR,所述承诺访问速率包括承诺速率和/或峰值速率。The method according to any one of claims 1 to 9, characterized in that the first bandwidth control policy includes a committed access rate CAR, and the committed access rate includes a committed rate and/or a peak rate.
  11. 根据权利要求10所述的方法,其特征在于,所述第一带宽控制是基于所述第一SRv6报文的载荷的长度进行的。The method according to claim 10, characterized in that the first bandwidth control is performed based on the length of the payload of the first SRv6 message.
  12. 根据权利要求1-11中任一项所述的方法,其特征在于,所述基于与所述第一指示信息相关联的第一带宽控制策略处理所述第一SRv6报文,包括:The method according to any one of claims 1-11, wherein processing the first SRv6 message based on the first bandwidth control policy associated with the first indication information includes:
    根据所述第一指示信息确定所述第一传输服务类型对应的第一传输路径;Determine the first transmission path corresponding to the first transmission service type according to the first indication information;
    基于所述第一带宽控制策略和所述第一传输路径转发所述第一SRv6报文,所述第一传输路径的入节点为所述第一PE设备,所述第一传输路径的出节点为第二PE设备,所述第二所述第一SRv6报文的目的节点通过所述第二PE设备接入运营商网络。Forward the first SRv6 message based on the first bandwidth control policy and the first transmission path, the ingress node of the first transmission path is the first PE device, and the egress node of the first transmission path As a second PE device, the second destination node of the first SRv6 message accesses the operator network through the second PE device.
  13. 根据权利要求1-12中任一项所述的方法,其特征在于,所述第一SRv6报文的段剩余的值大于1,所述基于与所述第一指示信息相关联的第一带宽控制策略处理所述第一SRv6报文,包括:The method according to any one of claims 1-12, characterized in that the remaining value of the segment of the first SRv6 message is greater than 1, and the first bandwidth based on the first indication information is The control policy processes the first SRv6 message, including:
    丢弃所述第一SRv6报文。Discard the first SRv6 message.
  14. 根据权利要求1-12中任一项所述的方法,其特征在于,所述第一SRv6报文的段剩余的值等于1,所述基于所述第一带宽控制策略处理所述第一SRv6报文,包括:The method according to any one of claims 1-12, characterized in that the remaining value of the segment of the first SRv6 message is equal to 1, and the first SRv6 is processed based on the first bandwidth control policy. Messages, including:
    转发所述第一SRv6报文。Forward the first SRv6 message.
  15. 根据权利要求1-14中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-14, characterized in that the method further includes:
    获取第二SRv6报文,所述第二SRv6报文包括第二指示信息,所述第二指示信息用于指示第二租户的第二传输服务类型;Obtain a second SRv6 message, the second SRv6 message includes second indication information, the second indication information is used to indicate the second transmission service type of the second tenant;
    基于与所述第二指示信息关联的第二带宽控制策略处理所述第二SRv6报文。Process the second SRv6 message based on a second bandwidth control policy associated with the second indication information.
  16. 根据权利要求15所述的方法,其特征在于,所述第二租户与所述第一租户为同一租户,所述第二传输服务类型与所述第一传输服务类型为不同传输服务类型,所述第二带宽控制策略与所述第一带宽控制策略为不同带宽控制策略。 The method of claim 15, wherein the second tenant and the first tenant are the same tenant, and the second transmission service type and the first transmission service type are different transmission service types, so The second bandwidth control strategy and the first bandwidth control strategy are different bandwidth control strategies.
  17. 根据权利要求15所述的方法,其特征在于,所述第二租户与所述第一租户为不同租户,所述第二传输服务类型与所述第一传输服务类型为同一传输服务类型,所述第二带宽控制策略与所述第一带宽控制策略为不同带宽控制策略。The method of claim 15, wherein the second tenant and the first tenant are different tenants, the second transmission service type and the first transmission service type are the same transmission service type, so The second bandwidth control strategy and the first bandwidth control strategy are different bandwidth control strategies.
  18. 根据权利要求15-17中任一项所述的方法,其特征在于,所述第二指示信息为第二SRv6 SID,所述第二SRv6 SID为所述第二SRv6报文的目的地址,所述第二SRv6 SID为所述第一PE设备按照每租户每服务的方式为所述第二租户分配的SID。The method according to any one of claims 15-17, characterized in that the second indication information is a second SRv6 SID, and the second SRv6 SID is the destination address of the second SRv6 message, so The second SRv6 SID is the SID allocated by the first PE device to the second tenant in a per-tenant-per-service manner.
  19. 根据权利要求15-18中任一项所述的方法,其特征在于,在获取所述第二SRv6报文之前,所述方法还包括:The method according to any one of claims 15-18, characterized in that, before obtaining the second SRv6 message, the method further includes:
    根据所述第二指示信息和所述第二带宽控制策略的关联关系,确定所述第二带宽控制策略。The second bandwidth control strategy is determined according to the association between the second indication information and the second bandwidth control strategy.
  20. 根据权利要求19所述的方法,其特征在于,所述第一PE设备存储有所述第二指示信息和所述第二带宽控制策略的关联关系。The method according to claim 19, characterized in that the first PE device stores an association between the second indication information and the second bandwidth control policy.
  21. 一种数据传输装置,其特征在于,设置于第一运营商边缘PE设备,所述装置包括:A data transmission device, characterized in that it is provided on the first operator's edge PE equipment, and the device includes:
    获取模块,用于获取第一基于第六版互联网协议的段路由SRv6报文,所述第一SRv6报文包括第一指示信息,所述第一指示信息指示第一租户对运营商网络的第一传输服务类型;An acquisition module configured to acquire a first segment routing SRv6 message based on Internet Protocol version 6, where the first SRv6 message includes first indication information, and the first indication information indicates the first tenant's request for the operator's network. a transmission service type;
    转发模块,用于基于与所述第一指示信息相关联的第一带宽控制策略处理所述第一SRv6报文。A forwarding module configured to process the first SRv6 message based on the first bandwidth control policy associated with the first indication information.
  22. 根据权利要求21所述的装置,其特征在于,所述第一SRv6报文的目的地址承载所述第一指示信息。The device according to claim 21, characterized in that the destination address of the first SRv6 message carries the first indication information.
  23. 根据权利要求21所述的装置,其特征在于,所述第一指示信息设置于所述第一SRv6报文的IPv6扩展头中。The device according to claim 21, wherein the first indication information is set in an IPv6 extension header of the first SRv6 message.
  24. 根据权利要求21所述的装置,其特征在于,所述第一指示信息为第一SRv6 SID,所述第一SRv6 SID为所述第一SRv6报文的目的地址,所述第一SRv6 SID为所述第一PE设备按照每租户每服务的方式为所述第一租户分配的SID。The device according to claim 21, wherein the first indication information is a first SRv6 SID, the first SRv6 SID is the destination address of the first SRv6 message, and the first SRv6 SID is The SID allocated by the first PE device to the first tenant in a per-tenant-per-service manner.
  25. 根据权利要求21-24中任一项所述的装置,其特征在于,所述转发模块在获取第一SRv6报文之前,还用于:The device according to any one of claims 21-24, characterized in that, before acquiring the first SRv6 message, the forwarding module is also used to:
    根据所述第一指示信息和所述第一带宽控制策略的关联关系,确定所述第一带宽控制策略。The first bandwidth control strategy is determined according to the association between the first indication information and the first bandwidth control strategy.
  26. 根据权利要求25所述的装置,其特征在于,所述关联关系包括所述第一指示信息与所述第一传输服务类型的对应关系,以及所述第一传输服务类型与所述第一带宽控制策略的对应关系。The device according to claim 25, wherein the association relationship includes a correspondence relationship between the first indication information and the first transmission service type, and a correspondence between the first transmission service type and the first bandwidth. Correspondence between control strategies.
  27. 根据权利要求25或26所述的装置,其特征在于,所述第一PE设备存储有所述第一指示信息和所述第一带宽控制策略的关联关系。The apparatus according to claim 25 or 26, wherein the first PE device stores an association between the first indication information and the first bandwidth control policy.
  28. 根据权利要求27所述的装置,其特征在于,所述关联关系存储在所述第一PE设备的访问控制列表、本地段标识SID表、路由信息库表或转发信息库表中。The apparatus according to claim 27, wherein the association relationship is stored in an access control list, a local segment identification SID table, a routing information database table or a forwarding information database table of the first PE device.
  29. 根据权利要求21-28中任一项所述的装置,其特征在于,所述转发模块具体用于:The device according to any one of claims 21-28, characterized in that the forwarding module is specifically used for:
    根据所述第一指示信息查询所述第一带宽控制策略。Query the first bandwidth control policy according to the first indication information.
  30. 根据权利要求21-29中任一项所述的装置,其特征在于,所述第一带宽控制策略包括承诺访问速率CAR,所述承诺访问速率包括承诺速率和/或峰值速率。The device according to any one of claims 21 to 29, wherein the first bandwidth control policy includes a committed access rate CAR, and the committed access rate includes a committed rate and/or a peak rate.
  31. 根据权利要求30所述的装置,其特征在于,所述第一带宽控制是基于所述第一SRv6报文的载荷的长度进行的。The apparatus according to claim 30, wherein the first bandwidth control is performed based on the length of the payload of the first SRv6 message.
  32. 根据权利要求21-31中任一项所述的装置,其特征在于,所述转发模块具体用于:The device according to any one of claims 21-31, characterized in that the forwarding module is specifically used for:
    根据所述第一指示信息确定所述第一传输服务类型对应的第一传输路径;Determine the first transmission path corresponding to the first transmission service type according to the first indication information;
    基于所述第一带宽控制策略和所述第一传输路径转发所述第一SRv6报文,所述第一传输路径的入节点为所述第一PE设备,所述第一传输路径的出节点为第二PE设备,所述第二所述第一SRv6报文的目的节点通过所述第二PE设备接入运营商网络。Forward the first SRv6 message based on the first bandwidth control policy and the first transmission path, the ingress node of the first transmission path is the first PE device, and the egress node of the first transmission path As a second PE device, the second destination node of the first SRv6 message accesses the operator network through the second PE device.
  33. 根据权利要求21-32中任一项所述的装置,其特征在于,所述第一SRv6报文的段剩余的值大于1,所述转发模块具体用于:The device according to any one of claims 21-32, characterized in that the remaining value of the segment of the first SRv6 message is greater than 1, and the forwarding module is specifically used to:
    丢弃所述第一SRv6报文。Discard the first SRv6 message.
  34. 根据权利要求21-32中任一项所述的装置,其特征在于,所述第一SRv6报文的段剩余的值等于1,所述转发模块具体用于: The device according to any one of claims 21-32, characterized in that the remaining value of the segment of the first SRv6 message is equal to 1, and the forwarding module is specifically used to:
    转发所述第一SRv6报文。Forward the first SRv6 message.
  35. 根据权利要求21-34中任一项所述的装置,其特征在于,所述获取模块还用于:获取第二SRv6报文,所述第二SRv6报文包括第二指示信息,所述第二指示信息用于指示第二租户的第二传输服务类型;The device according to any one of claims 21-34, characterized in that the acquisition module is further configured to: acquire a second SRv6 message, the second SRv6 message includes second indication information, and the third The second indication information is used to indicate the second transmission service type of the second tenant;
    所述转发模块还用于:基于与所述第二指示信息关联的第二带宽控制策略处理所述第二SRv6报文。The forwarding module is further configured to: process the second SRv6 message based on a second bandwidth control policy associated with the second indication information.
  36. 根据权利要求35所述的装置,其特征在于,所述第二租户与所述第一租户为同一租户,所述第二传输服务类型与所述第一传输服务类型为不同传输服务类型,所述第二带宽控制策略与所述第一带宽控制策略为不同带宽控制策略。The device according to claim 35, wherein the second tenant and the first tenant are the same tenant, and the second transmission service type and the first transmission service type are different transmission service types, so The second bandwidth control strategy and the first bandwidth control strategy are different bandwidth control strategies.
  37. 根据权利要求36所述的装置,其特征在于,所述第二租户与所述第一租户为不同租户,所述第二传输服务类型与所述第一传输服务类型为同一传输服务类型,所述第二带宽控制策略与所述第一带宽控制策略为不同带宽控制策略。The device according to claim 36, wherein the second tenant and the first tenant are different tenants, the second transmission service type and the first transmission service type are the same transmission service type, so The second bandwidth control strategy and the first bandwidth control strategy are different bandwidth control strategies.
  38. 根据权利要求35-37中任一项所述的装置,其特征在于,所述第二指示信息为第二SRv6 SID,所述第二SRv6 SID为所述第二SRv6报文的目的地址,所述第二SRv6 SID为所述第一PE设备按照每租户每服务的方式为所述第二租户分配的SID。The device according to any one of claims 35-37, characterized in that the second indication information is a second SRv6 SID, and the second SRv6 SID is the destination address of the second SRv6 message, so The second SRv6 SID is the SID allocated by the first PE device to the second tenant in a per-tenant-per-service manner.
  39. 根据权利要求35-38中任一项所述的装置,其特征在于,所述获取模块还具体用于:根据所述第二指示信息和所述第二带宽控制策略的关联关系,确定所述第二带宽控制策略。The device according to any one of claims 35 to 38, characterized in that the acquisition module is further specifically configured to: determine the Second bandwidth control strategy.
  40. 根据权利要求39所述的装置,其特征在于,所述第一PE设备存储有所述第二指示信息和所述第二带宽控制策略的关联关系。The apparatus according to claim 39, wherein the first PE device stores an association between the second indication information and the second bandwidth control policy.
  41. 一种网络设备,其特征在于,包括存储器和处理器,所述存储器用于存储指令;当所述处理器执行所述指令时,执行上述权利要求1-20中任一项所述的方法。A network device, characterized in that it includes a memory and a processor, the memory is used to store instructions; when the processor executes the instructions, the method described in any one of claims 1-20 is executed.
  42. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序或指令,当所述计算机程序或指令在处理器上运行时,执行如权利要求1-20中任一项所述的方法。 A computer-readable storage medium, characterized in that the computer-readable storage medium includes a computer program or instructions. When the computer program or instructions are run on a processor, the computer program or instructions execute any one of claims 1-20. the method described.
PCT/CN2023/102953 2022-07-30 2023-06-27 Data transmission method and apparatus, and network device and storage medium WO2024027378A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210912439.6A CN117527668A (en) 2022-07-30 2022-07-30 Data transmission method, device, network equipment and storage medium
CN202210912439.6 2022-07-30

Publications (1)

Publication Number Publication Date
WO2024027378A1 true WO2024027378A1 (en) 2024-02-08

Family

ID=89744415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/102953 WO2024027378A1 (en) 2022-07-30 2023-06-27 Data transmission method and apparatus, and network device and storage medium

Country Status (2)

Country Link
CN (1) CN117527668A (en)
WO (1) WO2024027378A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337894A (en) * 2014-06-24 2016-02-17 华为技术有限公司 Apparatus, system and method for providing QoS for service message
CN113949645A (en) * 2020-07-15 2022-01-18 华为技术有限公司 Service processing method, device, equipment and system
US20220159505A1 (en) * 2019-07-31 2022-05-19 Huawei Technologies Co., Ltd. Transporting mtnc-id over srv6-header for 5g transport

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337894A (en) * 2014-06-24 2016-02-17 华为技术有限公司 Apparatus, system and method for providing QoS for service message
US20220159505A1 (en) * 2019-07-31 2022-05-19 Huawei Technologies Co., Ltd. Transporting mtnc-id over srv6-header for 5g transport
CN113949645A (en) * 2020-07-15 2022-01-18 华为技术有限公司 Service processing method, device, equipment and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LEE YOUNG; JOHN KAIPPALLIMALIL; VILALTA RICARD: "Extended ACTN Architecture to Enable End-To-End 5G Transport Service Assurance", 2019 21ST INTERNATIONAL CONFERENCE ON TRANSPARENT OPTICAL NETWORKS (ICTON), IEEE, 9 July 2019 (2019-07-09), pages 1 - 3, XP033618028, DOI: 10.1109/ICTON.2019.8840270 *

Also Published As

Publication number Publication date
CN117527668A (en) 2024-02-06

Similar Documents

Publication Publication Date Title
US10757008B2 (en) Flow specification protocol-based communications method, device, and system
EP4024783A1 (en) Control method and apparatus for data transmission
EP4102785A1 (en) Message processing method and apparatus, and network device and storage medium
CN111865796B (en) Path Computation Element Central Controller (PCECC) for network traffic
EP3866414A1 (en) Message processing method, apparatus, device and system
US7486674B2 (en) Data mirroring in a service
US20140351812A1 (en) Recording medium, management device, and network system
US11799688B2 (en) Method for managing virtual private network, and device
US20240098019A1 (en) Packet Processing Method and Related Device
CN114128228A (en) MTNC-ID transmission through SRv6 headers to realize 5G transmission
Shvedov et al. Segment routing in data transmission networks
US20230086487A1 (en) Method for Determining Processing Capability, Node, and System
CN113055293B (en) Routing method and device in software defined wide area network and communication system
WO2022057810A1 (en) Service packet forwarding method, sr policy sending method, device, and system
US20230412508A1 (en) Packet processing method and related apparatus
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
WO2020114083A1 (en) Method and apparatus for processing ioam information
CN114710975B (en) Method, base station, network element and device for multi-domain transmission and multi-transmission network context identification
WO2024027378A1 (en) Data transmission method and apparatus, and network device and storage medium
WO2023231438A1 (en) Message sending method, network device and system
WO2024007762A1 (en) Route publishing method, and communication method and apparatus
CN110838965B (en) Tunnel establishment method and receiving node
WO2024002101A1 (en) Packet transmission method and apparatus, related device, and storage medium
US20240056392A1 (en) Communication method and apparatus
CN117411822A (en) Management method of forwarding router BRF based on bit index explicit replication

Legal Events

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

Ref document number: 23849088

Country of ref document: EP

Kind code of ref document: A1