CN101136946A - Base station IP address assignment system and method, base station, access service network gateway - Google Patents

Base station IP address assignment system and method, base station, access service network gateway Download PDF

Info

Publication number
CN101136946A
CN101136946A CN 200610037399 CN200610037399A CN101136946A CN 101136946 A CN101136946 A CN 101136946A CN 200610037399 CN200610037399 CN 200610037399 CN 200610037399 A CN200610037399 A CN 200610037399A CN 101136946 A CN101136946 A CN 101136946A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
base station
ip address
address
unit
message
Prior art date
Application number
CN 200610037399
Other languages
Chinese (zh)
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

Links

Abstract

The base station IP address allocation system includes the base station (BS), the access service network gateway (ASNG), and the address allocation server (AAS). Communication between BS and AAS is through address allocation protocol. Thus, BS can obtain IP address automatically so that workload of manual allocation can be omitted. Taking part in procedure of BS IP address allocation method, ASNG as relay proxy of AAS obtains coincidence relation between BS ID and IP address automatically so as to omit workload of manual allocation. The invention reduces complexity of maintenance work, and raises adaptability of network.

Description

基站IP地址分配系统及方法、基站、接入服务网络网关技术领域本发明涉及微波接入全球互通(Worldwide Interoperability for Microwave Access, Wimax)技术领域,具体地涉及一种基站IP地址分配系统及方法、基站、接入服务网络网关。 The base station IP address assignment system and method, a base station, an access service network gateway BACKGROUND Technical Field The present invention relates to a WiMAX (Worldwide Interoperability for Microwave Access, Wimax), particularly to a base station IP address assignment system and method, a base station, an access service network gateway. 背景技术Wimax是一项无线城域网接入技术,其最大传输速度75Mbit/秒,信号传输半径达到50公里,基本上能覆盖到城郊。 BACKGROUND Wimax access technology is a wireless metropolitan area network, the maximum transmission speed of 75Mbit / s, the signal transmission radius of 50 kilometers, can cover substantially the suburbs. 由于这种远距离传输特性,Wimax将不仅仅是解决无线接入的技术,还能作为有线网络接入(Cable、DSL)的无线扩展, 方便地实现边远地区的网络连接。 Because of this long-distance transmission characteristics, Wimax radio access technology to solve not only, but also extend a wired network as a wireless access (Cable, DSL), to facilitate network connectivity to remote areas. 具有广阔的应用前景。 with broadly application foreground. 图1是现有的Wimax网络参考模型,Wimax网络由接入服务网络(Access Service Network, ASN)和连4姿月良务网纟各(Connectivity Service Network, CSN) 组成,ASN和CSN由网络接入提供商(Network Access Provider, NAP)管理。 FIG. 1 is a reference model of a conventional Wimax network, Wimax network of access service networks (Access Service Network, ASN) and even 4 months good posture network traffic of each Si (Connectivity Service Network, CSN) composition, ASN and CSN connected by a network the provider (Network Access provider, NAP) management. 这里Rl, R2, R3, R4, R5表示网络逻辑实体间的接口。 Where Rl, R2, R3, R4, R5 represents a logical interface between the network entity. 图2为现有的ASN网络的参考模型,它包括基站(Base Station, BS )和接入服务网络网关(Access Service Network Gateway, ASN-GW)两个逻辑实体。 FIG 2 is a conventional network ASN reference model, which includes a base station (Base Station, BS) and an Access Service Network Gateway (Access Service Network Gateway, ASN-GW) two logical entities. BS和ASN-GW分别有一个IP地址,两者基于IP协议通信。 BS and ASN-GW an IP address, respectively, both based on the IP protocol. 但BS是用基站身份标识(BS ID )来标识的,BS ID是BS的全球唯一的标识。 But BS is a base station identity (BS ID) to identify the, BS ID is the globally unique identifier BS. 当ASN-GW需要向BS发送消息时,ASN-GW需要通过查询BS ID和IP的对应关系,找到BS 的IP地址,完成消息发送。 When the ASN-GW needs to send a message to the BS, ASN-GW needs by querying the corresponding relationship BS ID and IP, to find the IP address of the BS, the complete message. 因此,网络规划时,必须分配BS的BSIP。 Therefore, network planning, you must assign the BSIP BS. 在现有技术中,是在开局时手工配置每个BS的IP地址。 In the prior art, the IP address is manually configured at the start of each BS. 另夕卜,ASN-GW还需要知道BS ID和BS IP的对应关系,因此同时必须在ASN-GW上手工配置BS ID和BS IP的对应关系。 Another Bu Xi, ASN-GW need to know the relationship between the BS ID and the BS IP, and must therefore be configured manually and the corresponding relationship between BS IP BS ID in the ASN-GW. 这样就导致设备维护人员的配置工作量大,容易出错。 This configuration results in equipment maintenance staff workload, prone to error. 且当BS搬迁时,必须重新手工改动BSID和BSIP的配置,不但增加了維护人员的工作,而且使网络的自适应性差。 When the BS and the relocation must be manually re-configuration changes BSID and BSIP, not only increase the work of maintenance personnel, and the adaptive network is poor. 发明内容本发明所要解决的技术问题在于,提供一种基站IP地址分配系统,可以让基站自动获得IP地址,消除由于手工配置而带来的大工作量;并可以使接入服务网络网关自动获得基站的身份标识与其IP地址的对应关系,避免由于手工配置而带来的大工作量和维护量。 SUMMARY OF THE INVENTION The technical problem to be solved is to provide a base station IP address assignment system that allows the base station to obtain IP address automatically, eliminating the large amount of work caused due to the manual configuration; and the access service network gateway can automatically obtain the identity of the base station corresponding relationship between the IP address, to avoid a large workload and maintenance due to the manual configuration brings. 为了解决上述技术问题.本发明提出了一种基站IP地址分配系统,用于在接入服务网络中为基站分配IP地址,其包括有至少一个基站及地址分配服务器, 其中:所述每一基站用于向所述地址分配服务器请求获得一个IP地址; 所述地址分配服务器,与所述基站基于地址分配协议进行通信,用于接收所述基站的请求并为该基站分配一个IP地址。 In order to solve the technical problem the present invention proposes a base station IP address allocation system for allocating an IP address to a base station in the access service network, which comprises at least one base station and the address allocation server, wherein: said each base station for requesting the address allocation server to obtain an IP address; the address allocation server based on an address allocation protocol to communicate with the base station, the base station for receiving a request and assigns an IP address to the base station. 其中,所述基站包括4全测单元、控制单元、寻址单元、IP地址请求单元,其中:所述4全测单元,用于检测基站重启事件,当检测到基站重启后通知控制单元5所述控制单元,用于在接收到检测单元的通知后向寻址单元下发发送命令, 并将寻址单元发送过来的地址分配服务器地址及分配给基站的IP地址发送给IP 地址请求单元,同时对IP地址请求单元下发发送IP地址请求消息的命令;所述寻址单元,根据控制单元的发送命令向地址分配服务器发送寻址消息, 并将地址分配服务器返回的服务器地址及分配给基站的IP地址发送给控制单元;所述IP地址请求单元,用于根据控制单元的命令向地址分配服务器发送IP 地址请求消息,并接收所述地址分配服务器返回的应答消息。 Wherein the base station comprises a measuring unit 4 100, the control unit, the addressing unit, IP addresses requesting unit, wherein: said full detecting unit 4 for detecting a base station restart event is detected when restarting the base station notifies the control unit 5 said control unit is configured to send a command to send the addressing unit after receiving the notification of the detection unit, and an address assignment address allocation server and sent from the addressing unit transmits the IP address to the IP address of the requesting unit to the base station, while IP address request unit sends the IP address issued request command message; the addressing unit, the control unit sends a command allocated according to the address server transmits addressing messages, and server address assigned to the base station and the address allocation server returned IP address to the control unit; said IP address request means for assigning addresses to the server according to a command of the control unit sends an IP address request message, and receiving the response message returned by the address allocation server. 其中,该基站ip地址分配系统还包括接入服务网络网关,所述接入服务网络网关包括中继转发单元、基站识别单元、控制单元、存储单元,其中:所述中继转发单元,用于接收基站发送的寻址消息或IP地址请求消息并根据控制单元的命令向地址分配服务器转发,同时接收地址分配服务器返回的许可或应答消息并向基站转发;所述基站识别单元,用于从中继转发单元接收到的寻址消息中提取出属性信息,判断是否为基站发送的消息,并在判断是基站发送的消息时通知控制单元;及用于从中继转发单元接收到的许可或应答消息中提取出基站的身份标识信息及分配给其的ip地址信息,并将所述身份标识信息及ip地址信息发送给存储单元;所述控制单元,用于根据基站识别单元的所述通知控制中继转发单元向对应的地址分配服务器转发所述寻址消息;所述存 Wherein the base station system further comprises a dispensing ip address access service network gateway, the access service network gateway includes a relaying unit, a base station identification unit, a control unit, a storage unit, wherein: said relaying means, for address or IP address of the received message from the base station and forwards the request message to the address allocation server according to a command control unit while the reception permission address allocation server or a response message returned to the base station forwards; base station identification unit for relaying from forwarding unit addressed message received extracts the attribute information, determines whether the message transmitted by the base station, and notifies the control unit determines that a message is sent by a base station; and means for permitting or reply message is forwarded from the received relaying extract identifying information and base station assigned to the ip address information thereto, and transmits the information and the identity information to the ip address storing unit; the control unit for controlling the relay station according to the notification identification unit message forwarding unit forwards the address to the corresponding address allocation server; said memory 单元,用于存储来自基站识别单元的所述基站的身份标识与分配给其的ip地址及二者之间的对应关系。 Means for storing the base station identity assigned from a base station identification unit to the corresponding relationship between the address and both ip thereof. 其中,所述中继转发单元在转发ip地址请求消息后,如果发现地址分配服务器返回错误信息,则通知控制单元:所述控制单元根据所述通知命令基站识别单元上报提取出的所述基站的身份标识,并对存储单元下发删除命令,删除所述基站的身份标识与分配给其的ip地址的对应关系。 Wherein the relay forwarding unit forwarding the ip address request message, if the found address allocation server returns an error message, the notification control unit: the control unit commands the base station according to the notification unit reporting the identification of the extracted base station identity, and send the command to delete the storage unit, delete the base station identity assigned to the corresponding address relationship thereof ip. 其中,所述地址分配服务器为动态主机配置协议服务器,所述地址分配协i义相应为动态主纟几配置协-汉;或所述地址分配服务器为引导程序协议服务器,所述地址分配协议相应为引导程序协议。 Wherein the address allocation server is a dynamic host configuration protocol server, the address allocation of the respective co-i sense several Dynamic Host Configuration Co Si - Han; or the address allocation server is a bootstrap protocol server corresponding to the address allocation protocol for the bootstrap protocol. 本发明还提供一种基站,用于在接入服务网络中与地址分配服务器进行通信时自动获得ip地址,其包括检测单元、控制单元、寻址单元、ip地址请求单元,其中:所述检测单元,用于检测基站重启事件,当检测到基站重启后通知控制单元;所述控制单元,用于在接收到检测单元的通知后向寻址单元下发发送命令, 并将寻址单元发送过来的地址分配服务器地址及分配给基站的ip地址发送给ip 地址请求单元,同时对ip地址请求单元下发发送ip地址请求消息的命令;所述寻址单元,根据控制单元的发送命令向地址分配服务器发送寻址消息, 并将地址分配服务器返回的服务器地址及分配给基站的ip地址发送给控制单元;所述ip地址请求单元,用于根据控制单元的命令向地址分配服务器发送ip 地址请求消息,并接收所述地址分配服务器返回的应答消息。 The present invention further provides a base station for automatically ip address when communicating with the service address allocation server in the access network, which comprises a detection unit, a control unit, the addressing unit, ip address requesting unit, wherein: said detecting means for detecting an event to restart the base station, when the control unit notifies a base station upon detection of the restart; the control unit, for sending a command to send the addressing unit after receiving the notification of the detection means, and the addressing unit transmits over address and the server address allocation to a base station transmits to the ip address ip address request unit transmits, while the command ip address request message to the ip address request unit; the addressing unit, in accordance with the address assigned to the control unit sends a command the server sends a message addressed, and the address assignment server and the address allocation server is returned to the control unit of the base station to the ip address; ip address of the requesting unit, a request message according to a command control unit transmits the address to the address allocation server ip and receiving the address assignment response message returned by the server. 其中,所述地址分配服务器为动态主机配置协议服务器或引导程序协议服务器。 Wherein the address allocation server is a dynamic host configuration protocol or bootstrap protocol server server. 本发明还提供一种接入服务网络网关,用于在接入服务网络中连接地址分配服务器与基站,使基站自动获得IP地址,其包括中继转发单元、基站识别单元、控制单元、存卡者单元,其中:所述中继转发单元,用于接收基站发送的寻址消息或IP地址请求消息并根据控制单元的命令向地址分配服务器转发,同时接收地址分配服务器返回的许可或应答消息并向基站转发;所述基站识别单元,用于从中继转发单元接收到的寻址消息中提取出属性信息,判断是否为基站发送的消息,并在判断是基站发送的消息时通知控制单元;及用于从中继转发单元接收到的许可或应答消息中提取出基站的身份标识信息及分配给其的IP地址信息,并将所述身份标识信息及IP地址信息发送给存储单元;所述控制单元,用于根据基站识别单元的所述通知控制中继转发单元向对应的地 The present invention further provides an access service network gateway for connecting the access service network address allocation server and a base station, cause the base station to automatically obtain an IP address, which includes a relaying unit, a base station identification unit, control unit, memory card those units, wherein: said relaying means, for addressing or IP address of the message received from the base station and forwards the request message to the address allocation server according to a command of the control unit, while receiving the permission message or reply and return address allocation server forwarding to the base station; base station identification unit from the relay unit configured to forward the received message addressed extracts the attribute information, determines whether the message transmitted by the base station, and notifies the control unit determines that a message is sent by a base station; and for forwarding from the relay unit receives the permission response message or extracted information and the identity assigned to the base station its IP address information, and the IP address information and the identity information to the storage unit; the control unit for the control unit according to the notification relaying unit base station identification to a corresponding manner 分配服务器转发所述寻址消息;所述存储单元,用于存储来自基站识别单元的所述基站的身份标识与分配给其的IP地址及二者之间的对应关系。 Forward the addressing message distribution server; a storage unit for storing the identity assigned from a base station identification unit to the correspondence between the IP address and both thereof. 其中,所述中继转发单元在转发IP地址请求消息后,如果发现地址分配服务器返回错误信息,则通知控制单元;所述控制单元根据所述通知命令基站识别单元上报提取出的所述基站的身份标识,并对存储单元下发删除命令,删除所述基站的身份标识与分配给其的IP地址的对应关系。 Wherein the relay forwarding unit forwarding the IP address request message, if the found address allocation server returns an error message, the notification control unit; the control unit commands the base station according to the notification unit reporting the identification of the extracted base station identity, and send the command to delete the storage unit, delete the base station identity assigned to the corresponding relationship between the IP address thereof. 其中,所述地址分配服务器为动态主机配置协议服务器或引导程序协议服务器。 Wherein the address allocation server is a dynamic host configuration protocol or bootstrap protocol server server. 相应地,本发明提供一种基站IP地址分配方法,用于在由基站、接入服务网络网关及地址分配服务器所组成的基站IP地址分配系统中为基站分配IP地址,其包括:基站向作为中继代理的接入服务网络网关发送寻址消息,并将表示是基站发送的消息的属性信息及基站的身份标识信息携带在所述消息报文中;接入服务网络网关根据所述属性信息判断为基站发送的消息,向对应的地址分配服务器发送所述寻址消息;所述地址分配服务器通过接入服务网络网关向基站返回许可消息,包含地址分配服务器地址、基站的身份标识及分配给基站的IP地址;基站通过接入服务网络网关向所述地址分配服务器发送IP地址请求消息, 包含表示是基站发送的消息的属性信息、地址分配服务器地址、基站的身份标识及分配给基站的IP地址;配服务器地址、基站的身份标识及分配 Accordingly, the present invention provides a base station IP address allocation method for allocating an IP address for the base station in the system is assigned an IP address by a base station, an access service network gateway address allocation server and consisting of, comprising: a base station relay agent access service network gateway sends an addressed message, and indicates the identity of an information attribute information and a base station the base station sends a message carried in the message packet; access service network gateway according to the attribute information message is sent by the base station is determined, corresponding to the address allocation server sending the address message; address allocation server returns the grant message to the base station via the access service network gateway, comprising address allocation server address, and the identity assigned to the base station IP address of the base station; transmitting station via the access service network gateway to the IP address allocation server address request message includes information indicating the attribute information message is transmitted from the base station, the identity and address of the assigned address allocation server, the base station to the base station IP address; identity and distribution provisioning server address, the base station 给基站的IP地址。 The IP address of the base station. 其中,所述表示是基站发送的消息的属性信息及所述基站的身份标识信息携带在消息报文的可选扩展参数字段中。 Wherein said information indicates the identity of an attribute information and the base station, the base station sends a message carrying an optional extension parameter in a message packet field. 其中,接入服务网络网关在向基站转发许可消息、向地址分配服务器转发IP地址请求消息或者向基站转发应答消息时,记录基站的身份标识与其IP地址的对应关系。 Wherein the access service network gateway when forwarding the grant message to the base station, or forward the IP address request message to the base station forwards the response message to the address allocation server, recording the mapping between the identity of the base station its IP address. 其中,如果地址分配服务器收到IP地址请求消息后返回的为错误信息,则接入服务网络网关删除与所述基站身份标识相符的下列记录:接入服务网络网关在向基站转发许可消息时或者在向地址分配服务器转发IP地址请求消息时记录的基站的身份标识与其IP地址的对应关系。 Wherein, if the address allocation server to receive the error message returns the IP address request message, the access service network gateway deletes the identity of the base station matches the following records: an access service network gateway when forwarding the grant message to the base station or identity corresponding relationship recorded in an IP address request message is forwarded to the base station address allocation server its IP address. 其中,所述地址分配服务器为动态主机配置协议服务器或引导程序协议服务器。 Wherein the address allocation server is a dynamic host configuration protocol or bootstrap protocol server server. 其中,当地址分配服务器为动态主机配置协议服务器时,所述可选扩展参数字段为option字段;当地址分配服务器为引导程序协议服务器时,所述可选扩展参lt为vend字l史。 Wherein, when the address allocation server is a dynamic host configuration protocol server, the option field is an optional extension field parameter; when the address allocation server is a bootstrap protocol server, the optional extension lt reference to vend l word history. 实施本发明,具有如下有益效果:本发明通过一种基站IP地址分配系统及其方法、基站、接入服务网络网关, 对基站和接入服务网络网关作了改进,并引入了地址分配服务器,基站和地址分配服务器之间通过地址分配协议进行通信,使基站可以自动获得IP地址,省却了手工配置的工作量;同时,接入服务网络网关作为地址分配服务器的中继代理,在参与基站IP地址分配方法的过程中自动获得基站身份标识与其IP地址间的对应关系,省却了手工配置的工作量,降低了维护工作的复杂性,提高了网络的自适应性。 Embodiment of the present invention, has the following advantages: the present invention is achieved by a base station IP address assignment system and method, a base station, an access service network gateway, the base station has been improved and an access service network gateway, and the introduction of the address allocation server, between the base station and the address allocation server via the communication protocol address assignment, that the base station can automatically obtain an IP address, eliminates the manual configuration work; simultaneously, access service network gateway as a relay proxy server address allocation, the base station participating in the IP process address allocation method automatically obtain the correspondence between the IP address of the base station identity thereto, save the amount of manual configuration, reducing the complexity of maintenance work, improves the adaptability of the network. 附图说明 BRIEF DESCRIPTION

图1是现有技术中Wimax网络的参考模型示意图; FIG 1 is a schematic model of the prior art reference Wimax network;

图2是现有技术中ASN网络的参考模型示意图; FIG 2 is a schematic model of the prior art with reference to the ASN network;

图3是本发明中基站IP地址分配系统的组成示意图; FIG 3 is a schematic diagram illustrating a base station according to the present invention, IP address assignment system;

图4是本发明中基站的功能模块组成示意图; FIG 4 is a functional module of the present invention in a schematic view of the composition station;

图5是本发明中接入服务网络网关的功能模块组成示意图; Figure 5 is the present invention, an access service network gateway is a schematic diagram of functional modules;

图6是本发明中基站IP地址分配方法的流程示意图; FIG 6 is a flow diagram of the present invention, the base station of the IP address assignment method;

图7是本发明中DHCP协议的报文格式; FIG 7 is in the present invention, the DHCP protocol message format;

图8是本发明中IP地址分配方法的第一实施例示意图; FIG 8 is a schematic view of a first embodiment of the IP address assignment method according to the invention;

图9是本发明中BootP协议的报文格式; FIG 9 is a present invention BootP protocol packet format;

图IO是本发明中IP地址分配方法的第二实施例示意图。 FIG IO is a schematic view of a second embodiment of the present invention, the embodiment of the IP address assignment method.

具体实施方式 Detailed ways

下面结合附图对本发明作进一步详细清楚的说明。 DRAWINGS The invention will be described in further detail below with apparent.

图3示出了本发明中基站IP地址分配系统的组成示意图,它包括有基站1 和地址分配服务器2。 Figure 3 shows a schematic view of the composition of the present invention, the base station IP address of the distribution system, which comprises base stations 1 and 2 address allocation server. 每一基站用于作为所述地址分配服务器的客户端向所述地址分配服务器请求获得一个IP地址;地址分配服务器2与基站1基于地址分配协议进行通信,用于接收基站1的请求并自动分配一个IP地址给基站1,而不再是手工配置其IP地址。 Each base station as the address allocation server for client requests the address allocation server to obtain an IP address; address allocation server 1 communicates with the base station 2 based on the address allocation protocol, for receiving a request for a base station and automatically assigned an IP address to the base station 1, rather than manually configure its IP address.

另外,为使ASN-GW能自动获得基站ID与IP的对应关系,该基站IP地址分配系统还包括有接入服务网络网关(ASN-GW) 3,它作为地址分配服务器2 的中继代理,连接基站1和地址分配服务器2以实现两者之间的通信,它通过参与基站IP地址分配的过程,自动获得基站ID与IP的对应关系。 Further, for the ASN-GW to automatically obtain the corresponding relationship between the IP and the base station ID, the base station IP address distribution system further comprises an access service network gateway (ASN-GW). 3, as the relay proxy address allocation server 2, 1 connected to the base station 2 and the address allocation server to enable communication therebetween, through which the base station participating in the process of IP address assignment, the base station automatically obtain the corresponding relationship between the ID and the IP.

图4示出了该基站IP地址分配系统中的基站的功能模块组成示意图,它包括有检测单元11、寻址单元12、 IP地址请求单元13和控制单元14。 FIG 4 shows the functional block IP address assigned by the base station including a base station system diagram which comprises a detection unit 11, addressing unit 12 is, IP addresses requesting unit 13 and the control unit 14. ;险测单元11用于检测基站重启事件,当检测到基站重启后通知控制单元14。 ; Insurance sensing unit 11 for detecting a base station restart event is detected when the base station notifies the control unit 14 to restart. 寻址单元12 用于根据控制单元14的发送命令向地址分配服务器发送寻址消息,并将地址分配服务器返回的服务器地址及分配给基站的IP地址发送给控制单元14。 Addressing unit 12 is configured to send a message addressed to the address allocation server according to the control command transmitting unit 14, and the server address and the assigned address allocation server returns the IP address of the base station 14 to the control unit. IP地址请求单元13用于根据控制单元14的命令向地址分配服务器发送IP地址请求消息,并接收地址分配服务器返回的应答消息。 IP address request unit 13 for transmitting the command control unit 14 according to the address allocation server IP address request message, and receive a response message returned by the address allocation server. 控制单元14用于在接收到检测单元11的通知后向寻址单元12下发发送命令,并将寻址单元12发送过来的地址 The control unit 14 delivers to the address 12 sends a command to the addressing unit after receiving the notification of the detection unit 11, and sent from the addressing unit 12

分配服务器地址及分配给基站的IP地址发送给IP地址请求单元13,同时对IP Distribution server address and the IP address assigned to a base station unit 13 to the IP address request, while the IP

地址请求单元13下发发送IP地址请求消息的命令。 Address command requesting unit 13 sends the IP address request message sent.

图5示出了该基站IP地址分配系统中的接入服务网络网关的功能模块组成示意图,它包括有中继转发单元21、基站识别单元22、存储单元23和控制单元24。 Figure 5 shows an access service network gateway IP address assigned by the base station system schematic functional blocks, which comprises a relaying unit 21, base station identification unit 22, storage unit 23 and a control unit 24. 中继转发单元21用于接收基站发送的寻址消息或IP地址请求消息并根据控制单元24的命令向地址分配服务器转发,同时接收地址分配服务器返回的许可或应答消息并向基站转发。 Addressing message or the IP address of the relay unit 21 for forwarding the received request message sent by the base station and forwarded to the address allocation server according to a command of the control unit 24, while receiving the license return address allocation server or forwards the response message to the base station. 基站识别单元22用于从中继转发单元21接收到的寻址消息中提取出属性信息,判断是否为基站发送的消息,并在判断是基站发送的消息时通知控制单元24;及用于从中继转发单元21接收到的许可或应答消息中提取出基站的身份标识信息及分配给其的IP地址信息,并将所述身份标识信息及IP地址信息发送给存储单元23。 The base station identification unit 22 for extracting from the relaying unit 21 receives the message addressed to the attribute information, determines whether the message transmitted by the base station, and notifies the control message is determined by a base station unit 24; and means for relaying from forwarding unit 21 extracts the received license response message or the identity information of the base station and assigned to the IP address information thereof, and transmits the IP address information and the identity information to the storage unit 23. 存储单元23用于存储基站的身份标识与分配给其的IP地址的对应关系。 Storage unit 23 for storing the base station identity assigned to the corresponding relationship between the IP address thereof. 控制单元24用于根据基站识别单元22 的所述通知控制中继转发单元21向对应的地址分配服务器转发所述寻址消息。 The control unit 24 for controlling the relay forwarding unit 21 forwards the message addressed to a corresponding server according to the address allocation unit 22 notifies the base station identification.

这里所说的对应的地址分配服务器,是指与接入服务网络网关对应的用来为基站分配IP地址的地址分配服务器。 Here corresponding address allocation server, it refers to an access service network gateway corresponding to the address allocation server used to assign an IP address of the base station.

需要注意的是,在这里,中继转发单元21在转发IP地址请求消息后,如果发现地址分配服务器返回错误信息,则通知控制单元24;控制单元24才艮据所述通知命令基站识别单元21上报提取出的所述基站的身份标识,并对存储单元23 下发删除命令,删除所述基站的身份标识与分配给其的IP地址的对应关系。 Note that, here, the relaying unit 21 forwards the IP address request message, if the found address allocation server returns an error message, the notification control unit 24; and a control unit 21 commands the base station identification unit 24 according to the notification before Gen reports the identity of the base station is extracted, and the storage unit 23 issued a delete command to delete a base station identity assigned to the corresponding relationship between the IP address thereof.

以上所述中的地址分配服务器包括各种基于相应的地址分配协议与基站和接入服务网络网关进行通信,从而自动为基站分配IP地址的地址分配服务器。 In the above include various address allocation server based on the corresponding communication address allocation protocol with the base station and an access service network gateway, to automatically assign IP address allocation server address of the base station. 例如,此处的地址分配服务器可以是动态主机配置协议(DHCP)服务器,或者引导程序协议(BootP )服务器,相应的地址分配协议为DHCP协议或BootP协议。 For example, where the address allocation server may be a dynamic host configuration protocol (DHCP) server, or a Bootstrap Protocol (BootP) server, the corresponding address allocation protocol BootP DHCP protocol or protocols.

相应地,本发明提供一种基站IP地址分配方法,其流程示意图如图6所示, 包括步骤: Accordingly, the present invention provides a base station IP address assignment method, the flow diagram shown in Figure 6, comprising the steps of:

步骤S6001:基站向作为中继代理的接入服务网络网关发送寻址消息; 在所发送的消息报文中包含有一些附加信息,它们携带在消息报文的可选 Step S6001: the base station transmits a message addressed to the access service network gateway as a relay agent; contained in the message packet transmitted has some additional information, which optionally carries a message packet

扩展参数中。 Extended parameter. 这些附加信息包括:属性信息,用来表明是基站发送的消息;基 The additional information includes: attribute information to indicate the message is sent by the base station; yl

站的身份标识,用于标识是某个确定的基站发送的消息。 The identity of the station identification, for identifying a message is transmitted from the base station determined.

消息报文的格式是由地址分配协议定义的。 Message format of the message is defined by the address allocation protocol.

步骤S6002:接入服务网络网关向对应的地址分配服务器发送所述寻址消 Step S6002: an access service network gateway sends the address allocation server corresponding to address cancellation

息; interest;

接入服务网络网关从接收到的寻址消息中提取出属性信息,确定是基站发送的消息,便把此寻址消息转发给对应的地址分配服务器。 The access service network gateway address extracted from the received message in the attribute information, determines whether the message transmitted from the base station, put forward this message to the address corresponding to the address allocation server. 所谓对应的地址分配服务器是指与接入服务网络网关对应的用来为基站分配IP地址的地址分配服务器。 Called address allocation server corresponding address allocation server refers to an IP address assigned to the base station corresponds to the access service network gateway.

步骤S6003:地址分配服务器通过接入服务网络网关向基站返回许可消息; Step S6003: the license server returns the address assignment message to the base station via the access service network gateway;

地址分配服务器收到寻址消息后,从空闲的IP地址中选择一个IP地址,将其携带在许可消息报文中通过接入服务网络网关向基站回复。 Address allocation server receives the addressed message, select an IP address from the free IP addresses, which was carried through to the base station replies an access service network gateway in the grant message packet. 同时,该消息报文中还含有该地址分配服务器的地址。 Meanwhile, the message packet also contains the address of the address allocation server. 当然,该消息报文的可选扩展参数中仍然含有基站的身份标识信息, Of course, the optional extension parameter message packets still containing the base station identity information,

在这里,接入服务网络网关在向基站转发消息的同时,记录所述基站的身份标识与分配给它的IP地址的对应关系。 Here, the access service network gateway and forward the message to the base station, recording the identity assigned to the corresponding relationship between the base station its IP address. 当然,接入服务网络网关也可以在下面的步骤中记录此对应关系,例如,在向地址分配服务器转发IP地址请求消息时记录,或在向基站转发应答消息时记录。 Of course, the access service network gateway can record this correspondence relationship in the following step, for example, recorded in an IP address request message to the address allocation server, or a recording when forwarding response message to the base station.

步骤S6004:基站通过接入服务网络网关向所述地址分配服务器发送IP地址请求消息; Step S6004: the base station transmits the IP address allocation server request message to the access service network gateway address;

IP地址请求消息中包含表示是基站发送的消息的属性信息、服务器地址、 基站的身份标识及分配给基站的IP地址等信息。 IP address request message includes information indicating the attribute information message is transmitted from the base station, the identity and address of the distribution server, the IP address information of the base station to the base station, and the like. 与步骤S6002类似,接入服务网络网关接收到该消息后从属性信息识别出为基站所发送的消息,将此消息转发给地址分配服务器。 Similar to step S6002, the access service network gateway after receiving the message a message is transmitted from the attribute information identifying a base station, forward this message to the address allocation server.

步骤S6005:地址分配服务器通过接入服务网络网关向基站发送应答消息。 Step S6005: address allocation server sends a response message to the base station via the access service network gateway. 应答消息中包含服务器地址、基站的身份标识及分配给基站的IP地址等信息。 Reply message includes the server address, the base station identity and the IP address allocation information to the base station, and the like.

地址分配服务器在接收到IP地址请求消息后,也可能会返回错误信息,当接入服务网络网关接收到该错误信息后,会将原来记录的与此基站身份标识相匹配的ID与IP之间的对应关系记录删除掉,例如在向地址分配服务器转发IP 地址请求消息时或在向基站转发应答消息时记录的与此基站身份标识相匹配的ID与IP的对应关系。 Between the address allocation server after receiving the IP address request message may also return an error message, the access service network gateway after receiving the error message, and causes the original identity of the base station matches the recorded ID and IP the corresponding relationship record deleted, for example a correspondence relationship with the base station ID that matches the identity of the IP or recorded in forwarding response message to the base station forwards the request message to the IP address allocation server address.

以上所述的地址分配服务器包括多种,例如,可以为DHCP服务器,相对 The above-described address allocation server includes a plurality of, for example, it may be a DHCP server, the relative

应的地址分配协议为DHCP,或者可以为BootP服务器,相对应的地址分配协议为BootP 。 It should address allocation protocol DHCP, or may be BootP server corresponding to the address allocation protocol BootP.

DHCP是一种基于UDP的协议,它的报文格式如图7所示,其中各字段的含义如下: DHCP is a UDP-based protocol packet format shown in Figure 7, wherein the meaning of each field is as follows:

Op:消息类型,1=请求消息,2 =应答消息; Htype:硬件类型; Hlen:硬件地址长度; Op: Message Type, 1 = Request message, the response message 2 =; Htype: hardware type; Hlen: Hardware address length;

Hops:客户端发送时,该字段填为0;该字段对中间代理节点为可选; Xid:事务号,用于匹配请求和应答消息; sees:客户端发送请求或者更新消息后的时间; flags: 标志位; Hops: the client sends, to fill the field 0; intermediate proxy node for this field is optional; Xid: the transaction number is used to match request and response messages; sees: client sends a request message or a time after update; the flags : flag;

ciaddr:客户端地址,客户端响应地址转换协议(Address Resolution Protocol, ARP)请求时才会填写该字段; ciaddr: client address, the client will leave the field in response to Address Resolution Protocol request (Address Resolution Protocol, ARP);

yiaddr: DHCP服务器分配给Client的地址; yiaddr: DHCP address assigned by the server to Client;

siaddr: DHCP服务器地址; siaddr: DHCP server address;

giaddr: DHCP代理的地址; giaddr: DHCP proxy address;

chaddr:客户端硬件地址; chaddr: Client hardware address;

sname: DHCP服务器主机名; sname: DHCP server host name;

file:文件名; file: the file name;

options:可选的扩展参数。 options: Optional extensions parameter.

在上述字段中,option在现有技术中为可选的扩展参数,没有具体定义,在本发明中,用该字段来携带表示是基站发送的消息的属性信息及基站的身份标识信息。 In the field, option in the prior art extended parameter is optional, not specifically defined in the present invention, represented by this field is used to carry the identity information of the attribute information of the base station and the base station sends a message.

采用DHCP协议时的基站IP地址分配方法流程示意图如图8所示,包括步 The base station, DHCP IP address assignment method shown in the flow diagram shown in Figure 8, including the step

骤: Step:

步骤S8001: BS重启后,发送DHCP DISCOVERY消息,请求DHCP服务器的地址,消息中可选的扩展参数(option)包含属性表示是BS发送的信息, 以及BS的BS ID。 Step S8001: After the BS restarted, sending a message DHCP DISCOVERY, the DHCP address request, the optional extension parameter (option) message includes the BS transmits information indicating the attribute of the BS and BS ID.

步骤S8002: ASN-GW起到DHCP代理的功能,接收到DHCP DISCOVERY Step S8002: ASN-GW functions as the DHCP proxy function, the received DHCP DISCOVERY

消息后,判断option属性知道是BS发送的请求,提取BS的ID,并选取对应的DHCP服务器,发送DHCP DISCOVERY消息。 Message, the option attribute determination request is transmitted by the BS know, extraction of BS ID, and select the corresponding DHCP server, DHCP DISCOVERY sent message.

步骤S8003: DHCP服务器返回DHCP OFFER消息,包含DHCP服务器的 Step S8003: DHCP server returns a DHCP OFFER message, a DHCP server

;也址,以及^)夸要分配给bs的ip ;也it。 ; Also addressed, and ^) to be assigned to bs boast of ip; also it.

步骤S8004: ASN-GW将DHCP OFFER消息转发给基站,同时记录BS的ID和IP的^"应关系。 Step S8004: ASN-GW forwards the DHCP OFFER message to the base station, while recording ^ "is the relationship between IP and a BS ID.

步骤S8005: BS发送DHCP REQUEST消息,请求DHCP服务器分配IP地址,消息中option包含表示是BS发送的属性信息,以及BS的BSID。 Step S8005: BS transmits DHCP REQUEST message, the DHCP server assigns an IP address request message includes information indicating the option attribute information transmitted by the BS, the BS and the BSID.

步骤S8006: ASN-GW起到DHCP代理的功能,接收到DHCP REQUEST 消息后,判断扩展参数中的属性知道是BS发送的请求,提取BS的ID,并转发消息给对应的DHCP服务器。 Step S8006: ASN-GW functions as the DHCP proxy function, after receiving the DHCP REQUEST message, if the extension is known parameter property request transmitted by the BS, the BS ID extracted, and forwards the message to the corresponding DHCP server.

步骤S8007: DHCP服务器返回DHCP ACK应答消息。 Step S8007: DHCP server returns a DHCP ACK response message.

在这个步骤中,如果DHCP服务器返回的是错误信息,则ASN-GW将删除在步骤S8004中记录的ID与IP的对应关系。 In this step, if the DHCP server returns an error message, the ASN-GW to delete the correspondence relationship recorded in step S8004 ID and IP.

步骤S8008: ASN-GW将DHCP ACK应答消息转发给基站,IP地址分配完成。 Step S8008: ASN-GW forwards the DHCP ACK response message to the base station, IP address, already assigned.

通过上面的步骤,BS自动获得了IP地址,ASN-GW自动得到了BS的BSID 以及其IP地址的对应关系。 Through the above steps, the BS automatically obtain an IP address, ASN-GW corresponding relation is automatically BSID of the BS and its IP address.

BootP也叫作引导程序协议,它的报文格式如图9所示,其中各字段的含义如下: BootP also called bootstrap protocol, its message format shown in Figure 9, wherein the meaning of each field is as follows:

Op:消息类型,l-请求消息,2 =应答消息; Htype:硬件类型; Hlen:硬件地址长度; Op: message type, l- request message, the response message 2 =; Htype: hardware type; Hlen: Hardware address length;

Hops:客户端发送时,该字段填为0;该字段对中间代理节点为可选; Xid:事务号,用于匹配请求和应答消息; sees:客户端发送请求或者更新消息后的时间; flags:标志位; Hops: the client sends, to fill the field 0; intermediate proxy node for this field is optional; Xid: the transaction number is used to match request and response messages; sees: client sends a request message or a time after update; the flags : flag;

ciaddr:客户端地址,如果客户端知道自身的IP地址,则写入客户IP地址, 否则i殳置为0; ciaddr: client address, if the client knows its own IP address, then write to the client IP address, otherwise i Shu is set to 0;

yiaddr:服务器分配给Client的地址; yiaddr: Client address assigned by the server;

siaddr:月l务器i也址; giaddr:代理的地址; chaddr:客户端硬件地址; sname:月良务器主才几名; file:文件名; vend:可选的扩展参数。 siaddr: May i l Service is also addressed; giaddr: agent's address; chaddr: Client hardware address; sname: May Liang main business only a few; file: the file name; vend: optional extension parameter.

在上述字段中,vend在现有技术中为可选的扩展参数,没有具体定义,在本发明中,用该字段来携带表示是基站发送的消息的属性信息及基站的身份标识信息。 In the field, in the prior art Vend optional extension parameter is not specifically defined in the present invention, represented by this field is used to carry the identity information of the attribute information of the base station and the base station sends a message.

采用BootP协议时的基站IP地址分配方法流程示意图如图10所示,包括步 When the base station using BootP protocol IP address assignment method shown in the flow diagram shown in Figure 10, comprising the step

骤: Step:

步骤S10001: BS重启后,发送BOOTREQUEST消息,请求BootP服务器的地址,消息中可选的扩展参数(vend)包含属性表示是BS发送的信息,以及BS的BS ID。 Step S10001: BS after the restart, BOOTREQUEST send message request address BootP server, optional extended parameter message (Vend) comprising a BS transmits information indicating the attribute of the BS and the BS ID.

步骤SI0002: ASN-GW起到BootP代理的功能,接收到REQUEST消息后, 判断vend属性知道是BS发送的请求,提取BS的ID,并选取对应的BootP服务器,发送BOOTREQUEST消息。 Step SI0002: ASN-GW functions BootP proxy function, after receiving the REQUEST message, the attribute determination vend know BS transmits the request, extracts the BS ID, and select the corresponding BootP server, send messages BOOTREQUEST.

步骤S10003: BootP服务器返回BOOTREPLY消息,包含BootP服务器的地址,以及将要分配给BS的IP地址。 Step S10003: BootP server returns BOOTREPLY message, comprising address BootP server, and the IP address to be assigned to the BS.

步骤S10004: ASN-GW将BOOTREPLY消息转发给基站,同时记录BS的ID和IP的只十应关系。 Step S10004: ASN-GW forwards the message to the base station BOOTREPLY, while only ten records correspondence between IP and a BS ID.

步骤S10005: BS发送BOOTREQUEST消息,请求服务器分配IP地址,消息中ciaddr字段包含上面服务器返回的地址,vend字段中包含表示是BS发送的属性信息,以及BS的BS ID。 Step S10005: BS transmits BOOTREQUEST message requesting IP address allocation server, the message contains the address of the above ciaddr field returned by the server, it indicates Vend field contains attribute information transmitted by the BS, the BS and the BS ID.

步骤S10006: ASN-GW起到BootP代理的功能,接收到BOOTREQUEST 消息后,判断扩展参数中的属性知道是BS发送的请求,提取BS的ID,并转发消息给对应的BootP服务器。 Step S10006: ASN-GW functions BootP proxy function BOOTREQUEST after receiving the message, if the extension is known parameter property BS transmits the request, extracts the BS ID, and forwards the message to the corresponding BootP server.

步骤S10007: BootP服务器返回BOOTREPLY应答消息。 Step S10007: BootP server returns BOOTREPLY response message.

在这个步骤中,如果BootP服务器返回的是错误信息,则ASN-GW将删除在步骤S10004中记录的ID与IP的对应关系。 In this step, if BootP server returns an error message, the ASN-GW to delete the correspondence relationship recorded in step S10004 ID and IP.

步骤SI0008: ASN-GW将BOOTREPLY应答消息转发给基站,IP地址分酉己《A。 Step SI0008: ASN-GW forwards the response message to the base station BOOTREPLY, IP address, sub-hexyl unitary "A.

通过上面的步骤,BS自动获得了IP地址,ASN-GW自动得到了BS的BS ID 以及其IP地址的对应关系。 Through the above steps, the BS automatically obtain an IP address, ASN-GW relation is automatically obtained corresponding BS, BS ID and their IP addresses.

以上所揭露的仅为本发明的较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above descriptions are merely preferred embodiments of the present invention, it, of course, not intended to limit the scope of the claimed invention, the invention according to the claims made by the change in claim equivalents, still covered by the scope of the present invention.

Claims (16)

  1. 1、一种基站IP地址分配系统,用于在接入服务网络中为基站分配IP地址,其特征在于,包括有至少一个基站及地址分配服务器,其中: 所述每一基站用于向所述地址分配服务器请求获得一个IP地址; 所述地址分配服务器,与所述基站基于地址分配协议进行通信,用于接收所述基站的请求并为该基站分配一个IP地址。 A base station IP address allocation system for allocating an IP address for the base station, characterized in that the access service network, comprising at least one base station and the address allocation server, wherein: for said each base station to the address allocation server to request an IP address; the address allocation server based on an address allocation protocol to communicate with the base station, the base station for receiving a request and assigns an IP address to the base station.
  2. 2、 如权利要求1所述的基站IP地址分配系统,其特征在于,所述基站包括检测单元、控制单元、寻址单元、IP地址请求单元,其中:所述4全测单元,用于4全测基站重启事件,当4企测到基站重启后通知控制单元;所述控制单元,用于在接收到检测单元的通知后向寻址单元下发发送命令, 并将寻址单元发送过来的地址分配服务器地址及分配给基站的IP地址发送给IP地址请求单元,同时对IP地址请求单元下发发送IP地址请求消息的命令;所述寻址单元,根据控制单元的发送命令向地址分配服务器发送寻址消息, 并将地址分配服务器返回的服务器地址及分配给基站的IP地址发送给控制单元;所述IP地址请求单元,用于根据控制单元的命令向地址分配服务器发送IP 地址请求消息,并接收所述地址分配服务器返回的应答消息。 2, as the base station IP address distribution system claimed in claim 1, wherein the base station comprises a detection unit, a control unit, an addressing unit, the IP address of the requesting unit, wherein: the whole measuring unit 4, for 4 the base station to restart the whole measurement event, when the control unit 4 notifies to the base station after restart measured half; the control unit is configured to send sent to the addressing unit after receiving the notification of the detection command means, and the addressing unit transmits over address allocation server address and the IP address assigned to the base station IP address is sent to the requesting unit, and send the command sends the IP address request message to the IP address request unit; the addressing unit, according to distribution server sends a command to the address of the control unit transmitting addressed messages, the server address and the assigned address allocation server and returned to the control unit to the IP address of the base station; said IP address request means for requesting message according to the command control unit transmits the IP address to the address allocation server, and receives the address assignment response message returned by the server.
  3. 3、 如权利要求1所述的基站IP地址分配系统,其特征在于,还包括接入服务网络网关,所述接入服务网络网关包括中继转发单元、基站识别单元、控制单元、存储单元,其中:所述中继转发单元,用于接收基站发送的寻址消息或IP地址请求消息并根据控制单元的命令向地址分配服务器转发,同时接收地址分配服务器返回的许可或应答消息并向基站转发;所述基站识别单元,用于从中继转发单元接收到的寻址消息中提取出属性信息,判断是否为基站发送的消息,并在判断是基站发送的消息时通知控制单元;及用于从中继转发单元接收到的许可或应答消息中提取出基站的身份标识信息及分配给其的IP地址信息,并将所述身份标识信息及IP地址信息发送给存储单元;所述控制单元,用于根据基站识别单元的所述通知控制中继转发单元向对应的;也址分配"良务 3, the base station as claimed IP address distribution system according to claim 1, characterized by further comprising an access service network gateway, the access service network gateway includes a relaying unit, a base station identification unit, a control unit, a storage unit, wherein: said relaying means, for addressing or IP address of the message received from the base station and forwards the request message to the address allocation server according to a command control unit while the reception permission address allocation server or a response message returned from the base station and forwards ; base station identification unit from the relay unit configured to forward the received message addressed extracts the attribute information, determines whether the message transmitted by the base station, and notifies the control unit determines that a message is sent by a base station; and means for therefrom following forwarding unit received license response message or extracted information and the identity assigned to the base station its IP address information, and the IP address information and the identity information to the storage unit; wherein the control unit is configured to the relay station according to the notification control identification means corresponding to the forwarding unit; also assigned address "good service 器转发所述寻址消息;所述存储单元, 给其的IP地址及二者之间的对应关系 Forwards the message address; the storage unit, to between both the IP address and the correspondence relationship thereof
  4. 4、 如权利要求3所述的基站IP地址分配系统,其特征在于,所述中继转发单元在转发IP地址请求消息后,如果发现地址分配服务器返回错误信息, 则通知控制单元;所述控制单元根据所述通知控制基站识别单元上报提取出的所述基站的身份标识,并对存储单元下发删除命令,删除所述基站的身份标识与分配给其的IP地址的对应关系。 4. The base station IP address distribution system claimed in claim 3, wherein the relay forwarding unit forwards the IP address in the request message, if the found address allocation server returns an error message, the notification control unit; the control the unit controls the notification unit to report the identity of the base station identification of the base station is extracted, and a delete command issued at the storage unit, the identity of the assigned base station to delete the IP address of the corresponding relationship thereto.
  5. 5、 如权利要求l-4任一项所述的基站IP地址分配系统,其特征在于,所述地址分配服务器为动态主机配置协议服务器,所述地址分配协议相应为动态主才几配置协-汉;或所述地址分配服务器为引导程序协议服务器,所述地址分配协议相应为引导程序协议。 5. l-4 IP address assigned to any base station system according to claim, wherein the address allocation server is a dynamic host configuration protocol server, the dynamic address assignment protocol corresponding to only a few main configuration HS - Han; or the address allocation server is a bootstrap protocol server corresponding to the address allocation protocol bootstrap protocol.
  6. 6、 一种基站,用于在接入服务网络中与地址分配服务器进行通信时自动获得IP地址,其特征在于,包括;险测单元、控制单元、寻址单元、IP地址请求单元,其中:所述检测单元,用于检测基站重启事件,当检测到基站重启后通知控制单元^所述控制单元,用于在接收到检测单元的通知后向寻址单元下发发送命令, 并将寻址单元发送过来的地址分配服务器地址及分配给基站的IP地址发送给IP 地址请求单元,同时对IP地址请求单元下发发送IP地址请求消息的命令;所述寻址单元,根据控制单元的发送命令向地址分配服务器发送寻址消息, 并将地址分配服务器返回的服务器地址及分配给基站的IP地址发送给控制单元^ 所述IP地址请求单元,用于根据控制单元的命令向地址分配服务器发送IP 地址请求消息,并接收所述地址分配服务器返回的应答消息。 6. A base station for automatically obtain access network while communicating with IP address allocation server address, characterized by comprising; danger sensing unit, a control unit, an addressing unit, the IP address of the requesting unit, wherein: the detection unit for detecting an event to restart the base station, the control unit when the notification after detecting the base station ^ restart control means, for sending a command to send the addressing unit after receiving the notification of the detection means, and addressing address allocation server address sent from the distribution unit and transmitted to the IP address of the IP address request to the base station unit, and send the command sends the IP address request message to the IP address request unit; the addressing unit, the control unit transmits a command in accordance with send message addressed to the address allocation server, and the server address and the assigned address allocation server to the IP address returned to the control unit of the base station of the IP address ^ request unit for transmitting to the IP address allocation server according to a command of the control unit address request message, and receives the address assignment response message returned by the server.
  7. 7、 如权利要求6所述的基站,其特征在于,所迷地址分配服务器为动态主机配置协议服务器或引导程序协议服务器。 7. The base station as claimed in claim 6, wherein the address allocation server is a fan or a dynamic host configuration protocol server Bootstrap Protocol server.
  8. 8、 一种接入服务网络网关,用于在接入服务网络中连接地址分配服务器与基站,使基站自动获得IP地址,其特征在于,包括中继转发单元、基站识别单元、控制单元、存储单元,其中:所述中继转发单元,用于接收基站发送的寻址消息或IP地址请求消息并根据控制单元的命令向地址分配服务器转发,同时接收地址分配服务器返回的许可或应答消息并向基站转发;所述基站识别单元,用于从中继转发单元接收到的寻址消息中提取出属性信息,判断是否为基站发送的消息,并在判断是基站发送的消息时通知控制单元;及用于从中继转发单元接收到的许可或应答消息中提取出基站的身份标识信息及分配给其的IP地址信息,并将所述身份标识信息及IP地址信息发送给存储单元;所述控制单元,用于根据基站识别单元的所述通知控制中继转发单元向对应的地址 8, an access service network gateway for connecting the base station address allocation server in the access service network, automatically obtain an IP address for the base station, wherein the forwarding unit comprises a relay, the base station identification unit, a control unit, a storage unit, wherein: the relaying means for receiving addressed messages or IP address request message sent by the base station and forwarded to the address allocation server according to a command control unit while the reception permission address allocation server or a response message returned to the the base station forwards; base station identification unit from the relay unit configured to forward the received message addressed extracts the attribute information, determines whether the message transmitted by the base station, and notifies the control unit determines that a message is transmitted from a base station; and with extracting from the relay unit to forward the received license response message or identification information of the identity and the allocated IP address information to the base station thereof, and transmits the IP address information and the identity information of the storage unit; the control unit, for controlling the relay unit to the forwarding address corresponding to base station identification according to the notification means 分配服务器转发所逆寻址消息;所述存储单元,用于存储来自基站识别单元的所述基站的身份标识与分配给其的IP地址及二者之间的对应关系。 Distribution server forwards the message addressing inverse; a storage unit for storing the identity assigned from a base station identification unit to the correspondence between the IP address and both thereof.
  9. 9、 如权利要求8所述的接入服务网络网关,其特征在于,所述中继转发单元在转发IP地址请求消息后,如果发现地址分配服务器返回错误信息,则通知控制单元;所述控制单元根据所述通知命令基站识别单元上报提取出的所述基站的身份标识,并对存储单元下发删除命令,删除所述基站的身份标识与分配给其的IP地址的对应关系。 9, an access service network gateway as claimed in claim 8, wherein the relay forwarding unit forwarding the IP address request message, if the found address allocation server returns an error message, the notification control unit; the control command means according to the notification unit reporting the base station identification extracted identity, and send the command to delete the storage unit, delete the base station identity assigned to the corresponding relationship between the IP address thereof.
  10. 10、 如权利要求8或9所述的接入服务网络网关,其特征在于,所述地址分配服务器为动态主机配置协议服务器或? 10, an access service network gateway as claimed in claim 8 or claim 9, wherein the address allocation server is a dynamic host configuration protocol server or? I导程序协议服务器。 I program guide server protocol.
  11. 11、 一种基站IP地址分配方法,用于在由基站、接入服务网络网关及地址分配服务器所组成的基站【P地址分配系统中为基站分配IP地址,其特征在于,包括:基站向作为中继代理的接入服务网络网关发送寻址消息,并将表示是基站发送的消息的属性信息及基站的身份标识信息携带在所述消息报文中;接入服务网络网关根据所述属性信息判断为基站发送的消息,向对应的地址分配服务器发送所述寻址消息;所述地址分配服务器通过接入服务网络网关向基站返回许可消息,包含地址分配服务器地址、基站的身份标识及分配给基站的IP地址;基站通过接入服务网络网关向所述地址分配服务器发送IP地址请求消息, 包含表示是基站发送的消息的属性信息、地址分配服务器地址、基站的身份标识及分配给基站的IP地址;地址分配服务器通过接入服务网络网关向 11. A base station IP address allocation method for allocating an IP address to the base station, characterized in that the base station by a base station, an access service network gateway, and address allocation server consisting of [P address allocation system, comprising: a base station relay agent access service network gateway sends an addressed message, and indicates the identity of an information attribute information and a base station the base station sends a message carried in the message packet; access service network gateway according to the attribute information message is sent by the base station is determined, corresponding to the address allocation server sending the address message; address allocation server returns the grant message to the base station via the access service network gateway, comprising address allocation server address, and the identity assigned to the base station IP address of the base station; transmitting station via the access service network gateway to the IP address allocation server address request message includes information indicating the attribute information message is transmitted from the base station, the identity and address of the assigned address allocation server, the base station to the base station IP address; address allocation server via the access service network gateway 站发送应答消息,包含地址分配服务器地址、基站的身份标识及分配给基站的IP地址。 Station sends a response message, comprising address allocation server address, the identity and the IP address assigned to the base station of the base station.
  12. 12、 如权利要求11所述的基站IP地址分配方法,其特征在于,所述表示是基站发送的消息的属性信息及所述基站的身份标识信息携带在消息报文的可选扩展参数字段中。 12. The base station as claimed IP address assignment method according to claim 11, wherein said information indicates the identity of an attribute information and the base station transmits a message carried in the optional extended parameter message packet field .
  13. 13、 如权利要求11所述的基站IP地址分配方法,其特征在于,接入服务网络网关在向基站转发许可消息、向地址分配服务器转发IP地址请求消息或者向基站转发应答消息时,记录基站的身份标识与其IP地址的对应关系。 13, as the base station IP address assignment method as claimed in claim 11, wherein the access service network gateway forwarding the grant message to the base station, or forward the IP address request message to the base station forwards the response message to the address allocation server, the base station records the correspondence between the identity of its IP address.
  14. 14、 如权利要求13所述的基站IP地址分配方法,其特征在于,如果地址分配服务器收到IP地址请求消息后返回的为错误信息,则接入服务网络网关删除与所述基站身份标识相符的下列记录:接入服务网络网关在向基站转发许可消息时或者在向地址分配服务器转发IP地址请求消息时记录的基站的身份标识与其IP地址的对应关系。 14. The base station as claimed IP address assignment method according to claim 13, wherein, if the address allocation server to receive the error message returns the IP address request message, the access service network gateway deletes the identity of the base station matches the following records: identity corresponding relationship between the access service network gateway or recorded upon request message to the IP address allocation server address when forwarding the grant message to the base station its IP address.
  15. 15、 如权利要求11-14任一项所述的基站IP地址分配方法,其特征在于, 所述地址分配服务器为动态主机配置协议服务器或引导程序协议服务器。 15. The base station of the IP address assignment method according to any one of claims 11-14, wherein the address allocation server configuration or bootstrap protocol server is a dynamic host configuration protocol server.
  16. 16、 如权利要求12所述的基站IP地址分配方法,其特征在于,当地址分配服务器为动态主机配置协议服务器时,所述可选扩展参数字段为option字段; 当地址分配服务器为引导程序协议服务器时,所述可选扩展参数为vend字段。 16. The base station as claimed IP address assignment method according to claim 12, wherein, when the address allocation server is a dynamic host configuration protocol server, the optional field extended parameter option field; when the address allocation server is a bootstrap protocol server, the parameter is an optional extension field vend.
CN 200610037399 2006-08-31 2006-08-31 Base station IP address assignment system and method, base station, access service network gateway CN101136946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610037399 CN101136946A (en) 2006-08-31 2006-08-31 Base station IP address assignment system and method, base station, access service network gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610037399 CN101136946A (en) 2006-08-31 2006-08-31 Base station IP address assignment system and method, base station, access service network gateway

Publications (1)

Publication Number Publication Date
CN101136946A true true CN101136946A (en) 2008-03-05

Family

ID=39160766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610037399 CN101136946A (en) 2006-08-31 2006-08-31 Base station IP address assignment system and method, base station, access service network gateway

Country Status (1)

Country Link
CN (1) CN101136946A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010037337A1 (en) * 2008-09-24 2010-04-08 华为技术有限公司 Method and network device for acquiring management addresses by wireless access devices
CN102164188A (en) * 2011-03-31 2011-08-24 华为技术有限公司 Network address allocation method, device and system
CN101651722B (en) 2009-08-28 2011-09-14 华为技术有限公司 Method, device and system for automatically allocating IP address
CN101488976B (en) 2009-03-04 2011-11-16 北京星网锐捷网络技术有限公司 IP address allocation method, network appliance and authentication server
CN102404191A (en) * 2010-09-10 2012-04-04 腾讯科技(深圳)有限公司 Routing method and routing device
CN101540997B (en) 2008-03-17 2012-06-06 中兴通讯股份有限公司 Method for allocating cell physical address of home-use base station
CN102638478A (en) * 2011-02-12 2012-08-15 苏州达联信息科技有限公司 Dynamic allocation method and device for railway track monitoring sensor network controller
CN101674337B (en) 2009-09-07 2012-12-19 中兴通讯股份有限公司 Method for distributing virtual private network internet protocol addresses and network management system
CN103313327A (en) * 2012-03-14 2013-09-18 中兴通讯股份有限公司 Method for supporting switch of relay node, supplier base station and relay node
CN103561124A (en) * 2013-10-29 2014-02-05 上海华为技术有限公司 Base station data configuring method and device
WO2014169838A1 (en) * 2013-09-16 2014-10-23 中兴通讯股份有限公司 Management method and apparatus for dynamic host configuration protocol server and relay
WO2014183538A1 (en) * 2013-05-13 2014-11-20 中兴通讯股份有限公司 Method and apparatus for accessing network by device
CN105308935A (en) * 2012-11-02 2016-02-03 瑞典爱立信有限公司 Base-station-to-base-station gateway and related base-stations and methods
CN105991784A (en) * 2015-02-06 2016-10-05 普天信息技术有限公司 Automatic configuration system and method of mine base station
CN103959747B (en) * 2013-11-11 2017-02-15 华为技术有限公司 The method of opening a base station and a base station provisioning system
CN103354655B (en) * 2008-08-25 2017-07-28 高通股份有限公司 Architecture Framework The relay

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540997B (en) 2008-03-17 2012-06-06 中兴通讯股份有限公司 Method for allocating cell physical address of home-use base station
CN103354655B (en) * 2008-08-25 2017-07-28 高通股份有限公司 Architecture Framework The relay
CN101686266B (en) 2008-09-24 2014-07-09 华为技术有限公司 Method and network equipment for acquiring management address by wireless access equipment
WO2010037337A1 (en) * 2008-09-24 2010-04-08 华为技术有限公司 Method and network device for acquiring management addresses by wireless access devices
CN101488976B (en) 2009-03-04 2011-11-16 北京星网锐捷网络技术有限公司 IP address allocation method, network appliance and authentication server
CN101651722B (en) 2009-08-28 2011-09-14 华为技术有限公司 Method, device and system for automatically allocating IP address
CN101674337B (en) 2009-09-07 2012-12-19 中兴通讯股份有限公司 Method for distributing virtual private network internet protocol addresses and network management system
CN102404191B (en) * 2010-09-10 2014-12-24 腾讯科技(深圳)有限公司 Routing method and routing device
CN102404191A (en) * 2010-09-10 2012-04-04 腾讯科技(深圳)有限公司 Routing method and routing device
CN102638478A (en) * 2011-02-12 2012-08-15 苏州达联信息科技有限公司 Dynamic allocation method and device for railway track monitoring sensor network controller
CN102164188A (en) * 2011-03-31 2011-08-24 华为技术有限公司 Network address allocation method, device and system
CN103313327A (en) * 2012-03-14 2013-09-18 中兴通讯股份有限公司 Method for supporting switch of relay node, supplier base station and relay node
CN103313327B (en) * 2012-03-14 2018-09-25 中兴通讯股份有限公司 The relay node supports the handover method, the donor base station and relay node
CN105308935A (en) * 2012-11-02 2016-02-03 瑞典爱立信有限公司 Base-station-to-base-station gateway and related base-stations and methods
WO2014183538A1 (en) * 2013-05-13 2014-11-20 中兴通讯股份有限公司 Method and apparatus for accessing network by device
US9876756B2 (en) 2013-05-13 2018-01-23 Xi'an Zhongxing New Software Co. Ltd. Network access method and device for equipment
WO2014169838A1 (en) * 2013-09-16 2014-10-23 中兴通讯股份有限公司 Management method and apparatus for dynamic host configuration protocol server and relay
CN103561124B (en) * 2013-10-29 2017-05-24 华为技术有限公司 A method of a base station configuration data and means
CN103561124A (en) * 2013-10-29 2014-02-05 上海华为技术有限公司 Base station data configuring method and device
WO2015062354A1 (en) * 2013-10-29 2015-05-07 华为技术有限公司 Base station data configuration method and apparatus
CN103959747B (en) * 2013-11-11 2017-02-15 华为技术有限公司 The method of opening a base station and a base station provisioning system
CN105991784A (en) * 2015-02-06 2016-10-05 普天信息技术有限公司 Automatic configuration system and method of mine base station

Similar Documents

Publication Publication Date Title
US8339991B2 (en) Node self-configuration and operation in a wireless network
US6717944B1 (en) System, device, and method for allocating virtual circuits in a communication network
US20050111384A1 (en) Apparatus for and method of setting communication path
US6470382B1 (en) Method to dynamically attach, manage, and access a LAN-attached SCSI and netSCSI devices
US6587455B1 (en) Automatic discovery of nodes associated with a virtual subnet
US7103040B2 (en) Method and apparatus for identifying a node for data communications using its geographical location
US20080028071A1 (en) Communication load reducing method and computer system
US6510153B1 (en) Mobile IP communication scheme using dynamic address allocation protocol
US6587882B1 (en) Mobile IP communication scheme using visited site or nearby network as temporal home network
US20090193103A1 (en) Method of and System for Support of User Devices Roaming Between Routing Realms by a Single Network Server
US6704295B1 (en) Radio communication system for push information delivery
US20130136126A1 (en) Data center network system and packet forwarding method thereof
US20040240393A1 (en) Communication system, address management method, relay device, and management device
CN1744612A (en) DHCP address allocation method
US7577146B2 (en) Network element modifying the DHCP lease timer
US7263559B2 (en) Method for preventing IP address cheating in dynamic address allocation
CN1949784A (en) IP address requesting method for DHCP client by DHCP repeater
US20130067110A1 (en) Deterministic mapping
CN1505344A (en) Relay apparatus, method of controlling content delivery, and content delivery system
US20060028285A1 (en) Method and apparatus for automatic tunnel configuration
CN101951417A (en) Method, system and trunk equipment for assigning multiple server addresses
US20060146742A1 (en) Mobile router, position management server, mobile network management system, and mobile network management method
US20030093542A1 (en) Communication device and communication control method using efficient echonet address determination scheme
CN101867625A (en) Method for allocating IPv6 address and home gateway
US20040057443A1 (en) Method for assigning IP address to mobile node in code division multiple access system

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C12 Rejection of an application for a patent