WO2007107076A1 - Procédé et dispositif d'accès utilisateur à large bande - Google Patents

Procédé et dispositif d'accès utilisateur à large bande Download PDF

Info

Publication number
WO2007107076A1
WO2007107076A1 PCT/CN2007/000480 CN2007000480W WO2007107076A1 WO 2007107076 A1 WO2007107076 A1 WO 2007107076A1 CN 2007000480 W CN2007000480 W CN 2007000480W WO 2007107076 A1 WO2007107076 A1 WO 2007107076A1
Authority
WO
WIPO (PCT)
Prior art keywords
bras
user
unit
pppoe
packet
Prior art date
Application number
PCT/CN2007/000480
Other languages
English (en)
French (fr)
Inventor
Hongsheng Xie
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 WO2007107076A1 publication Critical patent/WO2007107076A1/zh

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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • H04L12/2872Termination of subscriber connections
    • 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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2859Point-to-point connection between the data network and the subscribers
    • 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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2878Access multiplexer, e.g. DSLAM
    • H04L12/2879Access multiplexer, e.g. DSLAM characterised by the network type on the uplink side, i.e. towards the service provider network
    • H04L12/2881IP/Ethernet DSLAM

Definitions

  • the PPP Point to Point Protocol
  • ADSL Asymmetric Digital Subscriber Line
  • Digital subscriber line Digital subscriber line
  • a series of special functions such as service selection and VPN (Virtual Private Network) utilization can be well implemented, which provides a broader prospect for the development of broadband access.
  • the BRAS Broadband Remote Access Server
  • the data transmission between the access device and the BRAS can only be It is an Ethernet packet. That is to say, in the prior art, when a PPPOE (Point-to-Point Protocol over Ethernet) user dials up, the user can complete the PPPOE discovery phase with the BRAS, establish a PPPOE session, and access through The device can forward packets directly.
  • PPPOA PPP Over AAL5, point-to-point protocol on AAL5
  • users cannot establish a dial-up connection with the BRAS, which limits the development of broadband access assistance as defined by the prior art, and also limits some users. Access method.
  • the embodiment of the present invention provides a broadband user access method, which can accept PPPOA dial-up access of a user in the networking mode of the existing BRAS and the access device.
  • Another embodiment of the present invention provides a broadband user access device, which can replace the PPPOE discovery phase between the user and the BRAS, and establish a PPPOE session, so that the existing BRAS can also be connected. Receive access to PPPOA users.
  • the embodiment of the invention provides a broadband user access method, which includes the following steps:
  • the access device When the user performs PPPOA dialing, the access device establishes a PPPOE session connection with the BRAS to obtain the session identifier.
  • the access device uses the session identifier to encapsulate the PPPOA packet of the user into the PPPOE packet, and forwards the packet to the BRAS.
  • the PPPOA packet is removed from the received PPPOE packet and forwarded to the user.
  • Another embodiment of the present invention provides a broadband user access device, including:
  • connection establishing unit configured to establish a PPPOE session connection with the BRAS when receiving the PPPOA dialing request of the user
  • a first information acquiring unit configured to acquire a session identifier of the PPPOE session connection
  • a translation processing unit configured to encapsulate the user's PPPOA packet into the PPPOE packet, and from the received PPPOE packet Detach the PPPOA message
  • the packet forwarding unit is configured to forward the encapsulated PPPOE packet to the BRAS, and forward the detached PPPOA packet to the user.
  • FIG. 1 is a flowchart of determining a dial-up access of a PPPOA user according to an embodiment of the present invention
  • Figure ⁇ is a structural block diagram of an access device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural view of the state detecting unit of FIG. 7.
  • the access device receives the PPP packet of the user.
  • the access device sends a PADI to the BRAS (the initial PPPE discovery), and waits for the PADO (PPPOE discovery to provide the message) response;
  • the access device receives the PADO fed back by the BRAS.
  • S204 The access device sends a PADR (PPPOE Discovery Request message) to the BRAS, and waits for the PADS (PPPOE Discovery Session Confirmation message);
  • the BRAS After receiving the dialing, the BRAS sends a PAD to the access device. After the device receives the PADS, it indicates that the PPPOE discovery phase has been completed, and the user can establish a connection with the BRAS.
  • the access device is responsible for tearing down the PPPOE session established by the BRAS, and the process is completed by sending a PADT (PPPOE discovery termination message).
  • PADT PPOE discovery termination message
  • the embodiment of the invention also detects whether the BRAS is in an active state. Since the PPPOE session can only be removed after receiving the PADT, the device needs to know the status of each BRAS, and the automatic detection function is used to complete the work.
  • the access device determines whether the BRAS is active by periodically sending PADI to the BRAS and detecting the PADO response. If a designation is sent After the PADI of the number of times, if the PADO message is not received, the connection with the BRAS is considered to be interrupted, and the user associated with the BRAS is notified to go offline.
  • One BRAS 33 Support PPPOE access
  • the access device 32 is connected to the BRAS via Ethernet, with several users below, assuming that User 1 and User 2 are users of PPPOA dial-up access 31.
  • the user 31 After the above configuration, the user 31 performs PPPOA dialing.
  • the access device 32 After receiving the first LCP configuration request message, the access device 32 initiates a PPPOE discovery phase to the BRAS 33 instead of the user, and sends a PADI to wait for the PADO response. After receiving PADO, it sends PADR (PPPOE Discovery Request Packet) and waits for PADS (PPPOE Discovers Session Confirmation Packet).
  • PADR PPOE Discovery Request Packet
  • PADS PPOE Discovers Session Confirmation Packet
  • BRAS 33 agrees to receive a user 31 and dial a PADS. After the device receives the PADS, it indicates that the PPPOE discovery phase has been completed and the user 31 can establish a connection with the BRAS 33. Since the access device 32 performs the PPPOE discovery phase instead of the user 31 and the BRAS 33, the destination MAC of all transmitted messages is the MAC of the user 31 (this MAC is specified when the P
  • the user sends and receives PPP control packets and the user 31 sends and receives data after successful dialing.
  • the packet sent by the user 31 is a PPP packet.
  • the packet After being accessed by the access device 32, the packet is encapsulated into a PPPOE packet and forwarded to the BRAS 33.
  • the Ethernet header and the PPPOE header are removed, and the PPPOA packet part is forwarded to the user 31.
  • the BRAS 33 sends a PADT message to the user 31, which is used to remove the PPPOE session.
  • the message is captured by the device, and the access device 32 removes the corresponding PPPOE session according to the information in the PADT message.
  • FIG. 6 is a structural block diagram of an access device according to an embodiment of the present invention.
  • the method includes: a connection establishing unit 321, a first information acquiring unit 322, a translation processing unit 323, and a message forwarding unit 324.
  • the connection establishing unit 321 is configured to establish a PPPOE session connection with the BRAS when the user performs PPPOA dialing; acquire the session identifier by using the first information acquiring unit 322; and the translation processing unit 323 uses the session identifier to use the user identifier of the user.
  • the translation processing unit 323 can be further embodied as a message encapsulation unit and a message splitting unit.
  • the packet encapsulating unit is configured to encapsulate the PPPOA packet of the user into the PPPOE packet by using the session identifier, and the packet splitting unit is configured to remove the PPPOA from the received PPPOE packet. Yan Wen.
  • FIG. 7 is a structural block diagram of an access device according to another embodiment of the present invention.
  • the method includes: a connection establishing unit 321, a first information acquiring unit 322, a translation processing unit 323, a message forwarding unit 324, and an information configuring unit 325, a second information acquiring unit, and a storage unit 326.
  • the connection establishing unit 321 is configured to establish a PPPOE session connection with the BRAS when the user performs the PPPOA dialing; the information configuration unit 325 stores the MAC address as the source MAC address to the storage unit 326 for the user;
  • the first information acquiring unit 322 acquires the session identifier, and the second information acquiring unit (not shown) acquires the MAC address of the BRAS as the destination MAC address and stores the data in the storage unit 326.
  • the second information acquiring unit may be integrated with the first information acquiring unit.
  • the translation processing unit 323 encapsulates the user's PPPOA 4 into a PPPOE by its message encapsulation unit according to the source MAC address and the destination MAC address stored by the storage unit 326.
  • Storage unit 326 can be a register.
  • the detecting unit 327 may be further configured to: after receiving the link layer control protocol configuration request message sent by the user, check whether the port where the user is located has established a PPPOE session, if not
  • the establishment establishes a connection establishment unit, and the connection establishment unit is configured to establish a PPPOE session according to the HPPOE discovery process and the BRAS.
  • the connection establishing unit sends the PADI to the BRAS through the sending unit.
  • the packet sending unit sends the PADR to the BRAS.
  • the PPPOE discovery stage is performed. carry out.
  • the state detecting unit includes a message sending unit 3282, a counting unit 3284, a timing unit 3281, a message receiving unit 3283, and a determining unit 3285, where: the message sending unit 3282 is in the timing unit 3281. Periodically triggering to send a PADI message to the BRAS periodically; the determining unit 3285 checks whether the message receiving unit 3283 receives the PADO message according to the counting period of the counting unit 3284, thereby determining that the BRAS is active or inactive. The status, that is, if a PADO message is received after sending a set number of PADI messages, it is determined that the BRAS is active; if the PADO message is not received, it is determined that the BRAS is inactive. In the event that the BRAS is inactive, the user associated with the BRAS is notified to go offline.
  • the embodiment of the present invention can enhance the function of the existing access device, so that the access device can implement the PPPOE discovery phase instead of the user, and encapsulate the PPPOA packet sent by the user into a PPPOE packet, forward it to the BRAS, and receive the packet from the BRAS.
  • the PPPOE packet is split into PPPOA packets and then forwarded to the user, thus expanding the access function of the existing BRAS, so that it can implement the PPPOE access function and the PPPOA access function.

Landscapes

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

Description

一种宽带用户接入方法及 i殳备
本申请要求于 2006 年 03 月 17 日提交中国专利局、 申请号为 200610065056.0、 发明名称为 "一种宽带用户接入方法"的中国专利申请的优 先权, 其全部内容通过引用结合在本申请中。 技术械
本发明属于网络通信技术领域, 尤其涉及一种宽带用户接入方法及设 背景技术
随着宽带接入技术的广泛应用, 窄带拨号动态分配 IP ( Internet Protocol, 网际协议)地址的 PPP(Point to Point Protocol, 点对点协议)接入技术也被应 用到 ADSL ( Asymmetrical Digital Subscriber Line, 非对称数字用户线)接入 中来;现有技术利用 PPP技术完成宽带拨号的接入。利用现有宽带接入技术, 能够很好地实现诸如业务选择、 VPN ( Virtual Private Network, 虚拟专网) 利用等一系列附带的特殊功能, 为宽带接入的发展提供了更广阔的前景。
但是, 在目前的组网方式中, BRAS ( Broadband Remote Access Server, 宽带远程接入服务器)一般是以以太网的方式和接入设备连接, 因此, 接入 设备和 BRAS之间的数据传输只能是以太网报文。 也就是说, 现有技术中, PPPOE ( Point-to-Point Protocol over Ethernet, 以太网上点到点协议)用户在 拨号接入时, 用户能够和 BRAS完成 PPPOE发现阶段, 建立 PPPOE会话, 通过接入设备直接进行报文转发即可。 然而, PPPOA ( PPP Over AAL5 , AAL5上的点到点协议)用户是无法和 BRAS建立拨号连接的, 从而限制了 现有技术所规定的宽带接入扶术的发展, 同时, 也限制了一部分用户的接入 方式。
发明内容
本发明的实施例提供一种宽带用户接入方法, 该方法在现有的 BRAS和 接入设备的组网方式下, 可以接受用户的 PPPOA拨号接入。
本发明另一实施例提供一种宽带用户接入设备, 能够代替用户和 BRAS 之间完成 PPPOE发现阶段, 建立 PPPOE会话, 从而使得现有 BRAS也能接 收 PPPOA用户的接入。
本发明实施例提供一种宽带用户接入方法, 包括以下步骤:
当用户进行 PPPOA拨号时, 接入设备和 BRAS建立 PPPOE会话连接 , 获取会话标识;
接入设备使用该会话标识将该用户的 PPPOA 艮文封装到 PPPOE报文 中, 并转发到 BRAS; 以及从接收到的 PPPOE报文中拆离出 PPPOA报文 , 并转发给用户。
本发明另一实施例提供一种宽带用户接入设备, 包括:
连接建立单元, 用于接收到用户的 PPPOA拨号请求时, 和 BRAS建立 PPPOE会话连接;
第一信息获取单元, 用于获取该 PPPOE会话连接的会话标识; 翻译处理单元, 用于使用该会话标识将该用户的 PPPOA报文封装到 PPPOE报文中, 以及从接收到的 PPPOE报文中拆离出 PPPOA报文;
报文转发单元, 用于将封装后的 PPPOE报文转发到 BRAS; 以及将拆离 出的 PPPOA报文转发给用户。
本发明实施例通过增强现有接入设备的功能, 使得接入设备可以代替用 户实现 PPPOE发现阶段, 并通过将用户发送的 PPPOA报文封装成 PPPOE 报文后转发给 BRAS, 以及将从 BRAS接收到的 PPPOE报文拆分为 PPPOA 报文, 再转发给用户, 从而拓展了现有 BRAS 的接入功能, 使其既能实现 PPPOE接入的功能, 又能实现 PPPOA接入的功能。
附图说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 限定。 在附图中:
图 1为本发明实施例 PPPOA用户拨号接入的判断流程图;
图 2为本发明实施例接入设备和 BRAS之间的 PPPOE发现过程示意图; 图 3为本发明实施例报文转发流程图;
图 4为本发明实施例 PPPOA用户下线流程图;
图 5为本发明实施例常用的组网方式图; 图 6为本发明实施例接入设备结构框图;
图 Ί为本发明实施例接入设备结构框图;
图 8为图 7中状态检测单元的结构示意图。
具体实施方式
下面结合说明书附图来说明本发明的具体实施方式。
在 PPPOE拨号接入方式下,用户和 BRAS发出的艮文都是 PPPOE报文。 因为都是以太网报文, 接入设备可以不作处理, 直接在用户和 BRAS之间转 发, 从而完成用户的拨号接入。 但是, 在 PPPOA接入方式下, 用户发出的 是 PPPOA报文,类似于传统的窄带的 PPP拨号。也就是说,用户没有 PPPOE 发现阶段, 而是直接从 PPP协商开始。 由于现有的 BRAS只能接受根据现有 技术描述的 PPPOE发现阶段完成的 PPPOE接入, 因此, PPPOE发现阶段 只能由接入设备代替用户来完成。
参考图 1, 包括以下步骤:
S101、 接入设备接收到用户的 PPP报文;
S102、 检查这个用户所在的端口是否有已经建立 PPPOE会话, 如果会 话存在, 则继续 S103; 否则转至 S104;
S 103、 将报文封装成 PPPOE转发到 BRAS。
S104、 首先根据 PPPOE发现过程, 代替用户和 BRAS之间完成 PPPOE 发现阶段, 建立会话, 获取一个会话标识, 然后将用户的 PPPOA报文使用 获取的会话标识封装到 PPPOE报文中, 转发到 BRAS, 同时, 从 BRAS收 到报文中拆离出 PPPOA报文, 转发到用户。
图 2为本发明实施例接入设备和 BRAS之间的 PPPOE发现过程示意图。 具体包括:
S201、用户进行 PPPOA拨号,接入设备接收到第一个 LCP ( Link Control Protocol, 链路控制协议) 配置请求报文后, 代替用户向 BRAS发起 PPPOE 发现阶段;
5202、 接入设备向 BRAS发送一个 PADI(PPPOE发现初始 4艮文), 等待 PADO (PPPOE发现提供艮文)响应;
5203、 该接入设备接收到 BRAS反馈的 PADO; 5204、 该接入设备向 BRAS发送 PADR(PPPOE发现请求报文), 等待 PADS(PPPOE发现会话确认报文);
5205、 BRAS同意接收用户拨号后, 向接入设备发送一个 PAD, 设备接 收到 PADS后 , 表示 PPPOE发现阶段已经完成, 用户可以和 BRAS建立连 接了。
参考图 3, PPPOA用户 31拨号时, 如果 PPPOE会话不存在, 接入设备 32根据 PPPOE发现过程和 BRAS 33建立 PPPOE会话, 获取到 BRAS 33 的 MAC ( Medium Access Control, 媒体接入控制)地址和此次会话使用的会 话标识, 将这些信息设置到寄存器中, 对于接收到的用户 31 的其他报文, 就可以根据这些信息封装成 PPPOE报文, 直接转发到 BRAS 33。 由于用户 31发出来的 PPPOA报文没有以太网头部, 在翻译模式下, 需要为 PPPOA 拨号接入的用户 31指定一个 MAC地址, 以指定的 MAC作为源 MAC, 以 BRAS 33的 MAC地址作为目的 MAC, 封装成 PPPOE 4艮文并发送给 BRAS 33。同时将从 BRAS33接收到的 PPPOE报文去掉以太网头部和 PPPOE头部, 然后将拆离出的 PPPOA报文发送给这个指定的 MAC地址所对应的用户 31。
参考图 4, 为本发明实施例 PPPOA用户下线流程图, 包括以下步骤:
5401、 PPPOA用户下线;
5402、 由接入设备负责拆除和 BRAS建立的 PPPOE会话, 这个过程是 通过发送 PADT ( PPPOE发现终止报文)完成的。
A、 当用户进行 PPPOA拨号时, 接入设备和 BRAS建立 PPPOE会话连 接, 获取会话标识;
B、 接入设备使用该会话标识将该用户的 PPPOA报文封装到 PPPOE报 文中,并转发到 BRAS; 以及从接收到的 PPPOE报文中拆离出 PPPOA报文, 并转发给用户。
此外, 本发明实施例还检测 BRAS是否处于活动状态。 由于 PPPOE会 话只能通过收到 PADT后拆除, 所以, 设备需要知道每个 BRAS的状态, 自 动检测功能就是用来完成这项工作的。 接入设备通过定期向 BRAS 发送 PADI, 检测 PADO响应来确定 BRAS是否处于活动状态。 如果发送了指定 次数的 PADI后, 没有收到 PADO报文, 则认为和该 BRAS的连接中断, 通 知和该 BRAS相关联的用户下线。
下面结合实施例进一步说明本发明。 参考图 5, 在这个组网模型中, 包括 以下设备:
1、 一台 BRAS 33: 支持 PPPOE接入;
2、 一台接入设备 32: 能够完成 PPPOA-PPPOE的翻译过程;
3、 若干用户 31: 以: PPPOA的方式接入。
接入设备 32通过以太网和 BRAS连接, 下面带若干用户, 假设用户 1 和用户 2为 PPPOA拨号接入的用户 31。
根据上面的描述, 要使用户 1和用户 2能够进行 PRPOA拨号, 需要对 接入设备进行以下配置:
1、 创建一个二层 VLAN ( Virtual Local Area Network, 虛拟局域网), 将 BRAS所在的端口和用户 1、 用户 2所在的端口加入到该 VLAN中;
2、配置用户 1和用户 2所在的端口的工组模式为 RPPOA-PPPOE翻译模 式;
3、 配置 VLAN启用 PPPOA-PPPOE翻译功能;
4、 配置用户在 PPPOA-PPPOE翻译时使用的 MAC地址。
经过上述配置后, 用户 31进行 PPPOA拨号, 接入设备 32接收到第一 个 LCP配置请求报文后, 代替用户向 BRAS 33发起 PPPOE发现阶段, 发 送一个 PADI, 等待 PADO响应。 接收到 PADO后, 发送 PADR(PPPOE发现 请求报文), 等待 PADS(PPPOE发现会话确认报文)。 BRAS 33同意接收用户 31拨号后, 发送一个 PADS。 设备接收到 PADS后, 表示 PPPOE发现阶段 已经完成, 用户 31可以和 BRAS 33建立连接了。 由于接入设备 32是代替用 户 31和 BRAS 33完成 PPPOE发现阶段,所有发送的 4艮文的目的 MAC都是 用户 31的 MAC (该 MAC是在配置 PPPOA-PPPOE翻译功能时指定的)。
在 PPPOE发现过程中,所有从用户 31接收到的 PPP报文均丢弃,直到 PPPOE发现过程完成, PPPOE会话建立为止。 PPPOE会话建立后, 用户 31和 BRAS 33就可以进行拨号连接了。
在拨号过程中用户收发 PPP控制报文以及拨号成功后用户 31收发数据 报文, 用户 31发出的报文均为 PPP报文, 经过接入设备 32后, 被封装成 PPPOE报文, 转发到 BRAS 33。 对 BRAS 33返回的报文, 去掉以太网头部 和 PPPOE头部, 将 PPPOA报文部分转发到用户 31。
用户 31下线后, BRAS 33会向用户 31发送 PADT报文,用于拆除 PPPOE 会话, 该报文被设备捕获, 接入设备 32根据 PADT报文中的信息, 拆除对 应的 PPPOE会话。
如图 6所示, 为本发明实施例接入设备结构框图。 包括: 连接建立单元 321、 第一信息获取单元 322、 翻译处理单元 323、 以及报文转发单元 324。 其中, 所述连接建立单元 321 , 用于当用户进行 PPPOA拨号时, 和 BRAS 建立 PPPOE会话连接; 通过第一信息获取单元 322获取会话标识; 所述翻 译处理单元 323使用该会话标识将该用户的 PPPOA 4艮文封装到 PPPOE报文 中, 以及从接收到的: PPPOE报文中拆离出 PPPOA报文; 并通过报文转发单 元 324将封装后的 PPPOE报文转发到 BRAS , 以及将拆离出的 PPPOA报文 转发给用户。
其中: 所述翻译处理单元 323可以更具体化为报文封装单元和报文拆分 单元。 所述报文封装单元, 用于使用该会话标识将该用户的 PPPOA报文封 装到 PPPOE报文中; 所述报文拆分单元, 用于从接收到的 PPPOE报文中拆 离出 PPPOA才艮文。
如图 7所示, 为本发明另一实施例接入设备结构框图。 包括: 连接建立 单元 321、 第一信息获取单元 322、 翻译处理单元 323、 报文转发单元 324、 以及信息配置单元 325、 第二信息获取单元、 和存储单元 326。 其中, 所述 连接建立单元 321 ,用于当用户进行 PPPOA拨号时,和 BRAS建立 PPPOE会 话连接; 所述信息配置单元 325为该用户指定一个 MAC地址作为源 MAC 地址存储到存储单元 326; 所述第一信息获取单元 322获取会话标识, 第二 信息获取单元(图中未示)获取 BRAS的 MAC地址作为目的 MAC地址存 储到存储单元 326, 该第二信息获取单元可以和第一信息获取单元集成在一 起; 所述翻译处理单元 323通过其报文封装单元根据所迷存储单元 326存储 的源 MAC地址和目的 MAC地址, 将该用户的 PPPOA 4艮文封装成 PPPOE 存储单元 326可以为寄存器。
此外, 作为另一实施例, 在前述基础上还可以包括检测单元 327, 用于 收到用户发出链路层控制协议配置请求报文后, 检查该用户所在的端口是否 已经建立 PPPOE会话, 如果没有建立, 则触发连接建立单元; 所述连接建 立单元, 用于根据 HPPOE发现过程和 BRAS建立 PPPOE会话。 所述连接建 立单元通过 4艮文发送单元向 BRAS发送 PADI,待报文接收单元接收到 PADO 后,再通过报文发送单元向 BRAS发送 PADR,待报文接收单元接收到 PADS 后, PPPOE发现阶段完成。
另外, 由于 PPPOE会话只能通过收到 PADT报文后拆除, 所以, 接入 设备需要知道每个 BRAS的状态, 为实现此功能, 在前述结构的基础上还可 以包括状态检测单元 328: 用于检测所述 BRAS的状态。
如图 8所示, 该状态检测单元包括报文发送单元 3282、 计数单元 3284、 定时单元 3281、 报文接收单元 3283、 以及判断单元 3285, 其中: 所述报文 发送单元 3282在定时单元 3281的周期性触发下定期向该 BRAS发送 PADI 报文; 所述判断单元 3285根据计数单元 3284的计数周期内检查报文接收单 元 3283是否接收到 PADO报文, 以此断定该 BRAS处于活动状态或非活动 状态, 即如果发送设定次数的 PADI报文后, 收到了 PADO报文, 则断定该. BRAS处于活动状态; 如果没有收到 PADO报文, 则断定该 BRAS处于非活 动状态。 在 BRAS处于非活动状态情况下, 通知与该 BRAS相关联的用户下 线。
本发明实施例通过增强现有接入设备的功能, 使得接入设备可以代替用 户实现 PPPOE发现阶段, 并通过将用户发送的 PPPOA报文封装成 PPPOE 报文后转发给 BRAS, 以及将从 BRAS接收到的 PPPOE报文拆分为 PPPOA 报文, 再转发给用户, 从而拓展了现有 BRAS 的接入功能, 使其既能实现 PPPOE接入的功能, 又能实现 PPPOA接入的功能。
上述实施例是用于说明和解释本发明的原理的。 可以理解, 本发明的具 体实施方式不限于此。 对于本领域技术人员而言, 在不脱离本发明的实质和 范围的前提下进行的各种变更和修改均涵盖在本发明的保护范围之内。 因 此, 本发明的保护范围由权利要求确定。

Claims

权 利 要 求
1、 一种宽带用户接入方法, 其特征在于, 包括以下步骤:
当用户进行 PPPOA拨号时, 接入设备和 BRAS建立 PPPOE会话连接, 获取会话标识;
接入设备使用该会话标识将该用户的 PPPOA 艮文封装到 PPPOE报文 中, 并转发到 BRAS; 以及从接收到的 PPPOE报文中拆离出 PPPOA报文, 并转发给用户。
2、 如权利要求 1 所述的宽带用户接入方法, 其特征在于: 接入设备将 该用户的 PPPOA 艮文封装到 PPPOE 文时为该用户指定一个 MAC地址作 为源 MAC地址, 以 BRAS的 MAC地址作为目的 MAC地址。
3、 如权利要求 1或 2所述的宽带用户接入方法, 其特征在于, 按照以 下步驟建立 PPPOE会话连接:
所述接入设备收到用户发出的链路层控制协议配置请求报文后, 在该用 户所在的端口未建立 PPPOE会话时, 根据 PPPOE发现过程和 BRAS建立 PPPOE会话。
4、 如权利要求 3所述的宽带用户接入方法, 其特征在于, 所述 PPPOE 发现过程具体为:
所述接入设备向 BRAS发送 PADI;
接收到 BRAS反馈的 PADO后 , 向 BRAS发送 PADR;
如果 BRAS同意接收用户拨号, 则向接入设备反馈 PADS;
接入设备接收到所述 PADS时, 完成 PPPOE发现阶段。
5、 如权利要求 1所述的宽带用户接入方法, 其特征在于, 还包括: 检测所述 BRAS是否处于活动状态, 如果处于非活动状态, 则通知与该 BRAS相关联的用户下线。
6、 如权利要求 5 所述的宽带用户接入方法, 其特征在于, 按照以下步 驟检测 BRAS是否处于活动状态:
定期向该 BRAS发送 PADI报文, 如果发送了指定次数的 PADI后, 都 没有收到 PADO报文,则确定该 BRAS处于非活动状态;否则该确定该 BRAS 处于活动状态。
7、 如权利要求 5 所述的宽带用户接入方法, 其特征在于, 还包括: 当 用户下线时, 所述 BRAS通过向该用户发送 PADT 艮文拆除该 PPPOE会话 连接。
8、 一种宽带用户接入设备, 其特征在于, 包括:
连接建立单元, 用于接收到用户的 PPPOA拨号请求时, 和 BRAS建立 PPPOE会话连接;
第一信息获取单元, 用于获取该 PPPOE会话连接的会话标识; 翻译处理单元, 用于使用该会话标识将该用户的 PPPOA报文封装到 PPPOE报文中 , 以及从接收到的 PPPOE报文中拆离出 PPPOA报文;
报文转发单元, 用于将封装后的 PPPOE报文转发到 BRAS; 以及将拆离 出的 PPPOA 艮文转发给用户。
9、 如权利要求 8所述的宽带用户接入设备, 其特征在于, 还包括信息 配置单元和存储单元, 其中:
所述信息配置单元, 用于为该用户指定一个 MAC地址作为源 MAC地 址存储到存储单元;
第二信息获取单元, 用于获取 BRAS的 MAC地址作为目的 MAC地址 存储到存储单元;
所述翻译处理单元包括:
报文封装单元,用于根据所述存储单元存储的源 MAC地址和目的 MAC 地址 , 将该用户的 PPPOA报文封装成 PPPOE报文;
报文拆分单元, 用于从接收到的 PPPOE报文中拆离出 PPPOA报文。
10、 如权利要求 8或 9所述的宽带用户接入设备, 其特征在于, 还包括 检测单元, 其中:
所述检测单元, 用于收到用户发出链路层控制协议配置请求报文后, 检 查该用户所在的端口是否已经建立 PPPOE会话, 如果没有建立, 则触发 接建立单元。
11、 如权利要求 10 所述的宽带用户接入设备, 其特征在于, 所述连接 建立单元包括:
报文发送单元, 用于向 BRAS发送 PADI及 PADR; 报文接收单元, 用于接收 BRAS反馈的 PADO及 PADS。
12、 如权利要求 8所述的宽带用户接入设备, 其特征在于, 还包括状态 检测单元: 用于检测所述 BRAS的状态, 在 BRAS处于非活动状态情况下, 通知与该 BRAS相关联的用户下线。
13、 如权利要求 12所述的宽带用户接入设备, 其特征在于, 所述状态 检测单元包括报文发送单元、 计数单元、 定时单元、 报文接收单元、 以及判 断单元, 其中:
所述定时单元, 用于周期性触发报文发送单元;
所述报文发送单元, 用于向该 BRAS发送 PADI报文;
所述计数单元, 用于预先设定发送 PADI报文的次数, 累计到设定次数 后清零;
所述报文接收单元, 用于接收 PADO报文;
所述判断单元, 用于在计数单元的计数周期内判断是否接收到 PADO报 文, 以此断定该 BRAS处于活动状态或非活动状态。
PCT/CN2007/000480 2006-03-17 2007-02-12 Procédé et dispositif d'accès utilisateur à large bande WO2007107076A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200610065056 CN1822574A (zh) 2006-03-17 2006-03-17 一种宽带用户接入方法
CN200610065056.0 2006-03-17

Publications (1)

Publication Number Publication Date
WO2007107076A1 true WO2007107076A1 (fr) 2007-09-27

Family

ID=36923643

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/000480 WO2007107076A1 (fr) 2006-03-17 2007-02-12 Procédé et dispositif d'accès utilisateur à large bande

Country Status (2)

Country Link
CN (1) CN1822574A (zh)
WO (1) WO2007107076A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018226B (zh) * 2006-09-25 2012-09-05 华为技术有限公司 一种接入终端与运营商绑定的方法
CN101111014B (zh) * 2007-08-15 2011-02-16 华为技术有限公司 客户端接入第三方服务器的方法、设备及其系统
CN101197835A (zh) * 2007-12-27 2008-06-11 华为技术有限公司 虚拟专用网接入方法、系统及装置
CN102075904B (zh) 2010-12-24 2015-02-11 杭州华三通信技术有限公司 一种防止漫游用户再次认证的方法和装置
CN103873335B (zh) * 2012-12-13 2017-04-12 华为技术有限公司 终端设备的拨号方法和接入设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030053443A1 (en) * 2001-09-20 2003-03-20 Owens Craig Braswell System and method for provisioning broadband service in a PPPoE network using DTMF communication
CN1571392A (zh) * 2003-07-25 2005-01-26 华为技术有限公司 一种在网络接入设备上实现PPPoA到PPPoE转换的方法
CN1620035A (zh) * 2003-11-21 2005-05-25 华为技术有限公司 一种异步传输模式交换网用户的以太网接入方法
CN1674579A (zh) * 2004-07-20 2005-09-28 华为技术有限公司 在宽带接入设备上支持PPPoA的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030053443A1 (en) * 2001-09-20 2003-03-20 Owens Craig Braswell System and method for provisioning broadband service in a PPPoE network using DTMF communication
CN1571392A (zh) * 2003-07-25 2005-01-26 华为技术有限公司 一种在网络接入设备上实现PPPoA到PPPoE转换的方法
CN1620035A (zh) * 2003-11-21 2005-05-25 华为技术有限公司 一种异步传输模式交换网用户的以太网接入方法
CN1674579A (zh) * 2004-07-20 2005-09-28 华为技术有限公司 在宽带接入设备上支持PPPoA的方法

Also Published As

Publication number Publication date
CN1822574A (zh) 2006-08-23

Similar Documents

Publication Publication Date Title
KR101418351B1 (ko) 네트워크를 액세스하기 위해 인터페이스를 식별하고 선택하기 위한 방법 및 디바이스
JP4738901B2 (ja) Vlanid動的割当方法及びパケット転送装置
EP2207321B1 (en) An accessing method, system and equipment of layer-3 session
US8086749B2 (en) Techniques for migrating a point to point protocol to a protocol for an access network
WO2008106881A1 (fr) Procédé d'accès ppp, système correspondant et dispositif à noeud d'accès
WO2012079473A1 (zh) 自动切换网络的方法和装置、无线接入设备和中间设备
US20080285569A1 (en) Device for Session-Based Packet Switching
WO2011140843A1 (zh) 一种报文转发的方法、装置及系统
Valencia et al. Cisco Layer Two Forwarding (Protocol)" L2F"
WO2006114053A1 (fr) Procede, systeme et appareil visant a empecher la contrefacon d’une adresse mac
EP2525531B1 (en) Method and network access device for enabling data forwarding between different physical media
WO2012130142A1 (zh) 用户业务接入方法、系统和接入设备
WO2008151548A1 (fr) Procédé et appareil pour empêcher l'usurpation de l'adresse de commande d'accès au support (mac) côté réseau
WO2005112349A1 (en) A method for redialing quickly to the broad band network of users
WO2017088101A1 (zh) 一种网络连接信息获取方法及路由器
WO2007107076A1 (fr) Procédé et dispositif d'accès utilisateur à large bande
WO2014153860A1 (zh) 一种网络接入的方法、网关及系统
WO2014180213A1 (zh) 一种tcp会话建立方法、装置、宿主节点和卫星节点
WO2008037212A1 (fr) Terminal d'accès et procédé permettant d'attacher un terminal à l'opérateur
WO2009074072A1 (fr) Procédé, système de réseau et équipement de réseau de conversion de stratégie dynamique
WO2008028383A1 (fr) Procédé d'identification de protocole de couche 3 dans une interconnexion à supports hétérogènes dans un réseau privé virtuel de protocole l2 et appareil et système correspondants
JP3757863B2 (ja) アクセスネットワーク装置
WO2012119386A1 (zh) 一种接入网络中的认证方法、设备和系统
EP1542425A1 (en) Method for autoconfiguring CPEs in DSL networks
WO2009024064A1 (fr) Procédé d'accès de client à un serveur tiers, dispositif et son système utilisant le procédé

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

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

Country of ref document: EP

Kind code of ref document: A1