CN102142968A - Charging method, device and system - Google Patents

Charging method, device and system Download PDF

Info

Publication number
CN102142968A
CN102142968A CN2010106014832A CN201010601483A CN102142968A CN 102142968 A CN102142968 A CN 102142968A CN 2010106014832 A CN2010106014832 A CN 2010106014832A CN 201010601483 A CN201010601483 A CN 201010601483A CN 102142968 A CN102142968 A CN 102142968A
Authority
CN
China
Prior art keywords
ocs
business
charge
information
business information
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.)
Granted
Application number
CN2010106014832A
Other languages
Chinese (zh)
Other versions
CN102142968B (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 CN 201010601483 priority Critical patent/CN102142968B/en
Publication of CN102142968A publication Critical patent/CN102142968A/en
Application granted granted Critical
Publication of CN102142968B publication Critical patent/CN102142968B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a charging method, device and system, belonging to the field of communication. The method comprises the steps of: receiving a call request, and obtaining charging service information signed by a calling user according to a calling number carried by the call request; sending the call request to a service application server (service AS) corresponding to the charging service information, and when receiving confirmation information replied by the service AS, and sending a charging request to an online charging system (OCS) for requesting the OCS to charge. The system comprises a general AS and the OCS. The general AS comprises an obtaining module and a sending module. According to the invention, resource consumption and equipment input of the OCS can be reduced, and operation cost is lowered.

Description

A kind of method of charging, equipment and system
Technical field
The present invention relates to the communications field, particularly a kind of method of charging, equipment and system.
Background technology
IMS (IP Multimedia Subsystem, IP (Internet Protocol, the agreement that interconnects between the network) IP multimedia subsystem, IMS) system can provide charging way flexibly for the service provider, helps service provider and network owner to keep the market advantage, enriches profit model.Wherein, as shown in Figure 1, the charging way that the IMS system provides, specific as follows:
Step S1: the calling subscriber sends call request to CSCF (Call Session Control Function, CSCF), carries calling number and called number in this call request;
Step S2:CSCF obtains the business that the user contracts according to calling number, sends call request to each the professional corresponding AS (Application Server, application server) that obtains;
Wherein, user's Network of contracting, can also serve as signatory other the logic business in basis with this Network, these logic business all are superimposed upon on this Network, so the business that CSCF obtains comprises the Network that the user contracts at least, can also comprise the logic business that is superimposed upon on this Network.
Step S3: for any one application server AS, this application server AS receives this call request, can judgement provide service for this calling subscriber, if can, then to OCS (Online ChargingSystem, Online Charging System) send the request of charging, this charging request is carried calling number and is stored in the ID of the business of self (Identity, sign);
Step S4:OCS receives the charging request that each application server AS sends, the calling number and the professional ID that carry according to each request of chargeing, by the policy selection business that sets in advance, setting is set aside some time, send response message to the professional corresponding AS that selects, this response message is carried and is set aside some time;
Step S5: this AS receives response message, calling subscriber and called subscriber's conversation is monitored and timing, and sent charge information to OCS;
Step S6:OCS receives this charge information, deducts fees according to this charge information.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
If the calling subscriber is also signatory logic business on the basis of Network, be that a plurality of business are mutually nested, then CSCF can get access to a plurality of business that the user contracts and call request need be sent to each signatory professional corresponding application server AS, after each application server AS is made judgement, send the request of charging again to OCS, OCS receives the charging request of each application server AS, and select professional according to calling number and the professional ID that each request of chargeing is carried, so increase the equipment input of resource consumption and OCS, increase operation cost to the service provider.
Summary of the invention
In order to reduce the equipment input of resource consumption and OCS, cut operating costs, the invention provides a kind of method, equipment and system of charging.Described technical scheme is as follows:
A kind of method of charging, described method comprises:
Receive call request,, obtain the business information that is used to charge that the calling subscriber contracts according to the calling number that described call request is carried;
Send described call request to the described business information corresponding service application server A S (professional AS) that is used to charge,, send the request of charging, ask described OCS to charge to OCS when receiving the affirmation information that described professional AS replys.
A kind of general application server AS (general AS), described general AS comprises:
Acquisition module is used to receive call request, according to the calling number that described call request is carried, obtains the business information that is used to charge that the calling subscriber contracts;
Sending module is used to send described call request to the described business information corresponding service AS that is used to charge, and when receiving the affirmation information that described professional AS replys, sends the request of charging to OCS, asks described OCS to charge.
A kind of system of charging, described system comprises general AS and OCS:
Described general AS receives call request, according to the calling number that described call request is carried, obtains the business information that is used to charge that the calling subscriber contracts; Send described call request to the described business information corresponding service AS that is used to charge,, send charge information, ask described OCS to charge to described OCS when receiving the affirmation information that described professional AS replys.
Obtain the business information that the calling subscriber contracts by general AS, and from the business information of obtaining, select the business information be used to charge, when receiving the affirmation information that the business information corresponding service AS that selects returns, send charge information to OCS request charge.Wherein, obtain and select a business information that is used to charge by general AS, call request is transmitted to the business information corresponding service AS of selection, and send charge information to OCS, so, only call request need be sent to a professional AS, and have only a professional AS to make decision operation, and only send a charge information, avoided sending a plurality of call request and all made decision operation and send a plurality of charge informations to a plurality of service application family server A S, a plurality of professional AS; Also avoided OCS to select business, shared the work of OCS, thereby reduced the equipment input of performance consumption and OCS, and saved operation cost to the service provider according to the ID and the calling number of the business of carrying in each charge information.
Description of drawings
Fig. 1 is the method flow diagram of a kind of charging of providing of prior art;
Fig. 2 is the method flow diagram of a kind of charging of providing of the embodiment of the invention 1;
Fig. 3 is the network architecture that the embodiment of the invention is used;
Fig. 4 is the method flow diagram of a kind of charging of providing of the embodiment of the invention 2;
Fig. 5 is the method flow diagram of a kind of charging of providing of the embodiment of the invention 3;
Fig. 6 is the method flow diagram of a kind of charging of providing of the embodiment of the invention 4;
Fig. 7 is the method flow diagram of a kind of charging of providing of the embodiment of the invention 5;
Fig. 8 is a kind of general AS schematic diagram that the embodiment of the invention 6 provides;
Fig. 9 is the schematic diagram of a kind of charge system of providing of the embodiment of the invention 7.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
As shown in Figure 2, the embodiment of the invention provides a kind of method of online charging, comprising:
Step 101: receive call request,, obtain the business information that is used to charge that the calling subscriber contracts according to the calling number that this call request is carried;
Step 102: send call request to the business information corresponding service AS that is used to charge, when receiving the affirmation information that service application service device AS (professional AS) replys, send the request of charging to OCS, request OCS charges;
In embodiments of the present invention, general application server (general AS) is obtained the business information that the calling subscriber contracts and select the business information that is used to charge from the business information of obtaining, and sends the request of charging to OCS, and request OCS charges.Wherein, obtain and select the business information of a business by general AS, call request is transmitted to the AS of this business correspondence, and send the request of charging to OCS, so, only call request need be sent to an AS, and have only an AS to make decision operation, and only send a request of chargeing, also avoided OCS to select professional according to the ID and the calling number of the business of carrying in each request of chargeing, shared the work of OCS, thereby reduced the equipment investment of performance consumption and OCS, and saved operation cost to the service provider.
Embodiment 2
The embodiment of the invention provides a kind of method of charging.Present embodiment is applied to the network architecture as shown in Figure 3, and a general AS is set in the IMS system in advance, triggers OCS by general AS and charges, and as shown in Figure 4, this method comprises:
Step 201: the calling subscriber sends call request to CSCF, and wherein, this call request is carried calling number and called number;
Wherein, calling number is used to identify the calling subscriber, and called number is used to identify the called subscriber.The calling subscriber sends call request, and this call request is used for request and converses with the called subscriber.
Step 202:CSCF receives this call request, and this call request is transmitted to general AS;
Wherein, the service provider is provided with general AS in advance in the IMS system, general AS is responsible for the call meters of each user in the zone, the service provider is provided with one or more CSCF in this zone, calling subscriber in this zone, send call request to one of them CSCF, this CSCF sends to general AS with this call request again.
Step 203: general AS receives this call request, the calling number of carrying according to this call request, from HSS (Home Subscriber Server, the home network client server) obtains the signatory in advance business information of calling subscriber in, wherein, business information comprises professional ID, professional AS address and OCS address at least;
Wherein, service provider's define grid business be the one or more logic business of basis definition with the Network, and logic business is superimposed upon on the Network.Prior and the signatory Network of service provider of calling subscriber, can also serve as the basis and signatory other the logic business of service provider with this Network in addition, the service provider be stored in each professional business information that calling subscriber's calling number and calling subscriber contracts among the HSS then.
Wherein, HSS can store calling subscriber's calling number and the business information that the calling subscriber contracts by the corresponding relation of calling number and business information.Correspondingly,
According to the calling number that call request is carried, the operation of obtaining corresponding service information from HSS is specially: the calling number of carrying according to call request, from the corresponding relation of the calling subscriber of HSS storage and business information, search corresponding service information.
Wherein, in the IMS system, have online charging way and offline charging mode, every kind of mode all is responsible for charging by the OCS of correspondence.The calling subscriber is this service log-on charging way also to signatory certain business of service provider in advance, the service provider need obtain the address of OCS of the charging way of the address of professional AS of the ID of the business that the calling subscriber contracts and this business of storage and responsible calling subscriber registration, the address of the ID of the business that the calling subscriber is contracted, the professional AS that obtains and the address of OCS are as business information, and calling number and the business information with this calling subscriber is stored among the HSS again.
For example, PPS (Pre-Paid Servie, prepayment service) business is a kind of Network, and VPN (Viirtual Private Network, Virtual Private Network) business is the logic business that is superimposed upon on the PPS business.Calling subscriber A and calling subscriber C in advance respectively with the signatory PPS business of service provider, and serve as basis and service provider's vpn service of having contracted with the PPS business, and the two all is that the charging way of two service log-ons is the online charging mode, wherein, the calling number of calling subscriber A is NumberA, the calling number of calling subscriber C is NumberC, the ID of PPS business is IDpps, the professional AS of storage PPS business is PPSAS, and the address of PPS AS is IPpps, and the ID of vpn service is IDvpn, the professional AS of storage vpn service is VPN AS, and the address of VPN AS is IPvpn, and in the IMS system, the address of being responsible for the OCS of online charging is IPocs.The service provider is with the IDpps of PPS business, the address ip pps of PPS AS and the address ip ocs of OCS are as the business information of PPS business, IDvpn with vpn service, the address ip vpn of VPNAS and the address ip ocs of OCS be as the business information of vpn service, with the corresponding relation of the business information of calling number NumberA and PPS business, the corresponding relation of the business information of calling number NumberA and vpn service, the corresponding relation of the business information of the corresponding relation of the business information of calling number NumberC and PPS business and calling number NumberC and vpn service is stored in respectively in the corresponding relation of calling number as shown in table 1 among the HSS and business information.
Table 1
Figure BSA00000397373400051
Figure BSA00000397373400061
Step 204: general AS obtains rule and policy from management server, from the business information of obtaining, selects business information according to the rule and policy that obtains;
Wherein, general AS can obtain the business information of a Network, can also obtain the business information that is superimposed upon the logic business on this Network.Particularly, general AS obtains rule and policy from management server, if when general AS gets access to a business information, then general AS directly selects this business information, if general AS gets access to a plurality of business information, then select a business information according to the rule and policy that obtains.
For example, rule and policy is set in management server in advance is " selecting business information by professional priority ", promptly general AS according to each professional priority, selects the business information of the high business of priority according to this rule and policy.
Correspondingly, in general AS, go back the ID of storage service and the corresponding relation of priority in advance.If general AS gets access to a plurality of business information, then general AS is according to the ID of the business in each business information, from the corresponding relation of the ID of business and priority, searches each professional priority, selects the professional corresponding service information of priority maximum;
Step 205: general AS is according to business information and the calling number selected, from management server, obtain the residue amount of the business information corresponding service of selection, if the residue amount of obtaining is not 0, then with the business information selected as the business information that is used to charge, execution in step 206;
Wherein, store the ID of calling number, business and the corresponding relation of residue amount in the management server.Particularly, general AS is according to the ID of the business in the business information of calling number and selection, search corresponding residue amount from the calling number of management server stores, professional ID and the corresponding relation that remains amount, if the residue amount of searching is not 0, then execution in step 206.
Wherein, if the residue amount of searching is 0 and also has remaining business information that then general AS need reselect a business information according to the rule and policy that obtains, and then carry out this step from remaining business information.
Step 206: general AS sends to corresponding service AS according to the address of the professional AS of the business information of selecting that is used for chargeing with this call request;
Step 207: this business AS receives this call request, and can the calling number of carrying according to call request is determined for this calling subscriber provides this business, if can, reply confirmation and give general AS;
Wherein, this business AS can determine that can the calling subscriber use this business, no longer describes in detail at this according to existing method.
Wherein, if should determine and to provide professional for this calling subscriber by business AS, then send and be notified to general AS, after then general AS receives this notice, if also there is remaining business information, then from remaining business information, select a business information that is used to charge, begin operation from step 305 again, otherwise, end operation.
Wherein, in the present embodiment, if general AS gets access to the business information of a plurality of business, then select the business information of a business that is used to charge, and the forwarding conversation request gives this business information corresponding service AS, this business AS makes decision operation again, so avoided call request is transmitted to each business information corresponding service AS, each professional AS makes decision operation then, takies resource thereby reduce, and has saved operation cost; In addition, general AS selects the business information of a business that is used to charge from the business information of a plurality of business, and OCS does not need to do the operation of selecting business information again, thereby the part work of having shared OCS can reduce the equipment input to OCS.
Step 208: general AS receives this confirmation, according to the address of the OCS in the business information of selecting, sends the OCS of the request of charging to correspondence; Wherein, the ID of the business in the business information of calling number and selection is carried in this charging request at least;
Step 209:OCS receives this charging request, and according to calling number in the request of chargeing and professional ID, setting is set aside some time, and sends response message to general AS, and this response message comprises at least sets aside some time;
Particularly, OCS receives this charging request, ID according to the business in this charging request carries out wholesale price, obtain charging rate, according to the calling number and the professional ID that carry in this charging request, from the calling number of management server stores, professional ID and the corresponding relation that remains amount, search corresponding residue amount, go out cost of the phone call according to charging rate and the Time Calculation of presetting, judge whether cost of the phone call surpasses the residue amount of searching, if surpass, then calculate and set aside some time according to residue amount and charging rate; If do not surpass, the time that will set aside some time and be set to preset then, send and carry the response message of setting aside some time to general AS.
Wherein, be specially according to charging rate and the operation that the Time Calculation of presetting goes out cost of the phone call: charging rate and default time are multiplied each other draws cost of the phone call; Calculating the operation of setting aside some time according to residue amount and charging rate is specially: will remain amount and charging rate and be divided by to draw and set aside some time.The ID of calling number, business and the corresponding relation of residue amount are set in OCS in advance.
Wherein, existingly at present multiplely carry out the method for wholesale price according to the ID of business, for example, the professional ID and the corresponding relation of price can be set in OCS in advance, wherein, each business can one or more prices of correspondence.
Therefore, OCS carries out the operation of wholesale price according to the ID of the business that the request of chargeing is carried, be specially: OCS receives this charging request, according to the ID of the business of carrying in this charging request, from the corresponding relation of the ID of business and price, search the price of correspondence, if find out a plurality of prices, select a price as charging rate according to predetermined strategy, if find out a price, then with the price of searching as charging rate.
Step 210: general AS receives this response message, sends confirmation to CSCF;
Step 211:CSCF receives this confirmation, according to calling number in the call request and called number, sets up session channel between calling subscriber and called subscriber;
Particularly, after the CSCF confirmation of receipt information, call request is sent to MGCF (Media GatewayControl Function, MGCF), MGCF receives this call request, search the mobile switch that connects the called subscriber according to the called number that carries in this call request, send demand signalling to this mobile switch, this demand signalling carries calling number and called number, this mobile switch is searched the called subscriber according to called number again, this demand signalling is transmitted to the called subscriber, after the called subscriber receives this demand signalling, reply and confirm signaling to this mobile switch, this mobile switch confirmation of receipt signaling also is transmitted to MGCF, and MGCF receives the concurrent confirmation of sending of this affirmation signaling and gives CSCF, CSCF confirmation of receipt information also is transmitted to the calling subscriber, the calling subscriber receives this confirmation, so, sets up talk channel between calling subscriber and called subscriber.
Wherein, when CSCF sends to MGCF with call request, and the mobile network that MGCF connected supports the signaling transmission, to send again so after MGCF receives call request, call request need be converted to demand signalling.
Wherein, when after setting up session channel between calling subscriber and the called subscriber, the calling subscriber just can converse by this session channel and the business and the called subscriber that utilize AS to provide.
Step 212: general AS monitors and timing calling subscriber and called subscriber's conversation, if conversation is hung up or the time of timing reaches when setting aside some time in setting aside some time, then send charge information to OCS, this charge information carries calling number, the ID of business and the time of timing at least;
Particularly, when the calling subscriber is conversing with the called subscriber, general AS begins the conversation that calling subscriber and called subscriber carry out is monitored and timing, if timing is calling subscriber and/or called subscriber's kill-call in setting aside some time, or conversation is not hung up and the time of timing reaches when setting aside some time in setting aside some time, then send charge information to OCS, this charge information carries time, calling number and the professional ID of timing.
Step 213:OCS receives this charge information, and time, calling number and professional ID according to this charge information carries deduct fees;
Particularly, OCS receives this charge information, the ID of the business of carrying according to charge information, carry out wholesale price and obtain charging rate, the Time Calculation of carrying according to charging rate and charge information cost of the phone call, calling number of carrying according to this charge information and professional ID, from the corresponding relation of the calling number of management server stores, professional ID and residue amount, search corresponding residue amount, from the residue amount of searching, deduct cost of the phone call, the residue amount that obtains being left is updated to remaining residue amount with the residue amount of searching.
Wherein, if the conversation between calling subscriber and the called subscriber is hung up, then general AS, CSCF or calling subscriber send and are notified to OCS, and finish all operations; If the conversation between calling subscriber and the called subscriber is not hung up, after then OCS deducts fees operation, also continue execution in step 214.
Step 214:OCS is according to calling number and this professional ID, and setting is set aside some time, and sends response message to general AS, and wherein, this response message is carried and set aside some time, and returns execution in step 212.
Particularly, the first step judges whether remaining residue amount is 0, if not, carries out for second step, if carried out for the 3rd step;
In second step, OCS resets and sets aside some time, and sends and to carry the setting aside some time to general AS of setting, returns execution in step 212;
Wherein, OCS resets that in the process of setting aside some time and the step 209 process of setting aside some time to be set identical, no longer describes in detail at this.
In the 3rd step, OCS sends and to be notified to general AS, receives the charging request that general AS sends, and this chargings asks to carry the ID and the calling number of the business that general AS reselects;
Wherein, behind the general AS reception notification, from remaining business information, reselect a business information that is used to charge according to rule and policy, and to the business information corresponding service AS transmission call request of selecting, when the affirmation information that receives this business AS, send the request of charging to OCS, detailed process is seen the content of step 204-208, no longer describes in detail at this.
In the 4th step, the ID of the business that OCS reselects according to calling number and general AS resets and sets aside some time, and sends response message to general AS, returns execution in step 212.
Wherein, OCS resets that in the process of setting aside some time and the step 209 process of setting aside some time to be set identical, no longer describes in detail at this.
In embodiments of the present invention, CSCF is transmitted to general AS with the call request that the calling subscriber sends, general AS obtains each professional business information that the calling subscriber contracts, select the business information of a business, the professional corresponding service AS that selects is given in the forwarding conversation request, send the request OCS that charges again, OCS receives this charging request, setting is set aside some time, answer is carried the response message of setting aside some time and is given general AS, general AS receives response message, the conversation between calling subscriber and the called subscriber is monitored and timing, if the conversation between calling subscriber and/or the called subscriber is hung up in setting aside some time, or the time of timing arrives when setting aside some time, send charge information to OCS, OCS receives this charge information, deducts fees according to this charge information.Select professional business information by general AS, the professional corresponding service AS that selects is given in the forwarding conversation request, so have only a professional AS to make operation in the network, send the request of chargeing to OCS, OCS does not need to select professional according to the ID of the business of carrying in each request of chargeing and calling number, take resource and performance consumption thereby saved, reduce service provider's operation cost; In addition, general AS selects the conversation between business information and monitoring calling subscriber and the called subscriber, has shared OCS work, thereby has reduced the equipment input to OCS.
Embodiment 3
The embodiment of the invention provides a kind of method of charging.Suppose, calling subscriber A in advance and the signatory PPS of service provider is professional and the charging way of registration PPS business, the charging way of signatory vpn service and registration vpn service, calling subscriber A request is conversed with called subscriber B, and in the process of the conversation of calling subscriber A and called subscriber B, general AS can trigger the OCS online charging.As shown in Figure 5, this method comprises:
Step 301: calling subscriber A sends call request to CSCF, and wherein, this call request is carried calling number NumberA and called number NumberB;
Step 302:CSCF receives the call request that calling subscriber A sends, and call request is transmitted to general AS;
Step 303: general AS receives call request, according to the calling number NumberA that carries in the call request, obtains the business information of the signatory PPS business of calling subscriber A and the business information of vpn service from HSS;
Particularly, general AS receives call request, according to the calling number NumberA in the call request, in the calling number as shown in table 1 of from HSS, storing and the corresponding relation of business information, find out the business information of PPS business and the business information of vpn service, wherein, the business information of PPS business comprises that the ID of PPS business is IDpps, the professional AS address of storage PPS business is that the address of IPpps and OCS is IPocs, the business information of vpn service comprises that the ID of vpn service is IDvpn, and the professional AS address of storage vpn service is that the address of IPvpn and 0CS is IPocs.
Step 304: general AS obtains rule and policy and is " selecting business information by professional priority " from management server, selects the business information of the high vpn service of priority from the business information of the business information of the PPS business obtained and vpn service;
Particularly, general AS is according to the IDpps in the business information of PPS business, searching corresponding priorities from the corresponding relation of the ID of business as shown in table 2 and priority is 4, according to the IDvpn in the business information of vpn service, searching corresponding priorities from the corresponding relation of the ID of business as shown in table 2 and priority is 5, chooses the business information of the high vpn service of priority.
Wherein, in general AS, store each the professional ID as shown in table 2 and the corresponding relation of corresponding priorities in advance.
Table 2
Professional ID Priority
IDpps 4
IDvpn 5
...... ......
Step 305: general AS obtains the residue amount according to the business information and the calling number NumberA of the vpn service of selecting from management server, if the residue amount is not 0, then execution in step 306;
Particularly, according to the IDvpn of calling number NumberA and vpn service, from the corresponding relation of the calling number as shown in table 3 of management server stores, professional ID and residue amount, searching corresponding residue amount is 0.
Wherein, the residue amount of searching is 0, therefore, from remaining business information, select the business information of PPS business according to priority, IDpps and calling number NumberA according to the PPS business, searching corresponding residue amount from the corresponding relation of the ID of the business as shown in table 3 of storage server storage, calling number and residue amount is 50, so the business information of selecting the business information conduct of PPS business to be used to charge, execution in step 306.
Table 3
Figure BSA00000397373400111
Figure BSA00000397373400121
Step 306: after general AS reselects the business information of PPS business,, send the PPS AS of this call request to correspondence according to the IPpps in the business information of PPS business;
Step 307:PPS AS receives this call request, and judging can be for calling subscriber A provides PPS business, and sends confirmation to general AS;
Step 308: general AS confirmation of receipt information, send the OCS of the request of charging to the IPocs correspondence, the IDpps of calling number NumberA and PPS business is carried in this charging request at least;
Step 309:OCS receives this charging request, and according to the calling number NumberA in this request of chargeing and the IDpps of PPS business, setting is set aside some time, and sends response message to OCS, and this response message comprises at least sets aside some time;
Particularly, OCS receives this charging request, IDpps according to the PPS business of carrying in this charging request, from the corresponding relation of the ID of business as shown in table 4 and price, search price 0.2, with price 0.2 as charging rate, IDpps according to calling number NumberA and PPS business, from management server stores calling number as shown in table 3, searching corresponding residue amount in professional ID and the corresponding relation that remains amount is 50, charging rate and default time 5 are done multiplying obtain cost of the phone call 1, wherein, cost of the phone call 1 is less than residue amount 50, the time of being arranged to preset so will set aside some time 5, and will set aside some time by response message and 5 send to OCS.
Table 4
Professional ID Price
IDpps 0.2
IDvpn 0.5
...... ......
Step 310:OCS receives this response message, sends confirmation to CSCF;
Step 311:CSCF receives this confirmation, sets up talk channel between calling subscriber A and quilt user B, and calling subscriber A and called subscriber B are conversed;
Particularly, CSCF receives this confirmation, send call request to MGCF, MGCF receives this call request, according to the called number NumberB that carries in the call request, send demand signalling to the mobile switch that connects called subscriber B, this mobile switch sends to called subscriber B with this demand signalling again, quilt user B receives this demand signalling, and reply and confirm that signaling is to this mobile switch, this mobile switch should confirm that signaling was transmitted to MGCF again, MGCF receives the concurrent confirmation of sending of this affirmation signaling and gives CSCF, CSCF confirmation of receipt information also is transmitted to calling subscriber A, and calling subscriber A receives this confirmation, so sets up talk channel between calling subscriber A and called subscriber B.
Step 312: when calling subscriber A when conversing with called subscriber B, the conversation of general AS monitoring calling subscriber A and called subscriber B also picks up counting, wherein, in setting aside some time, converse and do not hung up, and reach and set aside some time 5 the time when the time of timing, send charge information to OCS, this charge information carries the time 5 of timing, professional IDpps and calling number NumberA at least;
Step 313:OCS receives this charge information, deducts fees according to the time 5 of carrying in the charge information, calling number NumberA and professional IDpps;
Particularly, OCS receives this charge information, the time 5 that this charge information carries, the IDpps of calling number NumberA and PPS business, IDpps according to the PPS business, from the corresponding relation of the ID of business as shown in table 4 and price, search corresponding price 0.2, according to price 0.2 of searching and time 5, calculate cost of the phone call 1, IDpps according to calling number NumberA and PPS business, calling number as shown in table 3 from management server stores, in the corresponding relation of professional ID and residue amount, find out corresponding residue amount 50, calculate remaining residue amount 49 according to residue amount 50 of searching and cost of the phone call 1, the residue amount 50 of searching is updated to remaining residue amount 49.
Wherein,, set aside some time, proceed conversation to keep calling subscriber A and called subscriber B so OCS also needs to be provided with because the conversation between calling subscriber A and the called subscriber B is also continuing.
Step 314:OCS is provided with and sets aside some time 5, sends response message to general AS, and this response message is carried and set aside some time 5;
Particularly, calculate cost of the phone call 1, judge cost of the phone call 1, the time of being arranged to preset with setting aside some time 5, send and carry 5 the response message of setting aside some time to general AS less than remaining residue amount 49 according to charging rate 0.2 and default time 5.
Step 315: general AS receives this response message, this conversation is monitored and picked up counting, wherein, when the time of timing is 3, monitor out calling subscriber A kill-call, send charge information to OCS, this charge information carries the IDpps of time 3, calling number NumberA and the PPS business of timing;
Step 316:OCS receives this charge information, deducts fees EO according to the information that this charge information carries.
Particularly, OCS receives this charge information, this charge information carries the time 3, the IDpps of calling number NumberA and PPS business, IDpps according to the PPS business, from the corresponding relation of the ID of business as shown in table 4 and price, search corresponding price 0.2, according to price 0.2 of searching and time 3, calculate cost of the phone call 0.6, IDpps according to calling number NumberA and PPS business, from management server stores calling number as shown in table 3, in the corresponding relation of professional ID and residue amount, find out corresponding residue amount 49, calculate remaining residue amount 48.4 according to residue amount 49 of searching and cost of the phone call 0.6, the residue amount 49 of searching is updated to remaining residue amount 48.4.
In embodiments of the present invention, general AS receives the call request of calling subscriber A, according to calling number NumberA, find out the business information of PPS business and the business information of vpn service, select the business information of PPS business according to the rule and policy that obtains, send the request of charging to OCS, after OCS receives this charging request, setting is set aside some time, and send and to carry the response message of setting aside some time to general AS, general AS receives this response message, and also timing is monitored in the conversation between calling subscriber A and the called subscriber B, send charge information to OCS, OCS deducts fees according to charge information.Wherein, general AS searches calling subscriber A signatory PPS business information and vpn service information, and the business information of selection PPS business, send call request to PPS AS, send the request of charging again to OCS, so avoid sending a plurality of call request to PPSAS and VPN AS, and a plurality of charging request, take resource thereby saved, reduce service provider's operation cost; In addition, general AS selects business information, has shared OCS work, thereby has reduced the equipment input to OCS.
Embodiment 4
The embodiment of the invention provides a kind of method of charging.Suppose, calling subscriber C in advance and the signatory PPS of service provider is professional and the charging way of registration PPS business, the charging way of signatory vpn service and registration vpn service, calling subscriber C request is conversed with called subscriber B, and in the communication process of calling subscriber C and called subscriber B, general AS can trigger OCS and charge.As shown in Figure 6, this method comprises:
Step 401: calling subscriber C sends call request to CSCF, and wherein, this call request is carried calling number NumberC and called number NumberB;
Step 402:CSCF receives the call request that calling subscriber C sends, and call request is transmitted to general AS;
Step 403: general AS receives call request, according to the calling number NumberC that carries in the call request, obtains the business information of the signatory PPS business of calling subscriber C and the business information of vpn service from HSS;
Particularly, general AS receives call request, according to the calling number NumberC in the call request, in the calling number as shown in table 1 of from HSS, storing and the corresponding relation of business information, the business information that finds out the PPS business comprises the business information of PPS business and the business information of vpn service, wherein, the business information of PPS business comprises that the ID of PPS business is IDpps, the professional AS address of storage PPS business is that the address of IPpps and OCS is IPocs, the business information of vpn service comprises that the ID of vpn service is IDvpn, and the professional AS address of storage vpn service is that the address of IPvpn and OCS is IPocs.
Step 404: general AS obtains rule and policy and is " selecting professional work and rest by professional priority " from management server, according to the rule and policy that obtains, from the business information of the PPS business obtained and the business information of vpn service, select the business work and rest of preferential high vpn service;
Particularly, general AS obtains rule and policy and is " selecting professional work and rest by professional priority " from management server, according to the IDpps in the business information of PPS business, searching corresponding priorities from the corresponding relation of the ID of business as shown in table 2 of self storage and priority is 4, according to the IDvpn in the business information of vpn service, searching corresponding priorities from the corresponding relation of the ID of business as shown in table 2 of self storage and priority is 5, chooses the business information of the high vpn service of priority.
Step 405: general AS searches the residue amount according to the business information and the calling number NumberC of the vpn service of selecting from management server, if the residue amount of searching is not 0, then execution in step 406;
Particularly, according to the IDvpn of calling number NumberC and vpn service, from the corresponding relation of the calling number as shown in table 3 of management server stores, professional ID and residue amount, searching corresponding residue amount is 1.5, therefore, and execution in step 406.
Step 406: general AS sends the VPNAS of this call request to correspondence according to the IPvpn in the business information of vpn service;
Step 407:VPN AS receives this call request, and judgement can provide vpn service for calling subscriber C, and sends confirmation to general AS;
Step 408: general AS confirmation of receipt information, send the OCS of the request of charging to the IPocs correspondence, the IDvpn of calling number NumberC and vpn service is carried in this charging request at least;
Step 409:OCS receives this charging request, and according to the calling number NumberC in this request of chargeing and the IDvpn of vpn service, setting is set aside some time, suppose, setting aside some time of being provided with is 3, sends response message to OCS, and this response message comprises at least sets aside some time 3;
Particularly, OCS receives this charging request, IDvpn according to the vpn service that carries in this charging request, from corresponding relation, search price 0.5 as the ID of table 4 business and price, with price 0.5 as charging rate, IDvpn according to calling number NumberC and vpn service, from management server stores calling number as shown in table 3, searching corresponding residue amount in professional ID and the corresponding relation that remains amount is 1.5, do according to charging rate 0.5 and default time 5 and to calculate cost of the phone call 2.5, wherein, cost of the phone call 2.5 is greater than residue amount 1.5, calculate with charging rate according to residue amount 1.5 and to set aside some time 3, and will will set aside some time by response message and 3 send to OCS.
Step 410:OCS receives this response message, sends confirmation to CSCF;
Step 411:CSCF receives this confirmation, sets up talk channel between calling subscriber C and quilt user B, and calling subscriber C and called subscriber B are conversed;
Step 412: when calling subscriber C when conversing with called subscriber B, general AS monitors the conversation between calling subscriber C and the called subscriber B and picks up counting, suppose to converse and in setting aside some time, do not hang up, when the time of timing reaches and sets aside some time 3 the time, send charge information to OCS, this charge information carries the time 3 of timing, professional IDvpn and calling number NumberC at least;
Step 413:OCS receives this charge information, deducts fees according to the IDvpn of the time 3, calling number NumberC and the vpn service that carry in the charge information;
Particularly, OCS receives this charge information, the time 3 that this charge information carries, the IDvpn of calling number NumberC and vpn service, IDvpn according to vpn service, from the corresponding relation of ID and the price of the business as shown in table 4 of self storage, search corresponding price 0.5, according to price 0.5 of searching and time 3, calculate cost of the phone call 1.5, IDvpn according to calling number NumberC and vpn service, from management server stores calling number as shown in table 3, in the corresponding relation of professional ID and residue amount, find out corresponding residue amount 1.5, calculate remaining residue amount 0 according to residue amount of searching and cost of the phone call, the residue amount of searching is updated to remaining residue amount 0.
Wherein,, set aside some time, proceed conversation to keep calling subscriber C and called subscriber B so OCS also needs to be provided with because the conversation between calling subscriber C and the called subscriber B is also continuing.
It is 0 that step 414:OCS judges remaining residue amount, sends to be notified to general AS;
Step 415: after general AS received this notice, the business information of selecting the PPS business from the business information of remaining PPS business was as the business information that is used to charge;
Step 416: general AS is according to IPpps in the business information of PPS business and calling number NumberC, and searching the residue amount in the corresponding relation as shown in table 3 from management server is 30; The residue amount of searching is not 0, then sends call request to PPS AS;
Wherein, PPS AS receives this call request, according to the calling number NumberC that carries in this call request, judges that calling subscriber C can use the PPS business, and sends confirmation to general AS.
Step 417: general AS receives the affirmation information of PPS AS, sends the request of charging to OCS, and the IDpps of calling number NumberC and PPS business is carried in this charging request;
Step 418:OCS receives this charging request, and according to the calling number NumberC that carries in this charging request and the IDpps of PPS business, setting is set aside some time, and supposing to set aside some time is 5, sends response message to general AS, and this response message is carried and set aside some time 5;
Wherein, concrete operations are identical with step 413, no longer describe in detail at this.
Step 419: general AS receives this response message, pick up counting, and when the time of timing reaches 3, monitor out calling subscriber C kill-call, and sending charge information to OCS, this charge information carries the time 3 of calling number NumberC, timing and the IDpps of PPS business;
Step 420:OCS receives this charge information, and calling number NumberC, the time 3 of timing and the IDpps of PPS business according to this charge information carries deduct fees.
Particularly, OCS receives this charge information, this charge information carries the time 3, the IDpps of calling number NumberC and PPS business, IDpps according to the PPS business, from the corresponding relation of ID and the price of the business as shown in table 4 of self storage, search corresponding price 0.2, according to price 0.2 of searching and time 3, calculate cost of the phone call 0.6, IDpps according to calling number NumberA and PPS business, calling number as shown in table 3 from management server stores, in the corresponding relation of professional ID and residue amount, find out corresponding residue amount, calculate remaining residue amount according to residue amount of searching and cost of the phone call, the residue amount of searching is updated to remaining residue amount.
In embodiments of the present invention, general AS receives the call request of calling subscriber C, according to calling number NumberC, find out the business information of PPS business and the business information of vpn service, select the business information of vpn service according to the rule and policy that obtains, send the request of charging to OCS, after OCS receives this charging request, setting is set aside some time, and send and to carry the response message of setting aside some time to general AS, general AS receives this response message, and also timing is monitored in the conversation between calling subscriber A and the called subscriber B, send charge information to OCS, OCS deducts fees according to charge information.Wherein, general AS searches calling subscriber A signatory PPS business information and vpn service information, and selects vpn service information, send the request of charging again to OCS, so avoid sending a plurality of charging requests, take resource, reduce service provider's operation cost thereby saved; In addition, general AS selects the conversation between business information and monitoring calling subscriber A and the called subscriber B, has shared OCS work, thereby has reduced the equipment input to OCS.
Embodiment 5
The embodiment of the invention provides a kind of method of charging.The thing row is provided with a general AS in the IMS system in the present embodiment, triggers OCS by general AS and charges, and as shown in Figure 7, this method comprises:
Step 501: the calling subscriber sends call request to CSCF, and wherein, this call request is carried calling number and called number;
Step 502:CSCF receives this call request, and this call request is transmitted to general AS;
Step 503: general AS receives this call request, according to the calling number that this call request is carried, obtains calling subscriber's business information of signatory business in advance from HSS, and wherein, business information comprises professional ID, AS address and OCS address at least;
Particularly, general AS receives this call request, the calling number of carrying according to this call request is obtained corresponding service information from the corresponding relation of the calling number of HSS storage and professional ground information, the business information of obtaining comprises professional ID, professional AS address and OCS address at least.
Step 504: general AS obtains rule and policy from management server, and selects business information according to this rule and policy from the business information of obtaining;
For example, the rule and policy that obtains can be " selecting business information by professional priority ", and correspondingly, general AS obtains each professional priority according to the ID of the business in each business information, selects the business information of the highest business of priority.
Step 505: general AS obtains the residue amount according to business information and the calling number selected from management server, if the residue amount of obtaining not 0, then with the business information selected as the business information that is used to charge, and execution in step 506;
Wherein, if the residue amount of searching is 0, then general AS reselects a business information according to rule and policy, and carries out this step again from remaining business information.
Step 506: general AS sends this call request to corresponding service AS according to the professional AS address in the business information of selecting;
Step 507: this business AS receives this call request, and can the calling number of carrying according to this call request is determined for this calling subscriber provides this business, if can, reply confirmation and give general AS;
Step 508: general AS receives this confirmation, and this confirmation is transmitted to CSCF;
Step 509:CSCF receives this confirmation, according to calling number in the call request and called number, sets up session channel between calling subscriber and called subscriber;
Wherein, the process that CSCF sets up session channel is identical with the process that CSCF in the step 311 of embodiment 2 sets up session channel, no longer describes in detail at this.
Step 510: general AS monitors calling subscriber and called subscriber's conversation and the air time is carried out timing, if monitoring out conversation hangs up, then write ticket, and comprise the traffic ID in the business information of air time, calling number and selection of timing in the ticket of writing at least;
Step 511: general AS is according to the address of the OCS of the business information of selecting that is used for chargeing, and transmit telephone bill is given corresponding OCS;
Step 512:OCS receives this ticket, deducts fees according to the information in this ticket.
Particularly, OCS receives this ticket, carry out wholesale price according to the ID of the business in this ticket and obtain charging rate, calculate cost of the phone call according to air time in this ticket and charging rate, according to calling number in this ticket and professional ID, from the calling number of management server stores, professional ID and the corresponding relation that remains amount, search corresponding residue amount, deduct fees according to cost of the phone call and the residue amount of searching, the residue amount that obtains being left is updated to remaining residue amount with the residue amount of searching.
In embodiments of the present invention, CSCF is transmitted to general AS with the call request that the calling subscriber sends, general AS obtains each professional business information that the calling subscriber contracts, select the business information of a business, the professional corresponding AS that selects is given in the forwarding conversation request, after this AS confirms, again calling subscriber and called subscriber's conversation is monitored and the air time is carried out timing, hang up when monitoring out conversation, write ticket, and transmit telephone bill is given to OCS, OCS receives this ticket, deducts fees according to the information in this ticket.Select professional business information by general AS, the professional corresponding AS that selects is given in the forwarding conversation request, so have only an AS to make decision operation in the network, takies resource and performance consumption thereby saved, and reduces service provider's operation cost; In addition, general AS selects the conversation between business information and monitoring calling subscriber and the called subscriber, has shared OCS work, thereby has reduced the equipment input to OCS.
Embodiment 6
As shown in Figure 8, the embodiment of the invention provides a kind of general AS, comprising:
Acquisition module 601 is used to receive call request, according to the calling number that this call request is carried, obtains the business information that is used to charge that the calling subscriber contracts;
Sending module 602 is used to send this call request to the described business information corresponding service AS that is used to charge, and when receiving the affirmation information that this business AS replys, sends the request of charging to OCS, and request OCS charges.
Wherein, acquisition module 601 specifically comprises:
Acquiring unit is used for the calling number of carrying according to call request, obtains all business information that the calling subscriber contracts from HSS;
Selected cell is used for obtaining rule and policy from management server, from all business information that the calling subscriber contracts, and the business information that is used to charge according to the rule and policy policy selection of obtaining.
Wherein, selected cell specifically comprises:
The highest professional corresponding service information of priority if the rule and policy that is used for obtaining is " priority by business is obtained business information ", then according to the priority of business, is selected in the chooser unit from all business information that the calling subscriber contracts;
Search subelement, be used for, from the corresponding relation of the calling number of management server stores, professional ID and residue amount, search corresponding residue amount according to the professional ID of the business information of calling number and selection;
Judgment sub-unit is used to judge whether the residue amount of searching is 0, if not, with the business information selected as the business information that is used to charge; If from remaining business information, reselect the business information that is used to charge according to the priority of business.
Further, this general AS also comprises:
First monitoring module is used to receive the response message of OCS, and this response message is carried and set aside some time; Calling subscriber and called subscriber's conversation is monitored and timing, and sent charge information to OCS; Make OCS deduct fees according to charge information.
Wherein, first monitoring module specifically comprises:
Monitoring unit is used for calling subscriber and called subscriber's conversation is monitored and picked up counting;
First transmitting element is hung up if the time that is used for timing in setting aside some time, is monitored out conversation, then sends charge information to OCS;
Second transmitting element, conversation is not hung up and when the time of timing, arrival was set aside some time, send charge information to OCS if the time that is used for timing in setting aside some time, is monitored out.
Wherein, sending module 602, specifically be used to send this call request to the business information corresponding service AS that is used to charge, when receiving the affirmation information that professional AS replys, transmit telephone bill is given OCS, request OCS charges, and this ticket comprises the air time and the calling number and the professional ID of the business information that is used for chargeing at least;
Correspondingly, this general AS also comprises:
Second monitoring module is used for the conversation between calling subscriber and the called subscriber is monitored and the air time is carried out timing, is hung up if monitor out described conversation, then writes ticket.
In embodiments of the present invention, general AS obtains the business information that the calling subscriber contracts from HSS, and the business information that selection is used to charge according to rule and policy, sends the request of charging to OCS, request OCS charging.Wherein, obtain and select the business information of a business by general AS, call request is transmitted to this business corresponding service AS, and send the request of charging to OCS, so, only call request need be sent to a professional AS, and have only a professional AS to make decision operation, and only send the request of chargeing, avoided OCS to select professional according to the ID and the calling number of the business of carrying in each request of chargeing; General AS also monitors the conversation between calling subscriber and the called subscriber, has shared the work of OCS, thereby has reduced the equipment investment of performance consumption and OCS, and saves operation cost to the service provider.
Embodiment 7
As shown in Figure 9, the embodiment of the invention provides a kind of system of online charging, and this system comprises general AS701 and OCS702:
General AS701 receives call request, according to the calling number that this call request is carried, obtains the business information that is used to charge that the calling subscriber contracts; Send call request to the business information corresponding service AS that is used to charge, when receiving the affirmation information that professional AS replys, send charge information to OCS702, request OCS charges 702.
In embodiments of the present invention, general AS obtains the business information that the calling subscriber contracts from HSS, selects the business information that is used to charge according to rule and policy from the business information of obtaining, and sends the request of charging to OCS, and request OCS charges.Wherein, obtain and select the business information of a business by general AS, call request is transmitted to this business corresponding service AS, and send the request of charging to OCS, so, only call request need be sent to a professional AS, and have only a professional AS to make decision operation, and only send the request of chargeing, avoided OCS to select professional according to the ID and the calling number of the business of carrying in each request of chargeing; General AS also monitors the conversation between calling subscriber and the called subscriber, has shared the work of OCS, thereby has reduced the equipment investment of performance consumption and OCS, and saves operation cost to the service provider.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computer, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. the method for a charging is characterized in that, described method comprises:
Receive call request,, obtain the business information that is used to charge that the calling subscriber contracts according to the calling number that described call request is carried;
Send described call request to the described business information corresponding service application server A S (professional AS) that is used to charge,, send the request of charging, ask described OCS to charge to Online Charging System OCS when receiving the affirmation information that described professional AS replys.
2. the method for claim 1 is characterized in that, described calling number of carrying according to described call request is obtained the business information that is used to charge that the calling subscriber contracts, and specifically comprises:
According to described calling number, from home network client server HSS, obtain all business information that described calling subscriber contracts;
From management server, obtain rule and policy, from all business information that described calling subscriber contracts, select the described business information that is used to charge according to described rule and policy.
3. method as claimed in claim 2, it is characterized in that, if described rule and policy is for selecting business information by professional priority, then from all business information that described calling subscriber contracts, select the described business information that is used to charge according to described rule and policy, specifically comprise:
According to the priority of business, from all business information that described calling subscriber contracts, select the highest professional corresponding service information of priority;
According to sign ID professional in the business information of described calling number and described selection, from the corresponding relation of the calling number of described management server stores, professional ID and residue amount, search corresponding residue amount;
Judge whether described residue amount of searching is 0, if not, with the business information of described selection as the described business information that is used to charge; If from remaining business information, reselect the described business information that is used to charge according to the priority of business.
4. the method for claim 1 is characterized in that, described transmission is chargeed request to after the OCS, also comprises:
Receive the response message of described OCS, described response message is carried and is set aside some time;
Described calling subscriber and called subscriber's conversation is monitored and timing, and sent charge information, make described OCS deduct fees according to described charge information to described OCS.
5. method as claimed in claim 4 is characterized in that, described conversation to described calling subscriber and called subscriber is monitored and timing, and sends charge information to described OCS, specifically comprises:
Calling subscriber and called subscriber's conversation is monitored and picked up counting;
When time of timing in described setting aside some time, monitor out described conversation and hung up, then send described charge information to described OCS;
When time of timing in described setting aside some time, monitor out that described conversation is not hung up and when the time of timing arrives described setting aside some time, send described charge information to described OCS.
6. the method for claim 1 is characterized in that, described transmission is chargeed request to OCS, specifically comprises:
Transmit telephone bill is given described OCS, and described ticket comprises the calling number and the professional ID of air time and the described business information that is used for chargeing at least;
Correspondingly, described transmission charge information also comprises to before the OCS:
Conversation between described calling subscriber and the called subscriber is monitored and the air time is carried out timing, hung up, then write ticket if monitor out described conversation.
7. a general application server AS (general AS) is characterized in that, described general AS comprises:
Acquisition module is used to receive call request, according to the calling number that described call request is carried, obtains the business information that is used to charge that the calling subscriber contracts;
Sending module is used to send described call request to the described business information corresponding service AS that is used to charge, and when receiving the affirmation information that described professional AS replys, sends the request of charging to OCS, asks described OCS to charge.
8. general AS as claimed in claim 7 is characterized in that, described acquisition module specifically comprises:
Acquiring unit is used for according to described calling number, from home network client server HSS, obtains all business information that described calling subscriber contracts;
Selected cell is used for obtaining rule and policy from management server, from all business information that described calling subscriber contracts, selects the described business information that is used to charge according to described rule and policy.
9. general AS as claimed in claim 8 is characterized in that, described selected cell specifically comprises:
The chooser unit is used for selecting business information when described rule and policy for the priority by business, then according to the priority of business, selects the highest professional corresponding service information of priority from all business information that described calling subscriber contracts;
Search subelement, be used for, from the corresponding relation of the calling number of management server stores, professional ID and residue amount, search corresponding residue amount according to the professional sign ID of the business information of described calling number and described selection;
Judgment sub-unit is used to judge whether described residue amount of searching is 0, if not, with the business information of described selection as the described business information that is used to charge; If from remaining business information, reselect the described business information that is used to charge according to the priority of business.
10. general AS as claimed in claim 7 is characterized in that, described general AS also comprises:
First monitoring module is used to receive the response message of described OCS, and described response message is carried and set aside some time; Described calling subscriber and called subscriber's conversation is monitored and timing, and sent charge information to described OCS; Make described OCS deduct fees according to described charge information.
11. general AS as claimed in claim 10 is characterized in that, described first monitoring module specifically comprises:
Monitoring unit is used for described calling subscriber and called subscriber's conversation is monitored and picked up counting;
First transmitting element if the time that is used for timing in described setting aside some time, is monitored out described conversation and hung up, then sends described charge information and states OCS to online charge system;
Second transmitting element, described conversation is not hung up and when the time of timing arrives described setting aside some time, send described charge information to described OCS if the time that is used for timing in described setting aside some time, is monitored out.
12. general AS as claimed in claim 7 is characterized in that,
Described sending module, specifically be used to send described call request to the described business information corresponding service AS that is used to charge, when receiving the affirmation information that described professional AS replys, transmit telephone bill is given described OCS, ask described OCS to charge, described ticket comprises the calling number and the professional ID of air time and the described business information that is used for chargeing at least;
Correspondingly, described general AS also comprises:
Second monitoring module is used for the conversation between described calling subscriber and the called subscriber is monitored and the air time is carried out timing, is hung up if monitor out described conversation, then writes ticket.
13. the system of a charging is characterized in that, described system comprises general application server AS (general AS) and Online Charging System OCS:
Described general AS receives call request, according to the calling number that described call request is carried, obtains the business information that is used to charge that the calling subscriber contracts; Send described call request to the described business information corresponding service AS that is used to charge,, send charge information, ask described OCS to charge to described OCS when receiving the affirmation information that described professional AS replys.
CN 201010601483 2010-12-13 2010-12-13 Charging method, device and system Expired - Fee Related CN102142968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010601483 CN102142968B (en) 2010-12-13 2010-12-13 Charging method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010601483 CN102142968B (en) 2010-12-13 2010-12-13 Charging method, device and system

Publications (2)

Publication Number Publication Date
CN102142968A true CN102142968A (en) 2011-08-03
CN102142968B CN102142968B (en) 2013-11-06

Family

ID=44410214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010601483 Expired - Fee Related CN102142968B (en) 2010-12-13 2010-12-13 Charging method, device and system

Country Status (1)

Country Link
CN (1) CN102142968B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448041A (en) * 2011-11-23 2012-05-09 华为技术有限公司 Method, equipment and system for processing billing request
WO2014094435A1 (en) * 2012-12-19 2014-06-26 华为技术有限公司 Number portability-based on-line accounting method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090416A (en) * 2006-09-29 2007-12-19 中兴通讯股份有限公司 Basic service addition service implementing system and method
US20080103992A1 (en) * 2006-10-27 2008-05-01 Yigang Cai Third party charging for sip sessions
CN101202797A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 CS field / IMS voice FMC operational program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090416A (en) * 2006-09-29 2007-12-19 中兴通讯股份有限公司 Basic service addition service implementing system and method
US20080103992A1 (en) * 2006-10-27 2008-05-01 Yigang Cai Third party charging for sip sessions
CN101202797A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 CS field / IMS voice FMC operational program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP: "《3GPP TS 32.240 V8.1.0》", 31 December 2007, article "Technical Specification Group Services and System Aspects; Telecommunication management; Charging management; Charging architecture and principles(Release 8)", pages: 4.1 *
3GPP: "《3GPP TS 32.260 V8.2.0》", 31 December 2007, article "Technical Specification Group Service and System Aspects; Telecommunication management; Charging management; IP Multimedia Subsystem(IMS) charging(Release 8)" *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448041A (en) * 2011-11-23 2012-05-09 华为技术有限公司 Method, equipment and system for processing billing request
WO2014094435A1 (en) * 2012-12-19 2014-06-26 华为技术有限公司 Number portability-based on-line accounting method, device and system
US9503586B2 (en) 2012-12-19 2016-11-22 Huawei Technologies Co., Ltd. Online charging method, apparatus, and system based on number portability service

Also Published As

Publication number Publication date
CN102142968B (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN111669719B (en) Method, system and related equipment for carrying out charging processing on network slice client
CN101616126A (en) Realize method, the Apparatus and system of data access authority control
CN101340449A (en) Mobile terminal and method for obtaining network access information
CN102037702A (en) Composite services provision within a tlecommunications network
CN112465615B (en) Method, device and system for processing bill data
CN104219069A (en) Access frequency control method, device and control system
CN102195851A (en) Load sharing method, system and access server
CN102868770A (en) Method, equipment and system for distributing interface
CN109447504A (en) A kind of clean-keeping service management system
CN101621781A (en) Method and system for querying data flow based on OTA
CN105530198A (en) Access control method and device for mobile terminal
CN102695155A (en) Billing control method and device
CN104735103B (en) A kind of management of distributed data and method of reseptance, device
KR101341082B1 (en) System and method for monitoring virtual agents
CN102970391B (en) Inquiry of the domain name processing method, server and system
CN102142968B (en) Charging method, device and system
CN101790254B (en) Mobile phone terminal and system for supporting group communication and method thereof
CN106230631A (en) Information interacting method and device
CN101340669A (en) Mobile terminal, communication method and system thereof
CN101567944A (en) Interaction voice response system and realization method thereof
CN105376155B (en) A kind of Intelligent routing system and method based on distributed type assemblies framework
CN101795302A (en) Method and system for identifying group users
CN104506743A (en) Method and device for dynamically intercepting call
CN104378806B (en) Information processing method and terminal device
JP6086335B2 (en) Content download method, related device, and system

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

Granted publication date: 20131106

Termination date: 20161213

CF01 Termination of patent right due to non-payment of annual fee