WO2011113261A1 - Method and system for improving construction integrity of phone bill and charging data function (cdf) thereof - Google Patents

Method and system for improving construction integrity of phone bill and charging data function (cdf) thereof Download PDF

Info

Publication number
WO2011113261A1
WO2011113261A1 PCT/CN2010/076474 CN2010076474W WO2011113261A1 WO 2011113261 A1 WO2011113261 A1 WO 2011113261A1 CN 2010076474 W CN2010076474 W CN 2010076474W WO 2011113261 A1 WO2011113261 A1 WO 2011113261A1
Authority
WO
WIPO (PCT)
Prior art keywords
cdf
primary
acr
same session
standby
Prior art date
Application number
PCT/CN2010/076474
Other languages
French (fr)
Chinese (zh)
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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011113261A1 publication Critical patent/WO2011113261A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC 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/2023Failover techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements 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

Definitions

  • the present invention relates to the field of communications, and more particularly to a method, system and charging data for improving the integrity of a billing/charging data record (CDR) in an IP Multimedia Subsystem (IMS). Charging Data Function (CDF). Background technique
  • the billing system is one of its important functional components and is an important guarantee for operators to achieve revenue. Its main functions are as follows:
  • FIG. 1 shows the composition of the charging function entities in the 3GPP network and their relationship:
  • the Charging Trigger Function (CTF) is embedded in the 3GPP IMS network elements (including access layer network elements, service network elements).
  • the main function is to collect the accounting information according to the usage of the monitored network resources, and send it to the charging data function through the Rf interface (Charging Data).
  • Function, CDF The main function of the CDF is to receive an Accounting Request (ACR) sent by the CTF, configured as a charging CDR, and sent to the Charging Gateway Function (CGF) through the Ga interface;
  • the main function of the CGF is to store and manage the CDRs received by the CDF, and send the CDR files to the Billing Domain (BD) through the Bx interface.
  • ACR Accounting Request
  • CGF Charging Gateway Function
  • 3GPP proposes a reliable mechanism when CTF and CDF transmit billing messages.
  • one CTF is connected to two CDFs, one of which is the primary CDF ( First CDF), another CDF as a spare CDF (Second CDF).
  • the CTF first sends the ACR message to the primary CDF, causing a failure or interruption when the primary CDF link is used.
  • the CTF sends the ACR message to the alternate CDF (this process is called FailOver).
  • FailBack In the subsequent ACR message transmission process, if the CTF detects that the active link has been restored, the ACR message is resent to the primary CDF (this process is called FailBack).
  • Both the primary CDF and the alternate CDF can construct a charging CDR according to the AC message and send it to the CGF node through the Ga interface.
  • the IMS network element records the user's use of the network resources by continuously sending ACR messages to achieve the purpose of charging. For example, when the IMS service starts, the start of the IMS session is recorded by sending a Start ACR message, and the IMS network sends a temporary charging request (Interim ACR) when the IMS session exceeds a certain time or media switching occurs. Message; At the end of the IMS session, the IMS network element will send a Stop ACR message. For non-session IMS services, the IMS network element sends an Event ACR.
  • the CDF When constructing a bill, the CDF associates the Start ACR, Interim ACR, and Stop ACR associated with the same session into a single bill output. When a part of the ACR related to the same bill is lost (for example, the Stop ACR is lost), the CDF can only output an incomplete CDR when constructing the bill. When an incomplete CDR is output, it is likely that the IMS session cannot be billed (for example, a critical Start ACR or Stop ACR is missing, resulting in no critical information such as session duration in the CDR).
  • the main purpose of the present invention is to provide a method, a system, and a CDF for improving the integrity of a bill, which are used to solve the problem that the ACR message may be lost when the active/standby switchover occurs in the CDF, resulting in a large number of The technical problem of the complete bill.
  • a method for improving the integrity of a bill construction comprising:
  • the primary billing data function caches the complete accounting request (ACR) messages associated with the same session locally;
  • the original primary CDF forwards the uncollected ACR message related to the same session to the current active CDF;
  • the original primary CDF or the current primary CDF constructs a CDR (CDR) based on the completeness of the ACR message associated with the same session.
  • the primary CDF and the backup CDF are further configured to establish a link for transmitting the incomplete ACR message related to the same session.
  • the original primary CDF or the current primary CDF determines whether the ACR message related to the same session has been collected within a set time limit, and if the collection is complete within the set time limit, a complete bill is constructed. Otherwise construct an incomplete bill.
  • the step of confirming the primary standby state of each other through the active/standby status notification message between the original primary CDF and the current primary CDF is further included.
  • the present invention also provides a system for improving the integrity of a bill, the system comprising:
  • the primary CDF is used to receive and cache the ACR message
  • the backup CDF is used to replace the primary CDF as the current primary CDF when the primary/standby switchover occurs; before the primary/standby switchover occurs, the primary CDF and the standby CDF are established for the transmission.
  • the primary CDF caches the ACR message that is not collected and is related to the same session locally; after the active/standby switchover occurs, the original primary CDF completes the uncollected message.
  • the ACR message associated with the same session is forwarded to the current primary CDF; the original primary CDF or the current primary CDF constructs a bill based on the completeness of the ACR message associated with the same session.
  • a CDF comprising:
  • a link establishing module configured to establish, with the peer CDF, a link for transmitting an incomplete ACR message related to the same session
  • a status confirmation module configured to confirm the primary and backup status of the CDF of itself and the peer
  • An ACR cache module configured to receive and cache an ACR message, and submit the ACR message related to the same session to the CDR construction module when it is complete;
  • the ACR forwarding module is configured to: after the status of the CDF is changed from the primary to the standby, triggering the ACR cache module to be incompletely synchronized with the same session under the trigger of the primary and secondary status notification messages sent by the CDF in the primary state.
  • the related ACR message is forwarded to the CDF of the opposite end;
  • a CDR construction module that constructs the CDR and forwards it to the Charging Gateway Function (CGF). Further, the CDR construction module determines whether the ACR message related to the same session has been collected completely within a set time limit, and if the collection is complete within the set time limit, constructs a complete CDR, otherwise constructs an incomplete CDR.
  • CGF Charging Gateway Function
  • FIG. 1 is a structural diagram of a charging function defined by 3GPP
  • 2 is a schematic diagram of charging signaling defined by 3GPP
  • FIG. 3 is a schematic structural diagram of a system for improving the integrity of a bill structure according to the present invention
  • 4 is a flow chart of a method for improving the integrity of a bill structure according to the present invention
  • FIG. 5 is a schematic structural diagram of a CDF capable of improving the integrity of a bill structure according to the present invention.
  • the present invention is directed to the technical problem that a large number of incomplete CDRs will be generated when FailOver and FailBack occur, and since FailOver and FailBack both cause a primary standby state switching between the primary CDF and the standby CDF, the present invention will be between CDFs.
  • the FailOver and FailBack that occur are collectively referred to as CDF active/standby switchover.
  • the present invention proposes that a secure mechanism needs to be established between the primary CDF and the alternate CDF, which ensures that the ACR associated with the same session can eventually be sent to the same CDF (primary CDF or alternate CDF) to avoid incompleteness. Generation of CDRs.
  • the present invention proposes a system for improving the integrity of a bill structure, and the specific structure of the system is as shown in FIG.
  • the present invention needs to establish a physical connection between the primary CDF and the standby CDF, for confirming the primary and backup status between the CDFs, and when the primary/standby switching occurs, the primary
  • the incomplete ACR message corresponding to the CDR on the CDF is transmitted to the standby CDF;
  • the system mainly includes:
  • the primary CDF is used to receive and cache the ACR message
  • the backup CDF is used to replace the primary CDF as the current primary CDF in the event of an active/standby switchover; before the primary/standby switchover occurs, the primary CDF caches the ACR messages not associated with the same session locally; After the standby switchover, the original primary CDF forwards the complete ACR message related to the same session to the current primary CDF (ie, the original backup CDF); the original primary CDF or the current primary CDF is based on the integrity of the ACR message associated with the same session. The situation constructs a bill.
  • the original primary CDF or the current primary CDF determines whether the ACR message related to the same session has been collected within a set time limit, and if the collection is complete within a set time limit, Then construct a complete bill, otherwise construct an incomplete bill.
  • FIG. 4 is a flow chart of a method for improving the integrity of a bill structure according to the present invention.
  • the figure illustrates the interaction between the primary CDF and the standby CDF in the case of FailOver and the processing of the received message.
  • the specific steps are as follows:
  • Step S01 The first CDF sends a handshake message to the second CDF.
  • Step S02 After receiving the handshake message sent by the first CDF, the second CDF sends a response message to the first CDF, and establishes a physical link between the first CDF and the second CDF by using the handshake message.
  • the CDF that initiates the handshake message may be the first A CDF can also be a second CDF, and the physical link between the two can be established after the other party answers.
  • Step S03 The first CDF sends an active/standby status notification message to the second CDF, informing the other party that it is the current primary CDF, and the other party is the current standby CDF;
  • Step S04 The second CDF sends a status confirmation message to the first CDF to confirm the primary and standby states of the two CDFs;
  • Step S05 The IMS network element (for example, the Server-Call Session Control Function, S-CSCF) sends a Start ACR message to the currently used CDF.
  • S-CSCF Server-Call Session Control Function
  • Step S06 The first CDF caches the Start ACR message to the local area, and waits for the ACR related to the same session to be received, and then constructs the CDR;
  • Step S07 The link between the first CDF and the CTF is interrupted, and FailOver occurs
  • Step S08 The IMS network element (for example, S-CSCF) sends a subsequent Interim ACR and Stop ACR message related to the same session to the second CDF (after the FailOver, the second CDF has been converted into the active state, and the CDF is used for the primary use). " and "alternate" status are dynamically changing);
  • Step S09 The second CDF sends an active/standby status notification message to the first CDF, that is, the original primary CDF, to inform the other party that it has become the primary CDF, and the other party has become the standby CDF;
  • Step S10 The first CDF sends a status confirmation message to the second CDF to confirm the primary and standby states of the two CDFs; that is, the second CDF becomes the primary CDF, and the first CDF becomes the standby CDF.
  • Step S11 The first CDF sends its own cached Start AC message that belongs to the same session and has not been configured into a CDR to the second CDF. The meaning of this step is that after the active/standby switchover of the two CDFs, the original primary use The CDF and the current primary CDF merge the ACR messages belonging to the same session to the current primary CDF;
  • Step S12 The second CDF determines whether the ACR message related to the same session has been collected completely, if the collection is complete, go to step S13; if it is not collected completely (for example, missing Stop ACR or Interim ACR), go to step S14;
  • Step S13 If the ACR message belonging to the same CDR is collected within the set time limit, the second CDF is associated with the StartACR, InterimACR, and Stop ACR associated with the same session, and the CDR is constructed and sent to the CGF through the Ga interface;
  • Step S14 If the waiting time exceeds the set time limit, the ACR still does not collect the complete, the second CDF constructs the incomplete CDR, and sends it to the CGF through the Ga interface;
  • FailBack may occur, and the working link between the CTF and the CDF will be switched back to the first CDF.
  • the second CDF detects that it is in the standby state, the second CDF will An ACR message that does not construct a CDR itself is sent to the currently active CDF to construct a complete CDR.
  • the present invention also provides a CDF capable of improving the integrity of the CDR structure.
  • the CDF includes: a link establishment module, a status confirmation module, ACR cache module, ACR forwarding module, CDR construction module.
  • a link establishing module configured to establish a link with the CDF of the opposite end by using a handshake signal
  • a status confirmation module configured to determine, by the CDF of the peer end, the primary and backup states of each other through the active/standby status notification message;
  • An ACR cache module configured to receive and cache an AC message, and deliver the ACR message associated with the same session to the CDR construction module when it is complete;
  • the ACR forwarding module is configured to be used by the primary switch after the active/standby switchover occurs. After being used as a backup, the ACR message related to the same session cached by the ACR cache module is forwarded to the current active CDF under the trigger of the active/standby status notification message sent by the CDF in the active state; or the original primary use is received. Incomplete ACR messages related to the same session forwarded by the CDF;
  • a CDR construction module that constructs the CDR and forwards it to the CGF.
  • the CDR construction module determines whether the AC message related to the same session has been collected within a set time limit, and if the collection is complete within the set time limit, constructs a complete CDR, otherwise constructs an incomplete CDR.
  • the IMS network element and the transmitted ACR message listed in the above steps are only a specific example of the present invention. In fact, all IMS network elements and all session-based charging messages are suitable for the present invention.
  • the method of the present invention can ensure that the ACR message related to the same session is sent to a specific CDF when FailOver and FailBack occur in the IMS network, which greatly reduces the generation of incomplete CDRs. Reduce the possibility of operator revenue losses.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses a method and system for improving construction integrity of phone bill and Charging Data Function (CDF) thereof to solve the technical problem that the loss of Accounting Request (ACR) messages for constructing phone bill may be caused during the CDF primary-to-backup switch, resulting in generating massive incomplete phone bills. In the present invention, before the primary-to-backup switch, the primary CDF saves the incompletely collected ACR messages relating to the same session in a local buffer; after the primary-to-backup switch, the former primary CDF forwards the incompletely collected ACR messages relating to the same session to present primary CDF; said former primary CDF or said present primary CDF constructs Charging Data Record (CDR) of the phone bills according to integrity status of the ACR messages relating to the same session. During the primary-to-backup switch in IP Multimedia Subsystem (IMS) network, the present invention can guarantee the transmission of the ACR messages relating to the same session to some specific CDF, greatly reduce the generation of incomplete CDR, and lower the probability of revenue loss for operators.

Description

一种提高话单构造完整性的方法、 系统及计费数据功能 技术领域  Method, system and billing data function for improving the integrity of bill structure
本发明涉及通信领域, 更具体地涉及 IP多媒体子系统 ( IP Multimedia Subsystem, IMS ) 中一种提高话单 /计费数据记录( Charging Data Record, CDR )构造完整性的方法、 系统及计费数据功能 ( Charging Data Function, CDF )。 背景技术  The present invention relates to the field of communications, and more particularly to a method, system and charging data for improving the integrity of a billing/charging data record (CDR) in an IP Multimedia Subsystem (IMS). Charging Data Function (CDF). Background technique
在 3GPP描述的电信网络中,计费系统是其重要的功能部件之一,是运 营商实现营收的重要保障。 其主要功能如下所述:  In the telecommunications network described by 3GPP, the billing system is one of its important functional components and is an important guarantee for operators to achieve revenue. Its main functions are as follows:
图 1 示意了 3GPP 网络中计费功能实体的组成和他们之间的关系: 计 费触发功能( Charging Trigger Function, CTF )内嵌在 3GPP IMS各网元(包 括接入层网元, 服务网元, 控制子系统) 中, 它主要实现的功能是, 根据 监测到的网络资源的使用情况, 进行计费信息的收集, 并通过 Rf 接口 ( Offline Charging Reference Point )发送到计费数据功能 (Charging Data Function, CDF ); CDF 的主要功能是, 接收 CTF 发送的计费请求消息 ( Accounting Request, ACR ), 构造成计费 CDR, 并通过 Ga接口发送到计 费网关功能 (Charging Gateway Function, CGF ); CGF的主要功能是, 对 接收到 CDF发送的 CDR进行存储和管理, 并通过 Bx接口将 CDR文件发 送到计费域(Billing Domain, BD )。  Figure 1 shows the composition of the charging function entities in the 3GPP network and their relationship: The Charging Trigger Function (CTF) is embedded in the 3GPP IMS network elements (including access layer network elements, service network elements). In the control subsystem, the main function is to collect the accounting information according to the usage of the monitored network resources, and send it to the charging data function through the Rf interface (Charging Data). Function, CDF); The main function of the CDF is to receive an Accounting Request (ACR) sent by the CTF, configured as a charging CDR, and sent to the Charging Gateway Function (CGF) through the Ga interface; The main function of the CGF is to store and manage the CDRs received by the CDF, and send the CDR files to the Billing Domain (BD) through the Bx interface.
考虑到计费数据的重要性, 在 CTF和 CDF传送计费消息时, 3GPP提 出了一种可靠的机制, 如图 2所示, 一个 CTF和两个 CDF相连, 其中一个 CDF作为主用 CDF( First CDF ),另一个 CDF作为备用 CDF( Second CDF )。 CTF先把 ACR消息发到主用 CDF上, 当和主用 CDF链路产生故障或中断 时, CTF就把 ACR消息发到备用 CDF上 (这一过程称之为 FailOver )。 在 后续的 ACR消息传送过程中,如果 CTF检测到和主用的链路已恢复,则重 新把 ACR消息发送到主用的 CDF上(这一过程称之为 FailBack )。 当 CTF 和主备 CDF的链路都中断时, CTF要具有一定的緩存能力, 保证 ACR数 据不丢失。 主用 CDF和备用 CDF都可以根据 AC 消息构造出计费 CDR, 并通过 Ga接口发送到 CGF节点。 Considering the importance of billing data, 3GPP proposes a reliable mechanism when CTF and CDF transmit billing messages. As shown in Figure 2, one CTF is connected to two CDFs, one of which is the primary CDF ( First CDF), another CDF as a spare CDF (Second CDF). The CTF first sends the ACR message to the primary CDF, causing a failure or interruption when the primary CDF link is used. The CTF sends the ACR message to the alternate CDF (this process is called FailOver). In the subsequent ACR message transmission process, if the CTF detects that the active link has been restored, the ACR message is resent to the primary CDF (this process is called FailBack). When the link between the CTF and the active and standby CDFs is interrupted, the CTF must have a certain buffering capability to ensure that the ACR data is not lost. Both the primary CDF and the alternate CDF can construct a charging CDR according to the AC message and send it to the CGF node through the Ga interface.
在 IMS业务进行的过程中, IMS网元通过不断发送 ACR消息来记录用 户对网絡资源的使用情况, 以达到计费的目的。 比如, 在 IMS业务开始的 时候, 通过发送起始计费请求( Start ACR )消息记录 IMS会话的开始, IMS 会话超过一定时间或者发生媒体切换时, IMS 网元发送临时计费请求 ( Interim ACR ) 消息; 在 IMS会话结束的时候, IMS网元将发送终止计费 请求( Stop ACR )消息。对于非会话类的 IMS业务, IMS网元发送 Event ACR。  During the process of the IMS service, the IMS network element records the user's use of the network resources by continuously sending ACR messages to achieve the purpose of charging. For example, when the IMS service starts, the start of the IMS session is recorded by sending a Start ACR message, and the IMS network sends a temporary charging request (Interim ACR) when the IMS session exceeds a certain time or media switching occurs. Message; At the end of the IMS session, the IMS network element will send a Stop ACR message. For non-session IMS services, the IMS network element sends an Event ACR.
CDF在构造话单时,关联同一个会话相关的 Start ACR、 Interim ACR和 Stop ACR, 构造成一张话单输出。 当同一个话单相关的一部分 ACR丢失时(比 如, 丢失 Stop ACR ), CDF在构造话单时, 只能输出一张不完整的 CDR。 当输出不完整的 CDR时, 很可能造成该 IMS会话无法计费(比如, 关键的 Start ACR或 Stop ACR缺失, 造成 CDR中无会话持续时间等关键信息)。 When constructing a bill, the CDF associates the Start ACR, Interim ACR, and Stop ACR associated with the same session into a single bill output. When a part of the ACR related to the same bill is lost (for example, the Stop ACR is lost), the CDF can only output an incomplete CDR when constructing the bill. When an incomplete CDR is output, it is likely that the IMS session cannot be billed (for example, a critical Start ACR or Stop ACR is missing, resulting in no critical information such as session duration in the CDR).
通过以上介绍可知, 当 CTF和主用 CDF的链路中断, 将链路切换到备 用 CDF时, 如果此时有很多正在进行的 IMS会话, 那么, 相关 IMS网元 产生的同一个会话相关的 ACR会分别发送到主用 CDF和备用 CDF上, 这 样将导致 CDF构造出不完整的 CDR。 当 CTF检测到主用 CDF链路恢复再 将链路切换到主用 CDF时,情况是类似的,同样将导致产生不完整的 CDR。 也就是说,当 FailOver和 FailBack发生时,将导致大量的不完整 CDR出现。 进而导致运营商营收降低。 发明内容 According to the above description, when the link between the CTF and the primary CDF is interrupted, and the link is switched to the standby CDF, if there are many ongoing IMS sessions at this time, the ACR related to the same session generated by the related IMS network element is obtained. Will be sent to the primary CDF and the alternate CDF, respectively, which will cause the CDF to construct an incomplete CDR. When the CTF detects that the primary CDF link is recovered and then switches the link to the primary CDF, the situation is similar and will result in an incomplete CDR. That is to say, when FailOver and FailBack occur, a large number of incomplete CDRs will appear. This in turn leads to lower revenue for operators. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种提高话单构造完整性的方 法、 系统及 CDF, 用于解决在 CDF发生主备倒换时可能造成构造话单的 ACR消息丟失, 导致产生大量不完整话单的技术问题。  In view of the above, the main purpose of the present invention is to provide a method, a system, and a CDF for improving the integrity of a bill, which are used to solve the problem that the ACR message may be lost when the active/standby switchover occurs in the CDF, resulting in a large number of The technical problem of the complete bill.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
基于本发明的一方面, 提出一种提高话单构造完整性的方法, 该方法 包括:  Based on an aspect of the present invention, a method for improving the integrity of a bill construction is provided, the method comprising:
在发生主备倒换之前, 主用计费数据功能 (CDF )将未收集完整的与 同一会话相关的计费请求 (ACR ) 消息緩存在本地;  Prior to the active/standby switchover, the primary billing data function (CDF) caches the complete accounting request (ACR) messages associated with the same session locally;
在发生主备倒换之后, 原主用 CDF将所述未收集完整的与同一会话相 关的 ACR消息转发给当前主用 CDF;  After the active/standby switchover occurs, the original primary CDF forwards the uncollected ACR message related to the same session to the current active CDF;
所述原主用 CDF或所述当前主用 CDF根据与同一会话相关的 ACR消 息的完整情况构造话单 (CDR )。  The original primary CDF or the current primary CDF constructs a CDR (CDR) based on the completeness of the ACR message associated with the same session.
进一步地,在发生主备倒换之前,还包括主用 CDF和备用 CDF建立用 于传输所述不完整的与同一会话相关的 ACR消息的链路的步骤。  Further, before the active/standby switchover occurs, the primary CDF and the backup CDF are further configured to establish a link for transmitting the incomplete ACR message related to the same session.
进一步地,所述原主用 CDF或所述当前主用 CDF在设定时限内判断所 述与同一会话相关的 ACR消息是否已收集完整,若在设定时限内收集完整, 则构造完整的话单, 否则构造不完整的话单。  Further, the original primary CDF or the current primary CDF determines whether the ACR message related to the same session has been collected within a set time limit, and if the collection is complete within the set time limit, a complete bill is constructed. Otherwise construct an incomplete bill.
进一步地, 在发生主备倒换之前和之后, 还包括原主用 CDF和当前主 用 CDF之间通过主备状态通知消息确认彼此的主备用状态的步骤。  Further, before and after the active/standby switchover, the step of confirming the primary standby state of each other through the active/standby status notification message between the original primary CDF and the current primary CDF is further included.
基于上述一种提高话单构造完整性的方法, 本发明还提出一种提高话 单构造完整性的系统, 该系统包括:  Based on the above method for improving the structural integrity of a bill, the present invention also provides a system for improving the integrity of a bill, the system comprising:
主用 CDF, 用于接收并缓存 ACR消息;  The primary CDF is used to receive and cache the ACR message;
备用 CDF, 用于在发生主备倒换时接替主用 CDF成为当前主用 CDF; 在发生主备倒换之前,所述主用 CDF和备用 CDF之间建立用于传输所 述不完整的与同一会话相关的 ACR消息的链路, 主用 CDF将未收集完整 的与同一会话相关的 ACR消息缓存在本地; 在发生主备倒换之后, 原主用 CDF 将所述未收集完整的与同一会话相关的 ACR 消息转发给当前主用 CDF; 所述原主用 CDF或所述当前主用 CDF根据与同一会话相关的 ACR 消息的完整情况构造话单。 The backup CDF is used to replace the primary CDF as the current primary CDF when the primary/standby switchover occurs; before the primary/standby switchover occurs, the primary CDF and the standby CDF are established for the transmission. For the incomplete link of the ACR message related to the same session, the primary CDF caches the ACR message that is not collected and is related to the same session locally; after the active/standby switchover occurs, the original primary CDF completes the uncollected message. The ACR message associated with the same session is forwarded to the current primary CDF; the original primary CDF or the current primary CDF constructs a bill based on the completeness of the ACR message associated with the same session.
基于本发明的一方面, 提出一种 CDF, 该 CDF包括:  In accordance with an aspect of the invention, a CDF is provided, the CDF comprising:
链路建立模块, 用于与对端的 CDF建立用于传输不完整的与同一会话 相关的 ACR消息的链路;  a link establishing module, configured to establish, with the peer CDF, a link for transmitting an incomplete ACR message related to the same session;
状态确认模块, 用于确认自身和对端的 CDF的主备用状态;  a status confirmation module, configured to confirm the primary and backup status of the CDF of itself and the peer;
ACR緩存模块,用于接收并緩存 ACR消息,当与同一会话相关的 ACR 消息接收完整时将其递交给 CDR构造模块;  An ACR cache module, configured to receive and cache an ACR message, and submit the ACR message related to the same session to the CDR construction module when it is complete;
ACR转发模块, 用于在该 CDF的状态由主用转为备用后, 在原处于主 用状态的 CDF发送的主备状态通知消息的触发下, 将 ACR緩存模块緩存 的不完整的与同一个会话相关的 ACR消息转发给对端的 CDF;  The ACR forwarding module is configured to: after the status of the CDF is changed from the primary to the standby, triggering the ACR cache module to be incompletely synchronized with the same session under the trigger of the primary and secondary status notification messages sent by the CDF in the primary state. The related ACR message is forwarded to the CDF of the opposite end;
CDR构造模块, 用于构造 CDR, 并将其转发给计费网关功能(CGF )。 进一步地, 所述 CDR构造模块在设定时限内判断所述与同一会话相关 的 ACR 消息是否已收集完整, 若在设定时限内收集完整, 则构造完整的 CDR, 否则构造不完整的 CDR。  A CDR construction module that constructs the CDR and forwards it to the Charging Gateway Function (CGF). Further, the CDR construction module determines whether the ACR message related to the same session has been collected completely within a set time limit, and if the collection is complete within the set time limit, constructs a complete CDR, otherwise constructs an incomplete CDR.
采用本发明方法, 对于 IMS网络中, 发生 FailOver和 FailBack时, 能 保证将同一个会话相关的 ACR消息发送到某个特定的 CDF上, 大大减少 了不完整 CDR的产生, 降低了运营商营收损失的可能性。 附图说明  With the method of the present invention, when FailOver and FailBack occur in the IMS network, the ACR message related to the same session can be guaranteed to be sent to a specific CDF, which greatly reduces the generation of incomplete CDRs and reduces the revenue of the operators. The possibility of loss. DRAWINGS
图 1为 3GPP定义的计费功能结构图;  FIG. 1 is a structural diagram of a charging function defined by 3GPP;
图 2为 3GPP 定义的计费消息传送示意图;  2 is a schematic diagram of charging signaling defined by 3GPP;
图 3为本发明提出的提高话单构造完整性的系统结构示意图; 图 4为本发明提出的提高话单构造完整性的方法流程图; 图 5为本发明提出的能够提高话单构造完整性的 CDF的结构示意图。 具体实施方式 3 is a schematic structural diagram of a system for improving the integrity of a bill structure according to the present invention; 4 is a flow chart of a method for improving the integrity of a bill structure according to the present invention; FIG. 5 is a schematic structural diagram of a CDF capable of improving the integrity of a bill structure according to the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
本发明针对目前 FailOver和 FailBack发生时将产生大量不完整 CDR的 技术问题而提出,由于 FailOver和 FailBack都会导致主用 CDF和备用 CDF 之间的主备用状态的倒换, 因此, 本发明将 CDF之间发生的 FailOver和 FailBack统称为 CDF主备倒换。 本发明提出, 主用 CDF和备用 CDF之间 需要建立一个安全的机制, 该机制可以保证同一个会话相关的 ACR最终能 够发送到同一个 CDF (主用 CDF或备用 CDF )上, 以避免不完整 CDR的 产生。 为实现上述目的, 本发明提出一种提高话单构造完整性的系统, 该 系统具体结构如图 3所示。 与现有系统相区别的是, 本发明在主用 CDF和 备用 CDF之间还需要建立一条物理连接,用于 CDF之间的主备状态的确认, 以及在发生主备倒换的时候, 将主用 CDF上话单对应的不完整的 ACR消 息传送给备用 CDF; 该系统主要包括:  The present invention is directed to the technical problem that a large number of incomplete CDRs will be generated when FailOver and FailBack occur, and since FailOver and FailBack both cause a primary standby state switching between the primary CDF and the standby CDF, the present invention will be between CDFs. The FailOver and FailBack that occur are collectively referred to as CDF active/standby switchover. The present invention proposes that a secure mechanism needs to be established between the primary CDF and the alternate CDF, which ensures that the ACR associated with the same session can eventually be sent to the same CDF (primary CDF or alternate CDF) to avoid incompleteness. Generation of CDRs. To achieve the above object, the present invention proposes a system for improving the integrity of a bill structure, and the specific structure of the system is as shown in FIG. Different from the existing system, the present invention needs to establish a physical connection between the primary CDF and the standby CDF, for confirming the primary and backup status between the CDFs, and when the primary/standby switching occurs, the primary The incomplete ACR message corresponding to the CDR on the CDF is transmitted to the standby CDF; the system mainly includes:
主用 CDF, 用于接收并緩存 ACR消息;  The primary CDF is used to receive and cache the ACR message;
备用 CDF, 用于在发生主备倒换时接替主用 CDF成为当前主用 CDF; 在发生主备倒换之前, 主用 CDF 将未收集完整的与同一会话相关的 ACR消息緩存在本地; 在发生主备倒换之后, 原主用 CDF将未收集完整的 与同一会话相关的 ACR消息转发给当前主用 CDF (即原备用 CDF ); 原主 用 CDF或当前主用 CDF根据与同一会话相关的 ACR消息的完整情况构造 话单。  The backup CDF is used to replace the primary CDF as the current primary CDF in the event of an active/standby switchover; before the primary/standby switchover occurs, the primary CDF caches the ACR messages not associated with the same session locally; After the standby switchover, the original primary CDF forwards the complete ACR message related to the same session to the current primary CDF (ie, the original backup CDF); the original primary CDF or the current primary CDF is based on the integrity of the ACR message associated with the same session. The situation constructs a bill.
优选地,所述原主用 CDF或所述当前主用 CDF在设定时限内判断所述 与同一会话相关的 ACR消息是否已收集完整, 若在设定时限内收集完整, 则构造完整的话单, 否则构造不完整的话单。 Preferably, the original primary CDF or the current primary CDF determines whether the ACR message related to the same session has been collected within a set time limit, and if the collection is complete within a set time limit, Then construct a complete bill, otherwise construct an incomplete bill.
附图 4为本发明提出的提高话单构造完整性的方法流程图, 该图示例 了在 FailOver情况下主用 CDF和备用 CDF的交互情况以及对接收消息的 处理, 具体步骤如下:  4 is a flow chart of a method for improving the integrity of a bill structure according to the present invention. The figure illustrates the interaction between the primary CDF and the standby CDF in the case of FailOver and the processing of the received message. The specific steps are as follows:
步骤 S01 : 第一 CDF向第二 CDF发送握手消息;  Step S01: The first CDF sends a handshake message to the second CDF.
步骤 S02: 第二 CDF接收到第一 CDF发送的握手消息后向第一 CDF 发送应答消息, 通过握手消息第一 CDF和第二 CDF之间建立起物理链路; 发起握手消息的 CDF可以是第一 CDF也可以是第二 CDF, 对方应答后即 可建立二者之间的物理链路。  Step S02: After receiving the handshake message sent by the first CDF, the second CDF sends a response message to the first CDF, and establishes a physical link between the first CDF and the second CDF by using the handshake message. The CDF that initiates the handshake message may be the first A CDF can also be a second CDF, and the physical link between the two can be established after the other party answers.
步驟 S03: 第一 CDF向第二 CDF发送主备状态通知消息, 告知对方自 己是当前的主用 CDF, 对方乃当前的备用 CDF;  Step S03: The first CDF sends an active/standby status notification message to the second CDF, informing the other party that it is the current primary CDF, and the other party is the current standby CDF;
步骤 S04: 第二 CDF向第一 CDF发送状态确认消息, 确认两个 CDF 的主用、 备用状态;  Step S04: The second CDF sends a status confirmation message to the first CDF to confirm the primary and standby states of the two CDFs;
步骤 S05: IMS 网元 (比如, 服务会话控制功能, Server-Call Session Control Function, S-CSCF ) 向当前主用的 CDF发送 Start ACR消息;  Step S05: The IMS network element (for example, the Server-Call Session Control Function, S-CSCF) sends a Start ACR message to the currently used CDF.
步骤 S06: 第一 CDF将 Start ACR消息緩存到本地,等待同一会话相关 的 ACR都收到后再构造 CDR;  Step S06: The first CDF caches the Start ACR message to the local area, and waits for the ACR related to the same session to be received, and then constructs the CDR;
步骤 S07: 第一 CDF和 CTF的链路中断, 发生 FailOver;  Step S07: The link between the first CDF and the CTF is interrupted, and FailOver occurs;
步骤 S08: IMS网元(比如, S-CSCF ) 向第二 CDF发送同一会话相关 的后续的 Interim ACR和 Stop ACR消息(在 FailOver之后, 第二 CDF已转 化为主用状态, CDF的 "主用" 和 "备用" 状态是动态变化的);  Step S08: The IMS network element (for example, S-CSCF) sends a subsequent Interim ACR and Stop ACR message related to the same session to the second CDF (after the FailOver, the second CDF has been converted into the active state, and the CDF is used for the primary use). " and "alternate" status are dynamically changing);
步骤 S09: 第二 CDF向第一 CDF即原主用 CDF发送主备状态通知消 息, 告知对方自己已变成主用 CDF, 对方已变成备用 CDF;  Step S09: The second CDF sends an active/standby status notification message to the first CDF, that is, the original primary CDF, to inform the other party that it has become the primary CDF, and the other party has become the standby CDF;
步骤 S10: 第一 CDF向第二 CDF发送状态确认消息, 确认两个 CDF 的主用、 备用状态; 即第二 CDF成为主用 CDF, 第一 CDF成为备用 CDF 步骤 S 11:第一 CDF将自己緩存的同属于同一会话的、还未构造成 CDR 的 Start AC 消息发送到第二 CDF; 此步骤的含义即, 在两个 CDF发生主 备倒换后, 原主用 CDF和当前主用 CDF将同属于同一会话的 ACR消息合 并到当前主用 CDF上; Step S10: The first CDF sends a status confirmation message to the second CDF to confirm the primary and standby states of the two CDFs; that is, the second CDF becomes the primary CDF, and the first CDF becomes the standby CDF. Step S11: The first CDF sends its own cached Start AC message that belongs to the same session and has not been configured into a CDR to the second CDF. The meaning of this step is that after the active/standby switchover of the two CDFs, the original primary use The CDF and the current primary CDF merge the ACR messages belonging to the same session to the current primary CDF;
步骤 S12:第二 CDF判断同一个会话相关的 ACR消息是否已收集完整, 若收集完整,转步骤 S13;若未收集完整(比如,缺失 Stop ACR或者 Interim ACR ), 转步骤 S 14;  Step S12: The second CDF determines whether the ACR message related to the same session has been collected completely, if the collection is complete, go to step S13; if it is not collected completely (for example, missing Stop ACR or Interim ACR), go to step S14;
步骤 S13: 若在设定时限内收集完整属于同一话单的 ACR消息, 则第 二 CDF关联同一个会话相关的 StartACR、 InterimACR, Stop ACR, 构造完 整 CDR, 并通过 Ga接口发送到 CGF;  Step S13: If the ACR message belonging to the same CDR is collected within the set time limit, the second CDF is associated with the StartACR, InterimACR, and Stop ACR associated with the same session, and the CDR is constructed and sent to the CGF through the Ga interface;
步骤 S14: 若等待超过设定时限, ACR仍未收集完整, 第二 CDF构造 不完整 CDR, 并通过 Ga接口发送到 CGF;  Step S14: If the waiting time exceeds the set time limit, the ACR still does not collect the complete, the second CDF constructs the incomplete CDR, and sends it to the CGF through the Ga interface;
基于上述步骤, 若在第二 CDF未构造 CDR时, 可能会发生 FailBack, CTF与 CDF之间的工作链路会重新切换到第一 CDF, 此时第二 CDF检测 到自己为备用状态后, 将自己未构造 CDR的 ACR消息发送给当前主用的 CDF, 以构造完整的 CDR。  Based on the above steps, if the CDR is not constructed in the second CDF, FailBack may occur, and the working link between the CTF and the CDF will be switched back to the first CDF. After the second CDF detects that it is in the standby state, the second CDF will An ACR message that does not construct a CDR itself is sent to the currently active CDF to construct a complete CDR.
基于本发明提出的提高话单构造完整性的方法, 本发明还提出一种能 够提高话单构造完整性的 CDF, 如图 5中所示, 该 CDF包含: 链路建立模 块、 状态确认模块、 ACR緩存模块、 ACR转发模块、 CDR构造模块。  Based on the method for improving the integrity of the CDR structure proposed by the present invention, the present invention also provides a CDF capable of improving the integrity of the CDR structure. As shown in FIG. 5, the CDF includes: a link establishment module, a status confirmation module, ACR cache module, ACR forwarding module, CDR construction module.
链路建立模块, 用于与对端的 CDF通过握手信号建立链路;  a link establishing module, configured to establish a link with the CDF of the opposite end by using a handshake signal;
状态确认模块, 用于与对端的 CDF通过主备状态通知消息确定彼此的 主备用状态;  a status confirmation module, configured to determine, by the CDF of the peer end, the primary and backup states of each other through the active/standby status notification message;
ACR緩存模块,用于接收并緩存 AC 消息,当与同一会话相关的 ACR 消息接收完整时将其递交给 CDR构造模块;  An ACR cache module, configured to receive and cache an AC message, and deliver the ACR message associated with the same session to the CDR construction module when it is complete;
ACR转发模块, 用于在发生主备倒换后, 即在该 CDF的状态由主用转 为备用后, 在原处于主用状态的 CDF发送的主备状态通知消息的触发下, 将 ACR緩存模块緩存的不完整的与同一个会话相关的 ACR消息转发给当 前主用 CDF;或接收原主用 CDF转发的不完整的与同一个会话相关的 ACR 消息; The ACR forwarding module is configured to be used by the primary switch after the active/standby switchover occurs. After being used as a backup, the ACR message related to the same session cached by the ACR cache module is forwarded to the current active CDF under the trigger of the active/standby status notification message sent by the CDF in the active state; or the original primary use is received. Incomplete ACR messages related to the same session forwarded by the CDF;
CDR构造模块, 用于构造 CDR, 并将其转发给 CGF。  A CDR construction module that constructs the CDR and forwards it to the CGF.
优选地, 所述 CDR构造模块在设定时限内判断所述与同一会话相关的 AC 消息是否已收集完整,若在设定时限内收集完整,则构造完整的 CDR, 否则构造不完整的 CDR。  Preferably, the CDR construction module determines whether the AC message related to the same session has been collected within a set time limit, and if the collection is complete within the set time limit, constructs a complete CDR, otherwise constructs an incomplete CDR.
以上步骤中所列的 IMS网元以及发送的 ACR消息,只是本发明一个特 例, 实际上, IMS所有网元以及所有基于会话的计费消息, 都适合本发明。  The IMS network element and the transmitted ACR message listed in the above steps are only a specific example of the present invention. In fact, all IMS network elements and all session-based charging messages are suitable for the present invention.
综上所述,釆用本发明方法,对于 IMS网络中,发生 FailOver和 FailBack 时, 能保证将同一个会话相关的 ACR消息发送到某个特定的 CDF上, 大 大减少了不完整 CDR的产生, 降低了运营商营收损失的可能性。  In summary, the method of the present invention can ensure that the ACR message related to the same session is sent to a specific CDF when FailOver and FailBack occur in the IMS network, which greatly reduces the generation of incomplete CDRs. Reduce the possibility of operator revenue losses.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种提高话单构造完整性的方法, 其特征在于, 该方法包括: 在发生主备倒换之前, 主用计费数据功能 (CDF )将未收集完整的与 同一会话相关的计费请求 (ACR ) 消息緩存在本地; A method for improving the integrity of a bill, characterized in that the method comprises: before the active/standby switchover, the primary billing data function (CDF) will not collect the complete billing request related to the same session. (ACR) message cached locally;
在发生主备倒换之后, 原主用 CDF将所述未收集完整的与同一会话相 关的 ACR消息转发给当前主用 CDF;  After the active/standby switchover occurs, the original primary CDF forwards the uncollected ACR message related to the same session to the current active CDF;
所述原主用 CDF或所述当前主用 CDF根据与同一会话相关的 ACR消 息的完整情况构造话单 ( CDR )。  The original primary CDF or the current primary CDF constructs a CDR (CDR) based on the completeness of the ACR message associated with the same session.
2、 根据权利要求 1所述的方法, 其特征在于, 在发生主备倒换之前, 还包括主用 CDF和备用 CDF建立用于传输所述不完整的与同一会话相关的 ACR消息的链路的步骤。  2. The method according to claim 1, wherein before the active/standby switchover, the primary CDF and the backup CDF are further configured to establish a link for transmitting the incomplete ACR message related to the same session. step.
3、 根据权利要求 1 或 2所述的方法, 其特征在于, 所述原主用 CDF 或所述当前主用 CDF在设定时限内判断所述与同一会话相关的 ACR消息 是否已收集完整, 若在设定时限内收集完整, 则构造完整的话单, 否则构 造不完整的话单。  The method according to claim 1 or 2, wherein the original primary CDF or the current primary CDF determines whether the ACR message related to the same session has been collected within a set time limit, if If the collection is complete within the set time limit, a complete bill will be constructed, otherwise the incomplete bill will be constructed.
4、 根据权利要求 1所述的方法, 其特征在于, 在发生主备倒换之前和 之后,还包括原主用 CDF和当前主用 CDF之间通过主备状态通知消息确认 彼此的主备用状态的步骤。  The method according to claim 1, wherein before and after the active/standby switchover, the step of confirming the primary standby state of each other by the active/standby state notification message between the original primary CDF and the current primary CDF is further included. .
5、 一种提高话单构造完整性的系统, 其特征在于, 该系统包括: 主用 CDF, 用于接收并緩存 ACR消息;  A system for improving the integrity of a bill, characterized in that the system comprises: a primary CDF for receiving and caching an ACR message;
备用 CDF, 用于在发生主备倒换时接替主用 CDF成为当前主用 CDF; 在发生主备倒换之前, 主用 CDF 将未收集完整的与同一会话相关的 ACR消息緩存在本地; 在发生主备倒换之后, 原主用 CDF将所述未收集完 整的与同一会话相关的 ACR消息转发给当前主用 CDF, 即原备用 CDF; 所述原主用 CDF或所述当前主用 CDF根据与同一会话相关的 ACR消息的 完整情况构造话单。 The backup CDF is used to replace the primary CDF as the current primary CDF in the event of an active/standby switchover; before the primary/standby switchover occurs, the primary CDF caches the ACR messages not associated with the same session locally; After the standby switchover, the original primary CDF forwards the uncollected ACR message related to the same session to the current primary CDF, that is, the original standby CDF; The original primary CDF or the current primary CDF constructs a bill based on the completeness of the ACR message associated with the same session.
6、 根据权利要求 5所述的系统, 其特征在于, 在发生主备倒换之前, 所述主用 CDF和备用 CDF之间建立用于传输所述不完整的与同一会话相关 的 ACR消息的链路。  The system according to claim 5, wherein a chain for transmitting the incomplete ACR message related to the same session is established between the primary CDF and the standby CDF before the active/standby switchover occurs. road.
7、 根据权利要求 5或 6所述的系统, 其特征在于, 所述原主用 CDF 或所述当前主用 CDF在设定时限内判断所述与同一会话相关的 ACR消息 是否已收集完整, 若在设定时限内收集完整, 则构造完整的话单, 否则构 造不完整的话单。  The system according to claim 5 or 6, wherein the original primary CDF or the current primary CDF determines whether the ACR message related to the same session has been collected within a set time limit. If the collection is complete within the set time limit, a complete bill will be constructed, otherwise the incomplete bill will be constructed.
8、 根据权利要求 5所述的系统, 其特征在于, 在发生主备倒换之前和 之后,所述原主用 CDF和当前主用 CDF之间通过主备状态通知消息确认彼 此的主备用状态。  8. The system according to claim 5, wherein before and after the active/standby switchover, the primary active CDF and the current primary CDF confirm the primary standby state of each other through the active/standby status notification message.
9、 一种 CDF, 其特征在于, 该 CDF包括:  9. A CDF, characterized in that the CDF comprises:
链路建立模块, 用于与对端的 CDF建立链路;  a link establishing module, configured to establish a link with the CDF of the peer end;
状态确认模块, 用于确认自身和对端的 CDF的主备用状态;  a status confirmation module, configured to confirm the primary and backup status of the CDF of itself and the peer;
ACR緩存模块,用于接收并緩存 AC 消息,当与同一会话相关的 ACR 消息接收完整时将其递交给 CDR构造模块;  An ACR cache module, configured to receive and cache an AC message, and deliver the ACR message associated with the same session to the CDR construction module when it is complete;
ACR转发模块, 用于在该 CDF的状态由主用转为备用后, 在原处于主 用状态的 CDF发送的主备状态通知消息的触发下, 将 ACR緩存模块緩存 的不完整的与同一个会话相关的 ACR消息转发给对端的 CDF;  The ACR forwarding module is configured to: after the status of the CDF is changed from the primary to the standby, triggering the ACR cache module to be incompletely synchronized with the same session under the trigger of the primary and secondary status notification messages sent by the CDF in the primary state. The related ACR message is forwarded to the CDF of the opposite end;
CDR构造模块, 用于构造 CDR, 并将其转发给计费网关功能(CGF )。 A CDR construction module that constructs the CDR and forwards it to the Charging Gateway Function (CGF).
10、 根据权利要求 9所述的 CDF, 其特征在于, 所述 CDR构造模块在 设定时限内判断所述与同一会话相关的 ACR消息是否已收集完整, 若在设 定时限内收集完整, 则构造完整的 CDR, 否则构造不完整的 CDR。 The CDF according to claim 9, wherein the CDR construction module determines whether the ACR message related to the same session has been collected completely within a set time limit, and if the collection is complete within a set time limit, Construct a complete CDR, otherwise construct an incomplete CDR.
PCT/CN2010/076474 2010-03-18 2010-08-30 Method and system for improving construction integrity of phone bill and charging data function (cdf) thereof WO2011113261A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2011113261A1 true WO2011113261A1 (en) 2011-09-22

Family

ID=44603641

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

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

Cited By (2)

* 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
WO2022242884A1 (en) * 2021-06-24 2022-11-24 Telefonaktiebolaget Lm Ericsson (Publ) Blockchain-based integrity protection for cdr

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984120A (en) * 2006-05-15 2007-06-20 华为技术有限公司 Method for assuring bill document and primary data consistence during the process of dual system switch
CN101286862A (en) * 2007-04-09 2008-10-15 中兴通讯股份有限公司 Method for synchronizing and switching multicast service between main and standby in access device
CN101291209A (en) * 2007-04-17 2008-10-22 大唐移动通信设备有限公司 Method and apparatus for data synchronization
CN101335690A (en) * 2007-06-29 2008-12-31 朗迅科技公司 Seamless redundant system for IP communication network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010082B2 (en) * 2004-10-20 2011-08-30 Seven Networks, Inc. Flexible billing architecture
CN101047902B (en) * 2007-04-30 2011-08-24 华为技术有限公司 Service process method, device of charging system and charging system
CN101123514B (en) * 2007-09-14 2010-08-18 中兴通讯股份有限公司 A billing method in IP multimedia subsystem network
CN101309334B (en) * 2008-07-15 2011-10-26 中兴通讯股份有限公司 Charging method of number portable service in IP multimedia sub-system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984120A (en) * 2006-05-15 2007-06-20 华为技术有限公司 Method for assuring bill document and primary data consistence during the process of dual system switch
CN101286862A (en) * 2007-04-09 2008-10-15 中兴通讯股份有限公司 Method for synchronizing and switching multicast service between main and standby in access device
CN101291209A (en) * 2007-04-17 2008-10-22 大唐移动通信设备有限公司 Method and apparatus for data synchronization
CN101335690A (en) * 2007-06-29 2008-12-31 朗迅科技公司 Seamless redundant system for IP communication network

Cited By (4)

* 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
US10362176B2 (en) 2014-09-08 2019-07-23 At&T Intellectual Property I, L.P. ACR buffering in the cloud
US11496525B2 (en) 2014-09-08 2022-11-08 At&T Intellectual Property I, L.P. ACR buffering in the cloud
WO2022242884A1 (en) * 2021-06-24 2022-11-24 Telefonaktiebolaget Lm Ericsson (Publ) Blockchain-based integrity protection for cdr

Also Published As

Publication number Publication date
CN102196397B (en) 2015-06-03
CN102196397A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
EP2441232B1 (en) Methods, apparatuses, and related computer program product for network element recovery
JP2012528530A (en) Fault tolerant method for generating fully correlated IMS billing data records
JP4481876B2 (en) Server device control method, client device control method, and session control method
WO2006024225A1 (en) A method for achieving double ascription
JP2007081933A (en) Relay system and call admission method
WO2008020644A1 (en) Proxy server, communication system, communication method, and program
WO2010015171A1 (en) Method for processing status information and device, system and client-side thereof
WO2009010008A1 (en) A method, system and network device for resource management
CN104429053A (en) Identification of timestamps for a partial CDR when failover occurs in an offline charging system
WO2007082446A1 (en) A method and system for offline charging
CN101667936A (en) Method, device and system for fault treatment of access session control server
WO2011143847A1 (en) Short message monitoring system and method
WO2008046351A1 (en) An apparatus, method and communication system for improving the reliability of the communication system
CN107508848A (en) Session method for handover control, device and access point apparatus
WO2012122904A1 (en) Method and system for protecting basic session in dsn voip service system
WO2011160378A1 (en) Method and apparatus for processing call failure
CN101459533B (en) System and method for improved application server disaster tolerance in next generation network
WO2009003407A1 (en) Method and system of acquiring media data in the application layer multicast network
WO2011113261A1 (en) Method and system for improving construction integrity of phone bill and charging data function (cdf) thereof
WO2011020369A1 (en) Method for establishing diameter link and diameter network element
WO2008003265A1 (en) A link handover method, device and mobile terminal
CN101447890B (en) Improved application server disaster tolerance system of next generation network and method thereof
CN104519022A (en) Method and device for establishing connecting channel
WO2011140736A1 (en) Network entity and method for protecting data in unstructured supplementary service data
WO2016074570A1 (en) Security monitoring method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10847730

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10847730

Country of ref document: EP

Kind code of ref document: A1