


技术领域technical field
本发明涉及网络通信技术领域,尤其涉及一种动态配置接入终端的实现方法。The present invention relates to the technical field of network communication, in particular to a method for realizing dynamic configuration of an access terminal.
背景技术Background technique
随着宽带接入技术的发展,基于宽带IP网络开展的业务也越来越多。通常用户终端为了开通业务,需要预先在终端上配置一些相关的配置参数,如IP地址,网关地址,DNS(域名系统)服务器地址,等。With the development of broadband access technology, more and more services are carried out based on broadband IP network. Usually, in order to open a service, a user terminal needs to configure some relevant configuration parameters on the terminal in advance, such as an IP address, a gateway address, a DNS (Domain Name System) server address, and the like.
用户终端在使用业务之前,需要接入网络,通常的接入方式有两种:PPP(点对点协议)和DHCP(动态主机配置协议)。Before using the service, the user terminal needs to access the network. There are two common access methods: PPP (Point-to-Point Protocol) and DHCP (Dynamic Host Configuration Protocol).
对于PPP接入,如图1所示,用户终端通过接入网连接到PPP服务器,所述的PPP服务器可以为RAS(远程接入服务器)、BRAS(宽带远程接入服务器)、ER(边缘路由器)等设备,PPP服务器用于终结PPP协议,并将用户终端的IP数据报文转发到核心网络。For PPP access, as shown in Figure 1, the user terminal is connected to the PPP server through the access network, and the PPP server can be RAS (Remote Access Server), BRAS (Broadband Remote Access Server), ER (Edge Router ) and other equipment, the PPP server is used to terminate the PPP protocol and forward the IP data packets of the user terminal to the core network.
目前,为了保证用户终端可以获知所述的配置参数信息,采用的是手工配置的方式实现。具体为:在开通业务之前,运营商或用户通过手工配置的方法,将需要的相关的配置参数配置在终端上。At present, in order to ensure that the user terminal can obtain the configuration parameter information, manual configuration is adopted. Specifically, before activating the service, the operator or the user configures the required related configuration parameters on the terminal through a manual configuration method.
显然,如果由运营商手工配置,则运营商的工作量将大大增加,从而将增加其运营成本;而如果由用户配置,则由于配置过程对用户操作能力要求较高,因此,导致极容易出现配置错误的情况,从而影响业务的及时开通。Obviously, if the operator manually configures, the workload of the operator will increase greatly, which will increase its operating cost; and if it is configured by the user, because the configuration process requires high user operation capabilities, it is very easy to cause If the configuration is wrong, it will affect the timely provisioning of services.
目前采用的另一种接入终端的相关配置参数配置方式为:PPP仅作为链路层通道,IP地址及其他配置参数信息由DHCP服务器分配。Another configuration method currently used for configuring relevant configuration parameters of the access terminal is: PPP is only used as a link layer channel, and IP addresses and other configuration parameter information are assigned by a DHCP server.
这种方式可以实现所述配置参数信息的动态配置,但是该方案的实现需要定义PPP承载DHCP的方式,因此,对现有的网络设备改动较大,即需要对设备的软硬件进行升级处理。This method can realize the dynamic configuration of the configuration parameter information, but the implementation of this solution needs to define the way of PPP carrying DHCP, therefore, the existing network equipment needs to be greatly changed, that is, the software and hardware of the equipment need to be upgraded.
发明内容Contents of the invention
鉴于上述现有技术所存在的问题,本发明的目的是提供一种动态配置接入终端的实现方法,无需定义PPP承载DHCP的方法,只需要对网络设备进行很小的软件改动。从而可以使得接入终端可以较为方便地动态获取相关的配置参数信息。In view of the problems existing in the above-mentioned prior art, the object of the present invention is to provide a method for dynamically configuring an access terminal, which does not need to define a method for carrying DHCP over PPP, and only requires minor software changes to network devices. Therefore, the access terminal can dynamically obtain related configuration parameter information more conveniently.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
本发明提供了一种动态配置接入终端的实现方法,包括:The present invention provides a method for dynamically configuring an access terminal, including:
A、当接入终端通过接入服务设备接入网络时,由接入服务设备将动态主机配置协议DHCP服务器地址信息发送给接入终端;A. When the access terminal accesses the network through the access service device, the access service device sends the DHCP server address information to the access terminal;
B、接入终端根据所述的DHCP服务器地址从DHCP服务器获取配置参数信息。B. The access terminal acquires configuration parameter information from the DHCP server according to the DHCP server address.
所述的接入服务设备包括:The access service equipment includes:
宽带接入服务器或边缘路由器。Broadband access server or edge router.
所述的步骤A包括:Described step A comprises:
A1、接入终端接入网络后,在其与接入服务设备协商网络层参数阶段,将所述的DHCP服务器地址信息发送给接入终端。A1. After the access terminal accesses the network, it sends the DHCP server address information to the access terminal at the stage of negotiating network layer parameters with the access service device.
所述的步骤A1具体包括:Described step A1 specifically comprises:
在接入终端向接入设备发送请求网络层参数的消息;The access terminal sends a message requesting network layer parameters to the access device;
接入服务设备接收所述的消息后将网络层参数DHCP服务器地址承载于响应报文中发送给接入终端。After receiving the message, the access service device carries the network layer parameter DHCP server address in the response message and sends it to the access terminal.
本发明中,在执行步骤A1之前还包括:In the present invention, before performing step A1, it also includes:
接入终端接入网络后,首先与接入服务设备协商链路层参数,并建立相应的通信链路。After the access terminal accesses the network, it first negotiates link layer parameters with the access service device, and establishes a corresponding communication link.
所述的步骤A包括:Described step A comprises:
接入服务设备将所述的DHCP服务器地址信息通过互联网控制协议IPCP报文发送给接入终端。The access service device sends the DHCP server address information to the access terminal through the Internet Control Protocol IPCP message.
所述的动态配置接入终端的实现方法还包括:The implementation method for dynamically configuring access terminals also includes:
将DHCP服务器地址配置在接入服务设备;Configure the DHCP server address on the access service device;
或者,or,
将DHCP服务器地址配置在远端设备中,所述接入服务设备需要向远端设备远程获取所述的DHCP服务器地址信息。The address of the DHCP server is configured in the remote device, and the access service device needs to remotely obtain the address information of the DHCP server from the remote device.
所述的步骤B包括:Described step B comprises:
B1、接入终端根据所述DHCP服务器地址向DHCP服务器发送配置参数请求消息;B1. The access terminal sends a configuration parameter request message to the DHCP server according to the DHCP server address;
B2、DHCP服务器接收所述请求消息后,将相应的配置参数信息承载于配置参数响应报文中发送给接入终端。B2. After receiving the request message, the DHCP server carries the corresponding configuration parameter information in a configuration parameter response message and sends it to the access terminal.
所述的接入终端为:点对点协议PPP接入终端。The access terminal is: a point-to-point protocol (PPP) access terminal.
所述的PPP为:The PPPs described are:
基于以太网的点对点协议PPPoE或基于异步传输模式的点对点协议PPPoA。Ethernet-based point-to-point protocol PPPoE or asynchronous transfer mode-based point-to-point protocol PPPoA.
由上述本发明提供的技术方案可以看出,本发明为基于PPP接入方式的终端提供了一种动态获取配置参数的方法,该方法可以减轻业务发放过程中的配置工作量,节省运营商的运营成本。It can be seen from the above-mentioned technical solution provided by the present invention that the present invention provides a method for dynamically obtaining configuration parameters for terminals based on PPP access mode, which can reduce the configuration workload in the service provisioning process and save the operator's time and cost. operating costs.
同时,本发明的实现对网络设备改动较少,对网络的影响较小。At the same time, the implementation of the present invention requires less changes to network equipment and less impact on the network.
附图说明Description of drawings
图1为PPP接入网络组网示意图;Figure 1 is a schematic diagram of a PPP access network;
图2为本发明所述的方法的处理过程示意图;Fig. 2 is the processing schematic diagram of the method for the present invention;
图3为本发明所述的方法的流程图。Fig. 3 is a flow chart of the method of the present invention.
具体实施方式Detailed ways
本发明的核心是通过接入服务设备(接入服务器或边缘路由器)主动将DHCP服务器地址下发给接入终端,接入终端根据所述的DHCP服务器地址向DHCP服务器获取相应的配置参数信息,从而省去了人工向用户终端配置相应参数的麻烦,有效减少针对用户终端的配置工作量。The core of the present invention is to actively send the DHCP server address to the access terminal through the access service device (access server or edge router), and the access terminal obtains corresponding configuration parameter information from the DHCP server according to the DHCP server address, Therefore, the trouble of manually configuring corresponding parameters for the user terminal is saved, and the configuration workload for the user terminal is effectively reduced.
本发明所述的方法如图2所示,包括:As shown in Figure 2, the method of the present invention includes:
步骤21:用户终端与接入服务设备(ER/BRAS)间通过LCP阶段完成链路层参数的协商,建立通信链路;Step 21: complete the negotiation of link layer parameters through the LCP stage between the user terminal and the access service equipment (ER/BRAS), and establish a communication link;
步骤22:ER/BRAS将终端IP地址和DHCP服务器地址通过NCP阶段下发给接入终端,即用户终端;Step 22: ER/BRAS sends the terminal IP address and DHCP server address to the access terminal, that is, the user terminal through the NCP stage;
步骤23:用户终端向DHCP服务器发送获取相关的配置参数信息的请求消息(单播);Step 23: the user terminal sends a request message (unicast) to obtain relevant configuration parameter information to the DHCP server;
步骤24:DHCP服务器接收所述的请求消息后将相应的配置参数信息下发给用户终端。Step 24: After receiving the request message, the DHCP server sends the corresponding configuration parameter information to the user terminal.
经过上述过程,相应的用户终端便完成了相关的配置参数信息的自动动态获取的过程,并可以开展相应的业务。Through the above process, the corresponding user terminal completes the process of automatically and dynamically acquiring relevant configuration parameter information, and can carry out corresponding services.
为对本发明有进一步的了解,下面将结合附图对本发明所述的方法的具体实现方式作进一步的详细说明。In order to have a further understanding of the present invention, the specific implementation of the method of the present invention will be further described in detail below in conjunction with the accompanying drawings.
如图3所示,本发明所述的方法具体包括:As shown in Figure 3, the method of the present invention specifically includes:
步骤31:将DHCP服务器地址配置在接入服务设备上;Step 31: Configure the DHCP server address on the access service device;
所述的接入服务设备具体可以包括:宽带接入服务器BRAS或边缘路由器ER;The access service device specifically may include: a broadband access server BRAS or an edge router ER;
所述的DHCP服务器地址可以配置在远端设备中,此时,所述接入服务器需要向远端设备远程获取所述的DHCP服务器地址信息;The address of the DHCP server may be configured in the remote device. At this time, the access server needs to remotely obtain the address information of the DHCP server from the remote device;
以PPP接入方式为例,所述的DHCP服务器地址参数可以配置在PPP服务器上(如BRAS和ER),也可以配置在其他的服务器中,由PPP服务器通过某些协议获取。Taking the PPP access mode as an example, the DHCP server address parameter can be configured on the PPP server (such as BRAS and ER), or configured in other servers, and obtained by the PPP server through certain protocols.
步骤32:当接入终端通过接入服务设备接入网络时,在其与接入服务设备协商网络层参数阶段,便可以由接入服务设备将DHCP服务器地址信息发送给接入终端;Step 32: When the access terminal accesses the network through the access service device, the access service device may send the DHCP server address information to the access terminal at the stage of negotiating network layer parameters with the access service device;
仍以PPP接入方式为例,包括LCP(链路控制协议)协商和NCP(网络控制协议)协商两个阶段:在LCP阶段,PPP接入终端和服务器协商链路层参数,建立通讯链路;在NCP阶段,PPP接入终端和服务器协商网络层参数,对于基于IP的应用,IPCP协议可以用来给终端配置IP协议的相关参数;Still taking the PPP access method as an example, it includes two stages of LCP (Link Control Protocol) negotiation and NCP (Network Control Protocol) negotiation: In the LCP stage, the PPP access terminal and the server negotiate link layer parameters and establish a communication link ; In the NCP stage, the PPP access terminal and the server negotiate network layer parameters. For IP-based applications, the IPCP protocol can be used to configure the relevant parameters of the IP protocol for the terminal;
因此,该步骤的具体的处理过程可以包括:Therefore, the specific processing of this step may include:
步骤321:用户终端上电,发起PPP接入请求,并接入网络后,首先与接入服务器(即PPP服务器)通过LCP协议协商链路层参数,并建立相应的通信链路;Step 321: the user terminal is powered on, initiates a PPP access request, and after accessing the network, first negotiates link layer parameters with the access server (ie, the PPP server) through the LCP protocol, and establishes a corresponding communication link;
步骤322:在接入终端向PPP服务器发送IPCP请求报文,即请求网络层参数的消息,协商IP层参数,包括IP地址、DHCP服务器地址;Step 322: The access terminal sends an IPCP request message to the PPP server, that is, a message requesting network layer parameters, and negotiating IP layer parameters, including IP address and DHCP server address;
步骤323:PPP服务器接收所述的消息后将网络层参数(IP地址)、DHCP服务器地址承载于IPCP响应报文中发送给接入终端;Step 323: After receiving the message, the PPP server sends the network layer parameters (IP address) and DHCP server address to the access terminal in the IPCP response message;
具体可以对IPCP协议进行扩展,以实现对DHCP服务器地址的自动配置,扩展字段内容为:IPCP configuration options(IPCP配置选项)通过该字段承载DHCP服务器地址;Specifically, the IPCP protocol can be extended to realize the automatic configuration of the DHCP server address. The content of the extension field is: IPCP configuration options (IPCP configuration options) carries the DHCP server address through this field;
步骤33:接入终端获取所述的DHCP服务器地址后,便可以利用所述的DHCP服务器地址向DHCP服务器发送配置参数请求消息,向DHCP服务器申请相关的配置参数信息;Step 33: After the access terminal obtains the address of the DHCP server, it can use the address of the DHCP server to send a configuration parameter request message to the DHCP server, and apply to the DHCP server for relevant configuration parameter information;
步骤34:DHCP服务器接收所述的请求消息后,将相关的配置参数信息参数响应报文下发给所述的接入终端。Step 34: After receiving the request message, the DHCP server sends the relevant configuration parameter information parameter response message to the access terminal.
本发明中,对于支持上述扩展的PPP接入终端来说,其采用的PPP协议,可能承载在不同的底层协议上,如PPPoE(承载于以太网的PPP)、PPPoA(基于ATM的PPP),等等。In the present invention, for the PPP access terminal supporting the above-mentioned expansion, the PPP protocol it adopts may be carried on different underlying protocols, such as PPPoE (PPP carried on Ethernet), PPPoA (PPP based on ATM), etc.
综上所述,本发明为PPP接入方式的接入终端提供了一种动态获取配置参数的方法,对网络设备影响很小,可以减轻业务发放过程中的配置工作量,节省运营成本。In summary, the present invention provides a method for dynamically acquiring configuration parameters for access terminals in PPP access mode, which has little impact on network equipment, can reduce configuration workload in the process of service provisioning, and save operating costs.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100816167ACN100442735C (en) | 2005-06-30 | 2005-06-30 | Implementation method of dynamic configuration access terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100816167ACN100442735C (en) | 2005-06-30 | 2005-06-30 | Implementation method of dynamic configuration access terminal |
| Publication Number | Publication Date |
|---|---|
| CN1889487Atrue CN1889487A (en) | 2007-01-03 |
| CN100442735C CN100442735C (en) | 2008-12-10 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100816167AExpired - LifetimeCN100442735C (en) | 2005-06-30 | 2005-06-30 | Implementation method of dynamic configuration access terminal |
| Country | Link |
|---|---|
| CN (1) | CN100442735C (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101447887B (en)* | 2007-11-27 | 2012-06-27 | 华为技术有限公司 | Method for user on-line notification and device thereof |
| CN106789165A (en)* | 2016-11-28 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | The network configuration system and method for a kind of batch cloud terminal device |
| CN112291079A (en)* | 2017-03-28 | 2021-01-29 | 华为技术有限公司 | Network service configuration method and network management equipment |
| CN114697965A (en)* | 2020-12-30 | 2022-07-01 | 展讯半导体(南京)有限公司 | Configuration method and device of access equipment, storage medium, access equipment and server |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010030977A1 (en)* | 1999-12-30 | 2001-10-18 | May Lauren T. | Proxy methods for IP address assignment and universal access mechanism |
| CN1184776C (en)* | 2002-02-07 | 2005-01-12 | 华为技术有限公司 | Method for the point-to-point protocol log-on user to obtain Internet protocol address |
| CN1270532C (en)* | 2002-09-13 | 2006-08-16 | 中兴通讯股份有限公司 | Method for supporting asymmetrie digital subscriber line access in embedded operating system |
| CN1549546B (en)* | 2003-05-09 | 2011-06-22 | 中兴通讯股份有限公司 | Apparatus and method for realizing PPPOE user dynamic obtaining IP address utilizing DHCP protocol |
| CN100370768C (en)* | 2003-07-07 | 2008-02-20 | 华为技术有限公司 | Method to trigger the allocation of IP addresses to users |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101447887B (en)* | 2007-11-27 | 2012-06-27 | 华为技术有限公司 | Method for user on-line notification and device thereof |
| CN106789165A (en)* | 2016-11-28 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | The network configuration system and method for a kind of batch cloud terminal device |
| CN112291079A (en)* | 2017-03-28 | 2021-01-29 | 华为技术有限公司 | Network service configuration method and network management equipment |
| CN112291079B (en)* | 2017-03-28 | 2021-10-26 | 华为技术有限公司 | Network service configuration method and network management equipment |
| CN114697965A (en)* | 2020-12-30 | 2022-07-01 | 展讯半导体(南京)有限公司 | Configuration method and device of access equipment, storage medium, access equipment and server |
| WO2022142868A1 (en)* | 2020-12-30 | 2022-07-07 | 展讯半导体(南京)有限公司 | Configuration method and apparatus for access device, storage medium, access device, and server |
| CN114697965B (en)* | 2020-12-30 | 2024-02-20 | 展讯半导体(南京)有限公司 | Configuration method and device of access equipment, storage medium, access equipment and server |
| Publication number | Publication date |
|---|---|
| CN100442735C (en) | 2008-12-10 |
| Publication | Publication Date | Title |
|---|---|---|
| CN100337461C (en) | System and method for home networking | |
| CN102158563B (en) | Method, system and device for acquiring IPv6 (Internet Protocol Version 6) configuration information from IPv6 transition network | |
| CN1922826A (en) | Tunnel service method and system | |
| CN1513253A (en) | Tunneling through the access network | |
| CN1770718A (en) | Method and system for establishing bidirectional tunnel | |
| CN1309233C (en) | Method for supporting PPPoA on wideband switch-in equipment | |
| CN101030980A (en) | Wide-band terminal identifier based on Ethernet and its identifying method | |
| CN1859409A (en) | Method and system for improving network dynamic host configuration DHCP safety | |
| CN108307694B (en) | A kind of network connection information acquisition method and router | |
| CN1744597A (en) | Method for host user to obtain IP address parameters in IPv6 network | |
| CN1744596B (en) | Method for host obtaining network allocation parameterns in IPV6 network | |
| CN101079771A (en) | A broadband access method based on PPPoE | |
| CN101127762A (en) | A method and system for information interaction based on dynamic host configuration protocol | |
| WO2006116911A1 (en) | Ppp access terminal,access service device and a method of the terminal obtaining the server address of the provider | |
| CN101043465A (en) | Dynamic host configuration protocol service managing method and system thereof | |
| CN101588357A (en) | Router and method for indentifying user identity applying same | |
| CN1866904A (en) | Method and apparatus for astringing two layer MAC address | |
| CN1889487A (en) | Dynamic configuration insertion terminal realizing method | |
| CN1863218A (en) | Method for providing automatic service by PPP terminal | |
| CN1486037A (en) | Method and system for carrying point-to-point protocol proxy server using Ethernet | |
| CN1697445A (en) | A method for realizing data transmission in a virtual private network | |
| CN1458582A (en) | Plug-and-play ether net access system and method | |
| CN1567873A (en) | A method of data transmission on VPN | |
| CN1863153A (en) | Method of ethernet supporting source specific multicast forwarding and apparatus thereof | |
| CN101064673A (en) | Network apparatus and its network address conversion configuring method |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term | Granted publication date:20081210 | |
| CX01 | Expiry of patent term |