Method for maintaining continuity of ‘diameter’ protocol-based online charging
10230852 · 2019-03-12
Assignee
Inventors
Cpc classification
H04L12/14
ELECTRICITY
G06Q20/40
PHYSICS
International classification
G06Q20/06
PHYSICS
G06Q20/40
PHYSICS
H04M15/00
ELECTRICITY
G06Q40/00
PHYSICS
Abstract
The present invention relates to a method for maintaining continuity of Diameter online charging. The method comprises the following steps: a) initializing, when a user is moving, the relocation of a prepayment client terminal from an old prepayment client terminal to a new prepayment client terminal, and implementing the re-authentication of a mobile station at the new prepayment client terminal; b) transmitting the context information of an old Diameter online charging session from the old prepayment client terminal to the new prepayment client terminal after the re-authentication has been successfully completed; c) transmitting an initial credit control request (CCR) message comprising the identification of the old Diameter online charging session from the new prepayment client terminal to a prepayment server for continuing the old Diameter online charging session, and request for a quota by a prepayment proxy to the prepayment server via the new prepayment client terminal; and d) disconnecting the old connection between the old prepayment client terminal and the prepayment server.
Claims
1. A method for maintaining continuity of Diameter online charging comprising: a) in response to a mobile station moving from an old prepayment client terminal to a new prepayment client terminal, relocating a prepayment client terminal from the old prepayment client terminal to the new prepayment client terminal and re-authenticating the mobile station at the new prepayment client terminal; b) transmitting context information of an old Diameter online charging session from the old prepayment client terminal to the new prepayment client terminal after the re-authentication has been successfully completed, and request for a quota by a prepayment proxy to a prepayment server via the new prepayment client terminal; c) sending to the prepayment server a message indicating the relocation of the prepayment client terminal from the old prepayment client terminal to the new prepayment client terminal; d) maintaining by the prepayment proxy an old quota and a new quota separately, and using the old quota continuously for online charging until the new quota is available and is valid for the prepayment proxy to ensure continuity of the old Diameter online charging session; e) sending a continuously charging message to the prepayment server prompting the prepayment server to complete the old online Diameter charging session; f) after the new quota has become available and valid, reporting by the prepayment proxy to the prepayment server the information regarding the used old quota, returning by the prepayment proxy a remaining balance of the old quota to the prepayment server, and initializing by the prepayment proxy a closure of the old Diameter online charging session; and g) closing the old Diameter online charging session by the old prepayment client terminal.
2. The method as claimed in claim 1, characterized in that the old quota is the quota allocated via the old prepayment client terminal, and the new quota is that allocated via the new prepayment client terminal.
3. The method as claimed in claim 1, characterized in that the relocation of the prepayment client terminal from the old prepayment client terminal to the new prepayment client terminal is accomplished in a push or pull mode.
4. The method as claimed in claim 1, characterized in that the re-authenticating the mobile station comprises an extended authentication protocol stage and a PKMv2 3WHS stage.
5. The method as claimed in claim 1, characterized in that after the re-authenticating the mobile station has been successfully completed, the new prepayment client terminal initializes R4 relocation to accomplish a transaction process.
6. The method as claimed in claim 5, characterized in that by way of transmitting a relocation_finish_request message, the new prepayment client terminal informs the old prepayment client terminal of a successful completion of the re-authenticating the mobile station, the old prepayment client terminal responds with a relocation_finish_respond message, and the old prepayment client terminal deletes a context of the mobile station upon receiving a relocation_finish_confirmation message.
7. The method as claimed in claim 6, characterized in that the new prepayment client terminal sets an online charging context bit in context objective indicators to indicate requesting a context of the old prepayment client terminal.
8. The method as claimed in claim 6, characterized in that a relocation_finish_respond message provides a mobile station context including the context of the old prepayment client terminal.
9. The method as claimed in claim 1, characterized in that before the prepayment proxy requests a new quota from the prepayment server via the new prepayment client terminal, the new prepayment client terminal transmits a context report message to the prepayment proxy so as to use a location/identification of the new prepayment client terminal to update the prepayment proxy.
10. A method for maintaining continuity of a session, the method comprising: a) in response to a mobile station moving from an old client terminal to a new client terminal, relocating a client terminal from the old client terminal to the new client terminal and re-authenticating the mobile station at the new client terminal; b) transmitting the context information of an old session from the old client terminal to the new client terminal after the re-authentication has been successfully completed, and requesting for a quota by a proxy to a server via the new client terminal; c) sending to the server a message indicating the relocation of the client terminal from the old client terminal to the new client terminal; d) maintaining by the proxy an old quota and a new quota separately, and using the old quota continuously until the new quota is available and is valid for the proxy to ensure continuity of the old session; e) sending a complete message to the server prompting the server to complete the old session; f) after the new quota has become available and valid, reporting by the proxy to the server the information regarding an amount of the old quota that has been used and returning a remaining balance of the old quota to the server; and initializing a closure of the old session also by the proxy; and g) closing the old session by the old client terminal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention will be described herein below in detail in combination with the drawings, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
Particular Embodiments
(8) Based on the online charging architecture defined on the basis of WiMAX specifications,
(9) 1. The context information of a Diameter session is transmitted from an old prepayment client terminal to a new prepayment client terminal. Further, the session will continue in the new link.
(10) 2. When the preset threshold of remaining quota is reached or the quota is used up, the prepayment proxy will start requesting a quota from the prepayment server via the new prepayment client terminal.
(11) 3. After the prepayment client terminal has been relocated, for a CCR message from the new prepayment client terminal to the prepayment server it shall comprise the old session ID which can be used for continuing the old Diameter online charging session. Two methods are defined here to indicate to the prepayment server that the message is the initial CCR message after the prepayment client terminal relocation, since the message is also used for continuing the session and it is different from the normal initializing message and updating message:
(12) The first method is to define for the CCR a new message type (e.g. a CCR message type of continuously charging) other than initializing, updating and finishing. When the prepayment server receives the message, it will know at once what the message is and will successfully complete the old session with the information in the message.
(13) The second method is to use some special attribute value pair (AVP) to indicate that this is a special message after the relocation of the prepayment client terminal instead of defining a new CCR message type. In this way, if this AVP is applicable, then the AVP of the old session ID can also be used for this purpose simultaneously.
(14) 4. After the prepayment server has switched the Diameter session from the old connection to the new connection, the prepayment server breaks the old connections between the prepayment proxy, the old prepayment client terminal and the prepayment server.
(15) Aiming at this plan,
(16)
(17) 1. In the case of the relocation of a prepayment client terminal, a prepayment proxy (PPA) shall maintain the old quota and the new quota separately. The old quota is the quota allocated via the old prepayment client terminal, and the new quota is that allocated via the new prepayment client terminal.
(18) 2. The old quota shall be used for online charging until the new quota is available and is valid for the prepayment proxy so as to ensure the continuity of the user session.
(19) 3. After the new quota is available and valid, the prepayment proxy shall report the information of the used old quota to the prepayment server via the new prepayment client terminal, and if the remaining old quota is still available, the prepayment proxy shall return the remaining old quota to the prepayment server.
(20) Aimed at the plan illustrated in
(21) Although the present invention is described above in combination with a WiMAX network as an example, apparently the present invention is not limited as such, and it can be modified in many ways within the scope of the appended claims.