[go: up one dir, main page]

CN101047997B - System and method for implementing dynamic host configuration across sites - Google Patents

System and method for implementing dynamic host configuration across sites Download PDF

Info

Publication number
CN101047997B
CN101047997B CN200610087630A CN200610087630A CN101047997B CN 101047997 B CN101047997 B CN 101047997B CN 200610087630 A CN200610087630 A CN 200610087630A CN 200610087630 A CN200610087630 A CN 200610087630A CN 101047997 B CN101047997 B CN 101047997B
Authority
CN
China
Prior art keywords
dhcpv6
dynamic host
message
host configuration
sites
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN200610087630A
Other languages
Chinese (zh)
Other versions
CN101047997A (en
Inventor
夏斌
梁萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200610087630A priority Critical patent/CN101047997B/en
Publication of CN101047997A publication Critical patent/CN101047997A/en
Application granted granted Critical
Publication of CN101047997B publication Critical patent/CN101047997B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种跨站点实现动态主机配置的系统及方法,包括:位于移动终端的服务站点内的接入点、服务站点动态主机配置功能实体,位于移动终端的目标站点内的目标站点动态主机配置功能实体、动态主机配置服务器,所述移动终端通过其服务站点内的服务站点动态主机配置功能实体及其目标站点内的目标站点动态主机配置功能实体和动态主机配置服务器进行消息交互,完成动态主机配置过程。利用本发明,可以为需要通过DHCPv6进行地址配置等过程的跨站点操作提供前提条件,进而保证移动IP中对移动终端地址的有效配置。

The invention discloses a system and method for realizing dynamic host configuration across sites, comprising: an access point located in a service site of a mobile terminal, a dynamic host configuration functional entity of the service site, and a dynamic host configuration entity of a target site located in a target site of a mobile terminal The host configuration functional entity and the dynamic host configuration server, the mobile terminal performs message interaction through the service site dynamic host configuration functional entity in its service site and the target site dynamic host configuration functional entity in the target site and the dynamic host configuration server to complete Dynamic host configuration process. The present invention can provide preconditions for cross-site operations that need address configuration through DHCPv6, thereby ensuring effective configuration of mobile terminal addresses in mobile IP.

Description

跨站点实现动态主机配置的系统及方法 System and method for implementing dynamic host configuration across sites

技术领域technical field

本发明涉及网络通信技术领域,具体涉及一种跨站点实现动态主机配置的系统及方法。The invention relates to the technical field of network communication, in particular to a system and method for realizing dynamic host configuration across sites.

背景技术Background technique

目前,随着移动和宽带技术的飞速发展,对IP地址的需求急剧增长。为了解决IPv4地址资源紧张对IP技术应用的限制问题,IPv6将原IPv4的地址长度由32位增加到128位,而且还采用了分级地址模式、高效IP包头、服务质量、主机地址自动配置、认证和加密等多种技术。Currently, with the rapid development of mobile and broadband technologies, the demand for IP addresses has increased dramatically. In order to solve the limitation of IPv4 address resource shortage on the application of IP technology, IPv6 increases the length of the original IPv4 address from 32 bits to 128 bits, and also adopts hierarchical address mode, high-efficiency IP header, quality of service, automatic host address configuration, and authentication. and encryption technologies.

其中,为了实现移动台在移动情况下仍然能够顺利与外界进行通信,采用了MIP(Mobile IP,移动IP)技术。其基本原理是:移动台除了拥有一个固定IP地址,即HoA(Home Address,家乡地址)外,在最近移动到的外地网络还拥有一个临时IP地址,即CoA(Care-of Address,转交地址),并通过一定的网络机制建立起HoA地址与CoA地址的对应关系、以及家乡网络与外地网络的路由关系,从而使移动台在其网络变换时不会中断与位于其他网络的CN(核心网)之间的通信。Among them, in order to realize that the mobile station can still communicate with the outside world smoothly while moving, the MIP (Mobile IP, Mobile IP) technology is adopted. The basic principle is: In addition to having a fixed IP address, namely HoA (Home Address, home address), the mobile station also has a temporary IP address, namely CoA (Care-of Address, care-of address) in the foreign network to which it has recently moved. , and through a certain network mechanism to establish the corresponding relationship between the HoA address and the CoA address, and the routing relationship between the home network and the foreign network, so that the mobile station will not interrupt the CN (core network) located in other networks when its network changes communication between.

MIPv6(移动IP版本6)是基于IPv6协议的移动IP技术,其无需外地代理、支持路由优化,进而避免了迂回路由、并充分利用了邻居发现功能和IPv6扩展头。IPv6工作原理如图1所示:MIPv6 (Mobile IP version 6) is a mobile IP technology based on the IPv6 protocol. It does not require foreign agents, supports route optimization, avoids circuitous routes, and makes full use of the neighbor discovery function and IPv6 extension header. The working principle of IPv6 is shown in Figure 1:

(1)移动台通过IPv6路由器公告报文决定当前所在位置;;(1) The mobile station determines the current location through the IPv6 router announcement message;

(2)移动台使用IPv6地址自动配置机制(或其他可能的机制)获取外地链路的配置CoA;(2) The mobile station uses the IPv6 address automatic configuration mechanism (or other possible mechanisms) to obtain the configuration CoA of the foreign link;

(3)移动台向家乡代理登陆,通知它的CoA;(3) The mobile station logs in to the home agent and notifies its CoA;

(4)移动台也向某些通信对端通知它的CoA;(4) The mobile station also notifies some communication peers of its CoA;

(5)其它主机可以无视移动台的CoA,而像移动IPv4一样,将包发往移动台的本地网络,家乡代理通过隧道将包转发到移动台的转交地址;(5) Other hosts can ignore the CoA of the mobile station, and like mobile IPv4, send the packet to the local network of the mobile station, and the home agent forwards the packet to the care-of address of the mobile station through the tunnel;

(6)知道移动台转交地址的通信主机也可用IPv6路由扩展头,直接将包发给移动台;(6) The communication host that knows the mobile station's care-of address can also use the IPv6 routing extension header to directly send the packet to the mobile station;

(7)移动台在发送数据包的时候使用CoA地址作为源地址。(7) The mobile station uses the CoA address as the source address when sending data packets.

由以上过程可见,为了保证移动台在子网间漫游时的正常通信,就需要为位于外地网络的移动台分配一个有效的CoA地址。It can be seen from the above process that in order to ensure the normal communication of the mobile station when it roams between subnets, it is necessary to assign an effective CoA address to the mobile station located in the foreign network.

在MIPv6中,CoA地址可以通过自动配置的方式来获取其相关信息,自动配置的方式分为以下两种:In MIPv6, the CoA address can obtain its relevant information through automatic configuration. The automatic configuration methods are divided into the following two types:

1.无状态自动配置:CoA的IP地址、配置信息的获取是通过将路由器公告中接收到的网络前缀和接口标识组合而成。1. Stateless automatic configuration: The IP address and configuration information of the CoA are obtained by combining the network prefix and interface identifier received in the router advertisement.

2.有状态自动配置:基于DHCPv6(动态主机配置协议版本6)过程获取IP地址、配置信息。2. Stateful automatic configuration: Obtain IP address and configuration information based on DHCPv6 (Dynamic Host Configuration Protocol version 6) process.

有状态自动配置与无状态自动配置是互补的,如可以利用无状态自动配置获取CoA的地址,而通过有状态自动配置获取CoA配置信息,即混合方式配置。Stateful autoconfiguration and stateless autoconfiguration are complementary. For example, stateless autoconfiguration can be used to obtain the CoA address, and stateful autoconfiguration can be used to obtain CoA configuration information, that is, hybrid configuration.

目前通过DHCPv6进行主机配置中的消息流程如图2所示:Currently, the message flow in host configuration through DHCPv6 is shown in Figure 2:

该图中由左向右的DHCPv6消息可能包括:The DHCPv6 messages from left to right in the figure may include:

1、SOLICIT(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);1. SOLICIT (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

2、REQUEST(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);2. REQUEST (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

3、CONFIRM(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);3. CONFIRM (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

4、RENEW(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);4. RENEW (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

5、REBIND(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);5. REBIND (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

6、RELEASE(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);6. RELEASE (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

7、DECLINE(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);7. DECLINE (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

8、INFORMATION-REQUEST(DHCPv6客户端->DHCPv6服务器/DHCPv6中继代理);8. INFORMATION-REQUEST (DHCPv6 client->DHCPv6 server/DHCPv6 relay agent);

9、RELAY-FORW(DHCPv6中继代理->DHCPv6服务器/DHCPv6中继代理)。9. RELAY-FORW (DHCPv6 relay agent->DHCPv6 server/DHCPv6 relay agent).

上述消息中:从DHCPv6客户端发往DHCPv6服务器/DHCPv6中继代理的消息在多播(multicast)时候(除了DHCPv6客户端已经得知DHCPv6服务器的单播地址(unicast)的情况以外),其消息的目的地址为All_DHCP_Relay_Agents_and_Servers(FF02::1:2),是一个链路本地(link-local)多播地址。从DHCPv6中继代理发往DHCPv6服务器/DHCPv6中继代理的消息带多播的时候(除了DHCPv6中继代理已经配置好了DHCPv6服务器的单播地址以外),其消息的目的地址为All_DHCP_Servers(FF05::1:3),是一个站点范围内(site-scoped)的多播地址。In the above message: when the message sent to the DHCPv6 server/DHCPv6 relay agent from the DHCPv6 client is multicast (multicast) (except that the DHCPv6 client has already learned the unicast address (unicast) of the DHCPv6 server), its message The destination address is All_DHCP_Relay_Agents_and_Servers(FF02::1:2), which is a link-local multicast address. When the message sent from the DHCPv6 relay agent to the DHCPv6 server/DHCPv6 relay agent is multicast (except that the DHCPv6 relay agent has already configured the unicast address of the DHCPv6 server), the destination address of the message is All_DHCP_Servers (FF05: :1:3), is a site-scoped multicast address.

该图中由右向左的DHCPv6消息可能包括:The DHCPv6 messages from right to left in the figure may include:

1、ADVERTISE(DHCPv6服务器->DHCPv6客户端);1. ADVERTISE (DHCPv6 server -> DHCPv6 client);

2、REPLY(DHCPv6服务器->DHCPv6客户端);2. REPLY (DHCPv6 server -> DHCPv6 client);

3、RECONFIGURE(DHCPv6服务器->DHCPv6客户端/DHCP中继代理);3. RECONFIGURE (DHCPv6 server->DHCPv6 client/DHCP relay agent);

4、RELAY-REPL(DHCPv6服务器/中继代理->DHCPv6中继代理)。4. RELAY-REPL (DHCPv6 server/relay agent -> DHCPv6 relay agent).

上述消息中都是以unicast(单播)方式进行传送的。All of the above messages are transmitted in a unicast (unicast) manner.

由以上可以得知,DHCPv6客户端在利用DHCPv6过程进行主机配置的时候,DHCPv6服务器必须位于同一个站点内。但是由于MIPv6的使用,会产生DHCPv6客户端可能需要跨站点范围利用DHCPv6过程进行地址配置的情况,如在MIPv6的快速切换的时候,作为DHCPv6客户端的移动台可能在需要通过有状态或无状态/有状态混合方式在服务网络中配置要切换到的目标网络的CoA地址(目标网络与服务网络不在一个站点内)。而目前还没有跨站点实现DHCPv6的有效方案。It can be known from the above that when the DHCPv6 client uses the DHCPv6 process to configure the host, the DHCPv6 server must be located in the same site. However, due to the use of MIPv6, the DHCPv6 client may need to use the DHCPv6 process to perform address configuration across sites. In the stateful hybrid mode, the CoA address of the target network to be handed over is configured in the service network (the target network and the service network are not in the same site). However, there is currently no effective solution for implementing DHCPv6 across sites.

发明内容Contents of the invention

本发明的主要目的是提供一种跨站点实现动态主机配置的系统,为跨站点进行DHCPv6过程提供系统支持。The main purpose of the present invention is to provide a system for realizing dynamic host configuration across sites, and provide system support for the DHCPv6 process across sites.

本发明的另一个目的是提供一种跨站点实现动态主机配置的方法,为需要通过DHCPv6进行地址配置等过程的跨站点操作提供前提条件,进而保证移动IP中对移动终端地址的有效配置。Another object of the present invention is to provide a method for cross-site dynamic host configuration, which provides preconditions for cross-site operations that require address configuration through DHCPv6, thereby ensuring effective configuration of mobile terminal addresses in mobile IP.

为此,本发明提供如下的技术方案:For this reason, the present invention provides following technical scheme:

一种跨站点实现动态主机配置的系统,所述系统包括:位于移动终端的服务站点内的接入点、服务站点动态主机配置功能实体,位于移动终端的目标站点内的目标站点动态主机配置功能实体、动态主机配置服务器,所述服务站点内的服务站点动态主机配置功能实体与目标站点内的目标站点动态主机配置功能实体通过扩展的DHCPv6协议对移动终端和位于目标站点内的动态主机配置服务器之间交互的DHCPv6消息进行转发,完成动态主机配置过程。A system for realizing dynamic host configuration across sites, said system comprising: an access point located in a service site of a mobile terminal, a dynamic host configuration function entity of the service site, and a dynamic host configuration function of the target site located in a target site of the mobile terminal Entity, dynamic host configuration server, the service site dynamic host configuration functional entity in the service site and the target site dynamic host configuration functional entity in the target site use the extended DHCPv6 protocol to the mobile terminal and the dynamic host configuration server located in the target site The DHCPv6 messages exchanged between are forwarded to complete the dynamic host configuration process.

所述服务站点动态主机配置功能实体与目标站点动态主机配置功能实体通过扩展的DHCPv6协议进行消息交互。The dynamic host configuration functional entity of the service site and the dynamic host configuration functional entity of the target site exchange messages through the extended DHCPv6 protocol.

一种跨站点实现动态主机配置的方法,所述方法包括:A method for implementing dynamic host configuration across sites, the method comprising:

A、在移动终端的服务站点内和目标站点内分别设置服务站点动态主机配置功能实体和目标站点动态主机配置功能实体;A. Set the service site dynamic host configuration functional entity and the target site dynamic host configuration functional entity respectively in the service site and the target site of the mobile terminal;

B、当移动终端需要跨站点进行动态主机配置过程时,由所述服务站点动态主机配置功能实体和目标站点内的动态主机配置功能实体通过扩展的DHCPv6协议对移动终端和位于目标站点内的动态主机配置服务器之间交互的DHCPv6消息进行转发,完成动态主机配置过程。B. When the mobile terminal needs to perform a dynamic host configuration process across sites, the dynamic host configuration functional entity in the service site and the dynamic host configuration functional entity in the target site will perform dynamic host configuration on the mobile terminal and the dynamic host in the target site through the extended DHCPv6 protocol. The DHCPv6 messages exchanged between the host configuration servers are forwarded to complete the dynamic host configuration process.

所述移动终端需要跨站点进行动态主机配置的过程包括:地址配置过程、和/或地址更新过程、和/或地址重配置过程。The process that the mobile terminal needs to perform dynamic host configuration across sites includes: an address configuration process, and/or an address update process, and/or an address reconfiguration process.

当移动终端需要跨站点进行地址配置过程时,所述服务站点动态主机配置功能实体和目标站点内的动态主机配置功能实体对移动终端和位于目标站点内的动态主机配置服务器之间交互的消息进行转发的步骤包括:When the mobile terminal needs to perform an address configuration process across sites, the dynamic host configuration functional entity of the service site and the dynamic host configuration functional entity in the target site perform the message exchange between the mobile terminal and the dynamic host configuration server located in the target site The forwarding steps include:

B1、移动终端获取服务站点动态主机配置功能实体定位信息,所述定位信息具体为服务站点动态主机配置功能实体的动态主机配置协议唯一标识DUID或IP地址;B1. The mobile terminal obtains the location information of the dynamic host configuration function entity of the service site, and the location information is specifically the dynamic host configuration protocol unique identification DUID or IP address of the dynamic host configuration function entity of the service site;

B2、根据所述定位信息将DHCPv6消息发送给服务站点动态主机配置功能实体;B2. Send the DHCPv6 message to the service site dynamic host configuration functional entity according to the location information;

B3、服务站点动态主机配置功能实体收到所述DHCPv6消息后,提取出该消息中所要进行跨站点动态主机配置的目标站点的信息,并根据该信息将所述DHCPv6消息发送到目标站点动态主机配置功能实体;B3. After receiving the DHCPv6 message, the service site dynamic host configuration functional entity extracts the information of the target site to be configured in the message, and sends the DHCPv6 message to the target site dynamic host according to the information. configuration functional entity;

B4、目标站点动态主机配置功能实体将收到的DHCPv6消息多播发送到动态主机配置服务器。B4. The dynamic host configuration functional entity of the target site multicasts the received DHCPv6 message to the dynamic host configuration server.

所述根据定位信息将DHCPv6消息发送给服务站点动态主机配置功能实体的步骤包括:The step of sending the DHCPv6 message to the service site dynamic host configuration functional entity according to the location information includes:

移动终端向所有动态主机配置中继代理和服务器多播发送DHCPv6消息,并在该消息中携带所述DUID标识信息、表明进行跨站点动态主机配置过程的信息、目标网络相关信息。The mobile terminal multicasts a DHCPv6 message to all dynamic host configuration relay agents and servers, and carries the DUID identification information, information indicating the cross-site dynamic host configuration process, and target network related information in the message.

所述根据定位信息将DHCPv6消息发送给服务站点动态主机配置功能实体的步骤包括:The step of sending the DHCPv6 message to the service site dynamic host configuration functional entity according to the location information includes:

移动终端向服务站点动态主机配置功能实体的IP地址单播发送DHCPv6消息,并在该消息中携带表明进行跨站点动态主机配置过程的信息、目标网络相关信息。The mobile terminal unicasts a DHCPv6 message to the IP address of the dynamic host configuration functional entity at the service site, and carries information indicating the cross-site dynamic host configuration process and target network related information in the message.

服务站点动态主机配置功能实体通过扩展的DHCPv6协议将所述DHCPv6消息发送到目标站点动态主机配置功能实体.The service site dynamic host configuration functional entity sends the DHCPv6 message to the target site dynamic host configuration functional entity through the extended DHCPv6 protocol.

当移动终端需要跨站点进行地址配置过程时,所述服务站点动态主机配置功能实体和目标站点内的动态主机配置功能实体对移动终端和位于目标站点内的动态主机配置服务器之间交互的消息进行转发的步骤进一步包括:When the mobile terminal needs to perform an address configuration process across sites, the dynamic host configuration functional entity of the service site and the dynamic host configuration functional entity in the target site perform the message exchange between the mobile terminal and the dynamic host configuration server located in the target site The forwarding steps further include:

动态主机配置服务器收到目标站点动态主机配置功能实体传送的移动终端的消息后,将需要回应的DHCPv6消息发送给目标站点动态主机配置功能实体;After the dynamic host configuration server receives the message of the mobile terminal sent by the dynamic host configuration functional entity of the target site, the DHCPv6 message that needs to be responded is sent to the dynamic host configuration functional entity of the target site;

目标站点动态主机配置功能实体提取出该消息中所要进行跨站点动态主机配置的服务站点的信息,并根据该信息将所述需要回应的DHCPv6消息发送到服务站点动态主机配置功能实体;The target site dynamic host configuration functional entity extracts the information of the service site to be cross-site dynamic host configuration in the message, and sends the DHCPv6 message that needs to be responded to the service site dynamic host configuration functional entity according to the information;

服务站点动态主机配置功能实体对收到的消息进行解析,提取出动态主机配置服务器的回应消息,发送给移动终端。The dynamic host configuration functional entity of the service site analyzes the received message, extracts the response message from the dynamic host configuration server, and sends it to the mobile terminal.

目标站点动态主机配置功能实体通过扩展的DHCPv6协议将所述需要回应的DHCPv6消息发送到服务站点动态主机配置功能实体。The dynamic host configuration functional entity of the target site sends the DHCPv6 message requiring a response to the dynamic host configuration functional entity of the service site through the extended DHCPv6 protocol.

所述步骤B进一步包括:Said step B further comprises:

由动态主机配置中继代理将服务站点动态主机配置功能实体发送的动态主机配置服务器的回应消息传送给移动终端。The dynamic host configuration relay agent transmits the response message of the dynamic host configuration server sent by the dynamic host configuration functional entity of the service site to the mobile terminal.

由以上本发明提供的技术方案可以看出,本发明通过在移动终端的服务站点内和目标站点内分别设置服务站点动态主机配置功能实体和目标站点动态主机配置功能实体,在需要跨站点进行动态主机配置过程时,即可由服务站点动态主机配置功能实体和目标站点内的动态主机配置功能实体对移动终端和位于目标站点内的动态主机配置服务器之间交互的消息进行转发,完成动态主机配置过程。从而为需要通过DHCPv6进行地址配置等过程的跨站点操作提供了前提条件,有效地实现了移动IP中对移动终端地址的配置。本发明中的服务站点动态主机配置功能实体和目标站点动态主机配置功能实体之间可以通过扩展的DHCPv6协议进行消息交互,也可以通过其他消息进行交互,进一步方便了系统在不同网络中的应用。As can be seen from the technical scheme provided by the present invention above, the present invention sets the dynamic host configuration functional entity of the service site and the dynamic host configuration functional entity of the target site respectively in the service site and the target site of the mobile terminal. During the host configuration process, the dynamic host configuration functional entity in the service site and the dynamic host configuration functional entity in the target site can forward the interactive messages between the mobile terminal and the dynamic host configuration server located in the target site, and complete the dynamic host configuration process . Therefore, a precondition is provided for cross-site operations that need to perform address configuration and other processes through DHCPv6, and the configuration of the mobile terminal address in the mobile IP is effectively realized. The dynamic host configuration functional entity of the service site and the dynamic host configuration functional entity of the target site in the present invention can exchange messages through the extended DHCPv6 protocol, and can also interact through other messages, which further facilitates the application of the system in different networks.

附图说明Description of drawings

图1是现有技术中MIPv6的工作原理示意图;FIG. 1 is a schematic diagram of the working principle of MIPv6 in the prior art;

图2是现有技术中通过DHCPv6进行主机配置中的消息流程图;Fig. 2 is a message flow chart in the host configuration through DHCPv6 in the prior art;

图3是本发明系统的组网示意图;Fig. 3 is a schematic diagram of networking of the system of the present invention;

图4是本发明系统中各功能实体间的消息交互流程图;Fig. 4 is the flow chart of message interaction between each functional entity in the system of the present invention;

图5是本发明方法的一个实施例的实现流程图;Fig. 5 is the implementation flowchart of an embodiment of the inventive method;

图6是本发明在WiMAX系统中进行跨站点DHCPv6过程HoA地址配置的流程图。FIG. 6 is a flow chart of the present invention performing HoA address configuration in the cross-site DHCPv6 process in the WiMAX system.

具体实施方式Detailed ways

本发明的核心在于在移动终端的服务站点内和目标站点内分别设置服务站点动态主机配置功能实体和目标站点动态主机配置功能实体;当需要跨站点进行动态主机配置过程时,由所述服务站点动态主机配置功能实体和目标站点内的动态主机配置功能实体对移动终端和位于目标站点内的动态主机配置服务器之间交互的消息进行转发,完成动态主机配置过程.The core of the present invention is to respectively set the service site dynamic host configuration functional entity and the target site dynamic host configuration functional entity in the service site of the mobile terminal and the target site; when the dynamic host configuration process needs to be carried out across sites, the service site The dynamic host configuration functional entity and the dynamic host configuration functional entity in the target site forward the interactive messages between the mobile terminal and the dynamic host configuration server located in the target site, and complete the dynamic host configuration process.

本技术领域人员知道,DHCP(动态主机配置协议)用来进行高效的动态IP地址分配。DHCP协议基于一般的client(客户机)/server(服务器)模型,即client主动发起请求报文,server返回相应的应答报文。这里的client就是普通的计算机,server就是DHCP server,计算机启动或申请地址时向DHCP server发送地址申请报文,DHCP server自动为client指定IP地址和其他网络参数,并发送回应报文。Those skilled in the art know that DHCP (Dynamic Host Configuration Protocol) is used for efficient dynamic IP address allocation. The DHCP protocol is based on a general client (client)/server (server) model, that is, the client initiates a request message, and the server returns a corresponding response message. The client here is an ordinary computer, and the server is a DHCP server. When the computer starts or applies for an address, it sends an address application message to the DHCP server. The DHCP server automatically specifies an IP address and other network parameters for the client, and sends a response message.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

参照图3,图3示出了本发明系统的组网结构;With reference to Fig. 3, Fig. 3 has shown the networking structure of the system of the present invention;

该系统包括:位于移动终端的服务站点内的接入点S11、服务站点动态主机配置功能实体S12,位于移动终端的目标站点内的目标站点动态主机配置功能实体S22、动态主机配置服务器S21。The system includes: an access point S11 located in the service site of the mobile terminal, a dynamic host configuration function entity S12 of the service site, a target site dynamic host configuration function entity S22 located in the target site of the mobile terminal, and a dynamic host configuration server S21.

当移动终端S0需要进行跨站点的DHCPv6过程时,比如,在快速切换时,移动终端对收到的目标接入路由器管辖网络前缀与目前使用的服务接入路由器管辖网络的前缀进行比较,如果目标接入路由器与服务接入路由器不在同一个站点内,并且根据地址配置方式指示信息知道需要进行有状态或者是进行无状态/有状态混合方式地址自动配置,则需要进行跨站点的DHCPv6过程。When the mobile terminal S0 needs to perform a cross-site DHCPv6 process, for example, during fast handover, the mobile terminal compares the prefix of the received network prefix of the target access router with the prefix of the currently used serving access router network, and if the target The access router and the service access router are not in the same site, and the stateful or stateless/stateful hybrid address auto-configuration is required according to the address configuration indication information, and the cross-site DHCPv6 process is required.

在该过程中,移动终端通过接入点S11接入服务站点,向动态主机配置服务器S21发送消息。由于目标接入路由器与服务接入路由器位于不同的站点内,因此,若直接向动态主机配置服务器S21发送DHCPv6消息,则该消息无法到达目的地。在本发明系统中,由其服务站点内的服务站点动态主机配置功能实体S12及其目标站点内的目标站点动态主机配置功能实体S22对移动终端S0和动态主机配置服务器S21之间需要传送的消息进行转发,完成该过程。In this process, the mobile terminal accesses the service site through the access point S11, and sends a message to the dynamic host configuration server S21. Since the target access router and the serving access router are located in different sites, if the DHCPv6 message is directly sent to the dynamic host configuration server S21, the message cannot reach the destination. In the system of the present invention, the service site dynamic host configuration functional entity S12 in its service site and the target site dynamic host configuration functional entity S22 in its target site are responsible for the messages that need to be transmitted between the mobile terminal S0 and the dynamic host configuration server S21 Make a retweet to complete the process.

可以在移动终端S0发送DHCPv6消息中携带表明移动终端需要进行跨站点的DHCPv6过程的信息,以及目标站点的相关信息。服务站点动态主机配置功能实体S12收到该消息后,根据这些信息即可将DHCPv6消息转发到相应目标站点内的目标站点动态主机配置功能实体S22,然后,再由目标站点动态主机配置功能实体S22将其发送给动态主机配置服务器S21。The DHCPv6 message sent by the mobile terminal S0 may carry information indicating that the mobile terminal needs to perform a cross-site DHCPv6 process and related information of the target site. After receiving the message, the service site dynamic host configuration functional entity S12 can forward the DHCPv6 message to the target site dynamic host configuration functional entity S22 in the corresponding target site according to the information, and then the target site dynamic host configuration functional entity S22 Send it to the dynamic host configuration server S21.

动态主机配置服务器S21收到移动终端S0的DHCPv6消息后,对该消息进行回应。同样,首先将该消息发送到目标站点动态主机配置功能实体S22,然后,再由目标站点动态主机配置功能实体S22转发给服务站点动态主机配置功能实体S12。服务站点动态主机配置功能实体S12提取出其中的回应信息发送给移动终端。After receiving the DHCPv6 message of the mobile terminal S0, the dynamic host configuration server S21 responds to the message. Similarly, the message is first sent to the target site dynamic host configuration functional entity S22, and then the target site dynamic host configuration functional entity S22 forwards the message to the service site dynamic host configuration functional entity S12. The service site dynamic host configuration function entity S12 extracts the response information and sends it to the mobile terminal.

移动终端S0发送的DHCPv6消息根据发送方式的不同可以通过该站点内的DHCPv6中继代理进行转发到达服务站点动态主机配置功能实体S12,也可以直接到达服务站点动态主机配置功能实体S12。同样,服务站点动态主机配置功能实体S12转发的动态主机配置服务器S21回应的DHCPv6消息根据发送方式的不同,可以通过该站点内的DHCPv6中继代理进行转发到达移动终端S0,也可以直接发送到移动终端S0。The DHCPv6 message sent by the mobile terminal S0 can be forwarded to the service site dynamic host configuration function entity S12 through the DHCPv6 relay agent in the site according to different sending methods, or can directly reach the service site dynamic host configuration function entity S12. Similarly, the DHCPv6 message responded by the dynamic host configuration server S21 forwarded by the dynamic host configuration function entity S12 of the service site can be forwarded to the mobile terminal S0 through the DHCPv6 relay agent in the site, or directly sent to the mobile terminal S0 according to the different sending methods. Terminal S0.

同样,目标站点内目标站点动态主机配置功能实体S22和动态主机配置服务器S21之间消息的传递也可以通过该站点内的DHCPv6中继代理进行转发。Similarly, the message transfer between the target site dynamic host configuration functional entity S22 and the dynamic host configuration server S21 in the target site can also be forwarded through the DHCPv6 relay agent in the site.

根据应用需要,服务站点动态主机配置功能实体S12与目标站点动态主机配置功能实体S22可以通过扩展的DHCPv6协议进行消息交互,也可以采用其他专用协议进行交互。According to application requirements, the dynamic host configuration function entity S12 of the service site and the dynamic host configuration function entity S22 of the target site can exchange messages through the extended DHCPv6 protocol, or use other dedicated protocols for interaction.

图4示出了本发明系统中各功能实体间的消息交互流程:Fig. 4 shows the message interaction process between each functional entity in the system of the present invention:

1.MS(移动终端)通过链路层或者IP层机制发现需要跨站点进行DHCPv6过程(如MIPv6快速切换中)。1. The MS (mobile terminal) discovers that the DHCPv6 process needs to be performed across sites (such as in MIPv6 fast handover) through the link layer or IP layer mechanism.

2.MS向All_DHCP_Relay_Agents_and_Servers(FF02::1:2)多播所需发送的DHCPv6消息,MS在该消息中表明其要进行跨站点的DHCPv6过程,以及目标站点的相关信息。2. The MS multicasts the required DHCPv6 message to All_DHCP_Relay_Agents_and_Servers (FF02::1:2), in which the MS indicates that it will perform a cross-site DHCPv6 process and the relevant information of the target site.

所涉及的DHCPv6消息包括:The DHCPv6 messages involved include:

A)SOLICIT消息A) SOLICIT message

B)REQUEST消息B) REQUEST message

C)CONFIRM消息C) CONFIRM message

D)RENEW消息D)RENEW message

E)REBIND消息E) REBIND message

F)RELEASE消息F) RELEASE message

G)DECLINE消息G) DECLINE message

H)INFORMATION-REQUEST消息H) INFORMATION-REQUEST message

MS也可不通过DHCPv6中继向服务站点DHCPv6功能实体发送上述消息。此时需要此功能实与MS位于同一个link上,并且加入到了All_DHCP_Relay_Agents_ana_Servers(FF02::1:2)地址;或者MS已经获知此功能实体的地址,将上述消息直接发送给功能实体,在这种情况下,第3步省略。The MS may also not send the above message to the DHCPv6 functional entity of the service site through the DHCPv6 relay. At this time, the function needs to be located on the same link as the MS, and added to the All_DHCP_Relay_Agents_ana_Servers (FF02::1:2) address; or the MS has already known the address of the functional entity, and sends the above message directly to the functional entity. In this case, step 3 is omitted.

3.DHCPv6中继代理收到此消息后,发现其是需要进行跨站点DHCPv6过程的DHCPv6消息。中继代理将其递交给上述服务站点内的DHCPv6功能实体。3. After receiving the message, the DHCPv6 relay agent finds that it is a DHCPv6 message that requires a cross-site DHCPv6 process. The relay agent submits it to the DHCPv6 functional entity in the above service site.

4.上述服务站点内的DHCPv6功能实体将收到的DHCPv6消息进行解析,提取出所要进行跨站点DHCPv6过程的目标站点的信息,并根据此信息通过但不限于DHCPv6协议扩展的方式将DHCPv6消息发送到目标站点中对应的DHCPv6功能实体。4. The DHCPv6 functional entity in the above service site parses the received DHCPv6 message, extracts the information of the target site to perform the cross-site DHCPv6 process, and sends the DHCPv6 message through but not limited to DHCPv6 protocol extension based on this information to the corresponding DHCPv6 functional entity in the target site.

5.目标网络中的DHCPv6功能实体收到上述消息后,将DHCPv6消息剥离出来,并向All_DHCP_Relay_Agents_and_Servers(FF02::1:2)多播该消息。5. After receiving the above message, the DHCPv6 functional entity in the target network strips the DHCPv6 message, and multicasts the message to All_DHCP_Relay_Agents_and_Servers (FF02::1:2).

6.此消息在到达DHCPv6服务器之前,可以由DHCPv6中继代理进行中继(此时DHCPv6服务器与目标站点DHCPv6功能实体不在同一个链路上)。6. Before the message reaches the DHCPv6 server, it can be relayed by the DHCPv6 relay agent (the DHCPv6 server and the target site DHCPv6 functional entity are not on the same link at this time).

7.上述消息到达目标站点内的DHCPv6服务器,此DHCPv6服务器利用相应的DHCPv6消息进行回应,并将回应的消息发送给向其中继消息的DHCPv6中继代理。7. The above message reaches the DHCPv6 server in the target site, and the DHCPv6 server responds with the corresponding DHCPv6 message, and sends the response message to the DHCPv6 relay agent that relays the message to it.

DHCPv6服务器回应的消息包括:The messages responded by the DHCPv6 server include:

A)ADVERTISE消息A) ADVERTISE message

B)REPLY消息B) REPLY message

C)RECONFIGURE消息C) RECONFIGURE message

D)RELAY-REPL消息D) RELAY-REPL message

其中,A、B两条消息会在DHCPv6服务器与目标站点DHCPv6功能实体位于同一个链路上的时候DHCPv6服务器回应;C消息可能在不进行步骤1~6的情况下直接由DHCPv6发起;D消息会在DHCPv6服务器与目标站点DHCPv6功能实体不在同一个链路上的时候DHCPv6服务器回应.Among them, the two messages A and B will be responded by the DHCPv6 server when the DHCPv6 server and the DHCPv6 functional entity of the target site are on the same link; the C message may be directly initiated by DHCPv6 without performing steps 1-6; the D message The DHCPv6 server will respond when the DHCPv6 server and the DHCPv6 functional entity of the target site are not on the same link.

8.DHCPv6服务器的回应消息在到达目标站点的时候可以经过DHCPv6中继代理的中继(此时DHCPv6服务器与目标站点DHCPv6功能实体不在同一个链路上)。8. The response message from the DHCPv6 server may be relayed by the DHCPv6 relay agent when it reaches the target site (at this time, the DHCPv6 server and the DHCPv6 functional entity of the target site are not on the same link).

9.目标站点内的DHCPv6功能实体对收到的DHCPv6消息进行解析,将此消息通过但不限于DHCPv6协议扩展的方式发送到服务站点中对应的DHCPv6功能实体。9. The DHCPv6 functional entity in the target site parses the received DHCPv6 message, and sends the message to the corresponding DHCPv6 functional entity in the service site through but not limited to DHCPv6 protocol extension.

10.服务站点DHCPv6功能实体将收到的消息进行解析,提取出DHCPv6服务器回应的消息,发送给DHCPv6中继代理。10. The DHCPv6 functional entity of the service site parses the received message, extracts the response message from the DHCPv6 server, and sends it to the DHCPv6 relay agent.

根据第2步中相应的情况,服务站点DHCPv6功能实体可以直接将提取出的DHCPv6消息发送给MS,从而省略第10步。According to the corresponding situation in step 2, the service site DHCPv6 functional entity can directly send the extracted DHCPv6 message to the MS, thereby omitting step 10.

11.DHCPv6中继代理接收到消息后,将其中继给MS。11. After receiving the message, the DHCPv6 relay agent relays it to the MS.

利用本发明系统,可以进行跨站点的地址配置、地址重配置、地址更新等各种DHCPv6过程。With the system of the present invention, various DHCPv6 processes such as cross-site address configuration, address reconfiguration, and address update can be performed.

下面基于该系统,以跨站点的地址配置为例,进一步详细说明本发明跨站点实现动态主机配置的方法的过程。Based on this system, taking cross-site address configuration as an example, the process of the method for implementing cross-site dynamic host configuration in the present invention will be further described in detail.

参照图5所示本发明方法的一个实施例的实现流程,包括以下步骤:Referring to the implementation process of an embodiment of the method of the present invention shown in Figure 5, it may include the following steps:

步骤501:在移动终端的服务站点内和目标站点内分别设置服务站点动态主机配置功能实体和目标站点动态主机配置功能实体。Step 501: Set up a service site dynamic host configuration functional entity and a target site dynamic host configuration functional entity in the service site and the target site of the mobile terminal respectively.

步骤502:移动终端获取服务站点动态主机配置功能实体定位信息,所述定位信息具体为服务站点动态主机配置功能实体的DUID标识或IP地址。Step 502: The mobile terminal obtains location information of the service site dynamic host configuration functional entity, and the location information is specifically the DUID identifier or IP address of the service site dynamic host configuration functional entity.

步骤503:根据定位信息将DHCPv6消息发送给服务站点动态主机配置功能实体。Step 503: Send the DHCPv6 message to the dynamic host configuration function entity of the service site according to the location information.

如果移动终端得到的定位信息是动态主机配置功能实体的DUID,则移动终端可以向所有动态主机配置中继代理和服务器多播发送DHCPv6消息,并在该消息中携带所述DUID标识信息以及表明进行跨站点动态主机配置过程的信息。If the location information obtained by the mobile terminal is the DUID of the dynamic host configuration functional entity, the mobile terminal can multicast a DHCPv6 message to all dynamic host configuration relay agents and servers, and carry the DUID identification information and indicate the Information on the cross-site dynamic host configuration process.

如果移动终端得到的是动态主机配置功能实体的IP地址,则移动终端可以直接向服务站点动态主机配置功能实体的IP地址单播发送DHCPv6消息,并在该消息中携带表明进行跨站点动态主机配置过程的信息。If the mobile terminal obtains the IP address of the dynamic host configuration functional entity, the mobile terminal can directly unicast a DHCPv6 message to the IP address of the dynamic host configuration functional entity at the service site, and carry an indication in the message to perform cross-site dynamic host configuration process information.

步骤504:服务站点动态主机配置功能实体收到DHCPv6消息后,提取出该消息中所要进行跨站点动态主机配置的目标站点的信息,并根据该信息将所述DHCPv6消息发送到目标站点动态主机配置功能实体。Step 504: After receiving the DHCPv6 message, the service site dynamic host configuration functional entity extracts the information of the target site to perform cross-site dynamic host configuration in the message, and sends the DHCPv6 message to the target site for dynamic host configuration according to the information functional entity.

服务站点动态主机配置功能实体可以通过扩展的DHCPv6协议或其他协议将DHCPv6消息发送到目标站点动态主机配置功能实体。The service site dynamic host configuration functional entity may send the DHCPv6 message to the target site dynamic host configuration functional entity through the extended DHCPv6 protocol or other protocols.

步骤505:目标站点动态主机配置功能实体将收到的DHCPv6消息多播发送到动态主机配置服务器。Step 505: The dynamic host configuration functional entity of the target site multicasts the received DHCPv6 message to the dynamic host configuration server.

步骤506:动态主机配置服务器收到目标站点动态主机配置功能实体传送的移动终端的消息后,将需要回应的DHCPv6消息发送给目标站点动态主机配置功能实体。Step 506: After receiving the message of the mobile terminal sent by the dynamic host configuration functional entity of the target site, the dynamic host configuration server sends the DHCPv6 message to be responded to the dynamic host configuration functional entity of the target site.

步骤507:目标站点动态主机配置功能实体提取出该消息中所要进行跨站点动态主机配置的服务站点的信息,并根据该信息将需要回应的DHCPv6消息发送到服务站点动态主机配置功能实体.Step 507: The target site dynamic host configuration functional entity extracts the information of the service site that needs to perform cross-site dynamic host configuration in the message, and sends the DHCPv6 message that needs to be responded to the service site dynamic host configuration functional entity according to the information.

同样,目标站点动态主机配置功能实体可以通过扩展的DHCPv6协议或其他协议将需要回应的DHCPv6消息发送到服务站点动态主机配置功能实体。Similarly, the dynamic host configuration functional entity at the target site may send the DHCPv6 message that needs to be responded to the dynamic host configuration functional entity at the service site through the extended DHCPv6 protocol or other protocols.

步骤508:服务站点动态主机配置功能实体对收到的消息进行解析,提取出动态主机配置服务器的回应消息,发送给移动终端。Step 508: The dynamic host configuration functional entity of the service site parses the received message, extracts the response message from the dynamic host configuration server, and sends it to the mobile terminal.

在上述过程中,移动终端与服务站点动态主机配置功能实体之间的消息交互,以及目标站点动态主机配置功能实体与动态主机配置服务器之间的消息交互均可通过DHCPv6中继代理进行中继到达。In the above process, the message interaction between the mobile terminal and the dynamic host configuration functional entity of the service site, and the message interaction between the dynamic host configuration functional entity of the target site and the dynamic host configuration server can be relayed through the DHCPv6 relay agent. .

地址重配置、地址更新等DHCPv6过程中服务站点动态主机配置功能实体与目标站点动态主机配置功能实体的交互过程与上述类似,在此不再赘述。The interaction process between the service site dynamic host configuration functional entity and the target site dynamic host configuration functional entity in the DHCPv6 process such as address reconfiguration and address update is similar to the above, and will not be repeated here.

本发明可适用于各种跨站点进行DHCHv6过程的通信系统,比如WiMAX(全球微波系统的互操作性)系统、3GPP、3GPP2以及未来B3G系统等。The present invention is applicable to various communication systems that perform the DHCHv6 process across sites, such as WiMAX (Worldwide Interoperability for Microwave Systems) systems, 3GPP, 3GPP2, and future B3G systems.

下面以WiMAX系统为例,说明跨站点使用DHCPv6过程进行HoA(家乡地址)地址的配置方式。The following takes the WiMAX system as an example to illustrate the way of configuring the HoA (home address) address by using the DHCPv6 process across sites.

参照图6所示流程,包括以下步骤:Referring to the process shown in Figure 6, it includes the following steps:

1.MS欲通过DHCPv6(有状态方式)配置其HoA地址,而MS的家乡网络与MS目前所在的拜访网络不是位于同一个站点下。MS向All_DHCP_Relay_Agents_and_Servers(FF02::1:2)多播发送DHCPv6 Solicit消息,并在该消息中表明其要进行跨站点的DHCPv6过程(配置其HoA地址),以及家乡网络的相关信息。1. The MS intends to configure its HoA address through DHCPv6 (stateful mode), but the MS's home network and the MS's current visited network are not located under the same site. The MS multicasts a DHCPv6 Solicit message to All_DHCP_Relay_Agents_and_Servers (FF02::1:2), and indicates in the message that it intends to perform a cross-site DHCPv6 process (configure its HoA address) and information about the home network.

2.DHCPv6中继代理收到此消息后,发现其是需要进行跨站点DHCPv6过程的DHCPv6消息。中继代理将其递交给服务站点内的DHCPv6功能实体(此时拜访网络的DHCPv6服务器与拜访网络的DHCPv6功能实体不在同一个链路上)。2. After receiving the message, the DHCPv6 relay agent finds that it is a DHCPv6 message that needs to perform a cross-site DHCPv6 process. The relay agent submits it to the DHCPv6 functional entity in the service site (at this time, the DHCPv6 server of the visited network and the DHCPv6 functional entity of the visited network are not on the same link).

3.服务站点内的DHCPv6功能实体将收到的DHCPv6消息进行解析,提取出所要进行跨站点DHCPv6过程的家乡网络的信息,并将此信息通过但不限于DHCPv6协议扩展的方式发送到家乡网络中对应的DHCPv6功能实体。3. The DHCPv6 functional entity in the service site parses the received DHCPv6 message, extracts the information of the home network where the cross-site DHCPv6 process is to be performed, and sends this information to the home network through but not limited to DHCPv6 protocol extensions Corresponding DHCPv6 functional entity.

4.家乡网络中的DHCPv6功能实体收到第3步中发送过来的消息后,将DHCPv6 Solicit消息剥离出来,并向All_DHCP_Relay_Agents_and_Servers(FF02::1:2)多播该消息。4. After the DHCPv6 functional entity in the home network receives the message sent in step 3, it strips the DHCPv6 Solicit message and multicasts the message to All_DHCP_Relay_Agents_and_Servers (FF02::1:2).

5.此消息在到达家乡网络的DHCPv6服务器之前,可能由家乡网络的DHCPv6中继代理进行中继(此时家乡网络的DHCPv6服务器与家乡网络的DHCPv6功能实体不在同一个链路上)。5. Before the message reaches the DHCPv6 server of the home network, it may be relayed by the DHCPv6 relay agent of the home network (at this time, the DHCPv6 server of the home network is not on the same link as the DHCPv6 functional entity of the home network).

6.DHCP Solicit消息到达家乡网络中DHCPv6服务器,可以为MS配置HoA服务的DHCPv6服务器响应此消息,将自己的信息(定位信息、性能信息等)包含在DHCPv6 Advertise消息中回复给MS。6. When the DHCP Solicit message reaches the DHCPv6 server in the home network, the DHCPv6 server that can configure the HoA service for the MS responds to this message, and replies to the MS by including its own information (location information, performance information, etc.) in the DHCPv6 Advertise message.

7.DHCPv6 Advertise消息在到达家乡网络的时候可以经过DHCPv6中继代理的中继。7. When the DHCPv6 Advertise message reaches the home network, it can be relayed by the DHCPv6 relay agent.

8.家乡网络内的DHCPv6功能实体将收到的DHCPv6 Solicit消息进行解析,将此信息通过但不限于DHCPv6协议扩展的方式发送到服务站点中对应的DHCPv6功能实体。8. The DHCPv6 functional entity in the home network parses the received DHCPv6 Solicit message, and sends this information to the corresponding DHCPv6 functional entity in the service site through but not limited to DHCPv6 protocol extension.

9.服务站点DHCPv6功能实体将收到的消息进行解析,提取出DHCPv6Advertise消息,发送给DHCPv6中继代理.9. The DHCPv6 functional entity of the service site parses the received message, extracts the DHCPv6Advertise message, and sends it to the DHCPv6 relay agent.

10.DHCPv6中继代理接收到消息后,将其中继给MS。10. After receiving the message, the DHCPv6 relay agent relays it to the MS.

11.若多于一个家乡网络的DHCPv6对MS进行回复,MS通过收到的DHCPv6 Solicit消息中包含的DHCPv6服务器的参数选择一个DHCPv6服务器。并向其发送DHCPv6 Request消息请求其下发HoA相关信息,MS需要在消息中表明其要进行跨站点的DHCPv6过程(配置其HoA地址),以及家乡网络的相关信息。11. If more than one DHCPv6 of the home network replies to the MS, the MS selects a DHCPv6 server through the parameters of the DHCPv6 server included in the received DHCPv6 Solicit message. And send a DHCPv6 Request message to it to request it to issue HoA-related information, and the MS needs to indicate in the message that it will perform a cross-site DHCPv6 process (configure its HoA address), and the relevant information of the home network.

12.DHCPv6中继代理收到此消息后,发现其是需要进行跨站点DHCPv6过程的DHCPv6消息。中继代理将其递交给服务站点内的DHCPv6功能实体(此时拜访网络的DHCPv6服务器与拜访网络的DHCPv6功能实体不在同一个链路上)。12. After receiving the message, the DHCPv6 relay agent finds that it is a DHCPv6 message that requires a cross-site DHCPv6 process. The relay agent submits it to the DHCPv6 functional entity in the service site (at this time, the DHCPv6 server of the visited network and the DHCPv6 functional entity of the visited network are not on the same link).

13.服务站点内的DHCPv6功能实体将收到的DHCPv6消息进行解析,提取出所要进行跨站点DHCPv6过程的家乡网络的信息,并将此信息通过但不限于DHCPv6协议扩展的方式发送到家乡网络中对应得DHCPv6功能实体。13. The DHCPv6 functional entity in the service site parses the received DHCPv6 message, extracts the information of the home network where the cross-site DHCPv6 process is to be performed, and sends this information to the home network through but not limited to DHCPv6 protocol extensions Corresponding to the DHCPv6 functional entity.

14.家乡网络中的DHCPv6功能实体收到第13步中发送过来的消息后,将DHCPv6 Request消息剥离出来,并向All_DHCP_Relela_Agents_and_Servers(FF02::1:2)多播这个消息。14. After the DHCPv6 functional entity in the home network receives the message sent in step 13, it strips the DHCPv6 Request message and multicasts the message to All_DHCP_Relela_Agents_and_Servers (FF02::1:2).

15.此消息在到达家乡网络的DHCPv6服务器之前,可以由家乡网络的DHCPv6中继代理进行中继(此时家乡网络的DHCPv6服务器与家乡网络的DHCPv6功能实体不在同一个链路上)。15. Before the message reaches the DHCPv6 server of the home network, it can be relayed by the DHCPv6 relay agent of the home network (at this time, the DHCPv6 server of the home network and the DHCPv6 functional entity of the home network are not on the same link).

16.DHCP Request消息到达家乡网络中DHCPv6服务器,该DHCPv6服务器为MS配置HoA,并将其包含在DHCPv6Reply消息中回复给MS。16. The DHCP Request message arrives at the DHCPv6 server in the home network, and the DHCPv6 server configures HoA for the MS, and includes it in the DHCPv6Reply message and replies to the MS.

17.DHCPv6Reply消息在到达家乡网络的时候可以经过DHCPv6中继代理的中继(此时家乡DHCPv6服务器与家乡网络DHCPv6功能实体不在同一个链路上)。17. The DHCPv6Reply message may be relayed by the DHCPv6 relay agent when it reaches the home network (at this time, the home DHCPv6 server and the home network DHCPv6 functional entity are not on the same link).

18.家乡网络内的DHCPv6功能实体将收到的DHCPv6 Reply消息进行解析,将此信息通过但不限于DHCPv6协议扩展的方式发送到服务站点中对应得DHCPv6功能实体。18. The DHCPv6 functional entity in the home network parses the received DHCPv6 Reply message, and sends this information to the corresponding DHCPv6 functional entity in the service site through but not limited to DHCPv6 protocol extension.

19.服务站点DHCPv6功能实体将收到的消息进行解析,提取出DHCPv6Reply消息,发送给DHCPv6中继代理。19. The service site DHCPv6 functional entity parses the received message, extracts the DHCPv6Reply message, and sends it to the DHCPv6 relay agent.

20.DHCPv6中继代理接收到消息后,将其中继给MS,MS收到DHCPv6Reply消息后,从消息中提取出相应的HoA相关信息,配置自己的HoA。20. After the DHCPv6 relay agent receives the message, it relays it to the MS. After the MS receives the DHCPv6Reply message, it extracts the corresponding HoA-related information from the message and configures its own HoA.

虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多变形和变化而不脱离本发明的精神,希望所附的权利要求包括这些变形和变化而不脱离本发明的精神。While the invention has been described by way of example, those skilled in the art will appreciate that there are many variations and changes to the invention without departing from the spirit of the invention, and it is intended that the appended claims cover such variations and changes without departing from the spirit of the invention.

Claims (10)

1. the system of a cross-site realization DynamicHost configuration, it is characterized in that, described system comprises: the access point that is positioned at the services sites of portable terminal, services sites DynamicHost configuration feature entity, be positioned at the targeted sites DynamicHost configuration feature entity of the targeted sites of portable terminal, dynamic host configuration server, services sites DynamicHost configuration feature entity and the targeted sites DynamicHost configuration feature entity in the targeted sites in the described services sites are transmitted DHCPv6 message mutual between portable terminal and the dynamic host configuration server in targeted sites by the DHCPv6 agreement of expansion, finish dynamic host configuration procedure.
2. the method for a cross-site realization DynamicHost configuration is characterized in that described method comprises:
A, services sites DynamicHost configuration feature entity and targeted sites DynamicHost configuration feature entity are set respectively in the services sites of portable terminal and in the targeted sites;
B, need cross-site carry out dynamic host configuration procedure the time when portable terminal, DHCPv6 message mutual between portable terminal and the dynamic host configuration server in targeted sites is transmitted by the DHCPv6 agreement of expansion by the DynamicHost configuration feature entity in described services sites DynamicHost configuration feature entity and the targeted sites, finished dynamic host configuration procedure.
3. method according to claim 2 is characterized in that, described portable terminal needs cross-site process of carrying out the DynamicHost configuration to comprise: address configuration process and/or address renewal process and/or address reconfiguration course.
4. method according to claim 3, it is characterized in that, when portable terminal need cross-sitely carry out the address configuration process, the step that the DynamicHost configuration feature entity in described services sites DynamicHost configuration feature entity and the targeted sites is transmitted interactive messages between portable terminal and the dynamic host configuration server in targeted sites comprised:
B1, portable terminal obtain services sites DynamicHost configuration feature entity locating information, and described locating information is specially the DHCP unique identification DUID or the IP address of services sites DynamicHost configuration feature entity;
B2, DHCPv6 message is sent to services sites DynamicHost configuration feature entity according to described locating information;
After B3, services sites DynamicHost configuration feature entity are received described DHCPv6 message, extract the information of the targeted sites that will carry out cross-site DynamicHost configuration in this message, and described DHCPv6 message is sent to targeted sites DynamicHost configuration feature entity according to this information;
B4, targeted sites DynamicHost configuration feature entity send to dynamic host configuration server with the DHCPv6 message multicast of receiving.
5. method according to claim 4 is characterized in that, describedly according to locating information the step that DHCPv6 message sends to services sites DynamicHost configuration feature entity is comprised:
Portable terminal sends DHCPv6 message to all DynamicHosts configuration relay agents and server multicast, and carries described DUID identification information in this message, show information, the objective network relevant information of carrying out cross-site dynamic host configuration procedure.
6. method according to claim 4 is characterized in that, describedly according to locating information the step that DHCPv6 message sends to services sites DynamicHost configuration feature entity is comprised:
Portable terminal sends DHCPv6 message to the clean culture of the IP address of services sites DynamicHost configuration feature entity, and carries in this message and show information, the objective network relevant information of carrying out cross-site dynamic host configuration procedure.
7. method according to claim 4 is characterized in that,
Services sites DynamicHost configuration feature entity sends to targeted sites DynamicHost configuration feature entity by the DHCPv6 agreement of expansion with described DHCPv6 message.
8. according to claim 2 or 4 described methods, it is characterized in that, when portable terminal need cross-sitely carry out the address configuration process, the step that the DynamicHost configuration feature entity in described services sites DynamicHost configuration feature entity and the targeted sites is transmitted interactive messages between portable terminal and the dynamic host configuration server in targeted sites further comprised:
After dynamic host configuration server was received the message of the portable terminal that targeted sites DynamicHost configuration feature entity transmits, the DHCPv6 message that needs are responded sent to targeted sites DynamicHost configuration feature entity;
Targeted sites DynamicHost configuration feature entity extraction goes out the information of the services sites that will carry out cross-site DynamicHost configuration in this message, and the DHCPv6 message of described needs being responded according to this information sends to services sites DynamicHost configuration feature entity;
Services sites DynamicHost configuration feature entity is resolved the message of receiving, extracts receiveing the response of dynamic host configuration server, sends to portable terminal.
9. method according to claim 8 is characterized in that,
Targeted sites DynamicHost configuration feature entity sends to services sites DynamicHost configuration feature entity by the DHCPv6 agreement of expansion with the described DHCPv6 message that needs to respond.
10. method according to claim 8 is characterized in that, described step B further comprises:
Relay agent sends the receiveing the response of dynamic host configuration server that services sites DynamicHost configuration feature entity sends to portable terminal by the DynamicHost configuration.
CN200610087630A 2006-06-08 2006-06-08 System and method for implementing dynamic host configuration across sites Expired - Fee Related CN101047997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610087630A CN101047997B (en) 2006-06-08 2006-06-08 System and method for implementing dynamic host configuration across sites

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610087630A CN101047997B (en) 2006-06-08 2006-06-08 System and method for implementing dynamic host configuration across sites

Publications (2)

Publication Number Publication Date
CN101047997A CN101047997A (en) 2007-10-03
CN101047997B true CN101047997B (en) 2010-05-12

Family

ID=38772116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610087630A Expired - Fee Related CN101047997B (en) 2006-06-08 2006-06-08 System and method for implementing dynamic host configuration across sites

Country Status (1)

Country Link
CN (1) CN101047997B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836206B2 (en) 2006-10-02 2010-11-16 Futurewei Technologies, Inc. Context transfer and common IP address for DHCP proxy solution in WiMAX
CN104040985B (en) * 2012-11-16 2016-12-28 华为技术有限公司 Address reconfiguration method, server and client

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015513A1 (en) * 2004-07-13 2006-01-19 Nokia Corporation System, network entities and computer programs for configuration management of a dynamic host configuration protocol framework

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015513A1 (en) * 2004-07-13 2006-01-19 Nokia Corporation System, network entities and computer programs for configuration management of a dynamic host configuration protocol framework

Also Published As

Publication number Publication date
CN101047997A (en) 2007-10-03

Similar Documents

Publication Publication Date Title
US8102811B2 (en) Providing mobility management protocol information to a mobile terminal for performing handover in a mobile communication system
US7649866B2 (en) Method of subnet roaming within a network
US6862274B1 (en) Method and system capable of providing mobility support for IPv4/IPv6 inter-networking
TWI412244B (en) A method of allocating an internet protocol address in a broadband wireless access system
US8488557B2 (en) Method for detecting a duplicate address, mobile station, network element and communication system
CN100574503C (en) A kind of terminal and terminal switching method and system
CN100596095C (en) Hierarchical Mobile IPv6 Fast Handover Method and System
CN101374089B (en) Neighbor discovery method and apparatus for mobile node in heterogeneous network environment
JPWO2006106712A1 (en) Communication control method, communication node, and mobile node
EP1849314A1 (en) Establishing network address of mobile terminal in mobile communication system
CN101138268B (en) Providing mobility management protocol information for performing handover to a mobile terminal in a mobile communication system
US20070088708A1 (en) Method for automatic configuration of prefixes at maps in HMIPV6
JP2004112011A (en) Mobility management method by distributed MobileIP
CN100563221C (en) A method and system for acquiring terminal address-related information
WO2007128239A1 (en) System for implementing mobile ipv6 and method for establishing user link in the system
CN101047997B (en) System and method for implementing dynamic host configuration across sites
CN101047996B (en) Method, system for acquiring target network transmission address information and its application
CN101120599B (en) Method for establishing network address of mobile terminal in mobile communication system
Ko et al. A vehicular mobility management scheme for a shared-prefix model over IEEE WAVE IPv6 networks
CN1972316A (en) Care-of address and its acquisition method and system for configuration information of care-of address
CN1972317A (en) Care-of address and its acquisition method and system for configuration information of care-of address
WO2017152690A1 (en) Method for active reconfiguration of network prefix in proxy mobile ipv6
CN103385011B (en) Method and device for mobility management in wireless communication system
CN1980254A (en) Method and system for obtaining hometown agent address, subscriber terminal and hometown agency
CN1972319A (en) An acquisition method for configuration mode of care-of address

Legal Events

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100512