Device, system and method for implementing communication billing in communication network

By setting up a billing device in the communication network, using the diameter protocol and TCP for signaling processing, analyzing the billing processing capabilities of OCS and performing traffic control, the problem that OCS cannot process the core network signaling in a timely manner, and the communication call service is realized The continuous interaction and real-time billing improve user experience and system stability.

CN114501358BActive Publication Date: 2024-11-15SHANGHAI XINFANG INTELLIGENT SYST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210093504.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-26
Publication Date
2024-11-15
Estimated Expiration
2042-01-26

AI Technical Summary

Technical Problem

In communication networks, the online billing system (OCS) cannot process the core network signaling in time due to limited capabilities or excessive signaling, resulting in the inability to bill in time or be abnormally interrupted in time, affecting the user experience.

Method used

Set up a billing device between OCS and the service control point (SCP), interact with SCP through the transmission control protocol (TCP), encapsulate signaling messages using the diameter protocol, and perform flow control in the OCS billing processing capability analysis to determine whether to Forward the core network signaling to ensure that the OCS' billing processing capacity meets the needs.

Benefits of technology

It realizes continuous interaction between OCS and SCP in the communication call service process and real-time billing, avoids billing abnormalities caused by insufficient OCS processing capabilities, and improves user experience and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114501358B_ABST
    Figure CN114501358B_ABST
Patent Text Reader

Abstract

The present application provides a device, system and method for implementing communication billing in a communication network. A billing device is set between OCS and SCP. The billing device interacts with SCP via TCP and interacts with OCS via TCP / SCTP. After receiving the core network signaling related to the call service from SCP, the billing device encapsulates it into a request message based on the diameter protocol and sends it to OCS. During the communication call service, the billing processing capability of OCS is analyzed according to the core network signaling or the response message based on the diameter protocol to determine whether to perform flow control on OCS. If yes, flow control is performed on OCS so that the core network signaling related to the call service subsequently sent by SCP is not forwarded to OCS. If not, the analysis process of OCS billing processing capability is continued. In this way, the present application ensures the continuous interaction between OCS and SCP during the communication call service and real-time billing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to communication technology, and in particular to a device, system and method for implementing communication billing in a communication network. Background Art

[0002] Currently, communication operators provide various communication services to terminals through communication networks. Figure 1 A schematic diagram of the architecture of a communication network provided by the prior art to provide communication services to the client. As shown in the figure, the mobile communication network, the public switched telephone network (PSTN), the intelligent network, etc. communicate and interact through the service switching point (SSP), and the SSP implements the communication connection function. The mobile switching center system / visit location register (MSCS / VLR) of the mobile communication network can be integrated in the SSP to realize the positioning of the terminals in the mobile communication network and the communication call services. The network architecture also includes a service control point (SCP), which interacts with the SSP (the SSP integrates the MSCS / VLR) to control the communication services in each SSP to realize Figure 1 Control of communication services in the core network shown.

[0003] When a communication network provides a terminal with a communication call service, it is necessary to perform real-time billing for the provided communication call service, and charge the terminal for the communication call service based on the real-time billing result. In this case, an online charging system (OCS) is set up in the communication network. The OCS is connected to the SCP, obtains the core network signaling related to the communication call service provided by the SCP, and performs real-time billing for the communication call service involved in the terminal based on the core network signaling, such as Figure 2 As shown, Figure 2 A schematic diagram of the architecture of real-time billing in a communication network provided by the prior art.

[0004] It can be seen that the use of OCS in the communication network to implement real-time billing of communication call services is an important part of the normal operation of the communication network. The ability of OCS to perform billing based on the core network signaling received from SCP during the communication call service of the terminal will affect the duration of the terminal's communication call service, thereby affecting the user experience of the terminal. When OCS is unable to process and bill the core network signaling received from SCP in a timely manner during the communication call service of the terminal due to limited capabilities or too many core network signaling received from SCP per unit time, the terminal's communication call service will not be billed in time or the communication call service will be abnormally interrupted. Therefore, how to ensure continuous interaction between OCS and SCP during the communication call service process and perform real-time billing is an urgent problem to be solved. Summary of the invention

[0005] In view of this, the embodiments of the present application provide an apparatus, method and system for implementing communication billing in a communication network, which can ensure continuous interaction between OCS and SCP during a communication call service and perform real-time billing.

[0006] The embodiment of the present application is implemented as follows:

[0007] A device for implementing communication billing in a communication network, the device is arranged between an online billing system OCS and a service control point SCP, the device interacts with the SCP based on a transmission control protocol TCP, and interacts with the OCS through TCP or a stream transmission control protocol SCTP, the device comprises: a transceiver unit and an analysis unit, wherein:

[0008] The transceiver unit is used to receive the core network signaling related to the communication call service from the SCP, encapsulate it into a request message based on the diameter protocol, and send it to the OCS; and receive a response message based on the diameter protocol from the OCS;

[0009] The analysis unit is used to analyze the billing processing capability of the OCS according to the response message based on the diameter protocol received from the OCS during the communication call service, and determine whether to perform flow control on the OCS. If so, perform flow control on the OCS so that the core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS; if not, continue to analyze the billing processing capability of the OCS.

[0010] Optionally, the analyzing unit is further configured to analyze the charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, further includes:

[0011] Calculate in real time the number of request messages per unit time for sending the diameter protocol-based request message, determine whether the number of request messages per unit time exceeds a threshold number of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS;

[0012] Alternatively, identifying the timestamp of sending the request message based on the diameter protocol, and when receiving the corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol, counting the number of request messages exceeding the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determining whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS;

[0013] Alternatively, identify the status identifier in the request message based on the diameter protocol, count the number of the request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number exceeds the set threshold value of the number of erroneous request messages sent, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

[0014] Optionally, the transceiver unit is further configured to send an offline call record message to the SCP when performing flow control on the OCS, to instruct the SCP to interrupt the current communication call service.

[0015] Optionally, the request message based on the diameter protocol is an online charging control request CCR;

[0016] The response message based on the diameter protocol is an online charging control answer CCA;

[0017] The core network signaling related to the communication call service is a Session Initiation Protocol SIP message, and the communication call service interruption signaling is a SIP message.

[0018] A method for implementing communication billing in a communication network, the method comprising:

[0019] After receiving the core network signaling related to the call service from the SCP, encapsulate it into a request message based on the diameter protocol, send it to the OCS, and receive a response message based on the diameter protocol sent by the OCS;

[0020] During the communication call service, the OCS billing processing capability is analyzed according to the core network signaling or the response message based on the diameter protocol to determine whether to perform flow control on the OCS. If so, the OCS is flow controlled so that the core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS; if not, the OCS billing processing capability analysis process is continued.

[0021] Optionally, the analyzing the charging processing capability of the OCS to determine whether to perform flow control on the OCS includes:

[0022] Calculate in real time the number of request messages per unit time for sending the diameter protocol-based request message, determine whether the number of request messages per unit time exceeds a threshold number of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS;

[0023] Alternatively, identifying the timestamp of sending the request message based on the diameter protocol, and when receiving the corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol, counting the number of request messages exceeding the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determining whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS;

[0024] Alternatively, identify the status identifier in the request message based on the diameter protocol, count the number of the request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number exceeds the set threshold value of the number of erroneous request messages sent, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

[0025] Optionally, when performing flow control on the OCS, the method further includes: sending an offline call record message to the SCP to instruct the SCP to interrupt the current communication call service.

[0026] Optionally, the request message based on the diameter protocol is an online charging control request CCR;

[0027] The response message based on the diameter protocol is an online charging control answer CCA;

[0028] The core network signaling related to the communication call service is a Session Initiation Protocol SIP message, and the communication call service interruption signaling is a SIP message.

[0029] A system for implementing communication billing in a communication network, the system comprising: an SCP, a billing device and an OCS, the billing device interacts with the SCP based on TCP, and interacts with the OCS through TCP or SCTP, wherein:

[0030] The SCP is used to send core network signaling related to the call service to the billing device;

[0031] The charging device is used for, after receiving the core network signaling related to the call service from the SCP, encapsulating it into a request message based on the diameter protocol, sending it to the OCS, and receiving a response message based on the diameter protocol sent by the OCS; during the communication call service, analyzing the charging processing capability of the OCS according to the core network signaling or the response message based on the diameter protocol, determining whether to perform flow control on the OCS, and if so, performing flow control on the OCS so that the core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS; if not, continuing the analysis process of the charging processing capability of the OCS;

[0032] The OCS is used to receive the request message based on the diameter protocol from the charging device, and send the response message based on the diameter protocol to the charging device.

[0033] Optionally, the charging device is further configured to analyze the charging processing capability of the OCS and determine whether to perform flow control on the OCS, including:

[0034] Calculate in real time the number of request messages per unit time for sending the diameter protocol-based request message, determine whether the number of request messages per unit time exceeds a threshold number of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS;

[0035] Alternatively, identifying the timestamp of sending the request message based on the diameter protocol, and when receiving the corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol, counting the number of request messages exceeding the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determining whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS;

[0036] Alternatively, identify the status identifier in the request message based on the diameter protocol, count the number of the request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number exceeds the set threshold value of the number of erroneous request messages sent, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

[0037] As can be seen above, in the embodiment of the present application, a billing device is set between OCS and SCP, and the billing device interacts with SCP via the transmission control protocol (TCP), and interacts with OCS via the transmission control protocol or stream transmission control protocol (TCP / SCTP). After receiving the core network signaling related to the call service from SCP, the billing device encapsulates it into a request message based on the diameter protocol and sends it to OCS; during the communication call service, according to the core network signaling or the response message based on the diameter protocol, the billing processing capability of OCS is analyzed to determine whether to perform flow control on OCS. If yes, flow control is performed on OCS so that the core network signaling related to the call service subsequently sent by SCP is not forwarded to OCS. If not, the analysis process of OCS billing processing capability is continued. In this way, in the embodiment of the present application, the billing device analyzes the billing processing capability of the OCS in real time during the continuous process of the communication call service. When the billing processing capability of the OCS cannot meet the billing processing requirements of the current communication call service in a timely manner, the OCS flow control operation is performed to ensure the continuous interaction between the OCS and the SCP during the communication call service and real-time billing. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of an architecture in which a communication network provided by the prior art provides communication services to a client;

[0039] Figure 2 A schematic diagram of the architecture of real-time billing in a communication network provided by the prior art;

[0040] Figure 3 A schematic diagram of the structure of a device for implementing communication billing in a communication network provided in an embodiment of the present application;

[0041] Figure 4 A flow chart of a method for implementing communication billing in a communication network provided in an embodiment of the present application;

[0042] Figure 5 A flowchart of a specific example of a method for implementing communication billing in a communication network provided by an embodiment of the present invention;

[0043] Figure 6 A schematic diagram of the system structure for implementing communication billing in a communication network provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0047] In the embodiment of the present application, a billing device is set between OCS and SCP, and the billing device interacts with SCP via TCP and interacts with OCS via TCP / SCTP. After receiving the core network signaling related to the call service from SCP, the billing device encapsulates it into a request message based on the diameter protocol and sends it to OCS; during the communication call service, according to the core network signaling or the response message based on the diameter protocol, the billing processing capability of OCS is analyzed to determine whether to perform flow control on OCS. If yes, flow control is performed on OCS so that the core network signaling related to the call service subsequently sent by SCP is not forwarded to OCS. If not, the analysis process of OCS billing processing capability is continued.

[0048] In this way, in the embodiment of the present application, the billing device analyzes the billing processing capability of the OCS in real time during the continuous process of the communication call service. When the billing processing capability of the OCS cannot meet the billing processing requirements of the current communication call service in a timely manner, the OCS flow control operation is performed to ensure the continuous interaction between the OCS and the SCP during the communication call service and real-time billing.

[0049] Figure 3 A schematic diagram of the structure of a device for implementing communication billing in a communication network provided in an embodiment of the present application, wherein the device is arranged between the OCS and the SCP, the device is a billing device, the device interacts with the SCP via TCP, and interacts with the OCS via TCP / SCTP, and the device includes: a transceiver unit and an analysis unit, wherein:

[0050] The transceiver unit is used to receive the core network signaling related to the communication call service from the SCP, encapsulate it into a request message based on the diameter protocol, and send it to the OCS; receive a response message based on the diameter protocol from the OCS;

[0051] The analyzing unit is used to analyze the billing processing capability of the OCS according to the response message based on the diameter protocol received from the OCS during the communication call service, and determine whether to perform flow control on the OCS. If yes, perform flow control on the OCS so that the core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS. If not, continue to analyze the billing processing capability of the OCS.

[0052] The billing device realizes communication interaction with OCS through TCP / SCTP, and performs real-time analysis on the billing processing capability of OCS during the communication call service. When OCS fails or the system pressure is high, the flow control function of OCS is started to ensure the normal operation of the communication call service of SCP.

[0053] In the device, the analysis unit is further used to analyze the OCS charging processing capability, and when determining whether to perform flow control on the OCS, it also includes:

[0054] Calculate in real time the number of request messages per unit time sent based on the diameter protocol, determine whether the number of request messages per unit time exceeds the number threshold of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS.

[0055] In the device, the analysis unit is further used to analyze the OCS charging processing capability, and when determining whether to perform flow control on the OCS, it also includes:

[0056] Identify the timestamp of sending a request message based on the diameter protocol, and when receiving a corresponding response message based on the diameter protocol, calculate the time length occupied by the OCS to process the request message based on the diameter protocol, count the number of request messages that exceed the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determine whether the number of request messages exceeds the set message processing number threshold, and if so, record the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determine to perform flow control on the OCS.

[0057] In the device, the analysis unit is further used to analyze the OCS charging processing capability, and when determining whether to perform flow control on the OCS, it also includes:

[0058] Identify the status identifier in the request message based on the diameter protocol, count the number of request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number value exceeds the set threshold value of the number of error-sent request messages, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

[0059] In the device, the request message based on the diameter protocol is an online charging control request (CCR); and the response message based on the diameter protocol is an online charging control answer (CCA).

[0060] In the device, the transceiver unit is further used to send a communication call service interruption signaling to the SCP when performing flow control on the OCS. Specifically, sending the communication call service interruption signaling to the SCP is: sending an offline call record message to the SCP to instruct the SCP to interrupt the current communication call service.

[0061] In the device, the core network signaling related to the communication call service is a Session Initiation Protocol (SIP) message, and the communication call service interruption signaling is a SIP message.

[0062] Figure 4 A flow chart of a method for implementing communication billing in a communication network provided by an embodiment of the present invention, in which a billing device is provided between an SCP and an OCS, and the method further includes:

[0063] Step 401: After receiving the core network signaling related to the call service from the SCP, encapsulate it into a request message based on the diameter protocol and send it to the OCS; receive a response message based on the diameter protocol from the OCS;

[0064] Step 402: During the communication call service, the OCS charging processing capability is analyzed according to the core network signaling or the response message based on the diameter protocol to determine whether to perform flow control on the OCS. If yes, step 403 is executed; if not, step 404 is executed.

[0065] Step 403: Perform flow control on the OCS so that the core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS;

[0066] Step 404: Continue the analysis process of the OCS billing processing capability.

[0067] It can be seen from the above method that the core network signaling to be sent by the SCP interacts with the OCS through the billing device. Regardless of whether the OCS fails or not, the billing device can work normally and smoothly and ensure the normal operation of the SCP.

[0068] In the method, there are three ways to analyze the OCS billing processing capability and determine whether to perform flow control on the OCS, namely: a flow control method based on the OCS billing processing capability; a flow control method based on the OCS billing processing timeout; and a flow control method based on the error identification of the request message, which are explained below.

[0069] Specifically, when the flow control method based on the OCS billing processing capability is adopted, the analysis of the OCS billing processing capability to determine whether to perform flow control on the OCS includes:

[0070] Calculate in real time the number of request messages per unit time sent based on the diameter protocol, determine whether the number of request messages per unit time exceeds the number threshold of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS.

[0071] Specifically, when sampling the flow control mode based on the OCS billing processing timeout, the analysis of the OCS billing processing capability to determine whether to perform flow control on the OCS further includes:

[0072] Identify the timestamp of sending a request message based on the diameter protocol, and when receiving a corresponding response message based on the diameter protocol, calculate the time length occupied by the OCS to process the request message based on the diameter protocol, count the number of request messages that exceed the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determine whether the number of request messages exceeds the set message processing number threshold, and if so, record the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determine to perform flow control on the OCS.

[0073] Specifically, when a flow control method based on an error identifier of a request message is adopted, the analysis of the OCS charging processing capability to determine whether to perform flow control on the OCS further includes:

[0074] Identify the status identifier in the request message based on the diameter protocol, count the number of request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number value exceeds the set threshold value of the number of error-sent request messages, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

[0075] In the method, the request message based on the diameter protocol is CCR; the response message based on the diameter protocol is CCA.

[0076] In the method, when the OCS is flow controlled, the method further includes: sending a communication call service interruption signaling to the SCP. Specifically, sending the communication call service interruption signaling to the SCP is: sending an offline call record message to the SCP to instruct the SCP to interrupt the current communication call service.

[0077] In the method, the core network signaling related to the call service is a SIP message, and the terminal communication call service signaling sent to the SCP is a SIP message.

[0078] In the method, sending a communication call service interruption signaling to the SCP includes sending an offline call record message to the SCP to instruct the SCP to interrupt the current communication call service.

[0079] The above method is described in detail with a specific example. Figure 5A flowchart of a specific example of a method for implementing communication billing in a communication network provided by an embodiment of the present invention is shown in the figure:

[0080] Step 501: SCP sends a SIP message to the billing device;

[0081] In this step, the SIP message is a core network signaling related to a call service;

[0082] Step 502: The billing device encapsulates the SIP message into a request message based on the diameter protocol, namely, CCR, and sends it to the OCS via TCP or SCTP.

[0083] Step 503: After receiving the request message, the OCS performs billing processing based on the request message, and then sends a response message based on the diameter protocol, namely, CCA, to the billing device;

[0084] Step 504: After receiving the CCA, the charging device analyzes the processing capability of the OCS and determines whether flow control needs to be performed on the OCS;

[0085] Step 505: If the charging determination device determines that flow control is required for OCS, it sends a SIP message to SCP, that is, sends an offline call record message to SCP, instructing SCP to interrupt the current communication call service so that the request message of SCP will not be sent to OCS during flow control.

[0086] In the example, when the flow control method based on the OCS charging processing capability is adopted to determine whether the OCS needs flow control, the specific process is as follows.

[0087] OCS can provide its maximum capacity to process request messages per second. The billing device calculates the traffic of request messages sent to OCS in real time and performs counting statistics. When the number of request messages sent within one second exceeds the request message number threshold set by the maximum processing capacity of OCS, the remaining CCR within the second will no longer be sent to OCS for online billing processing, and will be directly returned to SCP for offline call records.

[0088] In the example, when the flow control method based on the OCS charging processing timeout is adopted to determine whether the OCS needs flow control, the specific process is as follows.

[0089] The billing device records the timestamp of the CCR sent to the OCS. When receiving the CCA, it counts the time length of the CCR. If there are many timeout responses in one cycle, it records them. If there are many timeout responses in multiple consecutive cycles, it performs flow control and the CCR is no longer sent to the OCS for online billing requests. Here, generally one minute is a cycle, and 100 timeouts are recorded, which can be set as needed.

[0090] In the example, when the flow control method based on the error identifier of the request message is used to determine whether the OCS needs flow control, the specific process is as follows.

[0091] The billing device records the CCA status code. If there are many error states in one cycle, it will be recorded. If there are many error codes in multiple consecutive cycles, flow control will be performed. Later, CCR will no longer send OCS to make online billing requests. Here, generally one minute is one cycle, and 100 error codes are recorded. It can be set according to needs.

[0092] Figure 6 A schematic diagram of a system structure for implementing communication billing in a communication network provided in an embodiment of the present application, wherein the system includes: an SCP, a billing device, and an OCS, wherein the billing device interacts with the SCP based on TCP, and interacts with the OCS through TCP or SCTP, wherein:

[0093] SCP, used to send core network signaling related to call services to the billing device;

[0094] The charging device is used to encapsulate the received data from the SCP into a request message based on the diameter protocol and send it to the OCS; during the communication call service, according to the core network signaling or the response message based on the diameter protocol, analyze the charging processing capability of the OCS to determine whether to perform flow control on the OCS; if yes, perform flow control on the OCS so that the core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS; if not, continue the analysis process of the charging processing capability of the OCS;

[0095] The OCS is used to receive a request message based on the diameter protocol from the billing device and send a response message based on the diameter protocol to the billing device.

[0096] In the system, the billing device is also used to analyze the billing processing capability of the OCS, and when determining whether to perform flow control on the OCS, it includes: calculating in real time the unit time quantity value of sending request messages based on the diameter protocol, and judging whether the unit time quantity value exceeds the quantity threshold of processing request messages provided by the billing processing capability of the OCS, and if so, determining to perform flow control on the OCS.

[0097] In the system, the billing device is also used to analyze the billing processing capability of the OCS, and when determining whether to perform flow control on the OCS, it includes: identifying the timestamp of sending a request message based on the diameter protocol, and when receiving a corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS to process the request message based on the diameter protocol, counting the number of request messages that exceed the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, judging whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS.

[0098] In the system, the billing device is also used to analyze the billing processing capability of the OCS, and when determining whether to perform flow control on the OCS, it also includes: identifying a status identifier in a request message sent based on the diameter protocol, counting the number of request messages based on the diameter protocol with a status identifier of an error state within a time period, determining whether the number exceeds a set threshold value for the number of erroneously sent request messages, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set threshold value for the number of time periods, determining to perform flow control on the OCS.

[0099] In the system, the billing device is further used to send a communication call service interruption signaling to the SCP when performing flow control on the OCS; the SCP is further used to receive the communication call service interruption signaling from the billing device. Here, the communication call service interruption signaling is: sending an offline call record message to the SCP to instruct the SCP to interrupt the current communication call service.

[0100] In the system, the request message based on the diameter protocol is CCR, and the response message based on the diameter protocol is CCA. The core network signaling related to the communication call service is a SIP message, and the communication call service interruption signaling is a SIP message.

[0101] As can be seen from the embodiments of the present application, the present application sets a billing device, which is loosely coupled with the communication call service process and supports secure transmission of TCP and SCTP. The billing device can perform real-time analysis on the billing processing capability of the OCS, determine the billing processing capability of the OCS, and perform flow control on the OCS. The billing device enables the SCP to have no reliance on the billing processing process of the OCS during the process of processing the communication call service, thereby ensuring the quality of the communication call service processing of the SCP.

[0102] The flow chart and block diagram in the accompanying drawings of the present application show the possible architecture, function and operation of the system, method and computer program product according to the various embodiments disclosed in the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in the order of the standards in different figures. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0103] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope disclosed in the present application.

[0104] Specific embodiments are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application, and is not used to limit the present application. For those skilled in the art, changes can be made in the specific implementation methods and application scopes according to the ideas, spirits and principles of the present application, and any modifications, equivalent substitutions, improvements, etc. made by them should be included in the scope of protection of the present application.

Claims

1. A device for implementing communication billing in a communication network, characterized in that: The device is arranged between an online charging system OCS and a service control point SCP, the device interacts with the SCP based on a transmission control protocol TCP, and interacts with the OCS via TCP or a stream transmission control protocol SCTP, and the device comprises: a transceiver unit and an analysis unit, wherein: The transceiver unit is used to receive the core network signaling related to the communication call service from the SCP, encapsulate it into a request message based on the diameter protocol, and send it to the OCS; and receive a response message based on the diameter protocol from the OCS; The analyzing unit is configured to analyze the charging processing capability of the OCS according to the response message based on the diameter protocol received from the OCS during the communication call service, determine whether to perform flow control on the OCS, and if so, perform flow control on the OCS so that the core network signaling related to the communication call service subsequently sent by the SCP is not forwarded to the OCS, and if not, continue to analyze the charging processing capability of the OCS; The analyzing unit is further configured to analyze the charging processing capability of the OCS and determine whether to perform flow control on the OCS, further comprising: Calculate in real time the number of request messages per unit time for sending the diameter protocol-based request message, determine whether the number of request messages per unit time exceeds a threshold number of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS; Alternatively, identifying the timestamp of sending the request message based on the diameter protocol, and when receiving the corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol, counting the number of request messages exceeding the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determining whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS; Alternatively, identify the status identifier in the request message based on the diameter protocol, count the number of the request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number exceeds the set threshold value of the number of erroneous request messages sent, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

2. The device according to claim 1, characterized in that The transceiver unit is further configured to send an offline call record message to the SCP when performing flow control on the OCS, to instruct the SCP to interrupt the current communication call service.

3. The device according to claim 2, characterized in that The request message based on the diameter protocol is an online charging control request CCR; The response message based on the diameter protocol is an online charging control answer CCA; The core network signaling related to the communication call service is a Session Initiation Protocol SIP message, and the signaling for the SCP to interrupt the current communication call service is a SIP message.

4. A method for implementing communication billing in a communication network, characterized in that: The method comprises: After receiving the core network signaling related to the communication call service from the SCP, encapsulate it into a request message based on the diameter protocol, send it to the OCS, and receive a response message based on the diameter protocol sent by the OCS; During the communication call service, according to the core network signaling or the response message based on the diameter protocol, the OCS charging processing capability is analyzed to determine whether to perform flow control on the OCS, and if so, the OCS is flow controlled so that the core network signaling related to the communication call service subsequently sent by the SCP is not forwarded to the OCS; if not, the OCS charging processing capability analysis process is continued; The analyzing the charging processing capability of the OCS to determine whether to perform flow control on the OCS includes: Calculate in real time the number of request messages per unit time for sending the diameter protocol-based request message, determine whether the number of request messages per unit time exceeds a threshold number of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS; Alternatively, identifying the timestamp of sending the request message based on the diameter protocol, and when receiving the corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol, counting the number of request messages exceeding the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determining whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS; Alternatively, identify the status identifier in the request message based on the diameter protocol, count the number of the request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number exceeds the set threshold value of the number of erroneous request messages sent, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.

5. The method according to claim 4, characterized in that When the flow control is performed on the OCS, the method further includes: sending an offline call record message to the SCP to instruct the SCP to interrupt the current communication call service.

6. The method according to claim 5, characterized in that The request message based on the diameter protocol is an online charging control request CCR; The response message based on the diameter protocol is an online charging control answer CCA; The core network signaling related to the communication call service is a Session Initiation Protocol SIP message, and the signaling for the SCP to interrupt the current communication call service is a SIP message.

7. A system for implementing communication billing in a communication network, characterized in that: The system includes: an SCP, a charging device and an OCS, wherein the charging device interacts with the SCP based on TCP, and interacts with the OCS through TCP or SCTP, wherein: The SCP is used to send core network signaling related to the communication call service to the billing device; The charging device is used for, after receiving the core network signaling related to the communication call service from the SCP, encapsulating it into a request message based on the diameter protocol, sending it to the OCS, and receiving a response message based on the diameter protocol sent by the OCS; during the communication call service, analyzing the charging processing capability of the OCS according to the core network signaling or the response message based on the diameter protocol, determining whether to perform flow control on the OCS, and if so, performing flow control on the OCS so that the core network signaling related to the communication call service subsequently sent by the SCP is not forwarded to the OCS; if not, continuing the analysis process of the charging processing capability of the OCS; The OCS is used to receive the request message based on the diameter protocol from the billing device, and send the response message based on the diameter protocol to the billing device; The charging device is further used to analyze the charging processing capability of the OCS and determine whether to perform flow control on the OCS, including: Calculate in real time the number of request messages per unit time for sending the diameter protocol-based request message, determine whether the number of request messages per unit time exceeds a threshold number of request messages processed provided by the billing processing capability of the OCS, and if so, determine to perform flow control on the OCS; Alternatively, identifying the timestamp of sending the request message based on the diameter protocol, and when receiving the corresponding response message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol, counting the number of request messages exceeding the set time length threshold for the OCS to process the request message based on the diameter protocol within a time period, determining whether the number of request messages exceeds the set message processing number threshold, and if so, recording the time period; if the number of recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS; Alternatively, identify the status identifier in the request message based on the diameter protocol, count the number of the request messages based on the diameter protocol with the status identifier of the error state within a time period, determine whether the number exceeds the set threshold value of the number of erroneous request messages sent, and if so, record the time period; if the number of recorded continuous time periods exceeds the set threshold value of the number of time periods, determine to perform flow control on the OCS.