CN101287292B - Method and terminal for discovering entrance of calling control system - Google Patents
Method and terminal for discovering entrance of calling control system Download PDFInfo
- Publication number
- CN101287292B CN101287292B CN200810092570.2A CN200810092570A CN101287292B CN 101287292 B CN101287292 B CN 101287292B CN 200810092570 A CN200810092570 A CN 200810092570A CN 101287292 B CN101287292 B CN 101287292B
- Authority
- CN
- China
- Prior art keywords
- terminal
- address
- control system
- dhcp
- entrance
- 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
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了发现呼叫控制系统入口的方法及终端,该方法包括:终端接收认证授权计费AAA服务器为所述终端分配且下发的呼叫控制系统入口点地址;根据呼叫入口点的地址,终端发现呼叫控制系统呼叫入口。使得无需进行DHCP过程与DHCP服务器交互,终端也能够获得呼叫控制系统入口点地址,实现了终端更加灵活地获取呼叫入口点的地址从而发现呼叫入口。
The embodiment of the present invention discloses a method for discovering the entry point of a call control system and a terminal. The method includes: the terminal receives the address of the entry point of the call control system assigned and issued by the AAA server for the terminal; according to the address of the call entry point , the terminal discovers the call entry of the call control system. The terminal can obtain the address of the entry point of the call control system without performing the DHCP process and interacting with the DHCP server, so that the terminal can obtain the address of the call entry point more flexibly so as to discover the call entry.
Description
本申请是中国在先申请专利“发现呼叫控制系统入口的方法和系统”的分案申请,在先申请专利的申请号是CN 200710006604.7,申请日是2007年1月18日。This application is a divisional application of China's earlier patent application "method and system for discovering the entrance of a call control system". The application number of the earlier patent application is CN 200710006604.7, and the application date is January 18, 2007.
技术领域 technical field
本发明涉及呼叫控制系统技术领域,尤其是涉及两种发现呼叫控制系统入口的方法和终端。The present invention relates to the technical field of call control systems, in particular to two methods and terminals for discovering the entrance of the call control system.
背景技术 Background technique
IP多媒体子系统(IMS)是第三代合作项目(3GPP)在Release 5版本提出的支持IP多媒体业务的子系统,它的突出特点是采用了初始会话协议(SIP)以及与接入的无关性。3GPP定义的IMS的框架结构包括呼叫控制功能实体(Call Server Control Function,CSCF)、媒体网关控制功能实体(Media Gateway Control Function,MGCF)、IP多媒体子系统媒体网关(IMS-Media Gateway,IMS-MGW)、多媒体资源功能控制实体(MultimediaResource Function Controller,MRFC)、多媒体资源功能处理器(MultimediaResource Function Processor,MRFP)和突围网关控制功能实体(BreakoutGateway Control Function,BGCF)等。其中,CSCF是整个网络的核心,支持SIP处理SIP会话;P-CSCF是终端接入IMS系统的入口,实现了SIP中的代理(Proxy)和用户代理(User Agent)功能。在IMS系统或其他的呼叫控制系统中,系统入口也可以是SIP代理。以下以呼叫控制系统为IMS系统,入口为P-CSCF为例进行说明。IP Multimedia Subsystem (IMS) is a subsystem supporting IP multimedia services proposed by the Third Generation Partnership Project (3GPP) in Release 5. Its outstanding features are the use of the Initial Session Protocol (SIP) and its independence from access . The frame structure of IMS defined by 3GPP includes call control function entity (Call Server Control Function, CSCF), media gateway control function entity (Media Gateway Control Function, MGCF), IP multimedia subsystem media gateway (IMS-Media Gateway, IMS-MGW) ), multimedia resource function controller (MultimediaResource Function Controller, MRFC), multimedia resource function processor (MultimediaResource Function Processor, MRFP) and breakout gateway control function entity (BreakoutGateway Control Function, BGCF), etc. Among them, the CSCF is the core of the entire network and supports SIP to process SIP sessions; the P-CSCF is the entrance for the terminal to access the IMS system, and realizes the proxy (Proxy) and user agent (User Agent) functions in SIP. In an IMS system or other call control systems, the system entry can also be a SIP proxy. In the following, the call control system is an IMS system, and the entrance is a P-CSCF as an example for description.
图1所示为接入网为WiMAX的用户漫游情况下的网络架构,其中P-CSCF是呼叫方终端发送所有SIP消息的唯一入口。因此在发送SIP消息之前,终端必须知道P-CSCF的地址。Figure 1 shows the network architecture when the access network is WiMAX and the user is roaming, where the P-CSCF is the only entrance for the caller terminal to send all SIP messages. Therefore, before sending a SIP message, the terminal must know the address of the P-CSCF.
在现有技术中,终端通过动态主机配置协议(DHCP)与DHCP服务器交互获取P-CSCF的地址。具体流程如图2所示,包括如下步骤:In the prior art, the terminal interacts with the DHCP server to obtain the address of the P-CSCF through the Dynamic Host Configuration Protocol (DHCP). The specific process is shown in Figure 2, including the following steps:
在步骤201,终端向DHCP中继(DHCP Relay)发送DHCP发现(DHCPDiscover)消息,在步骤202,DHCP中继将DHCP发现消息转发给DHCP服务器,然后在步骤203和步骤204,DHCP服务器将P-CSCF的地址设置在DHCP响应消息忠发送给DHCP中继,DHCP中继将接收的DHCP响应消息忠的P-CSCF地址通过DHCP提供(DHCP Offer)消息发送给终端。In step 201, the terminal sends a DHCP discovery (DHCPDiscover) message to the DHCP relay (DHCP Relay), and in
在WiMAX系统中,终端的网络接入和移动管理通过客户端移动IP(CMIP)和代理移动IP(PMIP)两种方式实现。在终端采用PMIP场景下,当PMIP客户端行使中继功能时,移动IP的注册和DHCP过程分别独立,所以终端可以通过上述现有技术的流程获取P-CSCF地址;而当PMIP客户端行使代理功能时,移动IP的注册和DHCP过程结合在一起,不涉及到DHCP服务器,因此无法通过上述现有技术获取P-CSCF地址。在CMIP中不包括DHCP过程,因此也无法通过上述现有技术获取P-CSCF地址。In the WiMAX system, network access and mobility management of terminals are realized through Client Mobile IP (CMIP) and Proxy Mobile IP (PMIP). In the scenario where the terminal adopts PMIP, when the PMIP client performs the relay function, the registration of the mobile IP and the DHCP process are independent, so the terminal can obtain the P-CSCF address through the process of the above-mentioned prior art; and when the PMIP client performs the proxy function, the registration of the mobile IP is combined with the DHCP process, and does not involve the DHCP server, so the P-CSCF address cannot be obtained through the above-mentioned prior art. The DHCP process is not included in CMIP, so the P-CSCF address cannot be obtained through the above-mentioned prior art.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供两种发现呼叫控制系统入口的方法和终端,能够使呼叫控制系统入口的发现更加灵活。In view of this, the main purpose of the present invention is to provide two methods and terminals for discovering the entrance of the call control system, which can make the discovery of the entrance of the call control system more flexible.
一个方面,本发明提供了一种发现呼叫控制系统入口的方法,该方法包括:终端接收认证授权计费AAA服务器为所述终端分配且下发的呼叫控制系统入口点地址;根据呼叫入口点的地址,终端发现呼叫控制系统呼叫入口。In one aspect, the present invention provides a method for discovering an entry point of a call control system, the method comprising: the terminal receives the address of the entry point of the call control system assigned and issued by the AAA server for the terminal; according to the address of the entry point of the call Address, the terminal discovers the call entry of the call control system.
另一方面,本发明提供了一种发现呼叫控制系统入口的方法,该方法包括:终端接收认家乡代理为所述终端分配且下发的呼叫控制系统入口点地址;根据呼叫入口点的地址,终端发现呼叫控制系统呼叫入口。On the other hand, the present invention provides a method for discovering the entry point of the call control system, the method comprising: the terminal receives the address of the entry point of the call control system assigned and issued by the home agent for the terminal; according to the address of the call entry point, The terminal discovers the call entry of the call control system.
再一方面,本发明提供了一种终端,该终端包括:入口点地址接收设备,用于接收认证授权计费AAA服务器或家乡代理发送的呼叫控制系统入口点地址。In another aspect, the present invention provides a terminal, which includes: an entry point address receiving device, configured to receive the entry point address of the call control system sent by the AAA server or the home agent.
从上述方案可以看出,本发明实施例中,通过为终端分配呼叫控制系统入口点地址,使得无需进行DHCP过程与DHCP服务器交互终端也能够获得呼叫控制系统入口点地址,实现了终端更加灵活地获取呼叫入口点的地址从而发现呼叫入口。It can be seen from the above solution that in the embodiment of the present invention, by assigning the entry point address of the call control system to the terminal, the terminal can obtain the entry point address of the call control system without performing the DHCP process and interacting with the DHCP server, and the terminal is more flexible. Get the address of the call entry point to discover the call entry.
附图说明 Description of drawings
图1为IMS系统所基于的接入网为WiMAX网络的网络组成示意图;FIG. 1 is a schematic diagram of network composition in which the access network based on the IMS system is a WiMAX network;
图2为现有技术中终端获取P-CSCF地址的流程图;Fig. 2 is the flow chart of terminal obtaining P-CSCF address in the prior art;
图3为本发明第一实施例的系统组成示意图;3 is a schematic diagram of the system composition of the first embodiment of the present invention;
图4为本发明第一实施例中终端获取P-CSCF地址的流程图;FIG. 4 is a flow chart of the terminal acquiring the P-CSCF address in the first embodiment of the present invention;
图5为本发明第二实施例的系统组成示意图;5 is a schematic diagram of the system composition of the second embodiment of the present invention;
图6为本发明第二实施例中终端获取P-CSCF地址的流程图;FIG. 6 is a flow chart of the terminal obtaining the P-CSCF address in the second embodiment of the present invention;
图7为本发明第三实施例的系统组成示意图;7 is a schematic diagram of the system composition of the third embodiment of the present invention;
图8为本发明第三实施例中终端获取P-CSCF地址的流程图;FIG. 8 is a flow chart of the terminal obtaining the P-CSCF address in the third embodiment of the present invention;
图9为本发明第四实施例的系统组成示意图;9 is a schematic diagram of the system composition of the fourth embodiment of the present invention;
图10为本发明第四实施例中终端获取P-CSCF地址的流程图;FIG. 10 is a flowchart of a terminal obtaining a P-CSCF address in the fourth embodiment of the present invention;
图11为本发明第五实施例的系统组成示意图;Fig. 11 is a schematic diagram of the system composition of the fifth embodiment of the present invention;
图12为本发明第五实施例中终端获取P-CSCF地址的流程图;FIG. 12 is a flow chart of the terminal obtaining the P-CSCF address in the fifth embodiment of the present invention;
图13为本发明第六实施例的系统组成示意图;Fig. 13 is a schematic diagram of the system composition of the sixth embodiment of the present invention;
图14为本发明第六实施例中终端获取P-CSCF地址的流程图;FIG. 14 is a flowchart of a terminal obtaining a P-CSCF address in the sixth embodiment of the present invention;
图15为本发明第七实施例的系统组成示意图;Fig. 15 is a schematic diagram of the system composition of the seventh embodiment of the present invention;
图16为本发明第七实施例中终端获取P-CSCF地址的流程图。Fig. 16 is a flow chart of the terminal obtaining the P-CSCF address in the seventh embodiment of the present invention.
图17为本发明第八实施例的系统组成示意图;Fig. 17 is a schematic diagram of the system composition of the eighth embodiment of the present invention;
图18为本发明第八实施例中终端获取P-CSCF地址的流程图。Fig. 18 is a flow chart of the terminal acquiring the P-CSCF address in the eighth embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
本发明的主要思想是,由AAA服务器或HA为终端分配呼叫控制系统入口点地址,并将为终端分配呼叫控制系统入口点地址下发给终端。The main idea of the present invention is that the AAA server or HA assigns the entry point address of the call control system to the terminal, and distributes the address of the entry point of the call control system assigned to the terminal to the terminal.
本发明中AAA服务器或HA可以直接将自身中配置的呼叫控制系统入口点地址下发给终端,也可以将自身中配置的呼叫控制系统入口点地址下发给其他网元后,由其他网元下发给终端;或者由终端请求发起请求,由AAA服务器、HA或其他网元将呼叫控制系统入口点地址下发给终端。通过这种方式使终端获得呼叫控制系统入口点地址,使得呼叫控制系统入口的发现更加灵活化,便于集中控制,并且适用于不采用DHCP机制获取IP地址的网络。In the present invention, the AAA server or HA can directly send the address of the entry point of the call control system configured in itself to the terminal, or can send the address of the entry point of the call control system configured in itself to other network elements, and then the other network elements It is issued to the terminal; or the terminal requests to initiate a request, and the AAA server, HA or other network elements deliver the address of the entry point of the call control system to the terminal. In this way, the terminal obtains the address of the entry point of the call control system, which makes the discovery of the entry point of the call control system more flexible, facilitates centralized control, and is suitable for networks that do not use the DHCP mechanism to obtain IP addresses.
上述呼叫控制系统入口点可以是P-CSCF,也可以是SIP代理(SIPPROXY)。以下以呼叫控制系统入口点为P-CSCF为例进行说明。The entry point of the above call control system may be a P-CSCF or a SIP proxy (SIPPROXY). The following takes the P-CSCF as an example as the entry point of the call control system for illustration.
本发明可以应用在各种不同的应用场景中,以下通过应用在WiMAX系统的几种不同场景中作为具体实施例对本发明进一步详细说明。The present invention can be applied in various application scenarios, and the present invention will be further described in detail below by being applied in several different scenarios of the WiMAX system as specific embodiments.
本发明应用在终端采用PMIP场景下且终端通过DHCP过程获取P-CSCF地址为本发明的第一实施例。本实施例在可扩展认证协议(EAP)认证过程中,AAA服务器将自身中配置的P-CSCF的地址下发给认证者(Authenticator),再由PMIP客户端在DHCP过程中将认证者中来自AAA服务器的P-CSCF地址下发给终端。The present invention is applied in the scenario where the terminal adopts PMIP and the terminal obtains the P-CSCF address through the DHCP process, which is the first embodiment of the present invention. In this embodiment, during the Extensible Authentication Protocol (EAP) authentication process, the AAA server sends the address of the P-CSCF configured in itself to the authenticator (Authenticator), and then the PMIP client sends the address from the authenticator to the authenticator in the DHCP process. The P-CSCF address of the AAA server is delivered to the terminal.
本实施例所基于的系统如图3所示,包括终端、DHCP实体、认证者和AAA服务器,这里的DHCP实体可以为DHCP代理或DHCP中继,以下写为DHCP代理/中继。其中,终端用于通过认证者向AAA服务器发起EAP认证流程,并在EAP认证完成后,通过DHCP流程向DHCP代理/中继请求获取P-CSCF地址;DHCP代理/中继用于根据终端的请求从认证者中获取P-CSCF地址发送给终端;认证者用于与AAA服务器交互对终端进行认证,并获取来自AAA服务器的P-CSCF地址;AAA服务器用于对终端进行认证,并根据自身中配置的P-CSCF地址信息为用户分配P-CSCF,并将分配的P-CSCF地址下发给认证者。The system on which this embodiment is based is shown in FIG. 3 , including a terminal, a DHCP entity, an authenticator, and an AAA server. The DHCP entity here may be a DHCP agent or a DHCP relay, hereinafter referred to as DHCP agent/relay. Among them, the terminal is used to initiate the EAP authentication process to the AAA server through the authenticator, and after the EAP authentication is completed, request the DHCP agent/relay to obtain the P-CSCF address through the DHCP process; the DHCP agent/relay is used to obtain the P-CSCF address according to the request of the terminal. Obtain the P-CSCF address from the authenticator and send it to the terminal; the authenticator is used to interact with the AAA server to authenticate the terminal, and obtain the P-CSCF address from the AAA server; the AAA server is used to authenticate the terminal, and according to its own The configured P-CSCF address information assigns a P-CSCF to the user, and delivers the assigned P-CSCF address to the authenticator.
在漫游场景下,本实施例所基于的系统中包括归属AAA(H-AAA)服务器和拜访AAA(V-AAA)服务器,则根据运营商间的协议,如果由归属网络分配P-CSCF地址,则由H-AAA服务器根据自身中配置的P-CSCF地址信息为用户分配P-CSCF,并将分配的P-CSCF地址通过V-AAA服务器下发给认证者;如果由拜访网络分配P-CSCF地址,则由V-AAA服务器根据自身中配置的P-CSCF地址信息为用户分配P-CSCF,并将分配的P-CSCF地址下发给认证者。In a roaming scenario, the system based on this embodiment includes a home AAA (H-AAA) server and a visited AAA (V-AAA) server. According to the agreement between operators, if the home network assigns the P-CSCF address, Then the H-AAA server assigns the P-CSCF to the user according to the P-CSCF address information configured in itself, and sends the assigned P-CSCF address to the authenticator through the V-AAA server; if the P-CSCF is assigned by the visited network address, the V-AAA server assigns a P-CSCF to the user according to the P-CSCF address information configured in itself, and sends the assigned P-CSCF address to the authenticator.
以在漫游场景下为例,本实施例中终端发现P-CSCF地址的流程如图4所示,包括如下步骤:Taking the roaming scenario as an example, the process for the terminal to discover the P-CSCF address in this embodiment is shown in Figure 4, including the following steps:
步骤401~步骤402、在EAP认证过程中,终端向认证者发送EAP认证消息,认证者根据来自终端的EAP认证消息,通过V-AAA服务器向终端的H-AAA服务器发送EAP认证请求。Steps 401 to 402, during the EAP authentication process, the terminal sends an EAP authentication message to the authenticator, and the authenticator sends an EAP authentication request to the terminal's H-AAA server through the V-AAA server according to the EAP authentication message from the terminal.
步骤403、H-AAA服务器对终端进行认证,并通过V-AAA服务器向认证者发送认证相关参数。这里,根据运营商间的协议,如果由归属网络分配P-CSCF,则由H-AAA服务器根据自身中配置的P-CSCF地址信息为用户分配P-CSCF,并将分配的P-CSCF地址通过V-AAA服务器下发给认证者;如果由拜访网络分配P-CSCF地址,则由V-AAA服务器根据自身中配置的P-CSCF地址信息为用户分配P-CSCF,并在转发认证相关参数时,将该V-AAA服务器为用户分配的P-CSCF地址一同下发给认证者。Step 403, the H-AAA server authenticates the terminal, and sends authentication related parameters to the authenticator through the V-AAA server. Here, according to the agreement between operators, if the P-CSCF is allocated by the home network, the H-AAA server will allocate the P-CSCF to the user according to the P-CSCF address information configured in itself, and pass the allocated P-CSCF address through The V-AAA server sends it to the authenticator; if the P-CSCF address is assigned by the visited network, the V-AAA server assigns the P-CSCF to the user according to the P-CSCF address information configured in itself, and forwards authentication related parameters , and deliver the P-CSCF address assigned to the user by the V-AAA server to the authenticator together.
步骤404、在EAP认证成功后,认证者向终端发送EAP认证成功消息。Step 404, after the EAP authentication succeeds, the authenticator sends an EAP authentication success message to the terminal.
步骤405、在DHCP过程中,终端在向DHCP代理/中继发送的请求消息中设置包括P-CSCF地址请求指示,请求获取P-CSCF地址信息。这里的请求消息可以是DHCP发现过程中的DHCP发现消息,也可以是DHCP请求过程中的DHCP请求消息。Step 405 , during the DHCP process, the terminal sets a P-CSCF address request indication in the request message sent to the DHCP agent/relay, and requests to obtain the P-CSCF address information. The request message here may be a DHCP discovery message in the DHCP discovery process, or a DHCP request message in the DHCP request process.
步骤406、DHCP代理/中继在接收到包括P-CSCF地址请求指示的请求消息后,通过对应的响应消息将认证者获取的P-CSCF地址下发给终端。这里,如果步骤405中的请求消息是DHCP发现消息,则这里的响应消息为DHCP提供消息;如果步骤405中的请求消息是DHCP请求(Request)消息,则这里的响应消息为DHCP响应(Ack)消息。Step 406: After receiving the request message including the P-CSCF address request indication, the DHCP agent/relay sends the P-CSCF address acquired by the authenticator to the terminal through a corresponding response message. Here, if the request message in the step 405 is a DHCP discovery message, then the response message here is a message provided by DHCP; if the request message in the step 405 is a DHCP request (Request) message, then the response message here is a DHCP response (Ack) information.
在本实施例中,DHCP过程中终端向DHCP代理/中继发送的请求消息中可以不携带P-CSCF地址请求指示,则DHCP代理/中继直接通过DHCP提供消息或者是DHCP响应消息将认证者获取的P-CSCF地址主动下发给终端。In this embodiment, the request message sent by the terminal to the DHCP agent/relay during the DHCP process may not carry the P-CSCF address request indication, and the DHCP agent/relay directly sends the authenticator to the DHCP offer message or the DHCP response message. The acquired P-CSCF address is actively delivered to the terminal.
本实施例中,将H-AAA、V-AAA和接入网间承载P-CSCF地址的EAP消息中所包括的内容如表1所示,从表1中可以看出,本实施例中的EAP消息在现有的EAP消息基础上增加了最后两项:P-CSCF和DNS,其中P-CSCF为发送给认证者的P-CSCF的IP地址列表或者域名地址列表,DNS用于在P-CSCF项中地址为域名地址时,提供DNS的IP地址,以用于对P-CSCF的域名地址进行解析获取IP地址。In this embodiment, the content included in the EAP message bearing the P-CSCF address between H-AAA, V-AAA and the access network is shown in Table 1. It can be seen from Table 1 that the The EAP message adds the last two items on the basis of the existing EAP message: P-CSCF and DNS, where P-CSCF is the IP address list or domain name address list of the P-CSCF sent to the authenticator, and DNS is used in the P-CSCF When the address in the CSCF item is a domain name address, the IP address of the DNS is provided for analyzing the domain name address of the P-CSCF to obtain the IP address.
表1 Table 1
在上述第一实施例中,AAA服务器通过EAP认证过程将自身中配置的P-CSCF地址下发给认证者,终端再通过DHCP过程获取P-CSCF地址。在本发明的第二实施例中,AAA服务器仍然通过EAP认证过程将自身中配置的P-CSCF地址下发给认证者,但是此后通过广播消息向终端发送P-CSCF地址。In the first embodiment above, the AAA server sends the P-CSCF address configured in itself to the authenticator through the EAP authentication process, and the terminal obtains the P-CSCF address through the DHCP process. In the second embodiment of the present invention, the AAA server still sends the P-CSCF address configured in itself to the authenticator through the EAP authentication process, but then sends the P-CSCF address to the terminal through a broadcast message.
如图5所示为本实施例所基于的系统组成示意图,其中在图3所示系统的基础上增加接入网网关并不包括DHCP代理/中继。增加的接入网网关用于根据认证器中的信息构造路由广播消息,并在路由广播消息中增加认证器从AAA服务器中获取的P-CSCF地址信息;则终端除执行EAP认证流程外,从接入网网关发送的广播消息中获取P-CSCF地址信息;认证者所执行的与其他实体的交互与第一实施例中相同。这里的接入网网关可以是IPv4中的外部代理也可以是IPv6中的接入路由器,则对应的路由广播消息为外部代理广播消息或路由通告消息。FIG. 5 is a schematic diagram of the system composition based on this embodiment, wherein the addition of an access network gateway on the basis of the system shown in FIG. 3 does not include a DHCP agent/relay. The added access network gateway is used to construct a routing broadcast message according to the information in the authenticator, and add the P-CSCF address information obtained by the authenticator from the AAA server to the routing broadcast message; The P-CSCF address information is obtained from the broadcast message sent by the access network gateway; the interaction between the authenticator and other entities is the same as that in the first embodiment. The access network gateway here may be a foreign agent in IPv4 or an access router in IPv6, and the corresponding route broadcast message is a foreign agent broadcast message or a route notification message.
本实施例中,在路由广播消息中增加如表2中的扩展选项信元,其中选项类型(Option type)字段可以占用8比特空间;选项长度(Option length)字段可以占用8比特空间,用于标识P-CSCF地址字段的长度;P-CSCF地址(P-CSCF Address)字段可以占用128字节空间。In this embodiment, the extended option information element as in table 2 is added in the routing broadcast message, wherein the option type (Option type) field can take up 8-bit space; the option length (Option length) field can take up 8-bit space for Indicates the length of the P-CSCF address field; the P-CSCF address (P-CSCF Address) field can occupy 128 bytes of space.
表2 Table 2
本实施例的流程如图6所示,其中EAP认证过程所包括的步骤601至步骤604与图4中的步骤401至步骤404相同,在步骤605,接入网网关构造包括P-CSCF地址的路由广播消息,并对该消息进行广播,则终端接收该广播消息即可获取P-CSCF地址。The flow of this embodiment is shown in Figure 6, where steps 601 to 604 included in the EAP authentication process are the same as steps 401 to 404 in Figure 4, and in step 605, the access network gateway constructs the P-CSCF address Routing the broadcast message and broadcasting the message, the terminal can obtain the P-CSCF address after receiving the broadcast message.
本发明应用在终端采用CMIP场景下由AAA服务器为终端分配并下发P-CSCF地址,为本发明的第三实施例。本实施例中,AAA服务器在移动IP请求流程中将自身中配置的P-CSCF地址通过家乡代理发送给终端。The present invention is applied to the scenario where the terminal adopts CMIP, and the AAA server assigns and delivers the P-CSCF address to the terminal, which is the third embodiment of the present invention. In this embodiment, the AAA server sends the P-CSCF address configured in itself to the terminal through the home agent in the mobile IP request process.
本实施例所基于的系统如图7所示,包括终端、家乡代理和AAA服务器。其中,终端用于向家乡代理发送携带P-CSCF地址请求指示的移动IP注册请求,以及接收来自家乡代理的携带P-CSCF地址的移动IP注册响应消息获取P-CSCF地址;家乡代理用于接收来自终端的MIP注册请求,并向AAA服务器发起对用户认证的请求,以及将AAA服务器通过认证响应下发的P-CSCF地址通过MIP注册响应消息发送给终端;AAA服务器用于接收来自家乡代理的对用户认证的请求对用户进行认证,并将自身中配置的P-CSCF地址通过认证响应发送给家乡代理。The system based on this embodiment is shown in FIG. 7 , including a terminal, a home agent, and an AAA server. Among them, the terminal is used to send the mobile IP registration request carrying the P-CSCF address request indication to the home agent, and receive the mobile IP registration response message carrying the P-CSCF address from the home agent to obtain the P-CSCF address; the home agent is used to receive MIP registration request from the terminal, and initiate a request for user authentication to the AAA server, and send the P-CSCF address issued by the AAA server through the authentication response to the terminal through the MIP registration response message; the AAA server is used to receive from the home agent. The request for user authentication authenticates the user, and sends the P-CSCF address configured in itself to the home agent through an authentication response.
在漫游场景下,本实施例的系统中进一步包括终端所连接的外地代理,则外地代理用于在终端和家乡代理间转发请求和响应消息。In the roaming scenario, the system of this embodiment further includes a foreign agent connected to the terminal, and the foreign agent is used to forward request and response messages between the terminal and the home agent.
以在漫游场景下为例,本实施例中终端发现P-CSCF地址的流程如图8所示,包括如下步骤:Taking the roaming scenario as an example, the process for the terminal to discover the P-CSCF address in this embodiment is shown in Figure 8, including the following steps:
步骤801、外地代理通过MIP广告(Adv)消息向终端广告,使得终端获得外地代理的地址(CoA)。Step 801, the foreign agent advertises to the terminal through a MIP advertisement (Adv) message, so that the terminal obtains the address (CoA) of the foreign agent.
步骤802、终端向外地代理发送MIP注册请求,该请求中携带网络标识NAI、家乡代理地址(HoA)、CoA和P-CSCF地址请求指示信息。Step 802, the terminal sends a MIP registration request to the foreign agent, and the request carries network identifier NAI, home agent address (HoA), CoA and P-CSCF address request instruction information.
步骤803、外地代理向家乡代理发起MIP注册请求,消息中携带步骤802中的MIP注册请求消息中携带的网络标识NAI、HoA、CoA和P-CSCF地址请求指示信息。Step 803, the foreign agent initiates a MIP registration request to the home agent, and the message carries the network identifier NAI, HoA, CoA and P-CSCF address request indication information carried in the MIP registration request message in step 802.
步骤804、家乡代理接收到MIP注册请求后,向AAA服务器发送AAA认证请求,请求AAA服务器对用户进行认证并要求获取相关信息。该请求中可以包括P-CSCF地址请求指示。Step 804: After receiving the MIP registration request, the home agent sends an AAA authentication request to the AAA server, requesting the AAA server to authenticate the user and obtain relevant information. The request may include a P-CSCF address request indication.
步骤805、AAA服务器接收到来自家乡代理的MIP注册请求后,向家乡代理返回AAA认证响应消息,该消息中包括该AAA服务器自身中配置的P-CSCF地址。Step 805: After receiving the MIP registration request from the home agent, the AAA server returns an AAA authentication response message to the home agent, and the message includes the P-CSCF address configured in the AAA server itself.
步骤806、家乡代理响应外地代理发起的移动IP注册消息,在MIP注册响应消息中包含所分配的P-CSCF地址。Step 806: The home agent responds to the Mobile IP registration message initiated by the foreign agent, and includes the allocated P-CSCF address in the MIP registration response message.
步骤807、外地代理对终端发起的MIP注册请求返回MIP响应消息,消息中包含AAA服务器所分配的P-CSCF地址。Step 807, the foreign agent returns a MIP response message to the MIP registration request initiated by the terminal, and the message includes the P-CSCF address allocated by the AAA server.
本实施例中,在步骤802和步骤803所提及的MIP注册请求消息中,可以分别增加一个信元(IE),作为P-CSCF地址请求指示,标识终端要求获取P-CSCF地址。增加的信元格式可以如表3所示,其中类型(Type)值表示P-CSCF地址请求,数据(data)域为空,长度(length)字段用来指示data域所占用的空间大小。则在步骤806至步骤807中提及的MIP注册响应消息中,对应地增加信元来携带P-CSCF地址消息,增加的信元与表3结构相同,其中的Type值和对应的请求消息的Type值一样,data域为分配的P-CSCF的IP地址列表,或者为域名列表(domain name list)和DNS的IP地址。In this embodiment, in the MIP registration request message mentioned in step 802 and step 803, an information element (IE) may be added respectively as a P-CSCF address request indication, indicating that the terminal requires to obtain a P-CSCF address. The added cell format can be shown in Table 3, wherein the type (Type) value indicates the P-CSCF address request, the data (data) field is empty, and the length (length) field is used to indicate the space occupied by the data field. Then in the MIP registration response message mentioned in step 806 to step 807, correspondingly increase the information element to carry the P-CSCF address message, the added information element has the same structure as Table 3, where the Type value and the corresponding request message The Type value is the same, and the data field is the IP address list of the assigned P-CSCF, or the domain name list (domain name list) and the IP address of the DNS.
表3 table 3
本实施例中,对AAA请求消息和AAA响应消息的扩展可以与第一实施例中相同,在现有EAP消息的基础上增加P-CSCF属性,或进一步增加DNS属性。In this embodiment, the extension of the AAA request message and the AAA response message may be the same as that in the first embodiment, adding P-CSCF attributes on the basis of existing EAP messages, or further adding DNS attributes.
本发明应用在终端采用CMIP场景下由HA为终端分配并下发P-CSCF地址,为本发明的第四实施例。本实施例中,终端的HA在移动IP请求流程中将自身中配置的P-CSCF地址发送给终端。The present invention is applied to the scenario where the terminal adopts CMIP, and the HA allocates and issues the P-CSCF address for the terminal, which is the fourth embodiment of the present invention. In this embodiment, the HA of the terminal sends the P-CSCF address configured in itself to the terminal during the mobile IP request process.
本实施例所基于的系统如图9所示,包括终端和家乡代理。其中,终端用于向家乡代理发送携带P-CSCF地址请求指示的移动IP注册请求,以及接收来自家乡代理的携带P-CSCF地址的移动IP注册响应消息获取P-CSCF地址;家乡代理用于接收来自终端的MIP注册请求根据自身中配置的P-CSCF地址,并将为终端分配的P-CSCF地址通过MIP注册响应消息发送给终端。The system based on this embodiment is shown in FIG. 9 , including a terminal and a home agent. Among them, the terminal is used to send the mobile IP registration request carrying the P-CSCF address request indication to the home agent, and receive the mobile IP registration response message carrying the P-CSCF address from the home agent to obtain the P-CSCF address; the home agent is used to receive The MIP registration request from the terminal is based on the P-CSCF address configured in itself, and the P-CSCF address allocated for the terminal is sent to the terminal through the MIP registration response message.
在漫游场景下,本实施例的系统中进一步包括终端所连接的外地代理,则外地代理用于在终端和家乡代理间转发请求和响应消息。In the roaming scenario, the system of this embodiment further includes a foreign agent connected to the terminal, and the foreign agent is used to forward request and response messages between the terminal and the home agent.
以在漫游场景下为例,本实施例中终端发现P-CSCF地址的流程如图10所示,其中,步骤1001至步骤1003与图8中的步骤801至步骤803相同,在步骤1004,家乡代理接收到MIP注册请求后,根据自身中配置的P-CSCF地址为终端分配P-CSCF地址,并将为终端分配的P-CSCF地址通过MIP注册响应消息发送给外地代理,在步骤1005,外地代理针对终端发起的MIP注册请求返回MIP响应消息,消息中包含HA为终端分配的P-CSCF地址。Taking the roaming scenario as an example, the process for the terminal to discover the P-CSCF address in this embodiment is shown in Figure 10, wherein, steps 1001 to 1003 are the same as steps 801 to 803 in Figure 8, and in step 1004, the home After receiving the MIP registration request, the agent allocates a P-CSCF address for the terminal according to the P-CSCF address configured in itself, and sends the P-CSCF address allocated for the terminal to the foreign agent through the MIP registration response message. In step 1005, the foreign agent The agent returns a MIP response message to the MIP registration request initiated by the terminal, and the message includes the P-CSCF address allocated by the HA to the terminal.
本实施例中,MIP注册请求消息和MIP响应消息的格式可以与第三实施例中相同。In this embodiment, the format of the MIP registration request message and the MIP response message may be the same as that in the third embodiment.
本发明应用在终端采用PMIP场景下且终端通过结合在同一流程中的DHCP过程和移动IP注册过程,获取AAA服务器为其分配P-CSCF地址为本发明的第五实施例。本实施例中,通过与DHCP过程结合的移动IP请求流程,AAA服务器将自身中配置的P-CSCF地址通过家乡代理发送给终端。The present invention is applied in the scenario where the terminal adopts PMIP and the terminal obtains the P-CSCF address assigned by the AAA server through the DHCP process and the mobile IP registration process combined in the same process, which is the fifth embodiment of the present invention. In this embodiment, through the mobile IP request process combined with the DHCP process, the AAA server sends the P-CSCF address configured in itself to the terminal through the home agent.
本实施例所基于的系统如图11所示,包括终端、DHCP代理、PMIP客户端、家乡代理和AAA服务器。其中,终端用于向DHCP代理发送携带P-CSCF地址请求指示信息的DHCP发现请求,并接收DHCP代理返回的携带P-CSCF地址信息的DHCP提供消息;DHCP代理用于根据终端的DHCP发现请求触发PMIP客户端向家乡代理发送携带P-CSCF地址请求指示的移动IP注册请求,以及将PMIP客户端提供的P-CSCF地址通过DHCP提供消息发送给终端;PMIP客户端用于向家乡代理发送携带P-CSCF地址请求指示信息的移动IP注册请求,并接收来自家乡代理的携带P-CSCF地址的移动IP注册响应消息,以及将其中的P-CSCF地址提供给DHCP代理;家乡代理用于接收来自PMIP客户端的MIP注册请求,并向AAA服务器发起对用户认证的请求,以及将AAA服务器通过认证响应下发的P-CSCF地址通过MIP响应发送给PMIP客户端;AAA服务器用于接收来自家乡代理的对用户认证的请求对用户进行认证,并将自身中配置的P-CSCF地址通过认证响应发送给家乡代理。The system based on this embodiment is shown in FIG. 11 , including a terminal, a DHCP agent, a PMIP client, a home agent, and an AAA server. Among them, the terminal is used to send a DHCP discovery request carrying P-CSCF address request indication information to the DHCP agent, and receive a DHCP offer message carrying P-CSCF address information returned by the DHCP agent; the DHCP agent is used to trigger the DHCP discovery request according to the terminal. The PMIP client sends a mobile IP registration request carrying the P-CSCF address request indication to the home agent, and sends the P-CSCF address provided by the PMIP client to the terminal through a DHCP offer message; the PMIP client is used to send the P-CSCF address to the home agent. -CSCF address request indicates the mobile IP registration request of the information, and receives the mobile IP registration response message carrying the P-CSCF address from the home agent, and provides the P-CSCF address to the DHCP agent; the home agent is used to receive from the PMIP The client MIP registration request, and initiates a request for user authentication to the AAA server, and sends the P-CSCF address issued by the AAA server through the authentication response to the PMIP client through the MIP response; the AAA server is used to receive the pair from the home agent The user authentication request authenticates the user, and sends the P-CSCF address configured in itself to the home agent through an authentication response.
在漫游场景下,本实施例的系统中进一步包括终端所连接的外地代理,则外地代理用于在PMIP客户端和家乡代理间转发请求和响应消息。In a roaming scenario, the system of this embodiment further includes a foreign agent connected to the terminal, and the foreign agent is used to forward request and response messages between the PMIP client and the home agent.
以在漫游场景下为例,本实施例中终端发现P-CSCF地址的流程如图12所示,包括如下步骤:Taking the roaming scenario as an example, the process for the terminal to discover the P-CSCF address in this embodiment is shown in Figure 12, including the following steps:
步骤1201、终端向DHCP代理发送带有请求P-CSCF指示信息的DHCP发现消息。Step 1201, the terminal sends a DHCP discovery message with requesting P-CSCF indication information to the DHCP agent.
步骤1202、DHCP代理触发PMIP客户端进行移动IP注册,向外地代理发送移动IP注册请求,该请求中包括P-CSCF地址请求指示信息。Step 1202 , the DHCP agent triggers the PMIP client to perform mobile IP registration, and sends a mobile IP registration request to the foreign agent, and the request includes P-CSCF address request indication information.
步骤1203、外地代理向家乡代理发起移动IP注册请求,其中包括P-CSCF地址请求指示信息。Step 1203, the foreign agent initiates a mobile IP registration request to the home agent, which includes P-CSCF address request indication information.
步骤1204、家乡代理请求AAA服务器对用户进行认证并要求获取相关信息,该认证请求中可以包含P-CSCF地址请求指示信息。Step 1204, the home agent requests the AAA server to authenticate the user and obtain relevant information, and the authentication request may include P-CSCF address request indication information.
步骤1205、AAA服务器接收到来自家乡代理的认证请求后,对用户进行认证,并向家乡代理返回认证响应消息,该消息中包括为用户分配的P-CSCF地址。Step 1205: After receiving the authentication request from the home agent, the AAA server authenticates the user, and returns an authentication response message to the home agent, which includes the P-CSCF address assigned to the user.
步骤1206、家乡代理响应外地代理发起的移动IP注册消息,向外地代理发送的MIP注册响应消息中包含AAA服务器分配的P-CSCF地址Step 1206, the home agent responds to the mobile IP registration message initiated by the foreign agent, and the MIP registration response message sent to the foreign agent contains the P-CSCF address assigned by the AAA server
步骤1207、外地代理对PMIP客户端发起的MIP注册请求进行响应,向PMIP客户端发送的MIP注册响应消息中包含AAA服务器分配的P-CSCF地址Step 1207, the foreign agent responds to the MIP registration request initiated by the PMIP client, and includes the P-CSCF address distributed by the AAA server in the MIP registration response message sent to the PMIP client
步骤1208、PMIP客户端触发DHCP代理发送DHCP提供消息给终端,其中包含AAA服务器为终端分配的P-CSCF地址。Step 1208, the PMIP client triggers the DHCP agent to send a DHCP offer message to the terminal, which includes the P-CSCF address allocated by the AAA server for the terminal.
本实施例中,DHCP发现消息和DHCP提供消息中可以不包括DHCP相关信息,则PMIP客户端可以自行在MIP注册请求中携带P-CSCF地址请求指示信息,从而获取AAA服务器为终端分配的P-CSCF地址。则终端可以通过DHCP请求消息携带P-CSCF地址请求指示,而DHCP代理通过DHCP响应消息将AAA服务器为终端分配的P-CSCF地址下发给终端。In this embodiment, the DHCP discovery message and the DHCP offer message may not include DHCP-related information, and the PMIP client may carry the P-CSCF address request indication information in the MIP registration request by itself, thereby obtaining the P-CSCF assigned by the AAA server to the terminal. CSCF address. Then the terminal can carry the P-CSCF address request indication through the DHCP request message, and the DHCP agent sends the P-CSCF address assigned to the terminal by the AAA server to the terminal through the DHCP response message.
另外,上述各请求消息中也都可以不包括P-CSCF地址请求指示信息,则AAA服务器在对用户认证后,主动将为该用户分配的P-CSCF地址通过家乡代理和本系统中的其他网元下发给终端。In addition, each of the above request messages may not include the P-CSCF address request indication information. After the AAA server authenticates the user, it will actively pass the home agent and other network addresses in the system to the P-CSCF address assigned to the user. Yuan is sent to the terminal.
本发明应用在终端采用PMIP场景下且终端通过结合在同一流程中的DHCP过程和移动IP注册过程,获取HA为其分配P-CSCF地址为本发明的第六实施例。本实施例中,通过与DHCP过程结合的移动IP请求流程,HA将自身中配置的P-CSCF地址通过家乡代理发送给终端。The present invention is applied in the scenario where the terminal adopts PMIP and the terminal obtains the HA to assign a P-CSCF address to it through the DHCP process and the mobile IP registration process combined in the same process, which is the sixth embodiment of the present invention. In this embodiment, through the mobile IP request process combined with the DHCP process, the HA sends the P-CSCF address configured in itself to the terminal through the home agent.
本实施例所基于的系统如图13所示,包括终端、DHCP代理、PMIP客户端和家乡代理。其中,终端用于向DHCP代理发送携带P-CSCF地址请求指示信息的DHCP发现请求,并接收DHCP代理返回的携带P-CSCF地址信息的DHCP提供消息;DHCP代理用于根据终端的DHCP发现请求触发PMIP客户端向家乡代理发送携带P-CSCF地址请求指示的移动IP注册请求,以及将PMIP客户端提供的P-CSCF地址通过DHCP提供消息发送给终端;PMIP客户端用于向家乡代理发送携带P-CSCF地址请求指示信息的移动IP注册请求,并接收来自家乡代理的携带P-CSCF地址的移动IP注册响应消息,以及将其中的P-CSCF地址提供给DHCP代理;家乡代理用于接收来自PMIP客户端的MIP注册请求,并根据自身中配置的P-CSCF地址为终端分配P-CSCF地址,并将为终端分配的的P-CSCF地址通过MIP响应发送给PMIP客户端。The system based on this embodiment is shown in FIG. 13 , including a terminal, a DHCP agent, a PMIP client and a home agent. Among them, the terminal is used to send a DHCP discovery request carrying P-CSCF address request indication information to the DHCP agent, and receive a DHCP offer message carrying P-CSCF address information returned by the DHCP agent; the DHCP agent is used to trigger the DHCP discovery request according to the terminal. The PMIP client sends a mobile IP registration request carrying the P-CSCF address request indication to the home agent, and sends the P-CSCF address provided by the PMIP client to the terminal through a DHCP offer message; the PMIP client is used to send the P-CSCF address to the home agent. -CSCF address request indicates the mobile IP registration request of the information, and receives the mobile IP registration response message carrying the P-CSCF address from the home agent, and provides the P-CSCF address to the DHCP agent; the home agent is used to receive from the PMIP The client sends a MIP registration request, and allocates a P-CSCF address for the terminal according to the P-CSCF address configured in itself, and sends the P-CSCF address allocated for the terminal to the PMIP client through the MIP response.
在漫游场景下,本实施例的系统中进一步包括终端所连接的外地代理,则外地代理用于在PMIP客户端和家乡代理间转发请求和响应消息。In a roaming scenario, the system of this embodiment further includes a foreign agent connected to the terminal, and the foreign agent is used to forward request and response messages between the PMIP client and the home agent.
以在漫游场景下为例,本实施例中终端发现P-CSCF地址的流程如图14所示,其中,步骤1401至步骤1403与图12中的步骤1201至步骤1203相同,在步骤1404,家乡代理根据自身中配置的P-CSCF地址为终端分配P-CSCF地址,并将为终端分配的的P-CSCF地址通过MIP注册响应消息发送给外地代理。在步骤1405,外地代理对PMIP客户端发起的MIP注册请求进行响应,向PMIP客户端发送MIP注册响应消息,该响应消息中包含HA为终端分配的P-CSCF地址,此后在步骤1406中,PMIP客户端触发DHCP代理发送DHCP提供消息给终端,其中包含HA为终端分配的P-CSCF地址。Taking the roaming scenario as an example, the process for the terminal to discover the P-CSCF address in this embodiment is shown in Figure 14, where steps 1401 to 1403 are the same as steps 1201 to 1203 in Figure 12, and in step 1404, the home The agent allocates the P-CSCF address to the terminal according to the P-CSCF address configured in itself, and sends the P-CSCF address allocated to the terminal to the foreign agent through the MIP registration response message. In step 1405, the foreign agent responds to the MIP registration request initiated by the PMIP client, and sends a MIP registration response message to the PMIP client, which contains the P-CSCF address that the HA distributes for the terminal. After this, in step 1406, the PMIP The client triggers the DHCP agent to send a DHCP offer message to the terminal, which includes the P-CSCF address allocated by the HA to the terminal.
本实施例中,DHCP发现消息和DHCP提供消息中可以不包括DHCP相关信息,则PMIP客户端可以自行在MIP注册请求中携带P-CSCF地址请求指示信息,从而获取HA为终端分配的P-CSCF地址。则终端可以通过DHCP请求消息携带P-CSCF地址请求指示,而DHCP代理通过DHCP响应消息将HA为用户分配的P-CSCF地址下发给终端。In this embodiment, the DHCP discovery message and the DHCP offer message may not include DHCP-related information, and the PMIP client may carry the P-CSCF address request indication information in the MIP registration request by itself, thereby obtaining the P-CSCF allocated by the HA to the terminal. address. Then the terminal can carry the P-CSCF address request indication through the DHCP request message, and the DHCP agent sends the P-CSCF address allocated by the HA to the user to the terminal through the DHCP response message.
另外,上述各请求消息中也都可以不包括P-CSCF地址请求指示信息,则HA在MIP注册响应消息中主动将为终端分配的P-CSCF地址通过外地代理等其他网元下发给终端。In addition, each of the above request messages may not include the P-CSCF address request indication information, and then the HA actively sends the P-CSCF address allocated to the terminal to the terminal through other network elements such as a foreign agent in the MIP registration response message.
本发明中,AAA服务器还可以在初始认证过程中为用户分配P-CSCF地址,并将分配的地址通过接入网网关中的接入路由器下发给终端。以下通过第七实施例对这种使终端获取P-CSCF地址的方式进行详细说明。In the present invention, the AAA server can also assign the P-CSCF address to the user during the initial authentication process, and send the assigned address to the terminal through the access router in the access network gateway. The method for enabling the terminal to obtain the P-CSCF address will be described in detail below through the seventh embodiment.
如图15所示,为本发明第七实施例所基于的系统组成图,包括:终端(MN)、接入网网关和H-AAA服务器。其中,终端用于与接入网网关交互进行初始接入认证,并在完成初始接入认证后,向接入网网关发送获取信息请求,以及接收接入网网关返回的包括P-CSCF地址信息的获取信息回应获取P-CSCF地址;接入网网关用于与终端交互进行初始接入认证,向H-AAA发送接入请求,并接收H-AAA服务器返回的携带P-CSCF地址的接入接受消息,存储该接入接受消息中的P-CSCF地址等信息,以及根据终端的获取信息请求将包括P-CSCF地址的信息通过获取信息回应消息下发给终端;H-AAA服务器用于接收来自接入网网关的接入请求,根据该请求为用户分配包括P-CSCF地址的相关信息,并将分配的信息通过接入接受消息发送到接入网网关。上述接入网网关中包括接入路由器,其中接入网网关与终端交互的获取信息请求、获取信息回应消息,具体由接入路由器与终端交互。As shown in FIG. 15 , it is a system composition diagram based on the seventh embodiment of the present invention, including: a terminal (MN), an access network gateway and an H-AAA server. Wherein, the terminal is used to interact with the access network gateway for initial access authentication, and after completing the initial access authentication, send an information acquisition request to the access network gateway, and receive the information returned by the access network gateway including P-CSCF address information The access information response to obtain the P-CSCF address; the access network gateway is used to interact with the terminal for initial access authentication, send an access request to the H-AAA, and receive the access message carrying the P-CSCF address returned by the H-AAA server Accept the message, store the information such as the P-CSCF address in the access acceptance message, and send the information including the P-CSCF address to the terminal through the information acquisition response message according to the information acquisition request of the terminal; the H-AAA server is used to receive According to the access request from the access network gateway, the user is allocated relevant information including the P-CSCF address, and the allocated information is sent to the access network gateway through an access acceptance message. The above-mentioned access network gateway includes an access router, wherein the information acquisition request and information acquisition response messages exchanged between the access network gateway and the terminal are specifically interacted by the access router and the terminal.
本实施例中终端发现P-CSCF地址的流程如图16所示,包括如下步骤:In this embodiment, the process for the terminal to discover the P-CSCF address is shown in Figure 16, including the following steps:
步骤1601、终端与接入网网关交互进行初始接入认证(BeginAccess-Auth)。Step 1601, the terminal interacts with the access network gateway to perform initial access authentication (BeginAccess-Auth).
步骤1602、接入网网关向H-AAA发送接入请求(Access Request),请求分配相关信息。Step 1602, the access network gateway sends an access request (Access Request) to the H-AAA, requesting for allocation of related information.
步骤1603、H-AAA接入请求分配对应的HA、HL等信息,并为终端分配P-CSCF地址信息。Step 1603, the H-AAA access request allocates corresponding HA, HL and other information, and allocates P-CSCF address information for the terminal.
步骤1604、H-AAA通过接入接受(Access Accept)消息将为用户分配的HA、HL和P-CSCF地址等信息发送给接入网网关。Step 1604, the H-AAA sends information such as HA, HL and P-CSCF addresses allocated to the user to the access network gateway through an Access Accept message.
步骤1605、接入网网关存储接收到的HA、HL和P-CSCF地址等信息。Step 1605, the access network gateway stores the received information such as addresses of HA, HL and P-CSCF.
步骤1606、接入网网关与终端交互完成初始接入认证。Step 1606, the access network gateway interacts with the terminal to complete the initial access authentication.
步骤1607、终端向接入网网关上的接入路由器发送获取信息请求(Information Request),请求获取相关信息。Step 1607, the terminal sends an information request (Information Request) to the access router on the access network gateway, requesting to obtain relevant information.
步骤1608、接入路由器将接入网网关存储的P-CSCF地址信息和其他相关信息通过获取信息回应(Information Reply)消息发送给终端。Step 1608, the access router sends the P-CSCF address information and other relevant information stored in the access network gateway to the terminal through an information reply (Information Reply) message.
本发明中,AAA服务器还可以在初始认证过程中为用户分配P-CSCF地址,并将分配的地址通过接入网网关中的外部代理在移动终端发起的移动IP注册过程中在收到家乡代理返回的移动IP注册相应后并要发给移动终端前将对应的所获得或预配置的该终端的P-CSCF的地址下发给移动终端。以下通过第八实施例对这种使终端获取P-CSCF地址的方式进行详细说明。In the present invention, the AAA server can also assign the P-CSCF address to the user in the initial authentication process, and pass the assigned address through the external agent in the access network gateway in the mobile IP registration process initiated by the mobile terminal. After the returned mobile IP is registered and corresponding and before being sent to the mobile terminal, the corresponding obtained or pre-configured P-CSCF address of the terminal is sent to the mobile terminal. The method of enabling the terminal to obtain the P-CSCF address will be described in detail below through the eighth embodiment.
如图17所示,为本发明第八实施例所基于的系统组成图,包括:终端(MN)、接入网网关和H-AAA服务器。其中,终端用于与接入网网关交互进行初始接入认证,并在完成初始接入认证后,向接入网网关发送获取信息请求,以及接收接入网网关返回的包括P-CSCF地址信息的获取信息回应获取P-CSCF地址;接入网网关用于与终端交互进行初始接入认证,向H-AAA发送接入请求,并接收H-AAA服务器返回的携带P-CSCF地址的接入接受消息,存储该接入接受消息中的P-CSCF地址等信息,以及根据终端的获取信息请求将包括P-CSCF地址的信息通过获取信息回应消息下发给终端;H-AAA服务器用于接收来自接入网网关的接入请求,根据该请求为用户分配包括P-CSCF地址的相关信息,并将分配的信息通过接入接受消息发送到接入网网关。上述接入网网关中包括接入路由器,其中接入网网关与终端交互的获取信息请求、获取信息回应消息,具体由接入路由器与终端交互。As shown in FIG. 17 , it is a system composition diagram based on the eighth embodiment of the present invention, including: a terminal (MN), an access network gateway and an H-AAA server. Wherein, the terminal is used to interact with the access network gateway for initial access authentication, and after completing the initial access authentication, send an information acquisition request to the access network gateway, and receive the information returned by the access network gateway including P-CSCF address information The access information response to obtain the P-CSCF address; the access network gateway is used to interact with the terminal for initial access authentication, send an access request to the H-AAA, and receive the access message carrying the P-CSCF address returned by the H-AAA server Accept the message, store the information such as the P-CSCF address in the access acceptance message, and send the information including the P-CSCF address to the terminal through the information acquisition response message according to the information acquisition request of the terminal; the H-AAA server is used to receive According to the access request from the access network gateway, the user is allocated relevant information including the P-CSCF address, and the allocated information is sent to the access network gateway through an access acceptance message. The above-mentioned access network gateway includes an access router, wherein the information acquisition request and information acquisition response messages exchanged between the access network gateway and the terminal are specifically interacted by the access router and the terminal.
本实施例中终端发现P-CSCF地址的流程如图18所示,包括如下步骤:In this embodiment, the process for the terminal to discover the P-CSCF address is shown in Figure 18, including the following steps:
步骤1801、外部代理通过预配置或在移动终端入网过程中通过其初始认证过程通过AAA获得其P-CSCF地址后,外地代理通过MIP广告(Adv)消息向终端广告,使得终端获得外地代理的地址(CoA)。Step 1801, after the foreign agent obtains its P-CSCF address through pre-configuration or through its initial authentication process during the mobile terminal network access process through AAA, the foreign agent advertises to the terminal through a MIP advertisement (Adv) message, so that the terminal obtains the address of the foreign agent (CoAs).
步骤1802、终端向外地代理发送MIP注册请求,该请求中携带网络标识NAI、家乡代理地址(HoA)、CoA。Step 1802, the terminal sends a MIP registration request to the foreign agent, and the request carries the network identifier NAI, home agent address (HoA), and CoA.
步骤1803、外地代理向家乡代理发起MIP注册请求,消息中携带步骤802中的MIP注册请求消息中携带的网络标识NAI、HoA、CoA。Step 1803, the foreign agent initiates a MIP registration request to the home agent, and the message carries the network identifiers NAI, HoA, and CoA carried in the MIP registration request message in step 802.
步骤1804、家乡代理接收到MIP注册请求后,向AAA服务器发送AAA认证请求,请求AAA服务器对用户进行认证并要求获取相关信息。Step 1804: After receiving the MIP registration request, the home agent sends an AAA authentication request to the AAA server, requesting the AAA server to authenticate the user and obtain relevant information.
步骤1805、AAA服务器接收到来自家乡代理的MIP注册请求后,向家乡代理返回AAA认证响应消息。Step 1805: After receiving the MIP registration request from the home agent, the AAA server returns an AAA authentication response message to the home agent.
步骤1806、家乡代理响应外地代理发起的移动IP注册消息。Step 1806, the home agent responds to the mobile IP registration message initiated by the foreign agent.
步骤1807、外地代理对终端发起的MIP注册请求返回MIP响应消息,消息中包含AAA服务器所分配的P-CSCF地址。Step 1807, the foreign agent returns a MIP response message to the MIP registration request initiated by the terminal, and the message includes the P-CSCF address allocated by the AAA server.
本实施例中,在步骤802和步骤803所提及的MIP注册请求消息中,可以分别增加一个信元(IE),作为P-CSCF地址请求指示,标识终端要求获取P-CSCF地址。增加的信元格式可以如表3所示,其中类型(Type)值表示P-CSCF地址请求,数据(data)域为空,长度(length)字段用来指示data域所占用的空间大小。则在步骤806至步骤807中提及的MIP注册响应消息中,对应地增加信元来携带P-CSCF地址消息,增加的信元与表3结构相同,其中的Type值和对应的请求消息的Type值一样,data域为分配的P-CSCF的IP地址列表,或者为域名列表(domain name list)和DNS的IP地址。In this embodiment, in the MIP registration request message mentioned in step 802 and step 803, an information element (IE) may be added respectively as a P-CSCF address request indication, indicating that the terminal requires to obtain a P-CSCF address. The added cell format can be shown in Table 3, wherein the type (Type) value indicates the P-CSCF address request, the data (data) field is empty, and the length (length) field is used to indicate the space occupied by the data field. Then in the MIP registration response message mentioned in step 806 to step 807, correspondingly increase the information element to carry the P-CSCF address message, the added information element has the same structure as Table 3, where the Type value and the corresponding request message The Type value is the same, and the data field is the IP address list of the assigned P-CSCF, or the domain name list (domain name list) and the IP address of the DNS.
本实施例中,对AAA请求消息和AAA响应消息的扩展可以与第一实施例中相同,在现有EAP消息的基础上增加P-CSCF属性,或进一步增加DNS属性。In this embodiment, the extension of the AAA request message and the AAA response message may be the same as that in the first embodiment, adding P-CSCF attributes on the basis of existing EAP messages, or further adding DNS attributes.
以上是对本发明具体实施例的说明,在具体的实施过程中可对本发明的方法进行适当的改进,以适应具体情况的具体需要。因此可以理解,根据本发明的具体实施方式只是起示范作用,并不用以限制本发明的保护范围。The above is the description of the specific embodiments of the present invention, and the method of the present invention can be appropriately improved during the specific implementation process to meet the specific needs of specific situations. Therefore, it can be understood that the specific implementation manners according to the present invention are only exemplary, and are not intended to limit the protection scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810092570.2A CN101287292B (en) | 2007-01-18 | 2007-01-18 | Method and terminal for discovering entrance of calling control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200810092570.2A CN101287292B (en) | 2007-01-18 | 2007-01-18 | Method and terminal for discovering entrance of calling control system |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007100066047A Division CN101132629B (en) | 2006-08-25 | 2007-01-18 | Method and system for discovering call control system entrance |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101287292A CN101287292A (en) | 2008-10-15 |
| CN101287292B true CN101287292B (en) | 2012-08-08 |
Family
ID=40059199
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200810092570.2A Active CN101287292B (en) | 2007-01-18 | 2007-01-18 | Method and terminal for discovering entrance of calling control system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101287292B (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1543143A (en) * | 2003-04-29 | 2004-11-03 | ���ǵ�����ʽ���� | Wireless local area network system capable of supporting host mobility and method of operation thereof |
-
2007
- 2007-01-18 CN CN200810092570.2A patent/CN101287292B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1543143A (en) * | 2003-04-29 | 2004-11-03 | ���ǵ�����ʽ���� | Wireless local area network system capable of supporting host mobility and method of operation thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101287292A (en) | 2008-10-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| 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 | |
| JP5485300B2 (en) | Communication of session specific information from access network to user equipment | |
| CN102893669B (en) | The method of access to mobile network, Apparatus and system | |
| CN101536436B (en) | A method for informing that the network side supports the mobile IP enhancement capability | |
| US8453211B2 (en) | Method of obtaining proxy call session control function address while roaming | |
| CN101232699B (en) | System and method for determining terminal mobility management type | |
| CN100562026C (en) | Method and system for obtaining address of proxy call session control function entity | |
| CN101427541A (en) | Allocation of Policy Function Addresses During Access Authentication in WiMAX Networks | |
| JP5588522B2 (en) | Method for generating a fixed public SIP address associated with a private identifier on an IMS network | |
| WO2010111938A1 (en) | Method, apparatus and system for processing streaming media service | |
| CN102308622B (en) | Method, device and system for interworking between WiFi network and WiMAX network | |
| CN101321395A (en) | Method and system for supporting mobility security in next generation network | |
| CN102781093B (en) | The Notification Method and system of a kind of user profile | |
| CN101072229B (en) | Client based mobile IPv4 configuration information obtaining method | |
| CN102238241B (en) | A kind of application method of elongated prefix, device and system | |
| CN101287292B (en) | Method and terminal for discovering entrance of calling control system | |
| CN101848195A (en) | Light-weight dual-stack negotiation processing method and device, communication device and communication system | |
| CN101635915B (en) | Method and device for selecting packet data network (PDN) | |
| CN101132629B (en) | Method and system for discovering call control system entrance | |
| CN102811441B (en) | Method and device for managing mobile IP secret key | |
| CN104936307A (en) | Method and device for connecting to a packet data network | |
| CN100442748C (en) | A method and functional entity for acquiring user network location information | |
| WO2008025276A1 (en) | Method and system for discovering the access of the call control system | |
| KR100848456B1 (en) | Mobile address auto registration device and method in mobile internet network |
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 |