Media negotiation methods, devices, equipment, program products and storage media
By adding SIP message parameters to the IMS network to indicate the media renegotiation time and service, the problem of media negotiation incoordination between multiple service platform terminals was resolved, achieving an efficient media negotiation process and reducing network signaling overhead.
Patent Information
- Application Number
- CN202410749452.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2044-06-11
Smart Images

Figure CN118802866B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a media negotiation method, apparatus, related equipment, program product and storage medium. Background Technology
[0002] In related technologies, each business platform conducts media negotiations independently. Each business platform does not understand the timing and role of other platforms initiating media negotiations. Therefore, the only way to achieve process coordination and avoid conflicts is to rely on human thinking during the business process design stage. Summary of the Invention
[0003] To address the existing technical problems, embodiments of this application provide a media negotiation method, apparatus, related equipment, program product, and storage medium.
[0004] To achieve the above objectives, the technical solution of this application embodiment is implemented as follows:
[0005] This application provides a media negotiation method, applied to a network device equipped with multiple service platforms, including:
[0006] The system receives a first message from the called terminal; based on the first message, it triggers a first service platform among the plurality of service platforms to send a second message to a second service platform; the second service platform is any service platform among the plurality of service platforms other than the first service platform; the second message includes Session Initialization Protocol (SIP) message parameters; the SIP message parameters are used to indicate the time point of the media renegotiation during the call and the service that triggers the media renegotiation when media renegotiation is initiated;
[0007] The processing strategy of the second service platform is determined based on the SIP message parameters;
[0008] Based on the processing strategy, the second message is sent to the calling terminal to complete the media renegotiation.
[0009] In the above scheme, the time point includes at least one of the following:
[0010] The time point corresponding to the ringing of the called terminal;
[0011] The time point at which the called terminal goes off the phone;
[0012] The time point at which the called terminal rejects the call.
[0013] In the above scheme, the service includes at least one of the following:
[0014] New call services;
[0015] Ringback tone service.
[0016] In the above scheme, the processing strategy includes at least one of the following:
[0017] The second message is forwarded directly to the called terminal;
[0018] The endpoint of the second service platform is modified based on the SIP message parameters;
[0019] The encoding / decoding type of the second service platform is modified based on the SIP message parameters.
[0020] In the above scheme, after sending the second message to the calling terminal, the method further includes:
[0021] A third message sent by the terminal receiving the call; the third message includes first parameter information determined by the terminal making the call based on the second message;
[0022] Based on the first parameter information, the first message is forwarded to the terminal of the call to release the media plane.
[0023] In the above scheme, before receiving the first message sent by the called terminal, the method further includes:
[0024] A fourth message sent by the terminal receiving the call; the fourth message includes the second parameter information of the terminal making the call;
[0025] The second parameter information is forwarded to the called terminal; the second parameter information is used by the called terminal to determine the third parameter information of the called terminal based on the second parameter information.
[0026] Receive a fifth message sent by the called terminal, the fifth message including the third parameter information;
[0027] Based on the third parameter information, the terminal making the call executes playback of at least one of the multiple service platforms.
[0028] This application provides a media negotiation method applied to a terminal, including:
[0029] A first message is sent to a network device configured with multiple service platforms. The first message triggers a first service platform among the multiple service platforms to send a second message to a second service platform. The second service platform is any service platform among the multiple service platforms other than the first service platform. The second message includes SIP message parameters. The SIP message parameters indicate the time point in the call during which media renegotiation is initiated and the service that triggers the media renegotiation. The processing strategy of the second service platform is determined based on the SIP message parameters.
[0030] Based on the processing strategy, the second message sent by the second service platform is received to complete the media renegotiation.
[0031] In the above scheme, the time point includes at least one of the following:
[0032] The time point at which the called terminal rings;
[0033] The time point at which the called terminal goes off the phone;
[0034] The time point at which the called terminal rejects the call.
[0035] In the above scheme, the service includes at least one of the following:
[0036] New call services;
[0037] Ringback tone service.
[0038] In the above scheme, the processing strategy includes at least one of the following:
[0039] The second message is forwarded directly to the called terminal;
[0040] The endpoint of the second service platform is modified based on the SIP message parameters;
[0041] The encoding / decoding type of the second service platform is modified based on the SIP message parameters.
[0042] In the above scheme, the terminal includes the calling terminal, and the method further includes:
[0043] Send a third message to the network device, the third message including first parameter information determined by the calling terminal based on the second message;
[0044] Based on the first parameter information, the network device sends the first message to release the media plane.
[0045] In the above scheme, the terminal includes the called terminal, and the method further includes:
[0046] The terminal receiving the call sends a fourth message through the network device; the fourth message includes the second parameter information of the terminal making the call;
[0047] The third parameter information of the called terminal is determined based on the second parameter information;
[0048] A fifth message is sent to the network device; the fifth message includes the third parameter information; the third parameter information is used by the network device to execute playback of at least one of the multiple service platforms to the calling terminal.
[0049] This application provides a media negotiation device, applied to a network device equipped with multiple service platforms, including:
[0050] The first receiving unit is configured to receive a first message sent by the called terminal; and trigger a first service platform among the plurality of service platforms to send a second message to a second service platform based on the first message; the second service platform is any service platform among the plurality of service platforms other than the first service platform; the second message includes Session Initiation Protocol (SIP) message parameters; the SIP message parameters are used to indicate the time point of the media renegotiation during the call and the service that triggers the media renegotiation when media renegotiation is initiated.
[0051] The determining unit is used to determine the processing strategy of the second service platform based on the SIP message parameters;
[0052] The first sending unit is used to send the second message to the calling terminal based on the processing strategy in order to complete the media renegotiation.
[0053] This application provides a media negotiation device applied to a terminal, including:
[0054] The second sending unit is configured to send a first message to a network device equipped with multiple service platforms. The first message triggers a first service platform among the multiple service platforms to send a second message to a second service platform. The second service platform is any service platform among the multiple service platforms other than the first service platform. The second message includes SIP message parameters. The SIP message parameters indicate the time point of the media renegotiation during the call and the service that triggers the media renegotiation when it is initiated. The processing strategy of the second service platform is determined based on the SIP message parameters.
[0055] The second receiving unit is used to receive the second message sent by the second service platform based on the processing strategy, so as to complete the media renegotiation.
[0056] This application provides a media negotiation device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the method on the network device side; or, when the processor executes the program, it implements the steps of any of the methods on the terminal side.
[0057] This application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the methods described on the network device side; or, when executed by a processor, the computer program implements the steps of any of the methods described on the terminal side.
[0058] This application provides a storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of any of the methods described on the network device side; or, the computer program, when executed by a processor, implements the steps of any of the methods described on the terminal side.
[0059] This application provides a media negotiation method, apparatus, related equipment, program product, and storage medium, applied to a network device with multiple service platforms. The method includes receiving a first message sent by a called terminal; triggering a first service platform among the multiple service platforms to send a second message to a second service platform based on the first message; the second service platform being any service platform other than the first service platform among the multiple service platforms; the second message including SIP message parameters; the SIP message parameters indicating the time point of the media renegotiation during the call and the service that triggered the media renegotiation; determining the processing strategy of the second service platform based on the SIP message parameters; and sending the second message to the calling terminal based on the processing strategy to complete the media renegotiation. In this application embodiment, the network device receives a first message sent by the called terminal, triggers a first service platform to send a second message to a second service platform based on the first message, and the second message includes SIP message parameters. That is, by adding SIP message parameters, the purpose of multiple media negotiations can be achieved in a single SIP interaction, thereby reducing network signaling overhead. Attached Figure Description
[0060] Figure 1 A schematic diagram illustrating a scenario where a new call service is overlaid on a ringback tone service, as provided in an embodiment of this application.
[0061] Figure 2 A flowchart illustrating a media negotiation method provided in an embodiment of this application;
[0062] Figure 3 A flowchart illustrating another media negotiation method provided in an embodiment of this application;
[0063] Figure 4 A flowchart illustrating an application scenario of a media negotiation method provided in this application embodiment;
[0064] Figure 5 A schematic diagram of a media negotiation device provided in an embodiment of this application;
[0065] Figure 6 A schematic diagram of another media negotiation apparatus provided for an embodiment of this application;
[0066] Figure 7 This is a schematic diagram of the network device according to an embodiment of this application;
[0067] Figure 8 This is a schematic diagram of the terminal structure in an embodiment of this application;
[0068] Figure 9 This is a schematic diagram of the structure of the media negotiation system in an embodiment of this application. Detailed Implementation
[0069] The present application will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0070] The IP Multimedia Subsystem (IMS) is the core network for real-time communication services in 4G and 5G networks. It provides functions such as session establishment, service triggering, and media processing for Voice over Long-Term Evolution (VoLTE) and Voice over New Radio (VoNR).
[0071] In an IMS network, in order to transmit real-time media streams between relevant endpoints (terminals or network devices), media negotiation needs to be performed between the relevant endpoints beforehand. This is achieved by encapsulating Session Description Protocol (SDP) content in SIP messages and transmitting SIP messages between the relevant endpoints.
[0072] In an IMS network, media negotiation is required in the following scenarios: (1) between terminals, used to transmit call media between terminals during actual calls; (2) between terminals and service platforms, used for playing service-related media, such as ringback tones and notification tones. When multiple service platforms are involved between two terminals in a call, multiple media negotiations are usually required during the call. Improper handling of multiple media negotiations will lead to service failure. Figure 1 This is a schematic diagram illustrating a scenario where a new call service is overlaid on a ringback tone service, as provided in an embodiment of this application. Figure 1 In the process, the 200 OK message sent by the called user (UE-B) after answering the phone first reaches the new call application server (AS), triggering it to initiate media negotiation for media plane anchoring (because it needs to process the call media stream subsequently). However, when the relevant SIP messages are forwarded to the ringback tone service platform, the ringback tone service platform is unaware that the called user has answered the phone (the 200 OK message has not yet been forwarded to the ringback tone platform), therefore the ringback tone platform does not forward the SDP message to the calling side (UE-A). After the ringback tone platform receives the 200 OK message, it initiates media renegotiation again to remove the ringback tone platform from the media path (because the ringback tone platform is no longer needed for media stream processing during the call).
[0073] Based on this, the embodiments of this application add SIP message parameters, enabling the purpose of multiple media negotiations to be achieved in a single SIP interaction, thereby reducing network signaling overhead.
[0074] This application provides a media negotiation method. Figure 2 This application provides a flowchart illustrating a media negotiation method, applicable to a network device equipped with multiple service platforms; such as... Figure 2 As shown, it includes:
[0075] Step 201: Receive a first message sent by the called terminal; based on the first message, trigger the first service platform among the plurality of service platforms to send a second message to the second service platform; the second service platform is any service platform among the plurality of service platforms other than the first service platform; the second message includes SIP message parameters; the SIP message parameters are used to indicate the time point of the media renegotiation during the call and the service that triggers the media renegotiation when media renegotiation is initiated;
[0076] Step 202: Determine the processing strategy of the second service platform based on the SIP message parameters;
[0077] Step 203: Based on the processing strategy, send the second message to the calling terminal to complete the media renegotiation.
[0078] It should be noted that the multiple service platforms can be any type of service platform, which can be determined according to the actual situation, and is not limited here. As an example, the multiple service platforms include ringback tones AS and new call AS, etc. The number of service platforms can be determined according to the actual situation, and is not limited here.
[0079] The terminal can be any terminal capable of communication, and there is no limitation herein. As an example, the terminal can be a user equipment (UE). In practical applications, the terminal can also be called a mobile phone.
[0080] In step 201, the called terminal can be referred to as the called terminal. The first message can be understood as any status message corresponding to the called terminal sent by the called terminal, which can be determined according to the actual situation and is not limited here. As an example, the first message includes a message that the called terminal has answered the phone, or a message that the called terminal is ringing, or a message that the called terminal has rejected the call.
[0081] The first service platform can be understood as any platform that initiates media renegotiation, and can be determined according to the actual situation; no limitation is made here. As an example, the first service platform can be a new call AS. The first service platform can be any service platform other than the first service platform, and can be determined according to the actual situation; no limitation is made here. As an example, the second service platform can be a ringback tone AS.
[0082] The second message can be understood as a media renegotiation message sent by the first service platform to the second service platform; the second message includes SIP message parameters.
[0083] The time points include at least one of the following: the time point corresponding to the ringing of the called terminal; the time point corresponding to the answering of the called terminal; the time point corresponding to the rejection of the called terminal. The services include at least one of the following: new call service; custom ringback tone service.
[0084] It should be noted that the service platform that initiates media renegotiation is the service that triggers media renegotiation in the SIP message parameters. For ease of understanding, here is an example: after receiving the message that the called terminal has answered the call, the New Call AS initiates media renegotiation to the Ringback Tone AS. The New Call AS sends a media renegotiation message to the Ringback Tone AS, which includes SIP message parameters, denoted as [answered, New Call].
[0085] In step 202, the processing strategy includes at least one of the following: directly forwarding the second message to the called terminal; modifying the endpoint of the second service platform based on the SIP message parameters; and modifying the codec type of the second service platform based on the SIP message parameters.
[0086] The step of determining the processing strategy of the second service platform based on the SIP message parameters can be understood as processing the second service platform according to the indication information in the SIP message parameters.
[0087] In step 203, the terminal making the call can be referred to as the calling terminal. Sending the second message to the calling terminal based on the processing strategy to complete the media renegotiation can be understood as sending the second message to the calling terminal based on the processing strategy, so that the calling terminal can complete the media renegotiation according to the second message.
[0088] In the scheme of this application embodiment, the network device receives a first message sent by the called terminal, and triggers a first service platform to send a second message to a second service based on the first message. The second message includes SIP message parameters. That is, by adding SIP message parameters, the purpose of multiple media negotiations can be achieved in one SIP interaction, thereby reducing network signaling overhead.
[0089] In one embodiment, the time point includes at least one of the following:
[0090] The time point corresponding to the ringing of the called terminal;
[0091] The time point at which the called terminal goes off the phone;
[0092] The time point at which the called terminal rejects the call.
[0093] The time points corresponding to the ringing of the called terminal, the answering of the called terminal, and the rejection of the called terminal can be determined according to the actual situation and are not limited here.
[0094] In one embodiment, the service includes at least one of the following:
[0095] New call services;
[0096] Ringback tone service.
[0097] The services mentioned may include new call services and ringback tone services. The number of services included in the services can be determined according to the actual situation and is not limited here. It should be noted that the order of the services during media negotiation can be determined according to the actual situation and is not limited here.
[0098] In one embodiment, the processing strategy includes at least one of the following:
[0099] The second message is forwarded directly to the called terminal;
[0100] The endpoint of the second service platform is modified based on the SIP message parameters;
[0101] The encoding / decoding type of the second service platform is modified based on the SIP message parameters.
[0102] Specifically, forwarding the second message directly to the called terminal can be referred to as pass-through; modifying the endpoint of the second service platform based on the SIP message parameters can be referred to as modifying the media endpoint; and modifying the codec type of the second service platform based on the SIP message parameters can be referred to as modifying the codec type.
[0103] In one embodiment, after sending the second message to the calling terminal, the method further includes:
[0104] A third message sent by the terminal receiving the call; the third message includes first parameter information determined by the terminal making the call based on the second message;
[0105] Based on the first parameter information, the first message is forwarded to the terminal of the call to release the media plane.
[0106] The first parameter information can be any parameter information supported by the calling terminal as determined by the second message, including the address information, port information, and supported frequency band information of the calling terminal.
[0107] In one embodiment, before receiving the first message sent by the called terminal, the method further includes:
[0108] A fourth message sent by the terminal receiving the call; the fourth message includes the second parameter information of the terminal making the call;
[0109] The second parameter information is forwarded to the called terminal; the second parameter information is used by the called terminal to determine the third parameter information of the called terminal based on the second parameter information.
[0110] Receive a fifth message sent by the called terminal, the fifth message including the third parameter information;
[0111] Based on the third parameter information, the terminal making the call executes playback of at least one of the multiple service platforms.
[0112] The second parameter information can be all the parameter information of the calling terminal itself, including address information, port information, and all supported frequency bands. The third parameter information can be understood as the parameter information that the called terminal selects from the second parameter information that it supports.
[0113] The step of playing at least one of the multiple service platforms to the calling terminal based on the third parameter information can be understood as the ringback tone AS playing ringback tone media to the calling terminal after receiving the fifth message sent by the called terminal.
[0114] Accordingly, embodiments of this application also provide a media negotiation method. Figure 3 A flowchart illustrating another media negotiation method provided in this application embodiment is shown below. Figure 3 As shown, it is applied to the terminal and includes:
[0115] Step 301: Send a first message to a network device configured with multiple service platforms. The first message triggers a first service platform among the multiple service platforms to send a second message to a second service platform. The second service platform is any service platform among the multiple service platforms other than the first service platform. The second message includes SIP message parameters. The SIP message parameters indicate the time point during the call when media renegotiation is initiated and the service that triggers the media renegotiation. Determine the processing strategy of the second service platform based on the SIP message parameters.
[0116] Step 302: Receive the second message sent by the second service platform based on the processing strategy to complete the media renegotiation.
[0117] It should be noted that the multiple service platforms can be any type of service platform, which can be determined according to the actual situation, and is not limited here. As an example, the multiple service platforms include ringback tones AS and new call AS, etc. The number of service platforms can be determined according to the actual situation, and is not limited here.
[0118] The terminal can be any terminal capable of communication, and there is no limitation herein. As an example, the terminal can be a UE (User Equipment). In practical applications, the terminal can also be called a mobile phone. The terminal includes a called terminal and a calling terminal; the called terminal can be called the called terminal, and the calling terminal can be called the calling terminal.
[0119] In step 301, the first message can be understood as any status message corresponding to the called terminal sent by the called terminal, which can be determined according to the actual situation and is not limited here. As an example, the first message includes a message that the called terminal has answered the phone, or a message that the called terminal is ringing, or a message that the called terminal has rejected the call.
[0120] The first service platform can be understood as any platform that initiates media renegotiation, and can be determined according to the actual situation; no limitation is made here. As an example, the first service platform can be a new call AS. The first service platform can be any service platform other than the first service platform, and can be determined according to the actual situation; no limitation is made here. As an example, the second service platform can be a ringback tone AS.
[0121] The second message can be understood as a media renegotiation message sent by the first service platform to the second service platform; the second message includes SIP message parameters.
[0122] The time point includes at least one of the following: the time point corresponding to the ringing of the called terminal; the time point corresponding to the answering of the called terminal; the time point corresponding to the rejection of the called terminal.
[0123] The services include at least one of the following: new call service; ringback tone service.
[0124] It should be noted that the service platform that initiates media renegotiation is the service that triggers media renegotiation in the SIP message parameters. For ease of understanding, here is an example: after receiving the message that the called terminal has answered the call, the New Call AS initiates media renegotiation to the Ringback Tone AS. The New Call AS sends a media renegotiation message to the Ringback Tone AS, which includes SIP message parameters, denoted as [answered, New Call].
[0125] The processing strategy includes at least one of the following: directly forwarding the second message to the called terminal; modifying the endpoint of the second service platform based on the SIP message parameters; or modifying the codec type of the second service platform based on the SIP message parameters.
[0126] The step of determining the processing strategy of the second service platform based on the SIP message parameters can be understood as processing the second service platform according to the indication information in the SIP message parameters.
[0127] In step 302, the second message sent by the second service platform is received based on the processing strategy to complete the media renegotiation; this can be understood as the calling terminal receiving the second message sent by the second service platform to complete the media renegotiation.
[0128] In the scheme of this application embodiment, the network device receives a first message sent by the called terminal, and triggers a first service platform to send a second message to a second service based on the first message. The second message includes SIP message parameters. That is, by adding SIP message parameters, the purpose of multiple media negotiations can be achieved in one SIP interaction, thereby reducing network signaling overhead.
[0129] In one embodiment, the time point includes at least one of the following:
[0130] The time point at which the called terminal rings;
[0131] The time point at which the called terminal goes off the phone;
[0132] The time point at which the called terminal rejects the call.
[0133] The time points corresponding to the ringing of the called terminal, the answering of the called terminal, and the rejection of the called terminal can be determined according to the actual situation and are not limited here.
[0134] In one embodiment, the service includes at least one of the following:
[0135] New call services;
[0136] Ringback tone service.
[0137] The services mentioned may include new call services and ringback tone services. The number of services included in the services can be determined according to the actual situation and is not limited here. It should be noted that the order of the services during media negotiation can be determined according to the actual situation and is not limited here.
[0138] In one embodiment, the processing strategy includes at least one of the following:
[0139] The second message is forwarded directly to the called terminal;
[0140] The endpoint of the second service platform is modified based on the SIP message parameters;
[0141] The encoding / decoding type of the second service platform is modified based on the SIP message parameters.
[0142] Specifically, forwarding the second message directly to the called terminal can be referred to as pass-through; modifying the endpoint of the second service platform based on the SIP message parameters can be referred to as modifying the media endpoint; and modifying the codec type of the second service platform based on the SIP message parameters can be referred to as modifying the codec type.
[0143] In one embodiment, the terminal includes a calling terminal, and the method further includes:
[0144] Send a third message to the network device, the third message including first parameter information determined by the calling terminal based on the second message;
[0145] Based on the first parameter information, the network device sends the first message to release the media plane.
[0146] The first parameter information can be any parameter information supported by the calling terminal as determined by the second message, including the address information, port information, and supported frequency band information of the calling terminal.
[0147] In one embodiment, the terminal includes the called terminal, and the method further includes:
[0148] The terminal receiving the call sends a fourth message through the network device; the fourth message includes the second parameter information of the terminal making the call;
[0149] The third parameter information of the called terminal is determined based on the second parameter information;
[0150] A fifth message is sent to the network device; the fifth message includes the third parameter information; the third parameter information is used by the network device to execute playback of at least one of the multiple service platforms to the calling terminal.
[0151] The second parameter information can be all the parameter information of the calling terminal itself, including address information, port information, and all supported frequency bands. The third parameter information can be understood as the parameter information that the called terminal selects from the second parameter information that it supports.
[0152] The third parameter information is used by the network device to play at least one of the multiple service platforms to the calling terminal. It can be understood that after receiving the fifth message sent by the called terminal, the ringback tone AS plays ringback tone media to the calling terminal.
[0153] To make it easier to understand, an example is provided here. Figure 4A flowchart illustrating an application scenario of a media negotiation method provided in this application embodiment is shown below. Figure 4 As shown; it should be noted that, Figure 4 The SDP-New Call Indicator: [Off-hook, New Call] can be understood as the second message mentioned above.
[0154] This application also provides a media negotiation device. Figure 5 A schematic diagram of a media negotiation device provided in an embodiment of this application; as shown Figure 5 As shown, the network devices used in network applications with multiple service platforms include:
[0155] The first receiving unit 501 is configured to receive a first message sent by the called terminal; and trigger a first service platform among the plurality of service platforms to send a second message to a second service platform based on the first message; the second service platform is any service platform among the plurality of service platforms other than the first service platform; the second message includes Session Initiation Protocol (SIP) message parameters; the SIP message parameters are used to indicate the time point of the media renegotiation during the call and the service that triggers the media renegotiation when media renegotiation is initiated;
[0156] The determining unit 502 is used to determine the processing strategy of the second service platform based on the SIP message parameters;
[0157] The first sending unit 503 is used to send the second message to the calling terminal based on the processing strategy to complete the media renegotiation.
[0158] In one embodiment, the time point includes at least one of the following: the time point corresponding to the ringing of the called terminal; the time point corresponding to the answering of the called terminal; and the time point corresponding to the rejection of the called terminal.
[0159] In one embodiment, the service includes at least one of the following: a new call service; a ringback tone service.
[0160] In one embodiment, the processing strategy includes at least one of the following: directly forwarding the second message to the called terminal; modifying the endpoint of the second service platform based on the SIP message parameters; and modifying the codec type of the second service platform based on the SIP message parameters.
[0161] In one embodiment, after sending the second message to the calling terminal, the receiving unit 501 is further configured to receive a third message sent by the calling terminal; the third message includes first parameter information determined by the calling terminal based on the second message; and forwards the first message to the calling terminal based on the first parameter information to release the media plane.
[0162] In one embodiment, before receiving the first message sent by the called terminal, the receiving unit 501 is further configured to receive a fourth message sent by the calling terminal; the fourth message includes second parameter information of the calling terminal; forward the second parameter information to the called terminal; the second parameter information is used by the called terminal to determine third parameter information of the called terminal based on the second parameter information; receive a fifth message sent by the called terminal, the fifth message including the third parameter information; and execute playback of at least one of the plurality of service platforms to the calling terminal based on the third parameter information.
[0163] Accordingly, embodiments of this application also provide a media negotiation device. Figure 6 A schematic diagram of another media negotiation apparatus provided for embodiments of this application; as shown Figure 6 As shown, it is applied to the terminal and includes:
[0164] The second sending unit 601 is configured to send a first message to a network device equipped with multiple service platforms. The first message triggers a first service platform among the multiple service platforms to send a second message to a second service platform. The second service platform is any service platform among the multiple service platforms other than the first service platform. The second message includes SIP message parameters. The SIP message parameters indicate the time point of the media renegotiation during the call and the service that triggers the media renegotiation when it is initiated. The processing strategy of the second service platform is determined based on the SIP message parameters.
[0165] The second receiving unit 602 is used to receive the second message sent by the second service platform based on the processing strategy, so as to complete the media renegotiation.
[0166] In one embodiment, the time point includes at least one of the following: the time point corresponding to the ringing of the called terminal; the time point corresponding to the answering of the called terminal; the time point corresponding to the rejection of the called terminal.
[0167] In one embodiment, the service includes at least one of the following: a new call service; a ringback tone service.
[0168] In one embodiment, the processing strategy includes at least one of the following: directly forwarding the second message to the called terminal; modifying the endpoint of the second service platform based on the SIP message parameters; and modifying the codec type of the second service platform based on the SIP message parameters.
[0169] In one embodiment, the terminal includes a calling terminal, and the sending unit 601 is further configured to send a third message to the network device, the third message including first parameter information determined by the calling terminal based on the second message; and to receive the first message sent by the network device based on the first parameter information to release the media plane.
[0170] In one embodiment, the terminal includes a called terminal, and the receiving unit 602 is further configured to receive a fourth message sent by the calling terminal through the network device; the fourth message includes second parameter information of the calling terminal; determine third parameter information of the called terminal based on the second parameter information; and send a fifth message to the network device; the fifth message includes the third parameter information; the third parameter information is used by the network device to execute playback of at least one of the plurality of service platforms to the calling terminal.
[0171] It should be noted that the media negotiation device provided in the above embodiments is only illustrated by the division of the above program modules during media negotiation. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the media negotiation device and the media negotiation method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0172] Based on the hardware implementation of the above program modules, this application embodiment also provides a media negotiation device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of any of the methods described above on the network device side; or, when the processor executes the program, it implements the steps of any of the methods described above on the terminal side.
[0173] Correspondingly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the methods described above on the network device side; or, when executed by a processor, the computer program implements the steps of any of the methods described above on the terminal side.
[0174] Correspondingly, embodiments of this application provide a storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of any of the methods described above on the network device side; or, the computer program, when executed by a processor, implements the steps of any of the methods described above on the terminal side.
[0175] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0176] It should be noted that the media negotiation device can be a network device; Figure 7 This is a schematic diagram of the network device according to an embodiment of this application; as shown Figure 7 As shown, the network device 700 includes a first processor 701 and a first memory 703. Optionally, the network device 700 may also include a first communication interface 702.
[0177] It is understood that the first memory 703 can be volatile memory or non-volatile memory, or both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); the magnetic surface memory can be disk storage or magnetic tape storage. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The first memory 703 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.
[0178] The methods disclosed in the embodiments of this application can be applied to or implemented by the first processor 701. The first processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the first processor 701. The first processor 701 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 701 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the first memory 703. The first processor 701 reads the information in the first memory 703 and completes the steps of the aforementioned method in combination with its hardware.
[0179] It should be noted that the media negotiation device can be a terminal; Figure 8 This is a schematic diagram of the terminal structure in an embodiment of this application; as shown Figure 8 As shown, the terminal 800 includes a second processor 801 and a second memory 803. Optionally, the terminal 800 may also include a second communication interface 802.
[0180] It is understood that the second memory 803 can be volatile memory or non-volatile memory, or both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); the magnetic surface memory can be disk storage or magnetic tape storage. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The second memory 803 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.
[0181] The methods disclosed in the embodiments of this application can be applied to, or implemented by, the second processor 801. The second processor 801 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by the integrated logic circuitry of the hardware or by instructions in the form of software within the second processor 801. The second processor 801 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 801 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, specifically a second memory 803. The second processor 801 reads information from the second memory 803 and, in conjunction with its hardware, completes the steps of the aforementioned method.
[0182] To implement the methods of the embodiments of this application, the embodiments of this application also provide a media negotiation system, such as... Figure 9 As shown, Figure 9 This is a schematic diagram of the structure of a media negotiation system according to an embodiment of this application. The system includes a network device 901 and a terminal 902.
[0183] It should be noted that the specific processing procedures for network device 901 and terminal 902 have been detailed above and will not be repeated here.
[0184] In an exemplary embodiment, the device may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0185] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0186] It should be noted that, in this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0187] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0188] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0189] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0190] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0191] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0192] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0193] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A media negotiation method, characterized by, The application is applied to a network device provided with multiple service platforms, and comprises: receiving a first message sent by a called terminal; triggering a first service platform in the multiple service platforms to send a second message to a second service platform based on the first message; the second service platform is any service platform in the multiple service platforms except the first service platform; the second message comprises a session initiation protocol (SIP) message parameter; the SIP message parameter is used to indicate a time point in a call process when media renegotiation is initiated and a service triggering the media renegotiation; determining a processing strategy of the second service platform according to the SIP message parameter; sending the second message to the called terminal based on the processing strategy to complete the media renegotiation.
2. The method of claim 1, wherein, The time point comprises at least one of: a time point corresponding to a ring of the called terminal; a time point corresponding to an off-hook of the called terminal; a time point corresponding to a rejection of the called terminal.
3. The method of claim 1, wherein, The service comprises at least one of: a new call service; a color ring service.
4. The method of claim 1, wherein, The processing strategy comprises at least one of: directly forwarding the second message to the called terminal; modifying an endpoint of the second service platform based on the SIP message parameter; modifying a codec type of the second service platform based on the SIP message parameter.
5. The method of claim 1, wherein, After the second message is sent to the called terminal, the method further comprises: receiving a third message sent by the called terminal; the third message comprises first parameter information determined by the called terminal based on the second message; forwarding the first message to the called terminal based on the first parameter information to release a media plane.
6. The method of claim 1, wherein, Before the first message sent by the called terminal is received, the method further comprises: receiving a fourth message sent by the called terminal; the fourth message comprises second parameter information of the called terminal; forwarding the second parameter information to the called terminal; the second parameter information is used for the called terminal to determine third parameter information of the called terminal based on the second parameter information; receiving a fifth message sent by the called terminal, the fifth message comprising the third parameter information; playing at least one service platform in the multiple service platforms to the called terminal based on the third parameter information.
7. A media negotiation method characterized by, The application is applied to a terminal, and comprises: sending a first message to a network device provided with multiple service platforms, the first message being used to trigger a first service platform in the multiple service platforms to send a second message to a second service platform; the second service platform is any service platform in the multiple service platforms except the first service platform; the second message comprises a SIP message parameter; the SIP message parameter is used to indicate a time point in a call process when media renegotiation is initiated and a service triggering the media renegotiation; determining a processing strategy of the second service platform based on the SIP message parameter; receive the second message sent by the second service platform based on the processing strategy, so as to complete the media renegotiation.
8. The method of claim 7, wherein, The time point comprises at least one of: a time point corresponding to a ring of the called terminal; a time point corresponding to an off-hook of the called terminal; a time point corresponding to a rejection of the called terminal.
9. The method of claim 7, wherein, The service comprises at least one of: a new call service; a color ring service.
10. The method of claim 7, wherein, The processing strategy comprises at least one of: directly forwarding the second message to the called terminal; modifying an endpoint of the second service platform based on the SIP message parameter; modifying a codec type of the second service platform based on the SIP message parameter.
11. The method of claim 7, wherein, The terminal comprises a called terminal, and the method further comprises: sending a third message to the network device, the third message comprising first parameter information determined by the called terminal based on the second message; receiving the first message sent by the network device based on the first parameter information, so as to release a media plane.
12. The method of claim 11, wherein, The terminal comprises a called terminal, and the method further comprises: receiving a fourth message sent by the network device by the called terminal; the fourth message comprising second parameter information of the called terminal; determining third parameter information of the called terminal based on the second parameter information; sending a fifth message to the network device; the fifth message comprising the third parameter information; the third parameter information is used for the network device to execute playing of at least one service platform in the plurality of service platforms to the called terminal.
13. A media negotiation apparatus, characterized by Applied to a network device provided with a plurality of service platforms, comprising: a first receiving unit, configured to receive a first message sent by a called terminal; trigger a first service platform in the plurality of service platforms to send a second message to a second service platform based on the first message; the second service platform is any service platform in the plurality of service platforms except the first service platform; the second message comprises a session initiation protocol (SIP) message parameter; the SIP message parameter is used to indicate a time point in a call process when media renegotiation is initiated and a service triggering the media renegotiation; a determining unit, configured to determine a processing strategy of the second service platform according to the SIP message parameter; a first sending unit, configured to send the second message to a called terminal based on the processing strategy, so as to complete the media renegotiation.
14. A media negotiation apparatus, characterized by Applied to a terminal, comprising: a second sending unit, configured to send a first message to a network device provided with a plurality of service platforms; the first message is used to trigger a first service platform in the plurality of service platforms to send a second message to a second service platform; the second service platform is any service platform in the plurality of service platforms except the first service platform; the second message comprises a SIP message parameter; the SIP message parameter is used to indicate a time point in a call process when media renegotiation is initiated and a service triggering the media renegotiation; and a processing strategy of the second service platform is determined based on the SIP message parameter. A second receiving unit, configured to receive the second message sent by the second service platform based on the processing strategy, so as to complete the media re-negotiation.
15. A media negotiation device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, The processor implements the steps of the method in any one of claims 1 to 6 when executing the program; or the processor implements the steps of the method in any one of claims 7 to 12 when executing the program.
16. A computer program product comprising a computer program, characterized in that, The computer program implements the steps of the method in any one of claims 1 to 6 when executed by a processor; or the computer program implements the steps of the method in any one of claims 7 to 12 when executed by a processor.
17. A storage medium having stored thereon a computer program, characterized in that The computer program implements the steps of the method in any one of claims 1 to 6 when executed by a processor; or the computer program implements the steps of the method in any one of claims 7 to 12 when executed by a processor. The computer program implements the steps of the method in any one of claims 1 to 6 when executed by a processor; or the computer program implements the steps of the method in any one of claims 7 to 12 when executed by a processor.
Citation Information
Patent Citations
Method and system for realizing multimedia digital conference
CN103338346A
Realization method and system of sending color ring in multimedia based on mobile communication network
CN1917532A