CN111181740A - Message sending method, device, application server and computer readable storage medium - Google Patents

Message sending method, device, application server and computer readable storage medium Download PDF

Info

Publication number
CN111181740A
CN111181740A CN201811342973.8A CN201811342973A CN111181740A CN 111181740 A CN111181740 A CN 111181740A CN 201811342973 A CN201811342973 A CN 201811342973A CN 111181740 A CN111181740 A CN 111181740A
Authority
CN
China
Prior art keywords
message
ocs
media type
application server
session description
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
CN201811342973.8A
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201811342973.8A priority Critical patent/CN111181740A/en
Publication of CN111181740A publication Critical patent/CN111181740A/en
Pending legal-status Critical Current

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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Landscapes

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

Abstract

The disclosure provides a message sending method, a message sending device, an application server and a computer readable storage medium, and relates to the technical field of communication. The message sending method comprises the following steps: the application server acquires the media type of a session description protocol responder from the received session initiation protocol SIP message; and the application server sends an OCP message to the OCS, wherein the OCP message carries the media type, so that the OCS carries out charging processing according to the media type carried by the OCP message. The method and the device realize charging according to the media type of the actual call, improve the accuracy of OCS charging and reduce the complaint of users.

Description

Message sending method, device, application server and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a message sending method, an apparatus, an application server, and a computer-readable storage medium.
Background
With the continuous development of the VoLTE prepaid service, the online charging function of the VoLTE prepaid service is concerned by more users.
Charging functions for VoLTE prepaid services are typically done by an OCS (Online Charging System). In the actual service, if the charging result of the OCS is inaccurate, customer complaints will be caused.
Disclosure of Invention
The technical problem solved by the present disclosure is how to improve the accuracy of OCS charging.
According to an aspect of the embodiments of the present disclosure, there is provided a message sending method, including: the application server acquires the media type of a session description protocol responder from the received session initiation protocol SIP message; the application server sends an online charging protocol OCP message to an online charging system OCS, wherein the OCP message carries the media type, so that the OCS carries out charging processing according to the media type carried by the OCP message.
In some embodiments, the session initiation protocol, SIP, message comprises: a 180Ringing message in response to the Invite message, a 200OK message in response to the Invite message, a PRACK message in response to the 180Ringing message, and an ACK message in response to the 200OK message sent by the session description protocol responder; the application server sends the OCP message to the online charging system OCS, so that the OCS carries out charging processing according to the media type carried by the OCP message, and the charging processing comprises the following steps: the application server sends the initialized credit control request CCR to the OCS, so that the OCS can reserve resources according to the media types carried by the initialized CCR.
In some embodiments, the session initiation protocol SIP message comprises a 200OK message sent by the session description protocol responder in response to the Update message; the application server sends the OCP message to the online charging system OCS, so that the OCS carries out charging processing according to the media type carried by the OCP message, and the charging processing comprises the following steps: the application server sends the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media types carried by the updated CCR.
In some embodiments, the session initiation protocol, SIP, message comprises: a 200OK message sent by the session description protocol responder and responding to the Reinvite message; the application server sends the OCP message to the online charging system OCS, so that the OCS performs charging processing according to the media type carried by the OCP message comprises the following steps: the application server sends the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media types carried by the updated CCR.
In some embodiments, the application server obtaining the media type of the session description protocol responder from the received session initiation protocol SIP message comprises: the application server obtains the media type of the session description protocol responder from the SDP message contained in the received SIP message; the message sending method further comprises the following steps: the application server acquires the identity information of a session description protocol initiator, the identity information of a session description protocol responder, forward network information and backward network information from SDP (session description protocol) messages contained in the received SIP messages; the application server constructs an OCP message according to the media type, the identity information of the initiator of the session description protocol, the identity information of the responder of the session description protocol, the forward network information and the backward network information.
According to another aspect of the embodiments of the present disclosure, there is provided an application server including: the media type acquisition module is configured to acquire the media type of a session description protocol responder from the received session initiation protocol SIP message; and the message sending module is configured to send an online charging protocol OCP message to the online charging system OCS, wherein the OCP message carries the media type, so that the OCS carries out charging processing according to the media type carried by the OCP message.
In some embodiments, the session initiation protocol, SIP, message comprises: a 180Ringing message in response to the Invite message, a 200OK message in response to the Invite message, a PRACK message in response to the 180Ringing message, and an ACK message in response to the 200OK message sent by the session description protocol responder; the messaging module is configured to: and sending the initialized credit control request CCR to the OCS so that the OCS can reserve resources according to the media types carried by the initialized CCR.
In some embodiments, the session initiation protocol SIP message comprises a 200OK message sent by the session description protocol responder in response to the Update message; the messaging module is configured to: and sending the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media types carried by the updated CCR.
In some embodiments, the session initiation protocol, SIP, message comprises: a 200OK message sent by the session description protocol responder and responding to the Reinvite message; the messaging module is configured to: and sending the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media types carried by the updated CCR.
In some embodiments, the media type acquisition module is configured to: acquiring the media type of a session description protocol responder from an SDP message contained in the received SIP message; the application server further comprises: the information acquisition module is configured to acquire session description protocol initiator identity information, session description protocol responder identity information, forward network information and backward network information from SDP (session description protocol) messages contained in the received SIP (session initiation protocol) messages; and the message construction module is configured to construct the OCP message according to the media type, the identity information of the initiator of the session description protocol, the identity information of the responder of the session description protocol, the forward network information and the backward network information.
According to still another aspect of the embodiments of the present disclosure, there is provided a message transmitting apparatus including: a memory; and a processor coupled to the memory, the processor configured to perform the aforementioned messaging method based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer instructions are stored, and when executed by a processor, the instructions implement the foregoing message sending method.
The method and the device realize charging according to the media type of the actual call, improve the accuracy of OCS charging and reduce the complaint of users.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 illustrates a flow diagram of a method of messaging in accordance with some embodiments of the present disclosure.
Fig. 2 is a flowchart illustrating an application example of the disclosed message sending method.
Fig. 3 shows a schematic structural diagram of a client according to some embodiments of the present disclosure.
Fig. 4 shows a schematic structural diagram of a message sending device according to some embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The inventor researches and discovers that in an online charging process of a prepaid service, when a calling party starts a call by using a video, if a called terminal does not support a video call or the called party is connected by using an audio, an Application Server (AS) in the related technology reports the OCS according to the highest media type (video) in a call message. Since the AS reports the media type (video) of the SDP (Session Description Protocol) initiator, which is not consistent with the media type (audio) of the actual call, an OCS charging error may be caused, causing a user complaint.
In view of the above problems, the present disclosure provides a message sending method, which can perform charging according to the media type of the actual call, improve the accuracy of OCS charging, and reduce user complaints. As described in detail below.
Some embodiments of the disclosed messaging method are first described in conjunction with fig. 1.
Fig. 1 illustrates a flow diagram of a method of messaging in accordance with some embodiments of the present disclosure. As shown in fig. 1, the present embodiment includes steps S102 to S104.
In step S102, the application server obtains the media type of the session description protocol responder from the received session initiation protocol SIP message.
For the negotiation of media types, this can be implemented in the interaction of SDP messages. The party that first sends the SDP message is called an SDP initiator (offer), and the party that receives the SDP message to reply and replies to the SDP message is called an SDP responder (answer). The SDP initiator may provide a plurality of media types for selection by the SDP responder, which may select only one of them, the actual session media type being determined by the SDP responder. It will be understood by those skilled in the art that the SDP message may be included in a SIP (Session Initiation Protocol) message, so that negotiation of the media type between the SDP initiator and SDP responder may be implemented through SIP message interaction based on a SIP Protocol three-way handshake mechanism.
When the SDP initiator and SDP responder perform SIP message interaction, each SIP message sent to each other needs to pass through the application server. The application server can judge whether the received SIP message contains SDP message, if not, the application server does not process, if yes, the application server obtains the media type of the session description protocol responder from the SDP message contained in the received SIP message, and the SDP message is contained in the SIP message as an optional message.
It should be understood that due to the existence of the playing platform such as the color ring, the SDP initiator is not necessarily the calling party of the call, and the SDP responder is not necessarily the called party of the call. For example, a calling party initiates an audio call to a called party, but a called polyphonic ringtone service platform enforces to play a multimedia polyphonic ringtone to the calling party, i.e. the call service type is switched from the audio call to the video call. At this time, because the polyphonic ringtone platform in the network initiates the media type switching, the SDP initiator is called, and the SDP responder is calling.
The application server can also obtain the identity information of the initiator of the session description protocol, the identity information of the responder of the session description protocol, the forward network information and the backward network information from the SDP message contained in the received SIP message. The application server may then construct an OCP message based on the media type, the sip initiator identity information, the sip responder identity information, the forward network information, and the backward network information. Wherein, the network element which triggers the service and sends the Invite message to the service belongs to the forward network; and the network element which sends the Invite message to the IMS after the prepayment AS executes the service logic belongs to the backward network.
In step S104, the application server sends an online charging protocol OCP message to the online charging system OCS, where the OCP message carries the media type.
After receiving the OCP (Online Charging Protocol) message, the OCS may perform corresponding Charging processing according to the media type carried in the OCP message. Different call service types comprise video call, high-definition voice call and standard-definition voice call, and the corresponding media types are video and audio respectively, wherein the audio is divided into AMR (adaptive rate modulation) and G.711 coding. The OCS needs to identify the call service type according to the media type, so as to differently deduct the charges for different call service types according to different charge rates.
In the above embodiment, the prepaid AS carries the media type of the session description protocol responder when reporting the prepaid online charging message, and the media type is the result of SDP negotiation between the SDP initiator and the responder, thereby implementing charging according to the media type of the actual call, improving the accuracy of OCS charging, and reducing user complaints.
There are four possible SDP negotiation modes before the called terminal in the prepaid call flow goes off-hook to answer. The first SDP negotiation mode is that the calling party initiates SDP negotiation to the called party through Invite message, and the called party replies 180Ringing message for SDP response. The second SDP negotiation mode is that the calling party is not the SDP initiator, but the called party initiates SDP negotiation to the calling party through 180Ringing message, and the calling party replies SDP response through replying PRACK message. The third SDP negotiation manner is that the calling party initiates SDP negotiation to the called party by sending an Invite message, and the called party replies with a 200OK message to perform SDP answer. The fourth SDP negotiation manner is that the calling party is not the initiator of SDP negotiation, the called party initiates SDP negotiation by sending a 200OK message first, and the calling party performs SDP answer by replying an ACK message.
Thus, in some embodiments, the session initiation protocol, SIP, message comprises: a 180Ringing message in response to the Invite message, a 200OK message in response to the Invite message, a PRACK message in response to the 180Ringing message, and an ACK message in response to the 200OK message sent by the session description protocol responder. Correspondingly, in step S104 of the embodiment shown in fig. 1, the application server sends the initialized credit control request CCR to the OCS, so that the OCS performs resource reservation according to the media type carried by the initialized CCR. The resource reservation can be understood as calculating the available longest call duration according to the balance and the current service rate.
In the embodiment, the prepaid AS reports the SDP negotiation result to the OCS according to the media type of the SDP responder in the prepaid calling process, so that online charging is realized according to the media type of the actual call, the charging accuracy of the OCS is improved, and the user complaints are reduced.
Before the called party answers the call, the calling party and the called party can carry out SDP negotiation again through Update messages. In this SDP negotiation manner, the SDP initiator may initiate SDP negotiation by sending an Update message before the called call answers, and the SDP responder may answer the SDP by replying to a 200OK message. Thus, in some embodiments, the session initiation protocol, SIP, message comprises a 200OK message sent by the session description protocol responder in response to the Update message. Accordingly, in step S104 of the embodiment shown in fig. 1, the application server sends the updated CCR to the OCS, so that the OCS performs the charge reservation and re-pricing according to the media type carried by the updated CCR.
For example, because the charges of the video call and the audio call are different, when the media type switching occurs, it means that the call service type is switched, and at this time, the OCS calculates the occurred charge according to the charge rate before the media type switching and the usage time before the media type switching, and subtracts the occurred charge from the balance to obtain the latest balance, that is, the charge reservation. Meanwhile, the OCS calculates the longest duration of the call after the media type is switched, that is, the rating is charged again, according to the rate after the media type is switched. The OCS may notify the prepaid AS of the calculation result, so AS to monitor the call and prevent the call from being overtime.
In the embodiment, the prepaid AS reports the SDP negotiation result to the OCS according to the media type of the SDP responder before the call, so that online charging is realized according to the switched media type, the charging accuracy of the OCS is improved, and the user complaints are reduced.
During the call, both the caller and the callee may send an Invite message again (distinguished here by an Invite message before the call answer, referred to herein as a re Invite message) to re-perform SDP negotiation. The SDP negotiation mode is that an SDP initiator initiates SDP negotiation to a called party by sending a Reinvite message, and an SDP responder carries out SDP response by replying a 200OK message. Thus, in some embodiments, the session initiation protocol, SIP, message comprises a 200OK message sent by the session description protocol, SIP, responder in response to the ReInvite message. Accordingly, in step S104 of the embodiment shown in fig. 1, the application server sends the updated CCR to the OCS, so that the OCS performs the charge reservation and re-pricing according to the media type carried by the updated CCR.
In the above embodiment, the prepaid AS reports the SDP negotiation result to the OCS according to the media type of the SDP responder during the call, so that online charging according to the switched media type is realized, the accuracy of charging by the OCS is improved, and user complaints are reduced.
A specific application example of the message sending method of the present disclosure is listed below for further explanation.
Fig. 2 is a flowchart illustrating an application example of the disclosed message sending method. As shown in fig. 2, the flow of the application example of the disclosed message sending method may specifically include step S201 to step S216. Step S201 to step S204 are message sending processes related to media type negotiation before call response; step S205 to step S208 are the message sending process related to the media type switching before the call response; step S2019 to step S212 are message sending processes related to media type renegotiation in the call process.
In step S201, a user initiates a session request;
in step S202, the AS sends a CCR request of Initial to the OCS, and reserves resources;
in step S203, the OCS returns a CCA response including the reserved resources;
in step S204, the AS returns a response to the session request;
in step S205, the user initiates an Update switching media type request;
in step S206, the AS responds to the media switching request;
in step S207, after the media handover negotiation is OK, the AS sends a CCR request for Update to the OCS, re-wholesale pricing and cost reservation, and reports the use condition of the previous call;
in step S208, the OCS returns a CCA response, which includes the monitoring duration;
in step S209, during the user call, the user re-initiates a session request;
in step S210, the AS responds to the media switching request;
in step S211, after the media switch negotiation OK, the service AS sends a CCR request for Update to the OCS, and re-pricing and cost reservation are performed;
in step S212, the OCS returns a CCA response, which includes the monitoring duration;
in step S213, the terminal transmits a session end request;
in step S214, the AS sends a CCR request of Terminate to the OCS, and reports used resources;
in step S215, the OCS returns a CCA response;
in step S216, the AS returns a session end response.
An application server of some embodiments of the present disclosure is described below in conjunction with fig. 3.
Fig. 3 shows a schematic structural diagram of a client according to some embodiments of the present disclosure. As shown in fig. 3, the application server 30 in the present embodiment includes:
a media type obtaining module 302 configured to obtain a media type of a session description protocol responder from a received session initiation protocol SIP message; the message sending module 304 is configured to send an online charging protocol OCP message to the online charging system OCS, where the OCP message carries a media type, so that the OCS performs charging processing according to the media type carried by the OCP message.
In the above embodiment, the prepaid AS carries the media type of the session description protocol responder when reporting the prepaid online charging message, and the media type is the result of SDP negotiation between the SDP initiator and the responder, thereby implementing charging according to the media type of the actual call, improving the accuracy of OCS charging, and reducing user complaints.
In some embodiments, the session initiation protocol, SIP, message comprises: a 180Ringing message in response to the Invite message, a 200OK message in response to the Invite message, a PRACK message in response to the 180Ringing message, and an ACK message in response to the 200OK message sent by the session description protocol responder; the messaging module 304 is configured to: and sending the initialized credit control request CCR to the OCS so that the OCS can reserve resources according to the media types carried by the initialized CCR.
In the embodiment, the prepaid AS reports the SDP negotiation result to the OCS according to the media type of the SDP responder in the prepaid calling process, so that online charging is realized according to the media type of the actual call, the charging accuracy of the OCS is improved, and the user complaints are reduced.
In some embodiments, the session initiation protocol SIP message comprises a 200OK message sent by the session description protocol responder in response to the Update message; the messaging module 304 is configured to: and sending the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media types carried by the updated CCR.
In the embodiment, the prepaid AS reports the SDP negotiation result to the OCS according to the media type of the SDP responder before the call, so that online charging is realized according to the switched media type, the charging accuracy of the OCS is improved, and the user complaints are reduced.
In some embodiments, the session initiation protocol, SIP, message comprises: a 200OK message sent by the session description protocol responder and responding to the Reinvite message; the messaging module 304 is configured to: and sending the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media types carried by the updated CCR.
In the above embodiment, the prepaid AS reports the SDP negotiation result to the OCS according to the media type of the SDP responder during the call, so that online charging according to the switched media type is realized, the accuracy of charging by the OCS is improved, and user complaints are reduced.
In some embodiments, media type acquisition module 302 is configured to: acquiring the media type of a session description protocol responder from an SDP message contained in the received SIP message; the application server further comprises: an information obtaining module 301, configured to obtain session description protocol initiator identity information, session description protocol responder identity information, forward network information and backward network information from an SDP message included in the received SIP message; a message constructing module 303 configured to construct the OCP message according to the media type, the identity information of the session description protocol initiator, the identity information of the session description protocol responder, the forward network information and the backward network information.
Fig. 4 shows a schematic structural diagram of a message sending device according to some embodiments of the present disclosure. As shown in fig. 4, the message transmission apparatus 40 of this embodiment includes: a memory 410 and a processor 420 coupled to the memory 410, the processor 420 configured to perform the messaging method of any of the foregoing embodiments based on instructions stored in the memory 410.
Memory 410 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
The message sending device 40 may also include an input-output interface 430, a network interface 440, a storage interface 450, and the like. These interfaces 430, 440, 450 and the connection between the memory 410 and the processor 420 may be, for example, via a bus 460. The input/output interface 430 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 440 provides a connection interface for various networking devices. The storage interface 450 provides a connection interface for external storage devices such as an SD card and a usb disk.
The present disclosure also includes a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the method of messaging in any of the foregoing embodiments.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (12)

1. A method for sending a message, comprising:
the application server acquires the media type of a session description protocol responder from the received session initiation protocol SIP message;
and the application server sends an online charging protocol OCP message to an online charging system OCS, wherein the OCP message carries the media type, so that the OCS carries out charging processing according to the media type carried by the OCP message.
2. The message transmission method of claim 1, wherein the session initiation protocol, SIP, message comprises: a 180Ringing message in response to the Invite message, a 200OK message in response to the Invite message, a PRACK message in response to the 180Ringing message, and an ACK message in response to the 200OK message sent by the session description protocol responder;
the application server sends the OCP message to an online charging system OCS, so that the OCS carries out charging processing according to the media type carried by the OCP message, and the charging processing comprises the following steps: and the application server sends the initialized credit control request CCR to the OCS so that the OCS performs resource reservation according to the media types carried by the initialized CCR.
3. The message transmission method of claim 1, wherein the session initiation protocol, SIP, message comprises: a 200OK message which is sent by a session description protocol responder and responds to the Update message;
the application server sends the OCP message to an online charging system OCS, so that the OCS carries out charging processing according to the media type carried by the OCP message, and the charging processing comprises the following steps: and the application server sends the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media type carried by the updated CCR.
4. The message transmission method of claim 1, wherein the session initiation protocol, SIP, message comprises: a 200OK message sent by the session description protocol responder and responding to the Reinvite message;
the application server sends the OCP message to the online charging system OCS, so that the OCS performs charging processing according to the media type carried by the OCP message comprises the following steps: and the application server sends the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media type carried by the updated CCR.
5. The message sending method according to any one of claims 1 to 4, wherein the application server obtaining the media type of the session description protocol responder from the received session initiation protocol SIP message comprises: the application server obtains the media type of the session description protocol responder from the SDP message contained in the received SIP message;
the message sending method further comprises the following steps:
the application server acquires the identity information of a session description protocol initiator, the identity information of a session description protocol responder, forward network information and backward network information from SDP (session description protocol) messages contained in the received SIP messages;
and the application server constructs an OCP message according to the media type, the identity information of the initiator of the session description protocol, the identity information of the responder of the session description protocol, the forward network information and the backward network information.
6. An application server, comprising:
the media type acquisition module is configured to acquire the media type of a session description protocol responder from the received session initiation protocol SIP message;
and the message sending module is configured to send an online charging protocol OCP message to an online charging system OCS, wherein the OCP message carries the media type, so that the OCS carries out charging processing according to the media type carried by the OCP message.
7. An application server as claimed in claim 6, wherein said session initiation protocol, SIP, message comprises: a 180Ringing message in response to the Invite message, a 200OK message in response to the Invite message, a PRACK message in response to the 180Ringing message, and an ACK message in response to the 200OK message sent by the session description protocol responder;
the messaging module is configured to: and sending an initialized credit control request CCR to the OCS so that the OCS performs resource reservation according to the media types carried by the initialized CCR.
8. An application server as claimed in claim 6, wherein said session initiation protocol, SIP, message comprises: a 200OK message sent by the session description protocol responder and responding to the Reinvite message;
the messaging module is configured to: and sending the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media type carried by the updated CCR.
9. An application server according to claim 6, wherein said session initiation protocol, SIP, message comprises a 200OK message sent by a session description protocol, SIP, responder in response to a ReInvite message;
the messaging module is configured to: and sending the updated CCR to the OCS so that the OCS can carry out charge reservation and re-pricing according to the media type carried by the updated CCR.
10. An application server as claimed in any one of claims 6 to 9, wherein the media type acquisition module is configured to: acquiring the media type of a session description protocol responder from an SDP message contained in the received SIP message;
the application server further comprises:
the information acquisition module is configured to acquire session description protocol initiator identity information, session description protocol responder identity information, forward network information and backward network information from SDP (session description protocol) messages contained in the received SIP (session initiation protocol) messages;
and the message construction module is configured to construct the OCP message according to the media type, the identity information of the initiator of the session description protocol, the identity information of the responder of the session description protocol, the forward network information and the backward network information.
11. A message transmitting apparatus comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the messaging method of any of claims 1-5 based on instructions stored in the memory.
12. A computer readable storage medium, wherein the computer readable storage medium stores computer instructions which, when executed by a processor, implement the method of messaging according to any one of claims 1 to 5.
CN201811342973.8A 2018-11-09 2018-11-09 Message sending method, device, application server and computer readable storage medium Pending CN111181740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811342973.8A CN111181740A (en) 2018-11-09 2018-11-09 Message sending method, device, application server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811342973.8A CN111181740A (en) 2018-11-09 2018-11-09 Message sending method, device, application server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111181740A true CN111181740A (en) 2020-05-19

Family

ID=70655517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811342973.8A Pending CN111181740A (en) 2018-11-09 2018-11-09 Message sending method, device, application server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111181740A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964355A (en) * 2006-09-30 2007-05-16 华为技术有限公司 A method and device for information report and communication system and charging method and device and system
US20070174400A1 (en) * 2006-01-24 2007-07-26 Lucent Technologies Inc. IMS budget control for a media change during an IMS session
WO2009135375A1 (en) * 2008-05-07 2009-11-12 中兴通讯股份有限公司 Call establishing method for realizing the single dialog color ring service
US20100217698A1 (en) * 2007-11-08 2010-08-26 Kang Jiao Charging method, network system, charging system, and application server
CN102064949A (en) * 2010-12-13 2011-05-18 南京邮电大学 Online charging method in media switching scene
CN102083028A (en) * 2009-12-01 2011-06-01 华为技术有限公司 Video call charging method, video call charging equipment and video call charging system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174400A1 (en) * 2006-01-24 2007-07-26 Lucent Technologies Inc. IMS budget control for a media change during an IMS session
CN1964355A (en) * 2006-09-30 2007-05-16 华为技术有限公司 A method and device for information report and communication system and charging method and device and system
US20100217698A1 (en) * 2007-11-08 2010-08-26 Kang Jiao Charging method, network system, charging system, and application server
WO2009135375A1 (en) * 2008-05-07 2009-11-12 中兴通讯股份有限公司 Call establishing method for realizing the single dialog color ring service
CN102083028A (en) * 2009-12-01 2011-06-01 华为技术有限公司 Video call charging method, video call charging equipment and video call charging system
CN102064949A (en) * 2010-12-13 2011-05-18 南京邮电大学 Online charging method in media switching scene

Similar Documents

Publication Publication Date Title
US10575146B2 (en) Method and apparatus relating to online charging in an IP multimedia subsystem
KR101484497B1 (en) Method and apparatus for providing a user with charging-related voice service
US20190273824A1 (en) Universal Ring Free
US8838687B2 (en) Composite services provision within a telecommunications network
JP2006157932A (en) Call control with converged application server logic and gateway logic in ims networks
CN101227302A (en) Charging method, control apparatus, charging device and charging system
CN101461182A (en) Alerting for long duration sessions in communications networks
CN102685120B (en) VoIP client and calling implementation method, user terminal
CN109413285A (en) A kind of communication means and device
US7590596B2 (en) Charging system and method for handling services within this system and entities thereof
US8654946B1 (en) System, method, and computer program for sending a missed call notification to a receiver based on an instruction from a caller
KR100752240B1 (en) A method of providing virtual private network service
US9646293B2 (en) In session charging notifications and recharging accounts
CN106034125A (en) IP voice communication falling back method, apparatus, system and terminal equipment thereof
EP2600590B1 (en) Method for realizing nesting of services with different categories and system thereof
CN111181740A (en) Message sending method, device, application server and computer readable storage medium
CN105100520B (en) Terminal call forwarding method and its device
CN102665178B (en) Balance reminding method, Apparatus and system, application server
US20170085720A1 (en) Shifting of communication session charges
CN109257318A (en) A kind of group call method for building up and platform
CN112188005B (en) Ring back tone playing method and system and internetwork interconnection access control equipment
CN115529375B (en) Interface display method and device and electronic equipment
CN109039999B (en) Full-network media playing method, application server, media server and system
US20130039225A1 (en) Method and apparatus relating to charging in an ip multimedia subsystem
KR101022376B1 (en) Charging method and charging system for real time ip multimedia service

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519

RJ01 Rejection of invention patent application after publication