Ringback tone playback control method, terminal, and network side device

By negotiating and generating negotiation session update parameters, the problem of ringback tones failing to play due to differences in session update parameters between different operators is resolved, thereby improving the success rate of ringback tone playback and user experience.

WO2026061341A1PCT designated stage Publication Date: 2026-03-26VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-09-15
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

Due to differences in session update parameters between different operators, multimedia call services such as video ringback tones, audio ringback tones, or color vibration may fail to play properly during a call, affecting call quality.

Method used

The first terminal sends a session update parameter negotiation request message to the network-side device, negotiates and generates negotiated session update parameters, and plays a ringback tone before the session connection to eliminate the differences in session update parameters between the terminal and the network-side device.

Benefits of technology

It improves the success rate of ringback tone playback, enhances the user experience during session connection, and ensures that ringback tones can play normally before session connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025121355_26032026_PF_FP_ABST
    Figure CN2025121355_26032026_PF_FP_ABST
Patent Text Reader

Abstract

A ringback tone playback control method, a terminal, and a network side device. The method comprises: when at least two session update parameters among a first session update parameter configured by a first terminal, a second session update parameter configured by a first network side device, a third session update parameter configured by a second network side device, and a fourth session update parameter configured by a second terminal are different, the first terminal sends a session update parameter negotiation request message to the first network side device; the first terminal receives a session update parameter negotiation feedback message carrying first negotiated session update parameters and sent by the first network side device on the basis of the session update parameter negotiation request message; and on the basis of the first negotiated session update parameters, the first terminal sends to the second terminal session invitation signaling carrying the first negotiated session update parameters, and plays a first ringback tone before establishing a session connection with the second terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Color ring playing control method, terminal and network side device

[0001] Cross-reference to Related Applications

[0002] The present application claims priority to the Chinese patent application No. 202411310114.6, filed on September 19, 2024, and entitled "Color ring playing control method, terminal and network side device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application belongs to the field of communication technology, and specifically relates to a color ring playing control method, a terminal and a network side device. BACKGROUND

[0004] With the rise of IP Multimedia Subsystem (IMS) call services such as Voice over LTE (VoLTE) based on 4G LTE network and Voice over New Radio (VoNR) based on 5G network, multimedia call services such as video color ring, audio color ring or color vibration have become a widely used communication method. However, due to different standards adopted by different operators, there are differences in session update parameters between operators, which leads to the problem that multimedia data services in the user call process cannot be normally used, such as the problem that video color ring, audio color ring or color vibration cannot be played, which affects the call quality. SUMMARY

[0005] The purpose of the embodiments of the present application is to provide a color ring playing control method, a terminal and a network side device, which can eliminate the differences in session update parameters between the first terminal, the second terminal, the first network side device and the second network side device, avoid the communication problems caused by the differences in session update parameters, and thus improve the problem that color ring cannot be played in the session connection process, and improve the success rate of color ring playing.

[0006] In a first aspect, the embodiments of the present application provide a color ring playing control method, comprising: in the case that at least two of the first session update parameter configured by a first terminal, the second session update parameter configured by a first network side device, the third session update parameter configured by a second network side device and the fourth session update parameter configured by a second terminal are different, the first terminal sends a session update parameter negotiation request message to the first network side device; the first terminal receives a session update parameter negotiation feedback message carrying a first negotiation session update parameter sent by the first network side device based on the session update parameter negotiation request message; the first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device; the first terminal sends a session invitation signaling carrying the first negotiation session update parameter to the second terminal based on the first negotiation session update parameter, and plays a first color ring before establishing a session connection with the second terminal; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the first color ring is a color ring configured by the second terminal for a session connection requester in the second network side device.

[0007] In a second aspect, the embodiments of the present application provide a color ring playing control method, comprising: a second terminal receives a session invitation signaling carrying a first negotiation session update parameter sent by a first terminal through a first network side device and a second network side device; the first negotiation session update parameter is determined by negotiation of the first network side device and the second network side device, and the first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device; the second terminal plays a second color ring configured by the second terminal for the second terminal based on the first negotiation session update parameter; wherein the first network side device is a network device of a first operator network to which the first terminal is connected; and the second network side device is a network device of a second operator network to which the second terminal is connected.

[0008] In a third aspect, the embodiments of the present application provide a color ring playing control method, comprising: receiving, by a first network side device, a session update parameter negotiation request message sent by a first terminal, generating second negotiated session update parameters based on the session update parameter negotiation request message; sending, by the first network side device, the second negotiated session update parameters to a second network side device, receiving first negotiated session update parameters returned by the second network side device, and sending a session update parameter negotiation feedback message carrying the first negotiated session update parameters to the first terminal; the first negotiated session update parameters are determined by the second network side device according to the second negotiated session update parameters; the first negotiated session update parameters are updated session update parameters of the first terminal, a second terminal, the first network side device and the second network side device; receiving, by the first network side device, a session invitation signaling carrying the first negotiated session update parameters sent by the first terminal, and sending the session invitation signaling to the second terminal through the second network side device; the first negotiated session update parameters are used for the second terminal to play a second color ring before establishing a session connection with the first terminal based on the session invitation signaling; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ring is a color ring configured for the second terminal in the second network side device.

[0009] In a fourth aspect, the embodiments of the present application provide a color ring playing control method, comprising: receiving, by a second network side device, second negotiated session update parameters sent by a first network side device; the second negotiated session update parameters are determined by the first network side device according to a session update parameter negotiation request message sent by a first terminal; generating, by the second network side device, first negotiated session update parameters based on the second negotiated session update parameters, and sending the first negotiated session update parameters to the first network side device; the first negotiated session update parameters are updated session update parameters of the first terminal, a second terminal, the first network side device and the second network side device; receiving, by the second network side device, a session invitation signaling carrying the first negotiated session update parameters sent by the first network side device, and sending the session invitation signaling to the second terminal; the first negotiated session update parameters are used for the second terminal to play a second color ring before establishing a session connection with the first terminal based on the session invitation signaling; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ring is a color ring configured for the second terminal in the second network side device.

[0010] In a fifth aspect, an embodiment of the present application provides a terminal, comprising: a judging module configured to judge, by a first terminal, whether at least two of a first session update parameter configured by the first terminal, a second session update parameter configured by a first network side device, a third session update parameter configured by a second network side device, and a fourth session update parameter configured by a second terminal are different; a sending module configured to send, by the first terminal, a session update parameter negotiation request message to the first network side device in a case where at least two of the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device, and the fourth session update parameter configured by the second terminal are different; a receiving module configured to receive, by the first terminal, a session update parameter negotiation feedback message carrying a first negotiation session update parameter sent by the first network side device based on the session update parameter negotiation request message; the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device; and the sending module is further configured to send, by the first terminal, session invitation signaling carrying the first negotiation session update parameter to the second terminal based on the first negotiation session update parameter, and play a first color ringtone before establishing a session connection with the second terminal; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the first color ringtone is a color ringtone configured by the second terminal for a session connection requester in the second network side device.

[0011] In a sixth aspect, an embodiment of the present application provides a terminal, comprising: a receiving module configured to receive, by a second terminal, session invitation signaling carrying a first negotiation session update parameter sent by a first terminal through a first network side device and a second network side device; the first negotiation session update parameter is determined by negotiation of the second network side device and the first network side device, and the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device; and a playing module configured to play, by the second terminal, a second color ringtone configured by the second terminal for the second terminal based on the first negotiation session update parameter; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, and the second network side device is a network device of a second operator network to which the second terminal is connected.

[0012] In a seventh aspect, an embodiment of the present application provides a network side device, comprising: a generating module configured to receive, by a first network side device, a session update parameter negotiation request message sent by a first terminal, generate second negotiated session update parameters based on the session update parameter negotiation request message; a receiving module configured to send, by the first network side device, the second negotiated session update parameters to a second network side device, receive first negotiated session update parameters returned by the second network side device, and send, to the first terminal, a session update parameter negotiation feedback message carrying the first negotiated session update parameters; the first negotiated session update parameters are determined by the second network side device according to the second negotiated session update parameters; the first negotiated session update parameters are updated session update parameters of the first terminal, a second terminal, the first network side device and the second network side device; the receiving module is further configured to receive, by the first network side device, session invitation signaling carrying the first negotiated session update parameters sent by the first terminal, and send, to the second terminal through the second network side device, the session invitation signaling; the first negotiated session update parameters are used for the second terminal to play a second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ringtone is a color ringtone configured for the second terminal in the second network side device.

[0013] In an eighth aspect, an embodiment of the present application provides a network side device, comprising: a receiving module configured to receive, by a second network side device, a second negotiation session update parameter sent by a first network side device; the second negotiation session update parameter is determined by the first network side device according to a session update parameter negotiation request message sent by a first terminal; a generating module configured to generate, by the second network side device, a first negotiation session update parameter based on the second negotiation session update parameter, and send the first negotiation session update parameter to the first network side device; the first negotiation session update parameter is a session update parameter after update of the first terminal, a second terminal, the first network side device and the second network side device; the receiving module is further configured to receive, by the second network side device, session invitation signaling carrying the first negotiation session update parameter sent by the first network side device, and send the session invitation signaling to the second terminal; the first negotiation session update parameter is used for the second terminal to play a second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ringtone is a color ringtone configured for the second terminal in the second network side device.

[0014] In a ninth aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method in the first aspect.

[0015] In a tenth aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method in the second aspect.

[0016] In an eleventh aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method in the third aspect.

[0017] In a twelfth aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method in the fourth aspect.

[0018] In a thirteenth aspect, an embodiment of the present application provides a readable storage medium, wherein the readable storage medium stores a program or instructions, and the program or instructions are executed by a processor to implement the steps of the method in the first aspect to the fourth aspect.

[0019] In a fourteenth aspect, an embodiment of the present application provides a chip, wherein the chip comprises a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or instructions to implement the steps of the method in the first aspect to the fourth aspect.

[0020] In a fifteenth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method in the first aspect to the fourth aspect.

[0021] In the embodiment of the present application, when at least two of the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device and the fourth session update parameter configured by the second terminal are different, the first terminal sends a session update parameter negotiation request message to the first network side device; the first terminal receives a session update parameter negotiation feedback message carrying a first negotiation session update parameter sent by the first network side device based on the session update parameter negotiation request message; the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device; and the first terminal sends session invitation signaling carrying the first negotiation session update parameter to the second terminal based on the first negotiation session update parameter, and plays the first color ringtone before establishing a session connection with the second terminal. It can be seen that, through the embodiment, the first terminal can obtain the difference between the session update parameters of the second terminal and the network side device, and negotiate the session update parameters through the first network side device and the second network side device to obtain the first negotiation session update parameter, so that the first terminal, the second terminal, the first network side device and the second network side device respectively use the first negotiation session update parameter as the session update parameter used in the session connection process, eliminating the difference between the session update parameters of the first terminal, the second terminal, the first network side device and the second network side device, avoiding the communication problems caused by the difference between the session update parameters, solving the problem that the color ringtone cannot be played in the session connection process, and improving the success rate of color ringtone playing. BRIEF DESCRIPTION OF DRAWINGS

[0022] FIG. 1 is a flowchart of a color ringtone playing control method according to some embodiments of the present application;

[0023] FIG. 2 is a flowchart of a color ringtone playing control method according to some embodiments of the present application;

[0024] FIG. 3 is a flow diagram of a ringtone playing control method according to some embodiments of the present application;

[0025] FIG. 4 is a flow diagram of a ringtone playing control method according to some embodiments of the present application;

[0026] FIG. 5 is a process diagram of a ringtone playing control method according to some embodiments of the present application;

[0027] FIG. 6 is a schematic block diagram of a terminal according to some embodiments of the present application;

[0028] FIG. 7 is a schematic block diagram of a terminal according to some embodiments of the present application;

[0029] FIG. 8 is a schematic block diagram of a network-side device according to some embodiments of the present application;

[0030] FIG. 9 is a schematic block diagram of a network-side device according to some embodiments of the present application;

[0031] FIG. 10 is a schematic block diagram of an electronic device according to some embodiments of the present application;

[0032] FIG. 11 is a schematic diagram of a hardware structure of an electronic device according to some embodiments of the present application. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described clearly below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0034] The terms “first”, “second”, and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by “first”, “second”, and the like are generally of a kind and are not limited in number, for example, the first object can be one or more. In addition, “and / or” in the specification and claims means at least one of the connected objects, and the character “ / ” generally represents an “or” relationship between the objects before and after it.

[0035] The ringtone playing control method, terminal, and network-side device provided by the embodiments of the present application will be described in detail below in conjunction with the drawings and specific embodiments and application scenarios.

[0036] It should be noted that the color ring playing control method provided by the embodiments of the present application can be executed by an electronic device such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, and the like. The color ring playing control method is described by taking the electronic device as an example in some embodiments of the present application.

[0037] The color ring playing control method provided by the embodiments of the present application can be applied to a scenario in which a user A uses a mobile phone A to make a call connection with a mobile phone B of a user B. A specific application scenario is that the user A uses the mobile phone A to dial a telephone number of the user B, and the mobile phone A of the user A cannot play a color ring configured by the user B for a calling party in an operator network B. Another specific application scenario is that the mobile phone B of the user B displays an incoming call of the user A, but the mobile phone B of the user B cannot play a color ring configured by the user B for a SIM card of the user B in the operator network B. The mobile phone A is installed with a SIM card of a subscription operator A, and the mobile phone B is installed with a SIM card of a subscription operator B. The operator A and the operator B are two different operators. The color ring configured by the user B for a session connection request party and a local in the operator device B can be an audio color ring or a video color ring.

[0038] The following takes the mobile phone A used by the user A in the above application scenario as a first terminal, and takes the mobile phone B used by the user B in the above application scenario as a second terminal. The first network side device is a network device of the operator device A in the above application scenario (hereinafter referred to as the operator device A), the operator A is an operator of the SIM card configured in the mobile phone A of the user A, the second network side device is a network device of the operator device B in the above application scenario (hereinafter referred to as the operator device B), and the operator B is an operator of the SIM card configured in the mobile phone B of the user B. The color ring playing control method provided by the embodiments of the present application is described in detail in combination with the above specific application scenario.

[0039] FIG. 1 is a flowchart of a color ring playing control method according to an embodiment of the present application. The execution subject of the method is a first terminal. The first terminal can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The first terminal is a terminal device used by a user. As shown in FIG. 1, the method can specifically include the following steps:

[0040] In step 102, when at least two of the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device, and the fourth session update parameter configured by the second terminal are different, the first terminal sends a session update parameter negotiation request message to the first network side device.

[0041] The first network-side device is a network device of a first operator network to which the first terminal is connected, and the second network-side device is a network device of a second operator network to which the second terminal is connected.

[0042] In some embodiments of the present application, before the first terminal sends the session update parameter negotiation request message to the first network-side device, the method further includes:

[0043] The first terminal sends a session connection establishment request message to the first network-side device through a session negotiation mechanism.

[0044] The first terminal receives a plurality of session update parameters sent by the first network-side device based on the session connection establishment request message, and the plurality of session update parameters include a first session update parameter, a second session update parameter, a third session update parameter, and a fourth session update parameter.

[0045] In some embodiments of the present application, the first terminal sends a session connection establishment request to the second terminal to request to establish a session connection with the second terminal. First, the first terminal sends a session connection establishment request message to the first network-side device through a session negotiation mechanism.

[0046] The session negotiation mechanism in the embodiments of the present application can be a session compatibility policy of SDP (Session Description Protocol). SDP is a protocol for multimedia session notification, session invitation, and session initialization. SDP describes detailed information of a multimedia session in a text form, including participants of the session, media types, transmission addresses, port numbers, codec formats, and the like.

[0047] Then, the first terminal receives a plurality of session update parameters sent by the first network-side device based on the session connection establishment request message, and determines whether at least two session update parameters among the first session update parameter configured by the first terminal, the second session update parameter configured by the first network-side device, the third session update parameter configured by the second network-side device, and the fourth session update parameter configured by the second terminal are different. In the case where the first terminal determines that at least two session update parameters among the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter are different, the first terminal sends a session update parameter negotiation request message to the first network-side device. The session update parameter negotiation request message is used for the first network-side device to generate a second negotiation session update parameter, send the second negotiation session update parameter to the second network-side device, receive a first negotiation session update parameter returned by the second network-side device, and send the first negotiation session update parameter to the first terminal.

[0048] In the embodiments of the present application, the session update parameter is, for example, a session update time (hereinafter referred to as session update time) of a Session Initiation Protocol (SIP), and the session connection establishment request message is, for example, a telephone connection signaling, and the session connection establishment request feedback signaling is, for example, a telephone connection feedback signaling, wherein the telephone connection signaling is an SIP signaling, and the telephone connection signaling can be an invite signaling or a Precondition signaling. In one scenario example, a user A uses a mobile phone A to dial a telephone number of a user B, and the mobile phone A of the user A cannot play a color ringtone configured by the user B as a calling party in an operator network B. When the user A uses the mobile phone A to dial the mobile phone number of the user B, the mobile phone A sends a telephone connection signaling to an operator device A, and the telephone connection signaling carries a first session update time t1=1 second (s) configured by the mobile phone A. Then, the mobile phone A receives a telephone connection feedback signaling sent by the operator device A, and parses the first session update time t1=1 s configured by the mobile phone A, a second session update time t2=2 s configured by the operator device A, a third session update time t3=3 s configured by the operator device B, and a fourth session update time t4=4 s configured by the mobile phone B in the telephone connection feedback signaling. In the case where it is judged that t1, t2, t3 and t4 are not the same, the mobile phone A sends a session update parameter negotiation request message to the operator device A. The form of the session update parameter negotiation request message can be an update signaling.

[0049] Through the embodiments of the present application, the first terminal sends a session update parameter negotiation message to the first network side device through a session negotiation mechanism, so that the first network side device and the second network side device negotiate the session update parameter according to the session update parameter negotiation message, and obtain the session update parameter agreed by negotiation. Through the session negotiation mechanism for session update parameter negotiation, the success rate of session update parameter negotiation is ensured, thereby improving the stability and reliability of the session connection process and improving the user experience.

[0050] In some embodiments of the present application, the first terminal sends a session update parameter negotiation request message to the first network side device, comprising:

[0051] The first terminal sends a session update parameter negotiation request message containing the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter to the first network side device.

[0052] When the first terminal sends the session update parameter negotiation request message to the first network side device, the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter can be inserted into the session update parameter negotiation request message, and the session update parameter negotiation request message carrying the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter is sent to the first network side device.

[0053] Continuing the above example, when the mobile phone A judges that t1, t2, t3 and t4 are all different, the mobile phone A sends an update signaling to the operator device A, and inserts t1, t2, t3 and t4 into the update signaling, and sends the update signaling carrying t1, t2, t3 and t4 to the operator device A.

[0054] According to the embodiments of the present application, the first terminal sends the session update parameter negotiation message to the first network side device, so that the first network side device determines the session update parameter negotiation according to the first session update parameter, the second session update parameter, the third session update parameter, the fourth session update parameter and the session update parameters allowed by the first network side device, so that the generated negotiation session update parameter is more accurate, the stability and reliability of the session connection process are improved, and the success rate of the color ring playing is improved.

[0055] Step 104: The first terminal receives the session update parameter negotiation feedback message carrying the first negotiation session update parameter sent by the first network side device based on the session update parameter negotiation request message; the first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device.

[0056] After the first terminal sends the session update parameter negotiation request message to the first network side device, the first terminal receives the session update parameter negotiation feedback message carrying the first negotiation session update parameter sent by the first network side device. The first negotiation session update parameter is generated by the second network side device according to the second negotiation session update parameter sent by the first network side device and the session update time length of the second network side device; the second negotiation session update parameter is generated by the first network side device according to the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter sent by the first terminal, and the session update time length of the first network side device. The first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device, that is, the session update parameter used by the first terminal, the second terminal, the first network side device and the second network side device in the session connection establishment process established by the first terminal and the second terminal.

[0057] In some embodiments of the present application, further comprising:

[0058] The first terminal updates the first session update parameter configured by the first terminal to the first negotiated session update parameter.

[0059] After receiving the session update parameter negotiation feedback message carrying the first negotiated session update parameter sent by the first network side device, the first terminal parses the first negotiated session update parameter, and updates the configured first session update parameter to the first negotiated session update parameter.

[0060] Continuing the above example, assuming that the first negotiated session update parameter is t5=2.5s, after receiving the session update parameter negotiation feedback message carrying t5=2.5s sent by the operator device A, the mobile phone A updates t1=1s to t1=2.5s.

[0061] Through the embodiments of the present application, the first terminal updates the first session update parameter configured by the first terminal to the first negotiated session update parameter, so that the first terminal can use the negotiated first negotiated session update parameter to establish a session connection with the second terminal, thereby solving the problem that the color ring cannot be played in the session connection process, improving the success rate of color ring playing, and improving the user experience.

[0062] Step 106: The first terminal sends a session invitation signaling carrying the first negotiated session update parameter to the second terminal based on the first negotiated session update parameter, and plays the first color ring before establishing a session connection with the second terminal.

[0063] After the first terminal receives the first negotiated session update parameter and updates the configured first session update parameter to the first negotiated session update parameter, the first terminal sends a session invitation signaling carrying the first negotiated session update parameter to the second terminal through the first network side device and the second network side device. After the second terminal receives the session invitation signaling and updates the local session update time, the first terminal receives a session invitation feedback signaling sent by the second terminal through the second network side device and the first network side device, and the first terminal plays the first color ring configured by the second terminal for the session connection request party in the second network side device before establishing a session connection with the second terminal, until the user on the second terminal side presses the answer key to end the playing.

[0064] The session invitation signaling is used for the second terminal to update the local session update time according to the first negotiated session update parameter, and to play the second color ring configured by the second terminal for the second terminal before establishing a session connection with the first terminal. In one implementation manner, the first negotiated session update parameter is carried in the session invitation signaling. In another implementation manner, the session invitation signaling further carries the address of the second terminal, the corresponding operator information, and the number information of the related user.

[0065] Continuing the above example, assume that the first negotiation session updates the parameter to t5 = 2.5 s, and that the mobile phone A sends, through the operator device A and the operator device B, an invite signal carrying t5 and the phone number, operator information, etc. of the mobile phone B to the mobile phone B based on the first negotiation session update time t5. The mobile phone B, after receiving the invite signal, parses t5 and updates the session update time. The mobile phone A, after receiving the invite feedback signal sent by the mobile phone B, plays the ringtone configured by the user B in the operator device B for the session connection request party until the user B presses the answer key to end the playing.

[0066] In another scenario example, the mobile phone B of the user B displays the incoming call of the user A, but the mobile phone B of the user B cannot play the ringtone configured by the user B in the operator network B for the SIM card of the user B. Continuing the above example, the mobile phone B, after receiving the invite signal sent by the mobile phone A, parses t5 = 2.5 s and updates the session update time t4 = 2.5 s. Before establishing the session connection with the mobile phone A, the mobile phone B plays the ringtone configured by the user B in the operator device B for the session connection request party until the user B presses the answer key to end the playing.

[0067] Through the embodiments of the present application, the first terminal can obtain the difference in the session update parameters between the second terminal and the network side device, and perform session update parameter negotiation through the first network side device and the second network side device to obtain the first negotiation session update parameter. The first terminal, the second terminal, the first network side device and the second network side device use the first negotiation session update parameter as the session update parameter used in the session connection process, eliminating the difference in the session update parameters between the first terminal, the second terminal, the first network side device and the second network side device, avoiding the communication problems caused by the difference in the session update parameters, thereby improving the problem that the ringtone cannot be played in the session connection process, improving the success rate of the ringtone playing, and improving the user experience.

[0068] FIG. 2 is a flow diagram of a ringtone playing control method according to an embodiment of the present application, and the execution subject of the method is a second terminal. The second terminal can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The second terminal is a terminal device used by a user. As shown in FIG. 2, the method can specifically include the following steps:

[0069] In step 202, the second terminal receives a session invitation signal carrying a first negotiation session update parameter sent by the first terminal through the first network side device and the second network side device. The first negotiation session update parameter is determined by the first network side device and the second network side device, and is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device.

[0070] The first network-side device is a network device of a first operator network to which the first terminal is connected; and the second network-side device is a network device of a second operator network to which the second terminal is connected.

[0071] In some embodiments of the present application, the second terminal receives the session invitation signaling carrying the first negotiated session update parameter sent by the first terminal through the first network-side device and the second network-side device, and the second terminal can update the fourth session update parameter configured locally according to the first negotiated session update parameter carried in the session invitation signaling, and take the first negotiated session update parameter as the session update parameter used by the second terminal in the session connection process with the first terminal.

[0072] In one scenario example, the mobile phone B of the user B receives the incoming call of the user A and cannot play the color ring configured by the operator network B for the SIM card of the user B. In this scenario, the mobile phone B receives the telephone connection signaling sent by the mobile phone A through the operator device A and the operator device B, and the second session update parameter t4=4s configured is inserted in the telephone connection signaling. Subsequently, the mobile phone B receives the invite signaling carrying the first negotiated session update parameter t5=2.5s sent by the mobile phone A through the operator device A and the operator device B, and the mobile phone B updates the fourth session update parameter t4=4s configured to 2.5s after receiving the invite signaling, and takes the updated t4=2.5s as the local session update time.

[0073] Step 204: The second terminal plays the second color ring configured by the second terminal for the second terminal based on the first negotiated session update parameter.

[0074] In some embodiments of the present application, the second terminal plays the second color ring configured by the second terminal for the second terminal based on the first negotiated session update parameter, including:

[0075] The second terminal updates the second session update parameter configured by the second terminal based on the first negotiated session update parameter;

[0076] The second terminal plays the second color ring before establishing the session connection with the first terminal based on the session invitation signaling sent by the first terminal.

[0077] After the second terminal updates the local session update parameter to the first negotiated session update parameter, the second terminal plays the second color ring configured in the second network-side device for the second terminal before establishing the session connection with the first terminal, and stops playing the second color ring until the user of the second terminal answers the call. The second color ring is an audio color ring or a video color ring configured in the second network-side device for the second terminal.

[0078] Further, the second terminal sends session invitation feedback signaling to the first terminal through the first network side device and the second network side device, so that the first terminal plays the first color ring tone configured by the second terminal for the session connection requester in the second network side device after receiving the session invitation feedback signaling.

[0079] Continuing the above example, the mobile phone B receives the invite signaling sent by the mobile phone A and carrying t5=2.5s, updates the local session update time t4 to 2.5s, and plays the color ring tone configured by the user B for the mobile phone B in the operator device B before establishing the session connection with the mobile phone A, and stops playing the color ring tone after the user B presses the answer key. Further, the mobile phone B sends the invite feedback signaling to the mobile phone A through the operator device B and the operator device A after updating the local session update time.

[0080] In another scenario example, the user A uses the mobile phone A to dial the phone number of the user B, and the mobile phone A of the user A cannot play the color ring tone configured by the user B for the caller in the operator network B. Continuing the above example, the mobile phone A of the user A receives the invite feedback signaling sent by the mobile phone B through the operator device B and the operator device A after sending the invite signaling carrying t5=2.5s to the mobile phone B, and plays the color ring tone configured by the user B for the caller in the operator network B before establishing the session connection with the mobile phone B, and stops playing the color ring tone after the user B presses the answer key.

[0081] Through the embodiments of the present application, the second terminal can first negotiate the session update parameters to update the session update parameters of the second terminal, and play the second color ring tone before establishing the session connection with the first terminal, thereby avoiding the communication problem caused by the difference of the session update parameters, solving the problem that the color ring tone cannot be played in the session connection process, improving the success rate of the color ring tone playing, and improving the user experience.

[0082] FIG. 3 is a flow diagram of a color ring tone playing control method according to an embodiment of the present application, and the execution subject of the method is a first network side device. The first network side device is a network device of a first operator network to which a first terminal is connected. The first terminal can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The first terminal is a terminal device used by a user. As shown in FIG. 3, the method can specifically include the following steps:

[0083] Step 302: The first network side device receives a session update parameter negotiation request message sent by the first terminal, and generates second negotiated session update parameters based on the session update parameter negotiation request message.

[0084] The first network side device receives the session update parameter negotiation request message sent by the first terminal, and parses the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter in the session update parameter negotiation request message. The first network side device generates the second negotiation session update parameter according to the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter.

[0085] In some embodiments of the present application, the second negotiation session update parameter is generated based on the session update parameter negotiation request message, including:

[0086] The first network side device generates the second negotiation session update parameter based on the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device, the fourth session update parameter configured by the second terminal and the session update duration of the first network side device.

[0087] In an implementation manner, the session update duration of the first network side is determined by the maximum session update time allowed by the first network side device and the minimum session update time allowed by the first network side device.

[0088] In one scene example, user A uses mobile phone A to dial the phone number of user B, and the mobile phone A of user A cannot play the color ringtone configured by user B for the calling party in the operator network B. The mobile phone A sends telephone connection signaling to the operator device A, and the operator device A returns telephone connection feedback signaling to the mobile phone A, which carries the first session update time t1=1s configured by the mobile phone A, the second session update time t2=2s configured by the operator device A, the third session update time t3=3s configured by the operator device B and the fourth session update time t4=4s configured by the mobile phone B. Subsequently, the operator device A receives the update signaling sent by the mobile phone A, which carries t1, t2, t3 and t4, and parses t1=1s, t2=2s, t3=3s and t4=4s in the update signaling. Assuming that the minimum session update duration allowed by the operator device A is 1.5s, and the maximum session update duration allowed by the operator device A is 2.5s. The operator device A generates the second negotiation update parameter t6=2s according to t1=1s, t2=2s, t3=3s, t4=4s and the minimum session update duration 1.5s and the maximum session update duration 2.5s of the operator device A.

[0089] Through the embodiments of the present application, the first network side device generates the second negotiation session update parameter according to the first session update parameter, the second session update parameter, the third session update parameter, the fourth session update parameter and the session update duration allowed by itself, so that the generated second negotiation session update parameter is more accurate, and the stability and reliability of the session connection process are improved, thereby improving the success rate of the color ring playing.

[0090] Step 304: The first network side device sends the second negotiation session update parameter to the second network side device, receives the first negotiation session update parameter returned by the second network side device, and sends the session update parameter negotiation feedback message carrying the first negotiation session update parameter to the first terminal; the first negotiation session update parameter is determined by the second network side device according to the second negotiation session update parameter; the first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device.

[0091] The first network side device updates the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter in the session update parameter negotiation request message to the second negotiation session update parameter, and sends the session update parameter negotiation request message containing the second negotiation session update parameter to the second network side device. Subsequently, the first network side device receives the first negotiation session update parameter returned by the second network side device, takes the first negotiation session update parameter as a local session update parameter, and sends the session update parameter negotiation feedback message carrying the first negotiation session update parameter to the first terminal. The session update parameter negotiation feedback message is used for the first terminal to update the first session update parameter configured by the first terminal based on the first negotiation session update parameter.

[0092] Continuing the above example, the first network side device sends the update signaling carrying t6=2s to the operator device B. Subsequently, the first network side device receives the first negotiation session update parameter t5=2.5s returned by the operator device B. After receiving the first negotiation session update parameter t5=2.5s returned by the operator device B, the operator device A updates the configured session update time t2=2s to t2=2.5s, and sends the update feedback signaling carrying t5=2.5s to the mobile phone A.

[0093] Step 306: The first network side device receives the session invitation signaling carrying the first negotiation session update parameter sent by the first terminal, and sends the session invitation signaling to the second terminal through the second network side device; the first negotiation session update parameter is used for the second terminal to play the second color ring before establishing the session connection with the first terminal based on the session invitation signaling.

[0094] After sending the first negotiation session update parameter to the first terminal, the first network side device receives session invitation signaling carrying the first negotiation session update parameter sent by the first terminal, and forwards the session invitation signaling to the second terminal through the second network side device, the first negotiation session update parameter being used by the second terminal to play the second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling.

[0095] The first network side device also receives session invitation feedback signaling sent by the second terminal through the second network side device, and sends the session invitation feedback signaling to the first terminal, the session invitation feedback signaling being used by the first terminal to play the first color ringtone before establishing a session connection with the second terminal based on the first negotiation session update parameter.

[0096] Continuing the above example, the operator device A receives the invite signaling sent by the mobile phone A carrying the address, phone number, operator information, etc. of the mobile phone B, parses the phone number, operator information, etc. of the mobile phone B, and sends the invite signaling to the mobile phone B through the operator device B.

[0097] The operator device A also receives the invite feedback signaling sent by the mobile phone B through the operator device B, and sends the invite feedback signaling to the mobile phone A. After receiving the invite feedback signaling, the mobile phone A updates the local session update time t1 to 2.5s, and plays the color ringtone configured by the mobile phone B for the calling party before establishing a session connection with the mobile phone B.

[0098] In another scenario example, the mobile phone B of user B displays the incoming call of user A, but the mobile phone B of user B cannot play the color ringtone configured by the mobile phone B for the SIM card of user B in the operator network B. After the operator device A sends the invite signaling to the mobile phone B through the operator device B, the mobile phone B receives the invite signaling, updates the local session update time t4 to 2.5s, and plays the color ringtone configured by the mobile phone B for the SIM card of user B before establishing a session connection with the mobile phone A.

[0099] Through the application of the embodiment, the first network side device can determine the second negotiation session update parameter based on the multiple session update parameters sent by the first terminal, and send the first negotiation session update parameter determined by the second network side device to the first terminal, so that the first terminal and the second terminal can establish a session connection based on the negotiated first negotiation session parameter, avoiding communication problems caused by differences in session update parameters, solving the problem of color ringtone not being able to be played during the session connection process, improving the success rate of color ringtone playing, and improving user experience.

[0100] FIG. 4 is a flow diagram of a ringback tone playing control method according to an embodiment of the present application, and the execution subject of the method is a second network side device. The second network side device is a network device of a second operator network to which a second terminal is connected. The second terminal can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The second terminal is a terminal device used by a user. As shown in FIG. 4, the method can include the following steps:

[0101] In step 402, the second network side device receives the second negotiation session update parameter sent by the first network side device. The second negotiation session update parameter is determined by the first network side device according to the session update parameter negotiation request message sent by the first terminal.

[0102] In step 404, the second network side device generates the first negotiation session update parameter based on the second negotiation session update parameter, and sends the first negotiation session update parameter to the first network side device. The first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device.

[0103] The first network side device is a network device of a first operator network to which a first terminal is connected, and the second network side device is a network device of a second operator network to which a second terminal is connected.

[0104] In some embodiments of the present application, the second network side device generates the first negotiation session update parameter based on the second negotiation session update parameter, including:

[0105] In the case that the second negotiation session update parameter is less than a first threshold value of the second network side device or greater than a second threshold value of the second network side device, the second network side device generates the first negotiation session update parameter according to the second negotiation session update parameter, the first threshold value and the second threshold value. The first threshold value is the minimum session update time length allowed by the second network side device, and the second threshold value is the maximum session update time length allowed by the second network side device.

[0106] In the case that the second negotiation session update parameter is greater than the first threshold value and less than the second threshold value, the second negotiation session update parameter is determined as the first negotiation session update parameter.

[0107] The second network side device receives the second negotiation session update parameter sent by the first network side device, and checks whether the second negotiation session update parameter meets the local session time length requirement. If the second negotiation session update parameter is less than the minimum session update time length allowed by the second network side device or greater than the maximum session update time length allowed by the second network side device, the second network side device generates the first negotiation session update parameter according to the second negotiation session update parameter, the minimum session update time length and the maximum session update time length. If the second negotiation session update parameter is greater than the minimum session update time length allowed and less than the maximum session update time length allowed, the second network side device determines the second negotiation session update parameter as the first negotiation session update parameter.

[0108] Through the embodiments of the present application, the second network side device can determine the first negotiation session update parameter meeting the session update time length of the second network side device, the first network side device, the first terminal and the second terminal according to the minimum session update time length allowed by the second network side device, the maximum session update time length and the second negotiation session update parameter, so that the determined first negotiation session update parameter is more accurate, the stability and reliability of the session connection process are improved, and the success rate of the color ring playing is improved.

[0109] In some embodiments of the present application, the second network side device generates the first negotiation session update parameter according to the second negotiation session update parameter, the first threshold and the second threshold, comprising:

[0110] The second network side device determines an intermediate session update parameter according to the second negotiation session update parameter, the first threshold and the second threshold, the intermediate session update parameter being greater than the first threshold and less than the second threshold;

[0111] The intermediate session update parameter is determined as the first negotiation session update parameter.

[0112] When the second network side device generates the first negotiation session update parameter according to the second negotiation session update parameter, the first threshold and the second threshold, the second network side device can determine an intermediate session update parameter greater than the first threshold and less than the second threshold according to the second negotiation session update parameter, the first threshold and the second threshold, and then determine the intermediate session update parameter as the first negotiation session update parameter.

[0113] In one scenario example, user A uses mobile phone A to dial the phone number of user B, and mobile phone A of user A cannot play the color ring back tone configured by user B for the calling party in operator network B. Mobile phone A sends update signaling to operator A according to the multiple session update parameters returned by operator A, and then operator A sends update signaling carrying the second negotiated session update parameter t6 to operator B, and operator device B receives the update signaling and judges whether t6 satisfies the local SIP session update duration. Assuming that the minimum session update duration allowed by operator device B is 2.5 s and the maximum session update duration allowed by operator device B is 4 s, then operator device B considers that t6=2 s does not satisfy the local SIP session update duration. Operator device B determines the first negotiated session update parameter t5=2.5 s based on t6 according to the local SIP session update duration.

[0114] Through the embodiment of the application, the second network side device can determine the first negotiated session update parameter satisfying the session update duration of the second network side device according to the minimum session update duration, the maximum session update duration allowed by the second network side device and the second negotiated session update parameter, so that the determined first negotiated session update parameter is more accurate, the stability and reliability of the session connection process are improved, and the success rate of color ring back tone playing is improved.

[0115] Then, the second network side device sends a session update parameter negotiation feedback message carrying the first negotiated session update parameter to the first network side device, the first network side device sends the session update parameter negotiation feedback message carrying the first negotiated session update parameter to the first terminal, and the first terminal receives the session update parameter negotiation feedback message carrying the first negotiated session update parameter sent by the first network side device. Meanwhile, the second network side device sends a session update parameter negotiation signaling carrying the first negotiated session update parameter to the second terminal.

[0116] Continuing the above example, operator device B sends t5=2.5 s to operator device A in the form of an ack signaling. The ack signaling is an invite signaling used in SIP to confirm that the previous invite signaling has been successfully processed.

[0117] After receiving the ack signaling carrying t5, operator device A sends an update feedback signaling carrying t5 to mobile phone A. After receiving the update feedback signaling, mobile phone A parses t5 and updates t1=1 s to t1=2.5 s. Operator A also sends an update feedback signaling carrying t5 to mobile phone B, and mobile phone B receives the update feedback signaling, parses t5, and updates t4=4 s to t4=2.5 s.

[0118] Step 406: The second network side device receives the session invitation signaling carrying the first negotiation session update parameter sent by the first network side device, and sends the session invitation signaling to the second terminal; the first negotiation session update parameter is used for the second terminal to play the second color ring based on the session invitation signaling before establishing the session connection with the first terminal.

[0119] After the second network side device sends the session update parameter negotiation feedback message carrying the first negotiation session update parameter to the first network side device, the second network side device receives the session invitation signaling sent by the first terminal through the first network side device, parses the number information of the second terminal in the session invitation signaling, and sends the session invitation signaling to the second terminal.

[0120] Continuing the above example, the operator device B receives the invite signaling sent by the mobile phone A through the operator device A, parses the phone number of the user B, and sends the invite signaling to the mobile phone B used by the user B.

[0121] In one scenario example, the operator device B sends the invite signaling to the mobile phone B used by the user B, the mobile phone B updates the local session update time t4 to 2.5s, and sends the invite feedback signaling through the operator B and the operator A. After receiving the invite feedback signaling, the mobile phone A updates the local session update time t1 to 2.5s, and plays the color ring configured by the user B for the calling party in the operator network B before establishing the session connection with the mobile phone B.

[0122] In another scenario example, the operator device B sends the invite signaling to the mobile phone B used by the user B, the mobile phone B updates the local session update time t4 to 2.5s, and plays the color ring configured by the user B for the SIM card of the user B in the operator network B before establishing the session connection with the mobile phone A.

[0123] Through the embodiment, the second network side device can determine the first negotiation session update parameter based on the second negotiation session update parameter sent by the first network side device, so that the first terminal and the second terminal can play the corresponding color ring based on the first negotiation session parameter before establishing the session connection, avoiding the communication problem caused by the difference of the session update parameters, solving the problem that the color ring cannot be played in the session connection process, improving the success rate of the color ring playing, and improving the user experience.

[0124] Based on the color ring playing control method provided in the above embodiments, the embodiment of the present application further provides a specific implementation manner, specifically including the following steps:

[0125] The first terminal sends a session connection establishment request message to the first network side device through a session negotiation mechanism, and the session connection establishment request message carries the first configured first session update parameter.

[0126] The first network-side device receives the session connection establishment request message sent by the first terminal, parses the first session update parameter configured by the first terminal, and inserts the configured second session update parameter in the session connection establishment request message. Then, the session connection establishment request message is sent to the second network-side device.

[0127] The second network-side device receives the session connection establishment request message, parses the first session update parameter and the second session update parameter, and inserts the configured third session update parameter in the session connection establishment request message. Then, the session connection establishment request message is sent to the second terminal.

[0128] The second terminal receives the session connection establishment request message, parses the first session update parameter, the second session update parameter and the third session update parameter, and inserts the configured fourth session update parameter in the session connection establishment request message. Then, the second terminal sends the session connection establishment request feedback message to the second network-side device.

[0129] The second network-side device receives the session connection establishment request feedback message sent by the second terminal, parses the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter, and if it is found that the third session update parameter is inconsistent with the session update parameter configured at the current time, updates the third session update parameter to the latest session update parameter, and sends the session connection establishment request feedback message to the first network-side device.

[0130] The first network-side device receives the session connection establishment request feedback message sent by the second network-side device, parses the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter, and if it is found that the second session update parameter is inconsistent with the session update parameter configured at the current time, updates the second session update parameter to the latest session update parameter, and sends the session connection establishment request feedback message to the first terminal.

[0131] The first terminal receives the session connection establishment request feedback message, and in the case that at least two session update parameters among the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter configured by the second terminal are different, sends the session update parameter negotiation request message containing the first session update parameter, the second session update parameter, the third session update parameter and the fourth session update parameter to the first network-side device.

[0132] The first network side device receives the session update parameter negotiation request message sent by the first terminal, and generates second negotiation session update parameters according to the first session update parameters, the second session update parameters, the third session update parameters and the fourth session update parameters, and sends the second negotiation session update parameters to the second network side device.

[0133] The second network side device receives the second negotiation session update parameters, and checks whether the second negotiation session update parameters meet the local session time length requirement. If yes, the second network side device determines the second negotiation session update parameters as the first negotiation session update parameters. If not, the second network side device generates the first negotiation session update parameters according to the second negotiation session update parameters and the local session time length requirement. Then, the second network side device sends a session update parameter negotiation feedback message carrying the first negotiation session update parameters to the first network side device, and sends a session update parameter negotiation request message carrying the first negotiation session update parameters to the second terminal.

[0134] The first network side device receives the first negotiation session update parameters, takes the first negotiation session update parameters as updated session update parameters, and sends a session update parameter negotiation feedback message carrying the first negotiation session update parameters to the first terminal.

[0135] The first terminal receives the session update parameter negotiation feedback message carrying the first negotiation session update parameters sent by the first network side device, updates the first session update parameters configured by the first terminal to the first negotiation session update parameters, and sends a session invitation signaling carrying the first negotiation parameters to the second terminal through the first network side device and the second network side device.

[0136] The first terminal plays the first color ring configured by the second terminal for a session connection request party after receiving the session invitation feedback signaling sent by the second terminal, and before establishing a session connection with the second terminal.

[0137] The second terminal receives the session update parameter negotiation request message carrying the first negotiation session update parameters sent by the second network side device, and sends a session update parameter negotiation feedback message to the second network side device, indicating that the first negotiation session update parameters have been received. The second terminal updates the fourth session update parameters configured by the second terminal to the first negotiation session update parameters after receiving the session invitation signaling sent by the first terminal, and plays the second color ring configured by the second terminal for the local before establishing a session connection with the first terminal.

[0138] FIG. 5 is a process schematic diagram of a color ring playing control method according to an embodiment of the present application. The method can be executed by the mobile phone A, the operator device A, the operator device B and the mobile phone B. As shown in FIG. 5, the method includes the following steps:

[0139] Step 501: User A uses mobile phone A to dial the phone number of user B, and mobile phone A sends a phone connection signaling to operator device A, which carries the first session update time t1 = 1s configured by mobile phone A.

[0140] Step 502: Operator device A parses the phone connection signaling, inserts the second session update time t2 = 2s configured in the phone connection signaling, and sends the phone connection signaling carrying t1 and t2 to operator device B.

[0141] Step 503: Operator device B parses the phone connection signaling, inserts the third session update time t3 = 3s configured in the phone connection signaling, and sends the phone connection signaling carrying t1, t2 and t3 to mobile phone B.

[0142] Step 504: Mobile phone B parses the phone connection signaling, inserts the fourth session update time t4 = 4s configured in the phone connection signaling, and sends the phone connection feedback signaling carrying t1, t2, t3 and t4 to operator device B.

[0143] Step 505: Operator device B parses the phone connection feedback signaling, updates t3 in the phone connection feedback signaling to the latest session update time configured locally, and sends the phone connection feedback signaling to operator device A.

[0144] Step 506: Operator device A parses the phone connection feedback signaling, updates t2 in the phone connection feedback signaling to the latest session update time configured locally, and forwards the phone connection feedback signaling to mobile phone A.

[0145] Step 507: Mobile phone A parses the phone connection feedback signaling, and in the case that t1, t2, t3 and t4 are all different, sends the update signaling containing t1, t2, t3 and t4 to operator device A.

[0146] Step 508: Operator device A parses the update signaling, generates the second negotiated session update parameter t6 = 2s according to t1, t2, t3 and t4 and the session update time allowed by operator device A, and sends the update signaling carrying t6 to operator device B.

[0147] Step 509: Operator device B generates the first negotiated session update time t5 = 2.5s according to t6 and the session update time allowed by operator device B, and sends the update feedback signaling carrying t5 to operator device A.

[0148] Step 510: Operator device B sends the update signaling carrying t5 to mobile phone B.

[0149] Step 511: the mobile phone B sends the update feedback signaling to the operator device B.

[0150] Step 512: the operator device A sends the update feedback signaling carrying t5 to the mobile phone A.

[0151] Step 513: the mobile phone A updates t1=1s to 2.5s.

[0152] Step 514: the mobile phone A sends the invite signaling carrying t5=2.5s to the operator device A.

[0153] Step 515: the operator device A sends the invite signaling carrying t5 to the operator device B.

[0154] Step 516: the operator device B sends the invite signaling carrying t5 to the mobile phone B.

[0155] Step 517: the mobile phone B analyzes the invite signaling, updates t4=4s to 2.5s, and plays the color ringtone configured by the operator device B for the mobile phone B.

[0156] Step 518: the mobile phone B sends the invite feedback signaling to the operator device B.

[0157] Step 519: the operator device B sends the invite feedback signaling to the operator device A.

[0158] Step 520: the operator device A sends the invite feedback signaling to the mobile phone A.

[0159] Step 521: the mobile phone A plays the color ringtone configured by the operator device B for the session connection requester.

[0160] Fig. 6 is a schematic block diagram of a terminal according to an embodiment of the present application. The terminal in the embodiment of the present application can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The terminal is a terminal device used by a user. As shown in Fig. 6, the terminal 600 can specifically include the following modules:

[0161] The judging module 601 is configured to judge, by the first terminal, whether at least two of the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device, and the fourth session update parameter configured by the second terminal are different.

[0162] The sending module 602 is configured to, in a case where at least two of the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device, and the fourth session update parameter configured by the second terminal are different, send, by the first terminal, a session update parameter negotiation request message to the first network side device.

[0163] The receiving module 603 is configured to receive, by the first terminal, a session update parameter negotiation feedback message carrying a first negotiated session update parameter, which is sent by the first network side device based on the session update parameter negotiation request message; the first negotiated session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device.

[0164] The sending module 602 is further configured to send, by the first terminal, a session invitation signaling carrying the first negotiated session update parameter to the second terminal based on the first negotiated session update parameter, and play a first color ringtone before establishing a session connection with the second terminal.

[0165] The first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the first color ringtone is a color ringtone configured by the second terminal for a session connection requester in the second network side device.

[0166] In some embodiments of the present application, the sending module 602 is further configured to send, by the first terminal, a session connection establishment request message to the first network side device through a session negotiation mechanism.

[0167] The first terminal receives a plurality of session update parameters sent by the first network side device based on the session connection establishment request message, and the plurality of session update parameters include the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter.

[0168] In some embodiments of the present application, the sending module 602 is specifically configured to send, by the first terminal, the session update parameter negotiation request message containing the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter to the first network side device.

[0169] In some embodiments of the present application, the application further includes an updating module configured to update, by the first terminal, the first session update parameter configured by the first terminal to the first negotiated session update parameter.

[0170] FIG. 7 is a schematic block diagram of a terminal according to an embodiment of the present application. The terminal in the embodiment of the present application can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The terminal is a terminal device used by a user. As shown in FIG. 7, the terminal 700 can include the following modules:

[0171] The receiving module 701 is configured to receive, by the second terminal, session invitation signaling carrying a first negotiation session update parameter sent by the first terminal through the first network side device and the second network side device. The first negotiation session update parameter is determined by negotiation between the second network side device and the first network side device. The first negotiation session update parameter is a session update parameter after update of the first terminal, the second terminal, the first network side device, and the second network side device.

[0172] The playing module 702 is configured to play, by the second terminal, a second color ringtone configured for the second terminal based on the first negotiation session update parameter.

[0173] The first network side device is a network device of a first operator network to which the first terminal is connected. The second network side device is a network device of a second operator network to which the second terminal is connected.

[0174] In some embodiments of the present application, the playing module 702 is specifically configured to update, by the second terminal, a second session update parameter configured for the second terminal based on the first negotiation session update parameter.

[0175] The second terminal plays the second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling sent by the first terminal.

[0176] FIG. 8 is a schematic block diagram of a network side device according to an embodiment of the present application. The network side device in the embodiment of the present application is a network device of an operator network to which a terminal is connected. The terminal can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The terminal is a terminal device used by a user. As shown in FIG. 8, the network side device can include the following modules:

[0177] The generating module 801 is configured to receive, by the first network side device, a session update parameter negotiation request message sent by the first terminal, and generate a second negotiation session update parameter based on the session update parameter negotiation request message.

[0178] The receiving module 802 is configured to send, by the first network-side device, the second negotiation session update parameter to the second network-side device, receive the first negotiation session update parameter returned by the second network-side device, and send, to the first terminal, a session update parameter negotiation feedback message carrying the first negotiation session update parameter; the first negotiation session update parameter is determined by the second network-side device according to the second negotiation session update parameter; and the first negotiation session update parameter is the updated session update parameter of the first terminal, the second terminal, the first network-side device, and the second network-side device.

[0179] The receiving module 802 is further configured to receive, by the first network-side device, session invitation signaling carrying the first negotiation session update parameter sent by the first terminal, and send, to the second terminal through the second network-side device, the session invitation signaling; the first negotiation session update parameter is used by the second terminal to play a second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling.

[0180] In the embodiments of the present application, the first network-side device is a network device of a first operator network to which the first terminal is connected, the second network-side device is a network device of a second operator network to which the second terminal is connected, and the second color ringtone is a color ringtone configured for the second terminal in the second network-side device.

[0181] In some embodiments of the present application, the generating module 801 is specifically configured to generate, by the first network-side device, the second negotiation session update parameter based on the first session update parameter configured by the first terminal, the second session update parameter configured by the first network-side device, the third session update parameter configured by the second network-side device, the fourth session update parameter configured by the second terminal, and a session update duration of the first network-side device.

[0182] FIG. 9 is a schematic block diagram of a network-side device according to an embodiment of the present application. The network-side device in the embodiments of the present application is a network device of an operator network to which a terminal is connected. The terminal can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer. The terminal is a terminal device used by a user. As shown in FIG. 9, the network-side device can specifically include the following modules:

[0183] The receiving module 901 is configured to receive, by the second network-side device, the second negotiation session update parameter sent by the first network-side device; the second negotiation session update parameter is determined by the first network-side device according to the session update parameter negotiation request message sent by the first terminal;

[0184] The generating module 902 is configured to generate, by the second network side device, a first negotiation session update parameter based on the second negotiation session update parameter, and send the first negotiation session update parameter to the first network side device; the first negotiation session update parameter is a session update parameter after the first terminal, the second terminal, the first network side device and the second network side device are updated.

[0185] The receiving module 901 is further configured to receive, by the second network side device, session invitation signaling carrying the first negotiation session update parameter sent by the first network side device, and send the session invitation signaling to the second terminal; the first negotiation session update parameter is used for the second terminal to play a second color ring tone before establishing a session connection with the first terminal based on the session invitation signaling.

[0186] The first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ring tone is a color ring tone configured for the second terminal in the second network side device.

[0187] In some embodiments of the present application, the generating module 902 is specifically configured to generate, by the second network side device, the first negotiation session update parameter according to the second negotiation session update parameter, a first threshold value and a second threshold value in a case that the second negotiation session update parameter is less than the first threshold value or greater than the second threshold value; the first threshold value is a minimum session update time length allowed by the second network side device, and the second threshold value is a maximum session update time length allowed by the second network side device.

[0188] In a case that the second negotiation session update parameter is greater than the first threshold value and less than the second threshold value, the second negotiation session update parameter is determined as the first negotiation session update parameter.

[0189] In some embodiments of the present application, the generating module 902 is further specifically configured to determine, by the second network side device, an intermediate session update parameter according to the second negotiation session update parameter, the first threshold value and the second threshold value; the intermediate session update parameter is greater than the first threshold value and less than the second threshold value.

[0190] The intermediate session update parameter is determined as the first negotiation session update parameter.

[0191] The terminal and the network side device provided by the embodiments of the present application can realize each process realized by the method embodiments, and thus details are not repeated here.

[0192] Optionally, as shown in FIG. 10, the embodiment of the present application further provides an electronic device 1000, comprising a processor 1001 and a memory 1002, wherein the memory 1002 stores programs or instructions executable on the processor 1001, and the programs or instructions are executed by the processor 1001 to implement each step of the color ring playing control method shown in FIGS. 1-5 and achieve the same technical effects. To avoid repetition, details are not described herein.

[0193] It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device.

[0194] FIG. 11 is a schematic diagram of a hardware structure of an electronic device according to some embodiments of the present application.

[0195] The electronic device 1100 includes but is not limited to a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc.

[0196] Those skilled in the art can understand that the electronic device 1100 can further include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1110 through a power management system, so as to realize the functions of power management, such as charging, discharging, and power consumption management, through the power management system. The electronic device structure shown in FIG. 11 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown, or combine certain components, or different component arrangements, which are not described herein.

[0197] The processor 1110 is configured to, in a case where at least two of the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device, and the fourth session update parameter configured by the second terminal are different, send, by the first terminal, a session update parameter negotiation request message to the first network side device;

[0198] The first terminal receives a session update parameter negotiation feedback message carrying a first negotiation session update parameter sent by the first network side device based on the session update parameter negotiation request message; the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device;

[0199] The first terminal sends session invitation signaling carrying the first negotiation session update parameter to the second terminal based on the first negotiation session update parameter, and plays the first color ring before establishing a session connection with the second terminal;

[0200] The first network side device is a network device of a first operator network to which the first terminal is connected, and the second network side device is a network device of a second operator network to which the second terminal is connected; and the first color ring is a color ring configured by the second terminal for a session connection requester in the second network side device.

[0201] Optionally, the processor 1110 is further configured to send, by the first terminal, a session connection establishment request message to the first network side device through a session negotiation mechanism.

[0202] The first terminal receives a plurality of session update parameters sent by the first network side device based on the session connection establishment request message, and the plurality of session update parameters include the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter.

[0203] Optionally, the processor 1110 is further configured to send, by the first terminal, the session update parameter negotiation request message containing the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter to the first network side device.

[0204] Optionally, the processor 1110 is further configured to update, by the first terminal, the first session update parameter configured by the first terminal to the first negotiation session update parameter.

[0205] The processor 1110 is configured to receive, by the second terminal, session invitation signaling carrying a first negotiation session update parameter sent by the first terminal through the first network side device and the second network side device; the first negotiation session update parameter is determined by negotiation of the first network side device and the second network side device, and the first negotiation session update parameter is a session update parameter updated by the first terminal, the second terminal, the first network side device, and the second network side device.

[0206] The second terminal plays a second color ring configured by the second terminal for the second terminal based on the first negotiation session update parameter.

[0207] The first network side device is a network device of a first operator network to which the first terminal is connected; and the second network side device is a network device of a second operator network to which the second terminal is connected.

[0208] Optionally, the processor 1110 is further configured to update, by the second terminal, a second session update parameter configured by the second terminal based on the first negotiation session update parameter.

[0209] The second terminal plays the second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling sent by the first terminal.

[0210] The processor 1110 is configured to receive, by the first network side device, a session update parameter negotiation request message sent by the first terminal, and generate a second negotiation session update parameter based on the session update parameter negotiation request message.

[0211] The first network side device sends the second negotiation session update parameter to the second network side device, receives a first negotiation session update parameter returned by the second network side device, and sends a session update parameter negotiation feedback message carrying the first negotiation session update parameter to the first terminal; the first negotiation session update parameter is determined by the second network side device according to the second negotiation session update parameter; and the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device.

[0212] The first network side device receives session invitation signaling carrying the first negotiation session update parameter sent by the first terminal, and sends the session invitation signaling to the second terminal through the second network side device; the first negotiation session update parameter is used for the second terminal to play a second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling.

[0213] The first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ringtone is a color ringtone configured by the second network side device for the second terminal.

[0214] Optionally, the processor 1110 is further configured to generate the second negotiation session update parameter based on a first session update parameter configured by the first terminal, a second session update parameter configured by the first network side device, a third session update parameter configured by the second network side device, a fourth session update parameter configured by the second terminal, and a session update duration of the first network side device.

[0215] The processor 1110 is configured to receive, by the second network side device, a second negotiation session update parameter sent by the first network side device; the second negotiation session update parameter is determined by the first network side device according to a session update parameter negotiation request message sent by the first terminal.

[0216] The second network side device generates first negotiation session update parameters based on the second negotiation session update parameters, and sends the first negotiation session update parameters to the first network side device; the first negotiation session update parameters are updated session update parameters of the first terminal, the second terminal, the first network side device and the second network side device;

[0217] The second network side device receives the session invitation signaling carrying the first negotiation session update parameters sent by the first network side device, and sends the session invitation signaling to the second terminal; the first negotiation session update parameters are used for the second terminal to play a second color ring tone before establishing a session connection with the first terminal based on the session invitation signaling;

[0218] The first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ring tone is a color ring tone configured for the second terminal in the second network side device.

[0219] Optionally, the processor 1110 is further configured to, in a case where the second negotiation session update parameters are less than a first threshold of the second network side device or greater than a second threshold of the second network side device, generate, by the second network side device, the first negotiation session update parameters according to the second negotiation session update parameters, the first threshold and the second threshold; the first threshold is a minimum session update duration allowed by the second network side device, and the second threshold is a maximum session update duration allowed by the second network side device.

[0220] In a case where the second negotiation session update parameters are greater than the first threshold and less than the second threshold, the second negotiation session update parameters are determined as the first negotiation session update parameters.

[0221] Optionally, the processor 1110 is further configured to determine, by the second network side device, an intermediate session update parameter according to the second negotiation session update parameters, the first threshold and the second threshold; the intermediate session update parameter is greater than the first threshold and less than the second threshold.

[0222] The intermediate session update parameter is determined as the first negotiation session update parameters.

[0223] It should be understood that in the embodiments of the present application, the input unit 1104 can include a graphics processor (GPU) 11041 and a microphone 11042. The graphics processor 11041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1106 can include a display panel 11061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. The touch panel 11071 is also referred to as a touch screen. The touch panel 11071 can include two parts of a touch detection device and a touch controller. The other input devices 11072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here.

[0224] The memory 1109 can be used to store software programs and various data. The memory 1109 can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 1109 can include a volatile memory or a non-volatile memory, or the memory 1109 can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 1109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.

[0225] The processor 1110 can include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1110.

[0226] The embodiments of the present application also provide a readable storage medium, the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned color ring playing control method embodiments, and the same technical effects can be achieved. To avoid repetition, details are not described here.

[0227] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disc or an optical disc, etc.

[0228] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions to realize the processes of the above-mentioned ring tone playing control method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.

[0229] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system or a system on chip, etc.

[0230] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and is executed by at least one processor to realize the processes of the above-mentioned ring tone playing control method embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.

[0231] It should be noted that in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in a reverse order, for example, the described method can be performed in an order different from the described order, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.

[0232] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product in essence or in the form of a part that contributes to the prior art, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

[0233] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A method for controlling a ringback tone, comprising: in a case that at least two of a first session update parameter configured by a first terminal, a second session update parameter configured by a first network side device, a third session update parameter configured by a second network side device, and a fourth session update parameter configured by a second terminal are different, the first terminal sends a session update parameter negotiation request message to the first network side device; the first terminal receives a session update parameter negotiation feedback message carrying a first negotiation session update parameter sent by the first network side device based on the session update parameter negotiation request message; the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device; the first terminal sends a session invitation signaling carrying the first negotiation session update parameter to the second terminal based on the first negotiation session update parameter, and plays a first ringback tone before establishing a session connection with the second terminal; wherein the first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the first ringback tone is a ringback tone configured by the second terminal for a session connection requester in the second network side device.

2. The method of claim 1, wherein, Before the first terminal sends the session update parameter negotiation request message to the first network side device, the method further comprises: the first terminal sends a session connection establishment request message to the first network side device through a session negotiation mechanism; the first terminal receives a plurality of session update parameters sent by the first network side device based on the session connection establishment request message, wherein the plurality of session update parameters include the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter.

3. The method of claim 1, wherein, The first terminal sends the session update parameter negotiation request message to the first network side device, comprising: the first terminal sends the session update parameter negotiation request message to the first network side device, wherein the session update parameter negotiation request message contains the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter.

4. The method of claim 1, wherein, The method further comprises: the first terminal updates the first session update parameter configured by the first terminal to the first negotiation session update parameter. 5.A method for controlling a ringback tone, comprising: a second terminal receives a session invitation signaling carrying a first negotiation session update parameter sent by a first terminal through a first network side device and a second network side device; the first negotiation session update parameter is determined by the first network side device and the second network side device, and the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device; the second terminal plays a second ringback tone configured by the second terminal for the second terminal based on the first negotiation session update parameter. The first network side device is a network device of a first operator network to which the first terminal is connected; and the second network side device is a network device of a second operator network to which the second terminal is connected.

6. The method of claim 5, wherein, The second terminal plays the second color ring configured by the second terminal based on the first negotiation session update parameter, and the playing the second color ring includes: The second terminal updates the second session update parameter configured by the second terminal based on the first negotiation session update parameter. The second terminal plays the second color ring before establishing a session connection with the first terminal based on the session invitation signaling sent by the first terminal.

7. A color ring playing control method, comprising: The first network side device receives a session update parameter negotiation request message sent by a first terminal, generates a second negotiation session update parameter based on the session update parameter negotiation request message; The first network side device sends the second negotiation session update parameter to a second network side device, receives a first negotiation session update parameter returned by the second network side device, and sends a session update parameter negotiation feedback message carrying the first negotiation session update parameter to the first terminal; The first negotiation session update parameter is determined by the second network side device according to the second negotiation session update parameter; and the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device; The first network side device receives session invitation signaling carrying the first negotiation session update parameter sent by the first terminal, and sends the session invitation signaling to the second terminal through the second network side device; and the first negotiation session update parameter is used for the second terminal to play a second color ring before establishing a session connection with the first terminal based on the session invitation signaling. The first network side device is a network device of a first operator network to which the first terminal is connected; and the second network side device is a network device of a second operator network to which the second terminal is connected; and the second color ring is a color ring configured by the second terminal in the second network side device for the second terminal.

8. The method of claim 7, wherein, The generating the second negotiation session update parameter based on the session update parameter negotiation request message includes: The first network side device generates the second negotiation session update parameter based on a first session update parameter configured by the first terminal, a second session update parameter configured by the first network side device, a third session update parameter configured by the second network side device, a fourth session update parameter configured by the second terminal, and a session update duration of the first network side device.

9. A color ring playing control method, comprising: The second network side device receives a second negotiation session update parameter sent by a first network side device; The second negotiation session update parameter is determined by the first network side device according to a session update parameter negotiation request message sent by a first terminal; The second network side device generates a first negotiation session update parameter based on the second negotiation session update parameter, and sends the first negotiation session update parameter to the first network side device; the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device and the second network side device; The second network side device receives the session invitation signaling carrying the first negotiation session update parameter sent by the first network side device, and sends the session invitation signaling to the second terminal; the first negotiation session update parameter is used for the second terminal to play a second color ring before establishing a session connection with the first terminal based on the session invitation signaling; The first network side device is a network device of a first operator network to which the first terminal is connected, the second network side device is a network device of a second operator network to which the second terminal is connected, and the second color ring is a color ring configured for the second terminal in the second network side device.

10. The method of claim 9, wherein, The second network side device generates a first negotiation session update parameter based on the second negotiation session update parameter, including: In a case that the second negotiation session update parameter is less than a first threshold of the second network side device or greater than a second threshold of the second network side device, the second network side device generates the first negotiation session update parameter according to the second negotiation session update parameter, the first threshold and the second threshold; the first threshold is a minimum session update duration allowed by the second network side device, and the second threshold is a maximum session update duration allowed by the second network side device; In a case that the second negotiation session update parameter is greater than the first threshold and less than the second threshold, the second negotiation session update parameter is determined as the first negotiation session update parameter.

11. The method of claim 10, wherein, The second network side device generates the first negotiation session update parameter according to the second negotiation session update parameter, the first threshold and the second threshold, including: The second network side device determines an intermediate session update parameter according to the second negotiation session update parameter, the first threshold and the second threshold; the intermediate session update parameter is greater than the first threshold and less than the second threshold; The intermediate session update parameter is determined as the first negotiation session update parameter.

12. A terminal, comprising: A judging module configured to judge, by a first terminal, whether at least two session update parameters are different from each other among a first session update parameter configured by the first terminal, a second session update parameter configured by a first network side device, a third session update parameter configured by a second network side device and a fourth session update parameter configured by a second terminal; A sending module configured to send, by the first terminal, a session update parameter negotiation request message to the first network side device in a case that at least two session update parameters are different from each other among the first session update parameter configured by the first terminal, the second session update parameter configured by the first network side device, the third session update parameter configured by the second network side device and the fourth session update parameter configured by the second terminal; The receiving module is configured to receive, by the first terminal, a session update parameter negotiation feedback message carrying a first negotiation session update parameter, which is sent by the first network side device based on the session update parameter negotiation request message. The first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device. The sending module is further configured to send, by the first terminal, a session invitation signaling carrying the first negotiation session update parameter to the second terminal based on the first negotiation session update parameter, and play a first color ringtone before a session connection is established with the second terminal. The first network side device is a network device of a first operator network to which the first terminal is connected, and the second network side device is a network device of a second operator network to which the second terminal is connected. The first color ringtone is a color ringtone configured by the second terminal for a session connection requester in the second network side device.

13. The terminal according to claim 12, wherein, The sending module is further configured to send, by the first terminal, a session connection establishment request message to the first network side device through a session negotiation mechanism. The first terminal receives a plurality of session update parameters sent by the first network side device based on the session connection establishment request message, and the plurality of session update parameters include the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter.

14. The terminal of claim 12, wherein, The sending module is specifically configured to send, by the first terminal, the session update parameter negotiation request message containing the first session update parameter, the second session update parameter, the third session update parameter, and the fourth session update parameter to the first network side device.

15. The terminal of claim 12, wherein, Further comprising: The updating module is configured to update, by the first terminal, the first session update parameter configured by the first terminal to the first negotiation session update parameter.

16. A terminal, comprising: The receiving module is configured to receive, by the second terminal, a session invitation signaling carrying a first negotiation session update parameter, which is sent by a first terminal through a first network side device and a second network side device. The first negotiation session update parameter is determined by the second network side device and the first network side device, and the first negotiation session update parameter is an updated session update parameter of the first terminal, the second terminal, the first network side device, and the second network side device. The playing module is configured to play, by the second terminal, a second color ringtone configured by the second terminal based on the first negotiation session update parameter. The first network side device is a network device of a first operator network to which the first terminal is connected, and the second network side device is a network device of a second operator network to which the second terminal is connected.

17. The terminal of claim 16, wherein, The playing module is specifically configured to update, by the second terminal, a second session update parameter configured by the second terminal based on the first negotiation session update parameter. The second terminal plays the second color ringtone before a session connection is established with the first terminal based on the session invitation signaling sent by the first terminal.

18. A network side device, comprising: The generating module is configured to receive, by the first network-side device, a session update parameter negotiation request message sent by a first terminal, and generate second negotiated session update parameters based on the session update parameter negotiation request message. The receiving module is configured to send, by the first network-side device, the second negotiated session update parameters to a second network-side device, receive first negotiated session update parameters returned by the second network-side device, and send a session update parameter negotiation feedback message carrying the first negotiated session update parameters to the first terminal. The first negotiated session update parameters are determined by the second network-side device according to the second negotiated session update parameters; and the first negotiated session update parameters are updated session update parameters of the first terminal, a second terminal, the first network-side device and the second network-side device. The receiving module is further configured to receive, by the first network-side device, a session invitation signaling carrying the first negotiated session update parameters sent by the first terminal, and send the session invitation signaling to the second terminal through the second network-side device; and the first negotiated session update parameters are used by the second terminal to play a second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling. The first network-side device is a network device of a first operator network to which the first terminal is connected, the second network-side device is a network device of a second operator network to which the second terminal is connected, and the second color ringtone is a color ringtone configured for the second terminal in the second network-side device.

19. The network-side device of claim 18, wherein, The generating module is specifically configured to generate, by the first network-side device, the second negotiated session update parameters based on first session update parameters configured by the first terminal, second session update parameters configured by the first network-side device, third session update parameters configured by the second network-side device, fourth session update parameters configured by the second terminal, and a session update duration of the first network-side device.

20. A network-side device, comprising: The receiving module is configured to receive, by the first network-side device, a session update parameter negotiation request message sent by a first terminal, and generate second negotiated session update parameters based on the session update parameter negotiation request message. The second negotiated session update parameters are determined by the first network-side device according to a session update parameter negotiation request message sent by a first terminal. The generating module is configured to generate, by the second network-side device, first negotiated session update parameters based on the second negotiated session update parameters, and send the first negotiated session update parameters to the first network-side device; and the first negotiated session update parameters are updated session update parameters of the first terminal, a second terminal, the first network-side device and the second network-side device. The receiving module is further configured to receive, by the first network-side device, a session invitation signaling carrying the first negotiated session update parameters sent by the first terminal, and send the session invitation signaling to the second terminal through the second network-side device; and the first negotiated session update parameters are used by the second terminal to play a second color ringtone before establishing a session connection with the first terminal based on the session invitation signaling. The first network-side device is a network device of a first operator network to which the first terminal is connected, the second network-side device is a network device of a second operator network to which the second terminal is connected, and the second color ring is a color ring configured for the second terminal by the second network-side device.

21. The network-side device of claim 20, wherein, The generating module is specifically configured to generate, by the second network-side device, the first negotiation session update parameter according to the second negotiation session update parameter, the first threshold value and the second threshold value in a case that the second negotiation session update parameter is less than the first threshold value or greater than the second threshold value; the first threshold value is a minimum session update time length allowed by the second network-side device, and the second threshold value is a maximum session update time length allowed by the second network-side device. In a case that the second negotiation session update parameter is greater than the first threshold value and less than the second threshold value, the second negotiation session update parameter is determined as the first negotiation session update parameter.

22. The network-side device of claim 21, wherein, The generating module is further configured to determine, by the second network-side device, an intermediate session update parameter according to the second negotiation session update parameter, the first threshold value and the second threshold value; the intermediate session update parameter is greater than the first threshold value and less than the second threshold value. The intermediate session update parameter is determined as the first negotiation session update parameter.

23. An electronic device comprising a processor and a memory, the memory storing programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the color ring playing method according to any one of claims 1-4.

24. An electronic device comprising a processor and a memory, the memory storing programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the color ring playing method according to any one of claims 5-6.

25. An electronic device comprising a processor and a memory, the memory storing programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the color ring playing method according to any one of claims 7-8.

26. An electronic device comprising a processor and a memory, the memory storing programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the color ring playing method according to any one of claims 9-11.

Citation Information

Patent Citations

  • Method for playing multimedia color vibration and color ring back tone and application server

    CN111756933A

  • Method and device for processing video polyphonic ringtone negotiation abnormity, and server

    CN114070933A

  • Media negotiation method, communication device and readable storage medium

    CN114302353A

  • Coloring back tone playing control method, terminal and network side equipment

    CN119182854A