CN102142968B - Charging method, device and system - Google Patents

Charging method, device and system Download PDF

Info

Publication number
CN102142968B
CN102142968B CN 201010601483 CN201010601483A CN102142968B CN 102142968 B CN102142968 B CN 102142968B CN 201010601483 CN201010601483 CN 201010601483 CN 201010601483 A CN201010601483 A CN 201010601483A CN 102142968 B CN102142968 B CN 102142968B
Authority
CN
China
Prior art keywords
business
ocs
information
business information
charging
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
CN 201010601483
Other languages
Chinese (zh)
Other versions
CN102142968A (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

Landscapes

  • Telephonic Communication Services (AREA)
  • Meter Arrangements (AREA)

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 network) IP multimedia subsystem, IMS) system can provide charging way flexibly for the service provider, help service provider and network owner to keep the market advantage, enrich 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 according to calling number the business that the user contracts, and sends call request to AS corresponding to each business of obtaining (Application Server, application server);
Wherein, user's Network of contracting, can also take this Network as the basis signing other logic business, 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, to OCS (Online Charging System, Online Charging System) send accounting request, this accounting request is carried calling number and is stored in the ID of the business of self (Identity, sign);
Step S4:OCS receives the accounting request that each application server AS sends, the calling number of carrying according to each accounting request and the ID of business, by the policy selection business that sets in advance, setting is set aside some time, send response message to AS corresponding to business 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:
the logic business if the calling subscriber also contracts on the basis of Network, be that a plurality of business are mutually nested, CSCF can get a plurality of business that the user contracts and call request need to be sent to signing application server AS corresponding to each business, after each application server AS judges, send again accounting request to OCS, OCS receives the accounting request of each application server AS, and the ID of the calling number of carrying according to each accounting request and business selects business, so increase the equipment investment of resource consumption and OCS, increase operation cost to the service provider.
Summary of the invention
In order to reduce the equipment investment 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, according to the calling number that described call request is carried, obtain the business information that is used for charging that the calling subscriber contracts;
Send described call request to described for service application service device AS (business AS) corresponding to the business information of charging, the confirmation information when receiving described business AS and replying sends accounting request to OCS, asks described OCS charging.
A kind of general application server AS (general AS), described general AS comprises:
Acquisition module is used for receiving call request, according to the calling number that described call request is carried, obtains the business information that is used for charging that the calling subscriber contracts;
Sending module, be used for sending described call request to described for business AS corresponding to the business information of charging, the confirmation information when receiving described business AS and replying sends accounting request to OCS, asks described OCS charging.
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 for charging that the calling subscriber contracts; Send described call request to described for business AS corresponding to the business information of charging, the confirmation information when receiving described business AS and replying sends charge information to described OCS, asks described OCS charging;
Wherein, described calling number of carrying according to described call request is obtained the business information that is used for charging 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;
Obtain rule and policy from management server, from all business information that described calling subscriber contracts, select described business information for charging according to described rule and policy;
Wherein, if described rule and policy is selected business information for the priority by business, from all business information that described calling subscriber contracts, select described business information for charging according to described rule and policy, specifically comprise:
According to the priority of business, select the highest business information corresponding to business of priority from all business information that described calling subscriber contracts;
According to the sign ID of business in the business information of described calling number and described selection, from the corresponding relation of the ID of the calling number of described management server stores, business 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 described business information for charging; If so, the priority according to business reselects described business information for charging from remaining business information.
Obtain by general AS the business information that the calling subscriber contracts, and select to be used for the business information of charging from the business information of obtaining, when receiving the confirmation information that business AS corresponding to business information that select return, send charge information and ask charging to OCS.Wherein, obtain and select a business information that is used for charging by general AS, call request is transmitted to the business AS corresponding to business information of selection, and send charge information to OCS, so, only call request need to be sent to a business AS, and only have a business AS to judge operation, and only send a charge information, avoided sending a plurality of call request and all judged operation and send a plurality of charge informations to a plurality of service application family server A S, a plurality of business AS; Also avoided OCS to select business according to ID and the calling number of the business of carrying in each charge information, shared the work of OCS, thereby reduced the equipment investment of performance consumption and OCS, and saved operation cost to the service provider.
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 present invention 1;
Fig. 3 is the network architecture that the embodiment of the present invention is used;
Fig. 4 is the method flow diagram of a kind of charging of providing of the embodiment of the present invention 2;
Fig. 5 is the method flow diagram of a kind of charging of providing of the embodiment of the present invention 3;
Fig. 6 is the method flow diagram of a kind of charging of providing of the embodiment of the present invention 4;
Fig. 7 is the method flow diagram of a kind of charging of providing of the embodiment of the present invention 5;
Fig. 8 is a kind of general AS schematic diagram that the embodiment of the present invention 6 provides;
Fig. 9 is the schematic diagram of a kind of charge system of providing of the embodiment of the present 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 present invention provides a kind of method of online charging, comprising:
Step 101: receive call request, according to the calling number that this call request is carried, obtain the business information that is used for charging that the calling subscriber contracts;
Step 102: send call request to business AS corresponding to business information that is used for charging, when the confirmation information that receives service application service device AS (business AS) reply, send accounting request to OCS, request OCS charging;
In embodiments of the present invention, general application server (general AS) is obtained the business information that the calling subscriber contracts and select to be used for the business information of charging from the business information of obtaining, and sends accounting request to OCS, request OCS charging.Wherein, obtain and select the business information of a business by general AS, call request is transmitted to AS corresponding to this business, and send accounting request to OCS, so, only call request need to be sent to an AS, and only have an AS to judge operation, and only send an accounting request, also avoided OCS to select business according to ID and the calling number of the business of carrying in each accounting request, share 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 present invention provides a kind of method of charging.The present embodiment is applied to the network architecture as shown in Figure 3, in the IMS system, a general AS is set in advance, triggers the OCS charging by general AS, and as shown in Figure 4, the 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 for the sign calling subscriber, and called number is used for the sign 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 arranges general AS in advance in the IMS system, general AS is responsible for the call meters of each user in a zone, the service provider arranges 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) obtain the business information that the calling subscriber contracts in advance in, wherein, business information comprises ID, business AS address and the OCS address of business at least;
Wherein, service provider's define grid business, take Network as the one or more logic business of basis definition, and logic business is superimposed upon on Network.The calling subscriber in advance with service provider's Network of contracting, in addition can also be take this Network as the basis and signing other the logic business of service provider, then the business information of service provider's each business that calling subscriber's calling number and calling subscriber contracted is stored in HSS.
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 business 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 the business information of correspondence.
Wherein, in the IMS system, have online charging mode and offline charging mode, every kind of mode all is responsible for charging by the OCS of correspondence.The calling subscriber is also this service log-on charging way to signing certain business of service provider in advance, the service provider need to obtain the address of OCS of the charging way of the address of business 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 business AS that obtains and the address of OCS be as business information, then this calling subscriber's calling number and business information is stored in HSS.
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 signing PPS business of service provider, and the vpn service of having contracted take the PPS business as basic and service provider, and the charging way that is all both 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 business AS of storage PPS business is PPSAS, and the address of PPS AS is IPpps, the ID of vpn service is IDvpn, the business AS of storage vpn service is VPN AS, and the address of VPN AS is IPvpn, 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 are as the business information of vpn service, corresponding relation with 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 in HSS and business information.
Table 1
Figure GSB00001116149900061
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 a business information, general AS directly selects this business information, if general AS gets a plurality of business information, 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 " priority by business is selected business information ", namely general AS according to the priority of this rule and policy according to each business, selects the business information of the high business of priority.
Correspondingly, go back the ID of storage service and the corresponding relation of priority in advance in general AS.If general AS gets a plurality of business information, 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 the priority of each business, selects the business information corresponding to business of priority maximum;
Step 205: general AS is according to business information and the calling number selected, obtain the residue amount of business corresponding to the business information of selection from management server, if the residue amount of obtaining is not 0, with the business information selected as the business information for charging, execution in step 206;
Wherein, store the ID of calling number, business and the corresponding relation of residue amount in 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 corresponding relation of the ID of the calling number of management server stores, business and residue amount, if the residue amount of searching is not 0, execution in step 206.
Wherein, if the residue amount of searching be 0 and also have remaining business information, general AS need to from remaining business information, reselect a business information according to the rule and policy that obtains, and then carry out this step.
Step 206: general AS sends to corresponding business AS according to the address of the business AS of the business information that is used for charging of selecting 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 to 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 determining, this business AS can not provide business for this calling subscriber, send notice to general AS, after general AS receives this notice, if also there is remaining business information, from remaining business information, select a business information that is used for charging, begin operation from step 305 again, otherwise, end operation.
Wherein, in the present embodiment, if general AS gets the business information of a plurality of business, select a business information that is used for the business of charging, and the forwarding conversation request gives business AS corresponding to this business information, this business AS judges operation again, so avoided call request is transmitted to business AS corresponding to each business information, then each business AS judges operation, takies resource thereby reduce, and has saved operation cost; In addition, general AS selects a business information that is used for the business of charging from the business information of a plurality of business, and OCS does not need to do the operation of selecting business information again, thereby has shared the some work of OCS, can reduce the equipment investment to OCS.
Step 208: general AS receives this confirmation, according to the address of the OCS in the business information of selecting, sends accounting request to the OCS of correspondence; Wherein, this accounting request is carried the ID of the business in the business information of calling number and selection at least;
Step 209:OCS receives this accounting request, and according to the ID of the calling number in accounting request and business, 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 accounting request, carry out wholesale price according to the ID of the business in this accounting request, obtain charging rate, ID according to the calling number of carrying in this accounting request and business, search corresponding residue amount from the corresponding relation of the ID of the calling number of management server stores, business and 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, calculate according to residue amount and charging rate and set aside some time; If do not surpass, the time that will set aside some time and be set to preset, send and to 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, existing multiple method of carrying out wholesale price according to the ID of business, for example, can arrange the ID of business and the corresponding relation of price in advance in OCS at present, and wherein, each business can corresponding one or more prices.
Therefore, OCS carries out the operation of wholesale price according to the ID of the business that accounting request is carried, be specially: OCS receives this accounting request, according to the ID of the business of carrying in this accounting request, from the corresponding relation of the ID of business and price, search corresponding price, if find out a plurality of prices, according to default price of policy selection as charging rate, if find out a price, 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 the calling number in call request and called number, sets up session channel between calling subscriber and called subscriber;
particularly, after CSCF confirmation of receipt information, call request is sent to MGCF (Media Gateway Control 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 that signaling is to this mobile switch, this mobile switch confirmation of receipt signaling also is transmitted to MGCF, MGCF receives the concurrent confirmation of sending of this confirmation signaling to CSCF, CSCF confirmation of receipt information also is transmitted to the calling subscriber, the calling subscriber receives this confirmation, so, set up talk channel between calling subscriber and called subscriber.
Wherein, when CSCF sends to MGCF with call request, and the mobile network that MGCF connects supports signalling, thus after MGCF receives call request, call request need to be converted to demand signalling, then send.
Wherein, when after setting up session channel between calling subscriber and called subscriber, the calling subscriber just can and utilize business and the called subscriber that AS provides to converse by this session channel.
Step 212: general AS monitors and timing calling subscriber and called subscriber's conversation, if hang up or time of timing reaches when setting aside some time in the interior conversation of setting aside some time, send charge information to OCS, this charge information carries the ID of calling number, 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 at interior calling subscriber and/or the called subscriber's kill-call of setting aside some time, or be not hung up and time of timing reaches when setting aside some time in the interior conversation of setting aside some time, send charge information to OCS, this charge information carries the ID of time, calling number and the business of timing.
Step 213:OCS receives this charge information, and the ID of time, calling number and the business of carrying according to this charge information deducts 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, the calling number of carrying according to this charge information and the ID of business, from the corresponding relation of the ID of the calling number of management server stores, business and residue amount, search corresponding residue amount, deduct cost of the phone call from the residue amount of searching, 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 called subscriber is hung up, general AS, CSCF or calling subscriber send notice to OCS, and finish all operations; If the conversation between calling subscriber and called subscriber is not hung up, after OCS deducts fees operation, also continue execution in step 214.
Step 214:OCS is according to the ID of calling number and this business, 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 to execution in step 212.
Particularly, the first step, whether the remaining residue amount of judgement is 0, if not, carries out second step, if so, carries out for the 3rd step;
Second step, OCS reset sets aside some time, and sends and to carry the setting aside some time to general AS of setting, returns to execution in step 212;
Wherein, OCS resets that in the process of setting aside some time and step 209, the process of setting aside some time to be set identical, no longer describes in detail at this.
In the 3rd step, OCS sends notice to general AS, receives the accounting request of general AS transmission, and this accounting request is carried ID and the calling number of the business that general AS reselects;
Wherein, after general AS reception notification, reselect a business information that is used for charging according to rule and policy from remaining business information, and send call request to business AS corresponding to the business information of selecting, when the confirmation information that receives this business AS, send accounting request 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 step 209, the 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 the business information of each business that the calling subscriber contracts, select the business information of a business, business AS corresponding to business that selects given in the forwarding conversation request, send again accounting request OCS, OCS receives this accounting request, setting is set aside some time, reply is carried the response message of setting aside some time to general AS, general AS receives response message, conversation between calling subscriber and called subscriber is monitored and timing, if be hung up in the conversation of setting aside some time between interior calling subscriber and/or called subscriber, or the time of timing arrives when setting aside some time, send charge information to OCS, OCS receives this charge information, deduct fees according to this charge information.Selected the business information of business by general AS, business AS corresponding to business that selects given in the forwarding conversation request, so only have a business AS to make operation in network, send an accounting request to OCS, OCS does not need to select business according to the ID of the business of carrying in each accounting request 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 called subscriber, has shared OCS work, thereby has reduced the equipment investment to OCS.
Embodiment 3
The embodiment of the present invention provides a kind of method of charging.Suppose, the charging way that calling subscriber A is prior and the service provider contracts the PPS business and registers the PPS business, the charging way of signing 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, the 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 call request, obtains the business information of the signing 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 call request, in the calling number as shown in table 1 of storing from HSS 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 business 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, the business AS address of storage vpn service is that the address of IPvpn and OCS is IPocs.
Step 304: general AS obtains rule and policy and is " selecting business information by the priority of business " 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 priority 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 priority 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, the prior corresponding relation of the ID of storage each business as shown in table 2 and corresponding priority in general AS.
Table 2
The ID of business Priority
IDpps 4
IDvpn 5
...... ......
Step 305: general AS obtains the residue amount according to business information and the calling number NumberA of the vpn service of selecting from management server, if the residue amount is not 0, execution in step 306;
Particularly, according to the IDvpn of calling number NumberA and vpn service, from the corresponding relation of the ID of the calling number as shown in table 3 of management server stores, business and residue amount, searching corresponding residue amount is 0.
Wherein, the residue amount of searching is 0, therefore, select the business information of PPS business from remaining business information 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, therefore selects the business information conduct of PPS business for the business information of charging, execution in step 306.
Table 3
Figure GSB00001116149900121
Step 306: after general AS reselects the business information of PPS business, according to the IPpps in the business information of PPS business, send this call request to the PPS AS of correspondence;
Step 307:PPS AS receives this call request, and judging can be for calling subscriber A provides the PPS business, and sends confirmation to general AS;
Step 308: general AS confirmation of receipt information, send accounting request to OCS corresponding to IPocs, this accounting request is carried the IDpps of calling number NumberA and PPS business at least;
Step 309:OCS receives this accounting request, and according to the IDpps of the calling number NumberA in this accounting request and 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 accounting request, IDpps according to the PPS business of carrying in this accounting request, search price 0.2 from the corresponding relation of the ID of business as shown in table 4 and price, 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, in the corresponding relation of the ID of business and residue amount to search corresponding residue amount be 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 5 of being arranged to preset so will set aside some time, and will set aside some time by response message and 5 send to OCS.
Table 4
The ID of business 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 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 confirmation signaling to CSCF, CSCF confirmation of receipt information also is transmitted to calling subscriber A, calling subscriber A receives this confirmation, so set up talk channel between calling subscriber A and called subscriber B.
Step 312: as calling subscriber A when conversing with called subscriber B, the conversation of general AS monitoring calling subscriber A and called subscriber B and beginning timing, wherein, interior conversation is not hung up setting aside some time, 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, IDpps and the calling number NumberA of business at least;
Step 313:OCS receives this charge information, deducts fees according to the IDpps of time 5, calling number NumberA and the business of carrying in charge information;
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, search corresponding price 0.2 from the corresponding relation of the ID of business as shown in table 4 and price, according to the 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 the ID of business and residue amount, find out corresponding residue amount 50, calculate remaining residue amount 49 according to the 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, because the conversation between calling subscriber A and called subscriber B is also continuing, set aside some time so OCS also needs to arrange, proceed conversation to keep calling subscriber A and called subscriber B.
Step 314:OCS arranges 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 according to charging rate 0.2 and default time 5, judge cost of the phone call 1 less than remaining residue amount 49, the time 5 of being arranged to preset with setting aside some time, send and carry 5 the response message of setting aside some time to general AS.
Step 315: general AS receives this response message, this conversation is monitored and begun timing, 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 according to the information that this charge information carries, and EO.
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, search corresponding price 0.2 from the corresponding relation of the ID of business as shown in table 4 and price, according to the 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 the ID of business and residue amount, find out corresponding residue amount 49, calculate remaining residue amount 48.4 according to the 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 accounting request to OCS, after OCS receives this accounting 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, conversation between calling subscriber A and called subscriber B is monitored and timing, send charge information to OCS, OCS deducts fees according to charge information.Wherein, general AS searches calling subscriber A signing PPS business information and vpn service information, and the business information of selection PPS business, send call request to PPS AS, send again accounting request to OCS, so avoid sending a plurality of call request to PPSAS and VPN AS, and a plurality of accounting 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 investment to OCS.
Embodiment 4
The embodiment of the present invention provides a kind of method of charging.Suppose, the charging way that calling subscriber C is prior and the service provider contracts the PPS business and registers the PPS business, the charging way of signing 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 the OCS charging.As shown in Figure 6, the 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 call request, obtains the business information of the signing 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 call request, in the calling number as shown in table 1 of storing from HSS 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 business 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, the business 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 " by the priority selection business work and rest of business " 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 " by the priority selection business work and rest of business " from management server, according to the IDpps in the business information of PPS business, searching corresponding priority from the corresponding relation of ID and the priority of the business as shown in table 2 of self storage is 4, according to the IDvpn in the business information of vpn service, searching corresponding priority from the corresponding relation of ID and the priority of the business as shown in table 2 of self storage is 5, chooses the business information of the high vpn service of priority.
Step 405: general AS searches the residue amount according to 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, execution in step 406;
Particularly, according to the IDvpn of calling number NumberC and vpn service, from the corresponding relation of the ID of the calling number as shown in table 3 of management server stores, business and residue amount, searching corresponding residue amount is 1.5, therefore, and execution in step 406.
Step 406: general AS sends this call request to the VPNAS of 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 accounting request to OCS corresponding to IPocs, this accounting request is carried the IDvpn of calling number NumberC and vpn service at least;
Step 409:OCS receives this accounting request, and according to the IDvpn of the calling number NumberC in this accounting request and vpn service, setting is set aside some time, suppose, setting aside some time of arranging is 3, sends response message to OCS, and this response message comprises at least sets aside some time 3;
particularly, OCS receives this accounting request, IDvpn according to the vpn service that carries in this accounting request, search price 0.5 from the corresponding relation 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, in the corresponding relation of the ID of business and residue amount to search corresponding residue amount be 1.5, do according to charging rate 0.5 and default time 5 and 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 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: as calling subscriber C when conversing with called subscriber B, general AS monitors the conversation between calling subscriber C and called subscriber B and begins timing, suppose to converse and do not hang up in setting aside some time, 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, IDvpn and the calling number NumberC of business 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 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, search corresponding price 0.5 from the corresponding relation of ID and the price of the business as shown in table 4 of self storage, according to the 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 the ID of business and residue amount, find out corresponding residue amount 1.5, calculate remaining residue amount 0 according to the residue amount of searching and cost of the phone call, the residue amount of searching is updated to remaining residue amount 0.
Wherein, because the conversation between calling subscriber C and called subscriber B is also continuing, set aside some time so OCS also needs to arrange, proceed conversation to keep calling subscriber C and called subscriber B.
It is 0 that step 414:OCS judges remaining residue amount, sends notice to general AS;
Step 415: after general AS receives this notice, select the business information of PPS business as the business information that is used for charging from the business information of remaining PPS business;
Step 416: general AS is according to the 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, sends call request to PPS AS;
Wherein, PPS AS receives this call request, and according to the calling number NumberC that carries in this call request, judgement calling subscriber C can use the PPS business, and sends confirmation to general AS.
Step 417: general AS receives the confirmation information of PPS AS, sends accounting request to OCS, and this accounting request is carried the IDpps of calling number NumberC and PPS business;
Step 418:OCS receives this accounting request, and according to the IDpps of the calling number NumberC that carries in this accounting request and 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, the beginning timing, and monitor out calling subscriber C kill-call when the time of timing reaches 3, 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, search corresponding price 0.2 from the corresponding relation of ID and the price of the business as shown in table 4 of self storage, according to the 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 the ID of business and residue amount, find out corresponding residue amount, calculate remaining residue amount according to the 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 accounting request to OCS, after OCS receives this accounting 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, conversation between calling subscriber A and called subscriber B is monitored and timing, send charge information to OCS, OCS deducts fees according to charge information.Wherein, general AS searches calling subscriber A signing PPS business information and vpn service information, and selects vpn service information, send again accounting request to OCS, so avoid sending a plurality of accounting requests, take resource thereby saved, reduce service provider's operation cost; In addition, general AS selects the conversation between business information and monitoring calling subscriber A and called subscriber B, has shared OCS work, thereby has reduced the equipment investment to OCS.
Embodiment 5
The embodiment of the present invention provides a kind of method of charging.The thing row arranges a general AS in the IMS system in the present embodiment, triggers the OCS charging by general AS, and as shown in Figure 7, the 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 the in advance business information of signing business of calling subscriber from HSS, and wherein, business information comprises ID, AS address and the OCS address of business at least;
Particularly, general AS receives this call request, the calling number of carrying according to this call request, from the calling number of HSS storage and business obtain corresponding business information the corresponding relation of information, the business information of obtaining comprises ID, business AS address and the OCS address of business 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 " priority by business is selected business information ", and correspondingly, general AS obtains the priority of each business 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, with the business information selected as the business information for charging, and execution in step 506;
Wherein, if the residue amount of searching is 0, general AS from remaining business information, reselects a business information according to rule and policy, and carries out this step again.
Step 506: general AS sends this call request to the business AS of correspondence according to the business 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 to general AS;
Step 508: general AS receives this confirmation, and this confirmation is transmitted to CSCF;
Step 509:CSCF receives this confirmation, according to the calling number in 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, write ticket, and comprise at least the traffic ID in the business information of air time, calling number and selection of timing in the ticket of writing;
Step 511: general AS is according to the address of the OCS of the business information that is used for charging of selecting, 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 the air time in this ticket and charging rate, ID according to the calling number in this ticket and business, search corresponding residue amount from the corresponding relation of the ID of the calling number of management server stores, business and 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 the business information of each business that the calling subscriber contracts, select the business information of a business, AS corresponding to business that selects given in the forwarding conversation request, again calling subscriber and called subscriber's conversation is monitored after this AS confirms 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.Selected the business information of business by general AS, AS corresponding to business that selects given in the forwarding conversation request, so only have an AS to judge operation in 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 called subscriber, has shared OCS work, thereby has reduced the equipment investment to OCS.
Embodiment 6
As shown in Figure 8, the embodiment of the present invention provides a kind of general AS, comprising:
Acquisition module 601 is used for receiving call request, according to the calling number that this call request is carried, obtains the business information that is used for charging that the calling subscriber contracts;
Sending module 602, be used for to send this call request to described for business AS corresponding to the business information of charging, the confirmation information when receiving this business AS and replying sends accounting request to OCS, request OCS charging.
Wherein, acquisition module 601 specifically comprises:
Acquiring unit 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, is used for the business information of charging according to the rule and policy policy selection of obtaining.
Wherein, selected cell specifically comprises:
The highest business information corresponding to business of priority if the rule and policy that is used for obtaining is " priority by business is obtained business information ", according to the priority of business, selected in the chooser unit from all business information that the calling subscriber contracts;
Search subelement, be used for the ID according to the business information business of calling number and selection, from the corresponding relation of the ID of the calling number of management server stores, business and residue amount, search corresponding residue amount;
Judgment sub-unit is used for whether the residue amount that judgement searches is 0, if not, with the business information selected as the business information for charging; If so, reselect business information for charging according to the priority of business from remaining business information.
Further, this general AS also comprises:
The first monitoring module, for the response message that receives OCS, this response message is carried and is 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, the first monitoring module specifically comprises:
Monitoring unit is used for calling subscriber and called subscriber's conversation is monitored and begun timing;
The first transmitting element if the time that is used for timing in setting aside some time, is monitored out conversation and is hung up, sends charge information to OCS;
The second transmitting element, conversation is not hung up and time of work as timing arrives when setting aside some time if the time that is used for timing in setting aside some time, is monitored out, and the transmission charge information is to OCS.
Wherein, sending module 602, concrete this call request of transmission that is used for is to business AS corresponding to business information that is used for charging, when the confirmation information that receives business AS reply, transmit telephone bill is to OCS, request OCS charging, this ticket comprise at least the air time and are used for the calling number of business information of charging and the ID of business;
Correspondingly, this general AS also comprises:
The second monitoring module is used for the conversation between calling subscriber and called subscriber is monitored and the air time is carried out timing, is hung up if monitor out described conversation, writes ticket.
In embodiments of the present invention, general AS obtains the business information that the calling subscriber contracts from HSS, and selects to be used for the business information of charging according to rule and policy, sends accounting request to OCS, request OCS charging.Wherein, obtain and select the business information of a business by general AS, call request is transmitted to business AS corresponding to this business, and send accounting request to OCS, so, only call request need to be sent to a business AS, and only have a business AS to judge operation, and only send an accounting request, avoided OCS to select business according to ID and the calling number of the business of carrying in each accounting request; General AS also monitors the conversation between calling subscriber and 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 present 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 for charging that the calling subscriber contracts; Send call request to business AS corresponding to business information that is used for charging, when the confirmation information that receives business AS reply, send charge information to OCS702, request OCS charging 702.
In embodiments of the present invention, general AS obtains from HSS the business information that the calling subscriber contracts, and selects to be used for the business information of charging from the business information of obtaining according to rule and policy, sends accounting request to OCS, request OCS charging.Wherein, obtain and select the business information of a business by general AS, call request is transmitted to business AS corresponding to this business, and send accounting request to OCS, so, only call request need to be sent to a business AS, and only have a business AS to judge operation, and only send an accounting request, avoided OCS to select business according to ID and the calling number of the business of carrying in each accounting request; General AS also monitors the conversation between calling subscriber and 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 by software programming, and its software program is stored in the storage medium that can read, storage medium for example: the hard disk in computer, CD or floppy disk.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. the method for a charging, is characterized in that, described method comprises:
Receive call request, according to the calling number that described call request is carried, obtain the business information that is used for charging that the calling subscriber contracts;
Send described call request to described for service application service device AS (business AS) corresponding to the business information of charging, the confirmation information when receiving described business AS and replying sends accounting request to Online Charging System OCS, asks described OCS charging;
Wherein, described calling number of carrying according to described call request is obtained the business information that is used for charging 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;
Obtain rule and policy from management server, from all business information that described calling subscriber contracts, select described business information for charging according to described rule and policy;
Wherein, if described rule and policy is selected business information for the priority by business, from all business information that described calling subscriber contracts, select described business information for charging according to described rule and policy, specifically comprise:
According to the priority of business, select the highest business information corresponding to business of priority from all business information that described calling subscriber contracts;
According to the sign ID of business in the business information of described calling number and described selection, from the corresponding relation of the ID of the calling number of described management server stores, business 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 described business information for charging; If so, the priority according to business reselects described business information for charging from remaining business information.
2. the method for claim 1, is characterized in that, described transmission accounting request also comprises to after OCS:
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 to described OCS, make described OCS deduct fees according to described charge information.
3. method as claimed in claim 2, is characterized in that, described conversation to described calling subscriber and called subscriber is monitored and timing, and send charge information to described OCS, specifically comprises:
Calling subscriber and called subscriber's conversation is monitored and begun timing;
, monitor out described conversation and be hung up in described setting aside some time when time of timing, send described charge information to described OCS;
In described setting aside some time, monitor out that described conversation is not hung up and time of working as timing when arriving described setting aside some time when time of timing, send described charge information to described OCS.
4. the method for claim 1, is characterized in that, described transmission accounting request specifically comprises to OCS:
Transmit telephone bill comprises air time and the calling number of described business information for charging and the ID of business for described OCS, described ticket at least;
Correspondingly, described transmission charge information also comprises to before OCS:
Conversation between described calling subscriber and called subscriber monitored and the air time is carried out timing, be hung up if monitor out described conversation, writing ticket.
5. a general application server AS (general AS), is characterized in that, described general AS comprises:
Acquisition module is used for receiving call request, according to the calling number that described call request is carried, obtains the business information that is used for charging that the calling subscriber contracts;
Sending module, be used for sending described call request to described for business AS corresponding to the business information of charging, the confirmation information when receiving described business AS and replying sends accounting request to OCS, asks described OCS charging;
Wherein, 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 described business information for charging according to described rule and policy;
Wherein, described selected cell specifically comprises:
The chooser unit is used for selecting business information when described rule and policy for the priority by business, according to the priority of business, selects the highest business information corresponding to business of priority from all business information that described calling subscriber contracts;
Search subelement, be used for the sign ID according to the business information business of described calling number and described selection, from the corresponding relation of the ID of the calling number of management server stores, business and residue amount, search corresponding residue amount;
Judgment sub-unit is used for judging whether described residue amount of searching is 0, if not, with the business information of described selection as described business information for charging; If so, the priority according to business reselects described business information for charging from remaining business information.
6. general AS as claimed in claim 5, is characterized in that, described general AS also comprises:
The first monitoring module, for the response message that receives 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 to described OCS; Make described OCS deduct fees according to described charge information.
7. general AS as claimed in claim 6, is characterized in that, described the first monitoring module specifically comprises:
Monitoring unit is used for described calling subscriber and called subscriber's conversation is monitored and begun timing;
The first transmitting element if the time that is used for timing in described setting aside some time, is monitored out described conversation and is hung up, sends described charge information and states OCS to the online charge system of institute;
The second transmitting element, described conversation is not hung up and when work as described the setting aside some time of time arrival of timing, send described charge information to described OCS if the time that is used for timing in described setting aside some time, is monitored out.
8. general AS as claimed in claim 5, is characterized in that,
Described sending module, concrete be used for sending described call request to described for business AS corresponding to the business information of charging, when the confirmation information that receives described business AS reply, transmit telephone bill is given described OCS, ask described OCS charging, described ticket comprises air time and the calling number of described business information for charging and the ID of business at least;
Correspondingly, described general AS also comprises:
The second monitoring module is used for the conversation between described calling subscriber and called subscriber is monitored and the air time is carried out timing, is hung up if monitor out described conversation, writes ticket.
9. 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 for charging that the calling subscriber contracts; Send described call request to described for business AS corresponding to the business information of charging, the confirmation information when receiving described business AS and replying sends charge information to described OCS, asks described OCS charging;
Wherein, described calling number of carrying according to described call request is obtained the business information that is used for charging 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;
Obtain rule and policy from management server, from all business information that described calling subscriber contracts, select described business information for charging according to described rule and policy;
Wherein, if described rule and policy is selected business information for the priority by business, from all business information that described calling subscriber contracts, select described business information for charging according to described rule and policy, specifically comprise:
According to the priority of business, select the highest business information corresponding to business of priority from all business information that described calling subscriber contracts;
According to the sign ID of business in the business information of described calling number and described selection, from the corresponding relation of the ID of the calling number of described management server stores, business 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 described business information for charging; If so, the priority according to business reselects described business information for charging from remaining business information.
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 CN102142968A (en) 2011-08-03
CN102142968B true 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)

Families Citing this family (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
CN103052047B (en) * 2012-12-19 2016-01-06 华为技术有限公司 A kind of online charging method, Apparatus and system based on number portability service

Citations (2)

* 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
CN101202797A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 CS field / IMS voice FMC operational program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8289885B2 (en) * 2006-10-27 2012-10-16 Alcatel Lucent Third party charging for SIP sessions

Patent Citations (2)

* 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
CN101202797A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 CS field / IMS voice FMC operational program

Non-Patent Citations (8)

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

Also Published As

Publication number Publication date
CN102142968A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
CN1867024B (en) Charging information transmitting method
CN101340449B (en) Mobile terminal and method for obtaining network access information
CN101843034B (en) Method, apparatus and system for supporting distributed IMS charging
CN109151009B (en) CDN node distribution method and system based on MEC
EP2283626B1 (en) Composite services provision within a telecommunications network
CN101616126A (en) Realize method, the Apparatus and system of data access authority control
CN101345632A (en) Method and system for charging data presentation business, and data business management equipment
CN112465615B (en) Method, device and system for processing bill data
CN103428666A (en) Charging method and device
CN104219069A (en) Access frequency control method, device and control system
CN109447504A (en) A kind of clean-keeping service management system
CN101809982A (en) Billing for calls and routing of billing information in an internet protocol multimedia subsystem
CN105530198A (en) Access control method and device for mobile terminal
CN102142968B (en) Charging method, device and system
KR101341082B1 (en) System and method for monitoring virtual agents
CN101742460A (en) Method and system for charging and charging information determination equipment
CN102970391B (en) Inquiry of the domain name processing method, server and system
CN103841080A (en) Called number completion method, device and system
CN101340669A (en) Mobile terminal, communication method and system thereof
CN103870471B (en) Two degree of good friend's inquiry systems, method and apparatus
CN101795302A (en) Method and system for identifying group users
CN101924841B (en) Building and control method of a kind of call center and data center's distributed frame
CN103139751A (en) Method and apparatus for providing alternative telephony service, and method of computing inverse call charge using the same
JP5382966B1 (en) Notification system
CN101754159A (en) Charging method, charging server and charging 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20161213