CN103561441B - Dynamic strategy updating method and device based on timestamp - Google Patents
Dynamic strategy updating method and device based on timestamp Download PDFInfo
- Publication number
- CN103561441B CN103561441B CN201310499333.9A CN201310499333A CN103561441B CN 103561441 B CN103561441 B CN 103561441B CN 201310499333 A CN201310499333 A CN 201310499333A CN 103561441 B CN103561441 B CN 103561441B
- Authority
- CN
- China
- Prior art keywords
- user
- state
- timestamp
- hlr
- called
- 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
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000008569 process Effects 0.000 claims abstract description 28
- 238000012545 processing Methods 0.000 claims description 16
- 230000007246 mechanism Effects 0.000 claims description 15
- 230000008859 change Effects 0.000 claims description 8
- 238000012546 transfer Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims 1
- 102000018059 CS domains Human genes 0.000 description 19
- 108050007176 CS domains Proteins 0.000 description 19
- 238000010586 diagram Methods 0.000 description 6
- 230000004927 fusion Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004873 anchoring Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种基于时间戳的动态策略更新方法及设备,所述方法和设备基于用户数据库实现,在用户数据中增加用户状态的时间戳信息,标明用户注册状态以及用户注册的时间点,当用户在电路域、分组域和IMS域之间注册过程中,依据用户注册更新的所述时间戳信息,选择所述用户路由策略。本发明通过增加用户状态的时间戳信息,对用户的路由选择策略进行变化,解决用户呼叫路由查询的过程中不能依据用户状态进行正常的路由选择的问题。
The present invention discloses a method and device for updating a dynamic policy based on a time stamp. The method and device are implemented based on a user database, adding time stamp information of the user state to the user data, indicating the user registration state and the time point of the user registration, When the user registers among the circuit domain, the packet domain and the IMS domain, the user routing policy is selected according to the time stamp information updated by the user registration. The invention changes the routing selection strategy of the user by adding the time stamp information of the user status, and solves the problem that the normal routing selection cannot be performed according to the user status during the routing inquiry process of the user call.
Description
技术领域technical field
本发明属于通信技术领域,涉及网络的路由机制,尤其涉及一种基于时间戳的动态策略更新方法和设备。The invention belongs to the technical field of communication, relates to a routing mechanism of a network, and in particular relates to a dynamic policy updating method and equipment based on a time stamp.
背景技术Background technique
共号码是运营商存在多张移动核心网(CS、PS或IMS)时,共享同一套码号资源,不同网络下的用户可以使用相同的码号同时或分别在多张移动核心网登录并驻留。考虑到与已有码号资源的兼容性,通常共享的码号资源采用传统移动号码的E.164格式的码号形式。共号码既能够解决运营商码号资源紧张的问题,又可以保留用户的号码,给用户以良好的体验。Shared number means that when the operator has multiple mobile core networks (CS, PS or IMS), they share the same set of code number resources, and users under different networks can use the same code number to log in and camp on multiple mobile core networks at the same time or separately. Keep. Considering the compatibility with the existing code number resources, usually the shared code number resource adopts the E.164 format code number form of the traditional mobile number. The shared number can not only solve the problem of shortage of number resources of the operator, but also keep the user's number, giving the user a good experience.
SCC AS,全称是Service Centralization and Continuity ApplicationServer,即业务集中及连续性应用服务器,是归属网络中的IMS应用服务器,通过主叫或被叫流程中,通过iFC触发规则将该业务服务器插入到会话路径中,通常情况下SCC AS触发的时候位于主叫路径的第一个AS或是被叫路径中的最后一个AS,它主要完成话务转移以及域选择等功能。SCC AS, the full name is Service Centralization and Continuity Application Server, which is the service centralization and continuity application server. It is the IMS application server in the home network. Through the calling or called process, the service server is inserted into the session path through iFC trigger rules In general, when the SCC AS is triggered, it is located in the first AS of the calling path or the last AS in the called path. It mainly completes functions such as traffic transfer and domain selection.
在话务转移方面,可以为SRVCC用户提供会话转移(Session Transfer)功能,保证LTE语音业务的连续性,完成VoLTE业务从IMS域到电路域通话过程中的正常切换;在业务集中控制方面,可协助完成ICS功能,SCC-AS可作为SIP用户代理代替CS用户接入IMS,完成IMS会话的建立和控制,实现ICS用户代理的功能;该功能主要是在终端用户在移动过程中保证从LTE网络到3G网络不同覆盖下语音业务不中断而设定的功能。In terms of traffic transfer, it can provide SRVCC users with the session transfer (Session Transfer) function to ensure the continuity of LTE voice services and complete the normal switching of VoLTE services from the IMS domain to the circuit domain call process; in terms of business centralized control, it can Assist in the completion of ICS functions. SCC-AS can act as a SIP user agent instead of CS users to access IMS, complete the establishment and control of IMS sessions, and realize the function of ICS user agent; It is a function set without interruption of voice services under different coverages of 3G networks.
在终呼域选择方面,SCC-AS同时具备接入域选择的能力,即T-ADS(TerminatingAccess Domain Selection,终呼接入域选择),即它能够与HSS进行配合,间接访问SGSN/MME,从而判断用户当前登录的网络,从而完成业务及接入的域选择工作。In terms of terminating domain selection, SCC-AS also has the ability to select access domains, that is, T-ADS (Terminating Access Domain Selection, terminating access domain selection), that is, it can cooperate with HSS to indirectly access SGSN/MME, In this way, the network currently logged in by the user is judged, so as to complete the domain selection work of business and access.
此外,在GSMA标准中,为了能够触发SCC-AS进行业务处理和判断,用户会签约一个特殊的智能网业务,这个SCP功能内置在SCC-AS上,即SCC-AS支持CAP接口给MSC,由该功能完成电路域到IMS域的锚定过程。In addition, in the GSMA standard, in order to trigger the SCC-AS to perform service processing and judgment, the user will sign a special intelligent network service. This SCP function is built into the SCC-AS, that is, the SCC-AS supports the CAP interface to the MSC. This function completes the anchoring process from the CS domain to the IMS domain.
从网络的发展来看,IMS与移动网软交换在较长的时间内仍将保持互通并存的关系,软交换演进至ICS(IMS Centralized Services,IMS集中业务),由IMS统一控制还需一定时间,因此,在Pre-ICS(IMS集中业务之前)阶段,用户语音业务在LTE网络上由IMS负责,在2G/3G网络上由电路域软交换网络负责。From the perspective of network development, IMS and mobile network softswitch will still maintain the relationship of intercommunication and coexistence for a long time. It will take some time for softswitch to evolve to ICS (IMS Centralized Services, IMS centralized service) and be controlled by IMS. Therefore, in the Pre-ICS (before IMS centralized service) stage, user voice services are handled by the IMS on the LTE network, and by the circuit domain softswitch network on the 2G/3G network.
VoL TE用户采用共号码方式下的场景需求具体分析如下:The specific analysis of the scenario requirements for VoL TE users using the shared number mode is as follows:
■对于被叫用户来说,其中语音业务即可以附着在电路域,由电路域提供,也可以注册在IMS网络,通过分组域接入由IMS网络提供业务,因此存在语音接听多条通道的情况,需要有网元具有终呼域选择功能,来选择从哪个域路由与被叫用户建立会话。■For the called user, the voice service can be attached to the circuit domain and provided by the circuit domain, or can be registered in the IMS network, and the service is provided by the IMS network through the packet domain access, so there are multiple channels for voice reception , it is necessary for the network element to have the function of terminating call domain selection to select which domain route to establish a session with the called user.
因此,对于VoLTE用户来说,在采用相同用户码号资源的场景下,需要保证用户能够无需感知当前附着的网络(2G、3G或LTE),只要在移动蜂窝信号覆盖范围内都可接听电话。Therefore, for VoLTE users, in the scenario where the same user number resources are used, it is necessary to ensure that users can answer calls as long as they are within the coverage of mobile cellular signals without being aware of the currently attached network (2G, 3G or LTE).
而为了解决被叫域选择的问题,标准中引入了SCC-AS的概念,图1是GSMA发布的IR.64标准规范的场景图,该场景下是Pre-ICS阶段的场景,即部署了MSC,但是该MSC没有升级支持ICS功能。In order to solve the problem of called domain selection, the concept of SCC-AS is introduced in the standard. Figure 1 is a scene diagram of the IR.64 standard specification released by GSMA. This scene is the scene of the Pre-ICS stage, that is, MSC is deployed. , but the MSC has not been upgraded to support the ICS function.
在标准中,为了能够触发SCC-AS进行业务处理和判断,当主叫侧用户来自电路域的时候,标准中要求用户签约一个特殊的SCP,如图1所示,用户会签约一个特殊的智能网业务,这个SCP功能内置在SCC-AS上,即SCC-AS支持CAP接口给MSC。主叫MSC通过CAP接口连接到SCC-AS上(兼做SCP功能),当主叫侧发起业务的时候,信令从主叫侧进行业务触发,主叫发起的语音业务全部锚定到IMS域,在进入IMS域后进而触发SCC-AS服务器进行被叫侧的业务判断,完成被叫侧的接入域选择过程。In the standard, in order to trigger the SCC-AS for service processing and judgment, when the calling user comes from the circuit domain, the standard requires the user to sign up for a special SCP, as shown in Figure 1, the user will sign up for a special smart Network service, the SCP function is built in the SCC-AS, that is, the SCC-AS supports the CAP interface to the MSC. The calling MSC is connected to the SCC-AS through the CAP interface (doubling as the SCP function). When the calling side initiates a service, the signaling is triggered from the calling side, and all the voice services initiated by the calling side are anchored to the IMS domain. After entering the IMS domain, the SCC-AS server is triggered to judge the service of the called side, and complete the access domain selection process of the called side.
在主叫来自电路域,被叫是一个开通VoLTE功能的用户的场景下,当主叫用户实际在电路域登陆时,在呼叫到被叫侧后,用户仍然需要先锚定到IMS域,由SCC-AS进行判断处理,SCCAS通过访问HLR/HSS,以及SGSN/MME的用户信息,获取将当前用户在CS域的状态后,再通过MGCF将呼叫路由出IMS域,到电路域侧进行处理,从而完成整个呼叫流程。这样会造成主被叫用户都从电路域登陆,但是由于呼叫被叫方为共号码用户,由于签约特殊的共号码业务,被强制锚定到IMS域后,再路由回CS域的过程,这样就造成路由迂回的问题。In the scenario where the calling party is from the CS domain and the called party is a user who has activated the VoLTE function, when the calling user actually logs in in the CS domain, after the call is made to the called side, the user still needs to anchor to the IMS domain first, and the The SCC-AS performs judgment processing. The SCCAS obtains the status of the current user in the CS domain by accessing the user information of the HLR/HSS and SGSN/MME, and then routes the call out of the IMS domain through the MGCF for processing on the CS domain side. This completes the entire call process. This will cause both the calling and called users to log in from the circuit domain. However, since the called party is a shared-number user and subscribed to a special shared-number service, they are forced to be anchored to the IMS domain and then routed back to the CS domain. It causes the problem of detour routing.
从运营角度来看,传统移动网络的用户码号是其极其宝贵的客户资源,而对于IMS网络来说,其用户号码相比传统移动网络虽然可以采用更加灵活的用户身份标识配置形式,但是从业务体验一致性的角度考虑,特别是对于语音/消息类等运营商的传统基础业务来说,仍然需要考虑能够继承现有移动网络的码号形式,即IMS用户可以使用2G/3G网络号码来实现IMS业务,IMS与2G/3G网络共号码对用户保有现有的用户群资源具有极其重要的意义,因此在电信运营商LTE部署之后,为了方便用户使用,VoLTE用户通常与现网2G/3G用户共用同一个号码,这样该号码做被叫时,网络需要根据被叫当前的注册状态来选择被叫是接续到电路域还是IMS域。From an operational point of view, the user IDs of traditional mobile networks are extremely valuable customer resources. For IMS networks, although user IDs can be configured more flexibly than traditional mobile networks, the From the perspective of service experience consistency, especially for traditional basic services of operators such as voice/messaging, it is still necessary to consider the code number format that can inherit the existing mobile network, that is, IMS users can use 2G/3G network numbers to To realize IMS services, IMS and 2G/3G network share numbers are extremely important for users to maintain existing user group resources. Therefore, after the deployment of LTE by telecom operators, for the convenience of users, VoLTE users usually share with the existing network 2G/3G Users share the same number, so when this number is called, the network needs to select whether the called party is connected to the CS domain or the IMS domain according to the current registration status of the called party.
目前现有技术存在的问题是VoLTE终端正常情况下仍然在2G/3G网络中注册,当进入LTE网络覆盖时,会向IMS网络发起注册,但此时不会向CS域发注销消息;同样但漫出LTE网络时也不会向IMS发注销消息,这样造成终端在CS域和IMS域中的注册信息都不是实时信息,网络无法根据用户的真实状态进行被叫域选择。The problem with the current existing technology is that VoLTE terminals are still registered in the 2G/3G network under normal circumstances. When entering the coverage of the LTE network, they will initiate registration with the IMS network, but at this time they will not send a deregistration message to the CS domain; When roaming out of the LTE network, a logout message will not be sent to the IMS, so that the registration information of the terminal in the CS domain and the IMS domain is not real-time information, and the network cannot select the called domain according to the real status of the user.
现有标准提出了SCC-AS的概念,该网元具备接入域选择的能力,即T-ADS(Terminating Access Domain Selection,终呼接入域选择),即它能够与HLR/HSS进行配合,间接访问SGSN/MME,从而判断用户当前登录的网络,从而完成业务及接入的域选择工作。但该方式下,要求终端在发起业务的时候,都必须锚定到IMS域触发SCC-AS服务器来完成业务的选择。特别是对于来自电路域的呼叫,也需要锚定到IMS域进行处理,一方面造成路由迂回,另一方面也不利于业务发展。The existing standard proposes the concept of SCC-AS. This network element has the ability to select the access domain, that is, T-ADS (Terminating Access Domain Selection, terminating access domain selection), that is, it can cooperate with HLR/HSS, Indirect access to SGSN/MME, so as to judge the network that the user is currently logged in, so as to complete the domain selection of business and access. However, in this way, when initiating a service, the terminal is required to be anchored to the IMS domain to trigger the SCC-AS server to complete the service selection. Especially for calls from the circuit domain, they also need to be anchored to the IMS domain for processing, which causes circuitous routing on the one hand and is not conducive to service development on the other hand.
总之,以上问题最根本原因是由于提供语音业务的电路域和IMS域两域之间不会进行用户状态信息的交互,用户数据库HLR/HSS设备没有用户注册状态的时间戳信息。即,当进入LTE网络覆盖时,会向IMS网络发起注册,但此时不会向CS域发注销消息;同样但漫出LTE网络时也不会向IMS发注销消息,这样造成终端在CS域和IMS域中的注册信息都不是实时信息,因此造成以上问题。In short, the root cause of the above problems is that there is no interaction of user status information between the CS domain and the IMS domain providing voice services, and the user database HLR/HSS equipment does not have time stamp information of user registration status. That is, when entering the coverage of the LTE network, it will initiate registration with the IMS network, but at this time it will not send a deregistration message to the CS domain; similarly, it will not send a deregistration message to the IMS when it roams out of the LTE network, which will cause the terminal to be in the CS domain. And the registration information in the IMS domain is not real-time information, thus causing the above problems.
发明内容Contents of the invention
有鉴于现有技术的上述缺陷,本发明所要解决的技术问题是提供一种基于时间戳的动态策略更新方法及设备,基于用户数据库HLR/HSS融合设备实现,通过用户在电路域、分组域以及IMS域不同域之间注册过程中,针对用户依据注册更新的时间戳,对该用户的路由选择策略进行变化,解决用户呼叫路由查询的过程中不能依据用户状态进行正常的路由选择的问题。In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is to provide a dynamic policy update method and device based on time stamp, which is implemented based on the user database HLR/HSS fusion device, through the user in the circuit domain, packet domain and During the registration process between different domains in the IMS domain, the user's routing selection strategy is changed according to the time stamp of the registration update, which solves the problem that the normal routing selection cannot be performed according to the user status during the user call routing query process.
实现上述目的,本发明提供了一种基于时间戳的动态策略更新方法,包括如下步骤:To achieve the above object, the present invention provides a timestamp-based dynamic policy update method, comprising the following steps:
步骤1)、主叫用户A向被叫用户B发起一个语音业务,发送IAM消息给主叫用户所服务的主叫MSC;Step 1), calling user A initiates a voice service to called user B, and sends an IAM message to the calling MSC served by the calling user;
步骤2)、所述主叫MSC收到呼叫请求后,依据所述被叫用户B的号码,获得GT路由信息,向所述被叫用户B所在的HLR/HSS查询路由信息,所述HLR/HSS收到所述查询路由信息后,执行判断处理流程:Step 2), after the calling MSC receives the call request, it obtains GT routing information according to the number of the called user B, and inquires about the routing information from the HLR/HSS where the called user B is located, and the HLR/HSS After the HSS receives the query routing information, it executes the judgment process:
●若判断用户执行策略是影响失败(即用户未在任何域注册),则反馈相应消息给所述主叫MSC/VLR;●If it is judged that the user's implementation of the policy is a failure to affect (that is, the user is not registered in any domain), then feed back a corresponding message to the calling MSC/VLR;
●若判断用户执行策略是路由到电路域,则执行步骤3’-5’;●If it is judged that the user execution policy is routed to the circuit domain, then perform steps 3'-5';
●若判断用户执行策略是路由到IMS域,则执行步骤3-5;●If it is judged that the user execution policy is routed to the IMS domain, then perform steps 3-5;
步骤3’)、所述被叫HLR/HSS向被叫所属VLR发起取漫游号码(MSRN)消息,即发送PRN,去被叫所属MSC获取被叫的漫游号码。所述被叫MSC将漫游号码通过HLR返回给所述主叫MSC;Step 3'), the called HLR/HSS initiates a Get Roaming Number (MSRN) message to the called VLR, that is, sends a PRN, and goes to the called MSC to obtain the called roaming number. The called MSC returns the roaming number to the calling MSC through the HLR;
步骤4’)、主所述叫MSC依据漫游号码发送IAM消息给所述被叫MSC;Step 4'), the calling MSC sends an IAM message to the called MSC according to the roaming number;
步骤5’)、所述被叫MSC发送paging消息给所述被叫用户B,从而完成正常呼叫。Step 5'), the called MSC sends a paging message to the called user B, thereby completing the normal call.
步骤3)、所述被叫HLR/HSS发送IMS域漫游号码给所述主叫MSC/VLR;Step 3), the called HLR/HSS sends the IMS domain roaming number to the calling MSC/VLR;
步骤4)、所述主叫MSC发送IAM消息给GMSC/MGCF路由至所述IMS域;Step 4), the calling MSC sends an IAM message to the GMSC/MGCF for routing to the IMS domain;
步骤5)、所述IMS域寻址到所述被叫用户B地址信息,并通过invite消息给所述被叫用户B,从而完成正常呼叫。Step 5), the IMS domain addresses the address information of the called user B, and sends an invite message to the called user B, thereby completing a normal call.
在本发明的较佳实施方式中,所述步骤2)中所述HLR/HSS的查询路由信息具体步骤如下:In a preferred embodiment of the present invention, the specific steps of querying routing information of the HLR/HSS described in step 2) are as follows:
2-1)、更新用户数据库中用户的注册状态以及对应的时间戳;2-1), update the registration status of the user in the user database and the corresponding timestamp;
2-2)、通过状态机变化的查询和调整,即从上一次状态,调整到本次状态;2-2) Through the query and adjustment of state machine changes, that is, from the previous state to the current state;
2-3)、通过对状态机查询,调用并选择应用的某个状态下对应的选择策略。2-3). By querying the state machine, call and select the selection strategy corresponding to a certain state of the application.
在本发明的另一较佳实施方式中,所述步骤2-1)中所述用户注册状态和所述时间戳在HLR数据库中格式如下:In another preferred embodiment of the present invention, the format of the user registration status and the timestamp in the step 2-1) in the HLR database is as follows:
其中,YY代表年,长度4位;MM代表月份,长度2位;DD代表日期,长度2位;hh代表小时,长度2位;mm代表分钟,长度2位;ss代表秒,长度2位。Among them, YY represents year, length 4; MM represents month, length 2; DD represents date, length 2; hh represents hour, length 2; mm represents minute, length 2; ss represents second, length 2.
在本发明的另一较佳实施方式中,所述步骤2-2)中所述状态机的四元组为:In another preferred embodiment of the present invention, the quaternion of the state machine in the step 2-2) is:
用户状态机共有5种状态模式,不同的状态模式下,对应有相应的选择策略,每个用户都处于5种状态模式中某种模式下,当用户在不同网络登陆后,该用户的状态模式也会发生相应的变化调整。The user state machine has 5 state modes in total. There are corresponding selection strategies for different state modes. Each user is in one of the 5 state modes. When a user logs in on a different network, the user's state mode Corresponding changes and adjustments will also occur.
在本发明的较佳实施方式中,所述步骤2-1)更新用户数据库中用户的注册状态以及对应的时间戳,如果终端在电路域,则注册步骤如下:In a preferred embodiment of the present invention, the step 2-1) updates the registration status of the user in the user database and the corresponding time stamp. If the terminal is in the circuit domain, the registration steps are as follows:
1)、UE发送位置更新消息到MSC/VLR;1), UE sends a location update message to MSC/VLR;
2)、MSC/VLR发送位置更新消息到HLR,发起注册流程;2), MSC/VLR sends a location update message to HLR, and initiates the registration process;
3)、HLR更新注册时间戳,并调动策略判断机制,更新用户选择策略。3) The HLR updates the registration time stamp, and mobilizes the policy judgment mechanism to update the user selection policy.
在本发明的另一较佳实施方式中,所述步骤2-1)更新用户数据库中用户的注册状态以及对应的时间戳,如果终端在IMS域,则注册步骤如下:In another preferred embodiment of the present invention, the step 2-1) updates the registration status of the user in the user database and the corresponding timestamp. If the terminal is in the IMS domain, the registration steps are as follows:
1)、UE发送位置更新消息到P/I/S-CSCF;1), UE sends location update message to P/I/S-CSCF;
2)、P/I/S-CSCF发送位置更新消息到HSS,发起注册流程;2) The P/I/S-CSCF sends a location update message to the HSS to initiate the registration process;
3)、HSS更新注册时间戳,并调动策略判断机制,更新用户选择策略。3) HSS updates the registration time stamp, and mobilizes the policy judgment mechanism to update the user selection policy.
本发明提供了一种基于时间戳的动态策略更新设备,包括存储模块、管理模块和处理模块,所述存储模块用于存储注册状态及时间的内容四元组用户信息,所述管理模块用于管理用户注册状态变化的状态机,所述处理模块用于进行策略判断,依据用户当前的状态机情况,更新调整,并相应用户请求为用户选择为其服务网络。The present invention provides a dynamic policy update device based on time stamps, including a storage module, a management module and a processing module, the storage module is used to store registration status and time content quadruple user information, and the management module is used for A state machine that manages user registration state changes, and the processing module is used to make policy judgments, update and adjust according to the current state machine situation of the user, and select a service network for the user corresponding to the user request.
本发明在用户数据库基础上,进行功能增加,进行字段扩展--增加用户状态的时间戳信息,同时针对时间戳制定的一套动态策略机制,即主要基于用户数据库HLR/HSS融合设备实现,通过用户在电路域、分组域以及IMS域不同域之间注册过程中,针对用户依据注册更新的时间戳,对该用户的路由选择策略进行变化,解决用户呼叫路由查询的过程中不能依据用户状态进行正常的路由选择的问题。On the basis of the user database, the present invention increases functions and expands fields—increasing the timestamp information of the user status. At the same time, a set of dynamic policy mechanisms formulated for the timestamp is mainly realized based on the HLR/HSS fusion equipment of the user database, through During the process of user registration among different domains of circuit domain, packet domain, and IMS domain, the routing selection strategy of the user is changed according to the time stamp of the user's registration update, which solves the problem that the user's call routing query cannot be performed according to the user status. Normal routing problem.
以下将结合附图对本发明的构思、具体结构及产生的技术效果作进一步说明,以充分地了解本发明的目的、特征和效果。The idea, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings, so as to fully understand the purpose, features and effects of the present invention.
附图说明Description of drawings
图1是GSMA发布的IR.64标准规范锚定到IMS域的主叫侧场景;Figure 1 is the calling side scenario where the IR.64 standard specification released by GSMA is anchored to the IMS domain;
图2是本发明的一个较佳实施例的主叫来自CS域的呼叫流程示意图;Fig. 2 is a schematic diagram of a calling flow from a CS domain in a preferred embodiment of the present invention;
图3是本发明的一个较佳实施例的用户注册状态变化状态机示意图;Fig. 3 is a schematic diagram of a user registration state change state machine in a preferred embodiment of the present invention;
图4是本发明的一个较佳实施例的用户注册/位置更新执行流程;Fig. 4 is a user registration/location update execution flow of a preferred embodiment of the present invention;
图5是本发明的一个较佳实施例的用户路由信息请求执行流程;Fig. 5 is a user routing information request execution flow of a preferred embodiment of the present invention;
图6是本发明的一个较佳实施例的用户从电路域注册示意图;Fig. 6 is a schematic diagram of a user registering from a CS domain in a preferred embodiment of the present invention;
图7是本发明的一个较佳实施例的用户从IMS域注册示意图;Fig. 7 is a schematic diagram of a user registering from an IMS domain in a preferred embodiment of the present invention;
图8是本发明的一个个较佳实施例基于时间戳的动态策略更新设备的组成示意图。Fig. 8 is a schematic diagram of composition of a time stamp-based dynamic policy update device according to a preferred embodiment of the present invention.
具体实施方式detailed description
本发明给出一种基于时间戳的动态策略更新方法和设备,该设备主要基于用户数据库实现,通过用户在电路域、分组域以及IMS域不同域之间注册过程中,针对用户依据注册更新的时间戳,对该用户的路由选择策略进行变化,解决用户呼叫路由查询的过程中不能依据用户状态进行正常的路由选择的问题。The present invention provides a method and device for updating dynamic policies based on time stamps. The device is mainly implemented based on the user database. During the process of user registration among different domains in the circuit domain, packet domain, and IMS domain, the user is updated according to the registration process. Timestamp, to change the routing strategy of the user, to solve the problem that the user cannot perform normal routing selection based on the user status during the routing query process of the user call.
一、设备功能要求1. Equipment function requirements
本发明要求用户数据库为融合数据库设备,该设备功能上有所增强,主要如下:The present invention requires that the user database is a fusion database device, and the function of the device is enhanced, mainly as follows:
●动态数据功能增强,增加用户状态的时间戳信息,当用户从电路域注册的时候,HLR数据库除标明用户已注册外,另外标明用户注册的时间点;当用户从IMS域注册的时候,HSS数据库除标明用户已注册外,也另外标明用户注册的时间点。●Enhanced dynamic data function, adding time stamp information of user status. When a user registers from the circuit domain, the HLR database not only indicates that the user has registered, but also indicates the time point of user registration; when the user registers from the IMS domain, HSS In addition to indicating that the user has registered, the database also indicates the time point of user registration.
其中,YY代表年,长度4位;MM代表月份,长度2位;DD代表日期,长度2位;hh代表小时,长度2位;mm代表分钟,长度2位;ss代表秒,长度2位。Among them, YY represents year, length 4; MM represents month, length 2; DD represents date, length 2; hh represents hour, length 2; mm represents minute, length 2; ss represents second, length 2.
●存储有一套内容四元组(状态1:时间1;状态2:时间戳2),并增加动态策略判断机制,即针对时间戳对应有一套动态策略机制。举例如下:主要依据HLR和HSS的用户注册和时间戳不同的状态,动态调整策略机制,如选择电路域,选择IMS域。● Store a set of content quadruples (state 1: time 1; state 2: timestamp 2), and add a dynamic policy judgment mechanism, that is, there is a set of dynamic policy mechanism for the timestamp. An example is as follows: mainly according to the different states of user registration and time stamps of HLR and HSS, dynamically adjust the policy mechanism, such as selecting a circuit domain or an IMS domain.
●动态变化机制●Dynamic change mechanism
图3为用户的状态机,目前共用5中状态模式。不同的状态模式下,对应有相应的选择策略。每个用户都处于5中状态模式中某种模式下,当用户在不同网络登陆后,该用户的状态模式也会发生相应的变化调整。Figure 3 shows the user's state machine, which currently shares 5 state modes. There are corresponding selection strategies for different state modes. Each user is in one of the 5 status modes. When the user logs in on different networks, the user's status mode will also change and adjust accordingly.
●HLR/HSS执行流程●HLR/HSS execution process
图4和图5为用户注册/位置更新执行流程和用户路由信息请求执行流程,依据用户不同的注册状态,存在多种状态机。不同的状态机下会存在多种策略流程,具体的策略流程在后体现。Figure 4 and Figure 5 are the execution flow of user registration/location update and the execution flow of user routing information request. There are various state machines according to different registration states of users. There will be multiple policy processes under different state machines, and the specific policy processes will be reflected later.
二、注册/位置更新过程2. Registration/Location Update Process
1,通过电路域(CS域)注册/位置更新过程1. Through the circuit domain (CS domain) registration/location update process
终端在CS注册时,HLR完成用户注册,HLR收到MSC发起的注册消息后,并通知更新HLR中对于电路域的注册时间戳,若第一次注册,则填写本次注册的时间,流程图如图6所示。When the terminal registers with the CS, the HLR completes the user registration. After receiving the registration message initiated by the MSC, the HLR notifies to update the registration time stamp of the circuit domain in the HLR. If it is the first registration, fill in the time of this registration. Flowchart As shown in Figure 6.
流程说明:Flow Description:
1)UE发送位置更新消息到MSC/VLR;1) UE sends location update message to MSC/VLR;
2)MSC/VLR发送位置更新消息到HLR,发起注册流程;2) MSC/VLR sends a location update message to HLR to initiate the registration process;
3)HLR更新注册时间戳,并调动策略判断机制,更新用户选择策略。3) HLR updates the registration time stamp, and mobilizes the policy judgment mechanism to update the user selection policy.
这里分几种情况来调用动态选择机制。Here are several situations to call the dynamic selection mechanism.
1)情况一:若当前用户未在其他域注册,第一次在电路域注册。1) Situation 1: If the current user has not registered in other domains, it is the first time to register in the circuit domain.
用户数据状态存储情况如下:The status storage of user data is as follows:
2)情况二:若当前用户在IMS域注册,未在电路域注册。2) Case 2: If the current user is registered in the IMS domain but not in the CS domain.
用户之前的数据状态存储情况如下:The user's previous data state storage is as follows:
改变后的用户数据状态存储情况如下:The changed user data state storage is as follows:
3)情况三:若当前用户在CS域和IMS域都已注册。3) Case 3: If the current user has registered in both the CS domain and the IMS domain.
用户之前的数据状态存储情况如下:The user's previous data state storage is as follows:
改变后的用户数据状态存储情况如下:The changed user data state storage is as follows:
最后,HLR/HSS判断状态更改后,会调用动态策略机制(首先判断用户的注册状态,再判断HLR与HSS时间戳的先后关系)最后生成相应的选择策略,供进行路由选择的时候进行判断处理。Finally, after the HLR/HSS judges that the status has changed, it will call the dynamic policy mechanism (first judge the registration status of the user, and then judge the sequence relationship between the HLR and the HSS timestamp) and finally generate the corresponding selection strategy for judging and processing when routing .
2,通过IMS域注册流程2. Go through the IMS domain registration process
VoL TE终端在IMS注册时,通过接入网,连接到CSCF后,通过HSS完成用户注册,HSS收到注册消息后,并通知更新HSS中对于IMS域的注册时间戳,若第一次注册,则填写本次注册的时间,流程图7.When a VoL TE terminal registers with the IMS, it connects to the CSCF through the access network, and completes the user registration through the HSS. After receiving the registration message, the HSS notifies to update the registration timestamp for the IMS domain in the HSS. If it is the first registration, Then fill in the registration time, flow chart 7.
这里分几种情况来调动动态选择机制。Here are several situations to mobilize the dynamic selection mechanism.
1)情况一:若当前用户未在其他域注册,第一次在IMS域注册。1) Situation 1: If the current user has not registered in other domains, it is the first time to register in the IMS domain.
用户数据状态存储情况如下:The status storage of user data is as follows:
2)情况二:若当前用户在CS域注册,未在IMS域注册。2) Case 2: If the current user is registered in the CS domain but not in the IMS domain.
用户之前的数据状态存储情况如下:The user's previous data state storage is as follows:
改变后的用户数据状态存储情况如下:The changed user data state storage is as follows:
3)情况三:若当前用户在CS域和IMS域都已注册。3) Case 3: If the current user has registered in both the CS domain and the IMS domain.
用户之前的数据状态存储情况如下:The user's previous data state storage is as follows:
改变后的用户数据状态存储情况如下:The changed user data state storage is as follows:
最后,HLR/HSS判断状态更改后,会调用动态策略机制(首先判断用户的注册状态,再判断HLR与HSS时间戳的先后关系)最后生成相应的选择策略,供进行路由选择的时候进行判断处理。Finally, after the HLR/HSS judges that the status has changed, it will call the dynamic policy mechanism (first judge the registration status of the user, and then judge the sequence relationship between the HLR and the HSS timestamp) and finally generate the corresponding selection strategy for judging and processing when routing .
本发明的一个具体实施例流程图如图2所示,具体步骤包括:A flow chart of a specific embodiment of the present invention is shown in Figure 2, and the specific steps include:
步骤1,主叫用户A向被叫用户B发起一个语音业务,发送IAM消息给主叫用户所服务的主叫MSC。Step 1. The calling user A initiates a voice service to the called user B, and sends an IAM message to the calling MSC served by the calling user.
步骤2,主叫MSC收到呼叫请求后,会依据被叫用户B的号码,获得GT路由信息,向被叫用户所在的HLR/HSS查询路由信息,即发送SRI(Send_Routing_Information)消息。Step 2: After receiving the call request, the calling MSC will obtain GT routing information based on the number of the called user B, and query the routing information from the HLR/HSS where the called user is located, that is, send an SRI (Send_Routing_Information) message.
此时,HLR/HSS收到查询路由信息后,执行判断处理流程:At this point, after the HLR/HSS receives the query routing information, it executes the judgment process:
若判断用户执行策略是影响失败(即用户未在任何域注册),则反馈相应消息给主叫MSC/VLR;If it is judged that the user's implementation of the policy is a failure to affect (that is, the user is not registered in any domain), it will feed back a corresponding message to the calling MSC/VLR;
若判断用户执行策略是路由到电路域,则执行步骤3’;If it is judged that the user execution policy is routed to the circuit domain, then perform step 3';
若判断用户执行策略是路由到IMS域,则执行步骤3;If it is determined that the user execution policy is routed to the IMS domain, then perform step 3;
步骤3’,被叫HLR/HSS向被叫所属VLR发起取漫游号码(MSRN)消息,即发送PRN(Provide_Roaming_Number),去被叫所属MSC获取被叫的漫游号码。被叫MSC将漫游号码通过HLR返回给主叫MSC;Step 3', the called HLR/HSS initiates a roaming number (MSRN) message to the called VLR, that is, sends a PRN (Provide_Roaming_Number) to the called MSC to obtain the called roaming number. The called MSC returns the roaming number to the calling MSC through the HLR;
步骤4’,主叫MSC依据漫游号码发送IAM消息给被叫MSC;Step 4', the calling MSC sends an IAM message to the called MSC according to the roaming number;
步骤5’,被叫MSC发送paging消息给被叫用户B,从而完成正常呼叫。In step 5', the called MSC sends a paging message to the called user B, thereby completing the normal call.
步骤3,被叫HLR/HSS发送IMS域漫游号码(注释,这里也可以采用(主叫号码A,前缀+被叫号码B)方式,将消息发送主叫MSC/VLR至电路域的关口局,通过关口局分析送至到IMS网络)给主叫MSC/VLR;Step 3, the called HLR/HSS sends the IMS domain roaming number (note, here you can also use the method of (calling number A, prefix + called number B) to send the message to the calling MSC/VLR to the gateway office of the circuit domain, Send to the IMS network through the gateway office analysis) to the calling MSC/VLR;
步骤4,主叫MSC发送IAM消息给,GMSC/MGCF路由至IMS域;Step 4, the calling MSC sends an IAM message to the GMSC/MGCF and routes it to the IMS domain;
步骤5,IMS域寻址到被叫用户B地址信息,并通过invite消息给被叫用户B,从而完成正常呼叫。In step 5, the IMS domain addresses the address information of the called user B, and sends an invite message to the called user B, thereby completing a normal call.
如图8所示,一种基于时间戳的动态策略更新设备,包括存储模块、管理模块和处理模块,存储模块用于存储注册状态及时间的内容四元组等用户信息。管理模块用于管理用户注册状态变化的状态机,当用户注册状态变化时,调整相应状态机。依据用户不同的注册状态,存在多种状态机。处理模块用于进行策略判断,依据用户当前的状态机情况,更新调整,并相应用户请求为用户选择为其服务网络。As shown in FIG. 8 , a timestamp-based dynamic policy update device includes a storage module, a management module, and a processing module. The storage module is used to store user information such as registration status and content quadruple of time. The management module is used to manage the state machine of the user registration state change, and adjust the corresponding state machine when the user registration state changes. According to different registration states of users, there are various state machines. The processing module is used for policy judgment, updates and adjustments based on the current state machine situation of the user, and selects the service network for the user corresponding to the user request.
存储模块功能:主要存储四元组等用户信息,用户开户时,按照默认状态保存用户状态四元组信息,当用户注册和位置更新等状态发生变化时候,会调用该模块,进行信息更新操作,更新操作后,需要及时通知管理模块。更新流程如图4所示。Storage module function: it mainly stores user information such as quadruples. When a user opens an account, the user status quadruple information is saved according to the default state. When the status of user registration and location update changes, this module will be called to perform information update operations. After the update operation, the management module needs to be notified in time. The update process is shown in Figure 4.
管理模板功能:管理模块主要维护用户的注册状态机,可以从用户存储模块中获取用户信息,获取过程可以是主动访问,也可以采用订阅的方式,即用户存储信息编号就要求存储模块即时相应,从而维护状态机的准确性。状态机维护如图3所示。Management template function: the management module mainly maintains the user's registration state machine, and can obtain user information from the user storage module. The acquisition process can be active access or subscription, that is, the user storage information number requires the storage module to respond immediately. Thereby maintaining the accuracy of the state machine. State machine maintenance is shown in Figure 3.
处理模块功能:主要进行策略判断处理,当收到来自其它设备(如VLR等)的获取路由请求时(如SRI消息,send routing info),依据用户当前的状态机情况,进行策略处理,响应用户请求为用户选择为其服务网络。处理流程如图5所示。Processing module function: mainly for policy judgment processing, when receiving a routing request (such as SRI message, send routing info) from other devices (such as VLR, etc.), according to the current state machine situation of the user, carry out policy processing and respond to the user Request to select a service network for the user. The processing flow is shown in Figure 5.
以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术无需创造性劳动就可以根据本发明的构思作出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred specific embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make many modifications and changes according to the concept of the present invention without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the prior art shall be within the scope of protection defined by the claims.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310499333.9A CN103561441B (en) | 2013-10-22 | 2013-10-22 | Dynamic strategy updating method and device based on timestamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310499333.9A CN103561441B (en) | 2013-10-22 | 2013-10-22 | Dynamic strategy updating method and device based on timestamp |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103561441A CN103561441A (en) | 2014-02-05 |
CN103561441B true CN103561441B (en) | 2017-02-15 |
Family
ID=50015549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310499333.9A Expired - Fee Related CN103561441B (en) | 2013-10-22 | 2013-10-22 | Dynamic strategy updating method and device based on timestamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103561441B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681158B (en) * | 2014-11-20 | 2019-05-14 | 中国移动通信集团公司 | A kind of method, apparatus and system for improving IP short message and delivering accuracy |
CN105704768B (en) * | 2016-03-11 | 2019-02-15 | 中国联合网络通信集团有限公司 | Method and device for processing voice service establishment failure |
CN105847256A (en) * | 2016-03-25 | 2016-08-10 | 宇龙计算机通信科技(深圳)有限公司 | Calling access domain selection method, apparatus, IMS terminal and server for ownership contract signing |
CN111107607B (en) * | 2018-10-29 | 2022-05-13 | 中国移动通信集团安徽有限公司 | Method for determining access domain and auxiliary method for determining access domain |
CN112925844B (en) * | 2019-12-06 | 2024-09-24 | 华为云计算技术有限公司 | Method and device for processing database |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115239A (en) * | 2007-09-04 | 2008-01-30 | 中兴通讯股份有限公司 | Time negotiation method of login overtime and relogin method and logout method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2342814B (en) * | 1998-10-12 | 2003-11-05 | Nokia Mobile Phones Ltd | Automatic configuration of services in a communication system |
-
2013
- 2013-10-22 CN CN201310499333.9A patent/CN103561441B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101115239A (en) * | 2007-09-04 | 2008-01-30 | 中兴通讯股份有限公司 | Time negotiation method of login overtime and relogin method and logout method |
Also Published As
Publication number | Publication date |
---|---|
CN103561441A (en) | 2014-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7620391B2 (en) | Management of multiple user identities in a communication system | |
JP4992308B2 (en) | Communication system, operation control method, location management server, and program | |
CN102640539B (en) | The process of access capability information in mobile network | |
EP3096584B1 (en) | Handover delay optimization | |
KR101565626B1 (en) | A mobile switching center platform having interfaces with functionalities defined by an architecture that provides packet-switched multimedia subscriber services | |
JP2013528993A (en) | Terminal capability acquisition method and system using terminal, HSS, and core network element | |
US8675640B2 (en) | Method, apparatus, and system for connecting to called terminal | |
EP2763464B1 (en) | Convergence calling method and system | |
CN103561441B (en) | Dynamic strategy updating method and device based on timestamp | |
CN101931923A (en) | Method for user registration of IP multimedia subsystem network and service fulfillment system | |
CN101123822B (en) | Implementation method for emergent call service in IP multimedia subsystem central service | |
CN101325590B (en) | Method for implementation terminal call of IP multimedia subsystem central control business | |
CN101931934A (en) | User registration method of IP multimedia subsystem (IMS) network and business realizing system | |
US8224334B1 (en) | Calling connection for mobile communication | |
CN102868667B (en) | The identification method of service priority, device and system | |
CN107135480A (en) | A Business Anchor Method Based on Specific Regions | |
CN1992719B (en) | A method for providing access location information | |
CN102348260B (en) | The realization method and system that single wireless channel access user equipment end call network selects | |
CN101931900B (en) | Method and system for realizing services of IP multi-media subsystem network | |
CN101448222B (en) | Method for realizing IMS centralized service called switching | |
CN101217797B (en) | A realization method of call starting in IP multimedia subsystem centralized control operation | |
CN101932119A (en) | Service implementation method and system of IP multimedia subsystem network | |
JP5252113B2 (en) | Control method, communication system, and server apparatus | |
JP5252062B2 (en) | Control method, communication system, mobility management device, and mobile station | |
CN101998667B (en) | Number converting method and service continuity application server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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 |
Granted publication date: 20170215 |
|
CF01 | Termination of patent right due to non-payment of annual fee |