CN1929678B - Method and device for updating user terminal access code - Google Patents
Method and device for updating user terminal access code Download PDFInfo
- Publication number
- CN1929678B CN1929678B CN200510098700XA CN200510098700A CN1929678B CN 1929678 B CN1929678 B CN 1929678B CN 200510098700X A CN200510098700X A CN 200510098700XA CN 200510098700 A CN200510098700 A CN 200510098700A CN 1929678 B CN1929678 B CN 1929678B
- Authority
- CN
- China
- Prior art keywords
- access code
- logic module
- message
- location information
- current location
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种更新用户终端接入码的方法及装置,该方法及装置设置用于实现UE接入码重分配的重分配逻辑模块,并在其中预设UE位置信息与UE接入码的对应关系,在重分配逻辑模块获取UE位置信息后,根据UE当前位置信息重新分配UE接入码,并将重新分配得到的UE接入码同步至呼叫执行点UE,或gsmSCF和UE。本发明方法实现了根据UE位置信息及时对UE接入码进行重分配并更新UE当前接入码,保证了VMSC能够识别出UE接入码,使得UE在CS呼叫中成功切换至IMS,增加了UE满意度,增强了网络可靠性。
The invention discloses a method and a device for updating a user terminal access code. The method and the device set a redistribution logic module for realizing redistribution of UE access codes, and preset UE location information and UE access codes in it. After the reassignment logic module obtains the UE location information, it reassigns the UE access code according to the UE's current location information, and synchronizes the reassigned UE access code to the call execution point UE, or the gsmSCF and the UE. The method of the present invention realizes timely reallocation of UE access codes according to UE location information and updates UE current access codes, ensures that VMSC can identify UE access codes, and enables UE to successfully switch to IMS during CS calls, increasing the number of UE access codes. UE satisfaction and enhanced network reliability.
Description
技术领域 technical field
本发明涉及跨域呼叫技术,尤指用户终端(UE)处于漫游状态下,一种更新用户终端接入码的方法及装置。The invention relates to a cross-domain call technology, in particular to a method and a device for updating an access code of a user terminal (UE) when the user terminal (UE) is in a roaming state.
背景技术 Background technique
从第三代合作伙伴版本5(3GPP R5)开始,通用移动通信系统(UMTS)的核心网就被划分为三个子系统:电路交换(CS)、分组交换(PS)以及IP多媒体子系统(IMS)。其中,CS域(Circuit Switched Domain)用于向用户提供电路型业务的连接,包括移动交换中心(MSC)、GMSC、互操作功能(IWF)模块几个主要实体,MSC(MSC Server/CS-MGW)用于完成电路交换型业务的交换和信令控制功能;GMSC是某一网络中完成移动用户路由寻址功能的MSC,可与MSC合设或分设;IWF一般与MSC紧密相关,用于完成公用陆地移动通信网(PLMN)与综合业务数字网(ISDN)、公共交换通信网(PSTN)、分组数据网(PDN)之间的互通,主要完成信令转换功能,具体功能根据业务和网络种类不同而规定。Starting from the 3rd Generation Partnership Release 5 (3GPP R5), the core network of the Universal Mobile Telecommunications System (UMTS) is divided into three subsystems: Circuit Switching (CS), Packet Switching (PS) and IP Multimedia Subsystem (IMS). ). Among them, the CS domain (Circuit Switched Domain) is used to provide users with circuit-type service connections, including several main entities such as Mobile Switching Center (MSC), GMSC, and Interoperability Function (IWF) modules, MSC (MSC Server/CS-MGW ) is used to complete the switching and signaling control functions of circuit-switched services; GMSC is an MSC that completes the routing addressing function of mobile users in a certain network, and can be set up together or separately with MSC; IWF is generally closely related to MSC and is used to complete Intercommunication between Public Land Mobile Network (PLMN) and Integrated Services Digital Network (ISDN), Public Switched Communication Network (PSTN), and Packet Data Network (PDN) mainly completes the function of signaling conversion, and the specific function depends on the type of business and network Differently stipulated.
PS域(Packet Switched Domain)用于向用户提供分组型业务的连接,包括:GPRS支持节点(GSN)和边界网关(BG)两类实体,其中,GSN用于完成分组业务用户分组包的传送,GSN又包括服务GPRS支持节点(SGSN)和网关GPRS支持节点(GGSN),SGSN提供核心网与无线接入系统中BSS、RNS的连接,完成分组型数据业务的移动性管理、会话管理等功能,管理移动台(MS)在移动网络内的移动和通信业务;GGSN作为移动通信系统与其它公用数据网之间的接口,同时还具有查询位置信息的功能,SGSN、GGSN均能提供计费信息。BG用于完成两GPRS网络间的互通,保证网络互通的安全性。PS domain (Packet Switched Domain) is used to provide users with packet-based service connections, including: GPRS support node (GSN) and border gateway (BG) two types of entities, wherein, GSN is used to complete the transmission of packet service user packets, GSN also includes Serving GPRS Support Node (SGSN) and Gateway GPRS Support Node (GGSN). SGSN provides the connection between the core network and the BSS and RNS in the wireless access system, and completes functions such as mobility management and session management of packet data services. Manage the mobile and communication services of mobile stations (MS) in the mobile network; GGSN serves as the interface between the mobile communication system and other public data networks, and also has the function of querying location information. Both SGSN and GGSN can provide billing information. The BG is used to complete the intercommunication between the two GPRS networks to ensure the security of the network intercommunication.
除此之外,CS域和PS域还共用以下功能实体:HLR/AuC,归属位置寄存器(HLR)用于完成用户签约数据和位置信息的管理,其中,用户签约数据包括MSISDN、IMSI、PDP ADDRESS、签约的电信业务和补充业务及其业务的适用范围等等,位置信息包括MSRN、MSC/VLR号、SGSN号、GMLC等等;认证中心(AuC)则用于存储用户的鉴权算法和密钥。拜访位置寄存器(VLR),用于处理拜访用户的各种数据信息;EIR,用于存储用户设备标识(IMEI)信息;还有短消息中心网关MSC(SMS-GMSC/SMS IMSC)等等。In addition, the CS domain and the PS domain also share the following functional entities: HLR/AuC, Home Location Register (HLR) is used to complete the management of user subscription data and location information, where user subscription data includes MSISDN, IMSI, PDP ADDRESS , contracted telecommunication services and supplementary services and their scope of application, etc., location information includes MSRN, MSC/VLR number, SGSN number, GMLC, etc.; Authentication Center (AuC) is used to store user authentication algorithms and passwords key. Visitor location register (VLR), used to process various data information of visiting users; EIR, used to store user equipment identification (IMEI) information; and short message center gateway MSC (SMS-GMSC/SMS IMSC) and so on.
IMS(IP Multimedia Subsystem)是3GPP R5阶段增加的WCDMA网络中叠加在已有分组域之上的一个子系统,采用分组域为其上层控制信令和媒体传输的承载通道,引入起始会话协议(SIP)作为业务控制协议,利用SIP简单、易扩展、媒体组合方便的特点,通过将业务控制与承载控制分离,提供丰富的多媒体业务。IMS中主要的功能实体包括控制用户注册、会话控制等功能的呼叫会话控制功能实体(CSCF)、提供各种业务逻辑控制功能的应用服务器(AS)、集中管理用户签约数据的归属用户服务器(HSS)以及用于实现与电路交换网互通的媒体网关控制功能/IP多媒体-媒体网关功能(MGCF/IM-MGW)。用户通过当前所在地的代理CSCF(P-CSCF)接入IMS,会话和业务的触发控制以及与AS的业务控制交互,则由用户注册地的归属域服务CSCF(S-CSCF)完成。其中,IMS中的HSS是HLR的超集,功能上能兼容HLR,但在具体组网中,HSS与CS/PS的HLR一般是分设的。IMS (IP Multimedia Subsystem) is a subsystem superimposed on the existing packet domain in the WCDMA network added in the 3GPP R5 stage. The packet domain is used as the bearer channel for upper layer control signaling and media transmission, and the initial session protocol ( As a service control protocol, SIP provides rich multimedia services by separating service control from bearer control by utilizing the features of SIP, which are simple, easy to expand, and convenient for media combination. The main functional entities in IMS include Call Session Control Function (CSCF) which controls functions such as user registration and session control, Application Server (AS) which provides various business logic control functions, and Home Subscriber Server (HSS) which centrally manages user subscription data. ) and the Media Gateway Control Function/IP Multimedia-Media Gateway Function (MGCF/IM-MGW) for interworking with the circuit switched network. The user accesses the IMS through the proxy CSCF (P-CSCF) at the current location, and the trigger control of sessions and services and the service control interaction with the AS are completed by the home domain serving CSCF (S-CSCF) at the user registration location. Among them, the HSS in the IMS is a superset of the HLR and is functionally compatible with the HLR. However, in a specific networking, the HSS and the HLR of the CS/PS are generally set separately.
由3GPP标准所定义的IMS架构全面解决了IP承载下提供多媒体业务所需解决的漫游计费、QoS、安全保障等关键的可运营问题,其架构和思路已获得业界公认,3GPP2、TISPAN均以3GPP模型作为基础和参照进行了相应IP多媒体网络架构和业务体系的定义,3GPP也已开始了针对WLAN接入与UMTS互通(I-WLAN)、固定宽带接入IMS(FBI)以及面向多种接入技术的全IP网(AIPN)等课题的研究,使用户可以根据自身的签约信息,通过单一的多模终端或多种类型不同的终端经由采用不同接入技术的接入网络接入IMS,以获得统一的包括VoIP业务在内的多媒体业务。在针对通过不同接入网络接入IMS的课题研究过程中,提出了有关CS呼叫与通过WLAN接入IMS提供的VoIP业务之间业务连续性(VCC,Voice Call Continuity)的问题,进而提出了解决在用户作为被叫时CS/IMS域间路由选择的问题,以适应网络及业务发展的需求。The IMS architecture defined by the 3GPP standard comprehensively solves the key operational issues such as roaming billing, QoS, and security guarantees required to provide multimedia services under the IP bearer. Its architecture and ideas have been recognized by the industry. 3GPP2 and TISPAN are both The 3GPP model is used as the basis and reference to define the corresponding IP multimedia network architecture and service system. The research on topics such as the all-IP network (AIPN) of access technology enables users to access IMS through a single multi-mode terminal or multiple types of terminals through access networks using different access technologies according to their own subscription information. In order to obtain unified multimedia services including VoIP services. In the process of research on the topic of accessing IMS through different access networks, the problem of business continuity (VCC, Voice Call Continuity) between CS calls and VoIP services provided by accessing IMS through WLAN was raised, and a solution was proposed The issue of CS/IMS inter-domain routing selection when the user is called is to meet the needs of network and business development.
目前,为了使UE能够在CS呼叫中切换至IMS,当前切换方案规定:当UE处于CS呼叫时,将其控制部分驻留在IMS;另外,当UE在呼叫过程中从IMS切换到CS域时,需要由UE的CS部分呼叫连续性控制功能的公共服务身份(CCCF PSI),从而执行切换。At present, in order to enable the UE to switch to IMS during a CS call, the current handover scheme stipulates that: when the UE is in a CS call, its control part resides in the IMS; in addition, when the UE switches from the IMS to the CS domain during the call , the public service identity (CCCF PSI) of the Call Continuity Control Function (CCCF PSI) is required by the CS part of the UE to perform the handover.
对于CS初始呼叫情况,当CS-IMS用户发起CS建立,需要路由到用户的归属IMS的CCCF,从而触发CCCF上的路由背靠背用户代理(B2BUA)功能,控制该CS呼叫的承载平面。对于该目的的实现,现有下面几种实现方案:For the case of CS initial call, when CS-IMS user initiates CS establishment, it needs to be routed to the CCCF of the user's home IMS, thereby triggering the routing back-to-back user agent (B2BUA) function on the CCCF to control the bearer plane of the CS call. For the realization of this purpose, there are several implementation schemes as follows:
方案一:UE的CS部分通过建立(Setup)消息向拜访移动交换中心(VMSC)发送呼叫建立请求,VMSC根据用户移动网络增强定制服务逻辑(CAMEL)签约信息,触发Initial DP消息到具有网络域选择功能(NeDS)的gsm业务控制功能(gsmSCF)实体上,NeDS通过CAMEL connect消息向VMSC下发一个指向IMS中的CCCF的IMS路由号码(IMRN),IMRN中携带CCCF PSI信息,VMSC根据接收到的CCCF PSI将呼叫通过起始地址(IAM)消息路由至IMS域的MGCF,MGCF根据IAM消息中携带的所述IMRN将呼叫发送至CCCF,从而激活CCCF中CS初始静态锚点业务,此时CCCF作为静态锚点将呼叫锚定,即后续主叫用户无论发生CS域至IMS域的切换或IMS域至CS域的切换,都由该静态锚点对锚定的呼叫进行切换处理。Solution 1: The CS part of the UE sends a call setup request to the Visited Mobile Switching Center (VMSC) through a Setup message, and the VMSC triggers an Initial DP message to the network-domain selection On the gsm service control function (gsmSCF) entity of NeDS, NeDS sends an IMS routing number (IMRN) pointing to CCCF in IMS to VMSC through CAMEL connect message, and IMRN carries CCCF PSI information, and VMSC according to the received The CCCF PSI routes the call to the MGCF in the IMS domain through the initial address (IAM) message, and the MGCF sends the call to the CCCF according to the IMRN carried in the IAM message, thereby activating the initial static anchor service of the CS in the CCCF. At this time, the CCCF acts as The static anchor point anchors the call, that is, no matter the subsequent caller switches from the CS domain to the IMS domain or from the IMS domain to the CS domain, the static anchor point performs switching processing on the anchored call.
方案二:UE将自身保存的指向IMS AS CCCF的PSI转换为E.164号码格式的呼叫号码,并向VMSC发送呼叫建立请求,从而将呼叫路由至位于AS中的CCCF。同时使用非结构化补充业务数据(USSD)机制,将真实被叫方号码,被叫方子地址,以及任何其它需要完成呼叫到被叫方的信息发送到AS中的CCCF,触发AS中CS初始静态锚点业务。Solution 2: UE converts the PSI stored by itself pointing to the IMS AS CCCF into a call number in the E.164 number format, and sends a call establishment request to the VMSC, thereby routing the call to the CCCF located in the AS. At the same time, the unstructured supplementary service data (USSD) mechanism is used to send the real called party number, called party subaddress, and any other information that needs to complete the call to the called party to the CCCF in the AS, triggering the CS initialization in the AS Static anchor business.
方案三:UE将自身保存的指向IMS AS CCCF的PSI转换为E.164号码格式的呼叫号码,并向VMSC发送呼叫建立请求,从而将呼叫路由至位于AS中的CCCF。同时使用SIP通知(Notify)机制,将真实被叫方号码,被叫方子地址,以及任何其它需要完成呼叫到被叫方的信息发送到AS中的CCCF,触发AS中CS初始静态锚点业务。Solution 3: The UE converts the PSI pointing to the IMS AS CCCF stored by itself into a call number in the E.164 number format, and sends a call establishment request to the VMSC, thereby routing the call to the CCCF located in the AS. At the same time, the SIP notification (Notify) mechanism is used to send the real called party number, called party subaddress, and any other information that needs to complete the call to the called party to CCCF in the AS, triggering the CS initial static anchor service in the AS .
方案四:UE使用自身内部已配置好的前缀号码,配合被叫信息参数,组成被叫号码,向VMSC发送呼叫建立请求。VMSC根据这些号码进行号码分析,从而将呼叫路由至位于AS中的CCCF,触发AS中CS初始静态锚点业务。需要说明的是:UE使用自身内部已配置好的前缀号码,该前缀号码与上述AS PSI或E.164号码存在对应关系。Solution 4: The UE uses its internally configured prefix number, cooperates with the called information parameters to form a called number, and sends a call establishment request to the VMSC. The VMSC performs number analysis based on these numbers, so as to route the call to the CCCF located in the AS, and trigger the initial static anchor service of the CS in the AS. It should be noted that: the UE uses its internally configured prefix number, which has a corresponding relationship with the above-mentioned AS PSI or E.164 number.
除此之外,对于UE在呼叫过程中从IMS切换到CS域的情况,UE的CS部分按照正常呼叫流程向VMSC发送呼叫建立请求,呼叫建立请求中携带的被叫号码是AS PSI对应的E.164号码,其中,CCCF位于IMS的AS中。VMSC收到该呼叫请求后,根据该E.164号码,将该呼叫路由到用户归属IMS网络的AS中的CCCF,从而执行相应的切换过程。In addition, when the UE switches from the IMS to the CS domain during the call process, the CS part of the UE sends a call establishment request to the VMSC according to the normal call flow, and the called number carried in the call establishment request is the E number corresponding to the AS PSI. .164 number, where the CCCF is located in the AS of the IMS. After receiving the call request, the VMSC routes the call to the CCCF in the AS of the user's home IMS network according to the E.164 number, thereby performing a corresponding handover process.
需要说明的是:上述PSI就是AS的PSI,以下称为AS PSI。另外,一个E.164号码对应一个AS PSI,不同的MSC/VLR对应不同的E.164号码或AS PSI,下文将E.164号码或AS PSI称为接入码,且将与UE相关的接入码称为UE接入码。It should be noted that the above-mentioned PSI is the PSI of the AS, hereinafter referred to as the AS PSI. In addition, one E.164 number corresponds to one AS PSI, and different MSCs/VLRs correspond to different E.164 numbers or AS PSIs. The E.164 numbers or AS PSIs are referred to as access codes below, and the access codes related to UE The input code is called UE access code.
从上述方案可见,现有技术中UE在CS域使用E.164号码格式向MSC/VLR进行呼叫,对于UE处于漫游情况时,根据各个国家或者地区不同,VMSC可能采用不同的接入号码,比如对于火警,在中国是119,在美国可能是911,当UE漫游并附着在VMSC中时,必须使用当地VMSC能够识别的接入号码接入所需业务;VMSC中用于进行路由分析的接入码是基于当地的编号与路由规划预先配置,且无法实时动态调整的,这些数据是运营商所掌握的信息,而现有解决UE在CS域与IMS间切换的方案中,没有根据UE所在位置及时更新UE接入码的机制,这样,很可能会出现由于UE中的接入码与VMSC中的接入码不一致,导致VMSC不能识别UE所使用的接入码,如E.164号码或AS PSI,从而不能为会话进行正确路由的问题,出现UE在CS呼叫中切换至IMS的失败。It can be seen from the above solution that in the prior art, the UE uses the E.164 number format in the CS domain to call the MSC/VLR. When the UE is roaming, the VMSC may use different access numbers depending on the country or region, such as For the fire alarm, it is 119 in China, and it may be 911 in the United States. When the UE roams and attaches to the VMSC, it must use the access number recognized by the local VMSC to access the required services; the access in the VMSC is used for routing analysis The code is pre-configured based on local numbering and routing planning, and cannot be dynamically adjusted in real time. These data are information held by the operator, and the existing solutions for UE handover between the CS domain and the IMS are not based on the location of the UE. The mechanism of updating the UE access code in time, in this way, it is very likely that the VMSC cannot recognize the access code used by the UE, such as the E.164 number or the AS number, because the access code in the UE is inconsistent with the access code in the VMSC. PSI, so that the problem of not being able to perform correct routing for the session occurs, and the UE fails to handover to the IMS during a CS call.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种更新UE接入码的方法,能够及时重分配并更新UE接入码,保证VMSC能够识别UE接入码,使UE能够在CS呼叫中成功切换至IMS。In view of this, the main purpose of the present invention is to provide a method for updating the UE access code, which can reallocate and update the UE access code in time, ensure that the VMSC can identify the UE access code, and enable the UE to successfully switch in the CS call to IMS.
本发明另一目的在于提供一种更新UE接入码的装置,能够及时重分配并更新UE接入码,保证VMSC能够识别UE接入码,使UE能够在CS呼叫中成功切换至IMS。Another object of the present invention is to provide a device for updating UE access codes, which can reallocate and update UE access codes in time, ensure that VMSC can identify UE access codes, and enable UE to successfully switch to IMS during a CS call.
为达到上述目的,本发明的技术方案具体是这样实现的:In order to achieve the above object, the technical solution of the present invention is specifically realized in the following way:
一种更新用户终端接入码的方法,设置用于重新分配用户终端UE接入码的重分配逻辑模块,并在其中预设UE位置信息与UE接入码的对应关系,设置用于判断是否重分配新的UE接入码的重分配判断模块,该方法包括以下步骤:A method for updating user terminal access codes. A reassignment logic module for reassigning user terminal UE access codes is set, and the corresponding relationship between UE location information and UE access codes is preset in it, and is set for judging whether The reallocation judging module of reallocating new UE access code, the method comprises the following steps:
A11.所述重分配判断模块从UE位置更新过程中的位置更新响应消息中获取所述更新指示信息;所述UE位置更新过程包括:A11. The reallocation judgment module acquires the update instruction information from the location update response message in the UE location update process; the UE location update process includes:
a.UE所属MSC/VLR将UE当前位置信息携带在位置更新请求消息中,重分配判断模块接收所述位置更新请求消息,并获取该消息中携带的所述UE当前位置信息后,将该位置更新请求消息转发给归属位置寄存器HLR;a. The MSC/VLR to which the UE belongs carries the current location information of the UE in the location update request message, and the reallocation judgment module receives the location update request message, and obtains the current location information of the UE carried in the message, The update request message is forwarded to the home location register HLR;
b.HLR从接收到的所述位置更新请求消息中获取所述UE当前位置信息,判断位置更新是否成功后,生成并保存指示位置更新是否成功的更新指示信息并携带在位置更新响应消息中,重分配判断模块接收所述位置更新响应消息,并获取该消息中携带的所述更新指示信息后,将该位置更新响应消息转发给所述UE所属MSC/VLR;b. The HLR obtains the current location information of the UE from the received location update request message, and after judging whether the location update is successful, generates and saves update indication information indicating whether the location update is successful and carries it in the location update response message, The reallocation judgment module receives the location update response message, and after obtaining the update indication information carried in the message, forwards the location update response message to the MSC/VLR to which the UE belongs;
A12.若所述更新指示信息显示更新成功,所述重分配判断模块从UE位置更新过程中的位置更新请求消息中获取所述UE当前位置信息并发送给所述重分配逻辑模块;A12. If the update indication information shows that the update is successful, the reallocation judging module obtains the current location information of the UE from the location update request message in the UE location update process and sends it to the reallocation logic module;
B.所述重分配逻辑模块根据UE当前位置信息及预设对应关系,为所述UE重新分配新的UE接入码;B. The reassignment logic module reassigns a new UE access code to the UE according to the current location information of the UE and the preset corresponding relationship;
C.所述重分配逻辑模块将重新分配的UE接入码发送至呼叫执行点,呼叫执行点用接收到的UE接入码更新自身已有的UE接入码。C. The reallocation logic module sends the reallocated UE access code to the call execution point, and the call execution point updates its existing UE access code with the received UE access code.
所述重分配判断模块和重分配逻辑模块所属实体同为STP。The entities to which the reallocation judging module and the reallocation logic module belong are both STPs.
步骤A12中所述重分配判断模块将UE当前位置信息发送给重分配逻辑模块的方法为:重分配判断模块复制接收到的位置更新请求消息并发送给重分配逻辑模块;The method for the reallocation judgment module in step A12 to send UE current location information to the reallocation logic module is as follows: the reallocation judgment module copies the received location update request message and sends it to the reallocation logic module;
或将所述获取的UE当前位置信息携带在自定义消息中发送给重分配逻辑模决。Or carry the acquired current location information of the UE in a custom message and send it to the reallocation logic module.
所述重分配判断模块所属实体为STP;所述重分配逻辑模块所属实体为HSS或IMS AS。The entity to which the reallocation judging module belongs is STP; the entity to which the reallocation logic module belongs is HSS or IMS AS.
所述步骤A11和步骤A12为:Described step A11 and step A12 are:
在UE位置更新过程中,MSC/VLR接收到来自HLR的位置更新响应消息,且判定该位置更新响应消息中携带的指示位置更新是否成功的更新指示信息显示为更新成功后,经SGSN将携带自身MSC/VLR的临时移动用户标识MSC/VLR TMSI的位置更新接受消息并发送给UE;During the UE location update process, the MSC/VLR receives the location update response message from the HLR, and determines that the update indication information carried in the location update response message indicating whether the location update is successful is displayed as a successful update, and the SGSN will carry its own MSC/VLR Temporary Mobile Subscriber Identity MSC/VLR TMSI accepts the location update message and sends it to UE;
UE接收到位置更新接受消息后,设置位置变化标识并发送给所述重分配判断模块;After receiving the location update acceptance message, the UE sets a location change identifier and sends it to the reallocation judgment module;
所述重分配判断模块接收到表示UE当前所属MSC/VLR已发生变化的位置变化标识后,获取UE当前位置信息并发送给所述重分配逻辑模块。After receiving the location change identifier indicating that the MSC/VLR to which the UE currently belongs has changed, the reallocation judging module obtains the current location information of the UE and sends it to the reallocation logic module.
所述UE将位置变化标识发送给所述重分配判断模块的方法为:UE将设置好的位置变化标识携带在非结构化补充业务数据USSD中发送给重分配判断模块。The method for the UE to send the location change identifier to the reassignment judging module is as follows: the UE carries the set location change identifier in the unstructured supplementary service data USSD and sends it to the reassignment judging module.
该方法之前还包括:UE按照协议在IMS已进行注册,并与IMS AS已进行双向事件订阅;The method also includes before: the UE has registered with the IMS according to the agreement, and has subscribed to two-way events with the IMS AS;
所述重分配判断模块接收所述位置变化标识的方法为:在UE位置更新过程中,UE收到位置更新接受消息后,设置位置变化标识并发送给所述重分配判断模块。The method for the reallocation judging module to receive the location change identifier is as follows: during the UE location update process, after receiving the location update acceptance message, the UE sets the location change identifier and sends it to the reallocation judging module.
所述UE将位置变化标识发送给所述重分配判断模块的方法为:根据所述已订阅的双向事件,触发UE将设置好的位置变化标识携带在SIP通知消息或SIP发布消息中,发送给重分配判断模块。The method for the UE to send the location change identifier to the reallocation judgment module is: according to the subscribed two-way event, the UE is triggered to carry the set location change identifier in a SIP notification message or a SIP release message, and send it to Redistribute judgment module.
所述重分配判断模块获取UE当前位置信息并发送给所述重分配逻辑模块的方法为:The method for the reallocation judging module to acquire UE current location information and send it to the reallocation logic module is:
I.重分配判断模块将预设的所述UE对应的国际移动用户标识IMSI携带在ATI消息中发送给HLR;1. the redistribution judgment module carries the preset international mobile subscriber identity IMSI corresponding to the UE in the ATI message and sends it to the HLR;
II.HLR查询与所述IMSI对应的UE当前位置信息,并将该UE当前位置信息携带在ATI_ack消息中发送给重分配判断模块,若重分配判断模检查接收到的UE当前位置信息与已存储在本地的UE位置信息不一致,则重分配判断模块将发送给重分配逻辑模块。II.HLR queries the UE current location information corresponding to the IMSI, and carries the UE current location information in the ATI_ack message and sends it to the reallocation judgment module. If the reallocation judgment module checks the received UE current location information and the stored If the local UE location information is inconsistent, the reallocation judging module will send it to the reallocation logic module.
所述步骤A11和步骤A12为:当重分配判断模块获知UE已成功注册时,重分配判断模块将预设的所述UE对应的国际移动用户标识IMSI携带在ATI消息中发送给HLR;The steps A11 and A12 are: when the reallocation judging module knows that the UE has successfully registered, the reallocation judging module carries the preset international mobile subscriber identity IMSI corresponding to the UE in the ATI message and sends it to the HLR;
HLR查询与所述IMSI对应的UE当前位置信息,并将该UE当前位置信息携带在ATI_ack消息中发送给重分配判断模块,若重分配判断模检查接收到的UE当前位置信息与已存储在本地的UE位置信息不一致,则重分配判断模块将发送给重分配逻辑模块。The HLR queries the UE current location information corresponding to the IMSI, and carries the UE current location information in the ATI_ack message and sends it to the reallocation judgment module. If the reallocation judgment module checks that the received UE current location information is the same If the UE location information is inconsistent, the reallocation judgment module will send it to the reallocation logic module.
所述重分配判断模块和重分配逻辑模块所属实体同为STP,或HSS,或IMS AS。The entities to which the reallocation judging module and the reallocation logic module belong are both STP, or HSS, or IMS AS.
步骤B中所述重分配逻辑模块重新分配新的UE接入码的方法为:重分配逻辑模块根据所述接收到的UE当前位置信息,选择自身预设的与UE当前位置信息一致的UE位置信息对应的接入码,作为重新分配的UE接入码。The method for reassigning a new UE access code by the reassignment logic module in step B is as follows: the reassignment logic module selects its own preset UE location that is consistent with the UE current location information according to the received UE current location information The access code corresponding to the information is used as the reassigned UE access code.
步骤C中所述将UE接入码发送至呼叫执行点的方法为:重分配逻辑模块将重新分配得到的UE接入码携带在USSD中,经由MSC/VLR转发给所述呼叫执行点;The method for sending the UE access code to the call execution point in step C is: the reallocation logic module carries the reallocated UE access code in the USSD, and forwards it to the call execution point via MSC/VLR;
或重分配逻辑模块将重新分配得到的UE接入码携带在SIP通知消息中发送给所述呼叫执行点;Or the redistribution logic module carries the redistributed UE access code in a SIP notification message and sends it to the call execution point;
或重分配逻辑模块将重新分配得到的UE接入码携带在SIP公布消息中发送给所述呼叫执行点。Or the reallocation logic module carries the reallocated UE access code in the SIP publish message and sends it to the call execution point.
所述携带在USSD中的UE接入码为E.164号码;所述携带在SIP通知消息或SIP公布消息中的UE接入码为AS PSI。The UE access code carried in the USSD is an E.164 number; the UE access code carried in the SIP notification message or the SIP announcement message is AS PSI.
所述呼叫执行点为UE。The call execution point is UE.
所述步骤A11和步骤A12为:Described step A11 and step A12 are:
当UE需要建立呼叫时,UE的CS部分通过建立Setup消息向自身所属VMSC发送呼叫建立请求,该VMSC根据预设CAMEL签约信息,触发携带UE当前位置信息的初始Initial DP消息发送到具有NeDS功能的重分配判断模块;When the UE needs to establish a call, the CS part of the UE sends a call establishment request to the VMSC to which it belongs through the Setup message, and the VMSC triggers the initial Initial DP message carrying the current location information of the UE to the NeDS-capable NeDS according to the preset CAMEL subscription information. Redistribution judgment module;
所述重分配判断模块接收到UE当前位置信息,并判定该UE当前位置信息与自身存储的UE位置信息不一致后,将UE当前位置信息发送给所述重分配逻辑模块。The reallocation judging module receives the UE current location information, and after judging that the UE current location information is inconsistent with its own stored UE location information, sends the UE current location information to the reallocation logic module.
所述重分配判断模块和重分配逻辑模块所属实体同为gsmSCF。The entities to which the reallocation judging module and the reallocation logic module belong are both gsmSCF.
所述重分配判断模块通过已有同步机制将所述Initial DP消息中携带的UE当前位置信息发送给所述重分配逻辑模块。The reallocation judging module sends the UE current location information carried in the Initial DP message to the reallocation logic module through an existing synchronization mechanism.
所述重分配判断模块所属实体为gsmSCF;所述重分配逻辑模块所属实体为IMS AS。The entity to which the reallocation judging module belongs is gsmSCF; the entity to which the reallocation logic module belongs is IMS AS.
所述gsmSCF与IMS AS合设或分设。The gsmSCF is co-established or separately established with the IMS AS.
所述UE当前位置信息为UE当前所属MSC/VLR的MSC/VLR号或UE当前所属VMSC的VMSC号。The current location information of the UE is the MSC/VLR number of the MSC/VLR to which the UE currently belongs or the VMSC number of the VMSC to which the UE currently belongs.
步骤B中所述重分配逻辑模块重新分配新的UE接入码的方法为:重分配逻辑模块根据所述接收到的UE当前位置信息,选择自身预设的与UE当前位置信息一致的UE位置信息对应的接入码,作为重新分配的UE接入码。The method for reassigning a new UE access code by the reassignment logic module in step B is as follows: the reassignment logic module selects its own preset UE location that is consistent with the UE current location information according to the received UE current location information The access code corresponding to the information is used as the reassigned UE access code.
步骤C中所述将UE接入码发送至呼叫执行点的方法为:重分配逻辑模块将重新分配得到的UE接入码携带在USSD中,经由所述VMSC转发给第一呼叫执行点;或重分配逻辑模块将重新分配得到的UE接入码携带在SIP公布消息中发送给第一呼叫执行点;The method for sending the UE access code to the call execution point in step C is: the reallocation logic module carries the reallocated UE access code in the USSD, and forwards it to the first call execution point via the VMSC; or The redistribution logic module carries the redistributed UE access code in the SIP announcement message and sends it to the first call execution point;
当重分配逻辑模块与重分配判断模块所属实体不同时,重分配逻辑模块还通过已有同步机制将重新分配得到的UE接入码发送给第二呼叫执行点。When the reassignment logic module is different from the entity to which the reassignment judging module belongs, the reassignment logic module also sends the reassigned UE access code to the second call execution point through the existing synchronization mechanism.
所述第一呼叫执行点为UE;所述第二呼叫执行点为gsmSCF。The first call execution point is UE; the second call execution point is gsmSCF.
所述携带在USSD中的UE接入码为E.164号码;所述携带在SIP通知消息或SIP公布消息中的UE接入码为AS PSI。The UE access code carried in the USSD is an E.164 number; the UE access code carried in the SIP notification message or the SIP announcement message is AS PSI.
若重分配逻辑模块根据需要已更新IMS AS,在所述步骤A之前,该方法还包括:所述重分配逻辑模块重分配IMS AS。If the reallocation logic module has updated the IMS AS as required, before the step A, the method further includes: the reallocation logic module reallocates the IMS AS.
所述重分配逻辑模块重分配IMS AS的方法为:重分配逻辑模块根据用户在IMS的注册状态重分配IMS AS,The method for redistributing the IMS AS by the redistribution logic module is: the redistribution logic module redistributes the IMS AS according to the registration status of the user in the IMS,
若UE在IMS未注册,则HSS根据更新了的AS更新自身初始过滤准则iFC数据;If the UE is not registered in the IMS, the HSS updates its own initial filtering criterion iFC data according to the updated AS;
若UE在IMS已注册,而且该UE的VCC业务在IMS未被占用,则IMS AS将UE的用户标识和iFC数据携带在Profile-Update-Request消息中,并将该消息发送给HSS,HSS根据Profile-Update-Request消息中携带的UE的用户标识和iFC数据更新自身iFC数据;然后HSS将UE的用户标识和iFC数据携带在Push-Profile-Request消息中,并发送给S-CSCF,S-CSCF根据该Profile-Update-Request消息中携带的UE的用户标识和iFC数据更新自身对应当前用户的iFC数据。If the UE is registered in IMS, and the VCC service of the UE is not occupied in IMS, the IMS AS will carry the user ID and iFC data of the UE in the Profile-Update-Request message, and send the message to the HSS, and the HSS will The UE's user ID and iFC data carried in the Profile-Update-Request message update its own iFC data; then the HSS carries the UE's user ID and iFC data in the Push-Profile-Request message and sends it to the S-CSCF, S- The CSCF updates its own iFC data corresponding to the current user according to the user identifier and iFC data of the UE carried in the Profile-Update-Request message.
若UE在IMS已注册,且该UE的VCC业务在IMS已被占用,则IMS AS设置用于表示暂缓重新分配IMS AS的暂缓标志,同时,所述所述重分配逻辑模块禁止将所述重分配得到的UE接入码发送至呼叫执行点,直到VCC业务结束后取消暂缓标志。If the UE has registered in the IMS, and the VCC service of the UE has been occupied in the IMS, the IMS AS sets a suspension flag indicating that the reallocation of the IMS AS is suspended, and at the same time, the reallocation logic module prohibits the reallocation of the The assigned UE access code is sent to the call execution point until the suspension flag is canceled after the VCC service ends.
步骤C中,所述重分配逻辑模块将重新分配的UE接入码发送至呼叫执行点之前,该方法还包括:In step C, before the reallocation logic module sends the reallocated UE access code to the call execution point, the method also includes:
重分配逻辑模块判断所述重新分配的UE接入码与自身存储的UE接入码是否一致,若不一致,则将重新分配的UE接入码在自身存储后继续执行步骤C;若一致,则结束本发明流程。The reallocation logic module judges whether the redistributed UE access code is consistent with the UE access code stored by itself, if not, then continues to perform step C after storing the redistributed UE access code in itself; if consistent, then End the process of the present invention.
一种更新UE接入码的装置,所述装置包括:用于获取UE当前位置信息的位置信息发送模块;用于重新分配UE接入码的重分配逻辑模块;用于判断是否重分配新的UE接入码的重分配判断模块;以及更新UE接入码的呼叫执行点;A device for updating a UE access code, the device comprising: a location information sending module for acquiring UE current location information; a reallocation logic module for reallocating UE access codes; A redistribution judging module of the UE access code; and a call execution point for updating the UE access code;
所述重分配判断模块从UE位置更新过程中的位置更新响应消息中获取所述更新指示信息;若所述更新指示信息显示更新成功,所述重分配判断模块从UE位置更新过程中的位置更新请求消息中获取所述UE当前位置信息并发送给所述重分配逻辑模块;所述UE位置更新过程包括:UE所属MSC/VLR将UE当前位置信息携带在位置更新请求消息中,重分配判断模块接收所述位置更新请求消息,并获取该消息中携带的所述UE当前位置信息后,将该位置更新请求消息转发给所述HLR;HLR从接收到的所述位置更新请求消息中获取所述UE当前位置信息,判断位置更新是否成功后,生成并保存指示位置更新是否成功的更新指示信息并携带在位置更新响应消息中,重分配判断模块接收所述位置更新响应消息,并获取该消息中携带的所述更新指示信息后,将该位置更新响应消息转发给所述UE所属MSC/VLR;或,The reallocation judging module obtains the update indication information from the location update response message in the UE location updating process; Obtain the current location information of the UE in the request message and send it to the reallocation logic module; the UE location update process includes: the MSC/VLR to which the UE belongs carries the current location information of the UE in the location update request message, and the reallocation judgment module After receiving the location update request message and obtaining the current location information of the UE carried in the message, forward the location update request message to the HLR; the HLR obtains the location update request message from the received location update request message The current location information of the UE, after judging whether the location update is successful, generates and saves the update indication information indicating whether the location update is successful and carries it in the location update response message, and the reallocation judging module receives the location update response message and obtains the After carrying the update indication information, forward the location update response message to the MSC/VLR to which the UE belongs; or,
在UE位置更新过程中,MSC/VLR接收到来自HLR的位置更新响应消息,且判定该位置更新响应消息中携带的指示位置更新是否成功的更新指示信息显示为更新成功后,经SGSN将携带自身MSC/VLR的临时移动用户标识MSC/VLR TMSI的位置更新接受消息并发送给UE;UE接收到位置更新接受消息后,设置位置变化标识并发送给所述重分配判断模块;所述重分配判断模块接收到表示UE当前所属MSC/VLR已发生变化的位置变化标识后,获取UE当前位置信息并发送给所述重分配逻辑模块;或,During the UE location update process, the MSC/VLR receives the location update response message from the HLR, and determines that the update indication information carried in the location update response message indicating whether the location update is successful is displayed as a successful update, and the SGSN will carry its own The location update acceptance message of the temporary mobile subscriber identity MSC/VLR TMSI of MSC/VLR is sent to the UE; after receiving the location update acceptance message, the UE sets the location change identification and sends it to the reallocation judgment module; the reallocation judgment After the module receives the location change identifier indicating that the MSC/VLR to which the UE currently belongs has changed, it obtains the current location information of the UE and sends it to the reallocation logic module; or,
当重分配判断模块获知UE已成功注册时,重分配判断模块将预设的所述UE对应的国际移动用户标识IMSI携带在ATI消息中发送给HLR;HLR查询与所述IMSI对应的UE当前位置信息,并将该UE当前位置信息携带在ATI_ack消息中发送给重分配判断模块,若重分配判断模检查接收到的UE当前位置信息与已存储在本地的UE位置信息不一致,则重分配判断模块将发送给重分配逻辑模块;或,When the reallocation judgment module knows that the UE has successfully registered, the reallocation judgment module carries the preset international mobile subscriber identity IMSI corresponding to the UE in the ATI message and sends it to the HLR; the HLR queries the current location of the UE corresponding to the IMSI information, and carry the UE current location information in the ATI_ack message and send it to the reallocation judgment module. If the reallocation judgment module checks that the received UE current location information is inconsistent with the locally stored UE location information, the reallocation judgment module will be sent to the reallocation logic module; or,
当UE需要建立呼叫时,UE的CS部分通过建立Setup消息向自身所属VMSC发送呼叫建立请求,该VMSC根据预设CAMEL签约信息,触发携带UE当前位置信息的初始Initial DP消息发送到具有NeDS功能的重分配判断模块;所述重分配判断模块接收到UE当前位置信息,并判定该UE当前位置信息与自身存储的UE位置信息不一致后,将UE当前位置信息发送给所述重分配逻辑模块;When the UE needs to establish a call, the CS part of the UE sends a call establishment request to the VMSC to which it belongs through the Setup message, and the VMSC triggers the initial Initial DP message carrying the current location information of the UE to the NeDS-capable NeDS according to the preset CAMEL subscription information. A reallocation judging module; the reallocation judging module receives UE current location information, and after judging that the UE current location information is inconsistent with its own stored UE location information, sends the UE current location information to the reallocation logic module;
所述重分配逻辑模块接收来自位置信息发送模块的UE当前位置信息,根据预设的对应关系及获得的UE当前位置信息为所述UE分配新的UE接入码,并将新的UE接入码发送给所述呼叫执行点,所述呼叫执行点用接收到的UE接入码更新自身已有的UE接入码。The reallocation logic module receives the UE current location information from the location information sending module, allocates a new UE access code for the UE according to the preset corresponding relationship and the obtained UE current location information, and connects the new UE to the UE. The code is sent to the call execution point, and the call execution point uses the received UE access code to update its existing UE access code.
所述重分配逻辑模块中进一步设置有比较模块,用于确定所述新的UE接入码与自身存储的UE接入码是否一致,在不一致时将新的UE接入码发送给所述呼叫执行点。The reallocation logic module is further provided with a comparison module, which is used to determine whether the new UE access code is consistent with the UE access code stored in itself, and send the new UE access code to the caller if they are inconsistent. execution point.
所述呼叫执行点为UE,或者UE和gsmSCF。The call execution point is UE, or UE and gsmSCF.
所述重分配逻辑模块所属实体为HSS,所述重分配判断模块所属实体为HLR;The entity to which the reallocation logic module belongs is HSS, and the entity to which the reallocation judgment module belongs is HLR;
或者所述重分配逻辑模块所属实体为HSS或IMS AS,所述重分配判断模块所属实体为STP;Or the entity to which the reallocation logic module belongs is HSS or IMS AS, and the entity to which the reallocation judgment module belongs is STP;
或者所述重分配逻辑模块所属实体为IMS AS,所述重分配判断模块所属实体为gsmSCF;Or the entity to which the reallocation logic module belongs is IMS AS, and the entity to which the reallocation judgment module belongs is gsmSCF;
或者所述重分配判断模块和重分配逻辑模块所属实体同为gsmSCF;Or the entities to which the reallocation judging module and the reallocation logic module belong are both gsmSCF;
或者所述重分配逻辑模块和重分配判断模块所属实体同为STP,或HSS,或IMS AS。Or the entities to which the reallocation logic module and the reallocation judgment module belong are both STP, or HSS, or IMS AS.
由上述技术方案可见,本发明在用于实现UE接入码重分配的重分配逻辑模块中预设MSC/VLR号与UE接入码的对应关系,当UE发生漫游且AS不变时,在重分配逻辑模块获取UE位置信息后,根据UE当前位置信息重新分配UE接入码,即AS PSI或E.164号码,并将重新分配得到的UE接入码发送至呼叫执行点如UE,或gsmSCF和UE,呼叫执行点根据接收到的UE接入码进行更新。It can be seen from the above technical solution that the present invention presets the corresponding relationship between the MSC/VLR number and the UE access code in the reallocation logic module for redistribution of the UE access code. When the UE roams and the AS remains unchanged, the After the reallocation logic module obtains the UE location information, it re-allocates the UE access code according to the UE current location information, that is, the AS PSI or E.164 number, and sends the re-allocated UE access code to the call execution point such as the UE, or gsmSCF and UE, the call execution point is updated according to the received UE access code.
另外,当UE发生漫游且需要改变AS时,本发明重分配逻辑模块先根据UE在IMS中的状态,重新分配AS,再按照上述根据UE当前位置信息重新分配UE接入码的方法重新分配UE接入码,并将重新分配得到的UE接入码发送至呼叫执行点UE,或gsmSCF和UE,呼叫执行点根据接收到的UE接入码进行更新。In addition, when the UE roams and needs to change the AS, the reassignment logic module of the present invention first reassigns the AS according to the status of the UE in the IMS, and then reassigns the UE according to the above method of reassigning the UE access code based on the current location information of the UE. access code, and send the reassigned UE access code to the call execution point UE, or the gsmSCF and the UE, and the call execution point updates according to the received UE access code.
此外,本发明更新UE接入码的方法中,在重新分配逻辑模块重新分配UE接入码之后,本发明方法还进一步包括:重分配逻辑模块判断当前分配的UE接入码与存储在本地的UE接入码是否一致,若不一致,则继续本发明方法将重分配的UE接入码发送给UE;若一致,则重分配逻辑模块结束本发明流程。In addition, in the method for updating the UE access code of the present invention, after the reallocation logic module reallocates the UE access code, the method of the present invention further includes: the reallocation logic module judges that the currently allocated UE access code is different from the locally stored Whether the UE access code is consistent, if not, continue the method of the present invention to send the reallocated UE access code to the UE; if consistent, the reallocation logic module ends the process of the present invention.
本发明方法重分配逻辑模块根据UE位置信息及时对UE接入码进行重分配,实现了UE当前接入码的更新,保证了UE拜访地的VMSC能够识别出UE接入码,使得UE在CS呼叫中成功切换至IMS,顺利使用VCC业务,增加了用户满意度,增强了网络可靠性。The redistribution logic module of the method of the present invention redistributes the UE access code in time according to the UE location information, realizes the update of the current UE access code, and ensures that the VMSC at the place where the UE visits can identify the UE access code, so that the UE is in CS The call was successfully switched to IMS, and the VCC service was used smoothly, which increased user satisfaction and enhanced network reliability.
附图说明 Description of drawings
图1是本发明更新UE接入号码的流程图;Fig. 1 is a flow chart of updating UE access number in the present invention;
图2是本发明实施例一的流程图;Fig. 2 is a flowchart of Embodiment 1 of the present invention;
图3是本发明实施例二的流程图;Fig. 3 is the flowchart of the second embodiment of the present invention;
图4是本发明实施例四的流程图;FIG. 4 is a flowchart of Embodiment 4 of the present invention;
图5是本发明实施例五的流程图;Fig. 5 is a flowchart of Embodiment 5 of the present invention;
图6是本发明实施例六的流程图;FIG. 6 is a flowchart of Embodiment 6 of the present invention;
图7是本发明实施例七的流程图;FIG. 7 is a flowchart of Embodiment 7 of the present invention;
图8是本发明实施例八的流程图;FIG. 8 is a flow chart of Embodiment 8 of the present invention;
图9是本发明实施例九的流程图;FIG. 9 is a flow chart of Embodiment 9 of the present invention;
图10是本发明实施例十的流程图;Fig. 10 is a flowchart of Embodiment 10 of the present invention;
图11是本发明实施例十一的流程图;Fig. 11 is a flowchart of Embodiment 11 of the present invention;
图12是本发明实施例十二的流程图;Fig. 12 is a flowchart of Embodiment 12 of the present invention;
图13是本发明实施例十三的流程图;Fig. 13 is a flowchart of Embodiment 13 of the present invention;
图14是本发明更新UE接入号码的装置结构示意图。FIG. 14 is a schematic structural diagram of an apparatus for updating a UE access number according to the present invention.
具体实施方式 Detailed ways
本发明的核心思想是:预先设置用于实现UE接入码重分配的重分配逻辑模块,重分配逻辑模块根据获取的UE位置信息重新分配UE接入码,并将重新分配的UE接入码发送至呼叫执行点,呼叫执行点根据接收到的UE接入码进行更新。该方法还进一步预先设置用于判断是否重分配UE接入码的重分配判断模块,在重分配判断模块判定重分配UE接入码后,将UE当前位置信息发送给重分配逻辑模块。The core idea of the present invention is to pre-set a redistribution logic module for redistribution of UE access codes, and the redistribution logic module redistributes UE access codes according to the acquired UE location information, It is sent to the call execution point, and the call execution point updates according to the received UE access code. The method further presets a re-allocation judging module for judging whether to re-allocate the UE access code, and sends UE current location information to the re-allocation logic module after the re-allocation judging module judges to re-allocate the UE access code.
图1是本发明更新UE接入号码的流程图,假设在用于实现UE接入码重分配的重分配逻辑模块中预设不同MSC/VLR号与UE接入码的对应关系,且UE发生漫游而AS未改变的情况下,本发明方法主要包括以下步骤:Figure 1 is a flow chart of updating UE access numbers in the present invention, assuming that the corresponding relationship between different MSC/VLR numbers and UE access codes is preset in the reallocation logic module for realizing UE access code reallocation, and the UE occurs In the case of roaming and AS unchanged, the method of the present invention mainly includes the following steps:
步骤100:重分配逻辑模块获取UE位置信息。Step 100: The reallocation logic module acquires UE location information.
UE位置信息一般由VMSC号决定,若VMSC号发生改变,则说明UE位置发生改变且UE所属MSC/VLR已发生改变。不同MSC/VLR采用不同的MSC/VLR号进行标识,当MSC/VLR处于拜访地时,可将MSC/VLR称为VMSC。The UE location information is generally determined by the VMSC number. If the VMSC number changes, it means that the UE location has changed and the MSC/VLR to which the UE belongs has changed. Different MSC/VLRs are identified by different MSC/VLR numbers. When the MSC/VLR is in a visiting location, the MSC/VLR can be called a VMSC.
按照协议规定,当UE位置发生改变后,将触发位置更新过程:UE当前所属MSC/VLR会向HLR发起携带UE当前所属MSC/VLR的MSC/VLR号的位置更新请求,而HLR在返回MSC/VLR的位置更新响应中会携带指示位置更新是否成功的更新指示信息,若所述更新指示信息显示位置更新成功,则MSC/VLR经SGSN将自身的临时移动用户标识(TMSI)携带在位置更新接受消息中发送给UE,这样,UE可通过接收到的TMSI对应的MSC/VLR接入网络。位置更新过程的具体实现可参见相关协议,这里不再重述。According to the agreement, when the location of the UE changes, the location update process will be triggered: the MSC/VLR to which the UE currently belongs will initiate a location update request to the HLR carrying the MSC/VLR number of the MSC/VLR to which the UE currently belongs, and the HLR will return the MSC/VLR to the HLR. The location update response of the VLR will carry the update instruction information indicating whether the location update is successful. If the update instruction information shows that the location update is successful, the MSC/VLR will carry its own Temporary Mobile Subscriber Identity (TMSI) in the location update acceptance message via the SGSN. In this way, the UE can access the network through the MSC/VLR corresponding to the received TMSI. The specific implementation of the location update process can be found in relevant protocols, and will not be repeated here.
基于上述现有位置更新过程,本发明重分配逻辑模块获取UE位置信息的方法大致分为:Based on the above-mentioned existing location update process, the method for obtaining UE location information by the reallocation logic module of the present invention is roughly divided into:
方法一:用于判断是否重分配UE接入码的重分配判断模块,从位置更新响应消息中获取指示位置更新是否成功的更新指示信息,若所述更新指示信息显示更新成功,则重分配判断模块判定UE所属MSC/VLR已发生变化,并将从位置更新请求消息中获取的MSC/VLR号发送给所述重分配逻辑模块。Method 1: The reassignment judging module for judging whether to reassign the UE access code obtains update indication information indicating whether the location update is successful from the location update response message, and if the update indication information shows that the update is successful, the reassignment judgment The module determines that the MSC/VLR to which the UE belongs has changed, and sends the MSC/VLR number obtained from the location update request message to the reallocation logic module.
方法二:UE接收到位置更新接受消息后,设置表示UE当前所属MSC/VLR已发生变化的位置变化标识,并将设置好的位置变化标识发送给重分配判断模块,之后,重分配判断模块可以从HLR获取UE当前所属MSC/VLR的MSC/VLR号,并将获取的MSC/VLR号发送给所述重分配逻辑模块。Method 2: After receiving the location update acceptance message, the UE sets a location change flag indicating that the MSC/VLR to which the UE currently belongs has changed, and sends the set location change flag to the reassignment judgment module. After that, the reassignment judgment module can The MSC/VLR number of the MSC/VLR to which the UE currently belongs is obtained from the HLR, and the obtained MSC/VLR number is sent to the reallocation logic module.
方法三:当UE需要建立呼叫时,重分配判断模块可以从初始Initial DP消息中获取UE当前所属MSC/VLR的MSC/VLR号,并判定该MSC/VLR号与自身存储的MSC/VLR号不一致后,将获取的MSC/VLR号发送给所述重分配逻辑模块。Method 3: When the UE needs to establish a call, the reallocation judgment module can obtain the MSC/VLR number of the MSC/VLR to which the UE currently belongs from the initial Initial DP message, and determine that the MSC/VLR number is inconsistent with the MSC/VLR number stored by itself After that, send the obtained MSC/VLR number to the reallocation logic module.
其中,重分配判断模块与重分配逻辑模块可位于不同实体中,也可位于同一实体中。当重分配判断模块与重分配逻辑模块可位于不同实体中时,重分配判断模块所属实体为:HLR、gsmSCF或用于拦截MSC/VLR与HLR间位置更新请求消息和位置更新响应消息的重分配判断模块,如CS域信令转接点(STP)等;重分配逻辑模块所属实体为:HSS、IMS AS等。当重分配判断模块与重分配逻辑模块可位于同一实体中时,重分配判断模块与重分配逻辑模块所属实体同为:HSS、STP、HLR、IMS AS、gsmSCF等.Wherein, the reallocation judging module and the reallocation logic module may be located in different entities, or in the same entity. When the reallocation judging module and the reallocation logic module can be located in different entities, the entities to which the reallocation judging module belongs are: HLR, gsmSCF or redistribution for intercepting location update request messages and location update response messages between MSC/VLR and HLR Judgment module, such as CS domain signaling transfer point (STP), etc.; the entities to which the redistribution logic module belongs are: HSS, IMS AS, etc. When the reallocation judgment module and the reallocation logic module can be located in the same entity, the reallocation judgment module and the reallocation logic module belong to the same entity: HSS, STP, HLR, IMS AS, gsmSCF, etc.
具体实现可参见下文实施例一至实施例十二,这里不再详述。For specific implementation, refer to Embodiment 1 to Embodiment 12 below, which will not be described in detail here.
步骤101:重分配逻辑模块根据UE当前位置信息及自身预设信息,重新分配UE接入码。Step 101: The reassignment logic module reassigns the UE access code according to the UE's current location information and its own preset information.
重分配逻辑模块中预设信息有不同MSC/VLR号与UE接入码的对应关系,若重分配逻辑模块接收到的UE当前所属MSC/VLR的MSC/VLR号与自身存储的UE对应的MSC/VLR不一致,则重分配逻辑模块重新分配UE接入码;否则,结束当前处理流程。The preset information in the reallocation logic module has the corresponding relationship between different MSC/VLR numbers and UE access codes. /VLR is inconsistent, then the reassignment logic module reassigns the UE access code; otherwise, ends the current processing flow.
步骤102:重分配逻辑模块将重新分配的UE接入码发送至呼叫执行点,呼叫执行点用接收到的UE接入码更新本地已有UE接入码。Step 102: The reallocation logic module sends the reallocated UE access code to the call execution point, and the call execution point updates the local existing UE access code with the received UE access code.
这里,呼叫执行点为UE,或gsmSCF和UE。Here, the call execution point is UE, or gsmSCF and UE.
需要说明的是,由于实际应用中存在多个MSC/VLR号对应的UE接入码相同,所以,本发明更新UE接入码的方法中,上述步骤在重新分配逻辑模块重新分配UE接入码之后,本发明方法还进一步包括:重分配逻辑模块判断当前分配的UE接入码与存储在本地的UE接入码是否一致,若不一致,则继续本发明方法将重分配的UE接入码发送给UE;若一致,则重分配逻辑模块结束本发明流程。It should be noted that, since multiple MSC/VLR numbers correspond to the same UE access codes in practical applications, in the method for updating UE access codes of the present invention, the above steps re-allocate UE access codes in the reallocation logic module. Afterwards, the method of the present invention further includes: the reallocation logic module judges whether the currently allocated UE access code is consistent with the locally stored UE access code, and if not, continues the method of the present invention to send the reallocated UE access code to the UE; if consistent, the reallocation logic module ends the process of the present invention.
另外,如果重分配逻辑模块根据需要更新了IMS AS,即当UE发生漫游且AS改变的情况下,在上述图1所示步骤100之前,该方法还包括:根据UE在IMS的注册状态,重新分配UE的IMS AS,具体实现包括:In addition, if the reallocation logic module updates the IMS AS as needed, that is, when the UE roams and the AS changes, before
1)如果UE在IMS未注册,则由HSS执行AS重分配操作。1) If the UE is not registered in the IMS, the HSS performs the AS reallocation operation.
2)如果UE在IMS已注册,而且该UE的VCC业务在IMS AS未被占用,则IMS AS执行AS重分配操作。2) If the UE has registered in IMS, and the VCC service of the UE is not occupied in the IMS AS, then the IMS AS performs the AS reallocation operation.
需要说明的是:如果UE在IMS已注册,且该UE的VCC业务在IMS被占用,为了避免在VCC业务中由于改变IMS AS而导致错误处理,IMS AS设置暂缓标志暂缓重新分配IMS AS,相应地,重分配逻辑模块不会将上述重分配得到的UE接入码同步至呼叫执行点。当该UE的VCC业务在IMS AS未被占用是,取消暂缓标志并执行相应AS重分配过程。具体实现可参见下文,这里不再详述。It should be noted that if the UE has registered in IMS and the VCC service of the UE is occupied in IMS, in order to avoid error processing caused by changing the IMS AS in the VCC service, the IMS AS sets the suspend flag to suspend the reallocation of the IMS AS. Therefore, the reallocation logic module will not synchronize the UE access code obtained through the above reallocation to the call execution point. When the VCC service of the UE is not occupied by the IMS AS, cancel the suspension flag and perform the corresponding AS reallocation process. The specific implementation may refer to the following, and will not be described in detail here.
图14是本发明更新UE接入号码的装置结构示意图,从图14可见,本发明更新UE接入码的装置包括:用于获取UE当前位置信息的位置信息发送模块,用于重新分配UE接入码的重分配逻辑模块,以及更新UE接入码的呼叫执行点,重分配逻辑模块接收来自位置信息发送模块的UE当前位置信息,根据预设的对应关系及获得的UE当前位置信息为所述UE分配新的UE接入码,并将新的UE接入码发送给所述呼叫执行点,所述呼叫执行点用接收到的UE接入码更新自身已有的UE接入码。所述呼叫执行点为UE,或者UE和gsmSCF。Fig. 14 is a schematic structural diagram of a device for updating UE access codes in the present invention. It can be seen from Fig. 14 that the device for updating UE access codes in the present invention includes: a location information sending module for obtaining UE current location information, and for reassigning UE access The code-entry redistribution logic module, and the call execution point for updating the UE access code, the redistribution logic module receives the UE current location information from the location information sending module, and according to the preset corresponding relationship and the obtained UE current location information The UE allocates a new UE access code, and sends the new UE access code to the call execution point, and the call execution point uses the received UE access code to update its existing UE access code. The call execution point is UE, or UE and gsmSCF.
该装置还包括:用于判断是否重分配新的UE接入码的重分配判断模块,重分配判断模块接收到UE位置发生变化的信息后,通知所述位置信息发送模块获取UE当前位置信息。The device also includes: a reassignment judging module for judging whether to reassign a new UE access code, and the reassignment judging module notifies the location information sending module to obtain UE current location information after receiving the information that the UE location changes.
另外,重分配逻辑模块中进一步设置有比较模块,用于确定所述新的UE接入码与自身存储的UE接入码是否一致,在不一致时将新的UE接入码发送给所述呼叫执行点。In addition, the redistribution logic module is further provided with a comparison module, which is used to determine whether the new UE access code is consistent with the UE access code stored in itself, and send the new UE access code to the caller if they are inconsistent. execution point.
使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举较佳实施例,对本发明进一步详细说明。To make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and preferred embodiments.
图2是本发明实施例一的流程图,本实施例中,重分配逻辑模块所属实体为HSS,重分配判断模块所属实体为STP,且AS未改变;假设在HSS中预设不同MSC/VLR号与UE接入码的对应关系,UE位置发生了变化,按照协议规定,在MSC/VLR收到UE发送的路由更新请求之后,该方法包括以下步骤:Fig. 2 is a flow chart of Embodiment 1 of the present invention. In this embodiment, the entity to which the redistribution logic module belongs is HSS, the entity to which the redistribution judgment module belongs is STP, and the AS has not changed; assume that different MSCs/VLRs are preset in the HSS The corresponding relationship between the number and the UE access code, and the position of the UE has changed. According to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤200~步骤203:STP拦截MSC/VLR与HLR之间的位置更新请求(MAP_UPDATE_LOCATION)消息和位置更新响应(MAP_UPDATE_LOCATION_ack)消息。Steps 200 to 203: STP intercepts the location update request (MAP_UPDATE_LOCATION) message and location update response (MAP_UPDATE_LOCATION_ack) message between the MSC/VLR and the HLR.
按照协议规定:MAP_UPDATE_LOCATION消息中携带UE当前所属MSC/VLR的MSC/VLR号,即是UE发生位置改变之后的新VMSC号;MAP_UPDATE_LOCATION_ack消息中携带指示位置更新是否成功的更新指示信息:若该更新指示信息显示更新成功,则表明UE本次位置更新成功;若该更新指示信息显示更新失败,则表明UE本次位置更新失败。According to the agreement: the MAP_UPDATE_LOCATION message carries the MSC/VLR number of the MSC/VLR to which the UE currently belongs, that is, the new VMSC number after the UE's location changes; the MAP_UPDATE_LOCATION_ack message carries the update indication information indicating whether the location update is successful: if the update indication If the information shows that the update is successful, it indicates that the current location update of the UE is successful; if the update indication information shows that the update fails, it indicates that the current location update of the UE fails.
步骤204:STP检测到UE位置发生变化后,将拦截到的MAP_UPDATE_LOCATION消息中携带的VMSC号转发给HSS。Step 204: After the STP detects that the location of the UE has changed, it forwards the VMSC number carried in the intercepted MAP_UPDATE_LOCATION message to the HSS.
若STP检测到MAP_UPDATE_LOCATION_ack消息中携带的更新指示信息显示为位置更新成功,则说明UE所属MSC/VLR发生了改变,这时,STP可以通过自定义的消息将VMSC号转发给HSS,也可以复制一份拦截到的MAP_UPDATE_LOCATION消息并转发给HSS。If STP detects that the update indication information carried in the MAP_UPDATE_LOCATION_ack message shows that the location update is successful, it means that the MSC/VLR to which the UE belongs has changed. At this time, STP can forward the VMSC number to the HSS through a customized message, or copy a A copy of the intercepted MAP_UPDATE_LOCATION message is forwarded to the HSS.
本实施例中,STP采用复制拦截到的MAP_UPDATE_LOCATION消息的方法,将所述VMSC号转发给HSS。In this embodiment, the STP forwards the VMSC number to the HSS by copying the intercepted MAP_UPDATE_LOCATION message.
步骤205:HSS根据接收到的VMSC号,及HSS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 205: The HSS reassigns the UE access code according to the received VMSC number and the access codes corresponding to different MSC/VLR numbers preset in the HSS.
一般,如果采用USSD将UE接入码发送给UE时,重新分配的UE接入码指E.164号码;而通过IMS消息将UE接入码发送给UE时,重分配的UE接入码指AS PSI。Generally, if the UE access code is sent to the UE by USSD, the reassigned UE access code refers to the E.164 number; and when the UE access code is sent to the UE through the IMS message, the reassigned UE access code refers AS PSI.
需要说明的是,在重分配逻辑模块中,与不同MSC/VLR号对应的接入码可以是E.164号码,也可以是AS PSI。那么,(1)当重新分配的UE接入码需要是E.164号码时,若重分配逻辑模块存储的接入码是E.164号码,则直接使用即可;若重分配逻辑模块存储的接入码是AS PSI,则重分配逻辑模块将AS PSI转换为E.164号码后再使用。(2)重新分配的UE接入码需要是AS PSI,若重分配逻辑模块存储的接入码是AS PSI,则直接使用即可;若重分配逻辑模块存储的接入码是E1164号码,则重分配逻辑模块将E.164号码转换为AS PSI后再使用。E.164号码与AS PSI之间的对应关系属于现有技术,这里不再赘述。It should be noted that in the reallocation logic module, the access codes corresponding to different MSC/VLR numbers can be E.164 numbers or AS PSI. Then, (1) when the redistributed UE access code needs to be an E.164 number, if the access code stored in the reallocation logic module is an E.164 number, it can be used directly; If the access code is AS PSI, the redistribution logic module converts the AS PSI into an E.164 number before using it. (2) The redistributed UE access code needs to be AS PSI. If the access code stored in the reallocation logic module is AS PSI, it can be used directly; if the access code stored in the reallocation logic module is an E1164 number, then The redistribution logic module converts the E.164 number into AS PSI before using it. The corresponding relationship between the E.164 number and the AS PSI belongs to the prior art, and will not be repeated here.
本步骤中,假设HSS中存储的接入码是E.164号码,那么,HSS根据新VMSC号,选择HSS中预设的与新VMSC号一致的MSC/VLR号对应的E.164号码,作为重新分配的UE接入码。In this step, assuming that the access code stored in the HSS is an E.164 number, then, according to the new VMSC number, the HSS selects the E.164 number corresponding to the MSC/VLR number preset in the HSS that is consistent with the new VMSC number, as Reassigned UE access code.
步骤206~步骤207:HSS将重新分配的E.164号码携带在USSD中,经由MSC/VLR转发给UE,UE更新本地E.164号码。Steps 206 to 207: HSS carries the reassigned E.164 number in USSD, forwards it to UE via MSC/VLR, and UE updates the local E.164 number.
图3是本发明实施例二的流程图,本实施例中,重分配逻辑模块和重分配判断模块所属实体同为HSS,且AS未改变;假设在HSS中预设不同MSC/VLR号与UE接入码的对应关系;UE位置发生了变化,按照协议规定,在MSC/VLR收到UE发送的路由更新请求之后,该方法包括以下步骤:Fig. 3 is the flow chart of the second embodiment of the present invention, in this embodiment, the entities to which the redistribution logic module and the redistribution judgment module belong are both HSS, and the AS has not changed; it is assumed that different MSC/VLR numbers and UEs are preset in the HSS The corresponding relationship of the access code; the UE position has changed, according to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤300~步骤302:在MSC/VLR与HLR之间交互MAP_UPDATE_LOCATION消息和MAP_UPDATE_LOCATION_ack消息;同时MSC/VLR经由SGSN将位置更新接收(LOCATION_UPDATING_ACCEPT)消息转发给UE,图3中用虚线表示LOCATION_UPDATING_ACCEPT消息是由SGSN转发给UE的,而不是直接从MSC/VLR发送给UE的。Steps 300 to 302: exchange MAP_UPDATE_LOCATION messages and MAP_UPDATE_LOCATION_ack messages between MSC/VLR and HLR; at the same time, MSC/VLR forwards the location update reception (LOCATION_UPDATING_ACCEPT) message to UE via SGSN. In FIG. Forwarded to UE, not sent directly from MSC/VLR to UE.
按照协议规定:LOCATION_UPDATING_ACCEPT消息中携带MSC/VLR TMSI。According to the protocol: MSC/VLR TMSI is carried in the LOCATION_UPDATING_ACCEPT message.
步骤303:UE获知自身位置发生变化后,通过USSD通知HSS。Step 303: After learning that its location has changed, the UE notifies the HSS through the USSD.
UE检查LOCATION_UPDATING_ACCEPT消息中携带的MSC/VLRTMSI是否与自身存储的MSC/VLR TMSI一致,若不一致,则说明UE所属MSC/VLR可能发生了改变,则UE设置表示当前自身位置已发生变化的位置变化标识并携带在USSD中发送给HSS。The UE checks whether the MSC/VLRTMSI carried in the LOCATION_UPDATING_ACCEPT message is consistent with the MSC/VLR TMSI stored by itself. If not, it means that the MSC/VLR to which the UE belongs may have changed, and the UE sets a location change flag indicating that its current location has changed. And carry it in USSD and send it to HSS.
步骤304~步骤306:HSS接收到来自UE的USSD,并确定UE所属MSC/VLR发生变化后,根据UE当前所属MSC/VLR的新VMSC号及HSS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Steps 304 to 306: After the HSS receives the USSD from the UE and determines that the MSC/VLR to which the UE belongs has changed, the HSS uses the new VMSC number of the MSC/VLR to which the UE currently belongs and the different MSC/VLR numbers preset in the HSS. Enter the code and reassign the UE access code.
HSS确定UE所属MSC/VLR是否发生变化的方法为:HSS将UE的国际移动用户标识(IMSI)携带在ATI消息中,并将该ATI消息发送给HLR进行查询,HLR将对应该IMSI的MSC/VLR号携带在ATI_ack中返回HSS;HSS检查接收到的MSC/VLR号与已存储在本地的对应该UE的MSC/VLR号是否一致,若不一致,则说明UE所属MSC/VLR发生了变化。此时,UE当前的新VMSC号就是ATI_ack中携带的MSC/VLR号。The method for the HSS to determine whether the MSC/VLR to which the UE belongs is as follows: the HSS carries the International Mobile Subscriber Identity (IMSI) of the UE in the ATI message, and sends the ATI message to the HLR for query, and the HLR will correspond to the MSC/VLR of the IMSI. The VLR number is carried in the ATI_ack and returned to the HSS; the HSS checks whether the received MSC/VLR number is consistent with the locally stored MSC/VLR number corresponding to the UE. If not, it means that the MSC/VLR to which the UE belongs has changed. At this time, the current new VMSC number of the UE is the MSC/VLR number carried in the ATI_ack.
本步骤中,假设HSS中存储的接入码是E.164号码,那么,HSS根据新VMSC号,选择HSS中预设的与新VMSC号一致的MSC/VLR号对应的E.164号码,作为重新分配的UE接入码。In this step, assuming that the access code stored in the HSS is an E.164 number, then, according to the new VMSC number, the HSS selects the E.164 number corresponding to the MSC/VLR number preset in the HSS that is consistent with the new VMSC number, as Reassigned UE access code.
步骤307~步骤308:HSS将重新分配的E.164号码携带在USSD中,经由MSC/VLR转发给UE,UE更新本地E.164号码。Step 307-Step 308: HSS carries the re-assigned E.164 number in USSD, forwards it to UE via MSC/VLR, and UE updates the local E.164 number.
实施例三:重分配逻辑模块和重分配判断模块所属实体同为HSS,且AS未改变,还可以由UE发起注册触发更新UE接入码,具体实现为:假设在HSS中保存有UE注册前的位置信息,当HSS获知UE已成功注册时,HSS采用步骤304~步骤306中所述的方法确定UE所属MSC/VLR发生变化后重新分配UE接入码,并将重新分配得到的E.164号码采用步骤307~步骤308的方法发送给UE,UE更新本地E.164号码。需要说明的是,如果UE是初始注册,即HSS中没有UE注册前的位置信息,那么,HSS直接根据步骤304~步骤306中的方法获得的UE当前位置信息重分配UE接入码。这里,UE注册过程及HSS获知UE已成功注册属于现有公知技术,可参见相关协议,这里不再赘述。Embodiment 3: The entity to which the re-allocation logic module and the re-allocation judgment module belong is both the HSS, and the AS has not changed. The UE can also initiate registration to trigger the update of the UE access code. When the HSS learns that the UE has successfully registered, the HSS uses the methods described in steps 304 to 306 to determine that the MSC/VLR to which the UE belongs changes and then reassigns the UE access code, and reassigns the obtained E.164 The number is sent to the UE in steps 307 to 308, and the UE updates the local E.164 number. It should be noted that if the UE is initially registered, that is, there is no location information of the UE before registration in the HSS, then the HSS directly reassigns the UE access code according to the current location information of the UE obtained in steps 304 to 306 . Here, the UE registration process and the HSS knowing that the UE has successfully registered belong to the existing known technology, which can be referred to related protocols, and will not be repeated here.
UE发起注册,I-CSCF接到注册消息后到HSS中查询,获取S-CSCF名称或S-CSCF能力集,并继续执行注册过程,HSS得知UE已注册后,HSS采用步骤304~步骤306中所述的方法确定UE所属MSC/VLR发生变化后重新分配UE接入码,并将重新分配得到的E.164号码采用步骤307~步骤308的方法发送给UE,UE更新本地E.164号码。The UE initiates the registration, and the I-CSCF queries the HSS after receiving the registration message, obtains the S-CSCF name or S-CSCF capability set, and continues the registration process. After the HSS knows that the UE has registered, the HSS uses steps 304 to 306 The method described in determines that the MSC/VLR to which the UE belongs changes and reassigns the UE access code, and sends the reassigned E.164 number to the UE using steps 307 to 308, and the UE updates the local E.164 number .
图4是本发明实施例四的流程图,本实施例中,重分配逻辑模块和重分配判断模块所属实体同为IMS AS,且AS未改变;假设在IMS AS中预设不同MSC/VLR号与UE接入码的对应关系;并假设UE按照协议在IMS进行了注册,S-CSCF向UE返回注册成功的响应后,根据UE签约数据中的初始过滤准则(iFC)数据向作为路由策略决策点的AS发起第三方注册,作为路由策略决策点的IMS AS返回注册成功响应。之后,UE和IMS AS双向进行事件订阅(SUBSCRIBE),该方法还包括以下步骤:Fig. 4 is a flow chart of Embodiment 4 of the present invention. In this embodiment, the entity to which the redistribution logic module and the redistribution judgment module belong is the same IMS AS, and the AS has not changed; it is assumed that different MSC/VLR numbers are preset in the IMS AS The corresponding relationship with the UE access code; and assuming that the UE has registered with the IMS according to the protocol, after the S-CSCF returns a successful registration response to the UE, it will make a routing policy decision according to the initial filter criterion (iFC) data in the UE subscription data The AS of the point initiates the third-party registration, and the IMS AS as the routing policy decision point returns a registration success response. Afterwards, UE and IMS AS bidirectionally carry out event subscription (SUBSCRIBE), and this method also includes the following steps:
步骤400~步骤401:在已有UE位置更新过程中,UE收到位置更新接受消息后,设置表示当前自身位置已发生变化的位置变化标识,而且,由于UE与IMS AS之间已进行了双向事件订阅,因此触发UE将所述位置变化标识携带在SIP通知(Notify)消息中,发送给IMS AS。Step 400-Step 401: During the existing UE location update process, after the UE receives the location update acceptance message, it sets the location change flag indicating that its current location has changed. Event subscription, thus triggering the UE to carry the location change identifier in the SIP Notify (Notify) message and send it to the IMS AS.
由于UE注册时,IMS AS与UE执行了双向事件订阅,因此,UE发生位置更新后,UE通过事件订阅可从IMS AS获知自身当前所属MSC/VLR可能发生了变化。When the UE registers, the IMS AS and the UE perform two-way event subscription. Therefore, after the location of the UE is updated, the UE can know from the IMS AS that the MSC/VLR it currently belongs to may have changed through the event subscription.
步骤402:IMS AS接收到来自UE的SIP Notify消息,并确定UE所属MSC/VLR发生变化后,根据UE当前所属MSC/VLR的新VMSC号及IMS AS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 402: After the IMS AS receives the SIP Notify message from the UE and determines that the MSC/VLR to which the UE belongs has changed, according to the new VMSC number of the MSC/VLR to which the UE currently belongs and the different MSC/VLR numbers preset in the IMS AS Access code, reassign the UE access code.
本步骤IMS AS确定UE所属MSC/VLR是否发生变化的方法与步骤304~步骤306完全一致,只需将步骤304~步骤306中的重分配逻辑模块改为IMS AS即可,这里不再重述。In this step, the method for the IMS AS to determine whether the MSC/VLR to which the UE belongs is completely consistent with that of steps 304 to 306. It is only necessary to change the reallocation logic module in steps 304 to 306 to IMS AS, which will not be repeated here. .
另外,本步骤中,假设IMS AS中存储的接入码是AS PSI,那么,IMSAS根据新VMSC号,选择IMS AS中预设的与新VMSC号一致的MSC/VLR号对应的AS PSI,作为重新分配的UE接入码。In addition, in this step, assuming that the access code stored in the IMS AS is the AS PSI, then, according to the new VMSC number, the IMSAS selects the AS PSI corresponding to the MSC/VLR number preset in the IMS AS that is consistent with the new VMSC number, as Reassigned UE access code.
步骤403:IMS AS将重新分配的AS PSI携带在SIP Notify消息中转发给UE,UE更新本地AS PSI。Step 403: The IMS AS carries the reallocated AS PSI in the SIP Notify message and forwards it to the UE, and the UE updates the local AS PSI.
图5是本发明实施例五的流程图,本实施例中,重分配逻辑模块和重分配判断模块所属实体同为IMS AS,且AS未改变;假设在IMS AS中预设不同MSC/VLR号与UE接入码的对应关系;并假设UE按照协议在IMS进行了注册且UE和IMS AS双向进行事件订阅;该方法还包括以下步骤:Fig. 5 is a flow chart of Embodiment 5 of the present invention. In this embodiment, the entity to which the redistribution logic module and the redistribution judgment module belong is the same IMS AS, and the AS has not changed; assume that different MSC/VLR numbers are preset in the IMS AS The corresponding relationship with the UE access code; and assuming that the UE has registered in the IMS according to the agreement and the UE and the IMS AS perform two-way event subscription; the method also includes the following steps:
步骤500~步骤501:在已有UE位置更新过程中,UE收到位置更新接受消息后,设置表示当前自身位置已发生变化的位置变化标识,而且,由于UE与IMS AS之间已进行了双向事件订阅,因此触发UE将所述位置变化标识携带在SIP通知(Notify)消息中,发送给IMS AS。Steps 500 to 501: During the existing UE location update process, after the UE receives the location update acceptance message, it sets the location change flag indicating that its current location has changed. Event subscription, thus triggering the UE to carry the location change identifier in the SIP Notify (Notify) message and send it to the IMS AS.
步骤502:IMS AS接收到来自UE的SIP PUBLISH消息,并确定UE所属MSC/VLR发生变化后,根据UE当前所属MSC/VLR的新VMSC号及IMS AS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 502: After the IMS AS receives the SIP PUBLISH message from the UE and determines that the MSC/VLR to which the UE belongs has changed, according to the new VMSC number of the MSC/VLR to which the UE currently belongs and the different MSC/VLR numbers preset in the IMS AS Access code, reassign the UE access code.
本步骤的具体实现方法与步骤402一致,这里不再重述。The specific implementation method of this step is the same as that of step 402, and will not be repeated here.
步骤503:IMS AS将重新分配的AS PSI携带在SIP PUBLISH消息中转发给UE,UE更新本地AS PSI。Step 503: The IMS AS carries the reallocated AS PSI in the SIP PUBLISH message and forwards it to the UE, and the UE updates the local AS PSI.
实施例五与实施例四的区别在于,实施例四中IMS AS将重新分配的AS PSI携带在SIP Notify消息中转发给UE;二实施例五中重新分配的AS PSI携带在SIP PUBLISH消息中转发给UE。The difference between Embodiment 5 and Embodiment 4 is that in Embodiment 4, the IMS AS carries the reallocated AS PSI in the SIP Notify message and forwards it to the UE; in Embodiment 2, the reallocated AS PSI is carried in the SIP PUBLISH message and forwards to UE.
图6是本发明实施例六的流程图,本实施例中,重分配逻辑模块所属实体为IMS AS,重分配判断模块所属实体为STP,且AS未改变;假设在IMSAS中预设不同MSC/VLR号与UE接入码的对应关系,UE位置发生了变化,按照协议规定,在MSC/VLR收到UE发送的路由更新请求之后,该方法包括以下步骤:Fig. 6 is a flow chart of Embodiment 6 of the present invention. In this embodiment, the entity to which the reallocation logic module belongs is IMS AS, the entity to which the reallocation judgment module belongs is STP, and the AS has not changed; assuming that different MSC/MSCs are preset in the IMSAS The corresponding relationship between the VLR number and the UE access code, the position of the UE has changed, according to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤600~步骤603:CS域STP拦截MSC/VLR与HLR之间的MAP_UPDATE_LOCATION消息和MAP_UPDATE_LOCATION_ack消息。Step 600-Step 603: The CS domain STP intercepts the MAP_UPDATE_LOCATION message and MAP_UPDATE_LOCATION_ack message between the MSC/VLR and the HLR.
本步骤实现与步骤200~步骤203完全一致,这里不再重述。The implementation of this step is completely consistent with that of steps 200 to 203, and will not be repeated here.
步骤604:STP检测到UE位置发生变化后,将拦截到的MAP_UPDATE_LOCATION消息中携带的新VMSC号携带在SIP PUBLISH消息中发送给IMS AS。Step 604: After the STP detects that the location of the UE has changed, it sends the new VMSC number carried in the intercepted MAP_UPDATE_LOCATION message to the IMS AS in the SIP PUBLISH message.
步骤605:IMS AS根据接收到的新VMSC号及IMS AS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 605: The IMS AS reassigns the UE access code according to the received new VMSC number and the access codes corresponding to different MSC/VLR numbers preset in the IMS AS.
重分配方法与步骤205中完全一致,这里不再重述。The reallocation method is exactly the same as that in step 205, and will not be repeated here.
本步骤中,假设IMS AS存储的接入码为AS PSI。In this step, it is assumed that the access code stored in the IMS AS is AS PSI.
步骤606:IMS AS将重新分配的AS PSI携带在SIP PUBLISH消息中转发给UE,UE更新本地AS PSI。Step 606: The IMS AS carries the reallocated AS PSI in the SIP PUBLISH message and forwards it to the UE, and the UE updates the local AS PSI.
图7是本发明实施例七的流程图,本实施例中,重分配逻辑模块和重分配判断模块所属实体同为STP,且AS未改变;假设在STP中预设不同MSC/VLR号与UE接入码的对应关系,UE位置发生了变化,按照协议规定,在MSC/VLR接收到UE发送的路由更新请求之后,该方法包括以下步骤:7 is a flow chart of Embodiment 7 of the present invention. In this embodiment, the entity to which the reallocation logic module and the reallocation judgment module belong is the same STP, and the AS has not changed; it is assumed that different MSC/VLR numbers and UEs are preset in the STP. The corresponding relationship of the access code, the position of the UE has changed, according to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤700~步骤703:STP拦截MSC/VLR与HLR之间的位MAP_UPDATE_LOCATION消息和MAP_UPDATE_LOCATION_ack消息。Steps 700 to 703: STP intercepts the digital MAP_UPDATE_LOCATION message and MAP_UPDATE_LOCATION_ack message between the MSC/VLR and the HLR.
本步骤具体实现与步骤200~步骤203完全一致,这里不再重述。The specific implementation of this step is completely consistent with that of steps 200 to 203, and will not be repeated here.
步骤704:STP检测到UE位置发生变化后,从拦截到的MAP_UPDATE_LOCATION消息中获取新VMSC号,并根据该新VMSC号,及STP中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码Step 704: After the STP detects that the location of the UE has changed, it obtains the new VMSC number from the intercepted MAP_UPDATE_LOCATION message, and reassigns it according to the new VMSC number and the access codes corresponding to different MSC/VLR numbers preset in the STP UE access code
STP检测到UE位置是否发生变化的方法与步骤204中完全一致,这里不再重述。The method for the STP to detect whether the location of the UE has changed is exactly the same as that in step 204, and will not be repeated here.
本步骤中,假设STP存储的接入码为E.164号码。In this step, it is assumed that the access code stored in the STP is an E.164 number.
步骤705~步骤706:STP将重新分配的E.164号码携带在USSD中,经由MSC/VLR转发给UE,UE更新本地E.164号码。Step 705 - Step 706: STP carries the reassigned E.164 number in the USSD and forwards it to the UE via the MSC/VLR, and the UE updates the local E.164 number.
图8是本发明实施例八的流程图,本实施例中,重分配逻辑模块和重分配判断模块所属实体同为STP,且AS未改变;假设在STP中预设不同MSC/VLR号与UE接入码的对应关系,UE位置发生了变化,按照协议规定,在MSC/VLR收到UE发送的路由更新请求之后,该方法包括以下步骤:Fig. 8 is a flow chart of Embodiment 8 of the present invention. In this embodiment, the entities to which the redistribution logic module and the redistribution judgment module belong are both STPs, and the AS has not changed; assuming that different MSC/VLR numbers and UEs are preset in the STP The corresponding relationship of the access code, the position of the UE has changed, according to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤800~步骤802:在MSC/VLR与HLR之间交互MAP_UPDATE_LOCATION消息和MAP_UPDATE_LOCATION_ack消息;同时MSC/VLR经由SGSN将位置更新接收(LOCATION_UPDATING_ACCEPT)消息转发给UE。。Step 800-Step 802: exchange MAP_UPDATE_LOCATION message and MAP_UPDATE_LOCATION_ack message between MSC/VLR and HLR; at the same time, MSC/VLR forwards location update receiving (LOCATION_UPDATING_ACCEPT) message to UE via SGSN. .
本步骤实现与步骤300~步骤302完全一致,这里不再重述。The implementation of this step is completely consistent with that of steps 300 to 302, and will not be repeated here.
步骤803:UE获知自身位置发生变化后,通过USSD通知STP。Step 803: After learning that its location has changed, the UE notifies the STP through the USSD.
本步骤具体实现与步骤303完全一致,只需将步骤303中的HSS更换为STP即可,这里不再重述。The specific implementation of this step is exactly the same as that of step 303, only need to replace the HSS in step 303 with STP, which will not be repeated here.
步骤804~步骤806:STP接收到来自UE的USSD,并确定UE所属MSC/VLR发生变化后,根据UE当前所属MSC/VLR的新VMSC号及STP中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Steps 804 to 806: After the STP receives the USSD from the UE and determines that the MSC/VLR to which the UE belongs has changed, the STP corresponds to the new VMSC number of the MSC/VLR to which the UE currently belongs and the different MSC/VLR numbers preset in STP. Enter the code and reassign the UE access code.
本步骤具体实现与步骤304~步骤306完全一致,只需将步骤304~步骤306中的HSS更换为STP即可,这里不再重述。The specific implementation of this step is exactly the same as that of steps 304 to 306, and it is only necessary to replace the HSS in steps 304 to 306 with STP, which will not be repeated here.
步骤807~步骤808:STP将重新分配的E.164号码携带在USSD中,经由MSC/VLR转发给UE,UE更新本地E.164号码。Steps 807 to 808: STP carries the reassigned E.164 number in the USSD and forwards it to the UE via the MSC/VLR, and the UE updates the local E.164 number.
图9是本发明实施例九的流程图,本实施例中,重分配逻辑模块所属实体为HSS,重分配判断模块所属实体为HLR,且AS为改变;假设在HSS中预设不同MSC/VLR号与UE接入码的对应关系,UE位置发生了变化,按照协议规定,在MSC/VLR收到UE发送的路由更新请求之后,该方法包括以下步骤:Fig. 9 is a flow chart of Embodiment 9 of the present invention. In this embodiment, the entity to which the redistribution logic module belongs is HSS, the entity to which the redistribution judgment module belongs is HLR, and the AS is changed; assuming that different MSC/VLRs are preset in the HSS The corresponding relationship between the number and the UE access code, and the position of the UE has changed. According to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤900~步骤901:在MSC/VLR与HLR之间交互MAP_UPDATE_LOCATION消息和MAP_UPDATE_LOCATION_ack消息。Step 900-901: exchange MAP_UPDATE_LOCATION message and MAP_UPDATE_LOCATION_ack message between MSC/VLR and HLR.
步骤902:HLR检测到UE位置发生变化后,HLR将接收到的MAP_UPDATE_LOCATION中携带的新VMSC号转发给HSS。Step 902: After the HLR detects that the location of the UE has changed, the HLR forwards the new VMSC number carried in the received MAP_UPDATE_LOCATION to the HSS.
本步骤中,HLR检测自身存储的UE对应的MSC/VLR号是否发生了变化。In this step, the HLR detects whether the MSC/VLR number corresponding to the UE stored in itself has changed.
本实施例中,HLR将接收到的MAP_UPDATE_LOCATION转发给HSS。In this embodiment, the HLR forwards the received MAP_UPDATE_LOCATION to the HSS.
步骤903:HSS根据接收到MAP_UPDATE_LOCATION中携带的新VMSC号,及HSS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 903: The HSS reassigns the UE access code according to the new VMSC number carried in the received MAP_UPDATE_LOCATION and the access codes corresponding to different MSC/VLR numbers preset in the HSS.
本步骤中,假设HSS中存储的接入码为E.164号码。In this step, it is assumed that the access code stored in the HSS is an E.164 number.
步骤904~步骤905:HSS将重新分配的E.164号码携带在USSD中,经由MSC/VLR转发给UE,UE更新本地E.164号码。Step 904 - Step 905: HSS carries the re-assigned E.164 number in USSD, forwards it to UE via MSC/VLR, and UE updates the local E.164 number.
图10是本发明实施例十的流程图,本实施例中,重分配逻辑模块和重分配判断模块所属实体同为HLR,且AS未改变;假设在HLR中预设不同MSC/VLR号与UE接入码的对应关系,UE位置发生了变化,按照协议规定,在MSC/VLR收到UE发送的路由更新请求之后,该方法包括以下步骤:Fig. 10 is a flow chart of Embodiment 10 of the present invention. In this embodiment, the entity to which the redistribution logic module and the redistribution judgment module belong is the same HLR, and the AS has not changed; it is assumed that different MSC/VLR numbers and UEs are preset in the HLR. The corresponding relationship of the access code, the position of the UE has changed, according to the agreement, after the MSC/VLR receives the routing update request sent by the UE, the method includes the following steps:
步骤1000~步骤1001:在MSC/VLR与HLR之间交互MAP_UPDATE_LOCATION消息和MAP_UPDATE_LOCATION_ack消息。Step 1000 - Step 1001: exchange MAP_UPDATE_LOCATION message and MAP_UPDATE_LOCATION_ack message between MSC/VLR and HLR.
步骤1002:HLR根据UE位置更新后所属VMSC对应的新VMSC号,及HLR中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 1002: The HLR reassigns the UE access code according to the new VMSC number corresponding to the VMSC to which the UE belongs after the location update, and the access codes corresponding to different MSC/VLR numbers preset in the HLR.
HLR知道当前UE所述VMSC是否发生变化,若发生变化,则HLR根据接收到的MAP_UPDATE_LOCATION消息中携带的新VMSC号及HLR中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。The HLR knows whether the VMSC of the current UE has changed. If there is a change, the HLR will reassign the UE access code according to the new VMSC number carried in the received MAP_UPDATE_LOCATION message and the access code corresponding to the different MSC/VLR number preset in the HLR. Encode.
本步骤中,假设存储在HLR的接入码为E.164号码。In this step, it is assumed that the access code stored in the HLR is an E.164 number.
步骤1003~步骤1004:HSS将重新分配的E.164号码携带在USSD中,经由MSC/VLR转发给UE,UE更新本地E.164号码。Step 1003 - Step 1004: HSS carries the reassigned E.164 number in USSD, forwards it to UE via MSC/VLR, and UE updates the local E.164 number.
上述本发明实施例一至实施例九是针对现有技术实现呼叫的方案二、方案三和方案四提出的,这样,当UE再次发送呼叫建立请求时,采用本地已更新的E.164号码,将呼叫建立请求发送给VMSC,保证了VMSC按照新的E.164号码对呼叫进行正确路由。The above-mentioned embodiments 1 to 9 of the present invention are proposed in view of the schemes 2, 3 and 4 in the prior art. In this way, when the UE sends the call establishment request again, the local updated E.164 number is used, and the The call establishment request is sent to the VMSC, which ensures that the VMSC correctly routes the call according to the new E.164 number.
图11是本发明实施例十一的流程图,图11所示流程是针对现有技术实现呼叫的方案一提出的,主要思想是在UE建立呼叫连接之前,更新UE接入码,使得UE采用当前位置对应的接入码建立呼叫连接,从而保证呼叫路由的正确性。其中UE包括IMS部分和CS部分。本实施例中,重分配逻辑模块和重分配判断模块所属实体同为gsmSCF;假设在gsmSCF中预设不同MSC/VLR号与UE接入码的对应关系,实施例十具体实现包括以下步骤:Fig. 11 is a flow chart of the eleventh embodiment of the present invention. The flow shown in Fig. 11 is proposed for the solution 1 of implementing a call in the prior art. The main idea is to update the UE access code before the UE establishes a call connection, so that the UE uses The access code corresponding to the current location establishes a call connection, thereby ensuring the correctness of call routing. The UE includes an IMS part and a CS part. In this embodiment, the entities to which the reallocation logic module and the reallocation judgment module belong are both gsmSCF; assuming that the corresponding relationship between different MSC/VLR numbers and UE access codes is preset in the gsmSCF, the specific implementation of the tenth embodiment includes the following steps:
步骤1100~步骤1102:UE的CS部分通过建立(Setup)消息向VMSC发送呼叫建立请求,VMSC根据CAMEL签约信息,触发Initial DP消息到具有NeDS功能的gsmSCF模块,并向UE的CS部分发送正在执行呼叫流程(Call Proceeding)消息。Steps 1100 to 1102: The CS part of the UE sends a call setup request to the VMSC through a Setup message, and the VMSC triggers an Initial DP message to the gsmSCF module with the NeDS function according to the CAMEL subscription information, and sends an executing message to the CS part of the UE. Call Proceeding messages.
Initial DP消息中携带有UE的位置信息,如VMSC号、CELL号等,而gsmSCF中存储有UE本次呼叫前的所属MSC/VLR的MSC/VLR号。The Initial DP message carries the location information of the UE, such as the VMSC number, the CELL number, etc., and the gsmSCF stores the MSC/VLR number of the MSC/VLR to which the UE belongs before this call.
步骤1103:若gsmSCF判定Initial DP消息中携带的VMSC号与本地已存储的MSC/VLR号不一致,则gsmSCF根据Initial DP消息中携带的VMSC号,及gsmSCF中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 1103: If the gsmSCF determines that the VMSC number carried in the Initial DP message is inconsistent with the locally stored MSC/VLR number, then the gsmSCF uses the VMSC number carried in the Initial DP message and the corresponding MSC/VLR number preset in gsmSCF Access code, reassign the UE access code.
本步骤中,假设存储在gsmSCF的接入码为E.164号码。In this step, it is assumed that the access code stored in the gsmSCF is an E.164 number.
步骤1104~步骤1105:gsmSCF保存重新分配的E.164号码并将该E.164号码携带在CAMEL connect消息中,发送给MSC/VLR,同时gsmSCF将重新分配的E.164号码携带在USSD中发送给UE,UE更新本地E.164号码。Step 1104 ~ Step 1105: gsmSCF saves the reassigned E.164 number and carries the E.164 number in the CAMEL connect message, sends it to MSC/VLR, and at the same time gsmSCF carries the reassigned E.164 number in USSD and sends it For the UE, the UE updates the local E.164 number.
步骤1106~步骤1107:VMSC根据接收到的E.164号码将呼叫通过IAM消息路由至IMS域的MGCF,MGCF根据IAM消息中携带的所述E.164号码将呼叫发送至正确的AS。Steps 1106 to 1107: VMSC routes the call to the MGCF in the IMS domain through the IAM message according to the received E.164 number, and the MGCF sends the call to the correct AS according to the E.164 number carried in the IAM message.
这样的处理,保证了呼叫由正确的AS对呼叫进行切换处理。Such processing ensures that the call is switched by the correct AS.
图12是本发明实施例十二的流程图,图12所示流程是针对现有技术实现呼叫的方案一提出的,主要思想是在UE建立呼叫连接之前,更新UE接入码,使得UE采用当前位置对应的接入码建立呼叫连接,从而保证呼叫路由的正确性。其中UE包括IMS部分和CS部分。本实施例中,重分配逻辑模块所属实体同为IMS AS,重分配判断模块所属实体为gsmSCF;IMS AS与gsmSCF可以是合设的或分设的,且IMS AS与gsmSCF间存在同步机制,在IMS AS中预设不同MSC/VLR号与UE接入码的对应关系,实施例十一具体实现包括以下步骤:Fig. 12 is a flow chart of Embodiment 12 of the present invention. The flow shown in Fig. 12 is proposed for solution 1 of implementing a call in the prior art. The main idea is to update the UE access code before the UE establishes a call connection, so that the UE uses The access code corresponding to the current location establishes a call connection, thereby ensuring the correctness of call routing. The UE includes an IMS part and a CS part. In this embodiment, the entity to which the redistribution logic module belongs is the IMS AS, and the entity to which the redistribution judgment module belongs is gsmSCF; the IMS AS and the gsmSCF can be jointly or separately established, and there is a synchronization mechanism between the IMS AS and the gsmSCF. The corresponding relationship between different MSC/VLR numbers and UE access codes is preset in the AS, and the specific implementation of the eleventh embodiment includes the following steps:
步骤1200~步骤1202:UE的CS部分通过Setup消息向VMSC发送呼叫建立请求,VMSC根据CAMEL签约信息,触发Initial DP消息到具有NeDS功能的gsmSCF模块,并向UE的CS部分发送Call Proceeding消息。Steps 1200 to 1202: The CS part of the UE sends a call establishment request to the VMSC through a Setup message, and the VMSC triggers an Initial DP message to the gsmSCF module with NeDS function according to the CAMEL subscription information, and sends a Call Proceeding message to the CS part of the UE.
本步骤实现与步骤1100~步骤1102完全一致,这里不再重述。The implementation of this step is completely consistent with that of steps 1100 to 1102, and will not be repeated here.
步骤1203:gsmSCF采用同步机制将UE当前所属VMSC的VMSC号发送给IMS AS。Step 1203: The gsmSCF uses a synchronization mechanism to send the VMSC number of the VMSC to which the UE currently belongs to the IMS AS.
IMS AS与gsmSCF之间的同步机制属于现有技术,可参见相关协议,这里不再赘述。The synchronization mechanism between the IMS AS and the gsmSCF belongs to the existing technology, which can be referred to related agreements, and will not be repeated here.
步骤1204:若IMS AS判定来自gsmSCF的VMSC号与本地已存储的UE本次呼叫前所属VMSC的VMSC号不一致,则IMS AS根据接收到的VMSC号,及IMS AS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 1204: If the IMS AS determines that the VMSC number from the gsmSCF is inconsistent with the locally stored VMSC number of the VMSC to which the UE belongs before this call, then the IMS AS will use the received VMSC number and different MSCs/VLRs preset in the IMS AS The access code corresponding to the account number is reassigned to the UE access code.
本步骤中,假设存储在IMS AS的接入码为E.164号码。In this step, it is assumed that the access code stored in the IMS AS is an E.164 number.
步骤1205~步骤1206:IMS AS采用同步机制将重新分配的E.164号码发送给gsmSCF,gsmSCF将接收到的E.164号码保存在本地,并将该E.A64号码携带在CAMEL connect消息中,发送给MSC/VLR。Step 1205-Step 1206: The IMS AS uses the synchronization mechanism to send the reallocated E.164 number to the gsmSCF, and the gsmSCF saves the received E.164 number locally and carries the E.A64 number in the CAMEL connect message. Send to MSC/VLR.
步骤1207:IMS AS将重新分配的E.164号码携带在USSD中发送给UE,UE更新本地E.164号码。Step 1207: The IMS AS carries the reallocated E.164 number in the USSD and sends it to the UE, and the UE updates the local E.164 number.
步骤1208~步骤1209:VMSC根据接收到的E.164号码将呼叫通过IAM消息路由至IMS域的MGCF,MGCF根据IAM消息中携带的所述E.164号码将呼叫发送至正确的AS。
这样的处理,保证了呼叫由正确的AS对呼叫进行切换处理。Such processing ensures that the call is switched by the correct AS.
图13是本发明实施例十三的流程图,图13所示流程是针对现有技术实现呼叫的方案一提出的,主要思想是在UE建立呼叫连接之前,更新UE接入码,使得UE采用当前位置对应的接入码建立呼叫连接,从而保证呼叫路由的正确性。其中UE包括IMS部分和CS部分。本实施例中,重分配逻辑模块所属实体同为IMS AS,重分配判断模块所属实体为gsmSCF;假设IMSAS与gsmSCF可以是合设的或分设的,且IMS AS与gsmSCF间存在同步机制,在作为重分配逻辑模块的IMS AS中预设不同MSC/VLR号与UE接入码对应关系,实施例十一具体实现包括以下步骤:Fig. 13 is a flow chart of Embodiment 13 of the present invention. The flow shown in Fig. 13 is proposed for solution 1 of implementing a call in the prior art. The main idea is to update the UE access code before the UE establishes a call connection, so that the UE uses The access code corresponding to the current location establishes a call connection, thereby ensuring the correctness of call routing. The UE includes an IMS part and a CS part. In this embodiment, the entity to which the redistribution logic module belongs is also the IMS AS, and the entity to which the redistribution judgment module belongs is gsmSCF; assuming that the IMSAS and the gsmSCF can be jointly established or separately established, and there is a synchronization mechanism between the IMS AS and the gsmSCF, as The corresponding relationship between different MSC/VLR numbers and UE access codes is preset in the IMS AS of the reallocation logic module, and the specific implementation of the eleventh embodiment includes the following steps:
步骤1300~步骤1302:UE的CS部分通过Setup消息向VMSC发送呼叫建立请求,VMSC根据CAMEL签约信息,触发Initial DP消息到具有NeDS功能的gsmSCF模块,并向UE的CS部分发送Call Proceeding消息。Steps 1300 to 1302: The CS part of the UE sends a call establishment request to the VMSC through a Setup message, and the VMSC triggers an Initial DP message to the gsmSCF module with NeDS function according to the CAMEL subscription information, and sends a Call Proceeding message to the CS part of the UE.
本步骤实现与步骤1100~步骤1102完全一致,这里不再重述。The implementation of this step is completely consistent with that of steps 1100 to 1102, and will not be repeated here.
步骤1303:gsmSCF采用同步机制将UE当前所属VMSC的VMSC号发送给IMS AS。Step 1303: The gsmSCF uses a synchronization mechanism to send the VMSC number of the VMSC to which the UE currently belongs to the IMS AS.
IMS AS与gsmSCF之间的同步机制属于现有技术,可参见相关协议,这里不再赘述。The synchronization mechanism between the IMS AS and the gsmSCF belongs to the existing technology, which can be referred to related agreements, and will not be repeated here.
步骤1304:若IMS AS判定来自gsmSCF的VMSC号与本地已存储的UE本次呼叫前所属VMSC的VMSC号不一致,则IMS AS根据接收到的VMSC号,及IMS AS中预设的不同MSC/VLR号对应的接入码,重新分配UE接入码。Step 1304: If the IMS AS determines that the VMSC number from the gsmSCF is inconsistent with the locally stored VMSC number of the VMSC to which the UE belongs before this call, the IMS AS will use the received VMSC number and different MSCs/VLRs preset in the IMS AS The access code corresponding to the account number is reassigned to the UE access code.
本步骤中,假设存储在IMS AS的接入码为E.164号码。In this step, it is assumed that the access code stored in the IMS AS is an E.164 number.
步骤1305~步骤1306:IMS AS采用同步机制将重新分配的E.164号码发送给gsmSCF,gsmSCF将接收到的E.164号码保存在本地,并将该E.A64号码携带在CAMEL connect消息中,发送给MSC/VLR。Steps 1305 to 1306: The IMS AS uses a synchronization mechanism to send the reallocated E.164 number to the gsmSCF, and the gsmSCF saves the received E.164 number locally and carries the E.A64 number in the CAMEL connect message. Send to MSC/VLR.
步骤1307:IMS AS将重新分配的AS PSI携带在PUBLISH消息中发送给UE,UE更新本地E.164号码。Step 1307: The IMS AS carries the reallocated AS PSI in the PUBLISH message and sends it to the UE, and the UE updates the local E.164 number.
本实施例中,与实施例十和实施例十一相同,步骤1307之后,VMSC根据接收到的E.164号码将呼叫通过IAM消息路由至IMS域的MGCF,MGCF根据IAM消息中携带的所述E.164号码将呼叫发送至正确的AS。这样的处理,保证了呼叫由正确的AS对呼叫进行切换处理。In this embodiment, the same as the tenth and eleventh embodiments, after
另外,如果重分配逻辑模块根据需要更新了AS,在图2~图13所示流程中重分配逻辑模块为HSS和IMS AS的流程之前,本发明方法还包括:In addition, if the redistribution logic module updates the AS as required, before the redistribution logic module is the HSS and IMS AS flow process in the flow shown in Figures 2 to 13, the method of the present invention also includes:
重分配逻辑模块根据用户在IMS的注册状态,分别执行下面不同的流程:The reallocation logic module executes the following different processes according to the user's registration status in IMS:
1)如果UE在IMS未注册,则HSS执行AS重分配操作,即HSS根据更新了的AS更新自身iFC数据即可。其中,不同的iFC数据对应不同的AS。1) If the UE is not registered in the IMS, the HSS performs the AS reallocation operation, that is, the HSS only needs to update its own iFC data according to the updated AS. Wherein, different iFC data correspond to different ASs.
2)如果UE在IMS已注册,而且该UE的VCC业务在IMS未被占用,则IMS AS执行AS重分配操作。2) If the UE has registered in the IMS, and the VCC service of the UE is not occupied in the IMS, the IMS AS performs the AS reallocation operation.
具体实现为:IMS AS将UE的用户标识和iFC数据携带在Profile-Update-Request消息中,并将该消息发送给HSS,HSS根据该Profile-Update-Request消息中携带的UE的用户标识和iFC数据更新自身对应当前用户的iFC数据;然后HSS将UE的用户标识和iFC数据携带在Push-Profile-Request消息中,并发送给S-CSCF,S-CSCF根据该Profile-Update-Request消息中携带的UE的用户标识和iFC数据更新自身对应当前用户的iFC数据。这样,在用户发起VCC业务后,能使用新的iFC数据开展业务,使用重分配后的AS。The specific implementation is as follows: IMS AS carries the UE's user ID and iFC data in the Profile-Update-Request message, and sends the message to the HSS, and the HSS according to the UE's user ID and iFC data carried in the Profile-Update-Request message The data updates itself corresponding to the current user's iFC data; then the HSS carries the UE's user ID and iFC data in the Push-Profile-Request message and sends it to the S-CSCF, and the S-CSCF carries in the Profile-Update-Request message The UE's user ID and iFC data update itself corresponding to the current user's iFC data. In this way, after the user initiates the VCC service, the new iFC data can be used to carry out the service, and the reallocated AS can be used.
3)如果UE在IMS已注册,且该UE的VCC业务在IMS被占用,为了避免在VCC业务中由于改变AS而导致错误处理,IMS AS设置暂缓标志暂缓重新分配AS,相应的,IMS AS不将E.164号码同步至UE。当该UE的VCC业务在IMS AS未被占用时,取消暂缓标志,并执行上述UE在IMS已注册情况下AS重分配过程。3) If the UE is registered in IMS, and the VCC service of the UE is occupied in IMS, in order to avoid error processing caused by changing the AS in the VCC service, the IMS AS sets the suspend flag to suspend the reallocation of the AS. Correspondingly, the IMS AS does not Synchronize the E.164 number to the UE. When the VCC service of the UE is not occupied by the IMS AS, cancel the suspend flag, and execute the AS reassignment process when the UE is already registered with the IMS.
另外,需要说明的是,由于实际应用中存在多个MSC/VLR号对应的UE接入码相同,所以,本发明更新UE接入码的方法中,在重新分配逻辑模块重新分配UE接入码之后,本发明方法还进一步包括:重分配逻辑模块判断当前分配的UE接入码与存储在本地的UE接入码是否一致,若不一致,则重分配逻辑模块将重新分配的UE接入码在自身存储后继续本发明方法将重分配的UE接入码发送给UE;若一致,则重分配逻辑模块结束本发明流程。In addition, it should be noted that since multiple MSC/VLR numbers correspond to the same UE access codes in practical applications, in the method for updating UE access codes in the present invention, the UE access codes are reassigned in the reallocation logic module. Afterwards, the method of the present invention further includes: the reallocation logic module judges whether the UE access code currently allocated is consistent with the UE access code stored locally, and if not, the reallocation logic module will redistribute the UE access code in the After self-storage, the method of the present invention is continued to send the reallocated UE access code to the UE; if they are consistent, the reallocation logic module ends the process of the present invention.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (32)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200510098700XA CN1929678B (en) | 2005-09-09 | 2005-09-09 | Method and device for updating user terminal access code |
| PCT/CN2006/002124 WO2007028314A1 (en) | 2005-09-09 | 2006-08-21 | Method and device for updating access number of user equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200510098700XA CN1929678B (en) | 2005-09-09 | 2005-09-09 | Method and device for updating user terminal access code |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1929678A CN1929678A (en) | 2007-03-14 |
| CN1929678B true CN1929678B (en) | 2010-04-21 |
Family
ID=37835367
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200510098700XA Expired - Fee Related CN1929678B (en) | 2005-09-09 | 2005-09-09 | Method and device for updating user terminal access code |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN1929678B (en) |
| WO (1) | WO2007028314A1 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8620380B2 (en) * | 2006-08-29 | 2013-12-31 | Intel Corporation | Subscriber identity module having a plurality of subscriber identities |
| CN102026120B (en) * | 2009-09-21 | 2013-11-06 | 华为技术有限公司 | Signal switch processing method, device and system |
| CN102006272B (en) * | 2010-04-30 | 2014-09-10 | 中兴通讯股份有限公司 | Method and system of application server (AS) for replacing Replace parameter |
| CN102006579B (en) * | 2010-04-30 | 2015-12-16 | 中兴通讯股份有限公司 | Upgrade the method and system of user's initial filter criteria |
| CN102291698B (en) * | 2011-08-24 | 2017-11-10 | 中兴通讯股份有限公司 | unstructured supplementary service realizing method, device and system |
| CN105323741B (en) * | 2014-08-04 | 2018-12-04 | 中国移动通信集团广东有限公司 | A kind of method and device for realizing international roaming limitation |
| CN108156577A (en) * | 2016-12-02 | 2018-06-12 | 中兴通讯股份有限公司 | User terminal UE charging methods based on VoLTE, apparatus and system |
| CN111212392B (en) * | 2018-11-22 | 2022-02-11 | 中国移动通信集团重庆有限公司 | Forwarding call filtering method, apparatus, device and medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1132992A (en) * | 1994-12-15 | 1996-10-09 | 美国电报电话公司 | device for making an emergency call from a radiotelephone |
| CN1171189A (en) * | 1994-12-22 | 1998-01-21 | 摩托罗拉公司 | Specialized call routing method and apparatus for cellular communication system |
| WO1998023108A2 (en) * | 1996-11-19 | 1998-05-28 | Telefonaktiebolaget Lm Ericsson | Methods and apparatus for accessing telephone numbers |
| US6657989B1 (en) * | 1997-07-18 | 2003-12-02 | Interoute Communications Limited | Apparatus and method for routing communications |
| CN1468024A (en) * | 2002-07-08 | 2004-01-14 | 华为技术有限公司 | A Network for Mobile Phone Localized Roaming |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5920814A (en) * | 1997-04-30 | 1999-07-06 | Telefonaktiebolaget | System and method of managing temporary mobile station identity (TMSI) parameters in a radio telecommunications network |
| US7885208B2 (en) * | 2003-09-11 | 2011-02-08 | Nokia Corporation | IP-based services for circuit-switched networks |
-
2005
- 2005-09-09 CN CN200510098700XA patent/CN1929678B/en not_active Expired - Fee Related
-
2006
- 2006-08-21 WO PCT/CN2006/002124 patent/WO2007028314A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1132992A (en) * | 1994-12-15 | 1996-10-09 | 美国电报电话公司 | device for making an emergency call from a radiotelephone |
| CN1171189A (en) * | 1994-12-22 | 1998-01-21 | 摩托罗拉公司 | Specialized call routing method and apparatus for cellular communication system |
| WO1998023108A2 (en) * | 1996-11-19 | 1998-05-28 | Telefonaktiebolaget Lm Ericsson | Methods and apparatus for accessing telephone numbers |
| US6657989B1 (en) * | 1997-07-18 | 2003-12-02 | Interoute Communications Limited | Apparatus and method for routing communications |
| CN1468024A (en) * | 2002-07-08 | 2004-01-14 | 华为技术有限公司 | A Network for Mobile Phone Localized Roaming |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1929678A (en) | 2007-03-14 |
| WO2007028314A1 (en) | 2007-03-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2657570C (en) | Multimedia next generation network architecture for ip services delivery based on network and user policy | |
| CN100474854C (en) | Method and network system for selecting called continued network | |
| EP1829300B1 (en) | Method for the routing of communications to a voice over internet protocol terminal in a mobile communication system | |
| JP4819904B2 (en) | Provision of IMS services via circuit-switched access (provision) | |
| CN101160881B (en) | Method and communication system for circuit domain user to access IP multimedia subsystem domain | |
| CN101568091B (en) | Method, system and equipment for providing service | |
| US20080039104A1 (en) | Method and system for routing control | |
| CN101127613A (en) | Method and Application of Acquisition of Circuit Domain Information by IP Multimedia Subsystem Application | |
| CN101448292A (en) | Method for acquiring home network proxy call session control function by access network | |
| CN101374336B (en) | System, apparatus and method for updating user equipment position | |
| CN1802022B (en) | Method and system for establishing initial call in voice service continuity service | |
| CN100442918C (en) | A method and system for implementing routing control | |
| CN100493255C (en) | System and method for realizing call service based on voice service continuity | |
| CN1929678B (en) | Method and device for updating user terminal access code | |
| CN100438513C (en) | System and method for implementing routing control | |
| CN1319350C (en) | System and method for implementing route control | |
| CN100571468C (en) | A CS domain call termination system and method | |
| CN103260144B (en) | The method, apparatus and system of communicating by letter between a kind of terminal of heterogeneous networks | |
| CN100452923C (en) | HLR and method and system for accessing traditional mobile terminal to IMS domain | |
| EP1974519A1 (en) | Method and apparatus for providing ims services to circuit-switched controlled terminals | |
| KR100943586B1 (en) | Heterogeneous communication system and call processing method in heterogeneous communication system | |
| CN101877841B (en) | Method, system and network equipment for realizing urgent services | |
| CN101990188B (en) | Method and system for selecting enhanced mobile switching center server | |
| KR100447412B1 (en) | The Apparatus and Method for the Mobility Management of IP Multimedia Service Subscriber | |
| CN100421405C (en) | Network and method for accessing multimedia services for mobile terminals in non-packet mode |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100421 |