WO2009065349A1 - Layer 2 control proxy method, device and system - Google Patents

Layer 2 control proxy method, device and system Download PDF

Info

Publication number
WO2009065349A1
WO2009065349A1 PCT/CN2008/073068 CN2008073068W WO2009065349A1 WO 2009065349 A1 WO2009065349 A1 WO 2009065349A1 CN 2008073068 W CN2008073068 W CN 2008073068W WO 2009065349 A1 WO2009065349 A1 WO 2009065349A1
Authority
WO
WIPO (PCT)
Prior art keywords
line
port information
packet
port
proxy
Prior art date
Application number
PCT/CN2008/073068
Other languages
French (fr)
Chinese (zh)
Inventor
Ruobin Zheng
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009065349A1 publication Critical patent/WO2009065349A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • H04L69/085Protocols for interworking; Protocol conversion specially adapted for interworking of IP-based networks with other networks

Landscapes

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

Abstract

An L2C method, device and communication system for supporting line binding. The method includes: a layer 2 control L2C proxy obtaining line port information or line binding port information in a received message; the L2C proxy converting the line port information in the message to line binding port information, or converting the line binding port information in the message to line port information according to the mapping relation of the line binding. According to an embodiment of the present invention, a service provider equipment only needs to manipulate the line binding port, which can guarantee that changes of physical port (or logical port) or of line binding relations will not impact on the service processes provided by the service provider equipment, and also can guarantee that changes of the line binding relation will not impact on access equipment.

Description

一种层二控制代理方法、 装置和系统  Layer 2 control agent method, device and system
本申请要求于 2007 年 11 月 15 日提交中国专利局、 申请号为 200710124638.6、 发明名称为"一种层二控制代理方法、 装置和系统,,的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。  This application claims priority to Chinese Patent Application No. 200710124638.6, entitled "A Layer 2 Control Agent Method, Apparatus and System," filed on November 15, 2007, the entire contents of which are hereby incorporated by reference. Combined in this application.
技术领域 Technical field
本发明涉及通信技术, 具体地说, 涉及一种支持线路捆绑的层二控制代理 的方法、 装置和系统。  The present invention relates to communication technologies, and more particularly to a method, apparatus and system for a Layer 2 control agent that supports line bundling.
背景技术 Background technique
层二控制协议( Layer 2 Control Protocol,以下称 "L2CP" )主要用于拓朴发 现、 线路配置、 线路测试和组播控制。 当接入网为支持新业务而需要在其设备 上增加控制时, 釆用 L2CP通过宽带接入服务器 (Broadband Remote Access Serve,以下称 "BRAS" )控制大量的接入节点 (Access Node,以下称 "AN" ), 可 以减少运营支撑设备对接入网络的每一个设备都控制的负担。  The Layer 2 Control Protocol (L2CP) is mainly used for topology discovery, line configuration, line testing, and multicast control. When the access network needs to add control to its equipment to support new services, the L2CP uses a Broadband Remote Access Service (BRAS) to control a large number of access nodes (Access Node, hereinafter referred to as "AN" ) can reduce the burden on the operational support device to control each device accessing the network.
线路捆绑是一种常用技术, 目前, 其实施方式主要有两种: 1〉将多条接 入线路捆绑起来, 提供更多的带宽、 更长的距离、 更高的可靠性, 典型的就是 数字用户线(Digital Subscriber Line,以下称 "DSL" )线路绑定, 如通用单线对 高速数字用户环路( G.SHDSL )。 比如, 一个视频流带宽 6M, 但 xDSL线路最 大只能提供 4M带宽, 通过将两对 DSL线路捆绑实现传输 6M视频流; 2〉 互 联或者上行线路汇聚, 如链路聚合(Link Aggregation )技术, 链路聚合是把多 条物理链路聚合在一起, 形成一条逻辑链路。  Line bundling is a common technology. Currently, there are two main implementation methods: 1> Bundling multiple access lines to provide more bandwidth, longer distance, and higher reliability. Typically, the number is The subscriber line (Digital Subscriber Line, hereinafter referred to as "DSL") line is bound, such as a universal single-pair high-speed digital subscriber loop (G.SHDSL). For example, a video stream has a bandwidth of 6M, but an xDSL line can only provide a maximum of 4M bandwidth. By bundling two pairs of DSL lines to transmit a 6M video stream; 2> interconnection or uplink aggregation, such as link aggregation (Link Aggregation) technology, chain Road aggregation is the aggregation of multiple physical links to form a logical link.
现有技术中, 数字用户线接入复接器 (Digital Subscriber Line Access Multiplexer,以下称 "DSLAM" )的 DSL物理端口 (或逻辑端口)按 SP ( Service Provier, 服务运营商, 图 1以 Internet运营商 ISP为例)进行物理端口 (或逻 辑端口)分区, ISP通过 L2CP直接控制相应分区后的 DSL物理端口 (或逻辑 端口)。 为了减少层二控制 (Layer 2 Control,以下称 "L2C" ) 消息流量, 引入 L2C代理, 即图 1中的 IWF ( Interworking Function,互连功能), 按 ISP或 AN 对 L2C消息进行过滤,检测和汇聚转发。通常, IWF位于以太网交换机和 BRAS 中。  In the prior art, the DSL physical port (or logical port) of the Digital Subscriber Line Access Multiplexer (hereinafter referred to as "DSLAM") is operated by SP (Service Provier, service operator, Figure 1 is operated by the Internet). For example, the ISP is configured to perform physical port (or logical port) partitioning. The ISP directly controls the DSL physical port (or logical port) of the corresponding partition through the L2CP. In order to reduce the Layer 2 Control (hereinafter referred to as "L2C") message traffic, the L2C proxy is introduced, that is, the IWF (Interworking Function) in Figure 1, and the L2C message is filtered by ISP or AN, and the detection is performed. Convergence forwarding. Typically, the IWF is located in an Ethernet switch and BRAS.
在实现本发明的过程中,发明人发现现有技术至少存在以下问题: L2C对 DSLAM的控制按物理端口进行, 不支持跨 AN或跨电路板以及同一个 AN内 的同一个电路板上不同的物理端口实施线路捆绑的方式。特别地, 当 ISP需要 支持跨 AN或跨电路板的多个不同物理端口 (或逻辑端口)线路捆绑时, ISP 不仅需要知道物理端口, 还需要知道物理端口与线路捆绑的关系。 当 DSLAM 升级或进行其它维护时, 均必须保证物理端口不发生变化, 否则, 将导致线路 捆绑关系变化必须重新对 ISP进行配置,从而增加了对 DSLAM进行扩展的难 度; 同时, 协调网络接入运营商与 ISP间带来了不小运营方面的冲击和成本。 发明内容 In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems: L2C pair The DSLAM is controlled by physical port and does not support line bundling across the AN or across boards and different physical ports on the same board in the same AN. In particular, when an ISP needs to support multiple different physical port (or logical port) line bundling across an AN or across a board, the ISP needs to know not only the physical port but also the physical port to line bundling. When the DSLAM is upgraded or performs other maintenance, the physical port must be kept unchanged. Otherwise, the line binding relationship changes must be reconfigured to the ISP, which increases the difficulty of expanding the DSLAM. At the same time, it coordinates network access operations. Businesses and ISPs bring shocks and costs to the operation. Summary of the invention
本发明针对现有技术中提到的不足, 提供了一种 L2C代理方法、 装置和 系统, 在 L2C代理中引入"线路捆绑映射", 实现运营商设备与接入设备之间 的端口隔离。  The present invention provides an L2C proxy method, apparatus, and system for the deficiencies mentioned in the prior art, and introduces a "line bundle mapping" in the L2C proxy to implement port isolation between the carrier device and the access device.
本发明实施例提供一种线路捆绑映射方法, 包括:  The embodiment of the invention provides a line binding mapping method, including:
L2C代理获取接收到的报文中线路端口信息或线路捆绑端口信息; L2C 代理根据已存储的线路端口信息和线路捆绑端口信息之间的线路捆 绑映射关系,将所述报文中的线路端口信息转换为线路捆绑端口信息, 或将所 述报文中的线路捆绑端口信息转换为线路端口信息。  The L2C proxy obtains the line port information or the line bundle port information in the received message; the L2C proxy sets the line port information in the packet according to the line bundle mapping relationship between the stored line port information and the line bundle port information. Convert to line bundle port information, or convert line bundle port information in the message to line port information.
本发明实施例还提供一种 L2C代理装置, 包括报文接收单元、 线路捆绑 映射单元和 文发送单元, 其中,  The embodiment of the present invention further provides an L2C proxy device, including a message receiving unit, a line bundling mapping unit, and a text sending unit, where
所述报文接收单元, 用于接收报文;  The message receiving unit is configured to receive a message;
所述线路捆绑映射单元 ,用于根据线路端口与线路捆绑端口之间的线路捆 绑映射关系信息,将所述报文接收单元接收到的报文中的线路端口信息转换为 线路捆绑端口信息, 或将所述报文中的线路捆绑端口信息转换为线路端口信 息;  The line bundling mapping unit is configured to convert the line port information in the packet received by the packet receiving unit into the line bundle port information according to the line bundling mapping relationship information between the line port and the line bundling port, or Converting line bundle port information in the packet into line port information;
报文发送单元发送所述映射转换处理单元转换处理后的报文。  The message sending unit sends the message converted by the mapping conversion processing unit.
本发明实施例还提供一种通信系统, 包括第一设备、第二设备和层二控制 The embodiment of the invention further provides a communication system, including a first device, a second device, and a layer two control
L2C代理装置, 其中: L2C proxy device, where:
第一设备发送包含线路端口信息的报文或包含线路捆绑端口标信息的报 文;  The first device sends a message including line port information or a message including line bundle port label information;
L2C代理装置接收所述第一设备发送的报文,根据已存储的线路捆绑映射 关系,将所述报文中的线路端口信息转换为线路捆绑端口信息后发送, 或将所 述报文中的线路捆绑端口信息转换为线路端口信息后发送; Receiving, by the L2C proxy device, the packet sent by the first device, according to the stored line bundle mapping Relationship, after the line port information in the packet is converted into the line bundle port information, or sent, or the line bundle port information in the packet is converted into line port information and sent;
第二设备接收经所述 L2C代理装置转换后的报文。  The second device receives the message converted by the L2C proxy device.
所述第一设备包括接入节点 AN, 所述第二设备包括宽带接入服务器 BRAS或宽带网络网关 BNG或服务提供商 ISP设备; 所述 L2C代理装置单独 设置或者集成于第一设备或第二设备中。  The first device includes an access node AN, and the second device includes a broadband access server BRAS or a broadband network gateway BNG or a service provider ISP device; the L2C proxy device is separately configured or integrated in the first device or the second device. In the device.
第一设备为远端 AN, L2C代理装置集成于 AN内部, 第二设备为 BRAS 或 BNG或 ISP设备。  The first device is a remote AN, the L2C proxy device is integrated inside the AN, and the second device is a BRAS or BNG or ISP device.
由上述技术方案可以看出, 本发明 L2C代理可以单独设置或集成于第一 设备或第二设备中,本发明提供的线路捆绑可以是跨 AN或跨电路板的线路捆 绑关系, 不仅可以为同一个 AN内同一个电路板上的多个不同物理端口(或逻 辑端口 )的线路捆绑, 还可以为跨 AN或跨电路板的多个不同物理端口 (或逻 辑端口 )线路捆绑; 既可以保证物理端口 (或逻辑端口 )或线路捆绑关系的变 化不对运营商设备开展业务过程产生影响,也可以保证线路捆绑关系的变化不 对接入设备产生影响。  It can be seen from the above technical solution that the L2C proxy of the present invention can be separately set or integrated in the first device or the second device. The line bundle provided by the present invention can be a line bundling relationship across the AN or across the circuit board, not only the same Line bonding of multiple different physical ports (or logical ports) on the same board in an AN can also be bundled for multiple different physical ports (or logical ports) across the AN or across the board; The change of the port (or logical port) or the line binding relationship does not affect the service process of the carrier device. It also ensures that the change of the line binding relationship does not affect the access device.
附图说明 DRAWINGS
图 1为现有技术 L2C代理系统示意图;  1 is a schematic diagram of a prior art L2C proxy system;
图 2为本发明实施例的通信处理过程示意图;  2 is a schematic diagram of a communication processing procedure according to an embodiment of the present invention;
图 3为本发明实施例中通信代理装置结构图;  3 is a structural diagram of a communication proxy device according to an embodiment of the present invention;
图 4(a)、 4(b)为本发明实施例中 L2C代理单独设置示意图;  4(a) and 4(b) are schematic diagrams showing the separate setting of the L2C agent in the embodiment of the present invention;
图 5为本发明实施例中线路捆绑单元置于 AN内部的代理示意图; 图 6(a)、 6(b)为本发明实施例中线路捆绑单元置于 BNG/BRAS内部的 代理示意图;  5 is a schematic diagram of an agent in which a line bundling unit is placed inside an AN according to an embodiment of the present invention; FIG. 6(a) and FIG. 6(b) are schematic diagrams showing a proxy of a line bundling unit placed inside a BNG/BRAS according to an embodiment of the present invention;
图 7(a)、 7(b)为本发明实施例中 AN带远端 AN的 L2C代理示意图。 具体实施方式  7(a) and 7(b) are schematic diagrams showing the L2C proxy of the AN with the remote AN in the embodiment of the present invention. detailed description
本发明实施例提供一种支持线路捆绑的 L2C代理方法、 装置和系统。 下 面对本发明实施例的技术方案做进一步的详细说明。  Embodiments of the present invention provide an L2C proxy method, apparatus, and system that support line bundling. The technical solution of the embodiment of the present invention is further described in detail below.
第一设备包括接入设备, 如 AN, 第二设备可以是 BRAS、 宽带网络网关 (Broad Network Gateway,以下称 BNG)或服务运营商 (如 ISP等)设备; 或者, 第一设备包括 BRAS、 BNG或 ISP设备, 第二设备是 AN。 本实施例第一设备 以接入设备为例, 第二设备以服务运营商设备为例, 第一设备或第二设备为其 他设备时原理相同。 The first device includes an access device, such as an AN, and the second device may be a BRAS, a Broadband Gateway (BNG) or a service carrier (such as an ISP); or The first device includes a BRAS, BNG or ISP device, and the second device is an AN. The first device in the embodiment takes the access device as an example, and the second device takes the service carrier device as an example. When the first device or the second device is another device, the principle is the same.
服务运营商设备与接入设备通过 L2C代理实现通信的处理过程如图 2所 示, L2C代理获取接收到的报文中物理端口 (或逻辑端口)信息或线路捆绑端 口信息; L2C代理根据线路捆绑映射关系, 完成物理端口 (或逻辑端口)信息 和线路捆绑端口信息的相互转换。 具体可以包括:  The process of communication between the service provider device and the access device through the L2C proxy is as shown in FIG. 2. The L2C proxy obtains the physical port (or logical port) information or the line bundle port information in the received packet; the L2C agent bundles according to the line. The mapping relationship completes the mutual conversion of physical port (or logical port) information and line bundle port information. Specifically, it may include:
( 1 )上行方向  (1) Upward direction
L2C代理接收接入设备发送给服务运营商设备的报文,所述的报文中包含 物理端口 (或逻辑端口 )标识和 /或相应的 介质访问控制 (MAC )地址; L2C 代理获取预定已存储的物理端口(或逻辑端口)与线路捆绑端口之间的映射关 系, 并将所述 4艮文中的物理端口 (或逻辑端口)标识和 /或相应的 MAC地址, 根据所述映射关系转换为对应的线路捆绑端口标识和 /或相应的 MAC地址;发 送转换处理后的包含线路捆绑端口标识和 /或相应的 MAC地址的报文到 SP设 备。  The L2C proxy receives the packet sent by the access device to the service carrier device, where the packet includes a physical port (or logical port) identifier and/or a corresponding media access control (MAC) address; and the L2C proxy obtains the scheduled storage. Mapping between a physical port (or a logical port) and a line bundle port, and converting the physical port (or logical port) identifier and/or the corresponding MAC address in the message to the corresponding mapping according to the mapping relationship The line bundles the port identifier and/or the corresponding MAC address; sends the converted packet containing the line bundle port identifier and/or the corresponding MAC address to the SP device.
( 2 ) 下行方向  (2) Downward direction
L2C代理接收服务运营商设备发送给接入设备的报文,所述的报文中包含 线路捆绑端口标识; L2C代理获取预定的物理端口 (或逻辑端口)与线路捆绑 端口之间的映射关系 ,并将带所述线路捆绑端口标识和 /或相应的 MAC地址的 报文, 根据所述映射关系, 转换为一组带对应的物理端口 (或逻辑端口 )标识 和 /或相应的 MAC地址的报文;发送转换处理后的包含物理端口(或逻辑端口 ) 标识和 /或相应的 MAC地址报文到接入设备。  The L2C proxy receives the packet sent by the service provider device to the access device, where the packet includes the line bundle port identifier; and the L2C proxy obtains the mapping relationship between the predetermined physical port (or logical port) and the line bundle port. And converting, according to the mapping relationship, a packet with the line binding port identifier and/or the corresponding MAC address, and converting the packet with the corresponding physical port (or logical port) identifier and/or the corresponding MAC address. After the conversion processing, the physical port (or logical port) identifier and/or the corresponding MAC address packet are sent to the access device.
以上所述的报文包括控制报文和 /或数据报文,控制报文包括 L2CP报文或 鉴权、 授权与计费 (AAA )报文, 数据报文包括动态主机配置协议(DHCP ) 报文或以太网承载点对点协议(PPPoE )报文。 进一步地, 所述的服务运营商 设备与接入设备之间交互的控制报文, 或者, 与所述的服务运营商设备连接的 IP边缘设备与接入设备之间交互的控制报文可以为基于 L2CP、 第二层隧道协 议( L2TP, Layer 2 Tunneling Protocol)或 AAA的 L2C报文, 以用于对所述物 理端口 (或逻辑端口)进行配置管理。 若预先未保存映射关系, 则还可以在 L2C代理中预先配置并保存物理端 口 (或逻辑端口 )与线路捆绑端口之间的映射关系。 与上述线路捆绑方法相对 应, 一种 L2C代理装置, 结构图如图 3所示, 包括报文接收单元、 报文发送 单元、 线路捆绑映射单元。 其中: The above-mentioned packet includes a control packet and/or a data packet, and the control packet includes an L2CP packet or an authentication, authorization, and accounting (AAA) packet, and the data packet includes a dynamic host configuration protocol (DHCP) packet. Text or Ethernet bears Point-to-Point Protocol (PPPoE) messages. Further, the control packet exchanged between the service provider device and the access device, or the control packet exchanged between the IP edge device and the access device connected to the service provider device, may be An L2C packet based on L2CP, Layer 2 Tunneling Protocol (L2TP) or AAA for configuration management of the physical port (or logical port). If the mapping relationship is not saved in advance, the mapping relationship between the physical port (or logical port) and the line bundle port may be pre-configured and saved in the L2C proxy. Corresponding to the above-mentioned line bundling method, an L2C proxy device, as shown in FIG. 3, includes a message receiving unit, a message sending unit, and a line bundling mapping unit. among them:
( 1 )报文接收单元  (1) Message receiving unit
该单元具体用于接收服务运营商设备与接入设备之间交互的报文,所述的 报文可以为控制报文, 也可以为数据报文, 其中,控制报文可以为 L2C ( Layer 2 Control,层二控制)报文, 如 L2CP ( Layer 2 Control Protocol,层 2控制协议) 才艮文、 L2TP ( Layer 2 Tunneling Protocol 二层隧道协议) 4艮文或 AAA ( Authentication, Authorization and Accounting, 认证、 4受权和计费)才艮文。  The unit is specifically configured to receive a packet exchanged between the service provider device and the access device, where the packet may be a control packet or a data packet, where the control packet may be L2C (Layer 2) Control, layer 2 control), such as L2CP (Layer 2 Control Protocol), L2TP (Layer 2 Tunneling Protocol), or AAA (Authentication, Authorization and Accounting, Authentication) 4, authorized and billed).
( 2 )线路捆绑映射单元  (2) Line Bundling Mapping Unit
该单元具体用于获取预定的物理端口(或逻辑端口)与线路捆绑端口之间 的多对一映射关系, 并将所述报文接收单元接收到的报文中的物理端口(或逻 辑端口)或线路捆绑端口信息,根据所述映射关系进行物理端口(或逻辑端口 ) 与线路捆绑端口之间的转换处理;  The unit is specifically configured to obtain a many-to-one mapping relationship between a predetermined physical port (or logical port) and a line bundle port, and obtain a physical port (or a logical port) in the packet received by the packet receiving unit. Or line binding port information, and performing conversion processing between the physical port (or logical port) and the line binding port according to the mapping relationship;
进一步地,所述的线路捆绑映射单元具体可以包括映射关系存储单元和映 射转换处理单元, 其中:  Further, the line bundle mapping unit may specifically include a mapping relationship storage unit and a mapping conversion processing unit, where:
映射关系存储单元, 用于获取并存储预定的线路捆绑端口与物理端口(或 逻辑端口 )的一对多的映射关系, 或者获取并存储预定的物理端口 (或逻辑端 口)与线路捆绑端口之间的多对一映射关系, 如表 1所示; 表中的接入电路标 识可以是物理端口标识, 也可以是逻辑端口标识。  a mapping relationship storage unit, configured to acquire and store a one-to-many mapping relationship between a predetermined line bundle port and a physical port (or a logical port), or acquire and store between a predetermined physical port (or a logical port) and a line bundle port The many-to-one mapping relationship is as shown in Table 1. The access circuit identifier in the table may be a physical port identifier or a logical port identifier.
映射转换处理单元, 用于根据所述映射关系存储单元中保存的映射关系, 对收到的报文中的物理端口(或逻辑端口)或线路捆绑端口信息进行物理端口 (或逻辑端口)与线路捆绑端口之间的转换处理, 具体可以为: 将接入设备发 送给服务运营商设备的报文中的物理端口 (或逻辑端口) 标识和 /或相应的 MAC地址转换为线路捆绑端口标识和 /或相应的 MAC地址, 将服务运营商设 备发送给接入设备的带线路捆绑端口标识和 /或相应的 MAC 地址的报文转换 为一组带相应物理端口 (或逻辑端口 )标识和 /或相应的 MAC地址的 ^艮文。  a mapping conversion processing unit, configured to perform physical port (or logical port) and a line on the physical port (or logical port) or the line bundle port information in the received packet according to the mapping relationship saved in the mapping relationship storage unit The conversion process between the bundled ports may be: converting the physical port (or logical port) identifier and/or the corresponding MAC address in the packet sent by the access device to the service carrier device to the line bundle port identifier and/or Or corresponding MAC address, the packet with the line bundle port identifier and/or the corresponding MAC address sent by the service carrier device to the access device is converted into a group with corresponding physical port (or logical port) identifier and/or corresponding The MAC address of the ^ 艮 text.
( 3 )报文发送单元 该单元与报文接收单元对应 ,用于发送所述线路捆绑映射单元转换处理后 的报文, 包括向服务运营商设备发送转换处理后的包含线路捆绑端口标识和 / 或相应的 MAC地址的报文, 向接入设备发送转换处理后的包含物理端口 (或 逻辑端口 )标识和 /或相应的 MAC地址的报文。 (3) Message sending unit Corresponding to the packet receiving unit, the unit is configured to send the packet processed by the line bundling mapping unit, including sending, to the service provider device, the packet including the line bundle port identifier and/or the corresponding MAC address. And sending, to the access device, the converted packet including the physical port (or logical port) identifier and/or the corresponding MAC address.
与上述线路捆绑方法和通信代理装置相对应,一种通信系统, 包括接入设 备、 服务运营商设备和 L2C代理装置, 其中, 接入设备用于发送包含物理端 口(或逻辑端口 )标识和 /或相应的 MAC地址的 ^艮文或接收包含线路捆绑端口 标识和 /或相应的 MAC地址的 艮文;  Corresponding to the above-mentioned line bundling method and communication proxy device, a communication system includes an access device, a service operator device, and an L2C proxy device, wherein the access device is configured to send a physical port (or logical port) identifier and/or Or the corresponding MAC address or the message containing the line bundle port identifier and/or the corresponding MAC address;
L2C代理装置即以上所述的包含 文接收单元、映射关系存储单元、映射 转换处理单元、 报文发送单元的装置。 用于根据线路捆绑映射关系, 完成所述 物理端口 (或逻辑端口 )标识和 /或相应的 MAC地址和线路捆绑端口标识和 / 或相应的 MAC地址的相互转换;  The L2C proxy device is the device including the text receiving unit, the mapping relationship storage unit, the mapping conversion processing unit, and the message transmitting unit described above. For performing mutual conversion between the physical port (or logical port) identifier and/or the corresponding MAC address and the line bundle port identifier and/or the corresponding MAC address according to the line bundle mapping relationship;
服务运营商设备用于接收所述经 L2C代理装置转换后的报文或者发送包 含线路捆绑端口标识和 /或相应的 MAC地址的艮文。  The service provider device is configured to receive the message converted by the L2C proxy device or send a message including a line bundle port identifier and/or a corresponding MAC address.
其中, L2C代理装置可以独立设置, 如图 4 ( a )、 4 ( b )所示。 或者, 也 可以集成于接入设备或 IP边缘设备中, 或者, 也可以集成于接入设备与服务 运营商设备之间的中间设备中。  Among them, the L2C proxy device can be set independently, as shown in Figure 4 (a), 4 (b). Alternatively, it may be integrated in an access device or an IP edge device, or may be integrated in an intermediate device between the access device and the service carrier device.
进一步地, 所述通信系统还可以包括连接于所述 L2C代理装置与运营商 设备之间的互联功能单元, 即 IWF单元, 其具体可以用于通过层二控制消息 传输所述 L2C代理装置与运营商之间交互的信息。  Further, the communication system may further include an interconnection function unit connected between the L2C proxy device and the operator device, that is, an IWF unit, which may be specifically configured to transmit the L2C proxy device and the operation by using a layer 2 control message. Information exchanged between businesses.
另外, 本发明 L2C代理还可以集成于 AN内部, 如图 5所示; 也可以集 成于 BNG/BRAS内部, 如图 6 ( a )、 6 ( b )所示。  In addition, the L2C agent of the present invention can also be integrated in the AN, as shown in Fig. 5; or can be integrated in the BNG/BRAS, as shown in Fig. 6 (a) and 6 (b).
对于 AN带远端 AN的应用场景,线路捆绑针对的是远端 AN物理端口(或 逻辑端口)捆绑, L2C代理装置集成于 AN内部, 如图 7 ( a )、 7 ( b )所示。  For the application scenario where the AN has a remote AN, the line bundle is for the remote AN physical port (or logical port) bundle, and the L2C proxy device is integrated inside the AN, as shown in Figure 7 (a), 7 (b).
下面分别以 L2C消息、 DHCP消息、 PPPoE (以太网承载点对点协议)报 文为例, 具体说明所述映射转换处理过程。  The following takes the L2C message, the DHCP message, and the PPPoE (Ethernet Bearer Point-to-Point Protocol) message as an example to specifically describe the mapping conversion process.
对于 L2C消息:  For L2C messages:
上行方向, "线路捆绑映射单元"对来自 AN的 L2C消息,按其中所带的物 理端口 (或逻辑端口)标识(例如为" ACI 12" )查询"映射关系存储单元"中的 "映射关系表"(如表 1 ), 得到相应的线路捆绑端口标识 (例如得到" A" )和 / 或相应的 MAC地址(例如得到" MAC 1" ), 将 L2C消息中的物理端口 (或逻 辑端口 )标识" ACI 12"转换为相应的线路捆绑端口标识" A"; 可选地, 承载转 换后 L2C消息的二层帧的目的 MAC地址按照" MAC 1 "进行设置,再进行转发。 In the uplink direction, the "Line Bundling Mapping Unit" queries the L2C message from the AN by the physical port (or logical port) identifier (for example, "ACI 12") in the "Map Relationship Storage Unit". "Mapping relation table" (as in Table 1), get the corresponding line bundle port identifier (for example get "A") and / or the corresponding MAC address (for example get "MAC 1"), the physical port in the L2C message (or The logical port) identifier "ACI 12" is converted to the corresponding line bundle port identifier "A"; optionally, the destination MAC address of the Layer 2 frame carrying the converted L2C message is set according to "MAC 1" and then forwarded.
下行方向, "线路捆绑映射单元"对来自 BRAS/BNG的!^2 消息, 按其中 所带的线路捆绑端口标识(例如为" B" )查询"映射关系存储单元"中的"映射关 系表"(如表 1 ),得到相应的一组物理端口(或逻辑端口 )标识(例如得到" ACI 21"、 "ACI 22"、 "ACI 23" )和 /或相应的 MAC地址(例如得到" MAC 21"、 "MAC 22"、 "MAC 23" ), 则将一个带线路捆绑端口标识" B"的 L2C消息转换为一组 (本例中为 3个)分别带物理端口 (或逻辑端口 )标识" ACI 21"、 "ACI 22"、 "ACI 23" 的 L2C消息; 可选地, 承载转换后 L2C消息的二层帧的目的 MAC 地址要分别按照" MAC 21"、 "MAC 22"、 "MAC 23"进行设置, 再进行转发。  In the downstream direction, the "Line Bundling Mapping Unit" is from BRAS/BNG! ^2 message, query the "mapping table" in the "relational relationship storage unit" (such as Table 1) according to the line bundle port identifier (for example, "B"), and get a corresponding set of physical ports (or logic) Port) identification (eg get "ACI 21", "ACI 22", "ACI 23") and / or the corresponding MAC address (eg get "MAC 21", "MAC 22", "MAC 23"), then one The L2C message with the line bundle port identifier "B" is converted into a group (three in this example) with L2C messages with physical port (or logical port) identification "ACI 21", "ACI 22", "ACI 23" respectively. Optionally, the destination MAC address of the Layer 2 frame carrying the converted L2C message is set according to "MAC 21", "MAC 22", "MAC 23", and then forwarded.
Figure imgf000009_0001
Figure imgf000009_0001
表 1  Table 1
( 2 )对于 DHCP消息:  (2) For DHCP messages:
上行方向, "线路捆绑映射单元"对来自 AN 的 DHCP 消息, 按其选项 In the upstream direction, the "line bundle mapping unit" pairs the DHCP message from the AN, according to its options.
( Option )中所带的物理端口(或逻辑端口)标识(即 Option82中所带的 "Circuit ID电路号 "域,本例中为" ACI 23" )查询"映射关系存储单元"中的"映射关系表" (如表 1 ), 得到相应的线路捆绑端口标识(例如得到" B" )和 /或相应的 MAC 地址(例如得到" MAC 2" ),将 DHCP消息 Option中的物理端口(或逻辑端口 ) 标识" ACI 23"转换为相应的线路捆绑端口标识" B"; 可选地, 承载转换后 L2C 消息的二层帧的目的 MAC地址设置成" MAC 2" , 再进行转发。 还可以在上述过程中, 根据 L2C代理的 IP地址设置 DHCP消息 Option 中的 giaddr(中转代理 IP地址)域,即可以将 L2C代理的 IP地址写入到 DHCP 消息中, 之后再执行所述转发操作。 The physical port (or logical port) identifier carried in (Option) (that is, the "Circuit ID circuit number" field in Option 82, in this case, "ACI 23") is queried for "mapping in the mapping relationship storage unit". Relationship table" (as in Table 1), get the corresponding line bundle port identifier (for example get "B") and / or the corresponding MAC address (for example get "MAC 2"), the physical port (or logic in the DHCP message Option) Port) The identifier "ACI 23" is converted to the corresponding line bundle port identifier "B"; optionally, the destination MAC address of the Layer 2 frame carrying the converted L2C message is set to "MAC 2" and then forwarded. In the above process, the giaddr (transfer proxy IP address) field in the DHCP message Option may be set according to the IP address of the L2C proxy, that is, the IP address of the L2C proxy may be written into the DHCP message, and then the forwarding operation is performed. .
( 3 )对于 PPPoE (以太网承载点对点协议)报文:  (3) For PPPoE (Ethernet Bearup Point-to-Point Protocol) messages:
上行方向, "线路捆绑映射单元"对来自 AN 的带标签(TAG ) 的 PPPoE 报文, 按其 TAG中所带的物理端口 (或逻辑端口)标识 (即 TAG中所带的接 入环路标识域 access loop id, 本例中为" ACI 11" ) 查询"映射关系存储单元"中 的"映射关系表"(如表 1 ), 得到相应的线路捆绑端口 (例如得到" A" )和 /或相 应的 MAC地址(例如得到" MAC 1" ), 将 PPPoE报文 TAG中的物理端口 (或 逻辑端口 )标识" ACI 11"转换为相应的线路捆绑端口标识; 可选地, 承载转换 后 L2C消息的二层帧的目的 MAC地址设置成" MAC 1",再进行转发。可选地, 还可以根据执行转换处理的实体的地址设置报文中的地址选项 "A,,。  In the uplink direction, the line binding mapping unit identifies the PPPoE packet with the label (TAG) from the AN according to the physical port (or logical port) carried in the TAG (that is, the access loop identifier carried in the TAG). The domain access loop id, in this case "ACI 11") queries the "mapping table" in the "relational relationship storage unit" (as in Table 1), and obtains the corresponding line bundle port (for example, "A") and/or Corresponding MAC address (for example, "MAC 1"), converting the physical port (or logical port) identifier "ACI 11" in the PPPoE message TAG to the corresponding line bundle port identifier; optionally, carrying the converted L2C message The destination MAC address of the Layer 2 frame is set to "MAC 1" and then forwarded. Optionally, the address option "A," in the message may also be set according to the address of the entity performing the conversion process.
本发明提供的线路捆绑可以是跨 AN或跨电路板的线路捆绑关系,不仅可 以为同一个 AN内同一个电路板上的多个不同物理端口(或逻辑端口)的线路 捆绑, 还可以为跨 AN或跨电路板的多个不同物理端口 (或逻辑端口 )线路捆 绑; 既可以保证物理端口 (或逻辑端口)或线路捆绑关系的变化不对运营商设 备开展业务过程产生影响,也可以保证线路捆绑关系的变化不对接入设备产生 影响。  The line bundle provided by the present invention may be a line bundling relationship across an AN or across a circuit board, and may not only be bundled for multiple different physical ports (or logical ports) on the same circuit board in the same AN, but also may be cross- The AN is bundled with multiple different physical ports (or logical ports) across the board; it can ensure that changes in the physical port (or logical port) or line binding relationship do not affect the service process of the carrier device, and can also ensure line bonding. Changes in relationships do not affect the access device.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局 限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种层二控制 L2C代理方法, 其特征在于, 该方法包括:  A layer 2 control L2C proxy method, characterized in that the method comprises:
L2C代理获取接收到的报文中的线路端口信息或线路捆绑端口信息; 所述 L2C代理根据已存储的线路端口信息和线路捆绑端口信息之间的线 路捆绑映射关系, 将所述报文中的线路端口信息转换为线路捆绑端口信息, 或 将所述报文中的线路捆绑端口信息转换为线路端口信息。  The L2C proxy obtains the line port information or the line bundle port information in the received message; the L2C proxy according to the line bundle mapping relationship between the stored line port information and the line bundle port information, in the packet The line port information is converted into line bundle port information, or the line bundle port information in the message is converted into line port information.
2、 根据权利要求 1所述的层二控制 L2C代理方法, 其特征在于, 所述线 路捆绑映射关系预先配置于所述 L2C代理中。  The Layer 2 control L2C proxy method according to claim 1, wherein the line bundle mapping relationship is pre-configured in the L2C proxy.
3、 根据权利要求 1所述的层二控制 L2C代理方法, 其特征在于, 所述线 路捆绑映射关系包括:  The Layer 2 control L2C proxy method according to claim 1, wherein the line bundle mapping relationship comprises:
所述线路端口信息到所述线路捆绑端口信息的多对一的映射关系; 或者, 所述线路捆绑端口信息到所述线路端口信息的一对多的映射关系。  a multi-to-one mapping relationship between the line port information and the line bundle port information; or a one-to-many mapping relationship between the line bundle port information and the line port information.
4、 根据权利要求 1所述的 L2C代理方法, 其特征在于, 所述报文包括控 制报文或数据报文, 所述控制报文包括层二控制协议 L2CP报文或鉴权、 授权 与计费 AAA报文,所述数据报文包括动态主机配置协议 DHCP或以太网承载 点对点协议 PPPoE报文。  The L2C proxy method according to claim 1, wherein the packet includes a control packet or a data packet, and the control packet includes a Layer 2 control protocol L2CP packet or authentication, authorization, and accounting. AAA packet, the data packet includes a dynamic host configuration protocol (DHCP) or an Ethernet bearer peer-to-peer protocol (PPPoE) packet.
5、 根据权利要求 1所述的 L2C代理方法, 其特征在于, 所述线路端口信 息包括物理端口标识或逻辑端口标识和 /或相应的 MAC地址;所述线路捆绑端 口信息包括线路捆绑端口标识和 /或相应的 MAC地址。  The L2C proxy method according to claim 1, wherein the line port information includes a physical port identifier or a logical port identifier and/or a corresponding MAC address; and the line bundle port information includes a line bundle port identifier and / or the corresponding MAC address.
6、 一种层二控制 L2C代理装置, 其特征在于, 包括报文接收单元、 线路 捆绑映射单元和^艮文发送单元, 其中,  6. A Layer 2 control L2C proxy device, comprising: a message receiving unit, a line bundling mapping unit, and a message sending unit, wherein
所述报文接收单元, 用于接收报文;  The message receiving unit is configured to receive a message;
所述线路捆绑映射单元,用于根据线路端口与线路捆绑端口之间的线路捆 绑映射关系信息,将所述报文接收单元接收到的报文中的线路端口信息转换为 线路捆绑端口信息, 或将所述报文中的线路捆绑端口信息转换为线路端口信 息;  The line bundling mapping unit is configured to convert the line port information in the packet received by the packet receiving unit into the line bundle port information according to the line bundling mapping relationship information between the line port and the line bundling port, or Converting line bundle port information in the packet into line port information;
所述报文发送单元, 用于发送所述线路捆绑映射单元转换处理后的报文。  The message sending unit is configured to send the packet processed by the line bundling mapping unit.
7、 根据权利要求 6所述的层二控制 L2C代理装置, 其特征在于, 所述线 路捆绑映射单元包括: 映射关系存储单元,用于存储线路端口与线路捆绑端口之间的线路捆绑映 射关系信息; The layer 2 control L2C proxy device according to claim 6, wherein the line bundle mapping unit comprises: a mapping relationship storage unit, configured to store line bundle mapping relationship information between the line port and the line bundle port;
映射转换处理单元,用于根据所述映射关系存储单元中保存的映射关系信 息,对所述报文接收单元中接收到的报文的线路端口信息或线路捆绑端口信息 进行转换处理, 并将转换处理后的报文发送给所述报文发送单元。  a mapping conversion processing unit, configured to perform conversion processing on line port information or line bundle port information of the received message in the packet receiving unit according to the mapping relationship information saved in the mapping relationship storage unit, and convert the conversion The processed message is sent to the message sending unit.
8、一种通信系统,其特征在于, 包括第一设备、第二设备和层二控制 L2C 代理装置, 其中:  A communication system, comprising: a first device, a second device, and a layer 2 control L2C proxy device, wherein:
所述第一设备,用于发送包含线路端口信息的报文或包含线路捆绑端口信 息的报文;  The first device is configured to send a packet that includes line port information or a packet that includes line bundle port information;
所述 L2C代理装置, 用于接收所述第一设备发送的报文, 根据已存储的 线路捆绑映射关系,将所述报文中的线路端口信息转换为线路捆绑端口信息后 发送, 或将所述报文中的线路捆绑端口信息转换为线路端口信息后发送;  The L2C proxy device is configured to receive a packet sent by the first device, and convert the line port information in the packet into a line bundle port information according to the stored line bundle mapping relationship, or send the packet The line bundle port information in the message is converted into line port information and sent;
所述第二设备, 用于接收经所述 L2C代理装置转换后的报文。  The second device is configured to receive a message that has been converted by the L2C proxy device.
9、 根据权利要求 8所述的通信系统, 其特征在于, 所述第一设备包括接 入节点 AN, 所述第二设备包括宽带接入服务器 BRAS或宽带网络网关 BNG 或网络服务提供商 ISP设备; 或所述第二设备包括接入网 AN, 所述第一设备 包括 BRAS或 BNG或 ISP设备。  9. The communication system according to claim 8, wherein the first device comprises an access node AN, and the second device comprises a broadband access server BRAS or a broadband network gateway BNG or a network service provider ISP device. Or the second device comprises an access network AN, the first device comprising a BRAS or BNG or ISP device.
10、 根据权利要求 8所述的通信系统, 其特征在于, 所述 L2C代理装置 单独设置或者集成于第一设备或第二设备中。  10. The communication system according to claim 8, wherein the L2C proxy device is separately provided or integrated in the first device or the second device.
11、 根据权利要求 8所述的通信系统, 其特征在于, 所述第一设备为远端 11. The communication system according to claim 8, wherein the first device is a remote end
AN, L2C代理装置集成于 AN内部, 第二设备为 BRAS或 BNG或 ISP设备。 AN, the L2C proxy device is integrated inside the AN, and the second device is a BRAS or BNG or ISP device.
12、 根据权利要求 8至 11任一项所述的通信系统, 其特征在于, 所述系 统进一步包括所述 L2C代理装置和第二设备之间的互联功能单元, 所述互联 功能单元通过层二控制消息传输所述 L2C代理装置和第二设备之间交互的信 息。  The communication system according to any one of claims 8 to 11, wherein the system further comprises an interconnection function unit between the L2C proxy device and the second device, and the interconnection function unit passes through layer 2 The control message transmits information of interaction between the L2C proxy device and the second device.
PCT/CN2008/073068 2007-11-15 2008-11-14 Layer 2 control proxy method, device and system WO2009065349A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710124638.6 2007-11-15
CN200710124638.6A CN101437013A (en) 2007-11-15 2007-11-15 L2C (layer 2 control) proxy method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2009065349A1 true WO2009065349A1 (en) 2009-05-28

Family

ID=40667131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073068 WO2009065349A1 (en) 2007-11-15 2008-11-14 Layer 2 control proxy method, device and system

Country Status (2)

Country Link
CN (1) CN101437013A (en)
WO (1) WO2009065349A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997904B (en) * 2009-08-21 2013-10-09 华为技术有限公司 Session distinguishing method and session distinguishing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115385A (en) * 1998-03-11 2000-09-05 Cisco Technology, Inc. Method and system for subnetting in a switched IP network
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
CN101022394A (en) * 2007-04-06 2007-08-22 杭州华为三康技术有限公司 Method for realizing virtual local network aggregating method and converging exchanger

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115385A (en) * 1998-03-11 2000-09-05 Cisco Technology, Inc. Method and system for subnetting in a switched IP network
CN1809021A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet link converging method
CN101022394A (en) * 2007-04-06 2007-08-22 杭州华为三康技术有限公司 Method for realizing virtual local network aggregating method and converging exchanger

Also Published As

Publication number Publication date
CN101437013A (en) 2009-05-20

Similar Documents

Publication Publication Date Title
JP4738901B2 (en) VLANID dynamic allocation method and packet transfer apparatus
JP4537357B2 (en) Dynamic construction of VLAN interface based on subscriber information string
US7733859B2 (en) Apparatus and method for packet forwarding in layer 2 network
EP3328004A1 (en) Broadband access
JP4728511B2 (en) Data relay method, apparatus thereof, and data relay system using the apparatus
US7469298B2 (en) Method and system for enabling layer 2 transmission of IP data frame between user terminal and service provider
US7808994B1 (en) Forwarding traffic to VLAN interfaces built based on subscriber information strings
US7835370B2 (en) System and method for DSL subscriber identification over ethernet network
KR101063080B1 (en) How to provide Ethernet DSL access multiplexer and dynamic service selection and end-user configuration
WO2012088982A1 (en) Method, apparatus and virtual private network system for issuing routing information
WO2008134949A1 (en) Method, device and system for communication proxy
WO2007009349A1 (en) Method and apparatus for transmitting message
WO2007141840A1 (en) Relay network system and terminal adapter
WO2011069419A1 (en) Method, device and system for processing ipv6 messages
WO2009127128A1 (en) Method for avoiding downstream data flooding in ethernet passive optical network
WO2011147342A1 (en) Method, equipment and system for exchanging routing information
WO2009021371A1 (en) A method and a device for implementing pseudo wire emulation edge to edge
WO2005081464A1 (en) Access network system, subscriber station device, and network terminal device
CN101212398A (en) Access system and method
WO2014015786A1 (en) Two-layer access method, device and system in hfc network
JP2010514290A (en) Network device and method for translating media access control address
WO2007041942A1 (en) System for Ethernet supporting the transmitting of the source-specific multicast and the method thereof
US20080049765A1 (en) Method and system for inter working a point-to-point link and a LAN service
JP4166609B2 (en) Communication device
WO2007104201A1 (en) A method for forwarding message in the service tunnel of the ethernet application and a system thereof

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

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

Country of ref document: EP

Kind code of ref document: A1