Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN102196397 A
Publication typeApplication
Application numberCN 201010140409
Publication date21 Sep 2011
Filing date18 Mar 2010
Priority date18 Mar 2010
Also published asCN102196397B, WO2011113261A1
Publication number201010140409.5, CN 102196397 A, CN 102196397A, CN 201010140409, CN-A-102196397, CN102196397 A, CN102196397A, CN201010140409, CN201010140409.5
Inventors王修中
Applicant中兴通讯股份有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Method and system for improving ticket construction integrity and charging data function
CN 102196397 A
Abstract
The invention discloses a method and a system for improving ticket construction integrity and a charging data function (CDF). The technical problem that a large amount of incomplete tickets are generated because accounting request (ACR) message of the constructed tickets is possibly lost in main/standby switch of the CDF is solved. Before the main/standby switch happens, the main CDF caches the ACR message which is not completely acquired and is related with the same session in a local place; after the main/standby switch happens, the original main CDF forwards the ACR message which is not completely acquired and is related with the same session to the current main CDF; and the original main CDF or the current main CDF constructs a ticket charging data record (CDR) according to the integrity condition of the ACR message related with the same session. In an IP multimedia subsystem (IMS) network, during the main/standby switch, the ACR message related with the same session is sent to a certain specific CDF can be ensured, so that incomplete CDR is greatly reduced, and the possibility of the revenue loss of an operator is reduced.
Claims(10)  translated from Chinese
1. 一种提高话单构造完整性的方法,其特征在于,包括:在发生主备倒换之前,主用计费数据功能(CDF)将未收集完整的与同一会话相关的计费请求(ACR)消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用⑶F ;所述原主用⑶F或所述当前主用⑶F根据与同一会话相关的ACR消息的完整情况构造话单(CDR)。 A bill to improve the integrity of a structure, characterized in that it comprises: Before the switchover occurs, the primary Charging Data Function (CDF) will not collect the full session associated with the same accounting request (ACR ) message is cached locally; after the switchover occurs, the original owner with ⑶F not collect complete ACR same message is forwarded to the current session related primary ⑶F; the origin of the current use ⑶F or primary ⑶F according to construct a complete picture of the CDR ACR messages associated with the same session (CDR).
2.根据权利要求1所述的方法,其特征在于,在发生主备倒换之前,还包括主用⑶F和备用CDF建立用于传输所述不完整的与同一会话相关的ACR消息的链路的步骤。 2. A method according to claim 1, characterized in that, prior to the occurrence of the switchover, further comprising the primary and standby CDF ⑶F establishing a link for transmitting said incomplete ACR message associated with the same session of the steps.
3.根据权利要求1或2所述的方法,其特征在于,所述原主用CDF或所述当前主用CDF 在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 3. The method according to claim 1 or claim 2, characterized in that, with the origin of the current CDF, or CDF master determines whether within a set time limit the ACR message associated with the same session have been collected complete, if collected within the set time frame complete, the structure of the complete bill, otherwise incomplete, then a single structure.
4.根据权利要求1所述的方法,其特征在于,在发生主备倒换之前和之后,还包括原主用⑶F和当前主用⑶F之间通过主备状态通知消息确认彼此的主备用状态的步骤。 4. The method according to claim 1, characterized in that, before and after the switchover occurs, further comprising the step notification messages between the old master and the current primary ⑶F ⑶F standby status confirmed by each other's main standby state .
5. 一种提高话单构造完整性的系统,其特征在于,包括:主用⑶F,用于接收并缓存ACR消息;备用⑶F,用于在发生主备倒换时接替主用⑶F成为当前主用⑶F ;在发生主备倒换之前,主用⑶F将未收集完整的与同一会话相关的ACR消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用CDF ;所述原主用CDF或所述当前主用CDF根据与同一会话相关的ACR消息的完整情况构造话单。 A bill to improve the integrity of the system structure, characterized in that it comprises: primary ⑶F, for receiving and caching ACR news; spare ⑶F, to take over in the event of primary ⑶F switchover become the master ⑶F; before the switchover occurs, the primary ⑶F will not complete ACR messages associated with the same session cache collected locally; after the switchover occurs, the original active ⑶F complete the uncollected associated with the same session ACR message to the currently active CDF; the origin of the current with the CDF or CDF based on a complete picture of the main ACR messages associated with the same session, then a single structure.
6.根据权利要求5所述的系统,其特征在于,在发生主备倒换之前,所述主用CDF和备用CDF之间建立用于传输所述不完整的与同一会话相关的ACR消息的链路。 6. The system according to claim 5, characterized in that, before the switchover occurs, the primary link is established for incomplete ACR message associated with the transmission of the same session with the alternate between CDF and CDF road.
7.根据权利要求5或6所述的系统,其特征在于,所述原主用CDF或所述当前主用CDF 在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 7. The system according to claim 5 or claim 6, characterized in that said original active CDF, or CDF in the currently active within the set time limit is determined whether the ACR message associated with the same session have been collected complete, if collected within the set time frame complete, the structure of the complete bill, otherwise incomplete, then a single structure.
8.根据权利要求5所述的系统,其特征在于,在发生主备倒换之前和之后,所述原主用⑶F和当前主用⑶F之间通过主备状态通知消息确认彼此的主备用状态。 8. The system according to claim 5, wherein, characterized in that, before and after the switchover occurs, a notification message with a confirmation of the origin of each other between the active and standby state and the current primary ⑶F ⑶F through standby state.
9. 一种⑶F,其特征在于,包括:链路建立模块,用于与对端的CDF建立链路;状态确认模块,用于确认自身和对端的CDF的主备用状态;ACR缓存模块,用于接收并缓存ACR消息,当与同一会话相关的ACR消息接收完整时将其递交给⑶R构造模块;ACR转发模块,用于在发生主备倒换后将ACR缓存模块缓存的不完整的与同一个会话相关的ACR消息转发给对端的CDF ;⑶R构造模块,用于构造⑶R,并将其转发给计费网关功能(CGF)。 9. A ⑶F, characterized in that it comprises: link establishment module for CDF and the peer link is established; state confirmation module for confirming itself and peer CDF's main standby; ACR cache module for receive and cache ACR message when ACR messages related to the same session when it receives a complete submission to ⑶R building blocks; ACR transponder module for the switchover will occur ACR cache module cache incomplete and the same session ACR relevant message to the right side of the CDF; ⑶R building blocks used to construct ⑶R, and forwards it to the Charging Gateway Function (CGF).
10.根据权利要求9所述的CDF,其特征在于,所述CDR构造模块在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的⑶R,否则构造不完整的⑶R。 10. The according to claim CDF 9, characterized in that the CDR structure within a set time limit module determines whether the ACR message associated with the same session integrity has been collected, the collection in the set time limit if complete, then structural integrity ⑶R, otherwise incomplete structure ⑶R.
Description  translated from Chinese

一种提高话单构造完整性的方法、系统及计费数据功能 An enhanced structural integrity if a single method, system and billing data function

技术领域 FIELD

[0001] 本发明涉及通信领域,更具体地涉及IP多媒体子系统(IP MultimediaSubsystem, IMS)中一种提高话单/ 计费数据记录(Charging Data Record, CDR)构造完整性的方法、系统及计费数据功能(Charging Data Function,CDF)。 [0001] The present invention relates to the field of communications, and more particularly relates to an IP Multimedia Subsystem (IP MultimediaSubsystem, IMS) An increase in the CDR / Charging Data Record (Charging Data Record, CDR) methods construct integrity, system and meter fee data function (Charging Data Function, CDF).

背景技术 BACKGROUND

[0002] 在3GPP描述的电信网络中,计费系统是其重要的功能部件之一,是运营商实现营收的重要保障。 [0002] described in 3GPP telecommunications network, the billing system is one of its important features is the operators to achieve significant revenue guarantee. 其主要功能如下所述: Its main functions are as follows:

[0003] 图1示意了3GPP网络中计费功能实体的组成和他们之间的关系:计费触发功能(Charging Trigger Function, CTF)内嵌在3GPP IMS各网元(包括接入层网元,服务网元,控制子系统)中,它主要实现的功能是,根据监测到的网络资源的使用情况,进行计费信息的收集,并通过Rf接口(Offline ChargingReference Point)发送到计费数据功能(Charging Data Function, CDF) ;CDF的主要功能是,接收CTF发送的计费请求消息(Accounting Request, ACR),构造成计费CDR,并通过fei接口发送到计费网关功能(Charging GatewayFunction, CGF) ;CGF的主要功能是,对接收到CDF发送的CDR进行存储和管理,并通过Bx接口将CDR文件发送到计费域(Billing Domain,BD)。 [0003] Figure 1 illustrates the relationship between the composition of a 3GPP network and the accounting functional entities between them: Charging Trigger Function (Charging Trigger Function, CTF) embedded in each 3GPP IMS network element (including the access layer network element, service NE, control subsystem), and its main function is monitored based on usage of network resources, the collection of accounting information, and transmits to the billing data function via Rf interface (Offline ChargingReference Point) ( Charging Data Function, CDF); CDF's main function is to send the charging request message received CTF (Accounting Request, ACR), configured billing CDR, and sends via the interface to the Charging Gateway Function fei (Charging GatewayFunction, CGF) ; The main function of CGF is received CDR CDF sent for storage and management, and will be sent via Bx interface CDR files to the billing domain (Billing Domain, BD).

[0004] 考虑到计费数据的重要性,在CTF和⑶F传送计费消息时,3GPP提出了一种可靠的机制,如图2所示,一个CTF和两个⑶F相连,其中一个⑶F作为主用CDF(First CDF), 另一个⑶F作为备用⑶FGecond⑶F)。 [0004] Given the importance of billing data, while CTF and ⑶F transfer the charging message, 3GPP proposes a reliable mechanism, connected to one of two ⑶F CTF and shown in Figure 2, as the main one ⑶F with CDF (First CDF), the other as a backup ⑶F ⑶FGecond⑶F). CTF先把ACR消息发到主用⑶F上,当和主用⑶F 链路产生故障或中断时,CTF就把ACR消息发到备用⑶F上(这一过程称之为FaHOver)。 CTF first ACR message is sent to the master on ⑶F, when the failure or interruption and the main link with ⑶F, CTF put ACR message is sent to the standby ⑶F (this process is called FaHOver). 在后续的ACR消息传送过程中,如果CTF检测到和主用的链路已恢复,则重新把ACR消息发送到主用的⑶F上(这一过程称之为FailBack)。 In subsequent ACR message transmission process, and if the CTF detects primary link is recovered, re-sends the message to the main ACR used ⑶F (this process is called FailBack). 当CTF和主备⑶F的链路都中断时,CTF 要具有一定的缓存能力,保证ACR数据不丢失。 When the CTF and standby ⑶F links are interrupted, CTF to have a certain cache capacity to ensure that data is not lost ACR. 主用CDF和备用CDF都可以根据ACR消息构造出计费⑶R,并通过(接口发送到CGF节点。 Primary and standby CDF CDF can be constructed according to ACR news billing ⑶R, and by ( interface to send to the CGF node.

[0005] 在IMS业务进行的过程中,IMS网元通过不断发送ACR消息来记录用户对网络资源的使用情况,以达到计费的目的。 [0005] In the process carried out in IMS services, IMS NEs ACR by constantly sending messages to record the user's usage of the network resources, in order to achieve the purpose of billing. 比如,在IMS业务开始的时候,通过发送起始计费请求(Start ACR)消息记录IMS会话的开始,IMS会话超过一定时间或者发生媒体切换时,IMS 网元发送临时计费请求(Interim ACR)消息;在IMS会话结束的时候,IMS网元将发送终止计费请求(Stop ACR)消息。 For example, when the IMS business started by sending the initial accounting request (Start ACR) message logging IMS session began, IMS conversation occurs over a certain time or media switching, IMS network element sending interim accounting request (Interim ACR) news; at the end of the session when the IMS, IMS network element sends a request to terminate charging (Stop ACR) message. 对于非会话类的IMS业务,IMS网元发送EventACR。 For non-session class IMS services, IMS network element sending EventACR. CDF在构造话单时,关联同一个会话相关的Mart ACR、Interim ACR和Mop ACR,构造成一张话单输出。 CDF in the construction of single words, the association with a session related Mart ACR, Interim ACR and Mop ACR, then constructed a single output. 当同一个话单相关的一部分ACR丢失时(比如,丢失Mop ACR),⑶F在构造话单时, 只能输出一张不完整的CDR。 When part of the ACR associated with a single word is lost (eg, loss of Mop ACR), ⑶F in construction bill, only the output of one incomplete CDR. 当输出不完整的CDR时,很可能造成该IMS会话无法计费(比如,关键的Mart ACR或StopACR缺失,造成⑶R中无会话持续时间等关键信息)。 When the output incomplete CDR, the most likely cause of the IMS session can not charging (for example, the key StopACR Mart ACR or missing, causing ⑶R no critical information session duration, etc.).

[0006] 通过以上介绍可知,当CTF和主用⑶F的链路中断,将链路切换到备用⑶F时,如果此时有很多正在进行的IMS会话,那么,相关IMS网元产生的同一个会话相关的ACR会分别发送到主用⑶F和备用⑶F上,这样将导致⑶F构造出不完整的⑶R。 The same session [0006] Through the above description shows that, when CTF and the main link with ⑶F interrupted, the link to switch to the backup ⑶F, if at this time there are many ongoing IMS session, then the relevant IMS network elements produced related ACR will be sent separately to the primary and standby on ⑶F ⑶F, this will result in an incomplete construct ⑶F ⑶R. 当CTF检测到主用CDF链路恢复再将链路切换到主用CDF时,情况是类似的,同样将导致产生不完整的CDR。 CTF is detected when the primary link is restored and then link CDF switched to the main CDF, the situation is similar, the same will result in an incomplete CDR. 也就是说,当!^ailOver和hiIBack发生时,将导致大量的不完整⑶R出现。 That is, when! ^ HiIBack occur when ailOver and will lead to a lot of incomplete ⑶R appear. 进而导致运营商营收降低。 Which led operators to lower revenues.

发明内容 SUMMARY

[0007] 有鉴于此,本发明的主要目的在于提供一种提高话单构造完整性的方法、系统及⑶F,用于解决在⑶F发生主备倒换时可能造成构造话单的ACR消息丢失,导致产生大量不完整话单的技术问题。 [0007] In view of this, the main objective of the present invention is to provide an enhanced structural integrity, then a single method, system and ⑶F, for solving the structure may result if a single message is lost when the ACR ⑶F switchover occurs, resulting in produce large amounts of incomplete bills of technical problems.

[0008] 为达到上述目的,本发明的技术方案是这样实现的: [0008] To achieve the above object, the present invention is achieved by:

[0009] 基于本发明的一方面,提出一种提高话单构造完整性的方法,该方法包括: [0009] Based on one aspect of the present invention proposes a method, then a single configuration to improve the integrity, the method comprising:

[0010] 在发生主备倒换之前,主用计费数据功能(⑶F)将未收集完整的与同一会话相关的计费请求(ACR)消息缓存在本地; [0010] Before the switchover occurs, the primary Charging Data Function (⑶F) will not collect the full charging request associated with the same session (ACR) message is cached locally;

[0011] 在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用CDF ; [0011] After the switchover occurs, the original owners are not using the ACR message ⑶F complete collection associated with the same session forwarded to the current primary CDF;

[0012] 所述原主用⑶F或所述当前主用⑶F根据与同一会话相关的ACR消息的完整情况构造话单(⑶R)。 [0012] The use ⑶F or origin of the current primary ⑶F based on a complete picture of ACR message structure associated with the same session, then a single (⑶R).

[0013] 进一步地,在发生主备倒换之前,还包括主用⑶F和备用⑶F建立用于传输所述不完整的与同一会话相关的ACR消息的链路的步骤。 [0013] Further, prior to the occurrence of the switchover, including the primary and standby ⑶F ⑶F step of establishing a link for incomplete transmission of the ACR messages related to the same session.

[0014] 进一步地,所述原主用⑶F或所述当前主用⑶F在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 [0014] Further, the original active ⑶F or the currently active ⑶F within the set time limit is determined whether the session associated with the same message has been collected to full ACR, if within the set time limit gather complete, the complete structure The bill, otherwise incomplete, then a single structure.

[0015] 进一步地,在发生主备倒换之前和之后,还包括原主用⑶F和当前主用⑶F之间通过主备状态通知消息确认彼此的主备用状态的步骤。 [0015] Further, before and after the switchover occurs, further comprising the step notification messages between the old master and the current primary ⑶F ⑶F standby status confirmed by each other's main standby state.

[0016] 基于上述一种提高话单构造完整性的方法,本发明还提出一种提高话单构造完整性的系统,该系统包括: [0016] Based on the above, then a single structure to improve the integrity of the method, the present invention also provides a method for increasing the integrity of the system, then a single structure, the system comprising:

[0017] 主用⑶F,用于接收并缓存ACR消息; [0017] primary ⑶F, ACR message for receiving and caching;

[0018] 备用⑶F,用于在发生主备倒换时接替主用⑶F成为当前主用⑶F ; [0018] spare ⑶F, for the switchover occurs when the main successor ⑶F become active ⑶F;

[0019] 在发生主备倒换之前,所述主用⑶F和备用⑶F之间建立用于传输所述不完整的与同一会话相关的ACR消息的链路,主用CDF将未收集完整的与同一会话相关的ACR消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR 消息转发给当前主用CDF ;所述原主用CDF或所述当前主用CDF根据与同一会话相关的ACR 消息的完整情况构造话单。 [0019] Before the switchover occurs, the link is established for incomplete ACR messages related to the transmission of the same session between the primary and standby ⑶F ⑶F, primary CDF will not collect complete with the same ACR message session related cached locally; after the switchover occurs, the original active ⑶F the uncollected complete ACR messages associated with the same session forwarded to the current primary CDF; with CDF or the origin of the current master CDF according to the situation with complete ACR messages associated with the same session, then a single structure.

[0020] 基于本发明的一方面,提出一种⑶F,该⑶F包括: [0020] Based on one aspect of the present invention proposes a ⑶F, the ⑶F comprising:

[0021] 链路建立模块,用于与对端的CDF建立用于传输不完整的与同一会话相关的ACR 消息的链路; [0021] link establishment module for CDF and the peer-establish the link for message transmission incomplete ACR same session-related;

[0022] 状态确认模块,用于确认自身和对端的CDF的主备用状态; [0022] state confirmation module for confirming itself and peer CDF's main standby;

[0023] ACR缓存模块,用于接收并缓存ACR消息,当与同一会话相关的ACR消息接收完整时将其递交给⑶R构造模块; [0023] ACR cache module for receiving and cache ACR message when ACR messages associated with the same session when it receives a complete submission to ⑶R building blocks;

[0024] ACR转发模块,用于在发生主备倒换后将ACR缓存模块缓存的不完整的与同一个会话相关的ACR消息转发给对端的CDF ; [0024] ACR forwarding module for switchover ACR cache module will cache incomplete ACR message associated with the occurrence of a session is forwarded to the peer CDF;

[0025] ⑶R构造模块,用于构造⑶R,并将其转发给计费网关功能(CGF)。 [0025] ⑶R building blocks used to construct ⑶R, and forwards it to the Charging Gateway Function (CGF).

[0026] 进一步地,所述⑶R构造模块在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的CDR,否则构造不完整的CDR。 [0026] Further, the ⑶R configuration module within the set time limit is determined whether the session associated with the same message has been collected to full ACR, if within the set time limit gather complete, the complete structure of CDR, otherwise incomplete structure The CDR.

[0027] 采用本发明方法,对于IMS网络中,发生!^ailOver 时,能保证将同一个会话相关的ACR消息发送到某个特定的⑶F上,大大减少了不完整⑶R的产生,降低了运营商营收损失的可能性。 [0027] The method of the present invention, for the IMS network, occurs! ^ AilOver, the ACR will be able to ensure that the same message is sent to the session related to a particular ⑶F, greatly reducing the generation of an incomplete ⑶R, reducing operating the possibility of the loss of revenue providers.

附图说明 Brief Description

[0028] 图1为3GPP定义的计费功能结构图; [0028] FIG. 1 is a functional block diagram of 3GPP accounting defined;

[0029] 图2为3GPP定义的计费消息传送示意图; [0029] FIG. 2 is defined by 3GPP charging messaging schematic;

[0030] 图3为本发明提出的提高话单构造完整性的系统结构示意图; [0030] Figure 3 of the present invention to improve the bill proposed structural integrity of the system structure diagram;

[0031] 图4为本发明提出的提高话单构造完整性的方法流程图; [0031] Figure 4 is a flowchart of the words proposed by the invention to improve the integrity of a single structure;

[0032] 图5为本发明提出的能够提高话单构造完整性的CDF的结构示意图。 If a single structure to improve the integrity of the structure of the CDF [0032] Figure 5 is a schematic diagram of the proposed invention.

具体实施方式 DETAILED DESCRIPTION

[0033] 为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。 [0033] To make the objectives, technical solutions and advantages of the present invention will be more clearly understood, the following embodiments and with reference to the drawings cited, the present invention is described in further detail.

[0034] 本发明针对目前!^ailOver和hiIBack发生时将产生大量不完整CDR的技术问题而提出,由于hilOver和!^ailBack都会导致主用⑶F和备用⑶F之间的主备用状态的倒换,因此,本发明将⑶F之间发生的!^tilOver和!^tilBack统称为⑶F主备倒换。 [0034] The present invention is directed to present! ^ Will have happened a lot when ailOver and hiIBack incomplete CDR technical problems, and because of hilOver and! ^ AilBack will lead to switching the main standby master and standby ⑶F ⑶F between, so The present invention will occur between ⑶F of! ^ tilOver and! ^ tilBack collectively referred to as ⑶F switchover. 本发明提出,主用CDF和备用CDF之间需要建立一个安全的机制,该机制可以保证同一个会话相关的ACR最终能够发送到同一个⑶F (主用⑶F或备用⑶F)上,以避免不完整⑶R的产生。 The present invention proposes the need to establish a secure mechanism between the primary and standby CDF CDF, this mechanism can ensure a session associated with ACR eventually sent to the same ⑶F (primary or backup ⑶F ⑶F) on to avoid incomplete ⑶R generation. 为实现上述目的,本发明提出一种提高话单构造完整性的系统,该系统具体结构如图3所示。 To achieve the above object, the present invention proposes a method for increasing the integrity of the system, then a single structure, the specific structure of the system shown in Figure 3. 与现有系统相区别的是,本发明在主用⑶F和备用⑶F之间还需要建立一条物理连接,用于⑶F之间的主备状态的确认,以及在发生主备倒换的时候,将主用⑶F上话单对应的不完整的ACR消息传送给备用⑶F ;该系统主要包括: Differences with existing systems, the present invention between the primary and standby ⑶F ⑶F also need to establish a physical connection for standby status ⑶F between acknowledgment, and at the time of the switchover occurs, the primary transfer with the corresponding bill ⑶F incomplete ACR message to spare ⑶F; The system includes:

[0035] 主用⑶F,用于接收并缓存ACR消息; [0035] primary ⑶F, ACR message for receiving and caching;

[0036] 备用⑶F,用于在发生主备倒换时接替主用⑶F成为当前主用⑶F ; [0036] spare ⑶F, for the switchover occurs when the main successor ⑶F become active ⑶F;

[0037] 在发生主备倒换之前,主用⑶F将未收集完整的与同一会话相关的ACR消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用CDF ;所述原主用CDF或所述当前主用CDF根据与同一会话相关的ACR消息的完整情况构造话单。 [0037] Before the switchover occurs, the primary ⑶F will not complete ACR messages associated with the same session cache collected locally; after the switchover occurs, the original active ⑶F complete the uncollected associated with the same session The ACR message to the currently active CDF; the origin of the current with the CDF or CDF based on a complete picture of the main ACR messages associated with the same session, then a single structure.

[0038] 优选地,所述原主用CDF或所述当前主用CDF在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 [0038] Preferably, the original active CDF or the CDF in the current active set is determined whether the time limit associated with the same session have been collected to full ACR message, if the complete collection in the set time, the complete structure The bill, otherwise incomplete, then a single structure.

[0039] 附图4为本发明提出的提高话单构造完整性的方法流程图,该图示例了在FailOver情况下主用⑶F和备用⑶F的交互情况以及对接收消息的处理,具体步骤如下: Methods to improve the structural integrity of the bill [0039] FIG. 4 of the present invention provides a flow chart illustrates the primary and standby ⑶F ⑶F interactions, and to receive messages of treatment at FailOver case, follow these steps:

[0040] 步骤SOl :第一⑶F向第二⑶F发送握手消息;[0041] 步骤S02 :第二⑶F接收到第一⑶F发送的握手消息后向第一⑶F发送应答消息, 通过握手消息第一⑶F和第二⑶F之间建立起物理链路;发起握手消息的⑶F可以是第一⑶F也可以是第二⑶F,对方应答后即可建立二者之间的物理链路。 Transmits a response message to the first ⑶F second ⑶F after receiving the handshake message sent by the first ⑶F, a first handshake message ⑶F:;: [0040] Step SOl [0041] Step S02 the first ⑶F handshake message sent to the second ⑶F ⑶F established between the second and the physical link; initiate a handshake message ⑶F may also be the first ⑶F second ⑶F, to establish a physical link between the two after the party answers.

[0042] 步骤S03 :第一⑶F向第二⑶F发送主备状态通知消息,告知对方自己是当前的主用⑶F,对方乃当前的备用⑶F ; [0042] Step S03: first ⑶F sent to the second ⑶F standby status notification message informing each other that they are currently the main ⑶F, the other is the current backup ⑶F;

[0043] 步骤S04 :第二⑶F向第一⑶F发送状态确认消息,确认两个⑶F的主用、备用状态; [0043] Step S04: The second ⑶F confirmation message is sent to the first ⑶F state, confirmed the two ⑶F the main, backup status;

[0044] 步骤S05 :IMS网元(比如,服务会话控制功能,Server-Call Session ControlFunction, S-CSCF)向当前主用的CDF 发送Start ACR 消息; [0044] Step S05: IMS network elements (eg, service session control function, Server-Call Session ControlFunction, S-CSCF) Start ACR sends a message to the current primary use of CDF;

[0045] 步骤S06 :第一⑶F将Mart ACR消息缓存到本地,等待同一会话相关的ACR都收到后再构造⑶R ; [0045] Step S06: first ⑶F Mart ACR messages will be cached locally, waiting in the same session are received after the relevant ACR structure ⑶R;

[0046] 步骤S07 :第一CDF和CTF的链路中断,发生!^ailOver ; [0046] Step S07: first CDF and CTF link interruption occurs ^ ailOver;!

[0047] 步骤S08:IMS网元(比如,S-CSCF)向第二⑶F发送同一会话相关的后续的Interim ACR消息(在!^ailOver之后,第二CDF已转化为主用状态,CDF的“主用”和“备用”状态是动态变化的); [0047] Step S08: IMS network elements (e.g., S-CSCF) sends a second session associated with the same ⑶F subsequent Interim ACR message (in ^ after ailOver, second CDF transformed in active state, CDF's "! master "and" standby "status is dynamic);

[0048] 步骤S09 :第二⑶F向第一⑶F即原主用⑶F发送主备状态通知消息,告知对方自己已变成主用⑶F,对方已变成备用⑶F ; [0048] Step S09: The second ⑶F sending that first ⑶F origin with ⑶F standby status notification message informing each other that they have become the main ⑶F, the other party has become an alternate ⑶F;

[0049] 步骤SlO :第一⑶F向第二⑶F发送状态确认消息,确认两个⑶F的主用、备用状态;即第二CDF成为主用⑶F,第一⑶F成为备用⑶F [0049] Step SlO: first ⑶F confirm second ⑶F send status messages to confirm the two ⑶F the main, backup status; that CDF has become the second main ⑶F, became the first ⑶F spare ⑶F

[0050] 步骤Sll :第一⑶F将自己缓存的同属于同一会话的、还未构造成⑶R的Mart ACR消息发送到第二⑶F ;此步骤的含义即,在两个⑶F发生主备倒换后,原主用⑶F和当前主用⑶F将同属于同一会话的ACR消息合并到当前主用⑶F上; [0050] Step Sll: first ⑶F own cache belong to the same session, not yet constructed ⑶R's Mart ACR message is sent to the second ⑶F; that is the meaning of this step, the two ⑶F occur after the switchover, ACR messages with ⑶F origin and current primary ⑶F belong to the same session will be merged into the current primary ⑶F;

[0051] 步骤S12 :第二⑶F判断同一个会话相关的ACR消息是否已收集完整,若收集完整,转步骤S13 ;若未收集完整(比如,缺失Mop ACR或者InterimACR),转步骤S14; [0051] Step S12: The second ⑶F judge ACR associated with a session whether the message has been collected intact, if the collection complete, go to step S13; if not collect complete (eg, missing Mop ACR or InterimACR), go to step S14;

[0052] 步骤S13 :若在设定时限内收集完整属于同一话单的ACR消息,则第二⑶F关联同一个会话相关WMart ACR、InterimACR, Stop ACR,构造完整CDR,并通过(接口发送到CGF ; [0052] Step S13: If within a set time limit to collect a complete bill of ACR belonging to the same message, the second is associated with a session related ⑶F WMart ACR, InterimACR, Stop ACR, structural integrity CDR, and by ( interface to send to CGF;

[0053] 步骤S14 :若等待超过设定时限,ACR仍未收集完整,第二⑶F构造不完整⑶R,并通过(接口发送到CGF; [0053] Step S14: If the wait exceeds the set limit, ACR has yet to collect complete and incomplete second ⑶F structure ⑶R, and by ( interface to send to the CGF;

[0054] 基于上述步骤,若在第二⑶F未构造⑶R时,可能会发生FailBack,CTF与⑶F之间的工作链路会重新切换到第一CDF,此时第二CDF检测到自己为备用状态后,将自己未构造⑶R的ACR消息发送给当前主用的⑶F,以构造完整的⑶R。 [0054] Based on the above steps, if not constructed in the second ⑶F ⑶R, might FailBack happen ⑶F working link between CTF and will switch back to the first CDF, CDF detected at this time of the second himself as standby After construction ⑶R not send its own message to the current master of the ACR with ⑶F, to construct a complete ⑶R.

[0055] 基于本发明提出的提高话单构造完整性的方法,本发明还提出一种能够提高话单构造完整性的⑶F,如图5中所示,该⑶F包含:链路建立模块、状态确认模块、ACR缓存模块、ACR转发模块、⑶R构造模块。 [0055] Methods to improve the integrity of the structure of the CDRs based on the present invention proposed, the present invention also provides a structure capable of improving ⑶F CDR integrity, shown in Figure 5, the ⑶F comprising: a link establishment module, status Verify that the module, ACR cache module, ACR forwarding module, ⑶R building blocks.

[0056] 链路建立模块,用于与对端的⑶F通过握手信号建立链路; [0056] link establishment module for the peer ⑶F establish a link via handshake;

[0057] 状态确认模块,用于与对端的CDF通过主备状态通知消息确定彼此的主备用状态; [0057] state confirmation module for CDF and peer through the standby status notification messages to determine each other's main standby;

[0058] ACR缓存模块,用于接收并缓存ACR消息,当与同一会话相关的ACR消息接收完整时将其递交给⑶R构造模块; [0058] ACR cache module for receiving and cache ACR message when ACR messages associated with the same session when it receives a complete submission to ⑶R building blocks;

[0059] ACR转发模块,用于在发生主备倒换后将ACR缓存模块缓存的不完整的与同一个会话相关的ACR消息转发给对端的CDF ; [0059] ACR forwarding module for switchover ACR cache module will cache incomplete ACR message associated with the occurrence of a session is forwarded to the peer CDF;

[0060] ⑶R构造模块,用于构造⑶R,并将其转发给CGF。 [0060] ⑶R building blocks used to construct ⑶R, and forwards it to the CGF.

[0061] 优选地,所述CDR构造模块在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的CDR,否则构造不完整的CDR。 [0061] Preferably, the CDR configuration module within the set time limit is determined whether the session associated with the same message has been collected to full ACR, if within the set time limit gather complete, the complete structure of CDR, otherwise incomplete structure The CDR.

[0062] 以上步骤中所列的IMS网元以及发送的ACR消息,只是本发明一个特例,实际上, IMS所有网元以及所有基于会话的计费消息,都适合本发明。 [0062] IMS network elements listed above steps and ACR message sent, but the present invention is a special case, in fact, IMS all network elements and all messaging session based charging, and are suitable for the present invention.

[0063] 综上所述,采用本发明方法,对于IMS网络中,发生!^ailOver 时,能保证将同一个会话相关的ACR消息发送到某个特定的CDF上,大大减少了不完整CDR的产生, 降低了运营商营收损失的可能性。 [0063] In summary, the method of the present invention, for the IMS network, occurs! ^ AilOver, the ACR will be able to ensure that the same message is sent to the session related to a specific CDF, greatly reducing the CDR's incomplete produce, reducing the possibility of operator revenue losses.

[0064] 以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 [0064] The above are only preferred embodiments of the present invention only, not intended to limit the scope of the present invention.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN1984120A *15 May 200620 Jun 2007华为技术有限公司Method for assuring bill document and primary data consistence during the process of dual system switch
CN101123514A *14 Sep 200713 Feb 2008中兴通讯股份有限公司A billing method in IP multimedia subsystem network
CN101291209A *17 Apr 200722 Oct 2008大唐移动通信设备有限公司Method and apparatus for data synchronization
CN101309334A *15 Jul 200819 Nov 2008中兴通讯股份有限公司Charging method of number portable service in IP multimedia sub-system
EP2157729A1 *31 Jan 200824 Feb 2010Huawei Technologies Co., Ltd.Service processing method, apparatus of charging system and charging system
US20060084410 *19 Oct 200520 Apr 2006Jay SutariaFlexible billing architecture
Classifications
International ClassificationH04W4/24, H04L29/06
Cooperative ClassificationH04M15/53, H04M15/00, H04M15/70, H04L12/1428, G06F11/2023, H04M2215/0164, H04M2215/70, H04M15/74, H04M15/41, H04M2215/709
European ClassificationG06F11/20P2, H04M15/00, H04L12/14J, H04M15/70, H04M15/41, H04M15/74
Legal Events
DateCodeEventDescription
21 Sep 2011C06Publication
30 Jan 2013C10Entry into substantive examination
3 Jun 2015C14Grant of patent or utility model