WO2012000248A1 - Système et procédé permettant de réaliser une limitation de vitesse de services - Google Patents
Système et procédé permettant de réaliser une limitation de vitesse de services Download PDFInfo
- Publication number
- WO2012000248A1 WO2012000248A1 PCT/CN2010/077713 CN2010077713W WO2012000248A1 WO 2012000248 A1 WO2012000248 A1 WO 2012000248A1 CN 2010077713 W CN2010077713 W CN 2010077713W WO 2012000248 A1 WO2012000248 A1 WO 2012000248A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- downlink service
- user
- service data
- data flow
- rate
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0064—Arbitration, scheduling or medium access control aspects
Definitions
- the present invention relates to the field of communications, and in particular, to a system and method for implementing a service rate limit.
- OAN Optical Access Network
- Passive Optical Network is a point-to-multipoint optical fiber access technology. It consists of 0LT (Optical Line Terminal), 0NU (Optical Network Unit), and ODN (Optical Distribution Network).
- the ODN is a point-to-multipoint structure, and an 0LT11 connects multiple 0NUs through 0DN12, as shown in Figure 1.
- the home gateway under the user interface is an application scenario that the operator is committed to promote.
- the telecom operator defines a more detailed specification for the home gateway.
- a variety of services are aggregated to the user ports of the ONU through the home gateway, which correspond to different vlan (Virtual Local Area Network). Depending on whether vlan translation and vlan translation mode are used, they can be combined into multiple business scenarios.
- the speed limit function is a basic function that the ONU must have. The ONU not only supports the ingress and egress speed limit of the port, but also needs to limit the speed of the service.
- the speed limit for traffic flow is implemented by traffic classification, and the switch chip generally provides this function.
- Stream classification is a message classification and filtering engine with parsing, searching, strategy, speed limit and statistics functions.
- Different switch chips support different parsing fields, and the execution strategy is different.
- Each flow classification rule has a finite-speed (meter) function, and the rate limit of the corresponding data stream is implemented by setting cir (committed information rate) and cbs (committed burst size).
- Some switch chips also support higher levels
- the speed limit modes such as SrTCM (Single-rate Three Color Mark) and TrTCM (Two-rate Three Color Mark), enable more complex functions.
- the uplink data flows on the user side are allocated different vlans according to different services.
- Traffic classification can easily achieve service rate limiting.
- Directly match the vlan field bind the rule to the user port to uniquely mark each user's different services, and set the meter speed limit for the marked data stream.
- the downlink data stream rate limit is cumbersome and can be summarized as the following three cases:
- the downstream data stream can be matched to vlan according to the traffic classifier according to the vlan unique tag, and the rule is bound to the uplink port to mark different services, and the rate limit of the marked data flow is set.
- the present invention provides a system and method for implementing service rate limiting, which can solve the problem that the downlink service data flow cannot be effectively limited in the prior art.
- the present invention provides a method for implementing a service rate limit, including: performing, for a user, a mode of using a virtual local area network, using a service virtual local area network (svlan) and a destination medium access control address (dst_mac) of a downlink service to implement the downlink Speed limit of the business; or,
- LAN virtual local area network
- the method further includes: extracting, by the received uplink data packet, a source medium access control (MAC) address of the uplink data packet and a user virtual local area network (cvlan), and according to The cvlan searches for a corresponding svlan and a speed limit value;
- MAC medium access control
- cvlan user virtual local area network
- the source mac address is the dst_mac of the downlink service data stream.
- the method has the following characteristics:
- the rate limit of the service is implemented by the svlan and the dst-mac of the downlink service.
- the svlan and the dst-mac of the downlink service data flow are used to represent the downlink service data flow, and The rate of the downlink service data stream is limited according to the found speed limit value.
- the method may also have the following characteristics:
- the method further includes: binding a traffic classification rule to the uplink port, and extracting a downlink service data flow that needs to be rate-limited according to the traffic classification rule, and then modifying the setting to the setting User side exit queue.
- the present invention also provides a system for implementing a service rate limit, including a setting module and a sending module; for a mode in which a user uses a virtual local area network,
- the setting module is configured to set a corresponding speed limit value for each downlink service data flow; the sending module is configured to: when sending the downlink service data flow, access the control address through the service virtual local area network (svlan) and the destination medium of the downlink service (dst-mac) to achieve a rate limit on the downlink service; or:
- the setting module is configured to set a corresponding user-side egress queue for the downlink service data flow that needs to be limited in speed, and set a speed limit value for the user-side egress queue;
- the sending module is configured to deliver the downlink service data flow that needs to be limited in speed from the set user-side egress queue.
- the system further includes an extracting module configured to extract a source medium access control (mac) address of the uplink data packet from the received uplink data packet and a user virtual local area network (cvlan), And according to the cvlan, the corresponding svlan and the speed limit value are searched;
- a source medium access control (mac) address of the uplink data packet from the received uplink data packet and a user virtual local area network (cvlan)
- cvlan user virtual local area network
- the source mac address is the dst_mac of the downlink service data stream.
- the sending module is configured to use the svlan and the dst_mac of the downlink service data flow to indicate the downlink service data flow, and limit the downlink service data flow according to the rate limit value corresponding to the cvlan.
- the setting module is further configured to bind a traffic classification rule to the uplink port;
- the system further includes: an extraction module, configured to extract a downlink service data flow that needs to be limited according to the flow classification rule;
- the sending module is configured to forcibly modify the egress queue of the downlink service data flow that needs to be rate-limited to the set user-side egress queue.
- the present invention provides a system and method for implementing service rate limiting, which can effectively limit the rate of downlink service data flows, especially when one user uses one vlan mode and multiple users use the same service vlan.
- the service speed limit is met to meet the needs of operators.
- FIG. 1 is a schematic diagram of a PON structure in the prior art
- FIG. 2 is a schematic diagram of service flow distribution in a service scenario in which vlan is aggregated in the prior art
- FIG. 3 is a schematic diagram of a service rate limit when multiple users use the same service vlan in the embodiment of the present invention
- FIG. 5 is a flow chart corresponding to the second embodiment of the method of the present invention. Preferred embodiment of the invention
- the present invention is directed to the above-mentioned problem of rate limiting of service flows, and provides a system and method for realizing service rate limiting, which can implement service rate limiting in different scenarios and meet the requirements of operators.
- the embodiment provides a system for implementing a service rate limit, which includes a setting module, an extracting module, and a sending module.
- This embodiment corresponds to a mode in which a user uses a vlan.
- the setting module is configured to set a corresponding speed limit value for each downlink service data flow
- the extraction module is configured to extract src_mac (source mac address) and user virtual local area network (cvlan) from the received uplink data packet, and find a corresponding service virtual local area network (svlan) and a speed limit value according to cvlan; the src-mac is The dst-mac (destination mac address) of the downlink service data stream sent.
- the sending module is configured to: when the downlink service data stream is sent, the downlink service data flow is uniquely represented by the svlan and the dst-mac at the ingress port, and the downlink service data flow is limited according to the rate limit value of the service data flow. Specifically, when the rate of the downlink service data stream that is sent exceeds the rate limit value, the service data stream is discarded.
- the embodiment provides a system for implementing a service rate limit, which includes a setting module, an extracting module, and a sending module.
- This embodiment corresponds to a mode in which multiple users use the same service vlan.
- the setting module is configured to bind the traffic classification rule to the uplink port, and match the multicast vlan, that is, set a matching keyword for the multicast service data flow that needs to be rate-limited; and set the corresponding user side for the downlink data flow that needs to be rate-limited.
- the egress queue is also set to set the corresponding speed limit value for the egress queue with the speed limit requirement for each user port.
- the extraction module is configured to: extract the downlink data flow that needs to be limited according to the set traffic classification rule; and the sending module is configured to: when the downlink data flow is sent, for the downlink data flow that needs to be limited, the egress queue of the downlink data flow is forcibly modified. On the set egress queue; for the downstream traffic that does not require the rate limit, modify its egress queue to the set egress queue with no speed limit requirement.
- This embodiment provides a method for implementing service rate limiting, which is separately performed for different scenarios.
- each user corresponds to one svlan. Because the mac (media access control) address of each user is different, the service can be marked according to the svlan+ destination mac.
- the specific processing steps are as shown in Figure 4. :
- Step 101 Set the rate limit of the uplink and downlink services when vlan translation (that is, vlan conversion) is configured.
- vlan translation that is, vlan conversion
- For the uplink service it can be directly marked according to the port +cvlan (service vlan), and the rate limit of the marked data stream is set. If the upstream vlan translation is also implemented by traffic classification, the vlan translation action needs to be set.
- the rate limit value of the service needs to be saved.
- the rate limit value corresponds to cvlan, that is, each service corresponds to a speed limit value.
- Step 102 The user port first sends a special protocol packet (ppoe, etc.), and captures (trap) the protocol packet to the CPU.
- a special protocol packet ppoe, etc.
- Step 103 Parse the protocol of the trap to the CPU, extract the src_mac (source mac address) and cvlan, and find the svlan and the speed limit value according to cvlan.
- protocol packet vlan of tra to cpu must be cvlan (because cvlan and svlan are N:1, you cannot find cvlan through svlan).
- Step 104 For the downlink service data flow, the src-mac address extracted in step 3 is the dst-mac (destination mac address) of the downlink service data flow, and the flow classification rule is bound to the uplink port, that is, the extraction request limit is set.
- the keyword of the fast service data stream is uniquely represented by the svlan+dst-mac at the entrance of the uplink port.
- the values of sv l an and dst-mac are svlan and src_nmc in step 3, respectively.
- Step 105 Set the action of the traffic classification rule at the exit of the user interface, that is, perform matching according to the set keyword, extract the downlink service data flow that needs to be rate-limited, and perform vlan translation on the downlink service data flow, that is, svlan+dst —
- the mac is converted to cvlan, and the rate limit is determined based on the cvlan.
- the rate limit of the service is discarded. When the rate of the service data flow exceeds the rate limit, the service data stream is discarded.
- Embodiment 2 For a scenario where multiple users use the same service VLAN, if the switch chip cannot match the dst-port, set the corresponding user-side egress queue for the downlink service data flow that needs to be limited, and set the rate-limiting downlink service data flow from the setting. The egress queue is delivered, and the rate limit of the queue is set at the exit of the user port.
- Multicast services fall into this category, and multicast services are heavily promoted by operators.
- the following is an example of multicast services.
- the multicast service uses the single-copy broadcast mode.
- the multicast service distribution control point is set on the ONU device.
- the multicast data stream is sent to the uplink port and forwarded to different user ports according to the multicast address table.
- the broadcast stream is copied to a different cvlan.
- the chip switch chip that implements the service rate limit can also support the queue rate limit function.
- Each queue of a port can set a speed limit threshold. After the rate of the downlink service data exceeds the queue threshold, even if the port is not congested, the data stream will be discarded and will not be sent out from other queues.
- Step 201 Bind the traffic classification rule to the uplink port, and match the multicast vlan, that is, set a matching keyword for the multicast service data flow that needs to be rate-limited; and set a corresponding user-side outlet for the downlink service data flow that needs to be rate-limited. queue.
- Step 202 Extract the multicast data stream that needs to be rate-limiting by using the set traffic classification rule. For each multicast data stream that needs to be rate-limited, force the modification of the egress queue (queuex) of the multicast data stream, and modify it to the setting. On the exit queue.
- queuex egress queue
- the ports are all corresponding to an egress queue that receives the multicast data stream.
- the rate limit values set on the user-side egress of each port may be the same or different.
- Step 203 Bind the traffic classification rule to the uplink port, and modify the exit queue of the data stream that does not need to be rate-limited, and modify it to a queue different from the rate limit queue.
- Step 204 Set the rate limit value of each queue on the user interface, that is, cir and cbs, and implement the rate limit on the corresponding queue according to the speed limit value.
- Some switch chips need to set all queues at the same time to take effect. In this case, the cir and cbs of the queues that do not need to be speed limit can be set to the maximum allowed.
- the system and method for realizing the service rate limit of the present invention for a mode in which a user uses a virtual local area network, the speed limit of the service is implemented by the svlan and the dst-mac of the downlink service;
- the switch chip cannot match the forwarding port, set the corresponding user-side egress queue for the downlink service data flow that needs to be rate-limited, and deliver the downlink service data flow that needs to be rate-limited to the set user-side egress queue.
- the rate limit of the user-side egress queue is set on the egress of the user side to effectively limit the rate of the downlink service data flow to meet the requirements of the operator.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
La présente invention concerne un système et un procédé permettant de réaliser une limitation de vitesse de services. Ledit procédé consiste à : la limitation de vitesse de service en liaison descendante est réalisée par un réseau local virtuel de service (svlan) et par une adresse de commande d'accès au support de destination (dst_mac) du service en liaison descendante dans le mode selon lequel un seul utilisateur utilise un seul réseau local virtuel ; ou une file d'attente de sortie correspondante côté utilisateur est définie pour le flux de données de service en liaison descendante qui nécessite une limitation de vitesse, le flux de données de service en liaison descendante qui nécessite la limitation de vitesse est expédié depuis la file d'attente de sortie définie côté utilisateur, et une valeur de limitation de vitesse de la file d'attente de sortie côté utilisateur est définie à la sortie du côté utilisateur dans le mode selon lequel de multiples utilisateurs utilisent un seul réseau local virtuel et lorsqu'une puce de commutateur ne peut pas correspondre à un port d'expédition. Le procédé peut réaliser avec efficacité la limitation de vitesse du flux de données de service en liaison descendante.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010216827.8A CN101883050B (zh) | 2010-06-30 | 2010-06-30 | 一种实现业务限速的系统及方法 |
| CN201010216827.8 | 2010-06-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012000248A1 true WO2012000248A1 (fr) | 2012-01-05 |
Family
ID=43054944
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2010/077713 Ceased WO2012000248A1 (fr) | 2010-06-30 | 2010-10-13 | Système et procédé permettant de réaliser une limitation de vitesse de services |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101883050B (fr) |
| WO (1) | WO2012000248A1 (fr) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104885384A (zh) * | 2013-12-20 | 2015-09-02 | 华为技术有限公司 | 一种对光网络单元onu整体限速的方法及装置 |
| CN111866958A (zh) * | 2020-06-10 | 2020-10-30 | 新华三技术有限公司 | 一种限速方法及装置 |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103780982B (zh) * | 2012-10-25 | 2018-03-27 | 上海斐讯数据通信技术有限公司 | Olt设备及epon系统 |
| CN104253765B (zh) * | 2013-06-28 | 2017-11-24 | 华为技术有限公司 | 一种数据包交换方法、装置以及接入交换机和交换系统 |
| CN106230741A (zh) * | 2016-09-18 | 2016-12-14 | 杭州迪普科技有限公司 | 一种对报文进行限速的方法和装置 |
| CN107743099B (zh) * | 2017-08-31 | 2021-08-03 | 华为技术有限公司 | 数据流处理方法、装置以及存储介质 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101136840A (zh) * | 2006-08-29 | 2008-03-05 | 郑州威科姆技术开发有限公司 | 基于软件实现的双网口数据转发及速率控制方法 |
| CN101547137A (zh) * | 2008-03-27 | 2009-09-30 | 华为技术有限公司 | 数据发送的方法、装置及通信设备 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008119813A1 (fr) * | 2007-04-02 | 2008-10-09 | Nokia Siemens Networks Oy | Procédé et dispositif pour limiter un nombre de canaux de multidiffusion |
-
2010
- 2010-06-30 CN CN201010216827.8A patent/CN101883050B/zh not_active Expired - Fee Related
- 2010-10-13 WO PCT/CN2010/077713 patent/WO2012000248A1/fr not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101136840A (zh) * | 2006-08-29 | 2008-03-05 | 郑州威科姆技术开发有限公司 | 基于软件实现的双网口数据转发及速率控制方法 |
| CN101547137A (zh) * | 2008-03-27 | 2009-09-30 | 华为技术有限公司 | 数据发送的方法、装置及通信设备 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104885384A (zh) * | 2013-12-20 | 2015-09-02 | 华为技术有限公司 | 一种对光网络单元onu整体限速的方法及装置 |
| CN104885384B (zh) * | 2013-12-20 | 2017-04-19 | 华为技术有限公司 | 一种对光网络单元onu整体限速的方法及装置 |
| US9985795B2 (en) | 2013-12-20 | 2018-05-29 | Huawei Technologies Co., Ltd. | Method and apparatus for optical network unit ONU overall rate limiting |
| CN111866958A (zh) * | 2020-06-10 | 2020-10-30 | 新华三技术有限公司 | 一种限速方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101883050B (zh) | 2015-08-12 |
| CN101883050A (zh) | 2010-11-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101072183B (zh) | 数据流的服务质量保证方法和装置 | |
| CN102461089B (zh) | 用于使用标签进行策略执行的方法和设备 | |
| KR100564277B1 (ko) | Ip 액세스 네트워크에서 서비스 품질이 보증된 서비스를제공하는 방법 | |
| US8284789B2 (en) | Methods and apparatus for providing dynamic data flow queues | |
| CN101516046B (zh) | 以太网无源光网络传输方法 | |
| CN103428094A (zh) | 开放流OpenFlow系统中的报文转发方法及装置 | |
| WO2007128208A1 (fr) | Dispositif d'accès, procédé et moyen de contrôle de largeur de bande assuré par le dispositif d'accès | |
| CN101883050B (zh) | 一种实现业务限速的系统及方法 | |
| JP2002044139A (ja) | ルータ装置及びそれに用いる優先制御方法 | |
| WO2012159525A1 (fr) | Procédé et système de commande de service pour réseau autonome | |
| CN103023769A (zh) | Onu实现二层广播包和未知包转发的方法 | |
| CN101789875B (zh) | 一种数据流转发的方法和装置、路由器 | |
| WO2011035607A1 (fr) | Procédé et appareil de commande de qualité de service d'extrémité à extrémité sur la base d'un système de réseau optique passif de l'ordre du gigabit | |
| WO2013086808A1 (fr) | Procédé et dispositif d'émission de services pour un réseau optique passif à capacité gigabit | |
| CN101567841A (zh) | 一种转发数据的方法、装置及系统 | |
| CN101699817A (zh) | 报文上送cpu的控制方法和装置 | |
| CN101686183A (zh) | 一种控制分组语音业务传输的方法及装置与系统 | |
| CN102377645B (zh) | 交换芯片及其实现方法 | |
| WO2014194725A1 (fr) | Méthode et dispositif de gestion de paquets | |
| CN103888307A (zh) | 用于优化深度包检测的方法、用户侧板卡和宽带接入网关 | |
| JP5164744B2 (ja) | 拠点間通信のための通信ネットワークシステム及び帯域制御方法 | |
| CN107210969B (zh) | 一种基于软件定义网络的数据处理方法及相关设备 | |
| CN104202229B (zh) | 一种无源光网络olt设备qinq报文处理方法及系统 | |
| US12483490B2 (en) | Method for generating detection policy, device, and system | |
| US10541935B2 (en) | Network processors |
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: 10853951 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: 10853951 Country of ref document: EP Kind code of ref document: A1 |