CN101022348B - Method, system and equipment for realizing on-line billing - Google Patents

Method, system and equipment for realizing on-line billing Download PDF

Info

Publication number
CN101022348B
CN101022348B CN2007100004572A CN200710000457A CN101022348B CN 101022348 B CN101022348 B CN 101022348B CN 2007100004572 A CN2007100004572 A CN 2007100004572A CN 200710000457 A CN200710000457 A CN 200710000457A CN 101022348 B CN101022348 B CN 101022348B
Authority
CN
China
Prior art keywords
ticket
charging
module
online charging
charging system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2007100004572A
Other languages
Chinese (zh)
Other versions
CN101022348A (en
Inventor
徐志贤
张绍雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007100004572A priority Critical patent/CN101022348B/en
Publication of CN101022348A publication Critical patent/CN101022348A/en
Application granted granted Critical
Publication of CN101022348B publication Critical patent/CN101022348B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for realizing on-line charging includes converting charge key elements in charge message to be toll ticket and storing it when fault of on-line charging unit is detected out, obtaining said toll ticket when on-line charging unit is restored, converting said toll ticket to be charging message and using on-line charging function module in on-line charging unit to make charging treatment on said charging message.

Description

Realize method, system and the equipment of online charging
Technical field
The present invention relates to the billing technology field, be meant a kind of method, system and equipment of realizing online charging especially.
Background technology
At present communication field, charging can be divided into online charging and two systems of offline charging, and referring to Fig. 1, it is the charge system configuration diagram.Network element 120 is undertaken alternately by message and Online Charging System (OCS) 110, is undertaken alternately by CDR file and off-line accounting system 130, and visible online charging is finished real time billing by message; Offline charging is then realized chargeing by CDR file is handled.No matter off-line accounting system or Online Charging System all can send the bill that finally generates to account system 140, in order to subsequent treatment, application.
Below this paper, interactive messages between network element 120 and Online Charging System (OCS) 110 is called charging message, this charging message can adopt various protocols, as Diameter and parlay etc.Comprise the required key element of chargeing in above-mentioned charging message and the ticket, as calling number, called number, call start time, the duration of call, exchange plane No., base station/cell id, flow, service provider (SP) coding, content identification (ID) etc.
Said network element 120 can be from being divided into two classes in logic according to function: a class is a charging gateway class network element, as the Charging Gateway Functionality (IMS-CGF) of Service Control Point, content charging gateway (CCG, CCG front end in the PS territory connects SGSN, GGSN), IP Multimedia System, Integrated Service Management Platform (ISMP) etc.; Another kind of is basic network equipment class network element, as mobile interaction center (MSC), GPRS Support Node gateway (GGSN), GPRS service support node (SGSN), service call conversation control function (S-CSCF) entity etc.
In the Online Charging System, realize that the main process of chargeing is: finish reception, the format of charging message; User, the account data of mating this charging message; The rate (price definition just, taking substantially as the logical local telephone network of mobile global is 0.40 yuan/minute) that mate this charging message; According to the charging key element in the charging message deduct fees, operation such as reservation and/or inverse.
Referring to Fig. 2, it is the general function structural representation of existing Online Charging System based on speech business.Network element 120 and Online Charging System 110 that basic network equipment class network element 121 and charging gateway class network element 122 are constituted are undertaken by message alternately.Wherein, basic network equipment class network element 121 comprises network element (CS-NE), business network element (Service-NE), GGSN, SGSN, wireless lan (wlan) of circuit domain etc., and charging gateway class network element 122 comprises SCP, CCG, IMS-CGF, ISMP etc.
The charging message that online charging function (OCF) module 111 in the Online Charging System 110 is used to receive from charging gateway class network element, the affairs of chargeing control, carry out alternately with account management of balance functional module (ABMF) 112, charging webmaster functional module (CGF) 113, wholesale price functional module (RF) 114, finish deduct fees, function such as reservation, inverse.Wherein, comprise conversation-based billing function (SBCF) 111a in the OCF module 111 again and based on billing function (EBCF) the module 111b of incident, to finish the charging control of dialogue-based/incident respectively.
Owing to have only message interface between charging gateway class network element and the OCS, as DCC, Parlay interface based on ICP/IP protocol, the situations such as machine, process exception termination of delaying as system if the OCS system breaks down, to cause the OCS system can't receive charging message, perhaps, even OCS receives charging message, but, also can cause the inner actual charging message that can't handle charging gateway class reported by network elements of OCS because inner ABMF, CGF or RF break down and stop as process.In this case, interrupt maybe can't making a call for fear of user's communication, directly produce bill on basic network equipment class network element usually in the prior art, this basic network equipment class network element continues replay call afterwards, to guarantee that customer service is not interrupted.
And be not provided in this case in the prior art, how Online Charging System is handled the bill that basic network equipment class network element is produced, and as seen, the bill that basic network equipment class network element is produced does not produce substantial effect.And, have only fault recovery by the time after, Online Charging System just can be proceeded normal billing.Though prior art has guaranteed the unimpeded of customer service, be cost with operation loss, the reliability of Online Charging System is low.
Summary of the invention
The embodiment of the invention provides method, system and the equipment of realizing online charging, to improve the reliability of Online Charging System, ensures the interests of operation.
Embodiment of the invention technical scheme comprises:
A kind of system of chargeing of realizing comprises charging gateway class network element and Online Charging System, also comprises first ticket storing module; Also comprise the first ticket conversion module in the charging gateway class network element, also comprise the ticket processing module and second ticket storing module in the Online Charging System, also comprise the second ticket conversion module in the online charging function OCF module of described Online Charging System;
The first ticket conversion module in the described charging gateway class network element when being used to detect the Online Charging System fault, being converted to ticket with the charging key element in the charging message to be sent and being kept in described first ticket storing module;
Described first ticket storing module is used to preserve described ticket;
Ticket processing module in the described Online Charging System is used for described Online Charging System and recovers just often, obtains described ticket, is charging message with described ticket conversion, sends described charging message to OCF in the Online Charging System processing of chargeing;
The second ticket conversion module among the OCF of described Online Charging System, when being used for the subsequent treatment module failure in the Online Charging System, the charging key element in the charging message that OCF is received is converted to ticket, and is kept at second ticket storing module;
Second ticket storing module in the described Online Charging System is used to store the described ticket that obtains from described first ticket storing module from the ticket processing module, and be used to store from OCF by the converted ticket of charging key element in the charging message.
The embodiment of the invention has adopted between age at failure and to have generated ticket and be saved in the mode of handling these tickets after memory, the fault recovery again, has improved the reliability of Online Charging System effectively, has guaranteed benefits of operators on the basis that does not influence customer service.
Description of drawings
Fig. 1 is the charge system configuration diagram;
Fig. 2 is the general function structural representation of existing Online Charging System based on speech business;
Fig. 3 is the method flow schematic diagram according to the embodiment of the invention;
Fig. 4 is the system configuration schematic diagram that charges according to the realization of the embodiment of the invention;
Fig. 5 is a kind of online charging function (OCF) modular structure schematic diagram according to the embodiment of the invention.
Embodiment
Below in conjunction with drawings and the specific embodiments the present invention is elaborated again.
Fig. 3 is the method flow schematic diagram according to the embodiment of the invention.
Step 301 when detecting the Online Charging System fault, is converted to ticket and preservation with the charging key element in the charging message; Above-mentioned charging key element comprises: calling number, called number, call start time, the duration of call, exchange plane No., base station/cell id, flow, SP coding, content ID etc., charge system can match rate (being the ticket price) according to the analysis of these key elements.
Step 302, Online Charging System are recovered to obtain described ticket after normal, are charging message with described ticket conversion, by online charging function (OCF) module in the Online Charging System to the processing of chargeing of described charging message.
If the Online Charging System fault is detected by charging gateway class network element in the step 301, then carry out the operation that the charging key element is converted to ticket and preserves by charging gateway class network element.
At this moment, the process of detection can be: charging gateway class network element sends charging message to Online Charging System, when not receiving normal response in Preset Time, determines to detect described Online Charging System fault.As long as charging gateway class network element can detect the Online Charging System fault, this paper is not limited concrete detection method in the practical application.
At this moment, but the ticket after charging gateway class network element will be changed is kept in first ticket storing module such as hard disk of persistence, this first ticket storing module is positioned at outside the described Online Charging System, can also can be independent of charging gateway class network element and exist within charging gateway class network element.
At this moment, the process of obtaining described ticket after Online Charging System recovers normally can comprise:
Charging gateway class network element reads ticket after confirming that Online Charging System recovers normally in first ticket storing module, be charging message with this ticket conversion, and send to described Online Charging System in the mode of charging message; Perhaps, Online Charging System initiatively reads ticket from first ticket storing module after confirming that self-recovery is normal.Charging gateway class network element confirms whether Online Charging System recovers normally, and whether the Online Charging System affirmation self recover normal process and be prior art, is not emphasis of the present invention place, repeats no more herein.
If the Online Charging System fault is detected by Online Charging System self in the step 301, then carry out the operation that the charging key element is converted to ticket and preserves by Online Charging System.
At this moment, the process that detects can be: after Online Charging System receives charging message, detect the subsequent treatment module failure of self, as OCF receive detect ABMF, CGF behind the charging message or RF occurs as process withdraws from, process because of inner endless loop can't response external message etc. fault, then affirmation detects the Online Charging System fault.The subsequent treatment module of above-mentioned Online Charging System self comprises: ABMF, CGF or RF, or above three kinds combination in any.
At this moment, but the ticket after Online Charging System will be changed be kept in second ticket storing module of persistence, this second ticket storing module is positioned within the Online Charging System.
At this moment, the process of obtaining described ticket after Online Charging System recovers normally can comprise: Online Charging System initiatively reads ticket from second ticket storing module.
Referring to Fig. 4, it is the system configuration schematic diagram that charges according to the realization of the embodiment of the invention.This system comprises network element 120 and Online Charging System 110, wherein, comprise basic network equipment class network element 121 in the network element 120, as CS-NE, Service-NE, GGSN, SGSN, WLAN etc., and charging gateway class network element 122, as SCP, CCG, IMS-CGF, ISMP etc.This system also comprises first ticket storing module 150, is positioned at the first ticket conversion module 122a of charging gateway class network element, is positioned at the ticket processing module 115 of Online Charging System.
When the first ticket conversion module 112a in the charging gateway class network element 122 are used to detect Online Charging System 110 faults, the charging key element in the charging message to be sent is converted to ticket and is kept in described first ticket storing module 150; This charging key element comprises calling number, called number, call start time, the duration of call, exchange plane No., base station/cell id, flow, SP coding, content ID etc., charge system can match rate (being the ticket price) according to the analysis of these key elements.
Ticket processing modules 115 in the Online Charging System 110 are used for Online Charging System 110 to be recovered just often, obtains described ticket, is charging message with ticket conversion, sends this charging message to OCF111 in the Online Charging System processing of chargeing;
First ticket storing module 150 is used to preserve described ticket, and this first ticket storing module 150 is positioned at outside the Online Charging System 110, can also can be independent of charging gateway class network element and exist within charging gateway class network element.
Detecting the Online Charging System fault by charging gateway class network element, when execution is converted to the operation of ticket and preservation with the charging key element, can also comprise ticket delivery module 122b in the charging gateway class network element 122, be used to confirm that described Online Charging System recovers just often, in first ticket storing module 150, read ticket, send the ticket processing module 115 in the Online Charging System 110 to.
Detecting faults itself by Online Charging System, when execution is converted to the operation of ticket and preservation with the charging key element, can also comprise second ticket storing module 116 in the Online Charging System 110, be used to store from OCF by the converted ticket of charging key element in the charging message; In addition, this second ticket storing module 116 can also be used to store the described ticket that obtains from first ticket storing module from ticket processing module 115.
Angle from ticket processing module 115, it can regularly or according to pre-conditioned triggering finish following operation: obtain ticket from first ticket storing module 150, be stored in second ticket storing module 116 then or be charging message, send this charging message to OCF111 in the Online Charging System processing of chargeing ticket conversion.After obtaining ticket as for ticket processing module 115 from first ticket storing module 150, which processing of follow-up execution, be determined on a case-by-case basis, such as: if current Online Charging System also is in malfunction, after then ticket processing module 115 is obtained ticket from first ticket storing module 150, this ticket is stored in second ticket storing module 116 probably; If it is normal that current Online Charging System has recovered, after then ticket processing module 115 is obtained ticket from first ticket storing module 150, be charging message with ticket conversion probably, send this charging message to OCF111 in the Online Charging System processing of chargeing.Charging gateway class network element confirms whether Online Charging System recovers normally, and whether the Online Charging System affirmation self recover normally all not prior art, is not emphasis of the present invention place, repeats no more.
In addition, can also comprise ticket conversion module 111c in the OCF module of Online Charging System, when being used for this OCF place Online Charging System fault, the charging key element that receives in the charging message being converted to ticket, and sending this ticket to second ticket storing module 116.
To sum up, system for realization online charging shown in Figure 4, both can support to detect the Online Charging System fault by charging gateway class network element, the operation that execution is converted to the charging key element ticket and preserves, also can support to detect faults itself by Online Charging System, execution can also be supported above-mentioned two kinds of feature operations simultaneously with the operation that the charging key element is converted to ticket and preserves.
Above-mentioned ticket processing module 115 can be positioned at OCF, and it is outer but be positioned at Online Charging System 110 also can be positioned at OCF.
The embodiment of the invention also discloses a kind of Online Charging System, Online Charging System 110 parts referring to Fig. 4, increased ticket processing module 115 with respect to the conventional online charge system, being used for Online Charging System recovers just often, obtain ticket, with ticket conversion is charging message, sends described charging message to OCF in the Online Charging System processing of chargeing.
Above-mentioned Online Charging System can also comprise that second ticket storing module 116 is used for memory ticket; Can also comprise the second ticket conversion module 111c among the OCF, when being used for the subsequent treatment module failure in the Online Charging System, the charging key element in the charging message that OCF is received is converted to ticket, and is kept at second ticket storing module 116.Subsequent treatment module in the described Online Charging System comprises: ABMF, CGF or RF, or above three kinds combination in any.
According to actual needs, ticket processing module 115 can be positioned at OCF, also can be positioned at the outer Online Charging System 110 that still is positioned at of OCF.
The embodiment of the invention also discloses a kind of online charging function (OCF) module,, comprising referring to Fig. 5: ticket processing module 115, be used for this OCF place Online Charging System and recover just often, obtain ticket, be charging message with this ticket conversion.
Can also comprise in the above-mentioned OCF module: the second ticket conversion module 111c when being used for this OCF place Online Charging System fault, is converted to ticket with the charging key element in the reception charging message, and described ticket is transmitted second ticket storing module is used for storage.
The embodiment of the invention also discloses a kind of charging gateway class network element, charging gateway class network element 122 parts referring to Fig. 4 comprise:
The first ticket conversion module 112a when being used to detect the Online Charging System fault, being converted to ticket with the charging key element in the charging message to be sent and being kept in first ticket storing module 150.
Above-mentioned charging gateway class network element can also comprise: ticket delivery module 122b, be used to confirm that Online Charging System recovers just often, and in first ticket storing module 150, read ticket, send the ticket processing module 115 in the Online Charging System 110 to.
Illustrate that some network element of charging gateway class mentioned in this article both can be self-existent, also can be used as logic function module of basic network equipment class network element and independent the existence.
The embodiment of the invention has adopted between age at failure and to have generated ticket and be saved in the mode of handling these tickets after memory, the fault recovery again, improve the reliability of Online Charging System effectively, guaranteed benefits of operators guaranteeing not influence on the basis of user experience.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (2)

1. a system that realizes chargeing comprises charging gateway class network element and Online Charging System, it is characterized in that, also comprises first ticket storing module; Also comprise the first ticket conversion module in the charging gateway class network element, also comprise the ticket processing module and second ticket storing module in the Online Charging System, also comprise the second ticket conversion module in the online charging function OCF module of described Online Charging System;
The first ticket conversion module in the described charging gateway class network element when being used to detect the Online Charging System fault, being converted to ticket with the charging key element in the charging message to be sent and being kept in described first ticket storing module;
Described first ticket storing module is used to preserve described ticket;
Ticket processing module in the described Online Charging System, being used for described Online Charging System recovers just often, obtaining described ticket, is charging message with described ticket conversion, sends described charging message the processing of chargeing of to online charging function OCF module in the Online Charging System;
The second ticket conversion module in the online charging function OCF module of described Online Charging System, when being used for the Online Charging System fault, charging key element in the charging message that online charging function OCF module is received is converted to ticket, and is kept at second ticket storing module;
Second ticket storing module in the described Online Charging System, be used to store the described ticket that obtains from described first ticket storing module from the ticket processing module, and be used to store from online charging function OCF module by the converted ticket of charging key element in the charging message.
2. system according to claim 1, it is characterized in that, also comprise the ticket delivery module in the described charging gateway class network element, be used to confirm that described Online Charging System recovers just often, in described first ticket storing module, read described ticket, send described Online Charging System to.
CN2007100004572A 2007-02-07 2007-02-07 Method, system and equipment for realizing on-line billing Expired - Fee Related CN101022348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100004572A CN101022348B (en) 2007-02-07 2007-02-07 Method, system and equipment for realizing on-line billing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100004572A CN101022348B (en) 2007-02-07 2007-02-07 Method, system and equipment for realizing on-line billing

Publications (2)

Publication Number Publication Date
CN101022348A CN101022348A (en) 2007-08-22
CN101022348B true CN101022348B (en) 2010-09-22

Family

ID=38710009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100004572A Expired - Fee Related CN101022348B (en) 2007-02-07 2007-02-07 Method, system and equipment for realizing on-line billing

Country Status (1)

Country Link
CN (1) CN101022348B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183953B (en) * 2007-12-13 2010-11-03 中国移动通信集团广东有限公司 Added charging method for online charging system
CN101340635A (en) * 2008-08-14 2009-01-07 中兴通讯股份有限公司 Method for processing exception of on-line billing system
CN101431580B (en) * 2008-10-24 2011-08-17 中国移动通信集团山东有限公司 Voice service charging method and apparatus thereof
CN101808175B (en) * 2009-02-13 2012-04-25 华为技术有限公司 Ticket converting method and device
CN101635908B (en) * 2009-06-15 2012-05-23 中兴通讯股份有限公司 Ticket transmission processing method and system of billing system
CN101860838B (en) * 2010-06-28 2015-01-28 中兴通讯股份有限公司 Method and system for charging prepayment
CN102394759A (en) * 2011-06-29 2012-03-28 华为数字技术有限公司 Charging method and device
CN102291242A (en) * 2011-08-25 2011-12-21 深圳市同洲视讯传媒有限公司 Charging method and device
CN102647697B (en) * 2012-03-30 2015-07-08 华为技术有限公司 Charging control method and device
US8977233B2 (en) * 2012-07-05 2015-03-10 Alcatel Lucent Identification of timestamps for a partial CDR when failover occurs in an offline charging system
CN104717627A (en) * 2013-12-13 2015-06-17 中国移动通信集团公司 Billing ticket establishing method, data service billing method and related device
CN105634752B (en) * 2014-11-07 2021-01-26 中兴通讯股份有限公司 Method, TNE, FCS, BD and system for realizing charging
CN106330525A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Data transmission method and system
CN106454788A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Method, system and device for realizing online charging
CN106680663B (en) * 2016-11-18 2020-05-08 云南电网有限责任公司电力科学研究院 Multi-branch distribution network transformer online detection method and system
CN110300235B (en) * 2018-03-23 2021-01-15 华为技术有限公司 Communication service charging method and device
CN112243204B (en) * 2019-07-19 2022-04-26 华为技术有限公司 Method, system and related equipment for processing charging

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620017A (en) * 2003-11-18 2005-05-25 华为技术有限公司 Charging buffer storage system of broad band network cut-in service device and its method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620017A (en) * 2003-11-18 2005-05-25 华为技术有限公司 Charging buffer storage system of broad band network cut-in service device and its method

Also Published As

Publication number Publication date
CN101022348A (en) 2007-08-22

Similar Documents

Publication Publication Date Title
CN101022348B (en) Method, system and equipment for realizing on-line billing
EP2297986B1 (en) Synchronizing real-time and off-line accounts for communications
CN100539750C (en) Process user is chargeed in telecommunication system
US7764947B2 (en) Online charging management server
EP2083532B1 (en) Convergent mediation system with improved data transfer
CN106465084A (en) Charging method, network device, and charging system
CN102132550A (en) Charging for short message delivery
CN101123787B (en) An alarming processing system for high call fee, its implementation method and communication network
CN101860838B (en) Method and system for charging prepayment
CN101902721A (en) Time-based strategy control implementing method and device thereof
CN104735635A (en) Strategy control method and device
CN102215470A (en) Pay per call processing method and system of communication equipment
CN101262647A (en) Processing method, system and device for billing service
CN101267321A (en) Billing method, system and message recognition conversion function device
CN101800965A (en) Charging method, apparatus and system
CN1848897B (en) Method for avoiding metering error of prepayment service
CN101771984A (en) Method, device and system for charging data service in real time
CN101179774A (en) Prepaid content accounting system and method
CN1681283B (en) Charging method of mobile intelligent net
CN1867020B (en) System and method for realizing intelligent service charging
KR20070005117A (en) Method and system for providing mobile profit returning service by using mobile fund to consist of storing discount fare in mobile communication fare
CN101888615A (en) Charging method and device for communication system
CN101594604B (en) Subscriber charging configuration in telecommunication system
CN100388711C (en) System and method for realizing pre-payment user virtual special network service
KR0136506B1 (en) Billing data generation / recording method for information fee storage agency service in large-scale electronic exchange

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100922

Termination date: 20160207