CN114501358A - Device, system and method for realizing communication charging in communication network - Google Patents

Device, system and method for realizing communication charging in communication network Download PDF

Info

Publication number
CN114501358A
CN114501358A CN202210093504.7A CN202210093504A CN114501358A CN 114501358 A CN114501358 A CN 114501358A CN 202210093504 A CN202210093504 A CN 202210093504A CN 114501358 A CN114501358 A CN 114501358A
Authority
CN
China
Prior art keywords
ocs
diameter protocol
request message
charging
scp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210093504.7A
Other languages
Chinese (zh)
Inventor
卢亚洲
丁正
顾晓东
祝敬安
韦红
刘志永
刘君晓
汪勇
高树江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xinfang Software Co ltd
Shanghai Cintel Intelligent System Co ltd
Original Assignee
Shanghai Xinfang Software Co ltd
Shanghai Cintel Intelligent System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xinfang Software Co ltd, Shanghai Cintel Intelligent System Co ltd filed Critical Shanghai Xinfang Software Co ltd
Priority to CN202210093504.7A priority Critical patent/CN114501358A/en
Publication of CN114501358A publication Critical patent/CN114501358A/en
Pending legal-status Critical Current

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a device, a system and a method for realizing communication charging in a communication network.A charging device is arranged between an OCS and an SCP, and the charging device interacts with the SCP through TCP and interacts with the OCS through TCP/SCTP. After receiving a core network signaling related to a call service from the SCP, the charging device packages the signaling into a request message based on a diameter protocol and sends the request message to the OCS; in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, the OCS charging processing capacity is analyzed, whether the OCS needs to be subjected to flow control is determined, if yes, the OCS is subjected to flow control, so that the core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS, and if not, the OCS charging processing capacity analysis process is continued. Therefore, the method and the device ensure the continuous interaction of the OCS and the SCP in the communication call service process and charge in real time.

Description

Device, system and method for realizing communication charging in communication network
Technical Field
The present invention relates to communications technologies, and in particular, to an apparatus, a system, and a method for implementing communication charging in a communication network.
Background
Currently, communication carriers provide various communication services to terminals through communication networks. Fig. 1 is a schematic diagram of a communication network for providing communication services to clients according to the prior art. As shown in the figure, a mobile communication network, a Public Switched Telephone Network (PSTN), an intelligent network and the like perform communication interaction through a Service Switching Point (SSP), and the SSP performs a communication connection function. The SSP can integrate the mobile switching center system/location visitor register (MSCS/VLR) of the mobile communication network to realize the positioning of the terminal in the mobile communication network and the communication call service. In the network architecture, the network architecture further includes a Service Control Point (SCP) which interacts with SSPs (the SSPs integrate MSCS/VLR) to control communication services in the SSPs, thereby implementing control of communication services in the core network shown in fig. 1.
When a communication network provides a communication call service for a terminal, it is necessary to charge the provided communication call service in real time and charge the terminal for the communication call service based on a charge result of the real-time charging. In this case, an Online Charging System (OCS) is set in the communication network, the OCS accesses to the SCP, obtains core network signaling related to the communication call service provided by the SCP, and performs real-time Charging on the communication call service related to the terminal based on the core network signaling, as shown in fig. 2, and fig. 2 is a schematic diagram of an architecture of real-time Charging in the communication network provided in the prior art.
It can be seen that the use of the OCS in the communication network to implement real-time charging of the communication call service is an important component of the normal operation of the communication network. The OCS may affect the duration of the communication call service of the terminal according to the capability of charging according to the core network signaling received from the SCP in the communication call service process of the terminal, thereby affecting the experience of the user using the terminal. When the OCS is in the process of the communication call service of the terminal, due to limited capacity or excessive core network signaling received from the SCP in a unit time, the core network signaling received from the SCP cannot be processed in time and charging is performed, which may cause that the communication call service of the terminal cannot be charged in time or the communication call service is abnormally interrupted. Therefore, how to ensure the continuous interaction between the OCS and the SCP in the communication call service process and to charge in real time is an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present application provide a device, a method, and a system for implementing communication charging in a communication network, which can ensure continuous interaction between an OCS and an SCP in a communication call service process, and perform real-time charging.
The embodiment of the application is realized as follows:
a device for implementing communication charging in a communication network, the device being disposed between an online charging system, OCS, and a service control point, SCP, the device and the SCP interacting based on a transmission control protocol, TCP, and the OCS interacting through TCP or a streaming control protocol, SCTP, the device comprising: a transceiver unit and an analysis unit, wherein,
the receiving and sending unit is configured to package, after receiving core network signaling related to a communication call service from the SCP, a request message based on a diameter protocol, and send the request message to the OCS; receiving a diameter protocol based response message from the OCS;
the analysis unit is configured to, during a communication call service, analyze the charging processing capability of the OCS according to a response message based on a diameter protocol received from the OCS, determine whether to perform flow control on the OCS, if so, perform flow control on the OCS, so that core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS, and if not, continue the analysis of the charging processing capability of the OCS.
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, the analyzing unit further includes:
calculating the quantity value of unit time for sending the request message based on the diameter protocol in real time, judging whether the quantity value of unit time exceeds the quantity threshold value of the processing request message provided by the charging processing capability of the OCS, and if so, determining to perform flow control on the OCS;
or identifying a timestamp for sending the diameter protocol-based request message, calculating the time length occupied by the OCS for processing the diameter protocol-based request message when the corresponding diameter protocol-based response message is received, counting the number of request messages exceeding a set time length threshold for processing the diameter protocol-based request message by the OCS 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 recorded quantity value of the continuous time period exceeds a set time period quantity threshold value, determining to carry out flow control on the OCS;
or identifying the state identifier in the request message based on the diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of the error state in a time period, judging whether the quantity value exceeds the set threshold value of the quantity of the request messages sent in error, and if so, recording the time period; and if the recorded number of the continuous time periods exceeds a set time period number threshold value, determining to perform flow control on the OCS.
Optionally, the transceiver unit is further configured to send an offline call ticket message to the SCP when performing flow control on the OCS, and instruct the SCP to interrupt a current communication call service.
Optionally, the diameter protocol-based request message is an online charging control request CCR;
the response message based on the diameter protocol is an online charging control response CCA;
the core network signaling related to the communication call service is a Session Initiation Protocol (SIP) message, and the interrupted communication call service signaling is an SIP message.
A method of implementing communication charging in a communication network, the method comprising:
after receiving core network signaling related to a call service from a Service Control Point (SCP), encapsulating the signaling into a request message based on a diameter protocol, sending the request message to an OCS (online charging system), and receiving a response message based on the diameter protocol sent by the OCS;
in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, analyzing the charging processing capacity of the OCS, and determining whether to perform flow control on the OCS, if so, performing flow control on the OCS so that the core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS; and if not, continuing the analysis process of the OCS charging processing capacity.
Optionally, the analyzing the OCS charging processing capability, and determining whether to perform flow control on the OCS includes:
calculating the quantity value of unit time for sending the request message based on the diameter protocol in real time, judging whether the quantity value of unit time exceeds the quantity threshold value of the processing request message provided by the charging processing capability of the OCS, and if so, determining to perform flow control on the OCS;
or identifying a timestamp for sending the diameter protocol-based request message, calculating the time length occupied by the OCS for processing the diameter protocol-based request message when the corresponding diameter protocol-based response message is received, counting the number of request messages exceeding a set time length threshold for processing the diameter protocol-based request message by the OCS 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 recorded quantity value of the continuous time period exceeds a set time period quantity threshold value, determining to carry out flow control on the OCS;
or identifying the state identifier in the request message based on the diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of the error state in a time period, judging whether the quantity value exceeds the set threshold value of the quantity of the request messages sent in error, and if so, recording the time period; and if the recorded number of the continuous time periods exceeds a set time period number threshold value, determining to perform flow control on the OCS.
Optionally, when performing flow control on the OCS, the method further includes: and sending an offline call ticket message to the SCP, and indicating the SCP to interrupt the current communication call service.
Optionally, the diameter protocol-based request message is an online charging control request CCR;
the response message based on the diameter protocol is an online charging control response CCA;
the core network signaling related to the communication call service is a Session Initiation Protocol (SIP) message, and the interrupted communication call service signaling is an SIP message.
A system for implementing communication charging in a communication network, the system comprising: SCP, charging device and OCS, the charging device and the SCP interact based on TCP, and the charging device and the OCS interact through TCP or SCTP, wherein,
the SCP is used for sending core network signaling related to the call service to the charging device;
the charging device is configured to package a request message based on a diameter protocol after receiving core network signaling related to a call service from the SCP, send the request message to the OCS, and receive a response message based on the diameter protocol sent by the OCS; in the process of communication call service, according to core network signaling or response message based on diameter protocol, analyzing the charging processing capacity of the OCS, determining whether to perform flow control on the OCS, if so, performing flow control on the OCS so as to ensure that core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS; if not, continuing the analysis process of the OCS charging processing capacity;
the OCS is used for receiving the diameter protocol-based request message from a charging device and sending the diameter protocol-based response message to the charging device.
Optionally, the charging device is further configured to analyze the charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the charging device includes:
calculating the quantity value of unit time for sending the request message based on the diameter protocol in real time, judging whether the quantity value of unit time exceeds the quantity threshold value of the processing request message provided by the charging processing capability of the OCS, and if so, determining to perform flow control on the OCS;
or identifying a timestamp for sending the diameter protocol-based request message, calculating the time length occupied by the OCS for processing the diameter protocol-based request message when the corresponding diameter protocol-based response message is received, counting the number of request messages exceeding a set time length threshold for processing the diameter protocol-based request message by the OCS 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 recorded quantity value of the continuous time period exceeds a set time period quantity threshold value, determining to carry out flow control on the OCS;
or identifying the state identifier in the request message based on the diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of the error state in a time period, judging whether the quantity value exceeds the set threshold value of the quantity of the request messages sent in error, and if so, recording the time period; and if the recorded number of the continuous time periods exceeds a set time period number threshold value, determining to perform flow control on the OCS.
As seen from the above, in the embodiments of the present application, a charging device is disposed between the OCS and the SCP, and the charging device interacts with the SCP through a Transmission Control Protocol (TCP), and interacts with the OCS through a transmission control protocol or a streaming control protocol (TCP/SCTP). After receiving core network signaling related to a call service from the SCP, the charging device packages the signaling into a request message based on a diameter (diameter) protocol and sends the request message to the OCS; in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, the OCS charging processing capacity is analyzed, whether the OCS needs to be subjected to flow control is determined, if yes, the OCS is subjected to flow control, so that the core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS, and if not, the OCS charging processing capacity analysis process is continued. Therefore, in the embodiment of the application, the charging device analyzes the charging processing capacity of the OCS in real time in the continuous process of the communication call service, and when the charging processing capacity of the OCS cannot meet the charging processing requirement for processing the communication call service in time, the flow control operation of the OCS is performed, so that the continuous interaction between the OCS and the SCP in the communication call service process is ensured, and the charging is performed in real time.
Drawings
Fig. 1 is a schematic diagram of a communication network for providing communication services to clients according to the prior art;
fig. 2 is a schematic diagram of a real-time charging architecture in a communication network provided by the prior art;
fig. 3 is a schematic structural diagram of an apparatus for implementing communication charging in a communication network according to an embodiment of the present application;
fig. 4 is a flowchart of a method for implementing communication charging in a communication network according to an embodiment of the present application;
fig. 5 is a flowchart of a specific example of a method for implementing communication charging in a communication network according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a system for implementing communication charging in a communication network according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present application will be described in detail with specific examples. Several of the following embodiments may be combined with each other and some details of the same or similar concepts or processes may not be repeated in some embodiments.
The charging device is arranged between the OCS and the SCP, and the charging device interacts with the SCP through TCP and interacts with the OCS through TCP/SCTP. After receiving a core network signaling related to a call service from the SCP, the charging device packages the signaling into a request message based on a diameter protocol and sends the request message to the OCS; in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, the OCS charging processing capacity is analyzed, whether the OCS needs to be subjected to flow control is determined, if yes, the OCS is subjected to flow control, so that the core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS, and if not, the OCS charging processing capacity analysis process is continued.
Therefore, in the embodiment of the application, the charging device analyzes the charging processing capacity of the OCS in real time in the continuous process of the communication call service, and when the charging processing capacity of the OCS cannot meet the charging processing requirement for processing the communication call service in time, the flow control operation of the OCS is performed, so that the continuous interaction between the OCS and the SCP in the communication call service process is ensured, and the charging is performed in real time.
Fig. 3 is a schematic structural diagram of a device for implementing communication charging in a communication network according to an embodiment of the present application, where the device is disposed between an OCS and an SCP, the device is a charging device, the device interacts with the SCP through TCP and interacts with the OCS through TCP/SCTP, and the device includes: a transceiver unit and an analysis unit, wherein,
a receiving and transmitting unit, configured to receive a core network signaling related to a communication call service from an SCP, encapsulate the core network signaling into a request message based on a diameter protocol, and transmit the request message to an OCS; receiving a diameter protocol based response message from the OCS;
and the analysis unit is used for analyzing the charging processing capacity of the OCS according to the response message which is received from the OCS and is based on the diameter protocol in the process of the communication call service, determining whether the OCS needs to be subjected to flow control, if so, performing flow control on the OCS so that core network signaling which is subsequently sent by the SCP and relates to the call service is not forwarded to the OCS, and if not, continuously analyzing the charging processing capacity of the OCS.
The charging device realizes communication interaction through the TCP/SCTP and the OCS, analyzes the charging processing capacity of the OCS in real time in the process of carrying out communication calling service, and starts the flow control function of the OCS when the OCS has faults or the system pressure is higher so as to ensure the normal operation of the communication calling service of the SCP.
In the apparatus, the analyzing unit is further configured to analyze charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the analyzing unit further includes:
calculating the unit time quantity value of the request message based on the diameter protocol in real time, judging whether the unit time quantity value exceeds the quantity threshold value of the processing request message provided by the charging processing capacity of the OCS, and if so, determining to carry out flow control on the OCS.
In the apparatus, the analyzing unit is further configured to analyze charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the analyzing unit further includes:
identifying a timestamp for sending a request message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol when receiving a corresponding response message based on the diameter protocol, counting the quantity value of the request message exceeding the threshold of the time length for processing the request message based on the diameter protocol by the OCS within a time period, judging whether the quantity value of the request message exceeds the threshold of the set message processing quantity, and if so, recording the time period; and if the recorded quantity value of the continuous time periods exceeds the set time period quantity threshold value, determining to carry out flow control on the OCS.
In the apparatus, the analyzing unit is further configured to analyze charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the analyzing unit further includes:
identifying a state identifier in a request message based on a diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of an error state in a time period, judging whether the quantity value exceeds a set quantity threshold value of the request message based on the error transmission, and if so, recording the time period; and if the number of the recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS.
In the apparatus, the diameter protocol based request message is an online Charging Control Request (CCR); the diameter protocol based response message is a on-line Charging Control Answer (CCA).
In the apparatus, the transceiver unit is further configured to send a signaling for interrupting a communication call service to the SCP when the OCS is subjected to flow control. Specifically, the signaling for interrupting the communication call service sent to the SCP is: and sending an offline call ticket message to the SCP, and indicating the SCP to interrupt the current communication call service.
In the apparatus, the core network signaling related to the communication call service is a Session Initiation Protocol (SIP) message, and the interrupted communication call service signaling is a SIP message.
Fig. 4 is a flowchart of a method for implementing communication charging in a communication network according to an embodiment of the present invention, in the method, a charging device is disposed between an SCP and an OCS, and the method further includes:
step 401, after receiving a core network signaling related to a call service from a SCP, encapsulating the signaling into a request message based on a diameter protocol, and sending the request message to an OCS; receiving a diameter protocol based response message from the OCS;
step 402, in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, analyzing the charging processing capability of the OCS, determining whether to perform flow control on the OCS, if yes, executing step 403; if not, go to step 404;
step 403, performing flow control on the OCS, so that core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS;
and step 404, continuing the analysis process of the OCS charging processing capacity.
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 charging device, and the charging device can work normally and stably regardless of the OCS failure, and ensure the normal work of the SCP.
In the method, the analysis of the charging processing capability of the OCS and the determination of whether to perform the flow control on the OCS have three modes, which are respectively: a flow control mode based on OCS charging processing capacity; processing a flow control mode of overtime based on OCS charging; the flow control method based on the error flag of the request message is described below.
Specifically, when the flow control method based on the OCS charging processing capability is adopted, the analyzing the OCS charging processing capability and determining whether to perform the flow control on the OCS includes:
calculating the unit time quantity value of the request message based on the diameter protocol in real time, judging whether the unit time quantity value exceeds the quantity threshold value of the processing request message provided by the charging processing capacity of the OCS, and if so, determining to carry out flow control on the OCS.
Specifically, when a flow control mode based on OCS charging timeout is sampled, the analyzing of the OCS charging processing capability is performed to determine whether to perform flow control on the OCS, and the method further includes:
identifying a timestamp for sending a request message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol when receiving a corresponding response message based on the diameter protocol, counting the quantity value of the request message exceeding the threshold of the time length for processing the request message based on the diameter protocol by the OCS within a time period, judging whether the quantity value of the request message exceeds the threshold of the set message processing quantity, and if so, recording the time period; and if the recorded quantity value of the continuous time periods exceeds the set time period quantity threshold value, determining to carry out flow control on the OCS.
Specifically, when a flow control method based on the error identifier of the request message is adopted, the analyzing of the charging processing capability of the OCS is performed to determine whether to perform flow control on the OCS, and the method further includes:
identifying a state identifier in a request message based on a diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of an error state in a time period, judging whether the quantity value exceeds a set quantity threshold value of the request message based on the error transmission, and if so, recording the time period; and if the number of the recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS.
In the method, the diameter protocol based request message is a CCR; the diameter protocol based response message is CCA.
In the method, when performing flow control on the OCS, the method further includes: and sending signaling for interrupting the communication call service to the SCP. Specifically, the signaling for interrupting the communication call service sent to the SCP is: and sending an offline call ticket message to the SCP, and indicating the SCP to interrupt the current communication call service.
In the method, the core network signaling related to the call service is an SIP message, and the terminal communication call service signaling sent to the SCP is the SIP message.
In the method, the signaling for interrupting the communication call service sent to the SCP is as follows: and sending an offline call ticket message to the SCP, and indicating the SCP to interrupt the current communication call service.
The above method is explained in detail with reference to a specific example. Fig. 5 is a flowchart of a specific example of a method for implementing communication charging in a communication network according to an embodiment of the present invention, as shown in the figure:
step 501, SCP sends SIP message to charging device;
in this step, the SIP message is a core network signaling related to a call service;
step 502, the charging device packages the SIP message into a request message based on a diameter protocol, namely CCR, and then sends the request message to the OCS through TCP or SCTP;
step 503, after receiving the request message, the OCS performs charging processing based on the request message, and sends a response message based on the diameter protocol, that is, a CCA, to the charging apparatus;
step 504, after the charging device receives the CCA, analyzing the processing capability of the OCS, and determining whether the OCS needs to be subjected to flow control;
step 505, the charging judging device judges that the OCS needs to be subjected to flow control, and then sends an SIP message to the SCP, that is, sends an offline ticket message to the SCP, and instructs the SCP to interrupt the current communication call service, so that the request message of the SCP is not sent to the OCS during the flow control.
In the example, when the flow control mode based on the OCS charging processing capability is adopted to determine whether the OCS needs the flow control, the specific process is as follows.
The OCS can provide the maximum capacity of processing the request message per second, the charging device calculates the flow of the request message sent to the OCS in real time, counting statistics is carried out, when the quantity value of the request message sent in one second exceeds the quantity threshold value of the request message set by the maximum processing capacity of the OCS, the residual CCR in the second is not sent to the OCS for online charging processing, and the SCP offline call bill is directly returned.
In the example, when the flow control mode based on the OCS charging timeout is adopted to determine whether the OCS needs to perform flow control, the specific process is as follows.
The charging device records a time stamp of the CCR transmitted to the OCS, when the CCA is received, the time length occupied by the CCR is counted, if the overtime response in one period is more, the recording is carried out, if the overtime responses in a plurality of continuous periods are more, the flow control is carried out, and the CCR is not transmitted to the OCS for carrying out the online charging request in the later period. Here, recording is performed generally in a one-minute cycle with 100 timeouts, which can be set as needed.
In the example, when the OCS needs to perform the flow control determination by using the flow control method based on the error identifier of the request message, the specific process is as follows.
And the charging device records the status code of the CCA, if the error status in one period is more, the charging device records the status code, if the error status in a plurality of continuous periods is more, the charging device performs flow control, and the CCR does not send the OCS any more to perform online charging request in the later period. Here, 100 error codes are recorded in one minute cycle, and the recording can be set as required,
Fig. 6 is a schematic structural diagram of a system for implementing communication charging in a communication network according to an embodiment of the present application, where the system includes: SCP, charging device and OCS, where the charging device interacts with the SCP based on TCP and interacts with the OCS through TCP or SCTP, where,
SCP, which is used to send core network signaling related to call service to charging device;
the charging device is used for packaging the request message into a request message based on the diameter protocol after receiving the request message from the SCP and sending the request message to the OCS; in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, the OCS charging processing capacity is analyzed to determine whether to perform flow control on the OCS, if so, the OCS is subjected to flow control, so that the core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS; if not, continuing to perform the analysis process of the OCS charging processing capacity;
and an OCS for receiving the diameter protocol-based request message from the charging device and transmitting a diameter protocol-based response message to the charging device.
In the system, the charging device is further configured to analyze charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the charging device includes: calculating the unit time quantity value of the request message based on the diameter protocol in real time, judging whether the unit time quantity value exceeds the quantity threshold value of the processing request message provided by the charging processing capacity of the OCS, and if so, determining to carry out flow control on the OCS.
In the system, the charging device is further configured to analyze charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the charging device includes: identifying a timestamp for sending a request message based on the diameter protocol, calculating the time length occupied by the OCS for processing the request message based on the diameter protocol when receiving a corresponding response message based on the diameter protocol, counting the quantity value of the request message exceeding the threshold of the time length for processing the request message based on the diameter protocol by the OCS within a time period, judging whether the quantity value of the request message exceeds the threshold of the set message processing quantity, and if so, recording the time period; and if the recorded quantity value of the continuous time periods exceeds the set time period quantity threshold value, determining to carry out flow control on the OCS.
In the system, the charging device is further configured to analyze charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the charging device further includes: identifying a state identifier in a request message based on a diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of an error state in a time period, judging whether the quantity value exceeds a set quantity threshold value of the request message based on the error transmission, and if so, recording the time period; and if the number of the recorded continuous time periods exceeds the set time period number threshold, determining to perform flow control on the OCS.
In the system, the charging device is further configured to send a signaling for interrupting a communication call service to an SCP when performing flow control on the OCS; the SCP is also used for receiving the signaling of interrupting the communication call service from the charging device. Here, the signaling to interrupt the communication call service is: and sending an offline call ticket message to the SCP, and indicating the SCP to interrupt the current communication call service.
In the system, the diameter protocol based request message is a CCR; the diameter protocol based response message is CCA. The core network signaling related to the communication call service is an SIP message, and the signaling for interrupting the communication call service is an SIP message.
According to the embodiment of the application, the charging device is arranged, is low in coupling with a communication call service process, and supports the secure transmission of TCP and SCTP. The charging device can analyze the charging processing capacity of the OCS in real time, judge the charging processing capacity of the OCS and control the flow of the OCS. The charging device ensures that the SCP does not depend on the charging processing process of the OCS in the processing process of the communication call service, and ensures the processing quality of the communication call service of the SCP.
The flowchart and block diagrams in the figures of the present application illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments disclosed herein. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not explicitly recited in the present application. In particular, the features recited in the various embodiments and/or claims of the present application may be combined and/or coupled in various ways, all of which fall within the scope of the present disclosure, without departing from the spirit and teachings of the present application.
The principles and embodiments of the present application are explained herein using specific examples, which are provided only for the purpose of facilitating understanding of the method and the core idea of the present application and are not intended to limit the present application. It will be appreciated by those skilled in the art that changes may be made in this embodiment and its broader aspects and without departing from the principles, spirit and scope of the invention, and that all such modifications, equivalents, improvements and equivalents as may be included within the scope of the invention are intended to be protected by the claims.

Claims (10)

1. An apparatus for implementing communication charging in a communication network, the apparatus being disposed between an online charging system, OCS, and a service control point, SCP, the apparatus and the SCP interacting based on a transmission control protocol, TCP, and the OCS interacting through TCP or a streaming control protocol, SCTP, the apparatus comprising: a transceiver unit and an analysis unit, wherein,
the receiving and sending unit is configured to package, after receiving core network signaling related to a communication call service from the SCP, a request message based on a diameter protocol, and send the request message to the OCS; receiving a diameter protocol based response message from the OCS;
the analysis unit is configured to, during a communication call service, analyze the charging processing capability of the OCS according to a response message based on a diameter protocol received from the OCS, determine whether to perform flow control on the OCS, if so, perform flow control on the OCS, so that core network signaling related to the call service subsequently sent by the SCP is not forwarded to the OCS, and if not, continue the analysis of the charging processing capability of the OCS.
2. The apparatus of claim 1, wherein 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, the analyzing unit further includes:
calculating the quantity value of unit time for sending the request message based on the diameter protocol in real time, judging whether the quantity value of unit time exceeds the quantity threshold value of the processing request message provided by the charging processing capability of the OCS, and if so, determining to perform flow control on the OCS;
or identifying a timestamp for sending the diameter protocol-based request message, calculating the time length occupied by the OCS for processing the diameter protocol-based request message when the corresponding diameter protocol-based response message is received, counting the number of request messages exceeding a set time length threshold for processing the diameter protocol-based request message by the OCS 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 recorded quantity value of the continuous time period exceeds a set time period quantity threshold value, determining to carry out flow control on the OCS;
or identifying the state identifier in the request message based on the diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of the error state in a time period, judging whether the quantity value exceeds the set threshold value of the quantity of the request messages sent in error, and if so, recording the time period; and if the recorded number of the continuous time periods exceeds a set time period number threshold value, determining to perform flow control on the OCS.
3. The apparatus of claim 1, wherein the transceiver unit is further configured to send an offline ticket message to the SCP when performing flow control on the OCS, and instruct the SCP to interrupt a current communication call service.
4. The apparatus of claim 1, wherein the diameter protocol based request message is an online charging control request CCR;
the response message based on the diameter protocol is an online charging control response CCA;
the core network signaling related to the communication call service is a Session Initiation Protocol (SIP) message, and the interrupted communication call service signaling is an SIP message.
5. A method for implementing communication charging in a communication network, the method comprising:
after receiving core network signaling related to a call service from a Service Control Point (SCP), encapsulating the signaling into a request message based on a diameter protocol, sending the request message to an OCS (online charging system), and receiving a response message based on the diameter protocol sent by the OCS;
in the process of communication call service, according to the core network signaling or the response message based on the diameter protocol, analyzing the charging processing capacity of the OCS, and determining whether to perform flow control on the OCS, 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; and if not, continuing the analysis process of the OCS charging processing capacity.
6. The method of claim 5, wherein the performing the analysis of the OCS charging processing capabilities to determine whether to flow control the OCS comprises:
calculating the quantity value of unit time for sending the request message based on the diameter protocol in real time, judging whether the quantity value of unit time exceeds the quantity threshold value of the processing request message provided by the charging processing capability of the OCS, and if so, determining to perform flow control on the OCS;
or identifying a timestamp for sending the diameter protocol-based request message, calculating the time length occupied by the OCS for processing the diameter protocol-based request message when the corresponding diameter protocol-based response message is received, counting the number of request messages exceeding a set time length threshold for processing the diameter protocol-based request message by the OCS 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 recorded quantity value of the continuous time period exceeds a set time period quantity threshold value, determining to carry out flow control on the OCS;
or identifying the state identifier in the request message based on the diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of the error state in a time period, judging whether the quantity value exceeds the set threshold value of the quantity of the request messages sent in error, and if so, recording the time period; and if the recorded number of the continuous time periods exceeds a set time period number threshold value, determining to perform flow control on the OCS.
7. The method of claim 5, wherein when controlling the flow of the OCS, further comprising: and sending an offline call ticket message to the SCP, and indicating the SCP to interrupt the current communication call service.
8. The method of claim 5, wherein the diameter protocol based request message is an online charging control request CCR;
the response message based on the diameter protocol is an online charging control response CCA;
the core network signaling related to the communication call service is a Session Initiation Protocol (SIP) message, and the signaling for interrupting the communication call service is an SIP message.
9. A system for implementing communication charging in a communication network, the system comprising: SCP, charging device and OCS, the charging device and the SCP interact based on TCP, and the charging device and the OCS interact through TCP or SCTP, wherein,
the SCP is used for sending core network signaling related to the call service to the charging device;
the charging device is configured to package a request message based on a diameter protocol after receiving core network signaling related to a call service from the SCP, send the request message to the OCS, and receive a response message based on the diameter protocol sent by the OCS; in the process of communication call service, according to core network signaling or response message based on diameter protocol, analyzing the charging processing capacity of the OCS, determining whether to perform flow control on the OCS, if so, performing flow control on the OCS so as to ensure that core network signaling related to the call service and subsequently sent by the SCP is not forwarded to the OCS; if not, continuing the analysis process of the OCS charging processing capacity;
the OCS is used for receiving the diameter protocol-based request message from a charging device and sending the diameter protocol-based response message to the charging device.
10. The system of claim 9, wherein the charging device is further configured to analyze the charging processing capability of the OCS, and when determining whether to perform flow control on the OCS, the method further comprises:
calculating the quantity value of unit time for sending the request message based on the diameter protocol in real time, judging whether the quantity value of unit time exceeds the quantity threshold value of the processing request message provided by the charging processing capability of the OCS, and if so, determining to perform flow control on the OCS;
or identifying a timestamp for sending the diameter protocol-based request message, calculating the time length occupied by the OCS for processing the diameter protocol-based request message when the corresponding diameter protocol-based response message is received, counting the number of request messages exceeding a set time length threshold for processing the diameter protocol-based request message by the OCS 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 recorded quantity value of the continuous time period exceeds a set time period quantity threshold value, determining to carry out flow control on the OCS;
or identifying the state identifier in the request message based on the diameter protocol, counting the quantity value of the request message based on the diameter protocol with the state identifier of the error state in a time period, judging whether the quantity value exceeds the set threshold value of the quantity of the request messages sent in error, and if so, recording the time period; and if the recorded number of the continuous time periods exceeds a set time period number threshold value, determining to perform flow control on the OCS.
CN202210093504.7A 2022-01-26 2022-01-26 Device, system and method for realizing communication charging in communication network Pending CN114501358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210093504.7A CN114501358A (en) 2022-01-26 2022-01-26 Device, system and method for realizing communication charging in communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210093504.7A CN114501358A (en) 2022-01-26 2022-01-26 Device, system and method for realizing communication charging in communication network

Publications (1)

Publication Number Publication Date
CN114501358A true CN114501358A (en) 2022-05-13

Family

ID=81474214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210093504.7A Pending CN114501358A (en) 2022-01-26 2022-01-26 Device, system and method for realizing communication charging in communication network

Country Status (1)

Country Link
CN (1) CN114501358A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686452A (en) * 2008-09-24 2010-03-31 华为技术有限公司 Method, device and system for charging services
CN101816159A (en) * 2007-11-21 2010-08-25 朗讯科技公司 A method and a device for controlling the overload on the network service device
EP2466787A1 (en) * 2010-12-15 2012-06-20 Alcatel Lucent Dynamic policy-based charging system and method
WO2019068360A1 (en) * 2017-10-06 2019-04-11 Telefonaktiebolaget Lm Ericsson (Publ) Differentiated abatement of charging requests in case of overload at online charging system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101816159A (en) * 2007-11-21 2010-08-25 朗讯科技公司 A method and a device for controlling the overload on the network service device
CN101686452A (en) * 2008-09-24 2010-03-31 华为技术有限公司 Method, device and system for charging services
EP2466787A1 (en) * 2010-12-15 2012-06-20 Alcatel Lucent Dynamic policy-based charging system and method
WO2019068360A1 (en) * 2017-10-06 2019-04-11 Telefonaktiebolaget Lm Ericsson (Publ) Differentiated abatement of charging requests in case of overload at online charging system
CN111164940A (en) * 2017-10-06 2020-05-15 瑞典爱立信有限公司 Differentiated reduction of charging requests in case of overload at an online charging system

Similar Documents

Publication Publication Date Title
US8078115B2 (en) Radio network performance monitoring method, radio communication system, device, and its program
CN101455068B (en) Pre-paid security mechanism in a post-pay telecommunications system
US6725031B2 (en) Method and system for data rating for wireless devices
KR20030043915A (en) A method and system for data rating for wireless devices
EP2187564A1 (en) Virtual private network charging method and system
CN1623320A (en) Method and system for billing a call that is forwarded to a prepaid subscriber's voicemail
CN1946239A (en) Information push system and method based on terminal hanging machine
CN101411147A (en) Method for obtaining packet billing information based on session initiation protocol
EP3657730B1 (en) Offline charging record threshold control methods, network elements, computer programs and system based on cups protocol
EP2219359A1 (en) Seamless switching between pre-paid and post-paid charging
CN114501358A (en) Device, system and method for realizing communication charging in communication network
KR20100058964A (en) Apparatus for blocking voip spam using spam index
WO2005104578A1 (en) Providing information on services in a communication system
CN101562787B (en) Service processing method and communication apparatus
US11513881B2 (en) System and method for detecting, managing and relaying a multimedia communication problem and corresponding execution, checking and rule management entities
CN103118345A (en) Method and device for issuing messages
CN101394590B (en) CAMEL call persistence control method and system
GB2385490A (en) Terminal and network monitoring and testing in mobile communications systems
RU2677851C2 (en) Method of notification of canceled call
KR20070070681A (en) Method for changing account during conversation in mobile communication system
CN102932768B (en) Processing method in a kind of call-connection process and device
WO2023238051A1 (en) System and method for connecting a first subscriber to a second subscriber via a mobile network
CN112866489A (en) CAP signaling-based capability opening system
EP2541883B1 (en) System for tariffication control in telecommunication networks based on quality of transmitted call
KR100976136B1 (en) Realtime Charging Method and System by Using Interim Account

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination