CN103873335B - The dialing method of the terminal device and an access device - Google Patents

The dialing method of the terminal device and an access device Download PDF

Info

Publication number
CN103873335B
CN103873335B CN201210538919.7A CN201210538919A CN103873335B CN 103873335 B CN103873335 B CN 103873335B CN 201210538919 A CN201210538919 A CN 201210538919A CN 103873335 B CN103873335 B CN 103873335B
Authority
CN
China
Prior art keywords
bras
mac address
terminal device
access
access device
Prior art date
Application number
CN201210538919.7A
Other languages
Chinese (zh)
Other versions
CN103873335A (en
Inventor
赵胜涛
薛俊杰
张成国
张少毅
李春梅
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201210538919.7A priority Critical patent/CN103873335B/en
Publication of CN103873335A publication Critical patent/CN103873335A/en
Application granted granted Critical
Publication of CN103873335B publication Critical patent/CN103873335B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. local area networks [LAN], wide area networks [WAN]
    • 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. local area networks [LAN], wide area networks [WAN]
    • 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

Abstract

本发明提供一种终端设备的拨号方法和接入设备,该方法包括:接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中;向该BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS是否处于离线状态;获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID;根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号。 The present invention provides a terminal device and a method of dial-up access device, the method comprising: the access device sends probe packets into the network, the online access to the broadband access server BRAS media access control MAC address of the acquired BRAS MAC address list stored in the BRAS; handshake packets to the BRAS's MAC address in the list corresponding to the BRAS, the BRAS to obtain the corresponding offline; obtaining the MAC address of the BRAS is offline, the BRAS, and the MAC address MAC address and the correspondence between the terminal equipment session session ID, the access rests BRAS terminal device is offline MAC address and the session ID; to send the next to the corresponding terminal according to the MAC address of the terminal device acquires and session ID line notification message, so that the corresponding terminal device to dial.

Description

终端设备的拨号方法和接入设备 The dialing method of the terminal device and an access device

技术领域 FIELD

[0001] 本发明涉及通信技术,尤其涉及一种终端设备的拨号方法和接入设备。 [0001] The present invention relates to communications technologies, and in particular relates to a method of dialing an access device of a terminal device.

背景技术 Background technique

[0002] 目前,宽带运营商往往使用多个宽带接入服务器(Broadband RemoteAccess Server;简称:BRAS)或者一个BRAS上的多个端口来分担用户和流量。 [0002] Currently, operators tend to use a plurality of broadband BAS (Broadband RemoteAccess Server; abbreviation: BRAS) or on one of the plurality of ports and user traffic to share the BRAS. 另外,在以太网承载PPP协议(Point To Point Protocol Over Ethernet;简称:PPPoE)用户拨号时,会与第一个响应的BRAS建立连接,即选择该第一个响应的BRAS作为认证服务器。 Further, in the Ethernet to carry PPP (Point To Point Protocol Over Ethernet; abbreviation: PPPoE) dial-up user, BRAS will establish a connection with the first response, i.e., the first selected BRAS authentication server as a response. 在该终端与该BRAS 之间建立连接后,该终端每隔预定时间,与该BRAS之间建立链路控制协议(Li nk ControlProtocol;简称:LCP)握手,以判断该BRAS是否故障。 After the connection is established between the terminal and the BRAS, the terminal at predetermined time intervals, establishing a link control protocol between the BRAS and (Li nk ControlProtocol; abbreviation: LCP) handshake to determine whether the fault BRAS. 当该BRAS发生故障时,该终端与该BRAS之间的LCP握手会连续超时,从而使得该终端下线重新拨号到其他正常工作的BRAS 上。 When the BRAS failure between the terminal and the BRAS LCP handshake consecutive timed such that the upper terminal offline redial other normal work BRAS.

[0003] 但是,通过该终端与该BRAS之间建立LCP握手,判断出该BRAS故障后重新拨号到其他正常工作的BRAS上的过程长达几十秒到几分钟,因此,造成了业务中断时间较长,用户感知较差的问题。 [0003] However, through the establishment of the terminal between the BRAS and LCP handshake, determine the course of the re-dialing to other normal work after the failure BRAS BRAS up to tens of seconds to several minutes, thus, resulting in a service interruption time long, poor user perception problem.

发明内容 SUMMARY

[0004] 本发明提供一种终端设备的拨号方法和接入设备,以用于减少因BRAS故障或者连接故障而离线所导致的业务中断时间。 [0004] The present invention provides a dialing method and an access device of a terminal device, for reducing connection failure due to failure or BRAS offline service interruption time caused.

[0005] 本发明的第一方面是提供一种终端设备的拨号方法,包括: [0005] The first aspect of the present invention is to provide a method of dialing a terminal device, comprising:

[0006] 接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中; [0006] The access device sends a probe packet to the network, the online access to the broadband access server BRAS media access control MAC address, the MAC address acquired is stored in the BRAS BRAS list;

[0007] 所述接入设备向所述BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态; [0007] The access device corresponding to the MAC address list BRAS BRAS handshake packets, to obtain the current state corresponding to the BRAS;

[0008] 所述接入设备获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID; [0008] The access device obtains the MAC address of the BRAS is offline, and the MAC addresses of the terminal device and the correspondence between the BRAS Session ID of the session, acquires the terminal device belonging to the BRAS is offline MAC address and Session ID;

[0009] 所述接入设备根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号。 [0009] The access device transmits an offline notification message to the terminal device corresponding to the MAC address of the terminal device acquires and Session ID, the terminal device such that the corresponding dial.

[0010] 在第一方面的第一种可能实现方式中,所述接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中,具体包括: [0010] In a first possible implementation of the first aspect, the access device sends probe packets into the network, the online access to the broadband access server BRAS Media Access Control MAC address, a MAC acquired BRAS BRAS address in the list, including:

[0011] 所述接入设备向所述网络中的BRAS发送以太网承载点对点协议PPPoE激活发现起始分组PADI报文; [0011] The access device sends the network BRAS Point Protocol over Ethernet PPPoE PADI packet start activation packet found;

[0012] 所述接入设备接收BRAS的PPPoE激活发现阶段服务报文PAD0报文,从所述PAD0报文中获取BRAS的MAC地址,将获取的BRAS的MAC地址存储到所述BRAS列表中。 [0012] The access device receives the BRAS PPPoE discovery stage activation PAD0 service message packet, the MAC address acquired from the BRAS PAD0 packet, the MAC address acquired is stored into the BRAS BRAS list.

[0013] 结合第一方面,在第一方面的第二种可能的实现方式中,所述接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中,具体包括: [0013] with the first aspect, in a first aspect a second possible implementation, the access device sends probe packets, obtain the media access on broadband access server BRAS control (MAC) address to the network, the acquired MAC address is stored in the BRAS BRAS list, comprises:

[0014] 所述接入设备根据预先配置的BRAS的IP地址,向IP地址对应的BRAS发送地址解析协议ARP报文; [0014] The access device according to a preconfigured IP address of the BRAS, the IP address corresponding to the address resolution protocol ARP BRAS transmitted packets;

[0015] 所述接入设备接收BRAS的ARP响应报文,从ARP响应报文中获取IP地址对应的BRAS 的MAC地址,将获取的MAC地址存储到所述BRAS列表中。 [0015] The access device receives the ARP response packet BRAS, obtain an IP address corresponding to the MAC address from the ARP packet BRAS response, the acquired MAC address list stored in the BRAS.

[0016] 结合第一方面,在第一方面的第三种可能的实现方式中,所述接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中之后,所述方法还包括: [0016] with the first aspect, in a first aspect a third possible implementation, the access device sends probe packets, obtain the media access on broadband access server BRAS control (MAC) address to the network, after the acquisition of the MAC address is stored in the BRAS BRAS list, the method further comprising:

[0017] 所述接入设备对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC地址、 BRAS的MAC地址、以及Session ID形成对应关系保存到所述接入设备上。 The [0017] access device to the terminal device monitors the dialing process the BRAS, acquired from the terminal device dialing terminal device MAC address, the MAC address of the BRAS, and the Session ID, the acquired MAC address of the terminal device, BRAS's MAC address and the Session ID to form a corresponding relationship stored on the access device.

[0018]结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述接入设备对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,具体包括: [0018] reference to the third aspect of the first possible implementation, a fourth possible implementation manner of the first aspect, the access device to the terminal device monitors the dialing process the BRAS, from the terminal device dialing acquired MAC address of the terminal device, the BRAS's MAC address, and the Session ID, comprises:

[0019] 所述接入设备接收BRAS的以太网承载点对点协议PPP〇E激活发现会话确认分组PAM报文; [0019] The access device receives the Ethernet carrying point to point protocol BRAS PPP〇E activation acknowledgment packet PAM discovery session packet;

[0020] 所述接入设备将所述PADS报文中的终端设备的MAC地址、BRAS的MAC地址以及Session ID形成对应关系保存在所述接入设备上。 [0020] The access device to the PADS packet of the terminal device's MAC address, MAC address and the Session ID BRAS is formed on the correspondence relationship stored in the access device.

[0021]本发明的第二方面是提供一种接入设备,包括:第一收发机,用于向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中; [0021] A second aspect of the present invention is to provide an access device, comprising: a first transceiver for transmitting a detection packet to a network, acquires a media access on broadband access server BRAS control (MAC) addresses, acquired the BRAS BRAS MAC address in the list;

[0022] 第二收发机,用于向所述BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态; [0022] The second transceiver, corresponding to a MAC address for the list BRAS BRAS handshake packets, to obtain the current state corresponding to the BRAS;

[0023] 处理器,用于获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID; [0023] processor configured to obtain the MAC address of the offline BRAS, and the MAC addresses of the terminal device and the correspondence between the BRAS Session ID of the session, acquires the terminal device belonging to the BRAS is offline MAC address and Session ID;

[0024] 第三收发机,用于根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号; [0024] The third transceiver for transmitting an offline notification message to the terminal device corresponding to the MAC address of the terminal device acquires and Session ID, so that the corresponding terminal device to dial;

[0025] 存储器,用于存储所述BRAS列表。 [0025] memory, for storing a list of the BRAS.

[0026]在第二方面的第一种可能实现方式中,所述第一收发机具体包括: [0026] In a first possible implementation of the second aspect, the first transceiver comprises:

[0027]数据发送器,用于向所述网络中的BRAS发送以太网承载点对点协议PPPoE激活发现起始分组PADI报文; [0027] The data transmitter, for transmitting a Point to Point Protocol over Ethernet PPPoE PADI packet activation found starting message to the network in the BRAS;

[0028] 数据接收器,用于接收BRAS的冲此日激活发现阶段服务报文PAD0报文,从所述PAD〇报文中获取BRAS的MAC地址,将获取的BRAS的MAC地址存储到所述BRAS列表中。 [0028] The data receiver for receiving red BRAS this discovery phase activation date PAD0 service message packet, the MAC address acquired from the BRAS PAD〇 packet, the MAC address acquired is stored into the BRAS BRAS list.

[0029] 结合第二方面,在第二方面的第二种可能的实现方式中,所述第一收发机具体包括: [0029] combination with the second aspect, in a second possible implementation of the second aspect, the first transceiver comprises:

[0030] 数据发送器,用于根据预先配置的bras的IP地址,向IP地址对应的BRAS发送地址解析协议ARP报文; [0030] The data transmitter, according to pre-configured IP address of bras, corresponding to the IP address of the ARP Address Resolution Protocol BRAS transmitted packets;

[0031] 数据接收器,用于接收BRAS的ARP响应报文,从ARP响应报文中获取IP地址对应的BRAS的MAC地址,将获取的MAC地址存储到所述BRAS列表中。 [0031] The data receiver for receiving BRAS ARP response packet, acquires the MAC address of the packet corresponding to an IP address from the ARP response BRAS, the acquired MAC address list stored in the BRAS.

[0032] 结合第二方面的第一种可能的实现方式,在第二方面的第三种可能实现方式中, 所述第二收发机还用于对终端设备向BRAS的拨号过程的报文进行转发; [0032] The first possible implementation of the second aspect, in a third possible implementation of the second aspect, the second transceiver is further configured to the terminal device to process packets dialing the BRAS forwarding;

[0033] 所述处理器还用于从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC 地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到所述存储器中。 [0033] The processor is further configured to obtain the MAC address of the terminal device from the dial-up process of the terminal device MAC address, the MAC address of the BRAS, and the Session ID, the acquired terminal device, BRAS's MAC address, and the Session ID is formed stored in corresponding relation to the memory.

[0034]结合第二方面至第二方面的第三种中任一种可能实现方式,在第二方面的第四种可能实现方式中,所述接入设备为光线路终端0LT、数字用户线接入复用器DSLAM或者多业务接入节点MSAN。 [0034] The second aspect of binding to any one third possible implementation of the second aspect, in a fourth aspect of a second possible implementation, the access device is an optical line terminal 0LT, digital subscriber line Multiservice access multiplexer DSLAM or access node MSAN.

[0035] 本发明的第三方面是提供一种拨号系统,包括接入设备、终端设备、以及宽带接入服务器BRAS,所述终端设备通过所述接入设备连接到所述BRAS,其中, [0035] The third aspect of the present invention is to provide a dial-up system, comprising an access device, a terminal device, the BRAS and the broadband access server, the terminal device via the access device to the the BRAS, wherein

[0036] 所述接入设备,用于向网络中发送探测报文,获取在线的BRAS的媒体访问控制MAC 地址,将获取的BRAS的MAC地址保存在BRAS列表中;向BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态;获取处于离线状态的BRAS的MAC地址,从BRAS 的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID;以及根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文; [0036] The access device for transmitting a detection packet to a network, acquires the BRAS line media access control MAC address, the MAC address acquired is stored in the BRAS BRAS list; to the MAC address list BRAS BRAS sends a corresponding handshake message, to obtain the corresponding BRAS current state; to obtain the MAC address of the BRAS is offline, acquired from the MAC addresses of the terminal apparatus the BRAS and the correspondence between the session session ID is attributable to at BRAS MAC address of the terminal device offline and Session ID; and transmitting to the terminal device corresponding to the MAC address of the terminal device and the Session ID acquired offline notification message;

[0037] 终端设备,用于在收到接入设备的下线通知报文后进行拨号。 [0037] the terminal device, after receiving the dialing for offline notification message access device.

[0038] 在第三方面的第一种可能实现方式中,所述接入设备还用于对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到所述接入设备上。 [0038] In a first possible implementation of the third aspect, the access device is further configured to monitor the terminal device to the BRAS dialup, the terminal device acquires the dialing process the MAC address of the terminal device, BRAS MAC address, and the Session ID, the acquired MAC address of the terminal device, the BRAS's MAC address, and Session ID are formed on to the saved corresponding relationship between the access device.

[0039] 本发明的技术效果是:接入设备向网络中发送探测报文,获取在线的BRAS的maC地址,将获取的BRAS的MAC地址保存在BRAS列表中,向该BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS是否处于离线状态,当获取处于离线状态的BRAS的MAC地址后,从BRAS的MAC地址和终端设备的MAC地址以及Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID,根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号,由于通过探知BRAS是否在线,在发现该BRAS离线时主动向连接在该BRAS上终端设备发送下线通知报文,使得终端设备可以自动重新进行拨号处理,因此,有效地减少了因BRAS故障或者连接故障而离线所导致的业务中断时间。 [0039] A technical effect of the present invention is that: the access device sends probe packets into the network, obtaining the address line maC the BRAS, the BRAS acquired MAC address list stored in the BRAS, BRAS to the MAC address list BRAS sends a corresponding handshake message, to obtain the corresponding BRAS is in an offline state, when the acquired BRAS offline MAC address, the MAC addresses of the terminal apparatus the BRAS and the correspondence between Session ID, the acquired Session ID and the MAC address assigned to the BRAS offline terminal device, according to the MAC address of the terminal device to obtain the Session ID and the terminal device sends a corresponding notification message offline, so that the corresponding terminal device to dial, since BRAS by ascertaining whether online, offline sends a notification message is found in the offline BRAS is connected to the BRAS to the terminal device, so that the terminal device can automatically re-dialing process, therefore, is effectively reduced due to connection failure or fault BRAS the resulting off-line service interruption time.

附图说明 BRIEF DESCRIPTION

[0040]图1为本发明终端设备的拨号方法所应用的网络的架构示意图; [0040] FIG 1 network dialing method of the present invention is applied to a terminal device architecture diagram;

[0041]图2为本发明终端设备的拨号方法的一个实施例的流程图; Flow diagram of one embodiment of a terminal device dialing method [0041] FIG. 2 of the present invention;

[0042]图3为本发明终端设备的拨号方法的另一个实施例的流程图; A flow chart of another embodiment of [0042] FIG. 3 dialing method of a terminal apparatus of the present embodiment of the invention;

[0043]图4为本发明接入设备的一个实施例的结构示意图; [0043] Fig 4 a schematic structural diagram of one embodiment of the present invention, the access device;

[0044]图5为本发明接入设备的另一个实施例的结构示意图。 A schematic view of another configuration example of [0044] FIG. 5 embodiment of the present invention, an access device.

具体实施方式 Detailed ways

[0045]图1为本发明终端设备的拨号方法所应用的网络的架构示意图,如图丨所示,该网络包括BRAS 11、接入节点(Access Node;简称:AN) I2和终端设备13。 Architecture diagram [0045] FIG method of dialing a network terminal device of the present invention is applied, as shown in Shu, which network comprises BRAS 11, the access node (Access Node; abbreviation: AN) I2 and terminal equipment 13. 其中,BRAS 11可具有一个或多个接口,每个接口与一个AN I2存在连接关系。 Wherein, BRAS 11 may have one or more interfaces each with a connection relationship exists AN I2. AN 12可分别与多个BRAS 11的接口存在连接关系。 AN 12 may be connected to the interface relationships of the plurality BRAS 11. 用户设备13在同一次上线过程中,只与一个AN 12进行连接。 The user equipment 13 on the same line in the process, only a connection to AN 12.

[0046] 另外,AN 1 2可以包括数字用户线路接入复用器(D igi tal Subscr i ber LineAccess Multiplexer;间称:DSLAM)或者综合业务接入设备(Multi-ServiceAccess Node;简称:MSAN)等。 [0046] Further, AN 1 2 may comprise a digital subscriber line access multiplexer (D igi tal Subscr i ber LineAccess Multiplexer; said inter-: DSLAM) or integrated access devices (Multi-ServiceAccess Node; abbreviation: MSAN), etc. . 用户设备I 3可以包括家庭网关、Modem、STB、PC等PPPoE客户端设备。 I 3 user device may include a home gateway, Modem, STB, PC and other PPPoE client devices.

[0047] 图2为本发明终端设备的拨号方法的一个实施例的流程图,结合上述图1所示的网络的结构示意图,如图2所示,本实施例的执行主体为接入节点,则该方法包括: A flowchart of an embodiment [0047] FIG dialing method the terminal device 2 of the present invention, in conjunction with the schematic structure of the network shown in FIG. 1, FIG. 2, the body of the present embodiment performs an access node, the method comprising:

[0048]步骤101、接入设备向网络中发送探测报文,获取在线的B RA S的媒体访问控制(Media Access Control;简称:MAC)地址,将获取的BRAS的MAC地址保存在BRAS列表中。 [0048] Step 101, the network access device sends probe packets, obtain the media access control line of B RA S (Media Access Control; abbreviation: MAC) address, the MAC address acquired is stored in the BRAS BRAS list . [0049] 步骤1〇2、接入设备向该BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态。 [0049] Step 1〇2, the access device to the MAC address list corresponding BRAS BRAS handshake packets, to obtain the current status of the corresponding BRAS.

[0050]优选地,可以每隔第一预定时间,分别向BRAS列表中的每个BRAS的MAC地址对应的BRAS之间进行握手,即向每个BRAS的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS 的是否处于离线状态。 [0050] Preferably, the first predetermined time interval, corresponding to each handshake between the MAC address of each list in the BRAS BRAS BRAS, namely the MAC address corresponding to each BRAS BRAS handshake packets, to obtain the corresponding BRAS whether offline. 其中,该第一预定时间是可以根据实际情况进行配置的,例如:该第一预定时间可以是0.5秒,g卩每隔0 • 5秒,就分别向每个BRAS发送握手报文。 Wherein the first predetermined time may be configured in accordance with the actual situation, for example: the first predetermined time may be 0.5 seconds, g Jie every 0 • 5 seconds, packets are transmitted to each handshake BRAS.

[0051]更为优选地,可以米用接入点控制协议(Access Node Control Protocol;简称: ANCP)、网际包探测器(Packet internet groper;简称:PING)、地址解析协议(Address Resolution Protocol;简称:ARP)、广播PADI或者单播PADI方式,分别与BRAS列表中每个BRAS的MAC地址对应的BRAS之间进行握手。 [0051] More preferably, m can be an access point control protocol (Access Node Control Protocol; abbreviation: ANCP), Internetwork Packet detector (Packet internet groper; abbreviation: PING), ARP (Address Resolution Protocol; Acronym : ARP), a broadcast or unicast PADI PADI embodiment, handshaking between a BRAS respectively MAC address of each list corresponding to the BRAS BRAS.

[0052]步骤103、接入设备获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID。 [0052] Step 103, acquires the MAC address of the access device is offline the BRAS, and the MAC addresses of the terminal device and the correspondence between the BRAS Session ID of the session, access rests BRAS is offline terminal device MAC address and Session ID.

[OO53]在本实施例中,需要说明的是,当与BRAS之间连续握手超时次数等于预定阈值时, 即说明该BRAS处于离线状态,则从BRAS的MAC地址和终端设备的MAC地址以及Session ID 中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID。 [OO53] In the present embodiment, it is noted that, when successive timeouts between the BRAS and the handshake is equal to a predetermined threshold value, indicating that the BRAS i.e. offline, from the BRAS and the MAC addresses of the terminal device and the Session ID, the MAC address of the home to obtain the BRAS is offline terminal device and the Session ID.

[00M]在本实施例中,举例来说,当预定阈值为3时,接入设备每隔第一预定时间,向BRAS 列表中的每个BRAS分别发送握手报文,如果在时间阈值内没有收到某个BRAS返回的回应报文,则针对该BRAS视为一次握手超时,如果该BRAS连续发生3次握手超时,则视为该BRAS离线(出现故障或者连接故障),此时,获取与该BRAS连接的终端设备的MAC地址和分配的Session ID〇 [00M] In the present embodiment, for example, when a predetermined threshold value 3, the access device a first predetermined time interval, send handshake messages to the BRAS each BRAS in the list, respectively, if not within a time threshold receive a response message returned by the BRAS, BRAS is considered for the first handshake timeout, if the BRAS consecutive 3-way handshake timeout occurs, is considered the BRAS offline (failure or connection failure), this time, acquisition and MAC address and the assigned terminal apparatus connected to the BRAS Session ID〇

[OO55]步骤104、接入设备根据获取的终端设备的mac地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号。 [OO55] Step 104, the access equipment transmits an offline notification message to the corresponding terminal apparatus according to the mac address of the terminal device acquires and Session ID, the terminal device such that the corresponding dial.

[0056] 在本实施例中,该下线通知报文为PPP0E积极探索终止(PPPOE ActiveDiscovery Terminal;简称:PADT)报文,或者PADX报文,或者携带有立即重新拨号标识的PADT报文。 [0056] In the present embodiment, the notification message is offline PPP0E actively explore termination (PPPOE ActiveDiscovery Terminal; abbreviation: PADT) packets, or packets PADX or carrying PADT packets identified immediately re-dial. 其中,PADX报文泛指仿照PADT报文,通过使用新的code值,构造一种具有特定含义的新报文。 Wherein the new message, the message refers padx modeled PADT packets, by using the new code value, is configured having a specific meaning. 相对于终端设备在接收到PADT报文后往往会延时几秒在重新进行拨号处理而言,终端设备在接收到PADX报文后会立即重新进行拨号处理,因此终端设备在接收到PADX报文后,不需要等待既可以重新进行拨号处理,更加有效地缩短中业务中断时间。 With respect to the terminal device receives the PADT packets tend to be a few seconds delay in the re-dialing process, the terminal will re-dial treatment immediately after receiving PADX message, the terminal device receives the packets PADX later, without waiting for either re-dialing process more effective in shortening the duration of service interruption.

[0057] 在本实施例中,接入设备向网络中发送探测报文,获取在线的BRAS的MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中,向该BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态,获取处于离线状态的BRAS的MAC地址后,从BRAS的MAC 地址和终端设备的MAC地址以及Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID,根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号,由于通过探知BRAS 是否在线,在发现该BRAS离线时主动向连接在该BRAS上终端设备发送下线通知报文,使得终端设备可以自动重新进行拨号处理,因此,有效地减少了因BRAS故障或者连接故障而离线所导致的业务中断时间。 [0057], the access device in the present embodiment, the transmission in the network probe packets to obtain the MAC address of the online BRAS, the BRAS acquired MAC address list stored in the BRAS, the MAC address to the list corresponds BRAS after BRAS handshake packets, to obtain the corresponding BRAS current state, to obtain the MAC address is offline BRAS from MAC addresses of the terminal apparatus the BRAS and the correspondence between Session ID, the access rests in BRAS MAC address of the terminal device offline and Session ID, the MAC address of the terminal device acquires and Session ID to the corresponding terminal device sends a notification message offline, so that the corresponding terminal device to dial, since the Discovery BRAS is online, offline BRAS found that when the active terminal is connected to the BRAS offline notification message transmitting device, so that the terminal device can automatically re-dialing process, thus effectively reducing the BRAS due to failure or a connection failure of the offline business interruption due time.

[0058]图3为本发明终端设备的拨号方法的另一个实施例的流程图,在上述图1所示实施例的基础上,如图2所示,在步骤101的一种具体实现方式为: A flow chart of another embodiment of [0058] FIG. 3 dialing method for a terminal apparatus of the present embodiment of the invention, in the above embodiment shown in FIG. 1 in the embodiment shown in Figure 2, in a specific implementation of step 101 of :

[0059] 步骤101a、接入设备向网络中的BRAS发送以太网承载点对点协议(Point-to-Point Protocol over Ethernet;简称:PPPoE)激活发现起始分组(PPP0E Active Discovery Initiation;简称:PADI)报文。 [0059] Step 101a, the network access device sends the BRAS Point Protocol over Ethernet (Point-to-Point Protocol over Ethernet; abbreviation: PPPoE) was found to activate the start packet (PPP0E Active Discovery Initiation; abbreviation: PADI) packet Wen.

[0060] 步骤101b、接入设备接收BRAS的PPPoE激活发现阶段服务报文(PPPOEActive Discovery Offer;简称:PAD0)报文,从该PAD0报文中获取该BRAS的MAC地址,将获取的BRAS 的MAC地址存储到该BRAS列表中。 [0060] Step 101b, the access device receives the PPPoE discovery phase BRAS activation service message (PPPOEActive Discovery Offer; abbreviation: PAD0) packet, acquires the MAC address from the BRAS PAD0 message, a MAC acquired BRAS the address stored in the BRAS list.

[0061] 在本实施例中,优选地,接入设备可以每隔第二预定时间向网络中的BRAS发送PADI报文。 [0061] embodiment, preferably, the access device may send a PADI packet to the BRAS network every predetermined second period in the present embodiment. 其中,该第二预定时间是可以根据实际情况进行配置的,例如:该第二预定时间可以是10秒。 Wherein the second predetermined time may be configured in accordance with the actual situation, for example: the second predetermined time may be 10 seconds.

[0062] 在本实施例中,接收设备向上行方向发送PADI报文(该PADI报文为广播报文),所有接收到的PADI的BRAS都会响应一个PAD0报文,当接收到该PAD0报文,就可以从该PAD0报文上获取其发送的BRAS的MAC地址,从而探测到网络上有哪些在线的BRAS。 [0062] In the present embodiment, the receiving apparatus up the row direction sent PADI packet (the PADI packet is a broadcast packet), all of the received PADI the BRAS responds with an PAD0 packet, when receiving the PAD0 packet , you can obtain the MAC address sent from the BRAS PAD0 the packet, so as to detect which line the BRAS on the network. 其中,该MAC地址可以作为BRAS的唯一标识。 Wherein, the MAC address can be uniquely identified by the BRAS.

[0063] 优选地,步骤101b之后,步骤102之前,该方法还可以包括: [0063] Preferably, after step 101b, prior to step 102, the method may further comprise:

[0064] 步骤101c、接入设备对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC 地址、BRAS的MAC地址、以及SessionID形成对应关系保存到所述接入设备上。 [0064] Step 101c, the access device to the terminal device monitors the dialing process the BRAS, acquired from the terminal device dialing terminal device MAC address, the MAC address of the BRAS, and the Session ID, the acquired MAC address of the terminal device , the BRAS's MAC address, and SessionID to form a corresponding relationship stored on the access device.

[0065] 更为优选地,步骤101c的一种具体实现方式为: [0065] More preferably, a specific implementation of step 101c as follows:

[0066] 接入设备接收BRAS的PPPoE激活发现会话确认分组(PPPOE ActiveDiscovery Sess ion-confirmation;简称:PADS)报文; [0066] The access device receives the BRAS PPPoE discovery session activation acknowledgment packet (PPPOE ActiveDiscovery Sess ion-confirmation; abbreviation: PADS) packet;

[0067] 接入设备将该PADS报文中的终端设备的MAC地址、BRAS的MAC地址以及Session ID 形成对应关系保存在该接入设备上。 [0067] The MAC address of the access device PADS packet of the terminal device, MAC address and the Session ID BRAS is formed on the correspondence relationship stored in the access device.

[0068] 在本实施例中,对于每个终端设备而言,在终端设备进行拨号时,会选择第一个响应的BRAS作为认证服务器,并与之相连接。 [0068] In the present embodiment, for each terminal apparatus, the terminal apparatus when the dial, BRAS selects the first response as an authentication server, and connected thereto. 同时,由于终端设备拨号时需要经过AN,因此,AN 可以监听到认证服务器返回给终端设备的PPPOE积极探索会议确认(PPPOE Active Discovery Session-confirmation;简称:PADS)报文,从而记录该用户的基本信息,g卩该终端设备的MAC地址和会议标识(Session ID),建立该该终端设备的MAC地址和Session ID以及该BRAS的MAC地址的映射关系。 Meanwhile, since the terminal device dialing to go through AN, therefore, the AN can listen to the authentication server returns PPPOE actively explore session acknowledgment to the terminal device (PPPOE Active Discovery Session-confirmation; abbreviation: PADS) packet, to record the user's basic information, MAC address and a session identifier of the terminal device Jie g (session ID), to establish the mapping between the MAC address of the terminal device and the session ID and the MAC address of the BRAS.

[0069]还需要说明的是,步骤101还可以有如下另一个具体实现方式: [0069] It is further noted that step 101 may also be another way to achieve the following:

[0070]接入设备根据预先配置的BRAS的IP地址,向IP地址对应的BRAS发送地址解析协议(Address Resolution Protocol;简称:ARP)报文; [0070] The access device according to a preconfigured IP address of the BRAS, the corresponding IP address to send BRAS ARP (Address Resolution Protocol; abbreviation: ARP) packets;

[0071] 接入设备接收BRAS的ARP响应报文,从ARP响应报文中获取IP地址对应的BRAS的MAC地址,将获取的MAC地址存储到BRAS列表中。 [0071] The access device receives the ARP response packet BRAS, the BRAS acquired MAC address corresponding to the IP address from the ARP response packet, the acquired MAC address list stored in the BRAS.

[0072]本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。 [0072] Those of ordinary skill in the art will be appreciated that: each of the foregoing methods to complete all or part of the hardware can step through the program instructions relating to the implementation. 前述的程序可以存储于一计算机可读取存储介质中。 The program may be stored in a computer readable storage medium. 该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:R〇M、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 When the program is executed, comprising the step of performing the above-described method of the embodiment; and the storage medium comprising: a variety of medium may store program codes R〇M, RAM, magnetic disk, or optical disk.

[0073]图4为本发明接入设备的一个实施例的结构示意图,如图4所示,本实施例的接入设备包括第一收发机21、第二收发机22、处理器23、第三收发机24和存储器25,其中,第一收发机21用于向网络中发送探测报文,获取在线的BRAS的MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中;第二收发机2 2用于向该BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态;处理器23用于获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID;第三收发机24用于根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号;存储器25用于存储所述BRAS列表。 A structural diagram of embodiment [0073] FIG. 4 of the present invention, an access device shown in Figure 4, the access device of the present embodiment includes a first transceiver 21, a second transceiver 22, processor 23, first three transceiver 24 and a memory 25, wherein the first transceiver 21 for transmitting a detection packet to a network, acquires the MAC address of the online BRAS, the BRAS acquired MAC address list stored in the BRAS; second transceiver 22 configured to send the handshake message to the BRAS's MAC address in the list corresponding to the BRAS, to obtain the current state corresponds to the BRAS; a processor 23 configured to obtain BRAS offline MAC address from the MAC address and the BRAS and the correspondence between the MAC address of the terminal device session session ID, the MAC address of the home to obtain the BRAS is offline terminal device and the session ID; third transceiver 24 for obtaining the MAC address of the terminal device according to the session ID and the terminal device sends a corresponding notification message offline, so that the corresponding terminal device to dial; BRAS memory 25 for storing the list.

[0074]本实施例的接入设备可以执行图2所示方法实施例的技术方案,其实现原理相类似,此处不再赘述。 [0074] The access device of the present embodiment may perform the method shown in FIG. 2 technical solutions of the embodiments, which implements the principle is similar, will not be repeated here.

[0075]另外,该第一收发机21、第二收发机22和第三收发机24可以为同一收发机,也可以是二个独立的收发机。 [0075] Further, the first transceiver 21, a second transceiver and the third transceiver 22 may be the same transceiver 24, or may be two separate transceivers. 处理器23可以为中央处理器(CentralProcessing Unit;简称:CPU) 等。 The processor 23 may be a central processing unit (CentralProcessing Unit; abbreviation: CPU) and the like. 存储器25的具体形态可以为RAM、R0M、闪存Flash等。 The specific form of memory 25 may be RAM, R0M, a flash memory such as Flash. 其中,还需要说明的是,当接入设备为DSLAM时,上述收发机可以为联合收发机;当接入设备为0LT时,上述收发机可以为光收发机;当接入设备为MSAN时,上述收发机可以为以太网交换芯片(LSW)、可编程逻辑(Field - Programmable Gate Array;简称:FPGA)或者网络处理器(Network Processor;简称:NP) 等。 Wherein further be noted that, when the DSLAM access device, the above-described transceiver may be combined transceiver; 0LT when the access device, the above-described transceiver may be an optical transceiver; access device when the MSAN, described above can be exchanged for an Ethernet transceiver chip (LSW), programmable logic (Field - programmable Gate Array; abbreviation: FPGA) or a network processor (network processor; abbreviation: NP) and the like.

[0076] 在本实施例中,接入设备向网络中发送探测报文,获取在线的BRAS的MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中,向该BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS是否处于离线状态,当获取处于离线状态的BRAS的MAC地址后,从BRAS的MAC地址和终端设备的MAC地址以及Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID,根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号,由于通过探知BRAS是否在线,在发现该BRAS离线时主动向连接在该BRAS上终端设备发送下线通知报文,使得终端设备可以自动重新进行拨号处理,因此,有效地减少了因BRAS故障或者连接故障而离线所导致的业务中断时间。 [0076], the access device in the present embodiment, the transmission in the network probe packets to obtain the MAC address of the online BRAS, the BRAS acquired MAC address list stored in the BRAS, the MAC address to the list corresponds BRAS the BRAS handshake packets, to obtain the corresponding BRAS is in an offline state, when the MAC address acquired is offline BRAS from MAC addresses of the terminal apparatus the BRAS and the correspondence between Session ID, the acquired ownership MAC address of the terminal to the BRAS device is offline and the Session ID, the MAC address of the terminal device acquires and Session ID to the corresponding terminal device sends a notification message offline, so that the corresponding terminal device to dial, since the BRAS ascertain whether the line, found in active transmission to the BRAS offline BRAS is connected to the terminal device offline notification message, so that the terminal device can automatically re-dialing process, thus effectively reducing the connection due to failure or malfunction BRAS offline resulting from business disruptions.

[0077]图5为本发明接入设备的另一个实施例的结构示意图,在上述图5所示实施例的基础上,如图5所示,该第一收发机21具体包括:数据发送器211和数据接收器212;其中,数据发送器211用于向所述网络中的BRAS发送PADI报文;数据接收器212用于接收BRAS的PAD0报文,从所述PAD0报文中获取BRAS的MAC地址,将获取的BRAS的MAC地址存储到所述BRAS列表中。 A schematic view of another configuration example of [0077] FIG. 5 embodiment of the present invention, an access device, in the above embodiment shown in FIG. 5 in the embodiment shown in Figure 5, the first transceiver 21 comprises: a data transmitter 211 and the data receiver 212; wherein the data transmitter 211 for transmitting a PADI packet to the network BRAS; PAD0 data receiver 212 for receiving messages BRAS, the BRAS acquired from the packets PAD0 MAC address, the MAC address acquired is stored into the BRAS BRAS list.

[0078] 或者,数据发送器211用于根据预先配置的BRAS的IP地址,向IP地址对应的BRAS发送地址解析协议ARP报文;数据接收器212用于接收BRAS的ARP响应报文,从ARP响应报文中获取IP地址对应的BRAS的MAC地址,将获取的MAC地址存储到所述BRAS列表中。 [0078] Alternatively, the data transmitter 211 according to pre-configured IP address of the BRAS, the corresponding IP address to send BRAS ARP protocol packets; a data receiver 212 for receiving BRAS ARP response packet, the ARP BRAS acquired MAC address corresponding to the IP address of the response packet, the acquired MAC address list stored in the BRAS.

[0079] 优选地,第二收发机22还用于对终端设备向BRAS的拨号过程的报文进行转发; [0080] 处理器23还用于从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到所述存储器25中。 [0079] Preferably, the second transceiver 22 to the terminal device is further configured to forward packets to the BRAS dialing process; [0080] The processor 23 is further configured to obtain the terminal equipment from the terminal equipment dialing process MAC address , BRAS's MAC address, and the Session ID, the acquired MAC address of the terminal device, BRAS's MAC address, and the Session ID to form the corresponding relationship stored in the memory 25.

[0081] 更为优选地,该接入设备为0LT、DSLAM或者MSAN。 [0081] More preferably, the access device 0LT, DSLAM or MSAN.

[0082] 本发明还提供了一种拨号系统,包括:接入设备、终端设备、BRAS。 [0082] The present invention further provides a dial-up system, comprising: an access device, a terminal device, BRAS. 终端设备通过接入设备连接至UBRAS,其中,该接入设备,用于向网络中发送探测报文,获取在线的BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中;向BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS是否处于离线状态;获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID;以及根据获取的终端设备的MAC地址和SessionID向对应的终端设备发送下线通知报文; A terminal connected to the device via the access UBRAS, wherein the access device is configured to send probe packets into the network, the online access BRAS media access control MAC address, the MAC address acquired is stored in the BRAS BRAS list ; corresponding to the MAC address BRAS list BRAS handshake packets, to obtain the corresponding BRAS is in an offline state; to obtain the MAC address of the BRAS is offline, the MAC addresses of the terminal apparatus the BRAS and a session session corresponding relationship between the ID assigned to the terminal apparatus acquires BRAS is offline MAC address and the Session ID; offline notification message and the MAC address of the terminal device acquires and SessionID transmitted to the corresponding terminal device according to;

[0083]终端设备,用于在收到接入设备的下线通知报文后进行拨号。 [0083] the terminal device, after receiving the dialing for offline notification message to the access device.

[0084] 另外,优选地,接入设备还用于对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到该接入设备上。 [0084] In addition, preferably, the access device is further configured to monitor the terminal device to the BRAS dialing process, acquires the terminal device from the dial-up process of the terminal device MAC address, the MAC address of the BRAS, and the Session ID, the acquired MAC address of the terminal device, the BRAS's MAC address, and Session ID are formed on to the saved corresponding relationship between the access device.

[0085]最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0085] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (12)

1. 一种终端设备的拨号方法,其特征在于,包括: 接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中; 所述接入设备向所述BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态; 所述接入设备获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID; 所述接入设备根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号。 A dialing method for a terminal device, characterized by comprising: the access device sends probe packets into the network, obtaining media access on broadband access server BRAS control MAC address, the MAC address of the acquired stored BRAS the BRAS list; access device corresponding to the MAC address of the list BRAS BRAS handshake packets, to obtain the current state of the corresponding BRAS; BRAS acquires the access device is offline MAC address , and the MAC addresses of the terminal device and the correspondence between the BRAS session ID of the session, access rests BRAS is offline terminal device MAC address and a session ID; terminal device according to the access device acquired Session ID and the MAC address transmitted offline notification message to the corresponding terminal device, the terminal device such that the corresponding dial.
2. 根据权利要求1所述的方法,其特征在于,所述接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中具体包括: 所述接入设备向网络中的BRAS发送以太网承载点对点协议PPPoE激活发现起始分组PADI报文; 所述接入设备接收BRAS的PPPoE激活发现阶段服务报文PAD0报文,从所述PAD0报文中获取BRAS的MAC地址,将获取的BRAS的MAC地址存储到所述BRAS列表中。 2. The method according to claim 1, characterized in that, the access device sends probe packets into the network, acquires the MAC address of the broadband access server BRAS online media access control MAC address of the acquired BRAS BRAS stored in the list comprises: the access device sends a network BRAS point protocol over Ethernet PPPoE PADI packet start activation packet found; the access device receiving the BRAS PPPoE discovery stage activation service message PAD0 packet, the MAC address acquired from the BRAS PAD0 packet, the MAC address acquired is stored into the BRAS BRAS list.
3. 根据权利要求1所述的方法,其特征在于,所述接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中,具体包括: 所述接入设备根据预先配置的BRAS的IP地址,向IP地址对应的BRAS发送地址解析协议ARP报文; 所述接入设备接收BRAS的ARP响应报文,从ARP响应报文中获取IP地址对应的BRAS的MAC地址,将获取的MAC地址存储到所述BRAS列表中。 3. The method according to claim 1, characterized in that, the access device sends probe packets into the network, acquires the MAC address of the broadband access server BRAS online media access control MAC address of the acquired BRAS list stored in the BRAS, comprises: the access device according to a preconfigured IP address of the BRAS, the IP address corresponding to the address resolution protocol ARP BRAS transmitted packets; access device receives the ARP response packet BRAS, from the message to obtain the MAC address corresponding to the IP address of the ARP response BRAS, the acquired MAC address list stored in the BRAS.
4. 根据权利要求1所述的方法,其特征在于,所述接入设备向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中之后,所述方法还包括: 所述接入设备对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到所述接入设备上。 4. The method according to claim 1, characterized in that, the access device sends probe packets into the network, acquires the MAC address of the broadband access server BRAS online media access control MAC address of the acquired BRAS after the list stored in the BRAS, the method further comprising: the access device to the terminal device monitors the dialing process BRAS acquires the MAC address of the terminal device from the dial-up process of the terminal device, the MAC address of the BRAS, and Session ID, the acquired MAC address of the terminal device, BRAS's MAC address, and the Session ID to form a corresponding relationship stored on the access device.
5. 根据权利要求4所述的方法,其特征在于,所述接入设备对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,具体包括: 所述接入设备接收BRAS的以太网承载点对点协议PPPoE激活发现会话确认分组PADS报文; 所述接入设备将所述PADS报文中的终端设备的MAC地址、BRAS的MAC地址以及Session ID形成对应关系保存在所述接入设备上。 The method according to claim 4, characterized in that, the access device to the terminal device monitors the dialing process BRAS acquires the MAC address of the terminal device from the dial-up process of the terminal device, the MAC address of the BRAS, and the session ID, comprises: the access device receiving the BRAS point protocol over Ethernet PPPoE session activation acknowledgment packet found PADS packet; the MAC address of the access device, the PADS packet of the terminal device, BRAS MAC address and the Session ID is formed on the correspondence relationship stored in the access device.
6. -种接入设备,其特征在于,包括: 第一收发机,用于向网络中发送探测报文,获取在线的宽带接入服务器BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中; 第二收发机,用于向所述BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态; 处理器,用于获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC 地址以及会话Session ID的对应关系中,获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID; 第三收发机,用于根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文,以使得对应的终端设备进行拨号; 存储器,用于存储所述BRAS列表。 6. - kind of the access apparatus comprising: a first transceiver for transmitting a detection packet to a network, acquires a media access on broadband access server BRAS control (MAC) address, a MAC acquired BRAS BRAS address in the list; a second transceiver configured to correspond to the MAC address list BRAS BRAS handshake packets, to obtain the current state corresponds to the BRAS; a processor configured to obtain the offline BRAS's MAC address from the MAC address and the correspondence between the MAC address and the terminal equipment session BRAS session ID, the MAC address of the home to obtain the BRAS is offline terminal device and the session ID; a third transceiver for the transmission device acquires the MAC address of the terminal and the Session ID to a corresponding terminal device offline notification message, so that the corresponding terminal device dialing; memory for storing a list of the BRAS.
7. 根据权利要求6所述的接入设备,其特征在于,所述第一收发机具体包括: 数据发送器,用于向网络中的BRAS发送以太网承载点对点协议PPPoE激活发现起始分组PAD I报文; 数据接收器,用于接收BRAS的PPPoE激活发现阶段服务报文PAD0报文,从所述PAD0报文中获取BRAS的MAC地址,将获取的BRAS的MAC地址存储到所述BRAS列表中。 7. The access device according to claim 6, wherein said first transceiver comprises: a data transmitter, for transmitting to the network BRAS Point Protocol over Ethernet PPPoE discovery activation start packet PAD I packets; a data receiver for receiving the BRAS PPPoE discovery stage activation PAD0 service message packet, the MAC address acquired from the BRAS PAD0 packet, the MAC address of the acquired BRAS list stored in the BRAS in.
8. 根据权利要求7所述的接入设备,其特征在于,所述第一收发机具体包括: 数据发送器,用于根据预先配置的BRAS的IP地址,向IP地址对应的BRAS发送地址解析协议ARP报文; 数据接收器,用于接收BRAS的ARP响应报文,从ARP响应报文中获取IP地址对应的BRAS 的MAC地址,将获取的MAC地址存储到所述BRAS列表中。 8. The access device according to claim 7, wherein said first transceiver comprises: a data transmitter, according to pre-configured IP address of the BRAS, the corresponding IP address geocoding BRAS protocol ARP packet; data receiver for receiving the BRAS ARP response packet, acquires the MAC address of the packet corresponding to the IP address of the BRAS, the acquired MAC address list stored in the BRAS from the ARP response.
9. 根据权利要求7所述的接入设备,其特征在于, 所述第二收发机还用于对终端设备向BRAS的拨号过程的报文进行转发; 所述处理器还用于从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到所述存储器中。 9. The access device according to claim 7, wherein said second transceiver is further configured to forward to the terminal device of the dialing process packets BRAS; and the processor is further configured from the terminal device dialing the terminal apparatus acquires the MAC address, the MAC address of the BRAS, and the Session ID, the acquired MAC address of the terminal device, the MAC address of the BRAS, and the Session ID to form the corresponding relationship stored in the memory.
10. 根据权利要求6-9任意一项所述的接入设备,其特征在于,所述接入设备为光线路终端0LT、数字用户线接入复用器DSLAM或者多业务接入节点MSAN。 10. The access device according to claim any one of claims 6-9, characterized in that, the access device 0LT optical line terminal, a Digital Subscriber Line Access Multiplexer DSLAM or a multi-service access node MSAN.
11. 一种拨号系统,包括接入设备、终端设备、以及宽带接入服务器BRAS,所述终端设备通过所述接入设备连接到所述BRAS,其特征在于, 所述接入设备,用于向网络中发送探测报文,获取在线的BRAS的媒体访问控制MAC地址,将获取的BRAS的MAC地址保存在BRAS列表中;向BRAS列表中的MAC地址对应的BRAS发送握手报文,以获取对应的BRAS的当前状态;获取处于离线状态的BRAS的MAC地址,从BRAS的MAC地址和终端设备的MAC地址以及会话Session ID的对应关系中获取归属于处于离线状态的BRAS的终端设备的MAC地址和Session ID;以及根据获取的终端设备的MAC地址和Session ID向对应的终端设备发送下线通知报文; 终端设备,用于在收到接入设备的下线通知报文后进行拨号。 A dialing system comprising an access device, a terminal device, the BRAS and the broadband access server, the terminal device via the access device to the the BRAS, characterized in that, the access device, for transmitting probe packets to the network, the obtaining online BRAS media access control (MAC) address, MAC address acquired BRAS stored in the BRAS list; corresponding to the MAC address BRAS list BRAS handshake packets, to obtain the corresponding the current state of the BRAS; get the MAC address is offline BRAS acquires the MAC address belongs to is offline BRAS terminal device from the correspondence between the MAC address MAC address of the terminal device BRAS and the session session ID's and Session ID; offline notification message and transmitting to the terminal device corresponding to the MAC address of the terminal device acquires and Session ID; terminal device for performing offline after the access device receives notification message dial.
12. 根据权利要求11所述的拨号系统,其特征在于,所述接入设备还用于对终端设备向BRAS的拨号过程进行监控,从终端设备的拨号过程中获取终端设备的MAC地址、BRAS的MAC 地址、以及Session ID,将获取终端设备的MAC地址、BRAS的MAC地址、以及Session ID形成对应关系保存到所述接入设备上。 12. The MAC address of the dialing system according to claim 11, wherein said access device is further configured to monitor the terminal device to the BRAS dialing procedure, the dialing process acquired from the terminal device in the terminal device, BRAS MAC address, and the Session ID, the acquired MAC address of the terminal device, the BRAS's MAC address, and Session ID are formed on to the saved corresponding relationship between the access device.
CN201210538919.7A 2012-12-13 2012-12-13 The dialing method of the terminal device and an access device CN103873335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210538919.7A CN103873335B (en) 2012-12-13 2012-12-13 The dialing method of the terminal device and an access device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210538919.7A CN103873335B (en) 2012-12-13 2012-12-13 The dialing method of the terminal device and an access device
PCT/CN2013/089424 WO2014090194A1 (en) 2012-12-13 2013-12-13 Dialing method of terminal device, and access device

Publications (2)

Publication Number Publication Date
CN103873335A CN103873335A (en) 2014-06-18
CN103873335B true CN103873335B (en) 2017-04-12

Family

ID=50911478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210538919.7A CN103873335B (en) 2012-12-13 2012-12-13 The dialing method of the terminal device and an access device

Country Status (2)

Country Link
CN (1) CN103873335B (en)
WO (1) WO2014090194A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564522A (en) * 2004-03-31 2005-01-12 港湾网络有限公司 Fast re-dialling method when abnormal off-line of dialling user
CN1567737A (en) * 2003-07-01 2005-01-19 深圳市中兴通讯股份有限公司 A method for warm back-up of broad band switch-in server
CN1822574A (en) * 2006-03-17 2006-08-23 港湾网络有限公司 Method for connecting broad band user
US7409451B1 (en) * 2003-05-30 2008-08-05 Aol Llc, A Delaware Limited Liability Company Switching between connectivity types to maintain connectivity

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010514290A (en) * 2006-12-21 2010-04-30 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Network device and method for converting a media access control address
CN101174997B (en) * 2007-11-21 2011-08-10 中兴通讯股份有限公司 Device and method for detecting RADIUS server usability on BRAS equipment
CN101360021B (en) * 2008-10-14 2011-12-21 中国电信股份有限公司 Monitoring method and system for wireless broadband user status
CN101980496A (en) * 2010-10-13 2011-02-23 华为数字技术有限公司 Message processing method and system, exchange board and access server equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409451B1 (en) * 2003-05-30 2008-08-05 Aol Llc, A Delaware Limited Liability Company Switching between connectivity types to maintain connectivity
CN1567737A (en) * 2003-07-01 2005-01-19 深圳市中兴通讯股份有限公司 A method for warm back-up of broad band switch-in server
CN1564522A (en) * 2004-03-31 2005-01-12 港湾网络有限公司 Fast re-dialling method when abnormal off-line of dialling user
CN1822574A (en) * 2006-03-17 2006-08-23 港湾网络有限公司 Method for connecting broad band user

Also Published As

Publication number Publication date
CN103873335A (en) 2014-06-18
WO2014090194A1 (en) 2014-06-19

Similar Documents

Publication Publication Date Title
CN101405998B (en) Logical group endpoint discovery for data communication network
US9491234B2 (en) Deterministic session load-balancing and redundancy of access servers in a computer network
US6775276B1 (en) Method and system for seamless address allocation in a data-over-cable system
US20070203990A1 (en) Techniques for establishing subscriber sessions on an access network using DHCP
US20080225749A1 (en) Auto-configuration of a network device
US6611868B1 (en) Method and system for automatic link hang up
KR101418351B1 (en) Method and device for identifying and selecting an interface to access a network
US6697862B1 (en) System and method for network address maintenance using dynamic host configuration protocol messages in a data-over-cable system
US6754622B1 (en) Method for network address table maintenance in a data-over-cable system using destination reachibility
US8125915B2 (en) Remote management of a bridge device
JP2004266819A (en) Router setting method and router device
CN100486176C (en) Method for managing user side equipment through network address translation gateway
US7733859B2 (en) Apparatus and method for packet forwarding in layer 2 network
US8787200B2 (en) Device, system, and method for automatically configuring application terminals in home network
US20050286510A1 (en) Packet transfer apparatus
JP4794312B2 (en) Ethernet-based automatic detection of the pseudo wire peer address in the network
CN101827003B (en) Management method and equipment of CPE (Customer Premise Equipment)
US7860981B1 (en) Systems and methods for IP session keepalive using BFD protocols
CN101518030B (en) Technique for automatically configuring a communication network element
CN102811164B (en) Apparatus and method for setting the portable network connection
EP2169877B1 (en) Processing method and device for qinq termination configuration
CN101247297A (en) Device, system and method for automatically configuring application terminal in family network
CN101030966A (en) Method for establishing two-way transmitted inspecting session
CN101895589A (en) Wide area network router and method for establishing routing table items therein
US8212396B2 (en) Apparatus power restart method in response to network connection status

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01