Method and related device for controlling service charging
First Claim
1. A method for controlling service charging, comprising:
- receiving, by a Diameter credit control DCC server, a credit control request CCR message sent by a DCC client;
if at least two tariff time changes TTCs are comprised in a preset temporary validity time VT from current system time, acquiring, by the DCC server and from the at least two TTCs, a first TTC which is the earliest and a second TTC which is the second earliest;
modifying, by the DCC server, the temporary VT according to the first TTC and the second TTC to obtain a modified VT, so that only the first TTC is comprised in the modified VT from the current system time; and
sending, by the DCC server, a credit control answer CCA message to the DCC client, wherein the CCA message comprises the first TTC and the modified VT.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method and a related device for controlling service charging. The method for controlling service charging includes: receiving, by a Diameter credit control DCC server, a credit control request CCR message sent by a DCC client; if at least two tariff time changes TTCs are included within a preset temporary validity time VT from current system time, acquiring, by the DCC server and from the at least two TTCs, a first TTC which is the earliest and a second TTC which is the second earliest; modifying, by the DCC server, the temporary VT according to the first TTC and the second TTC to obtain a modified VT, so that only the first TTC is included in the modified VT from the current system time; and sending, by the DCC server, a credit control answer CCA message to the DCC client, where the CCA message includes the first TTC and the modified VT.
9 Citations
15 Claims
-
1. A method for controlling service charging, comprising:
- receiving, by a Diameter credit control DCC server, a credit control request CCR message sent by a DCC client;
if at least two tariff time changes TTCs are comprised in a preset temporary validity time VT from current system time, acquiring, by the DCC server and from the at least two TTCs, a first TTC which is the earliest and a second TTC which is the second earliest; modifying, by the DCC server, the temporary VT according to the first TTC and the second TTC to obtain a modified VT, so that only the first TTC is comprised in the modified VT from the current system time; and sending, by the DCC server, a credit control answer CCA message to the DCC client, wherein the CCA message comprises the first TTC and the modified VT. - View Dependent Claims (2, 3)
- receiving, by a Diameter credit control DCC server, a credit control request CCR message sent by a DCC client;
-
4. A method for controlling service charging, comprising:
-
receiving, by a Diameter credit control DCC server, a credit control request CCR message sent by a DCC client; acquiring, by the DCC server, all tariff time changes TTCs comprised within a preset temporary validity time VT from current system time; reporting, by the DCC server, the temporary VT and a TTC list comprising all the TTCs, to a data processing device; receiving, by the DCC server, a first TTC and a modified VT that are fed back by the data processing device, wherein the modified VT is the VT obtained by the data processing device after modifying the temporary VT according to the first TTC and a second TTC;
the first TTC and the second TTC are two TTCs which are within the preset temporary VT from the current system time; andsending, by the DCC server, a credit control answer CCA message to the DCC client, wherein the CCA message comprises the first TTC and the modified VT.
-
-
5. A method for controlling service charging, comprising:
- receiving, by a data processing device, a tariff time change TTC list and a preset temporary validity time VT that are sent by a DCC server;
if the TTC list comprises at least two TTCs, acquiring, by the data processing device and from the TTC list, a first TTC which is the earliest and a second TTC which is the second earliest; modifying, by the data processing device, the temporary VT according to the first TTC and the second TTC to obtain a modified VT, so that only the first TTC is comprised in the modified VT from current system time; and feeding back, by the data processing device, the first TTC and the modified VT to the DCC server. - View Dependent Claims (6)
- receiving, by a data processing device, a tariff time change TTC list and a preset temporary validity time VT that are sent by a DCC server;
-
7. A method for controlling service charging, comprising:
-
receiving, by a Diameter credit control DCC server, a credit control request CCR message sent by a DCC client; and if at least two tariff time changes TTCs are comprised within a preset validity time VT from current system time, sending, by the DCC server, a credit control answer CCA message to the DCC client, wherein the CCA message comprises the at least two TTCs and the VT.
-
-
8. A method for controlling service charging, comprising:
-
sending, by a Diameter credit control DCC client, a credit control request CCR message to a DCC server; receiving, by the DCC client, a credit control answer CCA message sent by the DCC server, wherein the CCA message comprises at least two TTCs and a preset VT; for each TTC within the VT from current system time, collecting, by the DCC client, statistics on used service unit information before the TTC and used service unit information after the TTC of a user respectively; and when the VT times out, sending, by the DCC client, a CCR message to the DCC server, wherein the CCR message comprises the used service unit information that is statistically obtained.
-
-
9. A DCC server, comprising:
-
a reception unit, configure to receive a credit control request CCR message sent by a DCC client; an acquisition unit, configured to;
when at least two tariff time changes TTCs are comprised within a preset temporary validity time VT from current system time, acquire, from the at least two TTCs, a first TTC which is the earliest and a second TTC which is the second earliest;a modification unit, configured to modify the temporary VT according to the first TTC and the second TTC to obtain a modified VT, so that only the first TTC is comprised in the modified VT from the current system time; and a sending unit, configured to send a credit control answer CCA message to the DCC client, wherein the CCA message comprises the first TTC and the modified VT. - View Dependent Claims (10, 11)
-
-
12. A DCC server, comprising:
-
a message receiving unit, configure to receive a credit control request CCR message sent by a DCC client; an information acquiring unit, configured to acquire all tariff time changes TTCs comprised within a preset temporary validity time VT from current system time; an information reporting unit, configured to report, to a data processing device, the temporary VT and a TTC list comprising all the TTCs; an information receiving unit, configured to receive a first TTC and a modified VT that are fed back by the data processing device, wherein the modified VT is the VT obtained by the data processing device after modifying the temporary VT according to the first TTC and a second TTC;
the first TTC and the second TTC are two TTCs which are within the preset temporary VT from the current system time; anda message sending unit, configured to send a credit control answer CCA message to the DCC client, wherein the CCA message comprises the first TTC and the modified VT.
-
-
13. A data processing device, comprising:
-
an information receiving unit, configured to receive a tariff time change TTC list and a preset temporary validity time VT that are sent by a DCC server; a time change acquiring unit, configured to;
when the TTC list comprises at least two TTCs, acquire, from the TTC list, a first TTC which is the earliest and a second TTC which is the second earliest;an information modifying unit, configured to modify the temporary VT according to the first TTC and the second TTC to obtain a modified VT, so that only the first TTC is comprised in the modified VT from current system time; and an information sending unit, configured to feed back the first TTC and the modified VT to the DCC server.
-
-
14. A DCC server, comprising:
-
a request receiving unit, configure to receive a credit control request CCR message sent by a DCC client; and an answer sending unit, configured to;
when at least two tariff time changes TTCs are comprised within a preset validity time VT from current system time, send a credit control answer CCA message to the DCC client, wherein the CCA message comprises the at least two TTCs and the VT.
-
-
15. A DCC client, comprising:
-
a request sending unit, configure to send a credit control request CCR message to a DCC server; an answer receiving unit, configured to receive a credit control answer CCA message sent by the DCC server, wherein the CCA message comprises at least two TTCs and a preset VT; a statistics unit, configured to;
for each TTC within the VT from current system time, collect statistics on used service unit information before the TTC and used service unit information after the TTC of a user respectively; anda charging request unit, configured to;
when the VT times out, send a CCR message to the DCC server, wherein the CCR message comprises the used service unit information that is statistically obtained.
-
Specification