CN101656945B - Method, apparatus and system for acquiring network information - Google Patents
Method, apparatus and system for acquiring network information Download PDFInfo
- Publication number
- CN101656945B CN101656945B CN 200810042022 CN200810042022A CN101656945B CN 101656945 B CN101656945 B CN 101656945B CN 200810042022 CN200810042022 CN 200810042022 CN 200810042022 A CN200810042022 A CN 200810042022A CN 101656945 B CN101656945 B CN 101656945B
- Authority
- CN
- China
- Prior art keywords
- mobile station
- network information
- home network
- access gateway
- pdsn
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000004044 response Effects 0.000 claims abstract description 26
- 230000005540 biological transmission Effects 0.000 abstract description 5
- 230000003993 interaction Effects 0.000 abstract description 4
- 230000007246 mechanism Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 101100457316 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) MIP6 gene Proteins 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种获取网络信息的方法、装置及系统。The present invention relates to the field of communication technology, in particular to a method, device and system for acquiring network information.
背景技术 Background technique
为了使移动台(MS)更好地在漫游时支持实时业务,国际标准化组织(3GGP2,3nd Generation Partnership Project2)在原有为移动台分配归属网络(Home Network)的家乡网络信息(Home Network Information)的基础上,增加了为移动台分配拜访(Visited Network)网络的家乡网络信息。In order to enable the mobile station (MS) to better support real-time services while roaming, the International Organization for Standardization (3GGP2, 3nd Generation Partnership Project2) has allocated the home network information (Home Network Information) of the home network (Home Network) to the mobile station in the original Based on this, the home network information of the visited (Visited Network) network is assigned to the mobile station.
这样,移动台通过IPv6的动态主机配置协议(DHCPv6,Dynamic HostConfiguration Protocol for IPv6)携带指示,所述指示用以通知接入节点分组数据服务节点(PDSN,Packet Data Serving Node)希望为移动台分配归属网络的家乡网络信息,还是为移动台分配拜访网络的家乡网络信息。例如,当DHCP的Home家乡网络信息选项(Network Information Option)中ID类型为0时,表示希望为移动台分配拜访网络的家乡网络信息,标识符(ID)类型为1时,表示希望为移动台分配归属网络的家乡网络信息,ID类型为2时,表示对为移动台分配归属网络的家乡网络信息还是拜访网络的家乡网络信息没有偏好,即分配归属网络的家乡网络信息或者拜访网络的家乡网络信息均可。In this way, the mobile station carries an indication through the IPv6 Dynamic Host Configuration Protocol (DHCPv6, Dynamic Host Configuration Protocol for IPv6), and the indication is used to notify the access node that the Packet Data Serving Node (PDSN, Packet Data Serving Node) wishes to assign a home for the mobile station. The home network information of the network is also the home network information of the visited network assigned to the mobile station. For example, when the ID type in the Home network information option (Network Information Option) of DHCP is 0, it means that the home network information of the visited network is expected to be assigned to the mobile station; when the identifier (ID) type is 1, it means that the mobile station is expected to Assign the home network information of the home network. When the ID type is 2, it means that there is no preference for assigning the home network information of the home network or the home network information of the visited network to the mobile station, that is, assigning the home network information of the home network or the home network of the visited network Information is available.
发明人在研究过程中,发现现有技术至少存在如下缺点:移动台向PDSN盲目发送家乡网络信息请求消息。如果移动台请求PDSN分配拜访网络的家乡网络信息,但是PDSN不支持为移动台分配拜访网络的家乡网络信息,移动台只好继续请求PDSN分配归属网络的家乡网络信息。可见,移动台与PDSN之间的消息交互较多,导致效率降低。During the research process, the inventor found at least the following disadvantages in the prior art: the mobile station blindly sends the home network information request message to the PDSN. If the mobile station requests the PDSN to allocate the home network information of the visited network, but the PDSN does not support the allocation of the home network information of the visited network to the mobile station, the mobile station has to continue to request the PDSN to allocate the home network information of the home network. It can be seen that there are many message exchanges between the mobile station and the PDSN, resulting in reduced efficiency.
而且,如果移动台当前所处网络连接的PDSN不支持为移动台分配拜访网络的家乡网络信息,则移动台只能获得归属网络的家乡网络信息。若移动台进行移动,如果移动后网络所连接的PDSN支持为移动台分配拜访网络的家乡网络信息,但是由于移动台无法得知移动到的网络所连接的PDSN是否支持为移动台分配拜访网络的家乡网络信息,所以,移动台会继续使用之前为其分配的归属网络的家乡网络信息。这导致移动台的数据都必须通过归属网络,从而引起较大的传输时延,用户体验效果较差。移动台与其它接入节点(例如:HRPD服务网关(HSGW,HRPD Serving Gateway))进行通信也存在上述缺点。Moreover, if the PDSN to which the mobile station is currently connected to the network does not support assigning the home network information of the visited network to the mobile station, the mobile station can only obtain the home network information of the home network. If the mobile station moves, if the PDSN connected to the network supports assigning the home network information of the visited network to the mobile station after moving, but because the mobile station cannot know whether the PDSN connected to the network to which it moves supports assigning the visited network information to the mobile station Therefore, the mobile station will continue to use the home network information of the previously assigned home network. As a result, all data of the mobile station must pass through the home network, thereby causing a large transmission delay and poor user experience. The above disadvantages also exist when the mobile station communicates with other access nodes (for example: HRPD Serving Gateway (HSGW, HRPD Serving Gateway)).
发明内容 Contents of the invention
有鉴于此,本发明实施例提供了一种获取网络信息的方法、装置及系统,以解决现有技术移动台向接入节点盲目发送家乡网络信息请求消息的问题。In view of this, the embodiments of the present invention provide a method, device and system for acquiring network information to solve the problem in the prior art that a mobile station blindly sends a home network information request message to an access node.
一种获取网络信息的方法,移动台获知接入网关是否支持为所述移动台分配拜访网络的家乡网络信息,所述方法包括:A method for acquiring network information, wherein a mobile station learns whether an access gateway supports assigning home network information of a visited network to the mobile station, the method comprising:
当所述移动台需要家乡网络信息时,所述移动台根据获知到的所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息,向所述接入网关发送家乡网络信息请求消息;When the mobile station needs home network information, the mobile station sends a home network information request to the access gateway according to whether the access gateway supports assigning home network information of a visited network to the mobile station. information;
所述移动台接收所述接入网关返回的响应,所述响应包含所述接入网关为所述移动台分配的家乡网络信息。The mobile station receives a response returned by the access gateway, where the response includes home network information allocated by the access gateway to the mobile station.
一种获取网络信息的移动台,所述移动台包括:A mobile station for acquiring network information, the mobile station comprising:
获知单元,用于获知接入网关是否支持为所述移动台分配拜访网络的家乡网络信息;A learning unit, configured to learn whether the access gateway supports assigning the home network information of the visited network to the mobile station;
第一发送单元,当所述移动台需要家乡网络信息时,根据获知到的所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息,向所述接入网关发送家乡网络信息请求消息;The first sending unit, when the mobile station needs home network information, sends the home network information to the access gateway according to whether the learned access gateway supports allocating home network information of a visited network for the mobile station request message;
第一接收单元,用于接收所述接入网关返回的响应,所述响应包含所述接入网关为所述移动台分配的家乡网络信息。The first receiving unit is configured to receive a response returned by the access gateway, where the response includes home network information allocated by the access gateway to the mobile station.
一种分配网络信息的接入网关,所述接入网关包括:An access gateway for distributing network information, the access gateway comprising:
通知单元,用于向移动台发送通知消息,所述通知消息中包含所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息的指示;a notification unit, configured to send a notification message to the mobile station, where the notification message includes an indication of whether the access gateway supports assigning the home network information of the visited network to the mobile station;
第三接收单元,用于接收所述移动台发送的家乡网络信息请求消息;a third receiving unit, configured to receive a home network information request message sent by the mobile station;
返回单元,用于向所述移动台返回响应,所述响应包含为所述移动台分配的家乡网络信息。A returning unit, configured to return a response to the mobile station, the response including home network information allocated to the mobile station.
一种获取网络信息的系统,所述系统包括:A system for obtaining network information, the system comprising:
接入网关,用于通知移动台所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息;The access gateway is used to notify the mobile station whether the access gateway supports assigning home network information of the visited network to the mobile station;
移动台,用于根据所述接入网关的通知,当所述移动台需要家乡网络信息时,向所述接入网关发送家乡网络信息请求消息;接收所述接入网关返回的响应,所述响应包含所述接入网关为所述移动台分配的家乡网络信息。The mobile station is configured to send a home network information request message to the access gateway when the mobile station needs home network information according to the notification from the access gateway; receive a response returned by the access gateway, and the The response includes home network information assigned by the access gateway to the mobile station.
可以看出,由于移动台可以获知接入网关是否支持为移动台分配拜访网络的家乡网络信息,所以,若接入网关支持为移动台分配拜访网络的家乡网络信息,移动台可以向接入网关请求拜访网络的家乡网络信息,若接入网关不支持为移动台分配拜访网络的家乡网络信息,则移动台不向接入网关请求拜访网络的家乡网络信息,这时可以向接入网关请求归属网络的家乡网络信息,从而,移动台根据接入网关是否具有分配拜访网络的家乡网络信息的能力,不再盲目向接入网关发送家乡网络信息请求消息,而是有针对性地发起家乡网络信息请求消息,减少了移动台与接入网关之间不必要的信息交互,提高了效率,并且,当移动台发生移动时,避免了较大的传输时延,增强了用户体验效果。It can be seen that since the mobile station can know whether the access gateway supports assigning the home network information of the visited network to the mobile station, if the access gateway supports assigning the home network information of the visited network to the mobile station, the mobile station can send the access gateway Request the home network information of the visited network. If the access gateway does not support assigning the home network information of the visited network to the mobile station, the mobile station will not request the home network information of the visited network from the access gateway. At this time, it can request the home network information from the access gateway. Therefore, according to whether the access gateway has the ability to allocate the home network information of the visited network, the mobile station no longer blindly sends the home network information request message to the access gateway, but initiates the home network information in a targeted manner. The request message reduces unnecessary information interaction between the mobile station and the access gateway, improves efficiency, and avoids a large transmission delay when the mobile station moves, thereby enhancing user experience.
附图说明 Description of drawings
图1为本发明实施例方法流程图;Fig. 1 is the flow chart of the method of the embodiment of the present invention;
图2为本发明实施例通知机制流程图;Fig. 2 is a flow chart of the notification mechanism of the embodiment of the present invention;
图3为本发明实施例在通知机制的基础上,移动台向PDSN请求家乡网络信息的流程图;FIG. 3 is a flowchart of a mobile station requesting home network information from a PDSN on the basis of a notification mechanism according to an embodiment of the present invention;
图4为本发明实施例装置结构图。Fig. 4 is a structural diagram of a device according to an embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的上述特征、优点更加明显易懂,下面结合具体实施方式对本发明进行详细说明。In order to make the above features and advantages of the present invention more comprehensible, the present invention will be described in detail below in conjunction with specific embodiments.
请参考图1,示出了本发明的方法流程图,包括:Please refer to FIG. 1, which shows a flow chart of the method of the present invention, including:
步骤101:当移动台需要家乡网络信息时,移动台根据获知到的接入网关是否支持为移动台分配拜访网络的家乡网络信息,向接入网关发送家乡网络信息请求消息;Step 101: When the mobile station needs home network information, the mobile station sends a home network information request message to the access gateway according to whether the learned access gateway supports assigning home network information of the visited network to the mobile station;
步骤102:移动台接收接入网关返回的响应,其中,响应包含接入网关为移动台分配的家乡网络信息。Step 102: The mobile station receives a response returned by the access gateway, wherein the response includes home network information allocated by the access gateway to the mobile station.
由于接入网关可以通知移动台是否支持为移动台分配拜访网络的家乡网络信息,所以,移动台可以根据接入网关的通知,向接入网关请求拜访网络的家乡网络信息或者归属网络的家乡网络信息。Since the access gateway can notify the mobile station whether it supports the assignment of the home network information of the visited network to the mobile station, the mobile station can request the home network information of the visited network or the home network of the home network from the access gateway according to the notification of the access gateway information.
下面结合实施例对图1所示步骤进行详细说明。The steps shown in FIG. 1 will be described in detail below with reference to the embodiments.
需要指出的是,接入网关可以是高速分组数据(HRPD,High Rate PacketData)网络的PDSN,也可以是HRPD服务网关。在本发明实施例中,仅以PDSN为例进行说明。It should be pointed out that the access gateway may be a PDSN of a high rate packet data (HRPD, High Rate Packet Data) network, or may be an HRPD service gateway. In the embodiment of the present invention, only the PDSN is taken as an example for illustration.
首先,对PDSN通知移动台自己是否支持为移动台分配拜访网络的家乡网络信息进行说明。为了下文描述方便,称为通知机制。为了使PDSN可以通知移动台,在本发明实施例中,有两种实现方法,第一种是通过点对点协议(PPP,Point to Point Protocol)厂商扩展的移动台和PDSN间的版本能力指示包(Version Capability Indication)的能力列表实现,第二种是通过PPP协议厂商特定包(Vender specific Packet)的类型实现。下面分别进行说明。First, the PDSN notifies the mobile station of whether it supports assigning the home network information of the visited network to the mobile station. For the convenience of description below, it is called the notification mechanism. In order to enable the PDSN to notify the mobile station, in the embodiment of the present invention, there are two implementation methods, the first is the version capability indication package ( Version Capability Indication) capability list, and the second is through the type of PPP protocol vendor specific packet (Vender specific Packet). Each will be described below.
请参考表1所示,为PPP协议的厂商扩展的版本能力指示包:Please refer to Table 1, which is the version capability indication package extended by the manufacturer of the PPP protocol:
表1Table 1
表1中,Code置0,表示厂商扩展;Identifier用于匹配发送和接收的数据包;Length为16;Magic Number用于检测链路;对于OUI,用0xCF0002表示3GGP2;对于Kind,2表示版本指示能力,3表示版本回复能力;对于Version,0表示支持3GGP2X.S0011-D中规定的必须具有的能力,其它值保留;List of Capability表示具有的能力,即支持的业务。In Table 1, Code is set to 0, indicating vendor extension; Identifier is used to match sent and received data packets; Length is 16; Magic Number is used to detect links; for OUI, 0xCF0002 is used to indicate 3GGP2; for Kind, 2 indicates version indication Capability, 3 indicates the version recovery capability; for Version, 0 indicates that it supports the required capabilities specified in 3GGP2X.S0011-D, and other values are reserved; List of Capability indicates the capabilities it has, that is, the supported services.
PDSN的List of Capability有24位,每一位代表PDSN支持的业务,请参考表2所示:The List of Capability of PDSN has 24 bits, and each bit represents the service supported by PDSN, please refer to Table 2:
表2Table 2
发送端必须将表2中的C6-C23(即保留位)置0,接收端忽略C6-C23,不予处理。The sending end must set C6-C23 (reserved bits) in Table 2 to 0, and the receiving end ignores C6-C23 and does not process it.
为了使PDSN支持为移动台分配拜访网络的家乡网络信息,可以利用表2中C6-C23的某一位保留位进行标识,例如,可以利用C7表示PDSN支持为移动台分配拜访网络的家乡网络信息,则PDSN的List of Capability请参考表3所示:In order for the PDSN to support assigning the home network information of the visited network to the mobile station, one of the reserved bits of C6-C23 in Table 2 can be used for identification. For example, C7 can be used to indicate that the PDSN supports the assignment of the home network information of the visited network to the mobile station. , then please refer to Table 3 for the List of Capability of PDSN:
表3table 3
请参考图2,表示利用表2,PDSN通知移动台可以包括以下步骤:Please refer to Figure 2, which shows that using Table 2, the PDSN notifying the mobile station may include the following steps:
步骤201:PDSN向移动台发送表示自己是否支持为移动台分配拜访网络的家乡网络信息的消息;Step 201: the PDSN sends a message to the mobile station indicating whether it supports assigning the home network information of the visited network to the mobile station;
如果支持为移动台分配家乡网络信息,消息中的C7位为1,如果不支持为移动台分配家乡网络信息,消息中C7位不进行设置。If it supports the distribution of home network information for the mobile station, the C7 bit in the message is 1; if it does not support the distribution of home network information for the mobile station, the C7 bit in the message is not set.
步骤202:移动台向PDSN返回应答,表示自己收到PDSN的通知消息;Step 202: The mobile station returns a response to the PDSN, indicating that it has received the notification message from the PDSN;
步骤203:移动台检查接收到的通知消息中的C7位。Step 203: The mobile station checks the C7 bit in the received notification message.
如果为1,则表示PDSN支持为移动台分配拜访网络的家乡网络信息,如果C7位为没有进行设置,则表示PDSN不支持为移动台分配拜访网络的家乡网络信息。If it is 1, it means that the PDSN supports assigning the home network information of the visited network to the mobile station. If the C7 bit is not set, it means that the PDSN does not support assigning the home network information of the visited network to the mobile station.
若移动台检查到PDSN支持为移动台分配拜访网络的家乡网络信息,则移动台可以向PDSN请求为其分配拜访网络的家乡网络信息,若移动台检查到PDSN不支持为移动台分配拜访网络的家乡网络信息,则移动台可以向PDSN请求为其分配归属网络的家乡网络信息。If the mobile station checks that the PDSN supports assigning the home network information of the visited network to the mobile station, the mobile station can request the PDSN to assign the home network information of the visited network to it; if the mobile station checks that the PDSN does not support assigning the visited network information to the mobile station home network information, the mobile station can request the PDSN to assign the home network information of the home network to it.
以上对PDSN利用List of Capability的C7位通知移动台进行了详细说明,下面对移动台利用PPP协议厂商特定包的Kind通知移动台进行说明。The above describes in detail how the PDSN notifies the mobile station using the C7 bit of the List of Capability. The following describes how the mobile station notifies the mobile station using the Kind of the PPP protocol vendor-specific package.
在表1中,对于原有Kind,2表示版本指示能力,3表示版本回复能力。在本发明实施例中,可以进行如下修改:对于Kind,4表示支持分配拜访网络的家乡网络信息的指示,5表示支持分配拜访网络的家乡网络信息的回复。In Table 1, for the original Kind, 2 represents the version indication capability, and 3 represents the version recovery capability. In the embodiment of the present invention, the following modifications can be made: for Kind, 4 indicates an indication that supports allocation of home network information of a visited network, and 5 indicates a reply that supports allocation of home network information of a visited network.
这样,PDSN如果支持为移动台分配拜访网络的家乡网络信息,将向移动台发送Kind为4的厂商特定包用以指示支持分配拜访网络的家乡网络信息,移动台接收到PDSN发送的通知消息后,向PDSN发送Kind为5的厂商特定包表示收到通知。移动台可以向PDSN请求拜访网络的家乡网络信息。如果移动台没有收到Kind为4的厂商特定包,说明PDSN不支持在拜访地分配家乡网络信息,则移动台可以向PDSN请求归属网络的家乡网络信息,而不能向PDSN请求拜访网络的家乡网络信息。In this way, if the PDSN supports assigning the home network information of the visited network to the mobile station, it will send a vendor-specific packet with a Kind of 4 to the mobile station to indicate that it supports the assignment of the home network information of the visited network. After the mobile station receives the notification message sent by the PDSN , sending a vendor-specific packet with a Kind of 5 to the PDSN to indicate receipt of the notification. The mobile station may request the home network information of the visited network from the PDSN. If the mobile station does not receive the vendor-specific packet with Kind 4, it means that the PDSN does not support the distribution of home network information in the visited location. The mobile station can request the home network information of the home network from the PDSN, but cannot request the home network information of the visited network from the PDSN. information.
下面,在通知机制的基础上,对移动台向PDSN请求家乡网络信息进行详细说明。Next, on the basis of the notification mechanism, the request of the mobile station to the PDSN for home network information will be described in detail.
首先需要指出的是,移动台的归属网络对PDSN的授权会对PDSN是否支持为移动台分配拜访网络的家乡网络信息造成影响,具体为:若移动台的归属网络未对PDSN授权,则无论PDSN自身是否支持为移动台分配拜访网络的家乡网络信息,PDSN均无法为移动台分配拜访网络的家乡网络信息。若移动台的归属网络授权PDSN可以为移动台分配拜访网络的家乡网络信息,则当PDSN自身支持为移动台分配拜访网络的家乡网络信息时,PDSN才可以为移动台分配拜访网络的家乡网络信息。First of all, it should be pointed out that the authorization of the home network of the mobile station to the PDSN will affect whether the PDSN supports the assignment of the home network information of the visited network to the mobile station. Specifically: if the home network of the mobile station does not authorize the PDSN, the PDSN Whether or not it supports assigning the home network information of the visited network to the mobile station, the PDSN cannot assign the home network information of the visited network to the mobile station. If the home network of the mobile station authorizes the PDSN to assign the home network information of the visited network to the mobile station, the PDSN can only assign the home network information of the visited network to the mobile station when the PDSN itself supports the assignment of the home network information of the visited network to the mobile station. .
对于PDSN支持为移动台分配拜访网络的家乡网络信息、但是移动台的归属网络没有授权PDSN为移动台分配拜访网络的家乡网络信息的情况,PDSN在通知移动台时,无需对版本能力指示的List of Capability的C7位或者厂商扩展的Kind进行设置,这样,移动台检查接收到的通知消息后,就不会向PDSN请求拜访网络的家乡网络信息,而是请求归属网络的家乡网络信息。请参见图3,具体可以包括以下步骤:If the PDSN supports the distribution of the home network information of the visited network to the mobile station, but the home network of the mobile station does not authorize the PDSN to distribute the home network information of the visited network to the mobile station, when the PDSN notifies the mobile station, it does not need to specify the version capability of the List Set the C7 bit of Capability or the Kind extended by the manufacturer, so that after the mobile station checks the received notification message, it will not request the home network information of the visited network from the PDSN, but the home network information of the home network. Please refer to Figure 3, specifically the following steps may be included:
步骤301:移动台和PDSN进行消息交互开始接入认证过程;Step 301: The mobile station and the PDSN exchange messages to start the access authentication process;
步骤302:PDSN向家乡网络的家乡远程用户拨号认证服务(RADIUS,Remote Authentication Dial-in User Service)服务器发送RADIUS接入请求RADIUS Access-Request消息;Step 302: the PDSN sends a RADIUS access request RADIUS Access-Request message to the hometown remote user dial-in authentication service (RADIUS, Remote Authentication Dial-in User Service) server of the home network;
PDSN支持为移动台分配拜访网络的家乡网络信息,在RADIUSAccess-Request消息中包含移动IPv6-家乡代理-本地-分配-能力(MIP6-HA-Local-Assignment-Capability)厂商特定属性(VSA,Vendor SpecificAttribute)指示PDSN支持为移动台分配拜访网络的家乡网络信息。PDSN supports assigning the home network information of the visited network to the mobile station, and includes the mobile IPv6-home agent-local-assignment-capability (MIP6-HA-Local-Assignment-Capability) vendor-specific attribute (VSA, Vendor SpecificAttribute) in the RADIUSAccess-Request message ) indicates that the PDSN supports assigning home network information of the visited network to the mobile station.
需要指出的是,PDSN向家乡RADIUS服务器发送的RADIUS接入请求可能通过拜访网络的拜访RADIUS服务器进行中转。It should be pointed out that the RADIUS access request sent by the PDSN to the home RADIUS server may be relayed through the visited RADIUS server of the visited network.
步骤303:家乡RADIUS服务器对移动台认证成功,并为移动台分配一个归属网络的家乡网络信息,但是不授权PDSN为移动台分配拜访网络的家乡网络信息。Step 303: The home RADIUS server authenticates the mobile station successfully, and assigns the home network information of the home network to the mobile station, but does not authorize the PDSN to assign the home network information of the visited network to the mobile station.
步骤304:家乡RADIUS服务器向PDSN返回RADIUS接入接受RADIUSAccess-Accept消息;Step 304: the home RADIUS server returns a RADIUS access acceptance RADIUSAccess-Accept message to the PDSN;
在RADIUS接入接受消息的移动IPv6家乡代理(MIP6 Home Agent)VSA中包含分配的归属网络的家乡网络信息,在RADIUS接入接受消息中不包含家乡代理授权(HA-Authorized)VSA,表示不授权PDSN为移动台分配拜访网络的家乡网络信息。The mobile IPv6 home agent (MIP6 Home Agent) VSA in the RADIUS access acceptance message contains the home network information of the assigned home network, and the HA-Authorized VSA is not included in the RADIUS access acceptance message, indicating that it is not authorized The PDSN assigns the home network information of the visited network to the mobile station.
步骤305:PDSN存储家乡RADIUS服务器分配的归属网络的家乡网络信息。Step 305: the PDSN stores the home network information of the home network assigned by the home RADIUS server.
当移动台向PDSN请求归属网络的家乡网络信息时,PDSN将家乡RADIUS服务器分配的归属网络的家乡网络信息发送给移动台。When the mobile station requests the home network information of the home network from the PDSN, the PDSN sends the home network information of the home network allocated by the home RADIUS server to the mobile station.
至此,认证过程完成。PDSN与移动台可以在此时执行通知机制,但是,通知机制的执行时机不局限于此。需要指出的是,由于移动台进行移动,导致移动台与另一个PDSN(例如PDSN1)进行通信,通过移动台与PDSN1间的信令交互,PDSN1会重新与移动台执行通知机制。So far, the authentication process is completed. The PDSN and the mobile station can execute the notification mechanism at this time, but the execution timing of the notification mechanism is not limited to this. It should be pointed out that because the mobile station moves, the mobile station communicates with another PDSN (such as PDSN1), and through the signaling interaction between the mobile station and PDSN1, PDSN1 will re-execute the notification mechanism with the mobile station.
步骤306:PDSN向移动台发送表示自己是否支持为移动台分配拜访网络的家乡网络信息的消息;Step 306: PDSN sends to the mobile station a message indicating whether it supports assigning home network information of the visited network to the mobile station;
由于在本发明实施例中,家乡RADIUS服务器不授权PDSN分配拜访网络的家乡网络信息,所以PDSN的通知消息不对版本能力指示的List of Capability的C7位或者厂商扩展的Kind进行设置。Since in the embodiment of the present invention, the home RADIUS server does not authorize the PDSN to distribute the home network information of the visited network, the notification message of the PDSN does not set the C7 bit of the List of Capability indicated by the version capability or the Kind extended by the manufacturer.
需要指出的是,如果PDSN自身不支持为移动台分配拜访网络的家乡网络信息,则无论家乡RADIUS服务器是否授权,PDSN均不会对版本能力指示的List of Capability的C7位或者厂商特定包的Kind进行设置。如果PDSN自身支持为移动台分配拜访网络的家乡网络信息,并且家乡RADIUS服务器对PDSN进行了授权,则PDSN需要对版本能力指示的List of Capability的C7位或者厂商特定包的Kind进行设置,用以通知移动台可以为移动台分配拜访网络的家乡网络信息。It should be pointed out that if the PDSN itself does not support the assignment of the home network information of the visited network to the mobile station, no matter whether the home RADIUS server authorizes or not, the PDSN will not change the C7 bit of the List of Capability indicated by the version capability or the Kind of the vendor-specific package. to set. If the PDSN itself supports the assignment of the home network information of the visited network to the mobile station, and the home RADIUS server authorizes the PDSN, then the PDSN needs to set the C7 bit of the List of Capability indicated by the version capability or the Kind of the vendor-specific package for Notifying the mobile station that the mobile station may be assigned home network information of the visited network.
步骤307:移动台向PDSN返回应答,表示自己收到PDSN的通知消息;Step 307: The mobile station returns a response to the PDSN, indicating that it has received the notification message from the PDSN;
步骤308:移动台对版本能力指示的List of Capability的C7位或者厂商特定包的Kind进行检查,得知PDSN不支持为移动台分配拜访网络的家乡网络信息。Step 308: The mobile station checks the C7 bit of the List of Capability indicated by the version capability or the Kind of the vendor-specific package, and learns that the PDSN does not support assigning the home network information of the visited network to the mobile station.
移动台可以保存检查结果,在后续请求家乡网络信息时可以根据PDSN的能力来请求拜访地或者归属地的家乡网络信息。而且,由于PDSN可以多次执行支持拜访网络分配家乡网络信息的通知机制,例如:在接入认证过程之前。所以移动台需要对保存结果进行刷新,以最新收到的通知中的拜访网络分配家乡网络信息指示为依据来确定是否发送请求拜访地分配家乡网络信息的消息。The mobile station can save the check result, and can request the home network information of the visited location or the home location according to the capability of the PDSN when subsequently requesting the home network information. Moreover, since the PDSN can execute the notification mechanism that supports the visited network to distribute the home network information multiple times, for example: before the access authentication process. Therefore, the mobile station needs to refresh the saved result, and determine whether to send a message requesting the home network information for the visited location based on the indication of the home network information assigned by the visited network in the latest received notification.
至此,通知机制完成,移动台得知PDSN无法为其分配拜访网络的家乡网络信息。So far, the notification mechanism is completed, and the mobile station learns that the PDSN cannot assign the home network information of the visited network to it.
下面进入移动台请求家乡网络信息过程。The following enters the process of the mobile station requesting home network information.
步骤309:当移动台需要家乡网络信息时,移动台向PDSN发送DHCPv6信息请求(DHCPv6Information-request)消息;Step 309: When the mobile station needs home network information, the mobile station sends a DHCPv6 information request (DHCPv6Information-request) message to the PDSN;
消息中包含家乡网络标识符(Home Network Identifier Option)选项,且ID类型为1,用以请求归属网络的家乡网络信息。并且,消息中包含网络接入标识(NAI,Network Access Identifier),网络接入标识用以标识移动台。The message contains the Home Network Identifier Option option, and the ID type is 1, which is used to request the home network information of the home network. Moreover, the message includes a Network Access Identifier (NAI, Network Access Identifier), which is used to identify the mobile station.
移动台需要家乡网络信息时,可以向PDSN请求拜访网络的家乡网络信息或者归属网络的家乡网络信息,由于在本发明实施例中,移动台已经得知PDSN不支持为移动台分配拜访网络的家乡网络信息,所以,移动台向PDSN请求归属网络的家乡网络信息。When the mobile station needs home network information, it can request the home network information of the visited network or the home network information of the home network from the PDSN, because in the embodiment of the present invention, the mobile station has learned that the PDSN does not support assigning the home network information of the visited network to the mobile station. Network information, so the mobile station requests the home network information of the home network from the PDSN.
步骤310:PDSN向移动台返回DHCPv6回复(DHCPv6Reply)消息。Step 310: the PDSN returns a DHCPv6 reply (DHCPv6Reply) message to the mobile station.
在DHCPv6Reply消息的Home Network Information Option选项中包含PDSN保存的归属网络的家乡网络信息。The Home Network Information Option option of the DHCPv6Reply message contains the home network information of the home network saved by the PDSN.
至此,移动台根据通知机制中获知的信息,若PDSN支持为移动台分配拜访网络的家乡网络信息,移动台可以向PDSN请求拜访网络的家乡网络信息,若PDSN不支持为移动台分配拜访网络的家乡网络信息,移动台向PDSN请求归属网络的家乡网络信息,从而,减少了移动台与PDSN之间的信息交互,提高了效率,并且,如果移动台进行了移动,移动台通过通知机制可以得知当前的PDSN是否支持为移动台分配拜访网络的家乡网络信息。从而,减少了传输时延。So far, the mobile station can request the home network information of the visited network from the PDSN if the PDSN supports assigning the home network information of the visited network to the mobile station according to the information obtained in the notification mechanism. Home network information, the mobile station requests the home network information of the home network from the PDSN, thereby reducing the information interaction between the mobile station and the PDSN and improving efficiency, and if the mobile station moves, the mobile station can obtain it through the notification mechanism Know whether the current PDSN supports assigning the home network information of the visited network to the mobile station. Thus, the transmission delay is reduced.
请参考图4,示出了本发明装置结构图,对于移动台,包括:Please refer to FIG. 4, which shows a structural diagram of the device of the present invention. For the mobile station, it includes:
获知单元401,用于获知接入网关是否支持为移动台分配拜访网络的家乡网络信息;A
第一发送单元402,当移动台需要家乡网络信息时,根据获知到的接入网关是否支持为移动台分配拜访网络的家乡网络信息,向接入网关发送家乡网络信息请求消息;The
第一接收单元403,用于接收接入网关返回的响应,其中,响应包含接入网关为移动台分配的家乡网络信息。The
对于接入网关,包括:For access gateways, include:
通知单元404,用于向移动台发送通知消息,所述通知消息中包含所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息的指示;A
第三接收单元405,用于接收所述移动台发送的家乡网络信息请求消息;The
返回单元406,用于向所述移动台返回响应,所述响应包含为所述移动台分配的家乡网络信息。The returning
作为装置实施例,图4中的获知单元401可以包括:As a device embodiment, the obtaining
第二接收单元,用于接收所述接入网关的通知消息,所述通知消息中包含所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息的指示。The second receiving unit is configured to receive a notification message from the access gateway, where the notification message includes an indication of whether the access gateway supports allocating home network information of a visited network to the mobile station.
下面结合方法实施例对本发明装置实施例的各单元执行的步骤进行详细说明。The steps performed by each unit of the device embodiment of the present invention will be described in detail below in conjunction with the method embodiment.
对于PDSN与移动台执行的通知机制,具体为:通知单元向移动台发送通知消息,通知消息中包含所述接入网关是否支持为所述移动台分配拜访网络的家乡网络信息的指示,其中,指示是通过扩展点对点协议的厂商扩展实现的,具体请参见方法实施例的描述。结合方法实施例的步骤306,通知单元通知移动台不支持为移动台分配拜访网络的家乡网络信息。For the notification mechanism performed by the PDSN and the mobile station, specifically: the notification unit sends a notification message to the mobile station, and the notification message includes an indication of whether the access gateway supports assigning home network information of the visited network to the mobile station, wherein, The indication is implemented by extending the vendor extension of the point-to-point protocol. For details, please refer to the description of the method embodiment. In conjunction with step 306 of the method embodiment, the notification unit notifies the mobile station that it does not support assigning home network information of the visited network to the mobile station.
移动台的第二接收单元接收PDSN的通知单元发送的通知消息,结合方法实施例步骤308,获知单元得知PDSN不支持为移动台分配拜访网络的家乡网络信息。The second receiving unit of the mobile station receives the notification message sent by the notifying unit of the PDSN, and in combination with step 308 of the method embodiment, the obtaining unit learns that the PDSN does not support assigning home network information of the visited network to the mobile station.
结合方法实施例步骤309与步骤310,移动台的第一发送单元402根据获知单元获知的结果,向PDSN发送DHCPv6Information-request消息,用以请求归属网络的家乡网络信息。PDSN的第三接收单元接收DHCPv6Information-request消息,PDSN的返回单元406根据第三接收单元接收到的消息,向移动台返回DHCPv6Reply消息,移动台的第一接收单元接收PDSN返回的DHCPv6Reply消息,获取到归属网络的家乡网络信息。Combining steps 309 and 310 of the method embodiment, the first sending
可以看出,由于PDSN的通知单元404与移动台的获知单元401建立了通知机制,使移动台得知PDSN是否具有分配拜访网络的家乡网络信息的能力,进而可以不用盲目向PDSN请求家乡网络信息,减少了移动台与PDSN之间的信息交互,提高了效率,并且,如果移动台进行了移动,移动台的获知单元通过通知机制可以得知当前的PDSN是否支持为移动台分配拜访网络的家乡网络信息。从而,减少了传输时延。It can be seen that since the
本发明还提供了一种获取网络信息的系统,包括:The present invention also provides a system for obtaining network information, including:
接入网关,用于通知移动台接入网关是否支持为移动台分配拜访网络的The access gateway is used to notify the mobile station whether the access gateway supports allocating the visited network for the mobile station
家乡网络信息;home network information;
移动台,用于根据接入网关的通知,当移动台需要家乡网络信息时,向所述接入网关发送家乡网络信息请求消息;接收接入网关返回的响应,其中,响应包含接入网关为移动台分配的家乡网络信息。The mobile station is configured to send a home network information request message to the access gateway when the mobile station needs home network information according to the notification of the access gateway; receive a response returned by the access gateway, wherein the response includes the access gateway as Home network information assigned by the mobile station.
结合本发明方法实施例,接入网关可以是PDSN,PDSN与移动台执行的操作与方法实施例相同,具体请参见方法实施例的描述。In combination with the method embodiment of the present invention, the access gateway may be a PDSN, and the operations performed by the PDSN and the mobile station are the same as those of the method embodiment, and please refer to the description of the method embodiment for details.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the execution includes: The steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
以上对本发明所提供的一种获取网络信息的方法、装置及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A method, device and system for obtaining network information provided by the present invention has been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for helping understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810042022 CN101656945B (en) | 2008-08-22 | 2008-08-22 | Method, apparatus and system for acquiring network information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810042022 CN101656945B (en) | 2008-08-22 | 2008-08-22 | Method, apparatus and system for acquiring network information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101656945A CN101656945A (en) | 2010-02-24 |
CN101656945B true CN101656945B (en) | 2013-04-17 |
Family
ID=41710976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810042022 Active CN101656945B (en) | 2008-08-22 | 2008-08-22 | Method, apparatus and system for acquiring network information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101656945B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1124388A2 (en) * | 2000-02-09 | 2001-08-16 | Lucent Technologies Inc. | Service provision while roaming in 3G wireless networks |
CN101026517A (en) * | 2006-02-22 | 2007-08-29 | 华为技术有限公司 | Communication terminal access request routing method for communication network |
CN101047616A (en) * | 2006-05-13 | 2007-10-03 | 华为技术有限公司 | Method for distributing homeplace agent |
US7817618B2 (en) * | 2005-11-25 | 2010-10-19 | Nokia Corporation | Method, system and devices for optimizing use of contexts/ access point names |
-
2008
- 2008-08-22 CN CN 200810042022 patent/CN101656945B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1124388A2 (en) * | 2000-02-09 | 2001-08-16 | Lucent Technologies Inc. | Service provision while roaming in 3G wireless networks |
US7817618B2 (en) * | 2005-11-25 | 2010-10-19 | Nokia Corporation | Method, system and devices for optimizing use of contexts/ access point names |
CN101026517A (en) * | 2006-02-22 | 2007-08-29 | 华为技术有限公司 | Communication terminal access request routing method for communication network |
CN101047616A (en) * | 2006-05-13 | 2007-10-03 | 华为技术有限公司 | Method for distributing homeplace agent |
Also Published As
Publication number | Publication date |
---|---|
CN101656945A (en) | 2010-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102833732B (en) | System, data card and its implementation that a kind of IPv6 addresses stateless is automatically configured | |
US8189567B2 (en) | Method and nodes for registering a terminal | |
US8701178B2 (en) | Method and system for managing mobility of access terminal using proxy mobile internet protocol in a mobile communication system, and method for allocating home address of access terminal for the same | |
KR101191721B1 (en) | METHOD FOR GENERATING AND MANAGING CONNECTION IDENTIFIERS FOR SUPPORTING GROUP MULTICASTING IN IPv6-BASED WIRELESS NETWORK AND NETWORK INTERFACE OF ENABLING THE METHOD | |
WO2009117963A1 (en) | Address configuring method, apparatus and system | |
CN102148878A (en) | IP (internet protocol) address allocation method, system and device | |
CN103384282B (en) | The method and BRAS of a kind of acquisition IPV6ND addresses | |
WO2014086167A1 (en) | Mobile terminal and address allocation method and system thereof | |
KR100909014B1 (en) | Dynamic IP Address Allocation Method for Mobile Terminal in Mobile Communication System | |
WO2008061424A1 (en) | A mehtod for informing that the network side supports the mobile ip enhancement capability | |
WO2014101891A1 (en) | Method and device for configuring ip address | |
CN103442328B (en) | A kind of method for controlling quality of service of internet-of-things terminal and system | |
JP2014533054A (en) | Method for transferring authentication information, relay device, and server | |
CN101427541A (en) | Allocation of Policy Function Addresses During Access Authentication in WiMAX Networks | |
KR20080026318A (en) | Method and device for setting internet protocol address | |
US7852878B2 (en) | Apparatus and method for supporting establishment of network address of communication apparatus | |
CN102761425B (en) | Charging method and device | |
CN101656945B (en) | Method, apparatus and system for acquiring network information | |
WO2012139283A1 (en) | Method and appratus for address allocation | |
CN102420799B (en) | User authentication method, device and system | |
CN113992629B (en) | Address allocation method and device | |
KR100848456B1 (en) | Mobile address auto registration device and method in mobile internet network | |
CN101754173A (en) | Home address allocation, method and system for transmitting message by using same | |
CN101287292B (en) | Method and terminal for discovering entrance of calling control system | |
KR101209249B1 (en) | Method for internet protocol address configuration, and information server |
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 |