CN104348632A - Timing processing method and device, and charging trigger functional entity - Google Patents
Timing processing method and device, and charging trigger functional entity Download PDFInfo
- Publication number
- CN104348632A CN104348632A CN201310311142.5A CN201310311142A CN104348632A CN 104348632 A CN104348632 A CN 104348632A CN 201310311142 A CN201310311142 A CN 201310311142A CN 104348632 A CN104348632 A CN 104348632A
- Authority
- CN
- China
- Prior art keywords
- interval duration
- ctf
- charging
- ich
- timer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1485—Tariff-related aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1403—Architecture for metering, charging or billing
- H04L12/1407—Policy-and-charging control [PCC] architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/41—Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/66—Policy and charging system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/80—Rating or billing plans; Tariff determination aspects
- H04M15/8022—Determining tariff or charge band
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/80—Rating or billing plans; Tariff determination aspects
- H04M15/8083—Rating or billing plans; Tariff determination aspects involving reduced rates or discounts, e.g. time-of-day reductions or volume discounts
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Meter Arrangements (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a timing processing method and device, and a charging trigger functional entity. The method includes: obtaining second intermediate charging interval time length set for a CDF and a CTF by a charging data functional entity CDF; and starting an intermediate charging interval time length timer on the CTF, and setting a timing time length of the timer to be smaller than the second intermediate charging interval time length. The timing processing method provided by the invention can ensure that the intermediate charging interval time length of the charging trigger functional entity is earlier than timeout of the charging data functional entity, thereby preventing the problem of abnormal closing of a session charging bill caused by factors such as timekeeping difference of different network elements, network element processing speed and signaling transmission delay, and facilitating application and management of an off-line charging service.
Description
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of Timing Processing method, device and charging triggering function entity.
Background technology
IMS technology is third generation partnership (3rd Generation Partnership Project, next generation network standard 3GPP) defined, its distinguishing feature adopts session initiation protocol (Session Initial Protocol, SIP) system, communication is irrelevant with access, can possess multimedia service controlling functions be separated with bearing capacity, call out with service detach, apply be separated with service, business and network detach and the multi abilities such as mobile network and internet service fusion.
Along with IP technology to develop rapidly with consumption pattern day by day various, IMS technology obtains the extensive accreditation of global numerous operator and equipment manufacturers.In IMS technology, policy control and charging control to be the pith studied always; And, because direct relation the interests of operator, so call charge service Ye Shi operator pays close attention to most, therefore, how to solve the abnormal conditions in call charge service, guarantee the problem that the accuracy of charge information and integrality become IMS technology and need pay close attention to and solve.
IMS technology as shown in Figure 1,3GPP proposes offline charging (Offline Charging) pattern and online charging (Online Charging) pattern two kinds of charge mode, and has formulated the relevant international standard of a series of IMS charging for these two kinds of charge mode; Wherein, Offline Charging pattern carries out charging by collecting charging bill; And Online Charging pattern is triggered by event to carry out charging, under this charge mode, operator can service control flow process in real time.
In prior art, the Offline Charging pattern of IMS standard as shown in Figure 2, the network element in Offline Charging pattern architecture with billing function comprises: borde gateway controlling functions (Breakout Gateway Control Function, BGCF), MGCF (Media Gateway Control Function, MGCF), media resource function controller (Multimedia Resource Function Controller, MRFC), application server (Application Server, AS), agent conversation control function (Proxy Call Session Control Function, P-CSCF), inquiry session controlling functions (Interrogating Call Session Control Function, I-CSCF), serving session control function (Serving Call Session Control Function, S-CSCF), interconnection boundary Control function (Interconnect Border Control Function, IBCF), and emergent session controlling functions (Emergency Call Session Control Function, E-CSCF), the billing function unit of these network elements can be referred to as charging triggering function (Charging Trigger Function in Offline Charging pattern architecture, CTF).
In addition, in Offline Charging pattern architecture, charging data function (Charging Data Function, or Charging Gateway Functionality (Charging Gateway Function CDF), CGF) charging gateway is collectively referred to as, the collection of primary responsibility charging message, process, and the generation of charging bill (Charging Data Record, CDR).Undertaken alternately by Rf interface between charging gateway and each CTF, this interface adopts Diameter; Billing domain (Billing Domain, BD) realizes wholesale price, the function such as charge associated, and particularly, BD according to charging identifier information association charge information, and creates actual bill after receiving the CDR that CGF reports.
Under Offline Charging pattern architecture, after the CTF with the network element of billing function collects charge information, charge information is inserted each property value of Diameter message to (Attribute Value Pair, AVP) in field, and send to CDF with the form of accounting request (Accounting Request, ACR) message; After CDF receives ACR message, charging response (Accounting Answer, ACA) message can be returned to described CTF.Here, ACR message comprises Four types, is respectively: ACR [Start], ACR [Interim], ACR [Stop], ACR [Event]; Wherein, the charging scene that ACR [Start], ACR [Interim] and ACR [Stop] are correlated with for successful session, the charging scene that ACR [Event] has nothing to do for unsuccessful session and session.
Under Offline Charging pattern architecture, when after ACR [Start] message receiving the CTF from the network element with billing function, CDF creates a session CDR corresponding with this charging network element, and the value of each AVP in ACR [Start] message is filled up to the respective field of described session CDR; After receiving ACR [Interim] message from described CTF, the value of each AVP in ACR [Interim] message is filled in or upgrades the respective field of described session CDR by CDF; When receiving ACR [Stop] message from described CTF, the value of each AVP in ACR [Stop] message is filled up to the respective field of described session CDR by CDF, closes described session CDR afterwards.
When receiving ACR [Event] message of the CTF from the network element with billing function, CDF creates the session CDR that belongs to described network element, and the value of each AVP in ACR [Event] message is filled up to the respective field of described session CDR, close described session CDR afterwards.
In prior art, for the ease of the timed maintenance to charging in session, the mechanism of the Intermediate Charging ICH periodic refreshing mostly adopting 3GPP agreement organizations to formulate.As shown in Figure 3, a special AVP can be carried in ACR [Start]/ACR [Interim] message---Acct-Interim-Interval AVP, wherein indicate the Intermediate Charging ICH interval duration of CTF suggestion, after CDF receives ACR [Start]/ACR [Interim] message, understand the support situation according to this duration and this network element, formulate a rational Intermediate Charging ICH interval, and CTF is informed by identical Acct-Interim-Interval AVP in ACA [Start] or ACA [Interim] message, Intermediate Charging ICH interval duration timer is set simultaneously.After CTF receives the ACA [Start] or ACA [Interim] message carrying Acct-Interim-Interval AVP, also identical timer can be set, after change or Intermediate Charging ICH interval duration timer expiry occur charge information, CTF need send ACR [Interim] message to CDF and carry out Intermediate Charging ICH.As CDF finds timer expiry, then close the CDR of this session, and abnormal ticket mark is set.
In the process realizing protocol specification, at least there is following problem in prior art:
CDF arranges Intermediate Charging ICH interval duration timer when returning ACA [Start] or ACA [Interim] message, and CTF arranges Intermediate Charging ICH interval duration timer when receiving ACA [Start] or ACA [Interim] message, because duration arranges identical, therefore CDF is certainly prior to CTF time-out, and this is still under the prerequisite not considering the factor such as network element processing speed and signaling delivery lag.If charge information does not change in an Intermediate Charging ICH interval duration in session, so this session can be thought invalid session by CDF undoubtedly, causes session CDR extremely to be closed, and the telephone expenses having a strong impact on operator calculate and collect.
Summary of the invention
The object of this invention is to provide a kind of Timing Processing method, device and charging triggering function entity, can guarantee that the Intermediate Charging ICH interval duration of charging triggering function entity is early than charging data function entity time-out, and then the problem avoiding the session charging abnormal call ticket caused because of factors such as the timing differences of different network elements, network element processing speed and signaling delivery lags to close, facilitate application and the management of offline charging business.
For achieving the above object, embodiments provide a kind of Timing Processing method, for charging triggering function entity CTF, described method comprises:
Obtaining charging data function entity CDF is the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged;
Described CTF starts Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
Above-mentioned Timing Processing method, wherein, before acquisition charging data function entity CDF is the second Intermediate Charging ICH interval duration of described CDF and CTF setting, described method also comprises:
Detect described CTF and whether meet the trigger condition triggering charging request message;
When testing result indicates described CTF to meet described trigger condition, send charging request message to charging data function entity CDF;
Described acquisition charging data function entity CDF is that the second Intermediate Charging ICH interval duration that described CTF is arranged is specially:
Obtain described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
Above-mentioned Timing Processing method, wherein, described charging request message is for starting chargeable session request message or upgrading chargeable session request message;
Whether the described CTF of described detection meets the trigger condition triggering charging request message is specially:
Detect described CTF and whether start chargeable session; Or
Before the timing length time-out of described timer, whether the charge information detecting described CTF changes; Or
Whether the timing length detecting described timer is overtime.
Above-mentioned Timing Processing method, wherein, described CTF starts Intermediate Charging ICH interval duration timer, and after the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration, described method also comprises:
Before not receiving stopping chargeable session request message, return and perform the step whether described CTF of described detection meets the trigger condition triggering charging request message, and when testing result indicates described CTF to meet described trigger condition, transmission carries the charging request message of the second Intermediate Charging ICH interval duration to described CDF.
Above-mentioned Timing Processing method, wherein, described CTF starts Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration is specially:
Described CTF starts Intermediate Charging ICH interval duration timer, and the difference of the timing length of described second Intermediate Charging ICH interval duration and described timer is not less than time delay value, wherein said time delay value is determined according to the timing differences between described CDF and described CTF, processing speed and signaling delivery lag.
Above-mentioned Timing Processing method, wherein, the described timing length arranging described timer is less than described second Intermediate Charging ICH interval duration and specifically comprises:
More described second Intermediate Charging ICH interval duration and the size with reference to interval duration;
When the described second Intermediate Charging ICH interval duration of comparative result instruction is less than described reference interval duration, the timing length arranging described timer is the half of described second Intermediate Charging ICH interval duration;
Otherwise the timing length arranging described timer is described second Intermediate Charging ICH interval duration and the described difference with reference to duration half.
Above-mentioned Timing Processing method, wherein, described is the first Intermediate Charging ICH interval duration with reference to interval duration, and wherein said first Intermediate Charging ICH interval duration is that the described CTF carried in described charging request message advises the Intermediate Charging ICH interval duration that described CDF adopts.
To achieve these goals, the embodiment of the present invention additionally provides a kind of Timing Processing device, and for charging triggering function entity CTF, described device comprises:
Acquisition module is the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged for obtaining charging data function entity CDF;
Timing Processing module, for starting Intermediate Charging ICH interval duration timer on described CTF, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
Above-mentioned Timing Processing device, wherein, described device also comprises:
Whether detection module, meet the trigger condition triggering charging request message for detecting described CTF;
Sending module, when meeting described trigger condition for indicating described CTF when testing result, sends charging request message to charging data function entity CDF;
Described acquisition module is specially:
Obtain described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
Above-mentioned Timing Processing device, wherein, described charging request message is for starting chargeable session request message or upgrading chargeable session request message;
Described detection module is specially:
Detect described CTF and whether start chargeable session; Or
Before the timing length time-out of described timer, whether the charge information detecting described CTF changes; Or
Whether the timing length detecting described timer is overtime.
Above-mentioned Timing Processing device, wherein, described device also comprises:
Control module, for before not receiving stopping chargeable session request message, control described detection module in running order, and when detection module detects that described CTF meets described trigger condition, control the transmission of described sending module and carry the charging request message of the second Intermediate Charging ICH interval duration to described CDF.
Above-mentioned Timing Processing device, wherein, described Timing Processing module is specially:
Described CTF starts Intermediate Charging ICH interval duration timer, and the difference of the timing length of described second Intermediate Charging ICH interval duration and described timer is not less than time delay value, wherein said time delay value is determined according to the timing differences between described CDF and described CTF, processing speed and signaling delivery lag.
Above-mentioned Timing Processing device, wherein, described Timing Processing module specifically comprises:
Comparison module, for more described second Intermediate Charging ICH interval duration and the size with reference to interval duration;
First arranges module, and for when the described second Intermediate Charging ICH interval duration of comparative result instruction is less than described reference interval duration, the timing length arranging described timer is the half of described second Intermediate Charging ICH interval duration;
Second arranges module, and for when the described second Intermediate Charging ICH interval duration of comparative result instruction is not less than described reference interval duration, the timing length arranging described timer is described second Intermediate Charging ICH interval duration and the described difference with reference to duration half.
Above-mentioned Timing Processing device, wherein, described is the first Intermediate Charging ICH interval duration with reference to interval duration, and wherein said first Intermediate Charging ICH interval duration is that the described CTF carried in described charging request message advises the Intermediate Charging ICH interval duration that described CDF adopts.
To achieve these goals, the embodiment of the present invention additionally provides a kind of charging triggering function entity CTF, comprises the Timing Processing device described in above-mentioned any one.
In embodiments of the present invention, when charging triggering function entity CTF receives the charge response message of carrying the second Intermediate Charging ICH interval duration, CTF starts timer, and timer duration is set is less than the second Intermediate Charging ICH interval duration, thus ensure that the Intermediate Charging ICH interval duration of CTF is early than CDF time-out, the problem avoiding the session charging abnormal call ticket caused because of factors such as the timing differences of different network elements, network element processing speed and signaling delivery lags to close further, facilitates application and the management of offline charging business.
Accompanying drawing explanation
Fig. 1 is IMS standard charging configuration diagram in prior art;
Fig. 2 is IMS standard off-line note expense configuration diagram in prior art;
Fig. 3 is the schematic flow sheet of IMS standard off-line note expense Timing Processing method in prior art;
The schematic flow sheet of a kind of Timing Processing method that Fig. 4 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of Timing Processing method that Fig. 5 provides for the embodiment of the present invention;
The schematic flow sheet of another Timing Processing method that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the Timing Processing device that Fig. 7 provides for the embodiment of the present invention.
Embodiment
For the embodiment of the present invention will be solved technical problem, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments provide a kind of Timing Processing method, for charging triggering function entity CTF, described method as shown in Figure 4, comprising:
Step 403, charging data function entity CDF is the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged;
Step 404, described CTF starts Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
In the Timing Processing method that the embodiment of the present invention provides, when charging triggering function entity CTF receives the charging message carrying the second Intermediate Charging ICH interval duration, CTF can start self Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.Due to CDF send described charging message to CTF time, just start the Intermediate Charging ICH interval duration timer of self, and timing length is the second Intermediate Charging ICH interval duration, as long as the timing length of the upper timer of CTF is less than the second Intermediate Charging ICH interval duration, be namely less than the timing length of timer on CDF.
It should be noted that, on CTF mentioned here, the timing length of timer is less than the second Intermediate Charging ICH interval duration, should be that the difference of the timing length that can ensure the second Intermediate Charging ICH interval duration and CTF timer is not less than time delay value, wherein time delay value is determined according to the timing differences between described CDF and described CTF, processing speed and signaling delivery lag, certainly, time delay value can also be determined by other factors.This makes it possible to ensure that the Intermediate Charging ICH interval duration of CTF is early than CDF time-out.
CDF is normally after the charging request message receiving CTF transmission, and by charge response message, inform that CTF needs the Intermediate Charging ICH interval duration arranged, i.e. the second Intermediate Charging ICH interval duration, namely said method is before execution step 403, also comprises:
Step 401, detects described CTF and whether meets the trigger condition triggering charging request message;
Step 402, when testing result indicates described CTF to meet described trigger condition, sends charging request message to charging data function entity CDF;
Accordingly, step 403 is specially:
Described acquisition charging data function entity CDF is that the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged is specially:
Obtain described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
When the Intermediate Charging ICH interval duration of CTF is early than CDF time-out, CTF will re-construct charging request message to CDF, CDF is when receiving the charging request message that CTF re-constructs, the timer of self is also not overtime, also current session charging is thought by mistake invalid session with regard to avoiding CDF, cause the problem that session charging abnormal call ticket is closed, facilitate application and the management of offline charging business simultaneously.
Introduce above-mentioned Timing Processing method step by step in detail below.
First, perform step 401, detect described CTF and whether meet the trigger condition triggering charging request message.
Charging request message comprises startup chargeable session request message ACR [Start], upgrade chargeable session request message ACR [Interim], stop chargeable session request message ACR [Stop] and the message ACR corresponding with unsuccessful session [Event], wherein ACR [Event] is applied in the charging scene irrelevant with session, ACR [Stop] is for stopping session charging, the Intermediate Charging ICH of these two charge response message and CTF has nothing to do, therefore, described charging request message is specially and starts chargeable session request message or upgrade chargeable session request message.
Accordingly, the trigger condition triggering charging request message that whether meets the described CTF of described detection detects described CTF exactly and whether meets the trigger condition triggering and start chargeable session request message ACR [Start] or upgrade chargeable session request message ACR [Interim], is specially:
Detect described CTF and whether start chargeable session; Or
Before the timing length time-out of described timer, whether the charge information detecting described CTF changes; Or
Whether the timing length detecting described timer is overtime.
When detecting that described CTF meets above-mentioned trigger condition, performing step 402, sending charging request message to charging data function entity CDF, in described charging request message, carrying the first Intermediate Charging ICH interval duration that described CTF advises.
The startup chargeable session request message that CTF sends or renewal chargeable session request message are through expansion, specific properties value can be carried to AVP field Acct-Interim-Interval AVP, wherein indicate the first Intermediate Charging ICH interval duration of CTF suggestion, here the first Intermediate Charging ICH interval duration can be the Intermediate Charging ICH interval duration of CTF this locality configuration, also can be default value.The code of the charging request message of expansion is as follows:
<ACR>::=<Diameter Header:271,REQ,PXY>
<Session-Id>
{Origin-Host}
{Origin-Realm}
{Destination-Realm}
{Accounting-Record-Type}
{Accounting-Record-Number}
[Acct-Application-Id]
[Vendor-Specific-Application-Id]
[User-Name]
[Accounting-Sub-Session-Id]
[Acct-Session-Id]
[Acct-Multi-Session-Id]
[Acct-Interim-Interval]
[Accounting-Realtime-Required]
[Origin-State-Id]
[Event-Timestamp]
*[Proxy-Info]
*[Route-Record]
[Service-Context-Id]
[Service-Information]
*[AVP]
When sending above-mentioned charging request message after charging data function entity CDF, entering step 403, obtaining described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
Here the second Intermediate Charging ICH interval duration, preferably, being the charging duration flushing policy corresponding with described CTF that CDF presets according to described first Intermediate Charging ICH interval duration and described CDF, is the Intermediate Charging ICH interval duration that described CTF is arranged.
Certainly, CDF can be also the second Intermediate Charging ICH interval duration that described CTF is arranged according to other rules.
CDF is when receiving startup chargeable session request message ACR [Start] of CTF transmission or upgrading chargeable session request message ACR [Interim], can according to the first Intermediate Charging ICH interval duration, and the charging duration flushing policy corresponding with described CTF that described CDF presets, for CTF arranges rational Intermediate Charging ICH interval duration, i.e. the second Intermediate Charging ICH interval duration, and by expansion charge response message ACA [Start] or ACA [Interim] in Acct-Interim-Interval AVP turn back to CTF, certain CDF is while transmission charge response message to CTF, start the Intermediate Charging ICH intervalometer of self, and the timing length of timer is the second Intermediate Charging ICH interval duration.The code of the charge response message of expansion is as follows:
<ACA>::=<Diameter Header:271,PXY>
<Session-Id>
{Result-Code}
{Origin-Host}
{Origin-Realm}
{Accounting-Record-Type}
{Accounting-Record-Number}
[Acct-Application-Id]
[Vendor-Specific-Application-Id]
[User-Name]
[Accounting-Sub-Session-Id]
[Acct-Session-Id]
[Acct-Multi-Session-Id]
[Error-Reporting-Host]
[Acct-Interim-Interval]
[Accounting-Realtime-Required]
[Origin-State-Id]
[Event-Timestamp]
*[Proxy-Info]
*[AVP]
Now, enter step 404, described CTF starts Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
In order to make the timing length of timer on CTF reasonable as far as possible in the scope being less than the second Intermediate Charging ICH interval duration, preferably, the described timing length arranging described timer is less than described second Intermediate Charging ICH interval duration and is specially:
More described second Intermediate Charging ICH interval duration and the size with reference to interval duration;
When the described second Intermediate Charging ICH interval duration of comparative result instruction is less than described reference interval duration, the timing length arranging described timer is the half of described second Intermediate Charging ICH interval duration;
Otherwise the timing length arranging described timer is described second Intermediate Charging ICH interval duration and the described difference with reference to duration half.
Wherein, described is the first Intermediate Charging ICH interval duration with reference to interval duration.
Certainly; other not by comparing the second Intermediate Charging ICH interval duration and the size with reference to interval duration; directly in the scope being less than the second Intermediate Charging ICH interval duration; determine the method for the timing length of timer on CTF or the size by comparing the second Intermediate Charging ICH interval duration and reference interval duration; thus adopt Different Strategies to determine the method for the timing length of timer on CTF, all belong to the scope of protection of present invention.
Because the timing length of timer on CTF is less than the second Intermediate Charging ICH interval duration, be namely less than the timing length of timer on CDF, therefore ensure that the Intermediate Charging ICH interval duration of CTF is early than CDF time-out.
Again further, when the Intermediate Charging ICH interval duration of CTF is early than CDF time-out, CTF will re-construct charging request message to CDF, CDF is when receiving the charging request message that CTF re-constructs, the timer of self is also not overtime, also thinking current session charging by mistake invalid session with regard to avoiding CDF, causing the problem that session charging abnormal call ticket is closed, facilitate application and the management of offline charging business simultaneously.
Introduce above-mentioned Timing Processing method step by step in detail below.
It should be noted that, after completing steps 404, described method also comprises:
Before not receiving stopping chargeable session request message, return and perform the step whether described CTF of described detection meets the trigger condition triggering charging request message, and when testing result indicates described CTF to meet described trigger condition, transmission carries the charging request message of the second Intermediate Charging ICH interval duration to described CDF.
Before no matter starting timer, the charging request message that CTF sends starts chargeable session request message ACR [Start] or upgrades chargeable session request message ACR [Interim], when after the described timer of startup, do not receive before stopping chargeable session request message, all illustrate that chargeable session starts, therefore, when again detecting that described CTF meets the trigger condition triggering charging request message, charging request message is now and upgrades chargeable session request message ACR [Interim], the first Intermediate Charging ICH interval duration is carried in this ACR [Interim] message, because CDF had returned reasonably Intermediate Charging ICH interval duration before, i.e. the second Intermediate Charging ICH interval duration, therefore, preferably, the second Intermediate Charging ICH interval duration is carried in this ACR [Interim] message.
The flow process of above-mentioned location processing method is introduced in detail below by following embodiment.
< embodiment 1>
As shown in Figure 5, the location processing method that the embodiment of the present invention provides comprises:
Step 501, detects Trigger Function entity CTF and whether meets the trigger condition triggering charging request message, and wherein charging request message is for starting chargeable session request message ACR [Start] or upgrading chargeable session request message ACR [Interim];
Step 502, when testing result instruction CTF meets described trigger condition, send and start chargeable session request message ACR [Start] or upgrade chargeable session request message ACR [Interim] to charging data function entity CDF, wherein carry Acct-Interim-Interval AVP, first Intermediate Charging ICH interval duration T1 of instruction CTF suggestion, certain T1 can be the value of CTF this locality configuration, also can be default value;
Step 503, CDF receives ACR [Start] or ACR [Interim] request, and the charging duration flushing policy corresponding with described CTF can preset according to T1 and CDF, formulates a rational Intermediate Charging ICH interval, i.e. the second Intermediate Charging ICH interval duration T2;
Step 504, CDF constructs charge response message ACA [Start] or ACA [Interim] message, and the value arranging Acct-Interim-Interval AVP field is T2 is sent to CTF, start the Intermediate Charging ICH interval duration timer D1 on CDF according to this duration simultaneously;
Step 505, after CTF receives charge response message ACA [Start] or ACA [Interim] message, check Acct-Interim-Interval AVP wherein, the relatively size of T2 and T1, here T2<T1 is supposed, then start the Intermediate Charging ICH interval duration timer D2 on CTF, and the duration of timer D2 is T2/2;
After starting D2, before not receiving stopping chargeable session request message, return and perform step 501;
Step 506, when testing result indicates CTF to meet described trigger condition again, be specially CTF Intermediate Charging ICH interval duration timer D2 time-out here, now CTF constructs ACR [Interim] message, and to arrange Acct-Interim-Interval AVP be T2.
Embodiment 1 is that the second Intermediate Charging ICH interval duration T2 is less than with reference to interval duration, and namely corresponding during the first Intermediate Charging ICH interval duration T1 situation, the second Intermediate Charging ICH interval duration T2 is not less than with reference to location processing method corresponding during the duration of interval as follows.
< embodiment 2>
As shown in Figure 6, the location processing method that the embodiment of the present invention provides comprises:
Step 601, detects Trigger Function entity CTF and whether meets the trigger condition triggering charging request message, and wherein charging request message is for starting chargeable session request message ACR [Start] or upgrading chargeable session request message ACR [Interim];
Step 602, when testing result instruction CTF meets described trigger condition, send and start chargeable session request message ACR [Start] or upgrade chargeable session request message ACR [Interim] to charging data function entity CDF, wherein carry Acct-Interim-Interval AVP, first Intermediate Charging ICH interval duration T1 of instruction CTF suggestion, certain T1 can be the value of CTF this locality configuration, also can be default value;
Step 603, CDF receives ACR [Start] or ACR [Interim] request, and the charging duration flushing policy corresponding with described CTF can preset according to T1 and CDF, formulates a rational Intermediate Charging ICH interval, i.e. the second Intermediate Charging ICH interval duration T2;
Step 604, CDF constructs charge response message ACA [Start] or ACA [Interim] message, and the value arranging Acct-Interim-Interval AVP field is T2 is sent to CTF, start the Intermediate Charging ICH interval duration timer D1 on CDF according to this duration simultaneously;
Step 605, after CTF receives charge response message ACA [Start] or ACA [Interim] message, check Acct-Interim-Interval AVP wherein, the relatively size of T2 and T1, here T2>=T1 is supposed, then start the Intermediate Charging ICH interval duration timer D2 on CTF, and the duration of timer D2 is T2-T1/2;
After starting D2, before not receiving stopping chargeable session request message, return and perform step 601;
Step 606, when testing result indicates CTF to meet described trigger condition again, be specially CTF Intermediate Charging ICH interval duration timer D2 time-out here, now CTF constructs ACR [Interim] message, and to arrange Acct-Interim-Interval AVP be T2.
In embodiments of the present invention, have employed and to combine the method for the Intermediate Charging ICH interval duration that CTF is set according to the second Intermediate Charging ICH interval duration of CDF instruction and the first Intermediate Charging ICH interval duration of CTF this locality configuration, guarantee ensure CTF Intermediate Charging ICH interval duration early than CDF time-out and trigger ACR [Interim] can arrive before the Intermediate Charging ICH interval time-out of CDF, avoid because the timing differences of different network elements, the factors such as network element processing speed and signaling delivery lag and the abnormal closing problem of the session CDR that causes, facilitate application and the management of offline charging business.
The embodiment of the present invention additionally provides a kind of Timing Processing device, and for charging triggering function entity CTF, described device as shown in Figure 7, comprising:
Acquisition module is the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged for obtaining charging data function entity CDF;
Timing Processing module, for starting Intermediate Charging ICH interval duration timer on described CTF, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
Above-mentioned Timing Processing device, wherein, described device also comprises:
Whether detection module, meet the trigger condition triggering charging request message for detecting described CTF;
Sending module, when meeting described trigger condition for indicating described CTF when testing result, sends charging request message to charging data function entity CDF;
Described acquisition module is specially:
Obtain described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
Above-mentioned Timing Processing device, wherein, described charging request message is for starting chargeable session request message or upgrading chargeable session request message;
Described detection module is specially:
Detect described CTF and whether start chargeable session; Or
Before the timing length time-out of described timer, whether the charge information detecting described CTF changes; Or
Whether the timing length detecting described timer is overtime.
Above-mentioned Timing Processing device, wherein, described device also comprises:
Control module, for before not receiving stopping chargeable session request message, control described detection module in running order, and when detection module detects that described CTF meets described trigger condition, control the transmission of described sending module and carry the charging request message of the second Intermediate Charging ICH interval duration to described CDF.
Above-mentioned Timing Processing device, wherein, described Timing Processing module is specially:
Described CTF starts Intermediate Charging ICH interval duration timer, and the difference of the timing length of described second Intermediate Charging ICH interval duration and described timer is not less than time delay value, wherein said time delay value is determined according to the timing differences between described CDF and described CTF, processing speed and signaling delivery lag.
Above-mentioned Timing Processing device, wherein, described Timing Processing module specifically comprises:
Comparison module, for more described second Intermediate Charging ICH interval duration and the size with reference to interval duration;
First arranges module, and for when the described second Intermediate Charging ICH interval duration of comparative result instruction is less than described reference interval duration, the timing length arranging described timer is the half of described second Intermediate Charging ICH interval duration;
Second arranges module, and for when the described second Intermediate Charging ICH interval duration of comparative result instruction is not less than described reference interval duration, the timing length arranging described timer is described second Intermediate Charging ICH interval duration and the described difference with reference to duration half.
Above-mentioned Timing Processing device, wherein, described is the first Intermediate Charging ICH interval duration with reference to interval duration, and wherein said first Intermediate Charging ICH interval duration is that the described CTF carried in described charging request message advises the Intermediate Charging ICH interval duration that described CDF adopts.
The embodiment of the present invention additionally provides a kind of charging triggering function entity CTF, comprises the Timing Processing device described in above-mentioned any one.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (15)
1. a Timing Processing method, for charging triggering function entity CTF, is characterized in that, described method comprises:
Obtaining charging data function entity CDF is the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged;
Described CTF starts Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
2. Timing Processing method as claimed in claim 1, is characterized in that, before acquisition charging data function entity CDF is the second Intermediate Charging ICH interval duration of described CDF and CTF setting, described method also comprises:
Detect described CTF and whether meet the trigger condition triggering charging request message;
When testing result indicates described CTF to meet described trigger condition, send charging request message to charging data function entity CDF;
Described acquisition charging data function entity CDF is that the second Intermediate Charging ICH interval duration that described CTF is arranged is specially:
Obtain described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
3. Timing Processing method as claimed in claim 2, is characterized in that, described charging request message is for starting chargeable session request message or upgrading chargeable session request message;
Whether the described CTF of described detection meets the trigger condition triggering charging request message is specially:
Detect described CTF and whether start chargeable session; Or
Before the timing length time-out of described timer, whether the charge information detecting described CTF changes; Or
Whether the timing length detecting described timer is overtime.
4. Timing Processing method as claimed in claim 2, is characterized in that, described CTF starts Intermediate Charging ICH interval duration timer, and after the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration, described method also comprises:
Before not receiving stopping chargeable session request message, return and perform the step whether described CTF of described detection meets the trigger condition triggering charging request message, and when testing result indicates described CTF to meet described trigger condition, transmission carries the charging request message of the second Intermediate Charging ICH interval duration to described CDF.
5. the Timing Processing method as described in any one of claim 1-4, is characterized in that, described CTF starts Intermediate Charging ICH interval duration timer, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration is specially:
Described CTF starts Intermediate Charging ICH interval duration timer, and the difference of the timing length of described second Intermediate Charging ICH interval duration and described timer is not less than time delay value, wherein said time delay value is determined according to the timing differences between described CDF and described CTF, processing speed and signaling delivery lag.
6. Timing Processing method as claimed in claim 5, it is characterized in that, the described timing length arranging described timer is less than described second Intermediate Charging ICH interval duration and specifically comprises:
More described second Intermediate Charging ICH interval duration and the size with reference to interval duration;
When the described second Intermediate Charging ICH interval duration of comparative result instruction is less than described reference interval duration, the timing length arranging described timer is the half of described second Intermediate Charging ICH interval duration;
Otherwise the timing length arranging described timer is described second Intermediate Charging ICH interval duration and the described difference with reference to duration half.
7. Timing Processing method as claimed in claim 6, it is characterized in that, described is the first Intermediate Charging ICH interval duration with reference to interval duration, and wherein said first Intermediate Charging ICH interval duration is that the described CTF carried in described charging request message advises the Intermediate Charging ICH interval duration that described CDF adopts.
8. a Timing Processing device, for charging triggering function entity CTF, is characterized in that, described device comprises:
Acquisition module is the second Intermediate Charging ICH interval duration that described CDF and CTF is arranged for obtaining charging data function entity CDF;
Timing Processing module, for starting Intermediate Charging ICH interval duration timer on described CTF, and the timing length arranging described timer is less than described second Intermediate Charging ICH interval duration.
9. Timing Processing device as claimed in claim 8, it is characterized in that, described device also comprises:
Whether detection module, meet the trigger condition triggering charging request message for detecting described CTF;
Sending module, when meeting described trigger condition for indicating described CTF when testing result, sends charging request message to charging data function entity CDF;
Described acquisition module is specially:
Obtain described CDF after receiving described charging request message, the charge response message of carrying the second Intermediate Charging ICH interval duration of transmission.
10. Timing Processing device as claimed in claim 9, is characterized in that, described charging request message is for starting chargeable session request message or upgrading chargeable session request message;
Described detection module is specially:
Detect described CTF and whether start chargeable session; Or
Before the timing length time-out of described timer, whether the charge information detecting described CTF changes; Or
Whether the timing length detecting described timer is overtime.
11. Timing Processing devices as claimed in claim 9, it is characterized in that, described device also comprises:
Control module, for before not receiving stopping chargeable session request message, control described detection module in running order, and when detection module detects that described CTF meets described trigger condition, control the transmission of described sending module and carry the charging request message of the second Intermediate Charging ICH interval duration to described CDF.
12. Timing Processing devices as described in any one of claim 8-11, it is characterized in that, described Timing Processing module is specially:
Described CTF starts Intermediate Charging ICH interval duration timer, and the difference of the timing length of described second Intermediate Charging ICH interval duration and described timer is not less than time delay value, wherein said time delay value is determined according to the timing differences between described CDF and described CTF, processing speed and signaling delivery lag.
13. Timing Processing devices as claimed in claim 12, it is characterized in that, described Timing Processing module specifically comprises:
Comparison module, for more described second Intermediate Charging ICH interval duration and the size with reference to interval duration;
First arranges module, and for when the described second Intermediate Charging ICH interval duration of comparative result instruction is less than described reference interval duration, the timing length arranging described timer is the half of described second Intermediate Charging ICH interval duration;
Second arranges module, and for when the described second Intermediate Charging ICH interval duration of comparative result instruction is not less than described reference interval duration, the timing length arranging described timer is described second Intermediate Charging ICH interval duration and the described difference with reference to duration half.
14. Timing Processing devices as claimed in claim 13, it is characterized in that, described is the first Intermediate Charging ICH interval duration with reference to interval duration, and wherein said first Intermediate Charging ICH interval duration is that the described CTF carried in described charging request message advises the Intermediate Charging ICH interval duration that described CDF adopts.
15. 1 kinds of charging triggering function entity CTF, is characterized in that, comprise the Timing Processing device described in any one of claim 8-14.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310311142.5A CN104348632A (en) | 2013-07-23 | 2013-07-23 | Timing processing method and device, and charging trigger functional entity |
PCT/CN2014/077509 WO2014166450A1 (en) | 2013-07-23 | 2014-05-14 | Timing processing method, device and charging trigger function entity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310311142.5A CN104348632A (en) | 2013-07-23 | 2013-07-23 | Timing processing method and device, and charging trigger functional entity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104348632A true CN104348632A (en) | 2015-02-11 |
Family
ID=51688962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310311142.5A Pending CN104348632A (en) | 2013-07-23 | 2013-07-23 | Timing processing method and device, and charging trigger functional entity |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104348632A (en) |
WO (1) | WO2014166450A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105591762A (en) * | 2015-07-29 | 2016-05-18 | 杭州华三通信技术有限公司 | User charging method and device |
WO2017101443A1 (en) * | 2015-12-16 | 2017-06-22 | 中兴通讯股份有限公司 | Method and device for charging processing and charging system |
CN109155737A (en) * | 2016-05-19 | 2019-01-04 | 诺基亚美国公司 | Destination for off-line accounting system selects to avoid reverse |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468135B (en) * | 2014-11-18 | 2018-01-23 | 华为技术有限公司 | The method and device of interactive information in a kind of online charging |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983940A (en) * | 2006-06-09 | 2007-06-20 | 华为技术有限公司 | System and method combined on-line charge with off-line charge |
CN101094081A (en) * | 2006-06-21 | 2007-12-26 | 华为技术有限公司 | Off line charging system, method and device in wireless local area network |
US20090063315A1 (en) * | 2007-09-05 | 2009-03-05 | Yigang Cai | Charging for long duration sessions in communication networks |
CN101754114A (en) * | 2008-12-12 | 2010-06-23 | 中兴通讯股份有限公司 | Method for realizing state consistency of multimedia message and system thereof |
EP2367319A1 (en) * | 2010-03-17 | 2011-09-21 | Alcatel Lucent | Improved method and devices for charging |
CN103096285A (en) * | 2011-11-01 | 2013-05-08 | 中兴通讯股份有限公司 | Method for segmenting call bill and system for the same |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225862C (en) * | 2002-08-09 | 2005-11-02 | 华为技术有限公司 | Method for realizing charge informing of network terminal based on initial conversation protocol |
-
2013
- 2013-07-23 CN CN201310311142.5A patent/CN104348632A/en active Pending
-
2014
- 2014-05-14 WO PCT/CN2014/077509 patent/WO2014166450A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983940A (en) * | 2006-06-09 | 2007-06-20 | 华为技术有限公司 | System and method combined on-line charge with off-line charge |
CN101094081A (en) * | 2006-06-21 | 2007-12-26 | 华为技术有限公司 | Off line charging system, method and device in wireless local area network |
US20090063315A1 (en) * | 2007-09-05 | 2009-03-05 | Yigang Cai | Charging for long duration sessions in communication networks |
CN101754114A (en) * | 2008-12-12 | 2010-06-23 | 中兴通讯股份有限公司 | Method for realizing state consistency of multimedia message and system thereof |
EP2367319A1 (en) * | 2010-03-17 | 2011-09-21 | Alcatel Lucent | Improved method and devices for charging |
CN103096285A (en) * | 2011-11-01 | 2013-05-08 | 中兴通讯股份有限公司 | Method for segmenting call bill and system for the same |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105591762A (en) * | 2015-07-29 | 2016-05-18 | 杭州华三通信技术有限公司 | User charging method and device |
CN105591762B (en) * | 2015-07-29 | 2019-01-08 | 新华三技术有限公司 | The method and apparatus of user's charging |
WO2017101443A1 (en) * | 2015-12-16 | 2017-06-22 | 中兴通讯股份有限公司 | Method and device for charging processing and charging system |
CN109155737A (en) * | 2016-05-19 | 2019-01-04 | 诺基亚美国公司 | Destination for off-line accounting system selects to avoid reverse |
Also Published As
Publication number | Publication date |
---|---|
WO2014166450A1 (en) | 2014-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8483135B2 (en) | Online charging for sessions that are transferred between network domains | |
US8737953B2 (en) | Fault-resilient method of generating complete correlated IMS charging data records | |
US9083714B2 (en) | Method and apparatus for an IMS restoration procedure | |
CN102217227A (en) | Methods, apparatuses, system and related computer program product for charging of always-on connections | |
US20120005356A1 (en) | Optimized interface between two network elements operating under an authentication, authorization and accounting protocol | |
CN101183958A (en) | Charging control method, charging center and related equipment | |
US20150244874A1 (en) | Method and Apparatus for Managing Charging in Communication Networks | |
EP2878097A1 (en) | Terminate a charging session for an always on ip connectivity session | |
CN104170344A (en) | Handling of authorization requests for a packet-based service in a mobile network | |
EP2621201B1 (en) | Method and system for supporting multiple time zones in an ims system | |
CN104348632A (en) | Timing processing method and device, and charging trigger functional entity | |
EP3024210B1 (en) | Method and apparatus for providing service in user equipment of mobile communication system | |
CN103856968B (en) | PCC rule obtaining method and device after Gx interfaces break down | |
CN106936603B (en) | Data service charging method, device and system | |
CN103179540B (en) | The processing method of abnormal conditions and system under a kind of IMS offline charging pattern | |
CN105634752B (en) | Method, TNE, FCS, BD and system for realizing charging | |
KR20180088894A (en) | Location Processing in VoLTE Networks | |
CN101610492A (en) | Method, gateway and V-PCRF entity that session is handled | |
EP2775662B1 (en) | Method and system for processing application server abnormalities | |
CN109314668A (en) | Network-based policy control for accessing simultaneously | |
CN100484009C (en) | Internet off-line charging system and method, Internet on-line charging system and method | |
WO2013110341A1 (en) | Session termination in a mobile packet core network | |
CN112383405B (en) | Data service charging method, device and system | |
CN102421106B (en) | A kind of by quantity monitoring method and system | |
CN104584599B (en) | The management and control of charge based on application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150211 |
|
WD01 | Invention patent application deemed withdrawn after publication |