WO2016180177A1 - Method, system and device for realizing online charging - Google Patents

Method, system and device for realizing online charging Download PDF

Info

Publication number
WO2016180177A1
WO2016180177A1 PCT/CN2016/079592 CN2016079592W WO2016180177A1 WO 2016180177 A1 WO2016180177 A1 WO 2016180177A1 CN 2016079592 W CN2016079592 W CN 2016079592W WO 2016180177 A1 WO2016180177 A1 WO 2016180177A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
credit control
dcca client
reconnection
dcca
Prior art date
Application number
PCT/CN2016/079592
Other languages
French (fr)
Chinese (zh)
Inventor
杨明贵
林凯
刘昱婷
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016180177A1 publication Critical patent/WO2016180177A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Definitions

  • the embodiments of the present invention relate to, but are not limited to, a permanent online technology of a user, and in particular, a method and an apparatus for implementing online charging.
  • the failure retransmission refers to: when the system includes the main online charging system (OCS) and the standby OCS, if the media gateway (GW) fails to interact with the active OCS, the continuation and backup OCS are required. Interact to keep the session.
  • OCS main online charging system
  • GW media gateway
  • the failure processing refers to the processing mode when the GW fails to interact with the primary OCS, and there is no backup OCS in the system or interaction with the standby OCS.
  • Three methods are defined for the credit control failure processing (Credit-Control-Failure-Handling) in the protocol RFC4006. One is 0: indicates termination (TERMINATE), one is 1: indicates CONTINUE, and the other is 2: indicates termination after retry (RETRY_AND_TERMINATE). For details, refer to RFC4006, and details are not described herein.
  • failure is unavoidable.
  • the failure fails after the retransmission or there is no backup OCS, the service is terminated or the user's experience is affected; or the service is continued, and the system is switched to the offline charging mode, but at this time, the OCS is even after Normally, it is impossible to properly control and monitor these services.
  • users may continue to be online for a long time, which will undoubtedly cause great trouble or loss to the operator's billing.
  • OCS will also send the GW with unreachable result codes due to insufficient performance on the OCS side, such as 3004-Diameter_too_busy, 3002-Diameter_unable_to_deliver, and so on. OCS can't These services are normally controlled and monitored.
  • the purpose of the embodiments of the present invention is to provide a method, a system, and a device for implementing online charging, which can ensure that a user is permanently online and achieve a mechanism that the OCS can continuously monitor a user session.
  • the embodiment of the invention provides a method for implementing online charging. After the interaction between the DCTA client of the Diameter credit control application protocol and the server of the online charging system is abnormal, the method further includes:
  • the DCCA client stores the unprocessed bills locally or sends them to the offline charging system OFCS, and continues to maintain normal service usage;
  • the DCCA client initiates a re-establishment of the connection with the server.
  • the method further includes:
  • the DCCA client When the online charging user accesses, the DCCA client sends a credit control initial request to the server; the DCCA client receives the extended return that the server returns after successfully authenticating the accessed online charging user. a credit control initial request response; wherein the failure processing CCFH field in the extended credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate that the DCCA client can continue the service and retry after sensing the link failure;
  • the DCCA client is locally configured with configuration information that supports reconnection after a session exception.
  • the interaction between the DCCA client and the server includes:
  • the DCCA client triggers sending a credit control update request to the server; and the DCCA client senses that the link is abnormal; or
  • the DCCA client triggers sending a credit control update request to the server; the server receives the credit control update request, and sends a credit control update request to the DCCA client. a response message, wherein the carried result code is unprocessable; The DCCA client determines an exception based on the result code; or,
  • the DCCA client finds that the link is interrupted or waits for the response of the server to time out, and the local configuration is configured to support the reconnection of the session abnormality.
  • the method before the DCCA client triggers sending the credit control update request to the server, the method further includes: a time threshold, a traffic threshold arrival, and a charging condition change.
  • the result code is unprocessable, including: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
  • the reconnection condition includes: link recovery, or preset duration, or link congestion cancellation.
  • the DCCA client initiates re-establishing the connection with the server, including:
  • the DCCA client constructs a credit control reconnection request message and sends the message to the server, and carries the service charging information after the abnormality;
  • the DCCA client receives a credit control reconnection request response message sent by the server after deducting the user, and carries a quota.
  • the receiving, by the DCCA client, the credit control reconnection request response message sent by the server after deducting the user includes:
  • the server After receiving the credit control reconnection request from the DCCA client, the server looks up the session according to the session ID:
  • the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
  • the server creates a session, performs authentication and batch processing, and replies to the DCCA client with the credit control. Reconnect the request response.
  • the method further includes: the DCCA client receiving the credit control reconnection request response, updating the session, and the service content.
  • the DCCA client is a media gateway; the server is an online charging system. OCS or Policy and Charging Rules function PCRF.
  • the embodiment of the invention further provides a system for implementing online charging, which at least includes a DCCA client and a server; wherein
  • the DCCA client is configured to interact with the online charging system server abnormally, store the unprocessed bills locally or send them to the offline charging system OFCS, and continue to maintain normal service usage; when the pre-set reconnection conditions are met, The DCCA client starts to re-establish a connection with the server;
  • the server is set to receive a reconnection request from the DCCA and return the reconnection result.
  • the DCCA client is further configured to: an online charging user access, where the DCCA client sends a credit control initial request to the server; correspondingly, the server is further configured to: access the online After the charging user successfully authenticates, returning the extended credit control initial request response to the DCCA client; wherein the failure processing CCFH field in the credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate the DCCA client
  • the terminal can continue the service and retry after sensing the link failure;
  • the DCCA client is configured with configuration information that supports reconnection after a session exception.
  • the DCCA client when the interaction between the DCCA client and the server is abnormal, the DCCA client is specifically configured to:
  • the DCCA client triggers sending a credit control update request to the server; at this time, the server is specifically configured to: receive a credit control update request, and send the credit control request to the DCCA client. Sending a credit control update request response message, wherein the carrying result code is unprocessable; and the DCCA client determines that the abnormality is based on the result code; or
  • the local configuration is configured to support the reconnection of the session.
  • the DCCA client triggers sending the credit control update request to the server, the time threshold, the traffic threshold arrival, and the charging condition change.
  • the result code is unprocessable, including: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
  • the reconnection condition includes: link recovery, or preset duration, or link congestion cancellation.
  • the DCCA client when the DCCA client initiates a re-establishment connection with the server, the DCCA client is specifically configured to:
  • the server is specifically configured to: charge a user, and send a credit control reconnection request response message to the DCCA client, where the quota is carried.
  • the server is specifically configured to:
  • the session After receiving the credit control reconnection request from the DCCA client, the session is searched according to the session ID:
  • the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
  • the server finds that the session corresponding to the session ID does not exist and finds that the credit control request type is a reconnection request, creates a session, performs authentication and batch processing, and returns credit control to the DCCA client. Reconnect the request response.
  • the DCCA client is further configured to: receive a credit control reconnection request response, update the session, and service content.
  • the DCCA client is a media gateway;
  • the server is an online charging system OCS or a policy and charging rule function PCRF.
  • the embodiment of the present invention further provides an apparatus for implementing online charging, which includes at least a continuous processing module and a reconstruction connection module, where
  • the continuous processing module is configured to store the unprocessed bills locally or send to the OFCS, and continue to maintain the normal use of the service;
  • connection module is re-established and set to initiate a re-establishment of the connection with the server when the pre-set reconnection condition is met.
  • the method further includes an access processing module, configured to:
  • the persistent processing module is further configured to: receive an extended credit control initial request response from the server, wherein a CCFH field of the credit control initial request response indicates to continue and reconnect to indicate that after the link failure is sensed Continue the business and try again.
  • the access processing module is further configured to:
  • the reestablishing connection module is specifically configured to:
  • the credit control reconnection request message is constructed and sent to the server, and the service charging information after the abnormality is carried;
  • the device is a standalone entity or is disposed in a DCCA client.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, the computer executable instructions being used in the method for realizing online charging according to any of the above.
  • the technical solution of the present application includes that after the DCCA client and the server interact abnormally, the DCCA client stores the unprocessed bill locally or sends it to the offline charging system (OFCS), and continues to maintain the normal use of the service; When the condition is reconnected, the DCCA client initiates a re-establishment of the connection with the server.
  • OFCS offline charging system
  • the DCCA client initiates a re-establishment of the connection with the server.
  • FIG. 1 is a flowchart of a method for implementing online charging according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a device for implementing online charging according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a first embodiment for implementing online charging according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a second embodiment for implementing online charging according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of a third embodiment for implementing online charging according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart diagram of a fourth embodiment for implementing online charging according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing online charging according to an embodiment of the present invention. As shown in FIG. 1 , after the interaction between the client and the server of the Diameter Credit Control Application Protocol (DCCA) is abnormal, the method includes:
  • Step 100 The DCCA client stores the unprocessed bills locally or sends them to the offline charging system (OFCS), and continues to maintain normal service usage.
  • OFCS offline charging system
  • This step also includes:
  • the DCCA client When the online charging user accesses, the DCCA client, such as the GW, sends a credit control initial request (CCR, Credit-Control-Request) to the server, such as the OCS.
  • CCR Credit-Control-Request
  • the OCS After the OCS authenticates the online charging user successfully, the OCS returns the extension to the GW.
  • the CCFH (Credit-Control-Failure-Handling) field may be set to 240 to indicate continuation and reconnection (CONTINUE_AND_RECONNECT) to indicate that the GW can continue the service after perceiving the link failure and test.
  • the CCFH field of 240 means that when the GW fails to interact with the primary OCS, there is no standby OCS in the system, or the interaction with the standby OCS fails, the GW should keep the service to continue to be used normally, and if the appropriate timing meets the preset.
  • the reconnection condition is reconnected with the OCS.
  • the CCFH field may also be set to other values such as 241, as long as it is used to indicate that the GW can continue the service and retry after sensing the link failure.
  • the DCCA client such as the GW
  • the DCCA client is configured locally with configuration information that supports reconnection after a session exception.
  • the extended credit control request response in the embodiment of the present invention may further include: other fields than the CCFH field, such as Direct-Debiting-Failure-Handling AVP. , Trigger Type (Triger-Type AVP), etc., or other values of CCFH, in order to achieve the effect of identifying the need to support reconnection.
  • CCFH field such as Direct-Debiting-Failure-Handling AVP.
  • Trigger Type Triger-Type AVP
  • the abnormal interaction between the DCCA client and the server may include but is not limited to:
  • the DCCA client such as the GW
  • the DCCA client triggers the sending of a credit control update request to the server, such as the OCS, due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition.
  • the GW may wait for the OCS credit control update request response timeout or other reasons due to the interruption of the OCS link or the link congestion.
  • the GW cannot know whether the OCS has been processed at this time. Therefore, the process proceeds to step 100.
  • the DCCA client such as the GW
  • the DCCA client triggers the sending of a credit control update request to the server such as the OCS due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition
  • the OCS receives the credit control update request, For example, due to insufficient signaling congestion performance on the OCS side or back-end system maintenance, the OCS is temporarily unable to process the CCR request, and the OCS sends a credit control update request response message to the GW, where the carried result code is 3004; the GW is based on the result code 3004. If it is determined that the OCS fails to charge the fee, the process proceeds to step 100.
  • the OCS sends an unresolved result code to the GW, such as 3004-Bus unable to process (Diameter_too_busy), 3002-Undeliverable (Diameter_unable_to_deliver).
  • 3004-Bus unable to process Diameter_too_busy
  • 3002-Undeliverable Diameter_unable_to_deliver
  • the DCCA client determines that the GW local configuration has a session abnormality and then reconnects, and then proceeds to step 100.
  • Step 101 When the pre-set reconnection condition is met, the DCCA client initiates re-establishment of the connection with the server.
  • the reconnection conditions include, but are not limited to, link recovery, preset duration, or link congestion cancellation.
  • the DCCA client in this step starts to re-establish the connection with the server, including:
  • the DCCA client such as the GW, constructs a credit control reconnection request message and sends it to the server, such as the OCS, and carries the service accounting information from the abnormality, that is, the service used by the online charging user, and the corresponding traffic, time, and the like;
  • the OCS deducts the user and sends a credit control reconnection request response message to the GW, which carries relevant information such as quotas.
  • the OCS after receiving the credit control reconnection request from the GW, searches for the session according to the session ID (Session-Id):
  • the information in the request is deducted according to the policy of the OCS, and the new quota information is carried in the credit control reconnection request response according to the normal process, and returned to the GW;
  • the OCS finds that the session corresponding to the Session-Id does not exist and finds that the credit control request type is a reconnection request, the OCS creates a session, performs authentication and batch processing, and returns a credit control reconnection request response to the GW.
  • the method of the embodiment of the present invention further includes:
  • the DCCA client such as the GW, receives a credit control reconnection request response, updates the session, and the service content.
  • the DCCA client may be a GW
  • the server may be an OCS, a Policy and Charging Rules Function (PCRF), and the like.
  • PCRF Policy and Charging Rules Function
  • the embodiment of the invention further provides a computer readable storage medium, which is stored in a computer executable
  • the instructions, the computer executable instructions, are used to perform any of the methods for implementing online charging provided by the embodiments of the present invention.
  • the embodiment of the present invention further provides a system for implementing online charging, which at least includes a DCCA client and a server; wherein
  • the DCCA client is configured to interact with the online charging system server abnormally, store the unprocessed bills locally or send them to the offline charging system OFCS, and continue to maintain normal service usage; when the pre-set reconnection conditions are met, The DCCA client starts to re-establish a connection with the server;
  • the server is set to receive a reconnection request from the DCCA and return the reconnection result.
  • the DCCA client is further configured to: an online charging user access, the DCCA client sending an initial request for credit control to the server; correspondingly, the server is further configured to: after authenticating the accessed online charging user Returning an extended credit control initial request response to the DCCA client; wherein the failure processing CCFH field in the credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate that the DCCA client is aware of a link failure Can continue the business and try again;
  • the DCCA client is configured with configuration information that supports reconnection after a session exception.
  • the DCCA client is specifically set to:
  • the DCCA client triggers sending a credit control update request to the server; at this time, the server is specifically configured to: receive a credit control update request, and send the credit control request to the DCCA client. Sending a credit control update request response message, wherein the carrying result code is unprocessable; and the DCCA client determines that the abnormality is based on the result code; or
  • the local configuration is configured to support the reconnection of the session.
  • the DCCA client Before the DCCA client triggers sending a credit control update request to the server, the time threshold, the traffic threshold arrival, and the billing condition change.
  • the result code is unprocessable, including: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
  • the reconnection condition includes: link recovery, or preset duration, or link congestion cancellation.
  • the DCCA client When the DCCA client initiates the re-establishment of the connection with the server, the DCCA client is specifically configured to: construct a credit control reconnection request message and send it to the server, and carry the service charging information after the abnormality;
  • the server is specifically configured to: charge the user, and send a credit control reconnection request response message to the DCCA client, where the quota is carried.
  • the server is specifically configured as:
  • the session After receiving the credit control reconnection request from the DCCA client, the session is searched according to the session ID:
  • the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
  • the server finds that the session corresponding to the session ID does not exist and finds that the credit control request type is a reconnection request, creates a session, performs authentication and batch processing, and returns credit control to the DCCA client. Reconnect the request response.
  • the DCCA client is also configured to: receive a credit control reconnection request response, update the session, and service content.
  • the DCCA client is a media gateway; the server is an OCS or a PCRF.
  • FIG. 2 is a schematic structural diagram of a device for implementing online charging according to an embodiment of the present invention. As shown in FIG. 2, at least a continuous processing module and a reestablishing connection module are included, where
  • the continuous processing module is configured to store the unprocessed bills locally or send them to the offline charging system (OFCS), and continue to maintain the normal use of the service;
  • OFCS offline charging system
  • connection module is re-established and set to initiate a re-establishment of the connection with the server when the pre-set reconnection condition is met.
  • the device of the embodiment of the present invention further includes an access processing module, and is configured to:
  • the CCR is sent to the server, such as the OCS; at this time, the persistent processing module receives the extended credit control initial request response from the OCS, wherein the CCFH field of the credit control initial request response is 240. Indicates to continue and reconnect (CONTINUE_AND_RECONNECT) to indicate that the service can continue and retry after a link failure is sensed.
  • the access processing module is also set to:
  • the credit control update request is sent to the server, such as the OCS, due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition; and the link abnormality is perceived, for example, due to The OCS link is interrupted, or the link may be congested.
  • the GW waits for the OCS credit control update request response timeout or other reasons to notify the continuous processing module.
  • a credit control update request is sent to the server, such as the OCS, due to a time threshold, a traffic threshold arrival, and a change in charging conditions, and a credit control update request response message from the OCS is received.
  • the result code with the result code 3004 or unprocessable, such as the cause value of 3004-Diameter_too_busy, 3002-Diameter_unable_to_deliver, etc., is notified to the continuous processing module.
  • the continuous processing module After the link is interrupted or waiting for the server to time out, such as the OCS response timeout, it is determined that the configuration is supported by the session abnormality and then reconnected, and the continuous processing module is notified.
  • the reconstruction connection module is specifically set to:
  • the credit control reconnection request message is constructed and sent to the server, such as the OCS, and the service accounting information after the abnormality is carried, that is, the service used by the online charging user and the corresponding traffic, time Information
  • the device of the embodiment of the present invention may be used as an independent entity device or may be set in a DCCA client. Such as GW.
  • the DCCA client is used as the GW
  • the server is the OCS as an example.
  • the OCS has the active/standby and whether the Failover is supported is not limited to the protection scope of the embodiment of the present invention.
  • the CCFH may be sent from the OCS or the GW, and the process is basically the same. In the following embodiments, only the CCFH is sent from the OCS as an example.
  • FIG. 3 is a schematic flowchart of a first embodiment of implementing online charging according to an embodiment of the present invention.
  • the CCFH is CONTINUE_AND_RECONNECT
  • the session on the OCS is re-connected as an example, as shown in FIG. 3, including the following. step:
  • Step 300 Online charging user access.
  • Step 301 The GW sends a credit control initial request to the OCS.
  • Step 302 After the OCS authenticates the user successfully, the OCS sends a credit control initial request response to the GW.
  • the CCFH in the initial request response of the credit control is 240, which is used to indicate that the GW can detect the link failure. Continue the business and try again.
  • Step 303 Assuming that the user service is in progress, the GW triggers the credit control update request due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition, that is, the GW sends a credit control update request to the OCS.
  • Step 304 The GW perceives that the link is abnormal, for example, the OCS link is interrupted, or the link congestion may cause the GW to wait for the OCS credit control update request response timeout, or other reasons.
  • Step 305 Since the GW cannot know whether the OCS has been processed at this time, the partial bill (that is, the charging information such as the traffic used by the user from step 302 to step 303) is stored locally or sent to the OFCS. According to CCFH is 240, so continue to maintain normal business use is not affected.
  • Step 306 At a certain trigger point, such as a preset reestablished connection condition, such as a timing trigger The GW sends a credit control reconnection request to the OCS, where the credit control request type is a request indicating that the connection is re-established, such as 240, and carries a service meter after the GW senses the abnormality. Fee information.
  • a certain trigger point such as a preset reestablished connection condition, such as a timing trigger
  • the GW sends a credit control reconnection request to the OCS, where the credit control request type is a request indicating that the connection is re-established, such as 240, and carries a service meter after the GW senses the abnormality. Fee information.
  • Step 307 The OCS deducts the user, and sends a credit control reconnection request response message to the GW, where the information such as the quota is carried.
  • FIG. 4 is a schematic flowchart of a second embodiment of implementing online charging according to an embodiment of the present invention.
  • a connection is reestablished, a session on the OCS does not exist.
  • the following steps are included:
  • Step 407 In this embodiment, it is assumed that the OCS finds a session failure according to the session ID. However, if the OCS discovery credit control request type is 240, the OCS re-creates the session and performs authentication and the like on the user.
  • Step 408 The OCS sends a credit control reconnection request response to the GW, where the credit control request type is 240, and carries the quota information of the service.
  • FIG. 5 is a schematic flowchart of a third embodiment of implementing online charging according to an embodiment of the present invention.
  • the OCS returns busy cannot be processed (3004-Diameter_too_busy)
  • CCFH is CONTINUE_AND_RECONNECT, and the session exists on the OCS when reconnecting. For example. As shown in Figure 5, the following steps are included:
  • Step 500 Online charging user access.
  • Step 501 The GW sends a credit control initial request to the OCS.
  • Step 502 After the user successfully authenticates the user, the OCS sends a credit control initial request response to the GW, where the CCFH is 240, to indicate that the GW can continue the service and retry after sensing the link failure.
  • Step 503 Assuming that the user service is in progress, the GW triggers the credit control update request due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition, that is, the GW sends a credit control update request to the OCS.
  • Step 504 The OCS receives the credit control update request.
  • the OCS side is The OCS temporarily fails to process the CCR request due to insufficient signaling congestion performance or background system maintenance.
  • the OCS sends a credit control update request response message to the GW, where the result code is 3004.
  • Step 505 The GW determines, according to the result code 3004, that the OCS fails to perform the deduction, and stores the partial bill (that is, the charging information such as the traffic used by the user from the steps 502 to 503) locally or sends the information to the OFCS.
  • the partial bill that is, the charging information such as the traffic used by the user from the steps 502 to 503
  • CCFH is 240, so continue to maintain normal business use is not affected.
  • Step 506 At a certain trigger point, such as a preset timing trigger, the GW sends a credit control reconnection request message to the OCS, where the current service and the service usage information are carried.
  • a certain trigger point such as a preset timing trigger
  • Step 507 The OCS returns a credit control reconnection request response message to the GW, and if the congestion or background operation maintenance is cancelled, the user is charged and the price is processed, and the subsequent process is normal.
  • FIG. 6 is a schematic flowchart of a fourth embodiment of implementing online charging according to an embodiment of the present invention.
  • the OCS does not carry the CCFH AVP, and the GW local configuration supports reconnection after the session is abnormal, and the OCS session is reconnected.
  • the following steps are included:
  • the flow of the fourth embodiment shown in FIG. 6 is basically the same as the first embodiment shown in FIG. 3, except that in step 602, the OCS does not carry the CCFH AVP in the credit control initial request response.
  • the GW finds that the link is interrupted or waits for the OCS response to time out, the GW is configured to support the session abnormality and then reconnect, and then initiates the subsequent reconnection process.
  • the method, system and device for implementing online charging include: after the DCCA client and the server interact abnormally, the DCCA client stores the unprocessed bill locally or sends it to the offline charging system (OFCS). And continue to maintain normal business use; when the pre-set reconnection conditions are met, the DCCA client initiates a re-establishment of the connection with the server.
  • OFCS offline charging system
  • the DCCA client initiates a re-establishment of the connection with the server.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method, system and device for realizing online charging. The method comprises: after a DCCA client side and a server side are in abnormal interaction, the DCCA client side stores an unprocessed session bill in local or sends same to an offline charging system (OFCS), and continuously keeps normal use of a business; and when a preset reconnection condition is met, the DCCA client side starts to establish a connection with the server side again. By means of the technical scheme provided by the embodiments of the present invention, after a DCCA client side and a server side are in abnormal interaction, interaction between the DCCA client side and the server side can be recovered, thereby ensuring a permanently online state of a user, and realizing a mechanism for continuously monitoring a session of the user by the server side.

Description

一种实现在线计费的方法、***及装置Method, system and device for realizing online charging 技术领域Technical field
本发明实施例涉及但不限于用户永久在线技术,尤指一种实现在线计费的方法及装置。The embodiments of the present invention relate to, but are not limited to, a permanent online technology of a user, and in particular, a method and an apparatus for implementing online charging.
背景技术Background technique
在***长期演进(4G LTE)***中,随着数据业务的应用越来越广泛,某些业务诸如社交业务等,都要求用户永久在线。如果用户在使用数据业务过程中被中断,会极大的影响用户体验。为此在3GPP协议32299-c40中定义了失败重传(Support of Failover)和失败处理(Support of Failure Handling)两种失败处理方式。In the fourth generation of Long Term Evolution (4G LTE) systems, as data services become more widely used, certain services, such as social services, require users to be permanently online. If the user is interrupted during the use of the data service, the user experience will be greatly affected. To this end, two failure handling methods of Support of Failover and Support of Failure Handling are defined in 3GPP Protocol 32299-c40.
其中,失败重传是指:在***中包括有主用在线计费***(OCS,Online Charging System)和备用OCS时,如果媒体网关(GW)与主用OCS交互失败,则需要继续和备用OCS交互以保持会话。The failure retransmission refers to: when the system includes the main online charging system (OCS) and the standby OCS, if the media gateway (GW) fails to interact with the active OCS, the continuation and backup OCS are required. Interact to keep the session.
失败处理是指:当GW与主用OCS交互失败,***中没有备用OCS或者与备用OCS交互也失败后的处理方式。在协议RFC4006中对信用控制失败处理(Credit-Control-Failure-Handling)定义了3种方式。一种是0:表示终止(TERMINATE),一种是1:表示继续(CONTINUE),还有一种是2:表示重试后终止(RETRY_AND_TERMINATE),具体可参见RFC4006,这里不再赘述。The failure processing refers to the processing mode when the GW fails to interact with the primary OCS, and there is no backup OCS in the system or interaction with the standby OCS. Three methods are defined for the credit control failure processing (Credit-Control-Failure-Handling) in the protocol RFC4006. One is 0: indicates termination (TERMINATE), one is 1: indicates CONTINUE, and the other is 2: indicates termination after retry (RETRY_AND_TERMINATE). For details, refer to RFC4006, and details are not described herein.
无论***多么稳定,失败都是无法避免的。从上面的描述中可以看出,如果失败重传后也失败或者没有备用OCS时,要么终止业务,影响用户的体验;要么继续业务,***转为离线计费方式,但此时,OCS后续即使正常工作,也无法对这些业务进行正常控制和监测,而由于永久在线的原因,用户可能持续在线很长时间,这样,无疑会给运营商的计费带来很大的困扰或者损失。No matter how stable the system is, failure is unavoidable. As can be seen from the above description, if the failure fails after the retransmission or there is no backup OCS, the service is terminated or the user's experience is affected; or the service is continued, and the system is switched to the offline charging mode, but at this time, the OCS is even after Normally, it is impossible to properly control and monitor these services. Because of the permanent online, users may continue to be online for a long time, which will undoubtedly cause great trouble or loss to the operator's billing.
除上述链路异常外,如果由于OCS侧性能不足等原因,OCS也会给GW下发无法处理的结果码,比如:3004-Diameter_too_busy、3002-Diameter_unable_to_deliver的原因值等,此时同样也会导致后续OCS无法对 这些业务进行正常控制和监测。In addition to the above-mentioned link exceptions, OCS will also send the GW with unreachable result codes due to insufficient performance on the OCS side, such as 3004-Diameter_too_busy, 3002-Diameter_unable_to_deliver, and so on. OCS can't These services are normally controlled and monitored.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例的目的在于提供一种实现在线计费的方法、***及装置,能够保证用户永久在线,并达到OCS能够持续监测用户会话的机制。The purpose of the embodiments of the present invention is to provide a method, a system, and a device for implementing online charging, which can ensure that a user is permanently online and achieve a mechanism that the OCS can continuously monitor a user session.
本发明实施例提供了一种实现在线计费的方法,在Diameter信用控制应用协议DCCA客户端与在线计费***服务端交互异常后,还包括:The embodiment of the invention provides a method for implementing online charging. After the interaction between the DCTA client of the Diameter credit control application protocol and the server of the online charging system is abnormal, the method further includes:
DCCA客户端将未处理的话单存储在本地或者发送给离线计费***OFCS,并继续保持业务正常使用;The DCCA client stores the unprocessed bills locally or sends them to the offline charging system OFCS, and continues to maintain normal service usage;
在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接。When the pre-set reconnection condition is met, the DCCA client initiates a re-establishment of the connection with the server.
可选地,该方法之前还包括:Optionally, the method further includes:
当在线计费用户接入,所述DCCA客户端向服务端发送信用控制初始请求;所述DCCA客户端接收所述服务端对接入的在线计费用户进行鉴权成功后返回的扩展后的信用控制初始请求响应;其中,扩展后的信用控制初始请求响应中的失败处理CCFH字段表示继续并重连接CONTINUE_AND_RECONNECT,以指示所述DCCA客户端在感知到链路故障后可以继续业务并重试;When the online charging user accesses, the DCCA client sends a credit control initial request to the server; the DCCA client receives the extended return that the server returns after successfully authenticating the accessed online charging user. a credit control initial request response; wherein the failure processing CCFH field in the extended credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate that the DCCA client can continue the service and retry after sensing the link failure;
或者,在所述DCCA客户端本地配置有支持会话异常后重连接的配置信息。Alternatively, the DCCA client is locally configured with configuration information that supports reconnection after a session exception.
可选地,所述DCCA客户端与服务端交互异常包括:Optionally, the interaction between the DCCA client and the server includes:
在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;且所述DCCA客户端感知到链路异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; and the DCCA client senses that the link is abnormal; or
在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;所述服务端收到信用控制更新请求,并向所述DCCA客户端下发信用控制更新请求响应消息,其中携带结果码为无法处理;所述 DCCA客户端根据结果码判断出异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; the server receives the credit control update request, and sends a credit control update request to the DCCA client. a response message, wherein the carried result code is unprocessable; The DCCA client determines an exception based on the result code; or,
所述DCCA客户端发现链路中断或者等待服务端响应超时后,且自身本地配置有支持会话异常后重连接的配置信息。The DCCA client finds that the link is interrupted or waits for the response of the server to time out, and the local configuration is configured to support the reconnection of the session abnormality.
可选地,所述DCCA客户端触发向服务端发送信用控制更新请求之前还包括:时间门限、流量门限到达以及计费条件改变。Optionally, before the DCCA client triggers sending the credit control update request to the server, the method further includes: a time threshold, a traffic threshold arrival, and a charging condition change.
可选地,所述结果码为无法处理包括:所述结果码为预先设置的值、或3004-忙无法处理、或3002-无法投递。Optionally, the result code is unprocessable, including: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
可选地,所述重连接条件包括:链路恢复、或预设时长、或链路拥塞解除。Optionally, the reconnection condition includes: link recovery, or preset duration, or link congestion cancellation.
可选地,所述DCCA客户端启动与服务端重新建立连接包括:Optionally, the DCCA client initiates re-establishing the connection with the server, including:
所述DCCA客户端构造信用控制重连接请求消息并发送给服务端,同时携带有自异常后的业务计费信息;The DCCA client constructs a credit control reconnection request message and sends the message to the server, and carries the service charging information after the abnormality;
所述DCCA客户端接收来自所述服务端对用户进行扣费后发送的信用控制重连接请求响应消息,其中携带配额。The DCCA client receives a credit control reconnection request response message sent by the server after deducting the user, and carries a quota.
可选地,所述DCCA客户端接收来自所述服务端对用户进行扣费后发送的信用控制重连接请求响应消息包括:Optionally, the receiving, by the DCCA client, the credit control reconnection request response message sent by the server after deducting the user includes:
收到来自DCCA客户端的信用控制重连接请求后,所述服务端根据会话ID查找会话:After receiving the credit control reconnection request from the DCCA client, the server looks up the session according to the session ID:
如果该会话存在,则根据自身的策略对该请求中的信息进行扣费,并按正常流程将新的配额信息携带在信用控制重连接请求响应中返回给所述DCCA客户端;If the session exists, the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
如果该会话ID对应的会话并不存在,且信用控制请求类型为重连接请求,则所述服务端创建会话,同时进行鉴权以及批价处理,并向所述DCCA客户端回复所述信用控制重连接请求响应。If the session corresponding to the session ID does not exist, and the credit control request type is a reconnection request, the server creates a session, performs authentication and batch processing, and replies to the DCCA client with the credit control. Reconnect the request response.
可选地,该方法还包括:所述DCCA客户端收到信用控制重连接请求响应,更新会话以及业务内容。Optionally, the method further includes: the DCCA client receiving the credit control reconnection request response, updating the session, and the service content.
可选地,所述DCCA客户端为媒体网关;所述服务端为在线计费*** OCS或策略与计费规则功能PCRF。Optionally, the DCCA client is a media gateway; the server is an online charging system. OCS or Policy and Charging Rules function PCRF.
本发明实施例还提供了一种实现在线计费的***,至少包括DCCA客户端,服务端;其中,The embodiment of the invention further provides a system for implementing online charging, which at least includes a DCCA client and a server; wherein
DCCA客户端,设置为与在线计费***服务端交互异常,将未处理的话单存储在本地或者发送给离线计费***OFCS,并继续保持业务正常使用;在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接;The DCCA client is configured to interact with the online charging system server abnormally, store the unprocessed bills locally or send them to the offline charging system OFCS, and continue to maintain normal service usage; when the pre-set reconnection conditions are met, The DCCA client starts to re-establish a connection with the server;
服务端,设置为接收到来自DCCA的重新连接的请求,返回重连接结果。The server is set to receive a reconnection request from the DCCA and return the reconnection result.
可选地,所述DCCA客户端还设置为:在线计费用户接入,所述DCCA客户端向服务端发送信用控制初始请求;相应地,所述服务端还设置为:对接入的在线计费用户进行鉴权成功后,向所述DCCA客户端返回扩展后的信用控制初始请求响应;其中,信用控制初始请求响应中的失败处理CCFH字段表示继续并重连接CONTINUE_AND_RECONNECT,以指示所述DCCA客户端在感知到链路故障后可以继续业务并重试;Optionally, the DCCA client is further configured to: an online charging user access, where the DCCA client sends a credit control initial request to the server; correspondingly, the server is further configured to: access the online After the charging user successfully authenticates, returning the extended credit control initial request response to the DCCA client; wherein the failure processing CCFH field in the credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate the DCCA client The terminal can continue the service and retry after sensing the link failure;
或者,所述DCCA客户端中配置有支持会话异常后重连接的配置信息。Alternatively, the DCCA client is configured with configuration information that supports reconnection after a session exception.
可选地,在所述DCCA客户端与服务端交互异常时,所述DCCA客户端具体设置为:Optionally, when the interaction between the DCCA client and the server is abnormal, the DCCA client is specifically configured to:
在所述在线计费用户业务进行中,触发向服务端发送信用控制更新请求;且所述DCCA客户端感知到链路异常;或者,In the online charging user service, triggering sending a credit control update request to the server; and the DCCA client perceives that the link is abnormal; or
在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;此时,所述服务端具体用于:收到信用控制更新请求,并向所述DCCA客户端下发信用控制更新请求响应消息,其中携带结果码为无法处理;所述DCCA客户端根据结果码,判断出异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; at this time, the server is specifically configured to: receive a credit control update request, and send the credit control request to the DCCA client. Sending a credit control update request response message, wherein the carrying result code is unprocessable; and the DCCA client determines that the abnormality is based on the result code; or
发现链路中断或者等待服务端响应超时后,且自身本地配置有支持会话异常后重连接的配置信息。After the link is interrupted or waits for the response from the server to time out, the local configuration is configured to support the reconnection of the session.
可选地,所述DCCA客户端触发向服务端发送信用控制更新请求之前,时间门限、流量门限到达以及计费条件改变。Optionally, before the DCCA client triggers sending the credit control update request to the server, the time threshold, the traffic threshold arrival, and the charging condition change.
可选地,所述结果码为无法处理包括:所述结果码为预先设置的值、或3004-忙无法处理、或3002-无法投递。 Optionally, the result code is unprocessable, including: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
可选地,所述重连接条件包括:链路恢复、或预设时长、或链路拥塞解除。Optionally, the reconnection condition includes: link recovery, or preset duration, or link congestion cancellation.
可选地,所述DCCA客户端启动与服务端重新建立连接时,所述DCCA客户端具体设置为:Optionally, when the DCCA client initiates a re-establishment connection with the server, the DCCA client is specifically configured to:
构造信用控制重连接请求消息并发送给服务端,同时携带有自异常后的业务计费信息;Constructing a credit control reconnection request message and sending it to the server, and carrying the service charging information after the abnormality;
所述服务端具体设置为:对用户进行扣费,同时向所述DCCA客户端发送信用控制重连接请求响应消息,其中携带配额。The server is specifically configured to: charge a user, and send a credit control reconnection request response message to the DCCA client, where the quota is carried.
可选地,所述服务端具体设置为:Optionally, the server is specifically configured to:
接收到来自所述DCCA客户端的信用控制重连接请求后,根据会话ID查找会话:After receiving the credit control reconnection request from the DCCA client, the session is searched according to the session ID:
如果该会话存在,则根据自身的策略对该请求中的信息进行扣费,并按正常流程将新的配额信息携带在信用控制重连接请求响应中返回给所述DCCA客户端;If the session exists, the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
如果所述服务端发现该会话ID对应的会话并不存在,同时发现信用控制请求类型为重连接请求,则创建会话,同时进行鉴权以及批价处理,并向所述DCCA客户端回复信用控制重连接请求响应。If the server finds that the session corresponding to the session ID does not exist and finds that the credit control request type is a reconnection request, creates a session, performs authentication and batch processing, and returns credit control to the DCCA client. Reconnect the request response.
可选地,所述DCCA客户端还设置为:收到信用控制重连接请求响应,更新会话以及业务内容。Optionally, the DCCA client is further configured to: receive a credit control reconnection request response, update the session, and service content.
可选地,所述DCCA客户端为媒体网关;所述服务端为在线计费***OCS或策略与计费规则功能PCRF。Optionally, the DCCA client is a media gateway; the server is an online charging system OCS or a policy and charging rule function PCRF.
本发明实施例又提供了一种实现在线计费的装置,至少包括持续处理模块、重建连接模块,其中,The embodiment of the present invention further provides an apparatus for implementing online charging, which includes at least a continuous processing module and a reconstruction connection module, where
持续处理模块,设置为将未处理的话单存储在本地或者发送给OFCS,并继续保持业务正常使用;The continuous processing module is configured to store the unprocessed bills locally or send to the OFCS, and continue to maintain the normal use of the service;
重建连接模块,设置为在满足预先设置的重连接条件时,启动与服务端重新建立连接。 The connection module is re-established and set to initiate a re-establishment of the connection with the server when the pre-set reconnection condition is met.
可选地,还包括接入处理模块,设置为:Optionally, the method further includes an access processing module, configured to:
当在线计费用户接入,向所述服务端发送信用控制初始请求;此时,When the online charging user accesses, sends an initial request for credit control to the server; at this time,
所述持续处理模块还设置为:接收到来自所述服务端的扩展后的信用控制初始请求响应,其中,信用控制初始请求响应的CCFH字段表示继续并重连接,以指示在感知到链路故障后可以继续业务并重试。The persistent processing module is further configured to: receive an extended credit control initial request response from the server, wherein a CCFH field of the credit control initial request response indicates to continue and reconnect to indicate that after the link failure is sensed Continue the business and try again.
可选地,所述接入处理模块还设置为:Optionally, the access processing module is further configured to:
在所述在线计费用户业务进行中,触发向所述服务端发送信用控制更新请求;并在感知到链路异常时,通知所述持续处理模块;或者,In the ongoing online charging user service, triggering sending a credit control update request to the server; and notifying the persistent processing module when the link abnormality is perceived; or
在所述在线计费用户业务进行中,触发向所述服务端发送信用控制更新请求;并且收到来自所述服务端的信用控制更新请求响应消息,其中携带结果码为无法处理时,通知所述持续处理模块。或者,In the online charging user service, triggering sending a credit control update request to the server; and receiving a credit control update request response message from the server, where the carrying result code is unprocessable, notifying the Continuous processing of modules. or,
在发现链路中断或者等待服务端响应超时后,判断自身配置有支持会话异常后重连接,通知所述持续处理模块。After the link is interrupted or waits for the server to respond to the timeout, it is determined that the configuration is supported by the session exception and then reconnected to notify the persistent processing module.
可选地,所述重建连接模块具体设置为:Optionally, the reestablishing connection module is specifically configured to:
在满足预先设置的重连接条件时,构造信用控制重连接请求消息并发送给所述服务端,同时携带有自异常后的业务计费信息;When the pre-set reconnection condition is met, the credit control reconnection request message is constructed and sent to the server, and the service charging information after the abnormality is carried;
接收来自所述服务端的信用控制重连接请求响应消息,其中携带配额。Receiving a credit control reconnection request response message from the server, where the quota is carried.
可选地,所述装置为独立实体,或设置在DCCA客户端中。Optionally, the device is a standalone entity or is disposed in a DCCA client.
本发明实施例再提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于上述任一项的实现在线计费的方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, the computer executable instructions being used in the method for realizing online charging according to any of the above.
本申请技术方案包括在DCCA客户端与服务端交互异常后,DCCA客户端将未处理的话单存储在本地或者发送给离线计费***(OFCS),并继续保持业务正常使用;在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接。通过本发明实施例提供的技术方案,在DCCA客户端与服务端交互异常后,会重新恢复DCCA客户端与服务端之间的交互,保证了用户永久在线,并实现了服务端持续监测用户会话的机制。The technical solution of the present application includes that after the DCCA client and the server interact abnormally, the DCCA client stores the unprocessed bill locally or sends it to the offline charging system (OFCS), and continues to maintain the normal use of the service; When the condition is reconnected, the DCCA client initiates a re-establishment of the connection with the server. With the technical solution provided by the embodiment of the present invention, after the interaction between the DCCA client and the server is abnormal, the interaction between the DCCA client and the server is resumed, the user is permanently online, and the server continuously monitors the user session. Mechanisms.
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分 地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of embodiments of the invention will be set forth in the description which follows, and It will be apparent from the description or the description of the invention. The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings are intended to provide a further understanding of the embodiments of the present invention, and are intended to be a part of the present invention, and the description of the present invention is not intended to limit the invention. In the drawing:
图1为本发明实施例实现在线计费的方法的流程图;FIG. 1 is a flowchart of a method for implementing online charging according to an embodiment of the present invention;
图2为本发明实施例实现在线计费的装置的组成结构示意图;2 is a schematic structural diagram of a device for implementing online charging according to an embodiment of the present invention;
图3为本发明实施例中实现在线计费的第一实施例的流程示意图;3 is a schematic flowchart of a first embodiment for implementing online charging according to an embodiment of the present invention;
图4为本发明实施例中实现在线计费的第二实施例的流程示意图;4 is a schematic flowchart of a second embodiment for implementing online charging according to an embodiment of the present invention;
图5为本发明实施例中实现在线计费的第三实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a third embodiment for implementing online charging according to an embodiment of the present invention;
图6为本发明实施例中实现在线计费的第四实施例的流程示意图。FIG. 6 is a schematic flowchart diagram of a fourth embodiment for implementing online charging according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例实现在线计费的方法的流程图,如图1所示,在Diameter信用控制应用协议(DCCA)客户端与服务端交互异常后,包括:FIG. 1 is a flowchart of a method for implementing online charging according to an embodiment of the present invention. As shown in FIG. 1 , after the interaction between the client and the server of the Diameter Credit Control Application Protocol (DCCA) is abnormal, the method includes:
步骤100:DCCA客户端将未处理的话单存储在本地或者发送给离线计费***(OFCS),并继续保持业务正常使用。Step 100: The DCCA client stores the unprocessed bills locally or sends them to the offline charging system (OFCS), and continues to maintain normal service usage.
本步骤之前还包括:This step also includes:
当在线计费用户接入,DCCA客户端如GW会向服务端如OCS发送信用控制初始请求(CCR,Credit-Control-Request);OCS对在线计费用户进行鉴权成功后,向GW返回扩展后的信用控制初始请求响应,其中,信用控 制初始请求响应的信用控制失败处理(CCFH,Credit-Control-Failure-Handling)字段可以为被设置为240,表示继续并重连接(CONTINUE_AND_RECONNECT),以指示GW在感知到链路故障后可以继续业务并重试。也就是说,CCFH字段为240意味着,当GW与主用OCS交互失败,***中没有备用OCS或者与备用OCS交互失败后,GW应该保持业务继续正常使用,并在适当的时机如满足预先设置的重连接条件时与OCS重新连接。需要说明的是,CCFH字段也可以被设置为其他的值如241,只要用于表示指示GW在感知到链路故障后可以继续业务并重试即可。When the online charging user accesses, the DCCA client, such as the GW, sends a credit control initial request (CCR, Credit-Control-Request) to the server, such as the OCS. After the OCS authenticates the online charging user successfully, the OCS returns the extension to the GW. After the credit control initial request response, where the credit control The CCFH (Credit-Control-Failure-Handling) field may be set to 240 to indicate continuation and reconnection (CONTINUE_AND_RECONNECT) to indicate that the GW can continue the service after perceiving the link failure and test. That is to say, the CCFH field of 240 means that when the GW fails to interact with the primary OCS, there is no standby OCS in the system, or the interaction with the standby OCS fails, the GW should keep the service to continue to be used normally, and if the appropriate timing meets the preset. The reconnection condition is reconnected with the OCS. It should be noted that the CCFH field may also be set to other values such as 241, as long as it is used to indicate that the GW can continue the service and retry after sensing the link failure.
或者,在DCCA客户端如GW本地配置有支持会话异常后重连接的配置信息。Alternatively, the DCCA client, such as the GW, is configured locally with configuration information that supports reconnection after a session exception.
需要说明的是,在本发明实施例中的扩展后的信用控制请求响应中还可以进一步包括:除CCFH字段之外的其他字段,比如自动扣款失败处理(Direct-Debiting-Failure-Handling AVP)、触发器类型(Triger-Type AVP)等,或者CCFH的其他数值,以达到识别需要支持重连接的效果。It should be noted that the extended credit control request response in the embodiment of the present invention may further include: other fields than the CCFH field, such as Direct-Debiting-Failure-Handling AVP. , Trigger Type (Triger-Type AVP), etc., or other values of CCFH, in order to achieve the effect of identifying the need to support reconnection.
其中,DCCA客户端与服务端交互异常可以包括但不限于:The abnormal interaction between the DCCA client and the server may include but is not limited to:
在在线计费用户业务进行中,DCCA客户端如GW由于时间门限、流量门限到达以及计费条件改变等原因,会触发向服务端如OCS发送信用控制更新请求;GW感知到链路异常,比如可能是由于与OCS链路中断,也可能是链路拥塞等原因,GW等待OCS的信用控制更新请求响应超时或者其他原因,但是此时GW无法知道OCS是否已经处理,所以,进入步骤100。During the online charging user service, the DCCA client, such as the GW, triggers the sending of a credit control update request to the server, such as the OCS, due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition. The GW may wait for the OCS credit control update request response timeout or other reasons due to the interruption of the OCS link or the link congestion. However, the GW cannot know whether the OCS has been processed at this time. Therefore, the process proceeds to step 100.
或者,or,
在在线计费用户业务进行中,DCCA客户端如GW由于时间门限、流量门限到达以及计费条件改变等原因,会触发向服务端如OCS发送信用控制更新请求;OCS收到信用控制更新请求,比如由于OCS侧的信令拥塞性能不足或者后台***维护等原因,OCS暂时无法处理该CCR请求,OCS向GW下发信用控制更新请求响应消息,其中携带结果码为3004;GW根据结果码3004,判断出OCS未能成功扣费,进入步骤100。或者,OCS侧由于性能不足等原因,OCS会给GW下发无法处理的结果码,比如3004-忙无法处理(Diameter_too_busy)、3002-无法投递(Diameter_unable_to_deliver)的原 因值等,这些场景同样适用于本发明实施例。During the online charging user service, the DCCA client, such as the GW, triggers the sending of a credit control update request to the server such as the OCS due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition; the OCS receives the credit control update request, For example, due to insufficient signaling congestion performance on the OCS side or back-end system maintenance, the OCS is temporarily unable to process the CCR request, and the OCS sends a credit control update request response message to the GW, where the carried result code is 3004; the GW is based on the result code 3004. If it is determined that the OCS fails to charge the fee, the process proceeds to step 100. Or, on the OCS side, due to lack of performance, the OCS sends an unresolved result code to the GW, such as 3004-Bus unable to process (Diameter_too_busy), 3002-Undeliverable (Diameter_unable_to_deliver). These scenarios are equally applicable to the embodiments of the present invention due to values and the like.
或者,or,
DCCA客户端如GW发现链路中断或者等待服务端如OCS响应超时后,判断GW本地配置有支持会话异常后重连接,则进入步骤100。If the GW finds that the link is interrupted or waits for the server to time out, such as the OCS response timeout, the DCCA client determines that the GW local configuration has a session abnormality and then reconnects, and then proceeds to step 100.
步骤101:在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接。Step 101: When the pre-set reconnection condition is met, the DCCA client initiates re-establishment of the connection with the server.
本步骤中,重连接条件包括但不限于:链路恢复、预设时长或者链路拥塞解除等。In this step, the reconnection conditions include, but are not limited to, link recovery, preset duration, or link congestion cancellation.
本步骤中的DCCA客户端启动与服务端重新建立连接包括:The DCCA client in this step starts to re-establish the connection with the server, including:
DCCA客户端如GW构造信用控制重连接请求消息并发送给服务端如OCS,同时携带有自异常后的业务计费信息即在线计费用户使用的业务以及对应的流量,时间等信息;The DCCA client, such as the GW, constructs a credit control reconnection request message and sends it to the server, such as the OCS, and carries the service accounting information from the abnormality, that is, the service used by the online charging user, and the corresponding traffic, time, and the like;
OCS对用户进行扣费,同时向GW发送信用控制重连接请求响应消息,其中携带配额等相关信息。The OCS deducts the user and sends a credit control reconnection request response message to the GW, which carries relevant information such as quotas.
其中,OCS收到来自GW的信用控制重连接请求后,根据会话ID(Session-Id)查找会话:The OCS, after receiving the credit control reconnection request from the GW, searches for the session according to the session ID (Session-Id):
如果该会话存在,则根据OCS的策略对该请求中的信息进行扣费,并按正常流程将新的配额信息携带在信用控制重连接请求响应中返回给GW;If the session exists, the information in the request is deducted according to the policy of the OCS, and the new quota information is carried in the credit control reconnection request response according to the normal process, and returned to the GW;
如果OCS发现该Session-Id对应的会话并不存在,同时发现信用控制请求类型为重连接请求,则OCS创建会话,同时进行鉴权以及批价处理,并向GW回复信用控制重连接请求响应。If the OCS finds that the session corresponding to the Session-Id does not exist and finds that the credit control request type is a reconnection request, the OCS creates a session, performs authentication and batch processing, and returns a credit control reconnection request response to the GW.
进一步地,本发明实施例方法还包括:Further, the method of the embodiment of the present invention further includes:
DCCA客户端如GW收到信用控制重连接请求响应,更新会话以及业务内容。The DCCA client, such as the GW, receives a credit control reconnection request response, updates the session, and the service content.
本发明实施例中,DCCA客户端可以是GW,服务端可以是OCS、策略与计费规则功能(PCRF,Policy and Charging Rules Function)等。In the embodiment of the present invention, the DCCA client may be a GW, and the server may be an OCS, a Policy and Charging Rules Function (PCRF), and the like.
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行 指令,计算机可执行指令用于执行本发明实施例提供的任意一项实现在线计费的方法。The embodiment of the invention further provides a computer readable storage medium, which is stored in a computer executable The instructions, the computer executable instructions, are used to perform any of the methods for implementing online charging provided by the embodiments of the present invention.
相应地,本发明实施例还提供一种实现在线计费的***,至少包括DCCA客户端,服务端;其中,Correspondingly, the embodiment of the present invention further provides a system for implementing online charging, which at least includes a DCCA client and a server; wherein
DCCA客户端,设置为与在线计费***服务端交互异常,将未处理的话单存储在本地或者发送给离线计费***OFCS,并继续保持业务正常使用;在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接;The DCCA client is configured to interact with the online charging system server abnormally, store the unprocessed bills locally or send them to the offline charging system OFCS, and continue to maintain normal service usage; when the pre-set reconnection conditions are met, The DCCA client starts to re-establish a connection with the server;
服务端,设置为接收到来自DCCA的重新连接的请求,返回重连接结果。The server is set to receive a reconnection request from the DCCA and return the reconnection result.
进一步地,further,
DCCA客户端还设置为:在线计费用户接入,所述DCCA客户端向服务端发送信用控制初始请求;相应地,服务端还设置为:对接入的在线计费用户进行鉴权成功后,向所述DCCA客户端返回扩展后的信用控制初始请求响应;其中,信用控制初始请求响应中的失败处理CCFH字段表示继续并重连接CONTINUE_AND_RECONNECT,以指示所述DCCA客户端在感知到链路故障后可以继续业务并重试;The DCCA client is further configured to: an online charging user access, the DCCA client sending an initial request for credit control to the server; correspondingly, the server is further configured to: after authenticating the accessed online charging user Returning an extended credit control initial request response to the DCCA client; wherein the failure processing CCFH field in the credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate that the DCCA client is aware of a link failure Can continue the business and try again;
或者,DCCA客户端中配置有支持会话异常后重连接的配置信息。Alternatively, the DCCA client is configured with configuration information that supports reconnection after a session exception.
具体地,specifically,
在DCCA客户端与服务端交互异常时,DCCA客户端具体设置为:When the interaction between the DCCA client and the server is abnormal, the DCCA client is specifically set to:
在所述在线计费用户业务进行中,触发向服务端发送信用控制更新请求;且所述DCCA客户端感知到链路异常;或者,In the online charging user service, triggering sending a credit control update request to the server; and the DCCA client perceives that the link is abnormal; or
在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;此时,所述服务端具体设置为:收到信用控制更新请求,并向所述DCCA客户端下发信用控制更新请求响应消息,其中携带结果码为无法处理;所述DCCA客户端根据结果码,判断出异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; at this time, the server is specifically configured to: receive a credit control update request, and send the credit control request to the DCCA client. Sending a credit control update request response message, wherein the carrying result code is unprocessable; and the DCCA client determines that the abnormality is based on the result code; or
发现链路中断或者等待服务端响应超时后,且自身本地配置有支持会话异常后重连接的配置信息。After the link is interrupted or waits for the response from the server to time out, the local configuration is configured to support the reconnection of the session.
在DCCA客户端触发向服务端发送信用控制更新请求之前,时间门限、流量门限到达以及计费条件改变。 Before the DCCA client triggers sending a credit control update request to the server, the time threshold, the traffic threshold arrival, and the billing condition change.
其中,结果码为无法处理包括:所述结果码为预先设置的值、或3004-忙无法处理、或3002-无法投递。The result code is unprocessable, including: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
其中,重连接条件包括:链路恢复、或预设时长、或链路拥塞解除。The reconnection condition includes: link recovery, or preset duration, or link congestion cancellation.
在DCCA客户端启动与服务端重新建立连接时,DCCA客户端具体设置为:构造信用控制重连接请求消息并发送给服务端,同时携带有自异常后的业务计费信息;此时,When the DCCA client initiates the re-establishment of the connection with the server, the DCCA client is specifically configured to: construct a credit control reconnection request message and send it to the server, and carry the service charging information after the abnormality;
服务端具体设置为:对用户进行扣费,同时向所述DCCA客户端发送信用控制重连接请求响应消息,其中携带配额。其中,所述服务端具体设置为:The server is specifically configured to: charge the user, and send a credit control reconnection request response message to the DCCA client, where the quota is carried. The server is specifically configured as:
接收到来自所述DCCA客户端的信用控制重连接请求后,根据会话ID查找会话:After receiving the credit control reconnection request from the DCCA client, the session is searched according to the session ID:
如果该会话存在,则根据自身的策略对该请求中的信息进行扣费,并按正常流程将新的配额信息携带在信用控制重连接请求响应中返回给所述DCCA客户端;If the session exists, the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
如果所述服务端发现该会话ID对应的会话并不存在,同时发现信用控制请求类型为重连接请求,则创建会话,同时进行鉴权以及批价处理,并向所述DCCA客户端回复信用控制重连接请求响应。If the server finds that the session corresponding to the session ID does not exist and finds that the credit control request type is a reconnection request, creates a session, performs authentication and batch processing, and returns credit control to the DCCA client. Reconnect the request response.
进一步地,further,
DCCA客户端还设置为:收到信用控制重连接请求响应,更新会话以及业务内容。The DCCA client is also configured to: receive a credit control reconnection request response, update the session, and service content.
其中,DCCA客户端为媒体网关;服务端为OCS或PCRF。The DCCA client is a media gateway; the server is an OCS or a PCRF.
图2为本发明实施例实现在线计费的装置的组成结构示意图,如图2所示,至少包括持续处理模块、重建连接模块,其中,FIG. 2 is a schematic structural diagram of a device for implementing online charging according to an embodiment of the present invention. As shown in FIG. 2, at least a continuous processing module and a reestablishing connection module are included, where
持续处理模块,设置为将未处理的话单存储在本地或者发送给离线计费***(OFCS),并继续保持业务正常使用;The continuous processing module is configured to store the unprocessed bills locally or send them to the offline charging system (OFCS), and continue to maintain the normal use of the service;
重建连接模块,设置为在满足预先设置的重连接条件时,启动与服务端重新建立连接。The connection module is re-established and set to initiate a re-establishment of the connection with the server when the pre-set reconnection condition is met.
本发明实施例装置还包括接入处理模块,设置为: The device of the embodiment of the present invention further includes an access processing module, and is configured to:
当在线计费用户接入,向服务端如OCS发送CCR;此时,持续处理模块会接收到来自OCS的扩展后的信用控制初始请求响应,其中,信用控制初始请求响应的CCFH字段为240,表示继续并重连接(CONTINUE_AND_RECONNECT),以指示在感知到链路故障后可以继续业务并重试。When the online charging user accesses, the CCR is sent to the server, such as the OCS; at this time, the persistent processing module receives the extended credit control initial request response from the OCS, wherein the CCFH field of the credit control initial request response is 240. Indicates to continue and reconnect (CONTINUE_AND_RECONNECT) to indicate that the service can continue and retry after a link failure is sensed.
接入处理模块还设置为:The access processing module is also set to:
在在线计费用户业务进行中,由于时间门限、流量门限到达以及计费条件改变等原因,会触发向服务端如OCS发送信用控制更新请求;并在感知到链路异常,比如可能是由于与OCS链路中断,也可能是链路拥塞等原因,GW等待OCS的信用控制更新请求响应超时或者其他原因,通知持续处理模块。During the online charging user service, the credit control update request is sent to the server, such as the OCS, due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition; and the link abnormality is perceived, for example, due to The OCS link is interrupted, or the link may be congested. The GW waits for the OCS credit control update request response timeout or other reasons to notify the continuous processing module.
或者,or,
在在线计费用户业务进行中,由于时间门限、流量门限到达以及计费条件改变等原因,会触发向服务端如OCS发送信用控制更新请求;并且收到来自OCS的信用控制更新请求响应消息,其中携带结果码为3004或无法处理的结果码,比如3004-Diameter_too_busy、3002-Diameter_unable_to_deliver的原因值等,通知持续处理模块。During the online charging user service, a credit control update request is sent to the server, such as the OCS, due to a time threshold, a traffic threshold arrival, and a change in charging conditions, and a credit control update request response message from the OCS is received. The result code with the result code 3004 or unprocessable, such as the cause value of 3004-Diameter_too_busy, 3002-Diameter_unable_to_deliver, etc., is notified to the continuous processing module.
或者,or,
在发现链路中断或者等待服务端如OCS响应超时后,判断自身配置有支持会话异常后重连接,通知持续处理模块。After the link is interrupted or waiting for the server to time out, such as the OCS response timeout, it is determined that the configuration is supported by the session abnormality and then reconnected, and the continuous processing module is notified.
其中,among them,
重建连接模块具体设置为:The reconstruction connection module is specifically set to:
在满足预先设置的重连接条件时,构造信用控制重连接请求消息并发送给服务端如OCS,同时携带有自异常后的业务计费信息即在线计费用户使用的业务以及对应的流量,时间等信息;When the pre-set reconnection condition is met, the credit control reconnection request message is constructed and sent to the server, such as the OCS, and the service accounting information after the abnormality is carried, that is, the service used by the online charging user and the corresponding traffic, time Information
接收来自OCS的信用控制重连接请求响应消息,其中携带配额等相关信息,并更新会话以及业务内容。Receiving a credit control reconnection request response message from the OCS, carrying relevant information such as quotas, and updating the session and the service content.
本发明实施例装置可以作为独立实体装置,也可以设置在DCCA客户端 如GW中。The device of the embodiment of the present invention may be used as an independent entity device or may be set in a DCCA client. Such as GW.
下面结合具体实施例对本发明实施例方法进行详细描述。以下实施例中以DCCA客户端为GW,服务端为OCS为例进行描述。The method of the embodiment of the present invention is described in detail below with reference to specific embodiments. In the following embodiments, the DCCA client is used as the GW, and the server is the OCS as an example.
需要说明的是,OCS是否有主备以及是否支持失败重传(FailOver)并不用于限在本发明实施例的保护范围,为了简便,下面实施例中仅以无主备OCS为例说明。另外,CCFH可以从OCS下发,也可以在GW上配置,其流程基本相同,以下实施例中仅以CCFH从OCS下发为例进行说明。It should be noted that whether the OCS has the active/standby and whether the Failover is supported is not limited to the protection scope of the embodiment of the present invention. For the sake of simplicity, in the following embodiments, only the active/standby OCS is used as an example. In addition, the CCFH may be sent from the OCS or the GW, and the process is basically the same. In the following embodiments, only the CCFH is sent from the OCS as an example.
图3为本发明实施例中实现在线计费的第一实施例的流程示意图,第一实施例中,以CCFH为CONTINUE_AND_RECONNECT,重连接时OCS上会话存在为例,如图3所示,包括以下步骤:FIG. 3 is a schematic flowchart of a first embodiment of implementing online charging according to an embodiment of the present invention. In the first embodiment, the CCFH is CONTINUE_AND_RECONNECT, and the session on the OCS is re-connected as an example, as shown in FIG. 3, including the following. step:
步骤300:在线计费用户接入。Step 300: Online charging user access.
步骤301:GW向OCS发送信用控制初始请求。Step 301: The GW sends a credit control initial request to the OCS.
步骤300和步骤301的具体实现属于本领域技术人员的公知技术,这里不再赘述。The specific implementations of the steps 300 and 301 are well-known to those skilled in the art, and are not described herein again.
步骤302:OCS对用户进行鉴权成功后,向GW发送信用控制初始请求响应,本实施例中,在信用控制初始请求响应中的CCFH为240,用以指示GW在感知到链路故障后可以继续业务并重试。Step 302: After the OCS authenticates the user successfully, the OCS sends a credit control initial request response to the GW. In this embodiment, the CCFH in the initial request response of the credit control is 240, which is used to indicate that the GW can detect the link failure. Continue the business and try again.
步骤303:假设用户业务进行中,GW由于时间门限、流量门限到达以及计费条件改变等原因,触发信用控制更新请求,即GW向OCS发送信用控制更新请求。Step 303: Assuming that the user service is in progress, the GW triggers the credit control update request due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition, that is, the GW sends a credit control update request to the OCS.
步骤304:GW感知到链路异常,比如可能是与OCS链路中断,也可能是链路拥塞等原因导致GW等待OCS的信用控制更新请求响应超时,或者是其他原因。Step 304: The GW perceives that the link is abnormal, for example, the OCS link is interrupted, or the link congestion may cause the GW to wait for the OCS credit control update request response timeout, or other reasons.
步骤305:由于此时GW无法知道OCS是否已经处理,所以将该部分话单(即从步骤302到步骤303这段时间的用户使用的流量等计费信息)存储在本地或者发送给OFCS,同时根据CCFH为240,所以继续保持业务正常使用不受影响。Step 305: Since the GW cannot know whether the OCS has been processed at this time, the partial bill (that is, the charging information such as the traffic used by the user from step 302 to step 303) is stored locally or sent to the OFCS. According to CCFH is 240, so continue to maintain normal business use is not affected.
步骤306:在某个触发点,比如预先设置的重建连接条件,如定时触发 或者感知到链路状态变化触发等,GW向OCS发送信用控制重连接请求,其中信用控制请求类型为表示为重建连接的请求如240,同时携带有从GW感知到异常后这段时间的业务计费信息。Step 306: At a certain trigger point, such as a preset reestablished connection condition, such as a timing trigger The GW sends a credit control reconnection request to the OCS, where the credit control request type is a request indicating that the connection is re-established, such as 240, and carries a service meter after the GW senses the abnormality. Fee information.
步骤307:OCS对用户进行扣费,同时向GW发送信用控制重连接请求响应消息,其中携带配额等相关信息。Step 307: The OCS deducts the user, and sends a credit control reconnection request response message to the GW, where the information such as the quota is carried.
图4为本发明实施例中实现在线计费的第二实施例的流程示意图,第二实施例中,假设重建连接时,OCS上会话不存在。如图4所示,包括以下步骤:FIG. 4 is a schematic flowchart of a second embodiment of implementing online charging according to an embodiment of the present invention. In the second embodiment, when a connection is reestablished, a session on the OCS does not exist. As shown in Figure 4, the following steps are included:
步骤400~步骤406的具体实现与步骤300~步骤306的完全一致,这里不再赘述。The specific implementation of the steps 400 to 406 is completely consistent with the steps 300 to 306, and details are not described herein again.
步骤407:本实施例中,假设OCS根据会话ID查找会话失败,但是,OCS发现信用控制请求类型为240,则OCS重新创建会话同时对用户进行鉴权等处理。Step 407: In this embodiment, it is assumed that the OCS finds a session failure according to the session ID. However, if the OCS discovery credit control request type is 240, the OCS re-creates the session and performs authentication and the like on the user.
步骤408:OCS向GW发送信用控制重连接请求响应,其中信用控制请求类型为240,同时携带业务的配额信息。Step 408: The OCS sends a credit control reconnection request response to the GW, where the credit control request type is 240, and carries the quota information of the service.
图5为本发明实施例中实现在线计费的第三实施例的流程示意图,第三实施例中,以OCS返回忙无法处理(3004-Diameter_too_busy),CCFH为CONTINUE_AND_RECONNECT,重连接时OCS上会话存在为例。如图5所示,包括以下步骤:FIG. 5 is a schematic flowchart of a third embodiment of implementing online charging according to an embodiment of the present invention. In the third embodiment, the OCS returns busy cannot be processed (3004-Diameter_too_busy), CCFH is CONTINUE_AND_RECONNECT, and the session exists on the OCS when reconnecting. For example. As shown in Figure 5, the following steps are included:
步骤500:在线计费用户接入。Step 500: Online charging user access.
步骤501:GW向OCS发送信用控制初始请求。Step 501: The GW sends a credit control initial request to the OCS.
步骤502:OCS对用户进行鉴权成功后,向GW发送信用控制初始请求响应,其中CCFH为240,用以指示GW在感知到链路故障后可以继续业务并重试。Step 502: After the user successfully authenticates the user, the OCS sends a credit control initial request response to the GW, where the CCFH is 240, to indicate that the GW can continue the service and retry after sensing the link failure.
步骤503:假设用户业务进行中,GW由于时间门限、流量门限到达以及计费条件改变等原因,触发信用控制更新请求,即GW向OCS发送信用控制更新请求.Step 503: Assuming that the user service is in progress, the GW triggers the credit control update request due to the time threshold, the arrival of the traffic threshold, and the change of the charging condition, that is, the GW sends a credit control update request to the OCS.
步骤504:OCS收到信用控制更新请求,本实施例中,假设由于OCS侧 的信令拥塞性能不足或者后台***维护等原因,OCS暂时无法处理此CCR请求,OCS会向GW下发信用控制更新请求响应消息,其中结果码为3004。Step 504: The OCS receives the credit control update request. In this embodiment, it is assumed that the OCS side is The OCS temporarily fails to process the CCR request due to insufficient signaling congestion performance or background system maintenance. The OCS sends a credit control update request response message to the GW, where the result code is 3004.
步骤505:GW根据结果码3004,判断出OCS未能成功扣费,将该部分话单(即从步骤502到503这段时间的用户使用的流量等计费信息)存储在本地或者发送给OFCS,同时根据CCFH为240,所以继续保持业务正常使用不受影响。Step 505: The GW determines, according to the result code 3004, that the OCS fails to perform the deduction, and stores the partial bill (that is, the charging information such as the traffic used by the user from the steps 502 to 503) locally or sends the information to the OFCS. At the same time, according to CCFH is 240, so continue to maintain normal business use is not affected.
步骤506:在某个触发点比如预先设置的定时触发,GW向OCS发送信用控制重连接请求消息,其中携带当前的业务以及业务使用情况信息。Step 506: At a certain trigger point, such as a preset timing trigger, the GW sends a credit control reconnection request message to the OCS, where the current service and the service usage information are carried.
步骤507:OCS向GW返回信用控制重连接请求响应消息,并且拥塞或者后台操作维护已解除,则对用户进行扣费和批价处理,后续流程正常。Step 507: The OCS returns a credit control reconnection request response message to the GW, and if the congestion or background operation maintenance is cancelled, the user is charged and the price is processed, and the subsequent process is normal.
图6为本发明实施例中实现在线计费的第四实施例的流程示意图,第四实施例中,以OCS未携带CCFH AVP,GW本地配置支持会话异常后重连接,重连接时OCS上会话存在为例。如图6所示,包括以下步骤:FIG. 6 is a schematic flowchart of a fourth embodiment of implementing online charging according to an embodiment of the present invention. In the fourth embodiment, the OCS does not carry the CCFH AVP, and the GW local configuration supports reconnection after the session is abnormal, and the OCS session is reconnected. Exist as an example. As shown in Figure 6, the following steps are included:
图6所示的第四实施例的流程与图3所示的第一实施例基本相同,不同之处在于:在步骤602中,OCS在信用控制初始请求响应中并没有携带CCFH AVP,在步骤604中,GW发现链路中断或者等待OCS响应超时后,通过判断GW本地配置有支持会话异常后重连接,则启动后续重连接流程。The flow of the fourth embodiment shown in FIG. 6 is basically the same as the first embodiment shown in FIG. 3, except that in step 602, the OCS does not carry the CCFH AVP in the credit control initial request response. In 604, after the GW finds that the link is interrupted or waits for the OCS response to time out, the GW is configured to support the session abnormality and then reconnect, and then initiates the subsequent reconnection process.
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提出的实现在线计费的方法、***及装置,包括在DCCA客户端与服务端交互异常后,DCCA客户端将未处理的话单存储在本地或者发送给离线计费***(OFCS),并继续保持业务正常使用;在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接。通过本发明实施例提供的技术方案,在DCCA客户端与服务端交互异常后,会重新恢复DCCA客户端与服务端之间的交互,保证了用户永久在线,并实现了服务端持续监测用户会话的机制。 The method, system and device for implementing online charging according to embodiments of the present invention include: after the DCCA client and the server interact abnormally, the DCCA client stores the unprocessed bill locally or sends it to the offline charging system (OFCS). And continue to maintain normal business use; when the pre-set reconnection conditions are met, the DCCA client initiates a re-establishment of the connection with the server. With the technical solution provided by the embodiment of the present invention, after the interaction between the DCCA client and the server is abnormal, the interaction between the DCCA client and the server is resumed, the user is permanently online, and the server continuously monitors the user session. Mechanisms.

Claims (26)

  1. 一种实现在线计费的方法,在Diameter信用控制应用协议DCCA客户端与在线计费***服务端交互异常后,还包括:A method for realizing online charging, after the interaction between the Diameter credit control application protocol DCCA client and the online charging system server is abnormal, the method further includes:
    DCCA客户端将未处理的话单存储在本地或者发送给离线计费***OFCS,并继续保持业务正常使用;The DCCA client stores the unprocessed bills locally or sends them to the offline charging system OFCS, and continues to maintain normal service usage;
    在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接。When the pre-set reconnection condition is met, the DCCA client initiates a re-establishment of the connection with the server.
  2. 根据权利要求1所述的方法,该方法之前还包括:The method of claim 1 further comprising:
    当在线计费用户接入,所述DCCA客户端向服务端发送信用控制初始请求;所述DCCA客户端接收所述服务端对接入的在线计费用户进行鉴权成功后返回的扩展后的信用控制初始请求响应;其中,扩展后的信用控制初始请求响应中的失败处理CCFH字段表示继续并重连接CONTINUE_AND_RECONNECT,以指示所述DCCA客户端在感知到链路故障后可以继续业务并重试;When the online charging user accesses, the DCCA client sends a credit control initial request to the server; the DCCA client receives the extended return that the server returns after successfully authenticating the accessed online charging user. a credit control initial request response; wherein the failure processing CCFH field in the extended credit control initial request response indicates continuing and reconnecting CONTINUE_AND_RECONNECT to indicate that the DCCA client can continue the service and retry after sensing the link failure;
    或者,在所述DCCA客户端本地配置有支持会话异常后重连接的配置信息。Alternatively, the DCCA client is locally configured with configuration information that supports reconnection after a session exception.
  3. 根据权利要求2所述的方法,其中,所述DCCA客户端与服务端交互异常包括:The method of claim 2, wherein the DCCA client interacts with the server abnormality comprises:
    在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;且所述DCCA客户端感知到链路异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; and the DCCA client senses that the link is abnormal; or
    在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;所述服务端收到信用控制更新请求,并向所述DCCA客户端下发信用控制更新请求响应消息,其中携带结果码为无法处理;所述DCCA客户端根据结果码判断出异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; the server receives the credit control update request, and sends a credit control update request to the DCCA client. a response message, wherein the carrying result code is unprocessable; and the DCCA client determines an abnormality according to the result code; or
    所述DCCA客户端发现链路中断或者等待服务端响应超时后,且自身本地配置有支持会话异常后重连接的配置信息。The DCCA client finds that the link is interrupted or waits for the response of the server to time out, and the local configuration is configured to support the reconnection of the session abnormality.
  4. 根据权利要求3所述的方法,其中,所述DCCA客户端触发向服务 端发送信用控制更新请求之前还包括:时间门限、流量门限到达以及计费条件改变。The method of claim 3 wherein said DCCA client triggers a service Before sending the credit control update request, the terminal also includes: a time threshold, a traffic threshold arrival, and a charging condition change.
  5. 根据权利要求3所述的方法,其中,所述结果码为无法处理包括:所述结果码为预先设置的值、或3004-忙无法处理、或3002-无法投递。The method according to claim 3, wherein the result code is unprocessable comprises: the result code is a preset value, or 3004-busy cannot be processed, or 3002-undeliverable.
  6. 根据权利要求2所述的方法,其中,所述重连接条件包括:链路恢复、或预设时长、或链路拥塞解除。The method of claim 2, wherein the reconnection condition comprises: link recovery, or a preset duration, or link congestion cancellation.
  7. 根据权利要求2所述的方法,其中,所述DCCA客户端启动与服务端重新建立连接包括:The method of claim 2, wherein the DCCA client initiates re-establishing the connection with the server comprises:
    所述DCCA客户端构造信用控制重连接请求消息并发送给服务端,同时携带有自异常后的业务计费信息;The DCCA client constructs a credit control reconnection request message and sends the message to the server, and carries the service charging information after the abnormality;
    所述DCCA客户端接收来自所述服务端对用户进行扣费后发送的信用控制重连接请求响应消息,其中携带配额。The DCCA client receives a credit control reconnection request response message sent by the server after deducting the user, and carries a quota.
  8. 根据权利要求7所述的方法,其中,所述DCCA客户端接收来自所述服务端对用户进行扣费后发送的信用控制重连接请求响应消息包括:The method according to claim 7, wherein the DCCA client receives a credit control reconnection request response message sent from the server after deducting the user, and includes:
    收到来自DCCA客户端的信用控制重连接请求后,所述服务端根据会话ID查找会话:After receiving the credit control reconnection request from the DCCA client, the server looks up the session according to the session ID:
    如果该会话存在,则根据自身的策略对该请求中的信息进行扣费,并按正常流程将新的配额信息携带在信用控制重连接请求响应中返回给所述DCCA客户端;If the session exists, the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
    如果该会话ID对应的会话并不存在,且信用控制请求类型为重连接请求,则所述服务端创建会话,同时进行鉴权以及批价处理,并向所述DCCA客户端回复所述信用控制重连接请求响应。If the session corresponding to the session ID does not exist, and the credit control request type is a reconnection request, the server creates a session, performs authentication and batch processing, and replies to the DCCA client with the credit control. Reconnect the request response.
  9. 根据权利要求1~8任一项所述的方法,该方法还包括:所述DCCA客户端收到信用控制重连接请求响应,更新会话以及业务内容。The method according to any one of claims 1 to 8, further comprising the DCCA client receiving a credit control reconnection request response, updating the session and the service content.
  10. 根据权利要求1~8任一项所述的方法,其中,所述DCCA客户端为媒体网关;所述服务端为在线计费***OCS或策略与计费规则功能PCRF。The method according to any one of claims 1 to 8, wherein the DCCA client is a media gateway; the server is an online charging system OCS or a policy and charging rule function PCRF.
  11. 一种实现在线计费的***,至少包括DCCA客户端,服务端;其中, A system for realizing online charging, comprising at least a DCCA client and a server; wherein
    DCCA客户端,设置为与在线计费***服务端交互异常,将未处理的话单存储在本地或者发送给离线计费***OFCS,并继续保持业务正常使用;在满足预先设置的重连接条件时,DCCA客户端启动与服务端重新建立连接;The DCCA client is configured to interact with the online charging system server abnormally, store the unprocessed bills locally or send them to the offline charging system OFCS, and continue to maintain normal service usage; when the pre-set reconnection conditions are met, The DCCA client starts to re-establish a connection with the server;
    服务端,设置为接收到来自DCCA的重新连接的请求,返回重连接结果。The server is set to receive a reconnection request from the DCCA and return the reconnection result.
  12. 根据权利要求11所述的***,其中,所述DCCA客户端还设置为:在线计费用户接入,所述DCCA客户端向服务端发送信用控制初始请求;相应地,所述服务端还设置为:对接入的在线计费用户进行鉴权成功后,向所述DCCA客户端返回扩展后的信用控制初始请求响应;其中,信用控制初始请求响应中的失败处理CCFH字段表示继续并重连接CONTINUE_AND_RECONNECT,以指示所述DCCA客户端在感知到链路故障后可以继续业务并重试;The system according to claim 11, wherein the DCCA client is further configured to: an online charging user access, the DCCA client transmitting a credit control initial request to the server; correspondingly, the server further sets After the successful authentication of the accessed online charging user, the extended credit control initial request response is returned to the DCCA client; wherein the failure processing CCFH field in the credit control initial request response indicates to continue and reconnect CONTINUE_AND_RECONNECT Instructing the DCCA client to continue the service and retry after sensing the link failure;
    或者,所述DCCA客户端中配置有支持会话异常后重连接的配置信息。Alternatively, the DCCA client is configured with configuration information that supports reconnection after a session exception.
  13. 根据权利要求12所述的***,其中,在所述DCCA客户端与服务端交互异常时,所述DCCA客户端具体设置为:The system of claim 12, wherein when the DCCA client interacts abnormally with the server, the DCCA client is specifically configured to:
    在所述在线计费用户业务进行中,触发向服务端发送信用控制更新请求;且所述DCCA客户端感知到链路异常;或者,In the online charging user service, triggering sending a credit control update request to the server; and the DCCA client perceives that the link is abnormal; or
    在所述在线计费用户业务进行中,所述DCCA客户端触发向服务端发送信用控制更新请求;此时,所述服务端具体设置为:收到信用控制更新请求,并向所述DCCA客户端下发信用控制更新请求响应消息,其中携带结果码为无法处理;所述DCCA客户端根据结果码,判断出异常;或者,In the online charging user service, the DCCA client triggers sending a credit control update request to the server; at this time, the server is specifically configured to: receive a credit control update request, and send the credit control request to the DCCA client. Sending a credit control update request response message, wherein the carrying result code is unprocessable; and the DCCA client determines that the abnormality is based on the result code; or
    发现链路中断或者等待服务端响应超时后,且自身本地配置有支持会话异常后重连接的配置信息。After the link is interrupted or waits for the response from the server to time out, the local configuration is configured to support the reconnection of the session.
  14. 根据权利要求13所述的***,其中,所述DCCA客户端触发向服务端发送信用控制更新请求之前,时间门限、流量门限到达以及计费条件改变。The system of claim 13 wherein the DCCA client triggers a time threshold, a traffic threshold arrival, and a charging condition change prior to transmitting a credit control update request to the server.
  15. 根据权利要求13所述的***,其中,所述结果码为无法处理包括:所述结果码为预先设置的值、或3004-忙无法处理、或3002-无法投递。The system of claim 13, wherein the result code is unprocessable comprises: the result code is a preset value, or 3004-busy unprocessable, or 3002-undeliverable.
  16. 根据权利要求12所述的***,其中,所述重连接条件包括:链路恢 复、或预设时长、或链路拥塞解除。The system of claim 12 wherein said reconnecting condition comprises: link recovery Complex, or preset duration, or link congestion is removed.
  17. 根据权利要求12所述的***,其中,所述DCCA客户端启动与服务端重新建立连接时,所述DCCA客户端具体设置为:The system of claim 12, wherein when the DCCA client initiates a re-establishment connection with the server, the DCCA client is specifically configured to:
    构造信用控制重连接请求消息并发送给服务端,同时携带有自异常后的业务计费信息;Constructing a credit control reconnection request message and sending it to the server, and carrying the service charging information after the abnormality;
    所述服务端具体用于:对用户进行扣费,同时向所述DCCA客户端发送信用控制重连接请求响应消息,其中携带配额。The server is specifically configured to: charge a user, and send a credit control reconnection request response message to the DCCA client, where the quota is carried.
  18. 根据权利要求17所述的***,其中,所述服务端具体设置为:The system of claim 17, wherein the server is specifically configured to:
    接收到来自所述DCCA客户端的信用控制重连接请求后,根据会话ID查找会话:After receiving the credit control reconnection request from the DCCA client, the session is searched according to the session ID:
    如果该会话存在,则根据自身的策略对该请求中的信息进行扣费,并按正常流程将新的配额信息携带在信用控制重连接请求响应中返回给所述DCCA客户端;If the session exists, the information in the request is deducted according to its own policy, and the new quota information is carried in the credit control reconnection request response according to the normal process and returned to the DCCA client;
    如果所述服务端发现该会话ID对应的会话并不存在,同时发现信用控制请求类型为重连接请求,则创建会话,同时进行鉴权以及批价处理,并向所述DCCA客户端回复信用控制重连接请求响应。If the server finds that the session corresponding to the session ID does not exist and finds that the credit control request type is a reconnection request, creates a session, performs authentication and batch processing, and returns credit control to the DCCA client. Reconnect the request response.
  19. 根据权利要求11~18任一项所述的***,其中,所述DCCA客户端还设置为:收到信用控制重连接请求响应,更新会话以及业务内容。The system according to any one of claims 11 to 18, wherein the DCCA client is further configured to: receive a credit control reconnection request response, update a session, and service content.
  20. 根据权利要求11~18任一项所述的***,其中,所述DCCA客户端为媒体网关;所述服务端为在线计费***OCS或策略与计费规则功能PCRF。The system according to any one of claims 11 to 18, wherein the DCCA client is a media gateway; the server is an online charging system OCS or a policy and charging rule function PCRF.
  21. 一种实现在线计费的装置,至少包括持续处理模块、重建连接模块,其中,An apparatus for implementing online charging, comprising at least a continuous processing module and a reconstruction connection module, wherein
    持续处理模块,设置为将未处理的话单存储在本地或者发送给OFCS,并继续保持业务正常使用;The continuous processing module is configured to store the unprocessed bills locally or send to the OFCS, and continue to maintain the normal use of the service;
    重建连接模块,设置为在满足预先设置的重连接条件时,启动与服务端重新建立连接。The connection module is re-established and set to initiate a re-establishment of the connection with the server when the pre-set reconnection condition is met.
  22. 根据权利要求21所述的装置,还包括接入处理模块,用于: The apparatus of claim 21 further comprising an access processing module for:
    当在线计费用户接入,向所述服务端发送信用控制初始请求;此时,When the online charging user accesses, sends an initial request for credit control to the server; at this time,
    所述持续处理模块还设置为:接收到来自所述服务端的扩展后的信用控制初始请求响应,其中,信用控制初始请求响应的CCFH字段表示继续并重连接,以指示在感知到链路故障后可以继续业务并重试。The persistent processing module is further configured to: receive an extended credit control initial request response from the server, wherein a CCFH field of the credit control initial request response indicates to continue and reconnect to indicate that after the link failure is sensed Continue the business and try again.
  23. 根据权利要求22所述的装置,其中,所述接入处理模块还设置为:The apparatus of claim 22, wherein the access processing module is further configured to:
    在所述在线计费用户业务进行中,触发向所述服务端发送信用控制更新请求;并在感知到链路异常时,通知所述持续处理模块;或者,In the ongoing online charging user service, triggering sending a credit control update request to the server; and notifying the persistent processing module when the link abnormality is perceived; or
    在所述在线计费用户业务进行中,触发向所述服务端发送信用控制更新请求;并且收到来自所述服务端的信用控制更新请求响应消息,其中携带结果码为无法处理时,通知所述持续处理模块;或者,In the online charging user service, triggering sending a credit control update request to the server; and receiving a credit control update request response message from the server, where the carrying result code is unprocessable, notifying the Continuous processing module; or,
    在发现链路中断或者等待服务端响应超时后,判断自身配置有支持会话异常后重连接,通知所述持续处理模块。After the link is interrupted or waits for the server to respond to the timeout, it is determined that the configuration is supported by the session exception and then reconnected to notify the persistent processing module.
  24. 根据权利要求22所述的装置,其中,所述重建连接模块具体设置为:The device according to claim 22, wherein the reconstruction connection module is specifically configured to:
    在满足预先设置的重连接条件时,构造信用控制重连接请求消息并发送给所述服务端,同时携带有自异常后的业务计费信息;When the pre-set reconnection condition is met, the credit control reconnection request message is constructed and sent to the server, and the service charging information after the abnormality is carried;
    接收来自所述服务端的信用控制重连接请求响应消息,其中携带配额。Receiving a credit control reconnection request response message from the server, where the quota is carried.
  25. 根据权利要求21~24任一项所述的装置,其中,所述装置为独立实体,或设置在DCCA客户端中。Apparatus according to any one of claims 21 to 24, wherein the apparatus is a standalone entity or is provided in a DCCA client.
  26. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权1~权10任一项的实现在线计费的方法。 A computer readable storage medium storing computer executable instructions for performing the method of implementing online charging according to any one of rights 1 to 10.
PCT/CN2016/079592 2015-08-11 2016-04-18 Method, system and device for realizing online charging WO2016180177A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510488933.4 2015-08-11
CN201510488933.4A CN106454788A (en) 2015-08-11 2015-08-11 Method, system and device for realizing online charging

Publications (1)

Publication Number Publication Date
WO2016180177A1 true WO2016180177A1 (en) 2016-11-17

Family

ID=57247748

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/079592 WO2016180177A1 (en) 2015-08-11 2016-04-18 Method, system and device for realizing online charging

Country Status (2)

Country Link
CN (1) CN106454788A (en)
WO (1) WO2016180177A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087310B (en) * 2019-06-14 2023-06-02 中国电信股份有限公司 Charging processing method, device and computer readable storage medium
CN112243204B (en) * 2019-07-19 2022-04-26 华为技术有限公司 Method, system and related equipment for processing charging
CN111555912B (en) * 2020-04-24 2023-04-07 北京思特奇信息技术股份有限公司 Method, device and computer storage medium for solving internet speed

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022348A (en) * 2007-02-07 2007-08-22 华为技术有限公司 Method, system and equipment for realizing on-line charge metering
CN101183953A (en) * 2007-12-13 2008-05-21 ***通信集团广东有限公司 Added charging method for online charging system
CN102291242A (en) * 2011-08-25 2011-12-21 深圳市同洲视讯传媒有限公司 Charging method and device
US20130304921A1 (en) * 2010-05-05 2013-11-14 Alcatel-Lucent Canada, Inc. Pcrf triggered rules clean-up
CN103702306A (en) * 2012-09-27 2014-04-02 阿尔卡特朗讯 Method and equipment for charging user equipment during charging failure of OCS (online charging system)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8972553B2 (en) * 2009-08-10 2015-03-03 Qualcomm Incorporated Method and apparatus for handling policy and charging control rule or quality of service rule modification failures
CN102487323B (en) * 2010-12-02 2014-10-22 中兴通讯股份有限公司 Online charging service processing method, gateway and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022348A (en) * 2007-02-07 2007-08-22 华为技术有限公司 Method, system and equipment for realizing on-line charge metering
CN101183953A (en) * 2007-12-13 2008-05-21 ***通信集团广东有限公司 Added charging method for online charging system
US20130304921A1 (en) * 2010-05-05 2013-11-14 Alcatel-Lucent Canada, Inc. Pcrf triggered rules clean-up
CN102291242A (en) * 2011-08-25 2011-12-21 深圳市同洲视讯传媒有限公司 Charging method and device
CN103702306A (en) * 2012-09-27 2014-04-02 阿尔卡特朗讯 Method and equipment for charging user equipment during charging failure of OCS (online charging system)

Also Published As

Publication number Publication date
CN106454788A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US9240946B2 (en) Message restriction for diameter servers
EP2800302B1 (en) Method, device and system for determining a policy and charging rule function
US9013979B2 (en) High-available policy and charging-control in geographical redundancy PCRF configurations
WO2017000242A1 (en) Charging method, network device, and charging system
WO2014049433A2 (en) Method and apparatus for charging a user equipment upon ocs charging failure
US9215133B2 (en) Methods, systems, and computer readable media for detecting orphan Sy or Rx sessions using audit messages with fake parameter values
EP2775661B1 (en) Fault detection method and gateway
WO2016180175A1 (en) Method, system and device for realizing online charging
WO2016180177A1 (en) Method, system and device for realizing online charging
WO2016082710A1 (en) Call control method, diameter protocol forwarding device, and system
JP6983904B2 (en) Methods, systems, and computer-readable media for access node gateway (AN-GW) non-usable periods and message flood suppression after AN-GW recovery.
US11178032B2 (en) Connectivity monitoring for data tunneling between network device and application server
CN102647697B (en) Charging control method and device
US10091832B2 (en) Call failure reduction
US8737202B2 (en) Automatic connection recovery
CN110880981B (en) Gx session exception handling method and device
US20150319267A1 (en) Methods, systems, and computer readable media for controlling deep parsing of diameter messages
WO2017107563A1 (en) Method and device for processing access region monitoring
WO2022057758A1 (en) Session resource control method and apparatus, device, system, and storage medium
WO2018196490A1 (en) Method for sharing authorization quota, and related device
US10149143B2 (en) Methods, systems, and computer readable media for realm-based routing of diameter request messages
WO2016062021A1 (en) Method and device for service capacity detection
US20170026524A1 (en) Charging method and apparatus
WO2016180227A1 (en) Recovery method, device and system for credit control session
WO2016150143A1 (en) Cats charging method, and charging-message request sending method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16792027

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16792027

Country of ref document: EP

Kind code of ref document: A1