CN108270578B - Session-related network capability API charging method and device - Google Patents

Session-related network capability API charging method and device Download PDF

Info

Publication number
CN108270578B
CN108270578B CN201611263027.5A CN201611263027A CN108270578B CN 108270578 B CN108270578 B CN 108270578B CN 201611263027 A CN201611263027 A CN 201611263027A CN 108270578 B CN108270578 B CN 108270578B
Authority
CN
China
Prior art keywords
quota
api
ocs
calling party
information
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.)
Active
Application number
CN201611263027.5A
Other languages
Chinese (zh)
Other versions
CN108270578A (en
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.)
China Mobile Group Shanghai Co Ltd
Original Assignee
China Mobile Group Shanghai 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 China Mobile Group Shanghai Co Ltd filed Critical China Mobile Group Shanghai Co Ltd
Priority to CN201611263027.5A priority Critical patent/CN108270578B/en
Publication of CN108270578A publication Critical patent/CN108270578A/en
Application granted granted Critical
Publication of CN108270578B publication Critical patent/CN108270578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/141Indication of costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

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 embodiment of the invention discloses a session-related network capability API charging method and device. The method comprises the following steps: after receiving a call request of a calling party of an application, sending a quota request message to an Online Charging System (OCS), and receiving a response message returned by the OCS according to the quota request message, wherein the response message carries quota information of a calling party Application Program Interface (API) distributed by the OCS; and after the call is finished, sending a feedback message to the OCS, wherein the feedback message carries the actually used quota information, so that the OCS can charge according to the actually used quota information. The device is used for realizing the method, and the network capability API charging method related to the session provided by the embodiment of the invention can realize the online charging of the network capability API related to the session.

Description

Session-related network capability API charging method and device
Technical Field
The invention relates to the field of mobile communication, in particular to a network capability API charging method and device related to a session.
Background
In the mobile communication network, the online charging is a charging mode of outputting the utilization condition of user resources and related charging information to a service support system for deduction in real time through signaling interaction between a network side charging entity and an operation service support system. Compared with offline charging, online charging has the characteristic of stronger instantaneity, and the service support system can indicate a network side in real time according to the condition of a user account to control a user or a service.
In the existing mobile communication network, a P-GW (PDN Gateway) of an EPC (Evolved Packet Core, 4G Core network) network serves as an online charging control point of traffic; AS an Access Stratum (AS) of an IMS (IP Multimedia Core Network Subsystem) Network, serving AS an online charging control point for an audio/video service; the service platform is used as an online charging control point of the message service. The P-GW, the AS, and the service platform perform signaling interaction with an OCS (Online Charging System) of the service support System through an Online Charging interface based on a dcc (diameter Credit control) protocol, thereby implementing an Online Charging function.
However, in a new service providing mode with open network capability, an operator does not directly provide services and traffic for users, but provides an Application Programming Interface (API) for self-owned applications and non-self-owned applications; therefore, online charging of services and traffic is not required, but online charging of network capability APIs (audio and video capability API, message capability API, etc.) is required.
In the prior art, an online charging method for traffic, audio/video service and message service is provided. However, there is no online charging method involving network capability APIs, especially session-related network capability APIs.
Therefore, how to provide a method for realizing online charging of the network capability API related to the session has important significance.
Disclosure of Invention
Aiming at the defects in the prior art, the embodiment of the invention provides a network capability API charging method and device related to a session.
On one hand, an embodiment of the present invention provides a session-related network capability API charging method, including:
after receiving a call request of a calling party of an application, sending a quota request message to an Online Charging System (OCS), and receiving a response message returned by the OCS according to the quota request message, wherein the response message carries quota information of a calling party Application Program Interface (API) distributed by the OCS;
and after the call is finished, sending a feedback message to the OCS, wherein the feedback message carries the actually used quota information, so that the OCS can charge according to the actually used quota information.
According to the session-related network capability API charging method provided by the embodiment of the invention, the OCS can be informed of the calling party API quota information so that the OCS can carry out charging according to the quota information, and therefore, online charging for the session-related network capability API can be realized.
On the other hand, an embodiment of the present invention further provides a session-related network capability API charging method, including:
after receiving a quota request message sent by a network capacity open platform, allocating a quota for a caller API according to a quota request message of the caller API in the quota request message, and sending allocated quota information to the network capacity open platform through a response message;
and after the call is finished, receiving a feedback message sent by the network capacity open platform to acquire quota information actually used by the calling party API, and charging according to the quota information actually used.
According to the session-related network capability API charging method provided by the embodiment of the invention, quota information can be allocated, and charging can be carried out according to the quota use information reported by the network capability open platform, so that online charging for the session-related network capability API can be realized.
In another aspect, an embodiment of the present invention further provides a session-related network capability API charging apparatus, including:
the quota request module is used for sending a quota request message to an Online Charging System (OCS) after receiving a call request of a calling party of an application, and receiving a response message returned by the OCS according to the quota request message, wherein the response message carries quota information of a calling party Application Program Interface (API) distributed by the OCS;
and the result sending module is used for sending a feedback message to the OCS after the call is finished, wherein the feedback message carries the actually used quota information so that the OCS can charge according to the actually used quota information.
The session-related network capability API charging apparatus provided in the embodiment of the present invention can notify the OCS of the quota information of the API on the calling party, so that the OCS can perform charging according to the quota information, thereby implementing online charging for the session-related network capability API.
In another aspect, an embodiment of the present invention further provides a session-related network capability API charging apparatus, including:
the quota allocation module is used for allocating quota for the calling party API according to quota request information of the calling party API in the quota request information after receiving quota request information sent by the network capacity open platform, and sending allocated quota information to the network capacity open platform through a response message;
and the quota charging module is used for receiving the feedback message sent by the network capacity open platform after the call is finished so as to obtain quota information actually used by the API of the calling party and charging according to the quota information actually used.
The session-related network capability API charging device provided by the embodiment of the invention can distribute quota information and can charge according to the quota use information reported by the network capability open platform, so that online charging for the session-related network capability API can be realized.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a session-related network capability API charging method according to the present invention;
FIG. 2 is a flowchart illustrating an embodiment of a session-related network capability API charging method according to the present invention;
FIG. 3 is a schematic diagram of information interaction in an embodiment of a session-related network capability API charging method of the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of a session-related API charging apparatus according to the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a session-related API charging apparatus according to the present invention;
fig. 6 is a block diagram of the structure of the session-related API charging apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. 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 invention.
Fig. 1 is a schematic flow diagram of an embodiment of a session-related network capability API charging method according to the present invention, and referring to fig. 1, the embodiment discloses a session-related network capability API charging method, including:
s1, after receiving a call request of an applied caller, sending a quota request message to an Online Charging System (OCS), and receiving a response message returned by the OCS according to the quota request message, wherein the response message carries quota information of a caller Application Program Interface (API) distributed by the OCS;
s2, after the call is finished, sending a feedback message, such as a CCR-T message, to the OCS, where the feedback message carries actually used quota information, so that the OCS charges according to the actually used quota information.
According to the session-related network capability API charging method provided by the embodiment of the invention, the OCS can be informed of the calling party API quota information so that the OCS can carry out charging according to the quota information, and therefore, online charging for the session-related network capability API can be realized.
It should be noted that the execution subject of the embodiment of the method is a network capability open platform.
Specifically, in step S1, the application of the user terminal sends a call request to the network capability opening platform, requesting to call a caller API of the network capability platform.
If the network capability open platform approves the call request, the application is allowed to call the calling party API and write the called number in the API interface parameter.
After the application calls the caller API, the network capability open platform sends a quota request message, such as a CCR-I message, to the OCS to request the OCS for a quota of the caller API. After receiving the quota request message, the OCS allocates a quota for the caller API according to the quota application information in the message, and returns a response message, such as a CCA-I message, to the network capability open platform to inform the network capability open platform of the allocation information of the quota of the caller API.
Wherein the quota is a resource corresponding to 1 unit cost. The specific value of the 1 unit cost and the size of the resource corresponding to the specific value can be adjusted according to the actual situation, which is not limited in this embodiment.
Further, after the network capability open platform sends the quota request message to the OCS, the network capability open platform sends a calling party capability calling request to the AS to indicate that the AS does not perform service online charging on the call.
Meanwhile, the network capability open platform also sends an indication message to the P-GW to indicate that the P-GW does not charge the call flow of the calling party.
And the network capability open platform can send the capability calling request and the indication message to the AS and the P-GW through the RESTful interface.
It should be noted that, when the AS and the P-GW suspend charging of the API of the calling party, the network capability open platform performs statistics and monitoring on the quota usage of the API of the calling party.
Further, in step S2, if the call is ended, the network capability open platform sends a feedback message, such as a CCR-T message, to the OCS to notify the OCS of quota information actually used by the API of the calling party in the call process. Therefore, the OCS charges the calling party API according to the quota information actually used by the calling party API in the feedback message, and returns a charging message, such as a CCA-T message, to the network capacity open platform to inform the charging information of the calling party API.
After the call is finished, the network capability open platform also sends an indication message to the P-GW and the AS to indicate the P-GW and the AS to recover the online charging of the service and the call flow.
Optionally, this embodiment further includes:
if the quota of the API of the calling party is used up in the call process, the network capability open platform sends a new quota request message, such as a CCR-U message, to the OCS, and receives a new response message, such as a CCA-U message, returned by the OCS according to the new quota request message, where the new response message carries quota information of the new API of the calling party, which is allocated by the OCS.
The session-related network capability API charging method provided by the embodiment of the invention has the advantages that the network capability open platform can enable the AS and the P-GW to suspend the online charging of the service of the calling party and the charging of the call flow, so that the repeated charging of the user terminal can be avoided while the API of the calling party is charged, and the session-related network capability API charging method provided by the embodiment of the invention has rationality and accuracy and has wide application prospect.
Fig. 2 is a schematic flowchart of an embodiment of the session-related network capability API charging method of the present invention, and referring to fig. 2, the embodiment discloses a session-related network capability API charging method, including:
s21, after receiving a quota request message sent by the network capability opening platform, allocating a quota to a caller API according to a quota request message of the caller API in the quota request message, and sending allocated quota information to the network capability opening platform through a response message, for example, a CCA-I message;
and S22, after the call is finished, receiving a feedback message, such as a CCR-T message, sent by the network capability open platform to acquire quota information actually used by the calling party API, and charging according to the quota information actually used.
According to the session-related network capability API charging method provided by the embodiment of the invention, quota information can be allocated, and charging can be carried out according to the quota use information reported by the network capability open platform, so that online charging for the session-related network capability API can be realized.
It should be noted that an execution subject of the embodiment of the present method is an OCS (Online Charging System).
Specifically, in step S22, the OCS may use a product of the used quota amount and a preset quota unit price as a charge generated by the API of the calling party in the current call process. The preset quota unit price can be adjusted according to actual conditions, which is not limited in this embodiment.
After completing charging of the calling party API, the OCS returns a charging message, such as a CCA-T message, to the network capability openness platform to inform the charging information of the calling party API.
Further, the method further comprises:
if the OCS receives a new quota request message sent by the network capacity open platform in the conversation process, allocating a new quota for the calling party API according to new quota application information of the calling party API in the new quota request message, and sending the new quota information to the network capacity open platform through a new response message.
Fig. 3 is a schematic information interaction diagram of an embodiment of a session-related network capability API charging method of the present invention, and referring to fig. 3, the embodiment of the present invention further discloses an audio and video network capability API online charging method, including:
and S31, the application sends a call request to the network capability open platform to call a calling party API of the network capability platform.
After the network capability platform approves the call request, the application calls the calling party API and writes the called number in the API interface parameter.
S32, the network capability openness platform sends a quota request message, such as a CCR-I message, to the OCS to request the OCS for a quota of the caller API.
Wherein the quota is a resource corresponding to 1 unit cost. The specific value of the 1 unit cost and the size of the resource corresponding to the specific value can be adjusted according to the actual situation, which is not limited in this embodiment.
S33, after receiving the quota request message sent by the network capability opening platform, the OCS allocates a quota to the caller API according to the quota request message of the caller API in the quota request message, and sends the allocated quota information to the network capability opening platform through a response message, for example, a CCA-I message.
And S34, after the network capability open platform sends the quota request message to the OCS, sending a calling party capability calling request to the AS so AS to indicate the AS not to perform service online charging on the call. And the AS does not perform service online charging on the call according to the indication information in the capability calling request.
Meanwhile, the network capability open platform also sends an indication message to the P-GW to indicate that the P-GW does not charge the call flow of the calling party. And the P-GW suspends the IMS APN traffic charging (the call traffic is carried on the IMS APN) according to the indication message and sends a traffic charging suspension message, such as a CCR-U message, to the OCS so as to inform the OCS that the call traffic charging is suspended. And after receiving the traffic charging suspension message, the OCS returns an acknowledgement message, such as a CCA-U message, to the P-GW for acknowledgement.
And the network capability open platform can send the capability calling request and the indication message to the AS and the P-GW through the RESTful interface.
It should be noted that, when the AS and the P-GW suspend charging of the API of the calling party, the network capability open platform performs statistics and monitoring on the quota usage of the API of the calling party.
It can be understood that after the AS and the P-GW suspend charging, the AS can perform the call flow: messages such AS Invite, 180/200, ACK and the like are interacted among the AS, the CSCF and the UE; when the called party answers, the call can be established.
And S35, after the call is finished, the network capability open platform sends a feedback message, such as a CCR-T message, to the OCS, wherein the feedback message carries actually used quota information, so that the OCS can charge according to the actually used quota information.
And the OCS charges the calling party API according to the quota information actually used by the calling party API in the feedback message and returns a charging message, such as a CCA-T message, to the network capacity open platform to inform the charging information of the calling party API.
The OCS may use a product of the used quota amount and a preset quota unit price as a charge generated by the API of the calling party in the current call process. The preset quota unit price can be adjusted according to actual conditions, which is not limited in this embodiment.
It should be noted that when the call is ended, messages such AS BYE/200 and the like are exchanged among the UE, the CSCF, and the AS sends the message of the end of the call to the network capability open platform, so that the network capability platform completes the quota usage statistics on the API of the calling party.
And S36, the network capability opening platform sends a state notification message to the application to inform the application that the call is ended.
Meanwhile, the network capability open platform also sends an indication message to the P-GW and the AS to indicate the P-GW and the AS to recover the online charging of the service and the call flow.
Optionally, after the step S34 and before the step S35, the present embodiment further includes:
s34', if the quota of the API of the calling party is used up during the call, the network capability open platform sends a new quota request message, such as a CCR-U message, to the OCS.
After receiving the new quota request message, the OCS allocates a new quota to the caller API according to the request message therein, and returns a new response message, such as a CCA-U message, to the network capability open platform to notify the network capability open platform of the new quota allocation information of the caller API.
Fig. 4 is a schematic structural diagram of an embodiment of the API charging apparatus for session related network capabilities, and referring to fig. 4, an embodiment of the present invention further provides an API charging apparatus for session related network capabilities, including: a quota request module 1 and a result sending module 2.
The quota request module 1 is configured to send a quota request message to an online charging system OCS after receiving a call request of a caller of an application, and receive a response message returned by the OCS according to the quota request message, where the response message carries quota information of a caller application program interface API allocated by the OCS;
the result sending module 2 is configured to send a feedback message, such as a CCR-T message, to the OCS after the call is ended, where the feedback message carries actually-used quota information, so that the OCS performs charging according to the actually-used quota information.
The session-related network capability API charging apparatus provided in the embodiment of the present invention can notify the OCS of the quota information of the API on the calling party, so that the OCS can perform charging according to the quota information, thereby implementing online charging for the session-related network capability API.
Specifically, the quota request module 1 is configured to send a quota request message, such as a CCR-I message, to the OCS to request a quota of the caller API from the OCS. After receiving the quota request message, the OCS allocates a quota for the calling party API according to the quota application information in the message, and returns a response message, such as a CCA-I message, to the quota request module 1 to inform the quota request module 1 of allocation information of the calling party API quota.
Further, after sending the quota request message to the OCS, the quota request module 1 sends a calling party capability invocation request to the AS, so AS to indicate that the AS does not perform service online charging on the call.
Meanwhile, the quota request module 1 also issues an indication message to the P-GW to indicate that the P-GW does not charge for the call traffic of the calling party.
The quota request module 1 may send the capability call request and the indication message to the AS and the P-GW through a RESTful interface.
It should be noted that, when the AS and the P-GW suspend charging of the caller API, the result sending module 2 counts and monitors the quota usage of the caller API.
Further, the result sending module 2 is specifically configured to: if the call is finished, the network capability open platform sends a feedback message, such as a CCR-T message, to the OCS so as to inform the OCS of quota information actually used by the API of the calling party in the call process. Therefore, the OCS charges the calling party API according to the quota information actually used by the calling party API in the feedback message, and returns a charging message, such as a CCA-T message, to the result sending module 2 to notify the charging information of the calling party API.
After the call is finished, the result sending module 2 also sends an indication message to the P-GW and the AS to indicate the P-GW and the AS to resume online charging for the service and the call traffic.
Optionally, this embodiment further includes:
if the quota of the API of the calling party is used up in the call process, the quota request module 1 sends a new quota request message, such as a CCR-U message, to the OCS, and receives a new response message, such as a CCA-U message, returned by the OCS according to the new quota request message, where the new response message carries quota information of the new API of the calling party, which is allocated by the OCS.
The session-related network capability API charging device provided by the embodiment of the invention can enable AS and P-GW to suspend on-line charging and call flow charging of the service of the calling party, thereby avoiding repeated charging of the user terminal while charging the API of the calling party.
Fig. 5 is a schematic structural diagram of an embodiment of the API charging apparatus for session related network capabilities, and referring to fig. 5, an embodiment of the present invention further provides an API charging apparatus for session related network capabilities, including: quota allotment module 51 and quota accounting module 52.
The quota allocation module 51 is configured to, after receiving a quota request message sent by the network capacity open platform, allocate a quota for a caller API according to a quota request message of the caller API in the quota request message, and send allocated quota information to the network capacity open platform through a response message, such as a CCA-I message;
the quota charging module 52 is configured to receive a feedback message, such as a CCR-T message, sent by the network capability open platform after the call is ended, so as to obtain quota information actually used by the API of the calling party, and perform charging according to the quota information actually used.
The session-related network capability API charging device provided by the embodiment of the invention can distribute quota information and can charge according to the quota use information reported by the network capability open platform, so that online charging for the session-related network capability API can be realized.
Specifically, the quota accounting module 52 may use a product of the used quota amount and a preset quota unit price as a charge generated by the API of the calling party in the current call process. The preset quota unit price can be adjusted according to actual conditions, which is not limited in this embodiment.
After completing billing for the caller API, quota billing module 52 may return a billing message, such as a CCA-T message, to the network capability openness platform to inform the caller API of the billing information.
Further, quota accounting module 52 is further configured to:
if a new quota request message sent by the network capacity open platform is received in the conversation process, distributing a new quota for the calling party API according to new quota application information of the calling party API in the new quota request message, and sending the new quota information to the network capacity open platform through a new response message.
FIG. 6 is a block diagram of the API charging device for session related network capability according to the present invention; referring to fig. 6, the apparatus includes: a processor (processor)601, a memory (memory)602, a communication Interface (Communications Interface)603, and a bus 604;
wherein the content of the first and second substances,
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the bus 604;
the communication interface 603 is used for information transmission between the apparatus and communication devices of other apparatuses;
the processor 601 is configured to call program instructions in the memory 602 to perform the methods provided by the above-mentioned method embodiments, for example, including: after receiving a call request of a calling party of an application, sending a quota request message to an OCS, and receiving a response message returned by the OCS according to the quota request message; and after the call is finished, sending a feedback message to the OCS, wherein the feedback message carries the actually used quota information, so that the OCS can charge according to the actually used quota information.
Embodiments of the present invention also disclose a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments, for example, including: after receiving a call request of a calling party of an application, sending a quota request message to an OCS, and receiving a response message returned by the OCS according to the quota request message; and after the call is finished, sending a feedback message to the OCS, wherein the feedback message carries the actually used quota information, so that the OCS can charge according to the actually used quota information.
Embodiments of the present invention further provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the foregoing method embodiments, for example, the method includes: after receiving a call request of a calling party of an application, sending a quota request message to an OCS, and receiving a response message returned by the OCS according to the quota request message; and after the call is finished, sending a feedback message to the OCS, wherein the feedback message carries the actually used quota information, so that the OCS can charge according to the actually used quota information.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (4)

1. A session-related network capability API charging method is characterized by comprising the following steps:
after receiving a call request of a calling party of an application, sending a quota request message to an Online Charging System (OCS), and receiving a response message returned by the OCS according to the quota request message, wherein the response message carries quota information of a calling party Application Program Interface (API) distributed by the OCS;
after the call is finished, sending a feedback message to the OCS, wherein the feedback message carries actually used quota information, so that the OCS can charge according to the actually used quota information;
after sending the quota request message to the OCS, sending a calling party capability calling request to an Access Stratum (AS) to indicate that the AS does not charge for the service used by the calling party;
meanwhile, sending an indication message to a PDG gateway P-GW to indicate that the P-GW does not charge the calling party for using the call flow;
the method further comprises the following steps:
if the quota of the calling party API is used up in the communication process, sending a new quota request message to the OCS, and receiving a new response message returned by the OCS according to the new quota request message, wherein the new response message carries quota information of the new calling party API distributed by the OCS.
2. A session-related network capability API charging method is characterized by comprising the following steps:
after receiving a quota request message sent by a network capacity open platform, allocating a quota for a caller API according to a quota request message of the caller API in the quota request message, and sending allocated quota information to the network capacity open platform through a response message;
after the call is finished, receiving a feedback message sent by the network capability open platform to acquire quota information actually used by the calling party API, and charging according to the quota information actually used;
the method further comprises the following steps: if a new quota request message sent by the network capacity open platform is received in the conversation process, distributing a new quota for a caller API according to new quota application information of the caller API in the new quota request message, and sending the new quota information to the network capacity open platform through a new response message.
3. A session-related network capability API charging apparatus, comprising:
the quota request module is used for sending a quota request message to an Online Charging System (OCS) after receiving a call request of a calling party of an application, and receiving a response message returned by the OCS according to the quota request message, wherein the response message carries quota information of a calling party Application Program Interface (API) distributed by the OCS;
a result sending module, configured to send a feedback message to the OCS after the call is ended, where the feedback message carries actually-used quota information, so that the OCS performs charging according to the actually-used quota information;
the quota requesting module is further configured to:
after the quota request message is sent to the OCS, a calling party capability calling request is sent to an Access Stratum (AS) so AS to indicate that the AS does not charge for the service used by the calling party;
meanwhile, the network capability open platform sends an indication message to a PDG gateway P-GW to indicate that the P-GW does not charge the calling party for using the call flow;
the quota requesting module is further configured to:
if the quota of the calling party API is used up in the communication process, sending a new quota request message to the OCS, and receiving a new response message returned by the OCS according to the new quota request message, wherein the new response message carries quota information of the new calling party API distributed by the OCS.
4. A session-related network capability API charging apparatus, comprising:
the quota allocation module is used for allocating quota for the calling party API according to quota request information of the calling party API in the quota request information after receiving quota request information sent by the network capacity open platform, and sending allocated quota information to the network capacity open platform through a response message;
the quota charging module is used for receiving the feedback message sent by the network capacity open platform after the call is finished so as to obtain quota information actually used by the calling party API, and charging according to the quota information actually used;
the quota allocation module is further configured to: if a new quota request message sent by the network capacity open platform is received in the conversation process, distributing a new quota for a caller API according to new quota application information of the caller API in the new quota request message, and sending the new quota information to the network capacity open platform through a new response message.
CN201611263027.5A 2016-12-30 2016-12-30 Session-related network capability API charging method and device Active CN108270578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611263027.5A CN108270578B (en) 2016-12-30 2016-12-30 Session-related network capability API charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611263027.5A CN108270578B (en) 2016-12-30 2016-12-30 Session-related network capability API charging method and device

Publications (2)

Publication Number Publication Date
CN108270578A CN108270578A (en) 2018-07-10
CN108270578B true CN108270578B (en) 2021-09-21

Family

ID=62753897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611263027.5A Active CN108270578B (en) 2016-12-30 2016-12-30 Session-related network capability API charging method and device

Country Status (1)

Country Link
CN (1) CN108270578B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065057A (en) * 2009-11-18 2011-05-18 华为技术有限公司 Method and server applied to agency service of Widget
CN102244580A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Online charging method, communication device and communication system
CN106105100A (en) * 2014-03-18 2016-11-09 Twc专利信托公司 Low delay, high capacity, high power capacity API gateway

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269511A1 (en) * 2014-03-21 2015-09-24 Microsoft Corporation Extensible framework for resource provider service and quota management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065057A (en) * 2009-11-18 2011-05-18 华为技术有限公司 Method and server applied to agency service of Widget
CN102244580A (en) * 2010-05-11 2011-11-16 华为技术有限公司 Online charging method, communication device and communication system
CN106105100A (en) * 2014-03-18 2016-11-09 Twc专利信托公司 Low delay, high capacity, high power capacity API gateway

Also Published As

Publication number Publication date
CN108270578A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
KR101206584B1 (en) Ims gateway systems and methods for online charging in ims networks
EP2874347B1 (en) Charging control method and charging trigger function
EP2499858B1 (en) Service event trigger
KR101844755B1 (en) Terminate a charging session for an always on ip connectivity session
EP2521305B1 (en) Method, device and system for controlling user session policy
EP2509254A1 (en) Method and apparatus for controlling service traffic in a communication network
EP2671344B1 (en) Method and apparatus for online charging in an ip multimedia subsystem
CN106301805B (en) Policy and charging execution function device, online charging device and online charging method
US9794421B2 (en) Method, system and apparatus for adaptive quota determination for shared resources
CN103477587A (en) Method and device for controlling QoS and/or policy and charging control of a guest user
CN103843374B (en) Integrated strategy and charging control based on SY
WO2009100669A1 (en) Charging method, control device, charging device and charging system
JP2017514338A (en) Billing session management method and apparatus
CN108259434A (en) A kind of opening method and server of user side QoS supportabilitys
CN108401231B (en) Charging method, device and system
RU2668083C2 (en) Method for real-time charging, gateway and device for real-time charging
CN107027109B (en) Method for adjusting user flow quota, online charging system and gateway
JP2017527158A (en) Controlling supplemental content in the data flow
CN112702180B (en) Policy control method, device and system
CN106936603B (en) Data service charging method, device and system
WO2017084394A1 (en) Roaming charging method, relevant apparatus, and online charging system
CN108270578B (en) Session-related network capability API charging method and device
CN110166962A (en) A kind of regulation management method and apparatus
EP3469819A1 (en) Core network online charging control for intermediate network traffic steering

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
GR01 Patent grant
GR01 Patent grant