New! View global litigation for patent families

CN102196397A - Method and system for improving ticket construction integrity and charging data function - Google Patents

Method and system for improving ticket construction integrity and charging data function Download PDF

Info

Publication number
CN102196397A
CN102196397A CN 201010140409 CN201010140409A CN102196397A CN 102196397 A CN102196397 A CN 102196397A CN 201010140409 CN201010140409 CN 201010140409 CN 201010140409 A CN201010140409 A CN 201010140409A CN 102196397 A CN102196397 A CN 102196397A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
main
cdf
message
acr
session
Prior art date
Application number
CN 201010140409
Other languages
Chinese (zh)
Other versions
CN102196397B (en )
Inventor
王修中
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRICAL DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant details of failing over
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Metering, charging or billing arrangements specially adapted for data wireline or wireless communications
    • H04L12/1428Invoice generation, e.g. customization, lay-out, database processing, algorithms for calculating the bill or formatting invoices as WWW pages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/41Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/53Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP using mediation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/74Backing up
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/01Details of billing arrangements
    • H04M2215/0164Billing record, e.g. Call Data Record [CDR], Toll Ticket[TT], Automatic Message Accounting [AMA], Call Line Identifier [CLI], details, i.e. parameters, identifiers, structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/70Administration aspects, modify settings or limits or counter-check correct charges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/70Administration aspects, modify settings or limits or counter-check correct charges
    • H04M2215/709Backup

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.

Description

一种提高话单构造完整性的方法、系统及计费数据功能 A method for improving the integrity of the structure of the bill, and a charging data function system

技术领域 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, to an IP multimedia subsystem (IP MultimediaSubsystem, IMS) for improving the CDR / accounting data record (Charging Data Record, CDR) method for constructing the integrity of the system and meter fee data function (Charging data function, CDF).

背景技术 Background technique

[0002] 在3GPP描述的电信网络中,计费系统是其重要的功能部件之一,是运营商实现营收的重要保障。 [0002] In the 3GPP telecommunications network described, the billing system is one of its important features is an important guarantee operators to achieve revenue. 其主要功能如下所述: Its main features 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] FIG 1 illustrates a relationship between a composition 3GPP network entities and their charging function: Charging Trigger Function (Charging Trigger Function, CTF) embedded in a 3GPP IMS network elements (including access layer network element, the service NE, the control subsystem), and its main function is to achieve, in accordance with the monitored usage of network resources, billing information is collected and sent to the billing data function via Rf interface (Offline ChargingReference Point) ( charging Data function, CDF); the main function of the CDF, the charging request message sent by the receiving 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 to send the CDR files to the billing domain (billing domain, BD) via Bx interface.

[0004] 考虑到计费数据的重要性,在CTF和⑶F传送计费消息时,3GPP提出了一种可靠的机制,如图2所示,一个CTF和两个⑶F相连,其中一个⑶F作为主用CDF(First CDF), 另一个⑶F作为备用⑶FGecond⑶F)。 [0004] Given the importance of charging data, and at the time CTF ⑶F charging message transmission, 3GPP proposes a reliable mechanism, as shown, is connected to a two ⑶F CTF and 2, wherein as a main ⑶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 sent to the primary ⑶F, generated when the main link failure or disruption with ⑶F, CTF put ACR message sent to a backup ⑶F (call this process FaHOver). 在后续的ACR消息传送过程中,如果CTF检测到和主用的链路已恢复,则重新把ACR消息发送到主用的⑶F上(这一过程称之为FailBack)。 ACR message transmitted in the subsequent process, if the detected and CTF primary link is recovered, re-sends the ACR message to the primary ⑶F (this process is called FailBack). 当CTF和主备⑶F的链路都中断时,CTF 要具有一定的缓存能力,保证ACR数据不丢失。 When the CTF and the links are active and standby ⑶F interruption, CTF to have a certain cache capacity to ensure ACR data is not lost. 主用CDF和备用CDF都可以根据ACR消息构造出计费⑶R,并通过(¾接口发送到CGF节点。 Primary and backup CDF CDF may be constructed according to the ACR message accounting ⑶R, by (¾ CGF interface to the node.

[0005] 在IMS业务进行的过程中,IMS网元通过不断发送ACR消息来记录用户对网络资源的使用情况,以达到计费的目的。 [0005] In the process for the IMS service, IMS NE ACR message transmitted continuously to record customer usage of network resources, for the purpose of billing. 比如,在IMS业务开始的时候,通过发送起始计费请求(Start ACR)消息记录IMS会话的开始,IMS会话超过一定时间或者发生媒体切换时,IMS 网元发送临时计费请求(Interim ACR)消息;在IMS会话结束的时候,IMS网元将发送终止计费请求(Stop ACR)消息。 For example, when IMS services started, by sending the initial charging request (Start ACR) message starts recording, an IMS session of the IMS session or over a certain time media switching occurs, a temporary IMS network element sends a charging request (Interim ACR) message; IMS session when the end, the IMS network element sends a termination charging request (Stop ACR) message. 对于非会话类的IMS业务,IMS网元发送EventACR。 For non-IMS service session class, IMS network element sends EventACR. CDF在构造话单时,关联同一个会话相关的Mart ACR、Interim ACR和Mop ACR,构造成一张话单输出。 In constructing the CDR CDF, associated with the same session related Mart ACR, Interim ACR and Mop ACR, it is configured to a single output. 当同一个话单相关的一部分ACR丢失时(比如,丢失Mop ACR),⑶F在构造话单时, 只能输出一张不完整的CDR。 When a portion of ACR with a bill related to the loss (for example, lost Mop ACR), ⑶F at construction bill, only the output not a complete CDR. 当输出不完整的CDR时,很可能造成该IMS会话无法计费(比如,关键的Mart ACR或StopACR缺失,造成⑶R中无会话持续时间等关键信息)。 When the output incomplete CDR, is likely to cause the IMS session can not charge (for example, the key Mart ACR or StopACR missing, causing critical information such as session duration ⑶R no).

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

发明内容 SUMMARY

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

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

[0009] 基于本发明的一方面,提出一种提高话单构造完整性的方法,该方法包括: [0009] Based on one aspect of the present invention, it is proposed a method for improving the integrity of the single structure, the method comprising:

[0010] 在发生主备倒换之前,主用计费数据功能(⑶F)将未收集完整的与同一会话相关的计费请求(ACR)消息缓存在本地; [0010] Before the switchover occurs, the primary charging data function (⑶F) the charging request is not associated with a complete collection of the same session (ACR) message in the local cache;

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

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

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

[0014] 进一步地,所述原主用⑶F或所述当前主用⑶F在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 [0014] Further, the current or original primary ⑶F primary ⑶F determines whether the time limit set in the ACR message related to the same session have a complete collection, if the complete collection within the set time limit, the complete structure the bill, otherwise construction incomplete bill.

[0015] 进一步地,在发生主备倒换之前和之后,还包括原主用⑶F和当前主用⑶F之间通过主备状态通知消息确认彼此的主备用状态的步骤。 [0015] Further, before and after the occurrence of the switchover, further comprising the step of notifying message between the current master and the old master ⑶F ⑶F with each other through the standby state of the primary spare confirmation state.

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

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

[0018] 备用⑶F,用于在发生主备倒换时接替主用⑶F成为当前主用⑶F ; [0018] Alternate ⑶F, to take over in the event of primary standby switchover ⑶F ⑶F become active;

[0019] 在发生主备倒换之前,所述主用⑶F和备用⑶F之间建立用于传输所述不完整的与同一会话相关的ACR消息的链路,主用CDF将未收集完整的与同一会话相关的ACR消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR 消息转发给当前主用CDF ;所述原主用CDF或所述当前主用CDF根据与同一会话相关的ACR 消息的完整情况构造话单。 [0019] Before the switchover occurs, to establish a link for transmitting the incomplete ACR message related to the same session between the active and standby ⑶F ⑶F, primary CDF will complete the same uncollected ACR message associated with the session in the local cache; standby switchover occurs after the primary, the original primary ⑶F uncollected complete forwarding ACR message related to the same session to the primary current CDF; the original primary current of said CDF or primary the CDF is configured with a complete picture of the bill ACR message associated with the same session.

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

[0021] 链路建立模块,用于与对端的CDF建立用于传输不完整的与同一会话相关的ACR 消息的链路; [0021] link establishment module configured to establish a link with the ACR message for transmission incomplete session associated with the same end of the CDF;

[0022] 状态确认模块,用于确认自身和对端的CDF的主备用状态; [0022] state confirmation module for confirming their state and primary spare end of the CDF;

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

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

[0025] ⑶R构造模块,用于构造⑶R,并将其转发给计费网关功能(CGF)。 [0025] ⑶R constructing module for constructing ⑶R, and forwards it to a charging gateway function (CGF).

[0026] 进一步地,所述⑶R构造模块在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的CDR,否则构造不完整的CDR。 [0026] Further, the configuration ⑶R module determines whether the time limit set in the ACR message related to the same session have a complete collection, if within the set time limit the collection complete, the configuration of the CDRs of a complete, or 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 message to ensure that the same send session related to a particular ⑶F, greatly reducing the generation of an incomplete ⑶R, reducing operating the possibility of loss of business revenue.

附图说明 BRIEF DESCRIPTION

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

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

[0030] 图3为本发明提出的提高话单构造完整性的系统结构示意图; [0030] FIG. 3 is a schematic structural integrity of the system, then a single configuration of the proposed invention is improved;

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

[0032] 图5为本发明提出的能够提高话单构造完整性的CDF的结构示意图。 A schematic configuration of the bill can be improved structural integrity CDF [0032] FIG. 5 of the present proposed invention.

具体实施方式 detailed description

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

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

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

[0036] 备用⑶F,用于在发生主备倒换时接替主用⑶F成为当前主用⑶F ; [0036] Alternate ⑶F, to take over in the event of primary standby switchover ⑶F ⑶F become active;

[0037] 在发生主备倒换之前,主用⑶F将未收集完整的与同一会话相关的ACR消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用CDF ;所述原主用CDF或所述当前主用CDF根据与同一会话相关的ACR消息的完整情况构造话单。 [0037] Before the switchover occurs, the primary ⑶F ACR uncollected complete message related to the same session in the local cache; standby switchover occurs after the master, not the original primary ⑶F complete collection associated with the same session ACR message to the primary current CDF; the original primary current of said CDF or CDF primary configuration record according to a complete picture of the ACR message related to the same session.

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

[0039] 附图4为本发明提出的提高话单构造完整性的方法流程图,该图示例了在FailOver情况下主用⑶F和备用⑶F的交互情况以及对接收消息的处理,具体步骤如下: Method for improving the integrity of the structure if a single [0039] Figure 4 of the present invention provides a flow chart for the exemplary case of interaction with the main and standby ⑶F ⑶F and processing of the received message in FailOver case, the following steps:

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

[0042] 步骤S03 :第一⑶F向第二⑶F发送主备状态通知消息,告知对方自己是当前的主用⑶F,对方乃当前的备用⑶F ; [0042] Step S03: sends a first ⑶F ⑶F second standby state notification message to inform them that they are active ⑶F current, the other is the standby current ⑶F;

[0043] 步骤S04 :第二⑶F向第一⑶F发送状态确认消息,确认两个⑶F的主用、备用状态; [0043] Step S04: a first acknowledgment message to the second ⑶F ⑶F transmitting state, confirmation of two ⑶F master, standby state;

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

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

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

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

[0048] 步骤S09 :第二⑶F向第一⑶F即原主用⑶F发送主备状态通知消息,告知对方自己已变成主用⑶F,对方已变成备用⑶F ; [0048] Step S09: sends a first ⑶F second ⑶F i.e. the original primary ⑶F standby state notification message to inform them that they have become a master ⑶F, the other has become a standby ⑶F;

[0049] 步骤SlO :第一⑶F向第二⑶F发送状态确认消息,确认两个⑶F的主用、备用状态;即第二CDF成为主用⑶F,第一⑶F成为备用⑶F [0049] Step SlO: a first acknowledgment to the second ⑶F ⑶F send a status message confirming ⑶F two main and standby condition; i.e., the second becomes the active ⑶F CDF, becomes the first standby ⑶F ⑶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, yet configured ⑶R Mart ACR message to the second ⑶F; meaning this step, i.e., after the active and standby switchover occurs two ⑶F, ACR message and the original primary current primary ⑶F ⑶F belong to the same session to merge with the current primary ⑶F;

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

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

[0053] 步骤S14 :若等待超过设定时限,ACR仍未收集完整,第二⑶F构造不完整⑶R,并通过(¾接口发送到CGF; [0053] Step S14: If the wait time exceeds the setting, the ACR collected yet complete, the second configuration is incomplete ⑶F ⑶R, 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 in the second configuration ⑶F ⑶R, FailBack may occur, and the working link between the CTF will ⑶F CDF switches back to the first, second CDF case detects that it is the standby state after the transmission of its own is not configured ⑶R ⑶F ACR message to the primary current, in order to complete the configuration ⑶R.

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

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

[0057] 状态确认模块,用于与对端的CDF通过主备状态通知消息确定彼此的主备用状态; [0057] The state determining module, and is used by peer CDF standby state notification message to determine the state of the primary spare each other;

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

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

[0060] ⑶R构造模块,用于构造⑶R,并将其转发给CGF。 [0060] ⑶R constructing module for constructing ⑶R, and forwards it to CGF.

[0061] 优选地,所述CDR构造模块在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的CDR,否则构造不完整的CDR。 [0061] Preferably, the CDR configuration module determining whether the ACR message related to the same session have a complete collection, if within the set time limit the collection complete, the configuration of the complete CDR within the set time limit, or incomplete structure the CDR.

[0062] 以上步骤中所列的IMS网元以及发送的ACR消息,只是本发明一个特例,实际上, IMS所有网元以及所有基于会话的计费消息,都适合本发明。 [0062] IMS network element listed in the above step and the ACR message transmission, but the present invention is a special case, in fact, all the IMS network elements and all messaging session-based charging, 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 time, to ensure the ACR message to send a session associated with a particular onto the CDF, greatly reducing the CDR's incomplete produce, reducing the possibility of operator revenue loss.

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

Claims (10)

  1. 1. 一种提高话单构造完整性的方法,其特征在于,包括:在发生主备倒换之前,主用计费数据功能(CDF)将未收集完整的与同一会话相关的计费请求(ACR)消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用⑶F ;所述原主用⑶F或所述当前主用⑶F根据与同一会话相关的ACR消息的完整情况构造话单(CDR)。 1. A method for improving the integrity of the configuration of the bill, which is characterized by comprising: before the switchover occurs, the primary charging data function (CDF) will not collect complete data related to the same session, the charging request (ACR ) in the local message buffer; after the main and standby switchover occurs, the original primary ⑶F forwarded ACR uncollected complete message related to the same session to the current primary ⑶F; ⑶F the original primary or the primary current in accordance with ⑶F complete case of the construction bill ACR messages related to the same session (CDR).
  2. 2.根据权利要求1所述的方法,其特征在于,在发生主备倒换之前,还包括主用⑶F和备用CDF建立用于传输所述不完整的与同一会话相关的ACR消息的链路的步骤。 2. The method according to claim 1, characterized in that, prior to the occurrence of the switchover, further comprising a primary and backup ⑶F CDF establish a link for transmitting the incomplete ACR message related to the same session of step.
  3. 3.根据权利要求1或2所述的方法,其特征在于,所述原主用CDF或所述当前主用CDF 在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 3. The method of claim 1 or claim 2, wherein said original primary current of said CDF or CDF primary within the set time frame is determined whether the ACR message related to the same session have a complete collection, if collected within the set time frame complete, the structure of the complete bill, otherwise construction incomplete bill.
  4. 4.根据权利要求1所述的方法,其特征在于,在发生主备倒换之前和之后,还包括原主用⑶F和当前主用⑶F之间通过主备状态通知消息确认彼此的主备用状态的步骤。 4. The method according to claim 1, characterized in that, before and after the occurrence of the switchover, further comprising the step of notifying message between the current master and the old master ⑶F ⑶F with each other through the standby state of the primary spare confirmation state .
  5. 5. 一种提高话单构造完整性的系统,其特征在于,包括:主用⑶F,用于接收并缓存ACR消息;备用⑶F,用于在发生主备倒换时接替主用⑶F成为当前主用⑶F ;在发生主备倒换之前,主用⑶F将未收集完整的与同一会话相关的ACR消息缓存在本地;在发生主备倒换之后,原主用⑶F将所述未收集完整的与同一会话相关的ACR消息转发给当前主用CDF ;所述原主用CDF或所述当前主用CDF根据与同一会话相关的ACR消息的完整情况构造话单。 5. A method of increasing the integrity of the system configuration of the bill, which is characterized in that, comprising: a primary ⑶F, and for receiving the ACR message buffer; spare ⑶F, take over for the primary ⑶F switchover occurs when the primary current becomes active ⑶F; standby switchover occurs before the primary, the primary ⑶F ACR uncollected complete message related to the same session in the local cache; after the switchover occurs, the original primary ⑶F uncollected complete session associated with the same ACR message to the primary current CDF; the original primary current of said CDF or CDF primary configuration record according to a complete picture of the ACR message related to the same session.
  6. 6.根据权利要求5所述的系统,其特征在于,在发生主备倒换之前,所述主用CDF和备用CDF之间建立用于传输所述不完整的与同一会话相关的ACR消息的链路。 6. A system as claimed in claim 5, characterized in that, before the switchover occurs, the main chain established for transmitting the incomplete ACR message related to the same session by the CDF and alternate between CDF road.
  7. 7.根据权利要求5或6所述的系统,其特征在于,所述原主用CDF或所述当前主用CDF 在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的话单,否则构造不完整的话单。 7. A system according to claim 5 or claim 6, characterized in that the original primary current of said CDF or CDF primary determination whether the time limit set in the ACR message related to the same session have a complete collection, if collected within the set time frame complete, the structure of the complete bill, otherwise construction incomplete bill.
  8. 8.根据权利要求5所述的系统,其特征在于,在发生主备倒换之前和之后,所述原主用⑶F和当前主用⑶F之间通过主备状态通知消息确认彼此的主备用状态。 8. The system according to claim 5, characterized in that, before and after the switchover occurs, the original primary notification message to confirm with each other between the active and standby status and the current master ⑶F ⑶F by standby state.
  9. 9. 一种⑶F,其特征在于,包括:链路建立模块,用于与对端的CDF建立链路;状态确认模块,用于确认自身和对端的CDF的主备用状态;ACR缓存模块,用于接收并缓存ACR消息,当与同一会话相关的ACR消息接收完整时将其递交给⑶R构造模块;ACR转发模块,用于在发生主备倒换后将ACR缓存模块缓存的不完整的与同一个会话相关的ACR消息转发给对端的CDF ;⑶R构造模块,用于构造⑶R,并将其转发给计费网关功能(CGF)。 A ⑶F, characterized by comprising: a link establishment module configured to establish a link with the end of the CDF; state confirmation module for confirming a main standby state for itself and CDF end; the ACR cache module, for ACR message received and cached, when the ACR message related to the same session when receiving a complete ⑶R delivers it to a building block; ACR forwarding module, after the switchover to standby buffer cache module ACR incomplete session with the same occurs in the main ACR message to the associated end of the CDF; ⑶R constructing module for constructing ⑶R, and forwards it to a charging gateway function (CGF).
  10. 10.根据权利要求9所述的CDF,其特征在于,所述CDR构造模块在设定时限内判断所述与同一会话相关的ACR消息是否已收集完整,若在设定时限内收集完整,则构造完整的⑶R,否则构造不完整的⑶R。 10. CDF according to claim 9, wherein the CDR configuration module determines whether the time limit set in the ACR message related to the same session have a complete collection, if collected within the set time frame full, then complete construction ⑶R, otherwise construction incomplete ⑶R.
CN 201010140409 2010-03-18 2010-03-18 Method and system for improving bill record construction integrity and charging data function CN102196397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010140409 CN102196397B (en) 2010-03-18 2010-03-18 Method and system for improving bill record construction integrity and charging data function

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201010140409 CN102196397B (en) 2010-03-18 2010-03-18 Method and system for improving bill record construction integrity and charging data function
PCT/CN2010/076474 WO2011113261A1 (en) 2010-03-18 2010-08-30 Method and system for improving construction integrity of phone bill and charging data function (cdf) thereof

Publications (2)

Publication Number Publication Date
CN102196397A true true CN102196397A (en) 2011-09-21
CN102196397B CN102196397B (en) 2015-06-03

Family

ID=44603641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010140409 CN102196397B (en) 2010-03-18 2010-03-18 Method and system for improving bill record construction integrity and charging data function

Country Status (2)

Country Link
CN (1) CN102196397B (en)
WO (1) WO2011113261A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9716798B2 (en) 2014-09-08 2017-07-25 At&T Intellectual Property I, L.P. ACR buffering in the cloud

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060084410A1 (en) * 2004-10-20 2006-04-20 Jay Sutaria Flexible billing architecture
CN1984120A (en) * 2006-05-15 2007-06-20 华为技术有限公司 Method for assuring bill document and primary data consistence during the process of dual system switch
CN101123514A (en) * 2007-09-14 2008-02-13 中兴通讯股份有限公司 A billing method in IP multimedia subsystem network
CN101291209A (en) * 2007-04-17 2008-10-22 大唐移动通信设备有限公司 Method and apparatus for data synchronization
CN101309334A (en) * 2008-07-15 2008-11-19 中兴通讯股份有限公司 Charging method of number portable service in IP multimedia sub-system
EP2157729A1 (en) * 2007-04-30 2010-02-24 Huawei Technologies Co., Ltd. Service processing method, apparatus of charging system and charging system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286862B (en) * 2007-04-09 2012-07-04 中兴通讯股份有限公司 Method for synchronizing and switching multicast service between main and standby in access device
CN101335690A (en) * 2007-06-29 2008-12-31 朗迅科技公司 Seamless redundant system for IP communication network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060084410A1 (en) * 2004-10-20 2006-04-20 Jay Sutaria Flexible billing architecture
CN1984120A (en) * 2006-05-15 2007-06-20 华为技术有限公司 Method for assuring bill document and primary data consistence during the process of dual system switch
CN101291209A (en) * 2007-04-17 2008-10-22 大唐移动通信设备有限公司 Method and apparatus for data synchronization
EP2157729A1 (en) * 2007-04-30 2010-02-24 Huawei Technologies Co., Ltd. Service processing method, apparatus of charging system and charging system
CN101123514A (en) * 2007-09-14 2008-02-13 中兴通讯股份有限公司 A billing method in IP multimedia subsystem network
CN101309334A (en) * 2008-07-15 2008-11-19 中兴通讯股份有限公司 Charging method of number portable service in IP multimedia sub-system

Also Published As

Publication number Publication date Type
WO2011113261A1 (en) 2011-09-22 application
CN102196397B (en) 2015-06-03 grant

Similar Documents

Publication Publication Date Title
US7661027B2 (en) SIP server architecture fault tolerance and failover
US8422641B2 (en) Distributed record server architecture for recording call sessions over a VoIP network
CN1905472A (en) Method for implementing IMS network reliability
US20100304710A1 (en) Fault-resilient method of generating complete correlated ims charging data records
CN101094157A (en) Method for implementing network interconnection by using link aggregation
CN101136758A (en) Application method for online accounting system in owing risk control system
US20120178413A1 (en) Technique for Monitoring a Call
CN1946058A (en) Soft exchange device allopatric disaster recovery solution system and its method for software exchange network
US7475003B1 (en) Method and apparatus for initiating call analysis using an internet protocol phone
CN101079742A (en) Data synchronization method and system between disaster tolerance home user servers
CN1708141A (en) Method for realeasing terminal resource in media gateway
CN101267480A (en) Billing processing method, system and online billing system
US20120059749A1 (en) Method and apparatus for facilitating interim billing for ims session using time-based interim accounting message to determine interim processing trigger
CN101043398A (en) Method and system for sharing connection dynamically
US20120221445A1 (en) Method and apparatus for detecting duplicate accounting records in distributed network
CN101667936A (en) Method, device and system for fault treatment of access session control server
US20110216896A1 (en) Desktop recording architecture for recording call sessions over a telephony network
CN1620017A (en) Charging buffer storage system of broad band network cut-in service device and its method
CN101304343A (en) Method, apparatus and system for detecting network fault
CN1889563A (en) Load control method based on Diameter protocol
WO2009078874A1 (en) Charging in ims networks for sessions that are transferred between access networks
CN101009572A (en) IMS budget control for media change in the IMS session period
CN101232691A (en) Method and apparatus for tracing signaling
CN101426306A (en) A disaster tolerance switching method, system and apparatus
JP2004023385A (en) Gatekeeper redundancy system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model