WO2011120381A1 - Quality of service processing method and device for virtual private network traffic - Google Patents

Quality of service processing method and device for virtual private network traffic Download PDF

Info

Publication number
WO2011120381A1
WO2011120381A1 PCT/CN2011/071836 CN2011071836W WO2011120381A1 WO 2011120381 A1 WO2011120381 A1 WO 2011120381A1 CN 2011071836 W CN2011071836 W CN 2011071836W WO 2011120381 A1 WO2011120381 A1 WO 2011120381A1
Authority
WO
WIPO (PCT)
Prior art keywords
qos
vpn
index
correspondence
attribute
Prior art date
Application number
PCT/CN2011/071836
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 WO2011120381A1 publication Critical patent/WO2011120381A1/en

Links

Classifications

    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service

Definitions

  • the present invention relates to the field of data communication technologies, and in particular, to a method and apparatus for performing quality of service processing on virtual private network traffic. Background technique
  • Virtual Private Network (VPN) technology is a private private network to implement private dedicated technology.
  • Multiprotocol Label Switching (MPLS) VPN has low cost, good scalability, high bandwidth, etc. Applications.
  • MPLS-based Virtual Private LAN Service
  • VPWS Virtual Private Wire Service
  • VPLS provides multi-point to multi-point VPN technology
  • VPWS provides point-to-point Layer 2 VPN technology.
  • the structure of the Layer 2 VPN network is as shown in Figure 1. It is mainly composed of CE, P, and PE (Provider Edge, the carrier's border device).
  • the CE is the user edge device and the PE is the carrier edge device.
  • the P device is the backbone device of the carrier and is only responsible for forwarding the label.
  • the QoS policy for VPN users is relatively small.
  • the existing QoS processing technologies are mostly for traditional Layer 3 services or MPLS services, and cannot be well targeted for VPN traffic, and cannot achieve different VPN connections.
  • Different QoS guarantees are entered, which may result in failure to guarantee high-priority users or service resources requiring high delay jitter.
  • Embodiments of the present invention provide a method and apparatus for performing QoS processing on VPN traffic, which are used to implement QoS guarantee for VPN.
  • a method for performing QoS processing on VPN traffic including:
  • the QoS policy corresponding to the VPN attribute information of the "3 ⁇ 4 text" is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy; wherein the VPN attribute information includes: a VPN type and/or VPN access attribute;
  • the corresponding relationship between the configured VPN attribute information and the QoS policy includes:
  • the determining the QoS policy corresponding to the VPN attribute information of the packet includes: determining, according to the correspondence between the generated VPN access attribute and the QoS index, the VPN access attribute corresponding to the VPN attribute information of the packet a QoS index;
  • the corresponding relationship between the configured VPN attribute information and the QoS policy includes:
  • the determining the QoS policy corresponding to the VPN attribute information of the packet includes: determining, according to the corresponding relationship between the configured VPN access attribute and the QoS index, the VPN access attribute corresponding to the VPN attribute information of the packet Two QoS indexes;
  • the corresponding relationship between the configured VPN attribute information and the QoS policy includes:
  • the determining the QoS policy corresponding to the VPN attribute information of the text includes: determining, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, The third QoS index corresponding to the VPN access attribute in the VPN attribute information of the text;
  • a device for performing quality of service processing on virtual private network traffic including:
  • a configuration unit configured to configure a correspondence between the virtual private network VPN attribute information and the quality of service QoS policy, where the attribute information includes: a VPN type and/or a VPN access attribute; and a searching unit, configured to receive the virtual private network In the message, according to the correspondence between the VPN attribute information and the QoS policy configured by the configuration unit, the corresponding VPN attribute information corresponding to the “3 ⁇ 4 text” is determined.
  • the configuration unit includes:
  • a first configuration sub-unit configured to configure a correspondence between a VPN type and a QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the correspondence and the saved VPN access attribute;
  • a second configuration sub-unit configured to configure a correspondence between the QoS index and the QoS policy
  • a first determining subunit configured to determine, according to a correspondence between the generated VPN access attribute and the QoS index, a first QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet
  • a second determining subunit configured to determine a QoS policy corresponding to the first QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
  • the configuration unit includes:
  • the third sub-unit configured to configure VPN access attributes corresponding relationship between QoS index; subunit fourth configuration, the index for the correspondence configuration QoS to QoS policies; shellfish 1 J, the searching unit comprises:
  • a third determining sub-unit configured to determine, according to the corresponding relationship between the configured VPN access attribute and the QoS index, the second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet;
  • a fourth determining subunit configured to determine a QoS policy corresponding to the second QoS index according to the correspondence between the QoS index and the QoS policy.
  • the configuration unit includes:
  • the fifth configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS cable according to the corresponding relationship and the saved VPN access attribute, and configure the VPN.
  • a sixth sub-unit configuration, the index for the correspondence configuration QoS to QoS policies; shellfish 1 J, the searching unit comprises:
  • a fifth determining sub-unit configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, determining VPN access in the VPN attribute information of the packet a third QoS index corresponding to the attribute;
  • a sixth determining subunit configured to determine a QoS policy corresponding to the third QoS index according to the configured QoS index and the QoS policy correspondence.
  • the QoS policy corresponding to the VPN attribute information of the packet is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy, according to the determining.
  • the QoS policy performs QoS processing on the message. In this way, not only QoS processing for VPN traffic can be implemented on the access side of the PE device, but also QoS guarantee for different accesses in the VPN can be realized.
  • FIG. 1 is a schematic diagram of a basic networking architecture of a Layer 2 VPN in the prior art
  • FIG. 2 is a flowchart of performing QoS processing on VPN traffic according to an embodiment of the present invention
  • FIG. 3 is a flowchart of performing QoS processing on VPN traffic according to Embodiment 1 of the present invention
  • FIG. 4 is a structural diagram of an apparatus for performing QoS processing on VPN traffic according to an embodiment of the present invention. detailed description
  • the PE is mainly responsible for VPN access.
  • VPN access has multiple access modes, including: port access mode, port and virtual local area network (VLAN) access mode, or port and QinQ access mode, where QinQ is two.
  • Layer VLAN that is, outer VLAN and inner VLAN. Therefore, in the embodiment of the present invention, for the VPN traffic and the different access traffic in the VPN, three key factors for identifying the VPN access PE of the packet, that is, the port, the outer VLAN, and the inner VLAN are required. In this way, different QoS policies can be used according to different VPN traffic and different access modes in the VPN, thereby implementing QoS processing of VPN traffic.
  • the process of performing QoS processing on VPN traffic in the embodiment of the present invention includes: Step 201: Receive a VPN message.
  • a port on the access side of the PE receives a VPN packet.
  • the packet does not carry VLAN information, carries a layer of VLAN information, or carries two layers of VLAN information.
  • the packet is received according to the packet.
  • Step 202 Determine, according to the corresponding relationship between the configured VPN attribute information and the QoS policy, the QoS policy corresponding to the received VPN attribute information.
  • the VPN attribute information includes: a VPN type and/or a VPN access attribute, where the VPN access attribute includes one or more of a port, an outer VLAN, and an inner VLAN.
  • the VPN access attributes of each VPN are configured. That is, the VPN access attribute includes one or more of a port, an outer VLAN, and an inner VLAN.
  • VPN access attributes corresponding to VPN1 include: port XI; port X2 and outer VLAN 200.
  • the VPN access attributes corresponding to VPN2 include: port X3, inner VLAN 20, and outer VLAN 400; port X4, inner VLAN 30, and outer VLAN 400.
  • the PE access side can save the VPN access attribute of each VPN in the VPN access attribute QoS table, as shown in Table 1 below.
  • the mapping between the VPN attribute information and the QoS policy may include: configuring one QoS policy corresponding to each VPN, that is, configuring a QoS policy for the VPN type; or configuring corresponding for each VPN access.
  • a QoS policy that is, configuring a QoS policy for a VPN access attribute; or, for some VPNs accessing the PE side, one QoS policy corresponding to each VPN configuration, and some other VPNs use each VPN access attribute. To configure a corresponding QoS policy.
  • the configuration of the QoS policy for the VPN type includes:
  • each VPN corresponds to a QoS index.
  • VPN1 corresponds to the QoS index N1
  • VPN2 corresponds to the QoS index N2
  • VPN3 corresponds to the QoS index N3.
  • the correspondence between the VPN type and the QoS index is saved in the VPN access attribute QoS table, as shown in Table 1:
  • the VPNs that are accessed are different, and the corresponding VPN traffic is different. Therefore, the corresponding QoS index is different.
  • the correspondence between the configured QoS index and the QoS policy can be as shown in Table 2:
  • the QoS policy corresponding to the attribute information of the received message is determined to be: Corresponding relationship between the inbound attribute and the QoS index, determining the first QoS index corresponding to the VPN access attribute in the VPN attribute information of the information, and then determining the QoS corresponding to the first QoS index according to the correspondence between the QoS index and the QoS policy Strategy.
  • the mapping between the VPN type and the QoS index is as shown in the first column and the fifth column in Table 1.
  • the saved VPN access attributes are as shown in the first column, the second column, the third column, and the fourth column in Table 1, thereby generating a correspondence between the VPN access attribute and the QoS index.
  • the second column, the third column, and the correspondence between the fourth column and the fifth column are shown in Table 1.
  • the VLAN information carried in the packet includes: VLAN 20 and VLAN 400.
  • the QoS index found according to Table 1 is N2
  • the QoS policy found according to Table 2 is QoS policy 2.
  • the QoS policy may be configured for the VPN access, that is, the QoS policy is configured for the VPN access attribute, including:
  • each VPN access attribute is configured with a QoS index.
  • QoS index For example: There are three VPN access PEs, VPN 1 has two VPN accesses, VPN2 also has two VPN accesses, and VPN3 has one VPN access.
  • Each VPN access attribute corresponds to one QoS index.
  • the VPN is connected.
  • the correspondence between the ingress attribute and the QoS index is saved in the VPN access attribute table QoS, as shown in Table 3:
  • Table 3 According to Table 3, different access attributes correspond to different access traffic in the VPN, and the corresponding QoS indexes are also different.
  • the corresponding relationship between the configured QoS index and the QoS policy can be as shown in Table 4: QoS index QoS policy
  • the QoS policy corresponding to the attribute information of the received packet is determined as follows: First, according to the configured VPN Corresponding relationship between the access attribute and the QoS index, determining a second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet, and then determining, according to the correspondence between the QoS index and the QoS policy, the second QoS index QoS policy.
  • the correspondence between the configured VPN access attribute and the QoS index is as shown in the second column, the third column, and the fourth column and the fifth column in Table 3, and the access attribute of the received packet.
  • the QoS index is determined to be N3.
  • the QoS policy found is QoS policy 3.
  • mapping between the VPN attribute information and the QoS policy may further include:
  • Configure the mapping between the VPN type and the QoS index and generate the mapping between the VPN access attribute and the QoS index according to the mapping between the configured VPN type and the QoS index, and the saved VPN access attributes.
  • Configure VPN access attributes and QoS The correspondence between the indexes; and, the correspondence between the QoS index and the QoS policy. That is, some VPNs that access the PE use one QoS policy for each VPN configuration, and some other VPNs use one VPN access to configure one QoS policy.
  • VPN1 has two accesses
  • VPN2 also has Two accesses
  • VPN3 has one access, wherein, for VPN1, a QoS policy is configured, and for each access attribute of VPN2 and VPN3, a corresponding QoS index is configured, where the above two correspondences are saved to the VPN.
  • Access the attribute table QoS as described in Table 5:
  • determining the QoS policy corresponding to the attribute information of the received message includes:
  • the QoS policy corresponding to the third QoS index is determined according to the correspondence between the QoS index and the QoS policy.
  • the mapping between the configured VPN type and the QoS index is as shown in the first row and the second row and the fifth row in the first column of Table 5, and the saved VPN access attribute is saved.
  • the corresponding relationship between the generated VPN access attribute and the QoS index is as shown in the second column, the third column, and the The correspondence between the first row and the second row and the fifth row in the first row and the second row, and the corresponding relationship between the configured VPN access attribute and the QoS index is as shown in the second column and the second column in Table 5.
  • Step 203 Perform QoS processing on the received packet according to the determined QoS policy. This process ends.
  • the QoS policy includes: providing bandwidth guarantee and/or prioritizing packets.
  • the embodiments of the present invention are not limited thereto, and other QoS policies are also included.
  • the VPN access attribute QoS table is only one representation of the corresponding relationship, and other similar expressions may also indicate the above correspondence.
  • an inner VLAN indicates a user terminal, for example, VLAN 20 indicates user terminal A, and VLAN 30 indicates user terminal B.
  • the outer VLAN indicates the service type.
  • VLAN 400 indicates VoIP service and VLAN 500 indicates IPTV service.
  • the mapping between the configured attribute information and the QoS policy is as shown in Table 5 and Table 6, and the process of performing QoS processing on the VPN traffic includes:
  • Step 301 The switch receives the virtual private network.
  • a port of the switch accesses the packet, and the packet carries the VLAN information.
  • Step 302 Determine, according to the correspondence between the configured VPN type and the QoS index, and the correspondence between the VPN access attribute and the QoS index, determine the third corresponding to the VPN attribute information of the packet. QoS index.
  • the correspondence between the configured VPN type and the QoS index, and the saved VPN attribute the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index are as shown in Table 5.
  • the VLAN information carried in the accessed packet includes: the inner VLAN is VLAN 20 and the outer VLAN is VLAN 400.
  • the third QoS index can be determined.
  • the index corresponding to the VoIP service of user A is N2.
  • the VLAN information carried in the packets is as follows: VLAN is VLAN 30 and outer VLAN is VLAN 500.
  • the third QoS index can be determined as N4. That is, the QoS index corresponding to User B's IPTV service is N4.
  • N4 the QoS index corresponding to User B's IPTV service
  • different services of different user terminals have corresponding third QoS indexes, and the details are not exhaustive.
  • Step 303 Determine a QoS policy corresponding to the third QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
  • the corresponding relationship between the configured QoS index and the QoS policy is as shown in Table 6.
  • the third QoS index is N2, according to Table 6, the corresponding QoS policy is determined as QoS policy 1; when the third QoS index is N4, according to the table 6.
  • Step 304 Perform QoS processing on the received packet according to the determined QoS policy. This process ends.
  • the outer VLAN indicates that the service type is not limited to this, and other different service types may be represented by different outer VLANs.
  • the configuration unit 100 includes a configuration unit 100, a searching unit 200, and a processing unit 300.
  • the configuration unit 100 is configured to configure a correspondence between the attribute information and the QoS policy, where the attribute information includes: a VPN type and/or a VPN access attribute.
  • the searching unit 200 is configured to determine, according to the correspondence between the VPN attribute information and the QoS policy configured by the configuration unit, the QoS policy corresponding to the VPN attribute information of the packet, when the virtual private network packet is received.
  • the configuration unit 100 may configure a corresponding QoS policy for each VPN, that is, configure a QoS policy for the VPN type; or configure a corresponding QoS policy for each VPN access, that is, for the VPN connection.
  • the ingress attribute configures the QoS policy; or, for some of the VPNs, one QoS policy corresponding to each VPN configuration is used, and some other VPNs use each VPN access to configure a corresponding QoS policy.
  • the configuration unit 100 includes:
  • the first configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the configured correspondence and the saved VPN access attribute.
  • the second configuration sub-unit is configured to configure a correspondence between the QoS index and the QoS policy.
  • the searching unit 200 includes:
  • the first determining sub-unit is configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, the first QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet.
  • a second determining subunit configured to determine a QoS policy corresponding to the first QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
  • the configuration unit 100 includes:
  • the third configuration sub-unit is configured to configure a correspondence between the VPN access attribute and the QoS index.
  • the fourth configuration sub-unit is configured to configure a correspondence between the QoS index and the QoS policy.
  • the searching unit 200 includes:
  • a third determining subunit configured to correspond to the QoS index according to the configured VPN access attribute And determining a second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet.
  • a fourth determining subunit configured to determine a QoS policy corresponding to the second QoS index according to the correspondence between the QoS index and the QoS policy.
  • the configuration unit 100 includes:
  • the fifth configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the configured correspondence and the saved VPN access attribute, and configure the VPN. Correspondence between access attributes and QoS indexes.
  • the sixth configuration sub-unit is configured to configure a correspondence between the QoS index and the QoS policy.
  • the searching unit includes:
  • a fifth determining sub-unit configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, determining VPN access in the VPN attribute information of the packet The third QoS index corresponding to the attribute.
  • a sixth determining subunit configured to determine a QoS policy corresponding to the third QoS index according to the configured QoS index and the QoS policy correspondence.
  • the QoS policy corresponding to the VPN attribute information of the packet is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy, according to the determined
  • the QoS policy performs QoS processing on the text.
  • the VPN attribute information includes: access VPN type and/or VPN access attribute, so that not only the QoS for VPN traffic can be implemented on the access side of the PE device, but also the QoS guarantee for different access in the VPN can be realized.

Landscapes

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

Abstract

The present invention discloses a Quality of Service (QoS) processing method and device for Virtual Private Network (VPN) traffic, which are used for guaranteeing the QoS of the Virtual Private Network. When a VPN message is received, according to a configured corresponding relationship between VPN attribute information and a QoS strategy, the QoS strategy corresponding to the VPN attribute information of the message can be determined, wherein the VPN attribute information includes a VPN type and/or a VPN access attribute; and the QoS processing is performed for the message according to the determined QoS strategy.

Description

一种对虚拟专用网流量进行服务质量处理的方法及装置 技术领域  Method and device for processing quality of service of virtual private network traffic
本发明涉及数据通信技术领域, 特别涉及一种对虚拟专用网流量进行 服务质量处理的方法及装置。 背景技术  The present invention relates to the field of data communication technologies, and in particular, to a method and apparatus for performing quality of service processing on virtual private network traffic. Background technique
虚拟专用网 ( Virtual Private Network , VPN )技术是利用公共网络来实 现私有专用的技术, 多协议标记交换 (Multiprotocol Label Switching , MPLS)VPN具有低成本、 扩展性好、 高带宽等特点, 得到了广泛的应用。 基于 MPLS的有 (Virtual Private LAN Service, VPLS)和虚拟专用广域网业务 (Virtual Private Wire Service, VPWS)两类。 其中, VPLS提供多点到多点的 二层 VPN技术, VPWS提供点到点的二层 VPN技术。 二层 VPN网络的结 构如图 1所示, 主要由 CE、 P、 PE ( Provider Edge, 运营商边界设备)组 成, 其中, CE为用户边缘设备, PE是运营商边缘设备, 主要负责 VPN接 入, P设备是运营商骨干网设备, 只负责进行标签的转发。  Virtual Private Network (VPN) technology is a private private network to implement private dedicated technology. Multiprotocol Label Switching (MPLS) VPN has low cost, good scalability, high bandwidth, etc. Applications. There are two types of MPLS-based (Virtual Private LAN Service, VPLS) and Virtual Private Wire Service (VPWS). Among them, VPLS provides multi-point to multi-point VPN technology, and VPWS provides point-to-point Layer 2 VPN technology. The structure of the Layer 2 VPN network is as shown in Figure 1. It is mainly composed of CE, P, and PE (Provider Edge, the carrier's border device). The CE is the user edge device and the PE is the carrier edge device. The P device is the backbone device of the carrier and is only responsible for forwarding the label.
随着电信市场的发展, 各种业务应运而生, 不同的用户、 不同的业务 对带宽、 延时等都有不同的要求, 比如 VoIP、 IPTV 等业务需要服务质量 ( Quality of Service, QoS ) 的保证, 需要能够提供带宽保证、 低延时低抖 动、优先调度等, 同时由于安全或者其他原因,这些业务往往需要基于 VPN 开设, 因此, 对于 VPN流量进行 QoS处理非常重要。  With the development of the telecom market, various services have emerged. Different users and different services have different requirements on bandwidth and delay. For example, services such as VoIP and IPTV require Quality of Service (QoS). It is guaranteed that bandwidth guarantee, low latency, low jitter, and priority scheduling are required. At the same time, for security or other reasons, these services are often required to be opened based on VPN. Therefore, it is very important to perform QoS processing on VPN traffic.
目前针对 VPN用户的 QoS策略实现比较少, 一般现有的 QoS处理技 术大多都是针对传统的三层业务或者是 MPLS业务, 而不能够很好地针对 VPN流量, 更不能实现对 VPN的不同接入进行不同的 QoS保证, 这样会 导致对高优先级用户或者要求延时抖动较高的业务资源不能得到保证。 发明内容 At present, the QoS policy for VPN users is relatively small. Generally, the existing QoS processing technologies are mostly for traditional Layer 3 services or MPLS services, and cannot be well targeted for VPN traffic, and cannot achieve different VPN connections. Different QoS guarantees are entered, which may result in failure to guarantee high-priority users or service resources requiring high delay jitter. Summary of the invention
本发明实施例提供一种对 VPN流量进行 QoS处理的方法及装置,用以 实现针对 VPN的 QoS保证。  Embodiments of the present invention provide a method and apparatus for performing QoS processing on VPN traffic, which are used to implement QoS guarantee for VPN.
为了达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种对 VPN流量进行 QoS处理的方法, 包括:  A method for performing QoS processing on VPN traffic, including:
当接收到 VPN报文时, 根据配置的 VPN属性信息与 QoS策略的对应 关系, 确定所述"¾文的 VPN属性信息对应的 QoS策略; 其中, 所述 VPN 属性信息包括: VPN类型和 /或 VPN接入属性;  When the VPN packet is received, the QoS policy corresponding to the VPN attribute information of the "3⁄4 text" is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy; wherein the VPN attribute information includes: a VPN type and/or VPN access attribute;
 ■
所述配置 VPN属性信息与 QoS策略的对应关系包括:  The corresponding relationship between the configured VPN attribute information and the QoS policy includes:
配置 VPN类型与 QoS索引的对应关系, 并根据所述对应关系, 以及保 存的 VPN接入属性, 生成 VPN接入属性与 QoS索引的对应关系;  Configuring a correspondence between the VPN type and the QoS index, and generating a correspondence between the VPN access attribute and the QoS index according to the corresponding relationship and the saved VPN access attribute;
配置 QoS索引与 QoS策略的对应关系;  Configure the correspondence between the QoS index and the QoS policy.
则, 所述确定所述 文的 VPN属性信息对应的 QoS策略包括: 根据生成的 VPN接入属性与 QoS索引的对应关系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第一 QoS索引;  The determining the QoS policy corresponding to the VPN attribute information of the packet includes: determining, according to the correspondence between the generated VPN access attribute and the QoS index, the VPN access attribute corresponding to the VPN attribute information of the packet a QoS index;
根据配置的 QoS索引与 QoS策略的对应关系,确定所述第一 QoS索引 对应的 QoS策略。  And determining, according to the corresponding relationship between the configured QoS index and the QoS policy, the QoS policy corresponding to the first QoS index.
所述配置 VPN属性信息与 QoS策略的对应关系包括:  The corresponding relationship between the configured VPN attribute information and the QoS policy includes:
配置 VPN接入属性与 QoS索引的对应关系;  Configure the mapping between VPN access attributes and QoS indexes.
配置 QoS索引与 QoS策略的对应关系;  Configure the correspondence between the QoS index and the QoS policy.
则, 所述确定所述 文的 VPN属性信息对应的 QoS策略包括: 根据配置的 VPN接入属性与 QoS索引的对应关系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第二 QoS索引;  The determining the QoS policy corresponding to the VPN attribute information of the packet includes: determining, according to the corresponding relationship between the configured VPN access attribute and the QoS index, the VPN access attribute corresponding to the VPN attribute information of the packet Two QoS indexes;
根据配置的 QoS索引与 QoS策略的对应关系,确定所述第二 QoS索引 对应的 QoS策略。 Determining the second QoS index according to a correspondence between the configured QoS index and the QoS policy Corresponding QoS policy.
所述配置 VPN属性信息与 QoS策略的对应关系包括:  The corresponding relationship between the configured VPN attribute information and the QoS policy includes:
配置 VPN类型与 QoS索引的对应关系, 并根据所述对应关系, 以及保 存的 VPN接入属性, 生成 VPN接入属性与 QoS索引的对应关系;  Configuring a correspondence between the VPN type and the QoS index, and generating a correspondence between the VPN access attribute and the QoS index according to the corresponding relationship and the saved VPN access attribute;
配置 VPN接入属性与 QoS索引的对应关系;  Configure the mapping between VPN access attributes and QoS indexes.
配置 QoS索引与 QoS策略的对应关系;  Configure the correspondence between the QoS index and the QoS policy.
则, 所述确定所述 文的 VPN属性信息对应的 QoS策略包括: 根据生成的 VPN接入属性与 QoS索引的对应关系, 以及配置的 VPN 接入属性与 QoS索引的对应关系,确定所述报文的 VPN属性信息中的 VPN 接入属性对应的第三 QoS索引;  The determining the QoS policy corresponding to the VPN attribute information of the text includes: determining, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, The third QoS index corresponding to the VPN access attribute in the VPN attribute information of the text;
根据配置的 QoS索引与 QoS策略对应关系,确定所述第三 QoS索引对 应的 QoS策略。  And determining, according to the configured QoS index and the QoS policy, the QoS policy corresponding to the third QoS index.
一种对虚拟专用网流量进行服务质量处理的装置, 包括:  A device for performing quality of service processing on virtual private network traffic, including:
配置单元,用于配置虚拟专用网 VPN属性信息与服务质量 QoS策略的 对应关系, 其中, 所述属性信息包括: VPN类型和 /或 VPN接入属性; 查找单元,用于当接收到虚拟专用网报文时,根据配置单元配置的 VPN 属性信息与 QoS策略的对应关系, 确定所述"¾文的 VPN属性信息对应的 a configuration unit, configured to configure a correspondence between the virtual private network VPN attribute information and the quality of service QoS policy, where the attribute information includes: a VPN type and/or a VPN access attribute; and a searching unit, configured to receive the virtual private network In the message, according to the correspondence between the VPN attribute information and the QoS policy configured by the configuration unit, the corresponding VPN attribute information corresponding to the “3⁄4 text” is determined.
QoS策略; 所述配置单元包括: QoS policy; the configuration unit includes:
第一配置子单元, 用于配置 VPN类型与 QoS索引的对应关系, 并根据 所述对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS索 引的对应关系;  a first configuration sub-unit, configured to configure a correspondence between a VPN type and a QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the correspondence and the saved VPN access attribute;
第二配置子单元, 用于配置 QoS索引与 QoS策略的对应关系; 则, 所述查找单元包括: 第一确定子单元,用于根据生成的 VPN接入属性与 QoS索引的对应关 系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第一 QoS索 引; a second configuration sub-unit, configured to configure a correspondence between the QoS index and the QoS policy; a first determining subunit, configured to determine, according to a correspondence between the generated VPN access attribute and the QoS index, a first QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet;
第二确定子单元, 用于根据配置的 QoS索引与 QoS策略的对应关系, 确定所述第一 QoS索引对应的 QoS策略。  And a second determining subunit, configured to determine a QoS policy corresponding to the first QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
所述配置单元包括:  The configuration unit includes:
第三配置子单元, 用于配置 VPN接入属性与 QoS索引的对应关系; 第四配置子单元, 用于配置 QoS索引与 QoS策略的对应关系; 贝1 J , 所述查找单元包括: The third sub-unit configured to configure VPN access attributes corresponding relationship between QoS index; subunit fourth configuration, the index for the correspondence configuration QoS to QoS policies; shellfish 1 J, the searching unit comprises:
第三确定子单元,用于根据配置的 VPN接入属性与 QoS索引的对应关 系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第二 QoS索 引;  a third determining sub-unit, configured to determine, according to the corresponding relationship between the configured VPN access attribute and the QoS index, the second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet;
第四确定子单元, 用于根据所述 QoS索引与 QoS策略的对应关系, 确 定所述第二 QoS索引对应的 QoS策略。  And a fourth determining subunit, configured to determine a QoS policy corresponding to the second QoS index according to the correspondence between the QoS index and the QoS policy.
所述配置单元包括:  The configuration unit includes:
第五配置子单元, 用于配置 VPN类型与 QoS索引的对应关系, 并根据 所述对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS索 弓 I的对应关系, 以及配置 VPN接入属性与 QoS索引的对应关系;  The fifth configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS cable according to the corresponding relationship and the saved VPN access attribute, and configure the VPN. Correspondence between access attributes and QoS indexes;
第六配置子单元, 用于配置 QoS索引与 QoS策略的对应关系; 贝1 J, 所述查找单元包括: A sixth sub-unit configuration, the index for the correspondence configuration QoS to QoS policies; shellfish 1 J, the searching unit comprises:
第五确定子单元,用于根据生成的 VPN接入属性与 QoS索引的对应关 系, 以及配置的 VPN接入属性与 QoS 索引的对应关系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第三 QoS索引;  a fifth determining sub-unit, configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, determining VPN access in the VPN attribute information of the packet a third QoS index corresponding to the attribute;
第六确定子单元, 用于根据配置的 QoS索引与 QoS策略对应关系, 确 定所述第三 QoS索引对应的 QoS策略。 本发明实施例中, 当 PE的接入侧接收到虚拟专用网报文时, 根据配置 的 VPN属性信息与 QoS策略的对应关系, 确定所述报文的 VPN属性信息 对应的 QoS策略, 根据确定的 QoS策略对所述报文进行 QoS处理。 这样, 不仅能够在 PE设备的接入侧实现针对 VPN流量的 QoS处理, 而且能够实 现对 VPN内不同接入的 QoS保证。 附图说明 And a sixth determining subunit, configured to determine a QoS policy corresponding to the third QoS index according to the configured QoS index and the QoS policy correspondence. In the embodiment of the present invention, when the access side of the PE receives the virtual private network packet, the QoS policy corresponding to the VPN attribute information of the packet is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy, according to the determining. The QoS policy performs QoS processing on the message. In this way, not only QoS processing for VPN traffic can be implemented on the access side of the PE device, but also QoS guarantee for different accesses in the VPN can be realized. DRAWINGS
图 1为现有技术中二层 VPN基本组网架构的示意图;  1 is a schematic diagram of a basic networking architecture of a Layer 2 VPN in the prior art;
图 2为本发明实施例中对 VPN流量进行 QoS处理的流程图;  2 is a flowchart of performing QoS processing on VPN traffic according to an embodiment of the present invention;
图 3为本发明实施例一中对 VPN流量进行 QoS处理的流程图; 图 4为本发明实施例中对 VPN流量进行 QoS处理的装置的结构图。 具体实施方式  FIG. 3 is a flowchart of performing QoS processing on VPN traffic according to Embodiment 1 of the present invention; FIG. 4 is a structural diagram of an apparatus for performing QoS processing on VPN traffic according to an embodiment of the present invention. detailed description
在如图 1所示的二层 VPN基本组网结构中, PE主要负责 VPN的接入。 而 VPN的接入又有多种接入方式, 包括: 端口接入方式, 端口和虚拟局域 网 ( Virtual Local Area Network, VLAN )接入方式, 或, 端口和 QinQ接入 方式, 其中, QinQ为两层 VLAN, 即外层 VLAN和内层 VLAN。 因此, 本 发明实施例为针对 VPN流量, 以及 VPN内不同的接入流量, 则需要识别 报文的 VPN接入 PE的三个关键因素,即端口、外层 VLAN、和内层 VLAN。 这样, 能够根据不同的 VPN流量, 以及 VPN内不同的接入方式釆用不同 的 QoS策略, 从而实现 VPN流量的 QoS处理。  In the basic networking structure of the Layer 2 VPN as shown in Figure 1, the PE is mainly responsible for VPN access. VPN access has multiple access modes, including: port access mode, port and virtual local area network (VLAN) access mode, or port and QinQ access mode, where QinQ is two. Layer VLAN, that is, outer VLAN and inner VLAN. Therefore, in the embodiment of the present invention, for the VPN traffic and the different access traffic in the VPN, three key factors for identifying the VPN access PE of the packet, that is, the port, the outer VLAN, and the inner VLAN are required. In this way, different QoS policies can be used according to different VPN traffic and different access modes in the VPN, thereby implementing QoS processing of VPN traffic.
参见图 2, 本发明实施例中对 VPN流量进行 QoS处理的过程包括: 步骤 201: 接收到 VPN 艮文。  Referring to FIG. 2, the process of performing QoS processing on VPN traffic in the embodiment of the present invention includes: Step 201: Receive a VPN message.
PE的接入侧的某一端口接收到 VPN报文,该报文中可能不携带 VLAN 信息、 携带一层 VLAN信息或者携带两层 VLAN信息, 这样, 接收到报文 后,根据该报文的接入端口,报文中携带的 VLAN信息,确定该报文的 VPN 接入属性。 A port on the access side of the PE receives a VPN packet. The packet does not carry VLAN information, carries a layer of VLAN information, or carries two layers of VLAN information. After receiving the packet, the packet is received according to the packet. The access port, the VLAN information carried in the packet, and the VPN of the packet. Access properties.
步骤 202: 根据配置的 VPN属性信息与 QoS策略的对应关系, 确定接 收到的 4艮文的 VPN属性信息对应的 QoS策略。  Step 202: Determine, according to the corresponding relationship between the configured VPN attribute information and the QoS policy, the QoS policy corresponding to the received VPN attribute information.
本发明实施例中, VPN属性信息包括: VPN类型和 /或 VPN接入属性, 其中, VPN的接入属性又包括: 端口、 外层 VLAN、 和内层 VLAN中的一 种或多种。  In the embodiment of the present invention, the VPN attribute information includes: a VPN type and/or a VPN access attribute, where the VPN access attribute includes one or more of a port, an outer VLAN, and an inner VLAN.
在对 PE的接入侧进行 VPN配置时, 会配置每个 VPN的 VPN接入属 性。 即 VPN接入属性包括: 端口、 外层 VLAN、 和内层 VLAN中的一种或 多种。 例如: VPN1对应的 VPN接入属性包括: 端口 XI; 端口 X2和外层 VLAN200。 VPN2对应的 VPN接入属性包括: 端口 X3、 内层 VLAN20和 外层 VLAN400; 端口 X4、 内层 VLAN30和外层 VLAN400。 这样, PE接 入侧可将每个 VPN的 VPN接入属性保存在 VPN接入属性 QoS表中,如下 述表 1所示。  When VPN configuration is performed on the access side of the PE, the VPN access attributes of each VPN are configured. That is, the VPN access attribute includes one or more of a port, an outer VLAN, and an inner VLAN. For example, VPN access attributes corresponding to VPN1 include: port XI; port X2 and outer VLAN 200. The VPN access attributes corresponding to VPN2 include: port X3, inner VLAN 20, and outer VLAN 400; port X4, inner VLAN 30, and outer VLAN 400. In this way, the PE access side can save the VPN access attribute of each VPN in the VPN access attribute QoS table, as shown in Table 1 below.
本发明实施例中,配置 VPN属性信息与 QoS策略的对应关系可以包括: 针对每一个 VPN配置对应的一个 QoS策略, 即针对 VPN类型配置 QoS策 略; 或者, 针对每一个 VPN的接入来配置对应的一个 QoS策略, 即针对 VPN接入属性配置 QoS策略; 或者, 针对接入 PE侧的一些 VPN釆用每一 个 VPN配置对应的一个 QoS策略,而其他的一些 VPN釆用每一个 VPN接 入属性来配置对应的一个 QoS策略。  In the embodiment of the present invention, the mapping between the VPN attribute information and the QoS policy may include: configuring one QoS policy corresponding to each VPN, that is, configuring a QoS policy for the VPN type; or configuring corresponding for each VPN access. A QoS policy, that is, configuring a QoS policy for a VPN access attribute; or, for some VPNs accessing the PE side, one QoS policy corresponding to each VPN configuration, and some other VPNs use each VPN access attribute. To configure a corresponding QoS policy.
其中, 针对 VPN类型配置 QoS策略具体包括:  The configuration of the QoS policy for the VPN type includes:
配置 VPN类型与 QoS索引的对应关系,并根据配置的 VPN类型与 QoS 索引的对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS 索引的对应关系; 以及, 配置 QoS索引与 QoS策略的对应关系。 这样, 每 个 VPN对应一个 QoS索引。 例如: 有三个 VPN接入 PE, VPN1对应 QoS 索引 Nl , VPN2对应 QoS索引 N2, VPN3对应 QoS索引 N3 , 这里, 将 VPN类型与 QoS索引的对应关系保存到 VPN接入属性 QoS表中, 如表 1 所示: Configuring a mapping between the VPN type and the QoS index, and generating a correspondence between the VPN access attribute and the QoS index according to the configured relationship between the configured VPN type and the QoS index, and the saved VPN access attribute; and configuring the QoS index and the QoS The corresponding relationship of the strategy. Thus, each VPN corresponds to a QoS index. For example: There are three VPNs accessing the PE, VPN1 corresponds to the QoS index N1, VPN2 corresponds to the QoS index N2, and VPN3 corresponds to the QoS index N3. Here, The correspondence between the VPN type and the QoS index is saved in the VPN access attribute QoS table, as shown in Table 1:
Figure imgf000009_0001
Figure imgf000009_0001
表 1  Table 1
根据表 1可知, 接入的 VPN不同, 对应的 VPN流量也不同, 这样, 其对应的 QoS索引也不同。 当然, 配置的 QoS索引与 QoS策略的对应关系 可以如表 2所示:  According to Table 1, the VPNs that are accessed are different, and the corresponding VPN traffic is different. Therefore, the corresponding QoS index is different. Of course, the correspondence between the configured QoS index and the QoS policy can be as shown in Table 2:
Figure imgf000009_0002
Figure imgf000009_0002
表 2 如上配置了接入属性与 QoS策略的对应关系后, 并获得了接收到的报 文的接入属性, 则确定接收到的报文的属性信息对应的 QoS策略包括: 根据生成的 VPN接入属性与 QoS索引的对应关系,确定该 ^艮文的 VPN 属性信息中的 VPN接入属性对应的第一 QoS索引, 然后根据 QoS索引与 QoS策略的对应关系, 确定第一 QoS索引对应的 QoS策略。  After the mapping between the access attribute and the QoS policy is configured, and the access attribute of the received message is obtained, the QoS policy corresponding to the attribute information of the received message is determined to be: Corresponding relationship between the inbound attribute and the QoS index, determining the first QoS index corresponding to the VPN access attribute in the VPN attribute information of the information, and then determining the QoS corresponding to the first QoS index according to the correspondence between the QoS index and the QoS policy Strategy.
例如,配置 VPN类型与 QoS索引的对应关系如表 1中第一列与第五列 所示的对应关系,保存的 VPN接入属性如表 1中第一列, 第二列、第三列, 以及第四列所示, 从而, 生成的 VPN接入属性与 QoS索引的对应关系, 如 表 1 中第二列、 第三列, 以及第四列与第五列所示的对应关系。 则, 当接 入的报文的端口为 X3 , 该报文携带的 VLAN 信息包括: VLAN20 和 VLAN400, 根据表 1查找到的 QoS索引为 N2, 根据表 2查找到的 QoS策 略为 QoS策略 2。 For example, the mapping between the VPN type and the QoS index is as shown in the first column and the fifth column in Table 1. In the corresponding relationship shown, the saved VPN access attributes are as shown in the first column, the second column, the third column, and the fourth column in Table 1, thereby generating a correspondence between the VPN access attribute and the QoS index. The second column, the third column, and the correspondence between the fourth column and the fifth column are shown in Table 1. Then, when the port of the received packet is X3, the VLAN information carried in the packet includes: VLAN 20 and VLAN 400. The QoS index found according to Table 1 is N2, and the QoS policy found according to Table 2 is QoS policy 2.
本发明实施例中 ,还可以针对 VPN接入来配置 QoS策略,即针对 VPN 接入属性配置 QoS策略, 包括:  In the embodiment of the present invention, the QoS policy may be configured for the VPN access, that is, the QoS policy is configured for the VPN access attribute, including:
配置 VPN接入属性与 QoS索引的对应关系, 以及 QoS索引与 QoS策 略的对应关系。 即每一个 VPN接入属性配置一个 QoS索引。 例如: 有三个 VPN接入 PE , VPN 1有两个 VPN接入, VPN2也有两个 VPN接入, VPN3 有一个 VPN接入,则每种 VPN接入属性对应一个 QoS索引,这里,将 VPN 接入属性与 QoS索引的对应关系保存到 VPN接入属性表 QoS中, 如表 3 所示:  Configure the mapping between the VPN access attribute and the QoS index, and the correspondence between the QoS index and the QoS policy. That is, each VPN access attribute is configured with a QoS index. For example: There are three VPN access PEs, VPN 1 has two VPN accesses, VPN2 also has two VPN accesses, and VPN3 has one VPN access. Each VPN access attribute corresponds to one QoS index. Here, the VPN is connected. The correspondence between the ingress attribute and the QoS index is saved in the VPN access attribute table QoS, as shown in Table 3:
Figure imgf000010_0001
Figure imgf000010_0001
表 3 根据表 3可知, 不同的接入属性对应 VPN内不同的接入流量, 则其对 应的 QoS索引也不同。其配置的 QoS索引与 QoS策略的对应关系可以如表 4所示: QoS索引 QoS策略 Table 3 According to Table 3, different access attributes correspond to different access traffic in the VPN, and the corresponding QoS indexes are also different. The corresponding relationship between the configured QoS index and the QoS policy can be as shown in Table 4: QoS index QoS policy
Nl QoS策略 5  Nl QoS Policy 5
N2 QoS策略 1  N2 QoS Policy 1
N3 QoS策略 3  N3 QoS Policy 3
N4 QoS策略 2  N4 QoS Policy 2
N5 QoS策略 4  N5 QoS Policy 4
表 4 如上配置了接入属性与 QoS策略的对应关系, 以及获取了接收到的报 文的接入属性后, 则确定接收到的报文的属性信息对应的 QoS策略包括: 首先根据配置的 VPN接入属性与 QoS索引的对应关系,确定该报文的 VPN属性信息中的 VPN接入属性对应的第二 QoS索引, 然后, 根据 QoS 索引与 QoS策略的对应关系, 确定第二 QoS索引对应的 QoS策略。 After the mapping between the access attribute and the QoS policy is configured, and the access attribute of the received packet is obtained, the QoS policy corresponding to the attribute information of the received packet is determined as follows: First, according to the configured VPN Corresponding relationship between the access attribute and the QoS index, determining a second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet, and then determining, according to the correspondence between the QoS index and the QoS policy, the second QoS index QoS policy.
例如, 配置的 VPN接入属性与 QoS索引的对应关系如表 3中第二列、 第三列, 以及第四列与第五列所示的对应关系, 则当接收的报文的接入属 性为: 端口 X3 , 内层 VLAN20, 以及外层 VLAN400, 则根据表 3 , 确定 QoS索引为 N3 , 根据表 4, 查找到的 QoS策略为 QoS策略 3。  For example, the correspondence between the configured VPN access attribute and the QoS index is as shown in the second column, the third column, and the fourth column and the fifth column in Table 3, and the access attribute of the received packet. For: port X3, inner VLAN 20, and outer VLAN 400, according to Table 3, the QoS index is determined to be N3. According to Table 4, the QoS policy found is QoS policy 3.
本发明实施例中, 在对 PE的接入侧进行配置时, 配置 VPN属性信息 与 QoS策略的对应关系还可以包括:  In the embodiment of the present invention, when configuring the access side of the PE, the mapping between the VPN attribute information and the QoS policy may further include:
配置 VPN类型与 QoS索引的对应关系,并根据配置的 VPN类型与 QoS 索引的对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS 索引的对应关系; 配置 VPN接入属性与 QoS索引的对应关系; 以及, 配置 QoS索引与 QoS策略的对应关系。即接入 PE的一些 VPN釆用每一个 VPN 配置对应一个 QoS策略, 其他的一些 VPN釆用每一个 VPN接入来配置一 个 QoS策略。 例如: 有三个 VPN接入 PE, VPN1有两个接入, VPN2也有 两个接入, VPN3有一个接入, 其中, 对于 VPN1 , 配置一个 QoS策略, 而 对于 VPN2和 VPN3的每个接入属性配置对应一个 QoS索引, 这里, 将上 述两种的对应关系保存到 VPN接入属性表 QoS中, 如表 5所述: Configure the mapping between the VPN type and the QoS index, and generate the mapping between the VPN access attribute and the QoS index according to the mapping between the configured VPN type and the QoS index, and the saved VPN access attributes. Configure VPN access attributes and QoS. The correspondence between the indexes; and, the correspondence between the QoS index and the QoS policy. That is, some VPNs that access the PE use one QoS policy for each VPN configuration, and some other VPNs use one VPN access to configure one QoS policy. For example: There are three VPNs accessing the PE, VPN1 has two accesses, and VPN2 also has Two accesses, VPN3 has one access, wherein, for VPN1, a QoS policy is configured, and for each access attribute of VPN2 and VPN3, a corresponding QoS index is configured, where the above two correspondences are saved to the VPN. Access the attribute table QoS, as described in Table 5:
Figure imgf000012_0001
Figure imgf000012_0001
其配置的 QoS索引与 QoS策略的对应关系可以如表 6所示:  The corresponding relationship between the configured QoS index and the QoS policy can be as shown in Table 6:
Figure imgf000012_0003
Figure imgf000012_0003
表 6  Table 6
这样, 确定接收到的报文的属性信息对应的 QoS策略包括:  In this way, determining the QoS policy corresponding to the attribute information of the received message includes:
根据生成的 VPN接入属性与 QoS索引的对应关系, 以及配置的 VPN 接入属性与 QoS索引的对应关系, 确定报文的 VPN属性信息中的 VPN接 入属性对应的第三 QoS索引;然后,根据 QoS索引与 QoS策略的对应关系, 确定第三 QoS索引对应的 QoS策略。 例如,配置 VPN类型与 QoS索引的对应关系如表 5中第一列中第一行 和第二行与第五列中第一行和第二行所示的对应关系, 保存的 VPN接入属 性如表 5中第一列, 第二列、 第三列, 以及第四列所示, 则生成的 VPN接 入属性与 QoS索引的对应关系如表 5中第二列、 第三列, 以及第四列中第 一行和第二行与第五列中第一行和第二行所示的对应关系, 而配置的 VPN 接入属性与 QoS索引的对应关系如表 5中第二列、 第三列, 以及第四列与 第五列中其他行所示的对应关系,则当接收的报文的接入方式为:端口 X2, 以及外层 VLAN200, 则根据表 5 , 确定 QoS索引为 N1 , 根据表 6, 查找到 的 QoS策略为 QoS策略 4。 Determining, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, determining a third QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet; The QoS policy corresponding to the third QoS index is determined according to the correspondence between the QoS index and the QoS policy. For example, the mapping between the configured VPN type and the QoS index is as shown in the first row and the second row and the fifth row in the first column of Table 5, and the saved VPN access attribute is saved. As shown in the first column, the second column, the third column, and the fourth column in Table 5, the corresponding relationship between the generated VPN access attribute and the QoS index is as shown in the second column, the third column, and the The correspondence between the first row and the second row and the fifth row in the first row and the second row, and the corresponding relationship between the configured VPN access attribute and the QoS index is as shown in the second column and the second column in Table 5. The three columns, and the corresponding relationship between the fourth row and the other rows in the fifth column, when the received message access mode is: port X2, and the outer VLAN 200, according to Table 5, the QoS index is determined to be N1. According to Table 6, the QoS policy found is QoS Policy 4.
步骤 203: 根据确定的 QoS策略对接收到的报文进行 QoS处理。 本流 程结束。  Step 203: Perform QoS processing on the received packet according to the determined QoS policy. This process ends.
QoS策略包括: 提供带宽保证和 /或指定报文的优先级。 当然, 本发明 实施例不限于此, 也包括其他的 QoS策略。  The QoS policy includes: providing bandwidth guarantee and/or prioritizing packets. Of course, the embodiments of the present invention are not limited thereto, and other QoS policies are also included.
上述实施例中, VPN接入属性 QoS表只是对应关系的一种表现形式, 其他类似的表现形式也可以表示上述对应关系。  In the above embodiment, the VPN access attribute QoS table is only one representation of the corresponding relationship, and other similar expressions may also indicate the above correspondence.
下面结合说明书附图对本发明实施例作进一步详细描述。  The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
实施例一, 本实施例中, 内层 VLAN表示用户终端, 例如: VLAN20 表示用户终端 A, VLAN30表示用户终端 B。 外层 VLAN表示业务类型, 例如: VLAN400表示 VoIP业务, VLAN500表示 IPTV业务。 并且, 本实 施例中, 配置的属性信息与 QoS策略的对应关系如上述表 5和表 6所示, 则参见图 3 , 对 VPN流量进行 QoS处理的过程包括:  Embodiment 1 In this embodiment, an inner VLAN indicates a user terminal, for example, VLAN 20 indicates user terminal A, and VLAN 30 indicates user terminal B. The outer VLAN indicates the service type. For example, VLAN 400 indicates VoIP service and VLAN 500 indicates IPTV service. In this embodiment, the mapping between the configured attribute information and the QoS policy is as shown in Table 5 and Table 6, and the process of performing QoS processing on the VPN traffic includes:
步骤 301 : 交换机接收到虚拟专用网 4艮文。  Step 301: The switch receives the virtual private network.
交换机某一端口接入报文, 报文中携带 VLAN信息。  A port of the switch accesses the packet, and the packet carries the VLAN information.
步骤 302: 根据配置的 VPN类型与 QoS索引的对应关系, 以及 VPN 接入属性与 QoS索引的对应关系,确定该报文的 VPN属性信息对应的第三 QoS索引。 Step 302: Determine, according to the correspondence between the configured VPN type and the QoS index, and the correspondence between the VPN access attribute and the QoS index, determine the third corresponding to the VPN attribute information of the packet. QoS index.
这里,根据配置的 VPN类型与 QoS索引的对应关系,以及保存的 VPN 属性, 生成的 VPN接入属性与 QoS索引的对应关系, 以及配置的 VPN接 入属性与 QoS索引的对应关系如表 5所示。 则根据表 5进行查找, 当交换 机的接收端口是 X3 , 接入的报文携带的 VLAN信息包括: 内层 VLAN为 VLAN20, 外层 VLAN为 VLAN400, 那么, 根据表 5, 可以确定第三 QoS 索引为 N2。 即用户 A的 VoIP业务对应的索引为 N2。 当交换机的接收端口 是 X4,接入的报文携带的 VLAN信息包括: VLAN为 VLAN30,外层 VLAN 为 VLAN500, 那么, 根据表 5, 可以确定第三 QoS索引为 N4。 即用户 B 的 IPTV业务的 4艮文对应 QoS索引为 N4。 当然, 不同的用户终端的不同业 务, 对应的第三 QoS索引也不同, 具体就不在累述了。  Here, according to the correspondence between the configured VPN type and the QoS index, and the saved VPN attribute, the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index are as shown in Table 5. Show. According to Table 5, when the receiving port of the switch is X3, the VLAN information carried in the accessed packet includes: the inner VLAN is VLAN 20 and the outer VLAN is VLAN 400. Then, according to Table 5, the third QoS index can be determined. For N2. That is, the index corresponding to the VoIP service of user A is N2. When the receiving port of the switch is X4, the VLAN information carried in the packets is as follows: VLAN is VLAN 30 and outer VLAN is VLAN 500. Then, according to Table 5, the third QoS index can be determined as N4. That is, the QoS index corresponding to User B's IPTV service is N4. Of course, different services of different user terminals have corresponding third QoS indexes, and the details are not exhaustive.
步骤 303:根据配置的 QoS索引与 QoS策略的对应关系,确定第三 QoS 索引对应的 QoS策略。  Step 303: Determine a QoS policy corresponding to the third QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
配置的 QoS索引与 QoS策略的对应关系如表 6所示,当第三 QoS索引 为 N2时, 根据表 6, 确定对应的 QoS策略为 QoS策略 1 ; 当第三 QoS索 引为 N4时, 根据表 6, 确定对应的 QoS策略为 QoS策略 2。  The corresponding relationship between the configured QoS index and the QoS policy is as shown in Table 6. When the third QoS index is N2, according to Table 6, the corresponding QoS policy is determined as QoS policy 1; when the third QoS index is N4, according to the table 6. Determine the corresponding QoS policy as QoS Policy 2.
步骤 304: 根据确定的 QoS策略对接收到的报文进行 QoS处理。 本流 程结束。  Step 304: Perform QoS processing on the received packet according to the determined QoS policy. This process ends.
当然, 本发明实施例中, 外层 VLAN表示业务类型并不限于此, 其他 的不同的业务类型都可以用不同外层 VLAN进行表示。  Of course, in the embodiment of the present invention, the outer VLAN indicates that the service type is not limited to this, and other different service types may be represented by different outer VLANs.
根据上述对 VPN进行 QoS处理的方法, 可以构建一种对 VPN流量进 行 QoS处理的装置, 参见图 4, 包括: 配置单元 100、 查找单元 200和处理 单元 300。  According to the foregoing method for performing QoS processing on the VPN, an apparatus for performing QoS processing on the VPN traffic may be constructed. Referring to FIG. 4, the configuration unit 100 includes a configuration unit 100, a searching unit 200, and a processing unit 300.
配置单元 100, 用于配置属性信息与 QoS策略的对应关系, 其中, 所 述属性信息包括: VPN类型和 /或 VPN接入属性。 查找单元 200, 用于当接收到虚拟专用网报文时, 根据配置单元配置的 VPN属性信息与 QoS策略的对应关系, 确定所述报文的 VPN属性信息对 应的 QoS策略。 本发明实施例中, 配置单元 100可以针对每一个 VPN配置对应的一个 QoS策略, 即针对 VPN类型配置 QoS策略; 或者, 针对每一个 VPN的接 入来配置对应的一个 QoS策略, 即针对 VPN接入属性配置 QoS策略; 或 者, 针对其中一些 VPN釆用每一个 VPN配置对应的一个 QoS策略, 其他 的一些 VPN釆用每一个 VPN的接入来配置对应一个 QoS策略。 The configuration unit 100 is configured to configure a correspondence between the attribute information and the QoS policy, where the attribute information includes: a VPN type and/or a VPN access attribute. The searching unit 200 is configured to determine, according to the correspondence between the VPN attribute information and the QoS policy configured by the configuration unit, the QoS policy corresponding to the VPN attribute information of the packet, when the virtual private network packet is received. In the embodiment of the present invention, the configuration unit 100 may configure a corresponding QoS policy for each VPN, that is, configure a QoS policy for the VPN type; or configure a corresponding QoS policy for each VPN access, that is, for the VPN connection. The ingress attribute configures the QoS policy; or, for some of the VPNs, one QoS policy corresponding to each VPN configuration is used, and some other VPNs use each VPN access to configure a corresponding QoS policy.
因此, 本发明实施例中, 配置单元 100包括:  Therefore, in the embodiment of the present invention, the configuration unit 100 includes:
第一配置子单元, 用于配置 VPN类型与 QoS索引的对应关系, 并根据 配置的所述对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS索引的对应关系。  The first configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the configured correspondence and the saved VPN access attribute.
第二配置子单元, 用于配置 QoS索引与 QoS策略的对应关系。  The second configuration sub-unit is configured to configure a correspondence between the QoS index and the QoS policy.
则, 所述查找单元 200包括:  Then, the searching unit 200 includes:
第一确定子单元,用于根据生成的 VPN接入属性与 QoS索引的对应关 系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第一 QoS索 引。  The first determining sub-unit is configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, the first QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet.
第二确定子单元, 用于根据配置的 QoS索引与 QoS策略的对应关系, 确定所述第一 QoS索引对应的 QoS策略。  And a second determining subunit, configured to determine a QoS policy corresponding to the first QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
或者, 本发明另一实施例中, 配置单元 100包括:  Alternatively, in another embodiment of the present invention, the configuration unit 100 includes:
第三配置子单元, 用于配置 VPN接入属性与 QoS索引的对应关系。 第四配置子单元, 用于配置 QoS索引与 QoS策略的对应关系。  The third configuration sub-unit is configured to configure a correspondence between the VPN access attribute and the QoS index. The fourth configuration sub-unit is configured to configure a correspondence between the QoS index and the QoS policy.
则, 所述查找单元 200包括:  Then, the searching unit 200 includes:
第三确定子单元,用于根据配置的 VPN接入属性与 QoS索引的对应关 系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第二 QoS索 引。 a third determining subunit, configured to correspond to the QoS index according to the configured VPN access attribute And determining a second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet.
第四确定子单元, 用于根据所述 QoS索引与 QoS策略的对应关系, 确 定所述第二 QoS索引对应的 QoS策略。  And a fourth determining subunit, configured to determine a QoS policy corresponding to the second QoS index according to the correspondence between the QoS index and the QoS policy.
在或者, 另一实施例中, 配置单元 100包括:  In another embodiment, the configuration unit 100 includes:
第五配置子单元, 用于配置 VPN类型与 QoS索引的对应关系, 并根据 配置的所述对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS索引的对应关系, 以及配置 VPN接入属性与 QoS索引的对应关系。  The fifth configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the configured correspondence and the saved VPN access attribute, and configure the VPN. Correspondence between access attributes and QoS indexes.
第六配置子单元, 用于配置 QoS索引与 QoS策略的对应关系。  The sixth configuration sub-unit is configured to configure a correspondence between the QoS index and the QoS policy.
则, 所述查找单元包括:  Then, the searching unit includes:
第五确定子单元,用于根据生成的 VPN接入属性与 QoS索引的对应关 系, 以及配置的 VPN接入属性与 QoS 索引的对应关系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第三 QoS索引。  a fifth determining sub-unit, configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, determining VPN access in the VPN attribute information of the packet The third QoS index corresponding to the attribute.
第六确定子单元, 用于根据配置的 QoS索引与 QoS策略对应关系, 确 定所述第三 QoS索引对应的 QoS策略。  And a sixth determining subunit, configured to determine a QoS policy corresponding to the third QoS index according to the configured QoS index and the QoS policy correspondence.
本发明实施例中, PE的接入侧接收到虚拟专用网报文时, 根据配置的 VPN属性信息与 QoS策略的对应关系, 确定所述报文的 VPN属性信息对 应的 QoS策略, 根据确定的 QoS策略对所述 文进行 QoS处理。 其中, VPN属性信息包括:接入 VPN类型和 /或 VPN接入属性,这样不仅能在 PE 设备的接入侧实现针对 VPN流量的 QoS, 而且, 能够实现对 VPN内不同 接入的 QoS保证。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  In the embodiment of the present invention, when the access side of the PE receives the virtual private network packet, the QoS policy corresponding to the VPN attribute information of the packet is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy, according to the determined The QoS policy performs QoS processing on the text. The VPN attribute information includes: access VPN type and/or VPN access attribute, so that not only the QoS for VPN traffic can be implemented on the access side of the PE device, but also the QoS guarantee for different access in the VPN can be realized. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种对虚拟专用网 VPN流量进行服务质量 QoS处理的方法, 其特 征在于, 包括:  A method for performing quality of service QoS processing on VPN traffic of a virtual private network, wherein the method includes:
当接收到 VPN报文时, 根据配置的 VPN属性信息与 QoS策略的对应 关系, 确定所述"¾文的 VPN属性信息对应的 QoS策略; 其中, 所述 VPN 属性信息包括: VPN类型和 /或 VPN接入属性;  When the VPN packet is received, the QoS policy corresponding to the VPN attribute information of the "3⁄4 text" is determined according to the corresponding relationship between the configured VPN attribute information and the QoS policy; wherein the VPN attribute information includes: a VPN type and/or VPN access attribute;
2、 如权利要求 1所述的方法, 其特征在于, 2. The method of claim 1 wherein:
所述配置 VPN属性信息与 QoS策略的对应关系包括:  The corresponding relationship between the configured VPN attribute information and the QoS policy includes:
配置 VPN类型与 QoS索引的对应关系, 并根据所述对应关系, 以及保 存的 VPN接入属性, 生成 VPN接入属性与 QoS索引的对应关系;  Configuring a correspondence between the VPN type and the QoS index, and generating a correspondence between the VPN access attribute and the QoS index according to the corresponding relationship and the saved VPN access attribute;
配置 QoS索引与 QoS策略的对应关系;  Configure the correspondence between the QoS index and the QoS policy.
则, 所述确定所述 文的 VPN属性信息对应的 QoS策略包括: 根据生成的 VPN接入属性与 QoS索引的对应关系, 确定所述报文的 The determining the QoS policy corresponding to the VPN attribute information of the text includes: determining, according to the correspondence between the generated VPN access attribute and the QoS index, the packet
VPN属性信息中的 VPN接入属性对应的第一 QoS索引; The first QoS index corresponding to the VPN access attribute in the VPN attribute information;
根据配置的 QoS索引与 QoS策略的对应关系,确定所述第一 QoS索引 对应的 QoS策略。  And determining, according to the corresponding relationship between the configured QoS index and the QoS policy, the QoS policy corresponding to the first QoS index.
3、 如权利要求 1所述的方法, 其特征在于,  3. The method of claim 1 wherein:
所述配置 VPN属性信息与 QoS策略的对应关系包括:  The corresponding relationship between the configured VPN attribute information and the QoS policy includes:
配置 VPN接入属性与 QoS索引的对应关系;  Configure the mapping between VPN access attributes and QoS indexes.
配置 QoS索引与 QoS策略的对应关系;  Configure the correspondence between the QoS index and the QoS policy.
则, 所述确定所述 文的 VPN属性信息对应的 QoS策略包括: 根据配置的 VPN接入属性与 QoS索引的对应关系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第二 QoS索引;  The determining the QoS policy corresponding to the VPN attribute information of the packet includes: determining, according to the corresponding relationship between the configured VPN access attribute and the QoS index, the VPN access attribute corresponding to the VPN attribute information of the packet Two QoS indexes;
根据配置的 QoS索引与 QoS策略的对应关系,确定所述第二 QoS索引 对应的 QoS策略。 Determining the second QoS index according to a correspondence between the configured QoS index and the QoS policy Corresponding QoS policy.
4、 如权利要求 1所述的方法, 其特征在于,  4. The method of claim 1 wherein:
所述配置 VPN属性信息与 QoS策略的对应关系包括:  The corresponding relationship between the configured VPN attribute information and the QoS policy includes:
配置 VPN类型与 QoS索引的对应关系, 并根据所述对应关系, 以及保 存的 VPN接入属性, 生成 VPN接入属性与 QoS索引的对应关系;  Configuring a correspondence between the VPN type and the QoS index, and generating a correspondence between the VPN access attribute and the QoS index according to the corresponding relationship and the saved VPN access attribute;
配置 VPN接入属性与 QoS索引的对应关系;  Configure the mapping between VPN access attributes and QoS indexes.
配置 QoS索引与 QoS策略的对应关系;  Configure the correspondence between the QoS index and the QoS policy.
则, 所述确定所述 文的 VPN属性信息对应的 QoS策略包括: 根据生成的 VPN接入属性与 QoS索引的对应关系, 以及配置的 VPN 接入属性与 QoS索引的对应关系,确定所述报文的 VPN属性信息中的 VPN 接入属性对应的第三 QoS索引;  The determining the QoS policy corresponding to the VPN attribute information of the text includes: determining, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, The third QoS index corresponding to the VPN access attribute in the VPN attribute information of the text;
根据配置的 QoS索引与 QoS策略对应关系,确定所述第三 QoS索引对 应的 QoS策略。  And determining, according to the configured QoS index and the QoS policy, the QoS policy corresponding to the third QoS index.
5、 一种对虚拟专用网流量进行服务质量处理的装置, 其特征在于, 包 括:  5. A device for performing quality of service processing on virtual private network traffic, characterized in that:
配置单元,用于配置虚拟专用网 VPN属性信息与服务质量 QoS策略的 对应关系, 其中, 所述属性信息包括: VPN类型和 /或 VPN接入属性; 查找单元,用于当接收到虚拟专用网报文时,根据配置单元配置的 VPN 属性信息与 QoS策略的对应关系, 确定所述"¾文的 VPN属性信息对应的 QoS策略;  a configuration unit, configured to configure a correspondence between the virtual private network VPN attribute information and the quality of service QoS policy, where the attribute information includes: a VPN type and/or a VPN access attribute; and a searching unit, configured to receive the virtual private network And determining, according to the correspondence between the VPN attribute information and the QoS policy configured by the configuration unit, the QoS policy corresponding to the VPN attribute information of the “3⁄4 text”;
6、 如权利要求 5所述的装置, 其特征在于, 6. Apparatus according to claim 5 wherein:
所述配置单元包括:  The configuration unit includes:
第一配置子单元, 用于配置 VPN类型与 QoS索引的对应关系, 并根据 所述对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS索 引的对应关系; The first configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a VPN access attribute and a QoS cable according to the corresponding relationship and the saved VPN access attribute. Corresponding relationship
第二配置子单元, 用于配置 QoS索引与 QoS策略的对应关系; 则, 所述查找单元包括:  a second configuration subunit, configured to configure a correspondence between the QoS index and the QoS policy;
第一确定子单元,用于根据生成的 VPN接入属性与 QoS索引的对应关 系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第一 QoS索 引;  a first determining sub-unit, configured to determine, according to the corresponding relationship between the generated VPN access attribute and the QoS index, the first QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet;
第二确定子单元, 用于根据配置的 QoS索引与 QoS策略的对应关系, 确定所述第一 QoS索引对应的 QoS策略。  And a second determining subunit, configured to determine a QoS policy corresponding to the first QoS index according to the corresponding relationship between the configured QoS index and the QoS policy.
7、 如权利要求 5所述的装置, 其特征在于,  7. Apparatus according to claim 5 wherein:
所述配置单元包括:  The configuration unit includes:
第三配置子单元, 用于配置 VPN接入属性与 QoS索引的对应关系; 第四配置子单元, 用于配置 QoS索引与 QoS策略的对应关系; 则, 所述查找单元包括:  a third configuration sub-unit, configured to configure a correspondence between a VPN access attribute and a QoS index; a fourth configuration sub-unit, configured to configure a correspondence between the QoS index and the QoS policy;
第三确定子单元,用于根据配置的 VPN接入属性与 QoS索引的对应关 系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第二 QoS索 引;  a third determining sub-unit, configured to determine, according to the corresponding relationship between the configured VPN access attribute and the QoS index, the second QoS index corresponding to the VPN access attribute in the VPN attribute information of the packet;
第四确定子单元, 用于根据所述 QoS索引与 QoS策略的对应关系, 确 定所述第二 QoS索引对应的 QoS策略。  And a fourth determining subunit, configured to determine a QoS policy corresponding to the second QoS index according to the correspondence between the QoS index and the QoS policy.
8、 如权利要求 5所述的装置, 其特征在于,  8. Apparatus according to claim 5 wherein:
所述配置单元包括:  The configuration unit includes:
第五配置子单元, 用于配置 VPN类型与 QoS索引的对应关系, 并根据 所述对应关系, 以及保存的 VPN接入属性, 生成 VPN接入属性与 QoS索 引的对应关系, 以及配置 VPN接入属性与 QoS索引的对应关系;  The fifth configuration sub-unit is configured to configure a correspondence between the VPN type and the QoS index, and generate a correspondence between the VPN access attribute and the QoS index according to the corresponding relationship and the saved VPN access attribute, and configure VPN access. Correspondence between attributes and QoS indexes;
第六配置子单元, 用于配置 QoS索引与 QoS策略的对应关系; 则, 所述查找单元包括: 第五确定子单元,用于根据生成的 VPN接入属性与 QoS索引的对应关 系, 以及配置的 VPN接入属性与 QoS 索引的对应关系, 确定所述报文的 VPN属性信息中的 VPN接入属性对应的第三 QoS索引; a sixth configuration sub-unit, configured to configure a correspondence between the QoS index and the QoS policy; a fifth determining sub-unit, configured to determine, according to the correspondence between the generated VPN access attribute and the QoS index, and the corresponding relationship between the configured VPN access attribute and the QoS index, determining VPN access in the VPN attribute information of the packet a third QoS index corresponding to the attribute;
第六确定子单元, 用于根据配置的 QoS索引与 QoS策略对应关系, 确 定所述第三 QoS索引对应的 QoS策略。  And a sixth determining subunit, configured to determine a QoS policy corresponding to the third QoS index according to the configured QoS index and the QoS policy correspondence.
PCT/CN2011/071836 2010-04-01 2011-03-15 Quality of service processing method and device for virtual private network traffic WO2011120381A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010142018.7 2010-04-01
CN201010142018A CN101848143A (en) 2010-04-01 2010-04-01 Method and device for processing QoS of flow of virtual private network

Publications (1)

Publication Number Publication Date
WO2011120381A1 true WO2011120381A1 (en) 2011-10-06

Family

ID=42772607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071836 WO2011120381A1 (en) 2010-04-01 2011-03-15 Quality of service processing method and device for virtual private network traffic

Country Status (2)

Country Link
CN (1) CN101848143A (en)
WO (1) WO2011120381A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848143A (en) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 Method and device for processing QoS of flow of virtual private network
CN101834804B (en) * 2010-05-27 2015-01-28 中兴通讯股份有限公司 Method and device for realizing speed limit for traffic of virtual private networks (VPN)
CN102546546B (en) * 2010-12-21 2016-08-24 南京中兴新软件有限责任公司 Mark net realizes the method and system of QoS
WO2012175011A1 (en) * 2011-06-20 2012-12-27 中兴通讯股份有限公司 Method and device for realizing qos in virtual private network
CN102957609B (en) * 2011-08-26 2016-01-20 北京大学 The method and apparatus of Message routing
CN106209440B (en) * 2016-06-28 2019-11-12 新华三技术有限公司 Service quality QoS implementation method and device in software defined network SDN
CN109274601A (en) * 2018-08-15 2019-01-25 迈普通信技术股份有限公司 Service quality scheduling method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062566B2 (en) * 2002-10-24 2006-06-13 3Com Corporation System and method for using virtual local area network tags with a virtual private network
CN101005436A (en) * 2007-01-23 2007-07-25 华为技术有限公司 Method and device for providing service quality in two layer virtual special network
EP2066081A1 (en) * 2007-11-30 2009-06-03 Ciena Corporation Flow control using referential tables in a carrier ethernet network
CN101453400A (en) * 2007-12-07 2009-06-10 中国电信股份有限公司 Method and forwarding device for ensuring quality of service of virtual private network service
CN101488914A (en) * 2009-01-06 2009-07-22 杭州华三通信技术有限公司 Quality of service implementing method and provide edge equipment
CN101848143A (en) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 Method and device for processing QoS of flow of virtual private network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7062566B2 (en) * 2002-10-24 2006-06-13 3Com Corporation System and method for using virtual local area network tags with a virtual private network
CN101005436A (en) * 2007-01-23 2007-07-25 华为技术有限公司 Method and device for providing service quality in two layer virtual special network
EP2066081A1 (en) * 2007-11-30 2009-06-03 Ciena Corporation Flow control using referential tables in a carrier ethernet network
CN101453400A (en) * 2007-12-07 2009-06-10 中国电信股份有限公司 Method and forwarding device for ensuring quality of service of virtual private network service
CN101488914A (en) * 2009-01-06 2009-07-22 杭州华三通信技术有限公司 Quality of service implementing method and provide edge equipment
CN101848143A (en) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 Method and device for processing QoS of flow of virtual private network

Also Published As

Publication number Publication date
CN101848143A (en) 2010-09-29

Similar Documents

Publication Publication Date Title
JP5944988B2 (en) E-tree using two pseudowires between edge routers with enhanced learning method and system
US7881314B2 (en) Network device providing access to both layer 2 and layer 3 services on a single physical interface
WO2011120381A1 (en) Quality of service processing method and device for virtual private network traffic
TWI523459B (en) Multipath transmission control protocol proxy
CN102215170B (en) Method and processor for restraining Internet storm
US20110299414A1 (en) Preserving quality of service across trill networks
WO2009021458A1 (en) Method, apparatus and system for connecting layer2 network and layer3 network
US10027587B1 (en) Non-recirculating label switching packet processing
WO2011116695A1 (en) Method and network processor for implementing multi-service forwarding
WO2011063678A1 (en) Implementing method and device for virtual local area network stack accessing virtual private wire service
US9282006B2 (en) Method and system of enhancing multiple MAC registration protocol (MMRP) for protocol internetworking
WO2012034455A1 (en) Method and system for configuring quality of service mapping in vpls network
WO2011160464A1 (en) Method for forwarding message and switch chip
WO2007076679A1 (en) A method and device for quality of service management based on virtual local area network stack
JP2004072708A (en) Mpls vpn gateway-based network method
WO2013097453A1 (en) Method for achieving e-tree service and provider edge device
WO2011147233A1 (en) Method and device for realizing flow rate-limiting in virtual private network
WO2013117165A1 (en) Method and node for realizing e-tree service based on vpls
WO2012068907A1 (en) Method and device for determining forwarding path in pw dual homing protection environment
JP5840211B2 (en) Pseudowire providing an in-band control channel with offset
WO2013037242A1 (en) Method and device for forwarding message of virtual private network
CN108023804B (en) Method for transmitting dynamic stream and routing equipment
WO2012094912A1 (en) Method, apparatus and system for selecting network device
Sequeira CCIE Routing and Switching Exam Quick Reference: Exam 350-001 V3. 1
WO2015143599A1 (en) Method for determining storage location for tables, forwarding device, and controller

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: 11761955

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11761955

Country of ref document: EP

Kind code of ref document: A1