Method and device for playing video polyphonic ringtone and storage medium

By obtaining the camera status of the called device and conducting audio and video media negotiation when it is turned off, the problem of insufficient video ringtone duration is solved, and the user experience is improved.

CN119155384APending Publication Date: 2024-12-17ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310731700.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

Since most phones are connected within 20 seconds during the call process, the average time for users to watch the video ringtone is shorter, which reduces the user experience.

Method used

By obtaining the camera status information of the called device, if the camera is in a closed state, conduct audio and video media negotiation, and send a video ringtone to the calling device after the negotiation is successful, so that it can play during the call with the called device.

Benefits of technology

This improves the length of time users watch video ringtones, thereby improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155384A_ABST
    Figure CN119155384A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for playing a video polyphonic ringtone and a storage medium, relates to the technical field of mobile communication, and can improve the experience feeling of watching the video polyphonic ringtone by a user. The method is applied to a polyphonic ringtone platform and comprises the following steps: acquiring capability information of called equipment; the capability information is used for indicating the state of the camera of the called equipment; under the condition that the capability information indicates that the camera of the called device is in a closed state, performing audio and video media negotiation with the calling device; and after the audio and video media negotiation succeeds, sending a video polyphonic ringtone to the calling device, so that the calling device plays the video polyphonic ringtone in the process of communicating with the called device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile communication technology, and in particular to a method, device and storage medium for playing video ringback tone. Background Art

[0002] With the continuous development of mobile communication technology, video ringback tone has become a common function to improve user experience; however, since most calls will be connected within 20 seconds during the call process, the average time for users to watch video ringback tone is short (specifically only 15 seconds); therefore, the user experience of watching video ringback tone is reduced. Summary of the invention

[0003] The embodiments of the present application provide a method, device and storage medium for playing video ringback tone, which can improve the user's experience of watching video ringback tone.

[0004] On the one hand, a method for playing a video ringback tone is provided, which is applied to a ringback tone platform, and the method includes: obtaining capability information of a called device; the capability information is used to indicate the state of a camera of the called device; when the capability information indicates that the camera of the called device is in an off state, performing audio and video media negotiation with a calling device; after the audio and video media negotiation is successful, sending a video ringback tone to the calling device, so that the calling device plays the video ringback tone during a call with the called device.

[0005] On the other hand, a method for playing a video ringback tone is provided, which is applied to a calling device, and includes: performing audio and video media negotiation with a ringback tone platform; after the audio and video media negotiation is successful, receiving a video ringback tone sent by the ringback tone platform; and playing the video ringback tone during a call with a called device.

[0006] On the other hand, a color ring back tone platform is provided, comprising:

[0007] The transceiver unit is used to obtain capability information of the called device; the capability information is used to indicate the status of the camera of the called device.

[0008] The processing unit is configured to perform audio and video media negotiation with the calling device when the capability information indicates that the camera of the called device is in an off state.

[0009] The transceiver unit is further configured to send a video ringback tone to the calling device after the above-mentioned audio and video media negotiation is successful, so that the calling device plays the video ringback tone during the conversation with the called device.

[0010] On the other hand, a calling device is provided, comprising:

[0011] The processing unit is used to negotiate audio and video media with the ring back tone platform.

[0012] The transceiver unit is used to receive the video ringback tone sent by the ringback tone platform after the above-mentioned audio and video media negotiation is successful.

[0013] The processing unit is also used to play the video ringback tone during the call with the called device.

[0014] On the other hand, a color ring back tone platform is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the method for playing a video color ring back tone described in any of the above embodiments when executing the computer program.

[0015] On the other hand, a calling device is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the method for playing a video ringback tone described in any of the above embodiments when executing the computer program.

[0016] On the other hand, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for playing video ringback tone described in any of the above embodiments is implemented.

[0017] On the other hand, a computer program product is provided, which includes computer program instructions, and when the computer program instructions are executed by a processor, the method for playing video ringback tone described in any of the above embodiments is implemented.

[0018] In the embodiment of the present application, during a call between a calling device and a called device, capability information indicating the state of a camera of the called device is obtained through a color ring back tone platform; when the capability information indicates that the camera of the called device is in an off state, the color ring back tone platform negotiates video media with the calling device; and after the audio and video media negotiation is successful, sends a video color ring back tone to the calling device; so that the calling device plays the video color ring back tone during a call with the called device; thereby increasing the time for users to watch the video color ring back tone, and then improving the user's experience of watching the video color ring back tone. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in some embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only drawings of some embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0020] Figure 1 A schematic diagram of the architecture of a mobile communication system provided in some embodiments of the present application;

[0021] Figure 2A method for playing a video ringback tone provided in some embodiments of the present application Figure 1 ;

[0022] Figure 3 A method for playing a video ringback tone provided in some embodiments of the present application Figure 2 ;

[0023] Figure 4 A method for playing a video ringback tone provided in some embodiments of the present application Figure 3 ;

[0024] Figure 5 A schematic diagram of playing a video ringback tone during a call provided in some embodiments of the present application Figure 1 ;

[0025] Figure 6 A schematic diagram of playing a video ringback tone during a call provided in some embodiments of the present application Figure 2 ;

[0026] Figure 7 A method for playing a video ringback tone provided in some embodiments of the present application Figure 4 ;

[0027] Figure 8 A schematic diagram of a video call provided in some embodiments of the present application;

[0028] Fig. 9 A schematic diagram of playing a video ringback tone during a call provided in some embodiments of the present application Figure 3 ;

[0029] Fig.10 A schematic diagram of playing a video ringback tone during a call provided in some embodiments of the present application Figure 4 ;

[0030] Fig.11 A method for playing a video ringback tone provided in some embodiments of the present application Figure 5 ;

[0031] Fig.12 A schematic diagram of the structure of a ring back tone platform provided in some embodiments of the present application;

[0032] Fig.13 A schematic diagram of the structure of a calling device provided in some embodiments of the present application;

[0033] Fig.14 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0036] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0037] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "multiple" means two or more.

[0038] The embodiment of the present application provides a method, device and storage medium for playing video ringback tone; the method is applied to the scenario of mobile communication (i.e., the calling device calls the called device through a phone number or social software). In this scenario, the calling device sends a call request to the called device and plays the video ringback tone; the called device picks up the phone after receiving the call request and sends an off-hook message to the calling device; after receiving the off-hook message, the calling device stops playing the video ringback tone and establishes a call connection with the called device. Then, the ringback tone platform obtains capability information for indicating the state of the camera of the called device; when the capability information indicates that the camera of the called device is in the off state, the ringback tone platform negotiates audio and video media with the calling device; and after the audio and video media negotiation is successful, the ringback tone platform sends the video ringback tone to the calling device; so that the calling device plays the video ringback tone during the call with the called device; thereby increasing the time for the user to watch the video ringback tone, and then improving the user's experience of watching the video ringback tone.

[0039] Next, combine Figure 1The schematic diagram of the architecture of the exemplary mobile communication system introduces the process of making a call, answering a call, and playing a ring back tone between a calling device 101 and a called device 103 . Figure 1 The communication system shown includes: a calling device 101 , a color ring back tone platform 102 , and a called device 103 ; the calling device 101 is connected to the called device 103 via the color ring back tone platform 102 .

[0040] It should be understood that, in general, the various devices in the above system are connected via wireless. In order to facilitate observation of the connection relationship between the various devices, Figure 1 In the middle, it is marked with a solid line.

[0041] The process of calling, answering and playing ringback tone between the calling device and the called device is as follows: Figure 2 As shown, including:

[0042] S110 , the calling device 101 sends a conversation (call) request to the called device 103 through the color ring back tone platform 102 .

[0043] The call request includes identification information of the called device 103 , such as the telephone number of the called device 103 .

[0044] The specific implementation of the above S110 includes: the calling device 101 sends a call request to the CRBT platform 102; then, the CRBT platform 102 determines the called device 103 according to the identification information of the called device 103 in the call request, and forwards the call request to the called device 103.

[0045] S120 : The calling device 101 obtains a video ringback tone from the ringback tone platform 102 .

[0046] It should be noted that the above-mentioned video ringback tone is a video ringback tone selected (ie, set or subscribed) by the called device 103 in the ringback tone platform 102 , that is, the ringback tone platform 102 contains a video ringback tone corresponding to the called device 103 .

[0047] A specific implementation of S120 includes: the CRBT platform 102 determines that the called device 103 is configured with a video CRBT according to the identifier of the called device 103 in the off-hook message, and then the CRBT platform 102 sends the video CRBT configured by the called device 103 to the calling device 101 .

[0048] S130: The calling device 101 plays a video ringback tone.

[0049] S140 : The called device 103 sends an off-hook message to the calling device 101 through the color ring back tone platform 102 .

[0050] The off-hook message is a response message of the called device 103 to the call request of the calling device 101; specifically, the off-hook message is a response message of the call request sent by the called device 103 to the calling device 101 after the called device 103 answers the call represented by the call request.

[0051] It should be noted that after the CRBT platform 102 receives the off-hook message sent by the called device 103 to the calling device 101, the CRBT platform 102 stops sending the video CRBT to the calling device.

[0052] S150: After receiving the off-hook message, the calling device 101 stops playing the video ringback tone.

[0053] S160: The calling device 101 establishes a call connection with the called device 103.

[0054] It should be noted that the specific implementation of the above S150-S160 refers to the existing technology and will not be repeated here.

[0055] Exemplarily, the calling device 101 and the called device 103 may be electronic devices such as mobile phones, tablet computers, laptop computers, netbooks or desktop computers.

[0056] It should be noted that the calling device 101 and the called device 103 may be electronic devices with the same hardware structure or electronic devices with different hardware structures. The embodiment of the present application is described by taking the calling device 101 and the called device 103 as electronic devices with the same hardware structure as an example, and will not be repeated later.

[0057] Exemplarily, the above-mentioned ring back tone platform 102 can be an application on a tablet computer, a laptop computer, a server, a desktop computer or an electronic device.

[0058] The embodiment of the present application provides a method for playing a video ringback tone, which is applied in a scenario where a calling device and a called device are talking, and the method can be applied in the above Figure 1 In combination with the above process of calling, answering and playing the ringback tone between the calling device and the called device, the method of playing the video ringback tone provided in the present application is a method that is continued to be executed after the above S160, so that the calling device can still play the video ringback tone after the called device picks up the phone.

[0059] The method for playing video ringback tone provided by this application is as follows: Figure 3 Shown are S210 - S240 .

[0060] S210. The color ring back tone platform obtains capability information of the called device.

[0061] The above-mentioned capability information is used to indicate the state of the camera of the called device; the state of the camera includes: an on state and an off state; wherein, when the state of the camera is an off state, the called device does not support sending the video stream (i.e., video data) captured by the camera of the called device to the calling device; when the state of the camera is an on state, the called device supports sending the video stream captured by the camera of the called device to the calling device.

[0062] In one embodiment, when the called device detects that the camera of the called device is in the off state, the called device sends an update message (such as an update message, hereinafter referred to as the first media update message) to the ringback tone platform, so that the ringback tone platform can obtain the capability information of the called device from the first media update message. Specifically, the first media update message includes: the status information of the video transceiver capability, or the video transceiver port information; wherein the status information of the video transceiver capability and the video transceiver port information are both used to indicate the status of the camera of the called device. At this time, the above-mentioned capability information is specifically the status information of the video transceiver capability, or the video transceiver port information in the above-mentioned first media update message.

[0063] Exemplarily, assume that the above-mentioned first media update message includes: status information of video transceiving capability; at this time, the message body of the first media update message is as shown in the following code block 1, and the status of the video transceiving capability in the code block is a receiving-only state (ie: a=recvonly); that is, the called device only receives the video stream captured by the camera of the calling device and sent by the calling device, but does not send the video stream captured by the camera of the called device to the calling device; that is, the status of the camera of the called device is off at this time.

[0064] Code Block 1

[0065] Direction = UE_TO_NETWORK / * is used to indicate that the message is sent by the called device to the color ring back tone platform. * /

[0066] m=audio 32674RTP / AVP 99 101 / * is used to indicate that the audio port number of the called device is 32674, the audio transmission protocol is the real-time transport protocol (RTP) or the audio video profile (AVP); the protocol type is 99 and 101.

[0067] * /

[0068] a=sendrecv / *It is used to indicate that the state of audio receiving and sending capability is both receiving and sending state. * /

[0069] m=video 25150RTP / AVP 124 12 / *Used to indicate that the video port number of the called device is 25150, the video transmission protocol is RTP or AVP, and the protocol type is 124 and 12. * /

[0070] a=recvonly / * is used to indicate that the state of the video transceiver capability is in the receive-only state, that is, only receiving video, not sending local video. * /

[0071] As another example, assume that the first media update message includes: video transceiver port information; based on the code block 1, when the video port number of the called device is 0 (ie: m=video 0RTP / AVP 124 12), at this time, the called device has no port for sending and receiving video data, that is, the state of the video transceiver capability of the called device is a non-transmittable state, that is, the camera of the called device is in an off state at this time.

[0072] In another embodiment, the above-mentioned color ring back tone platform determines the capability information of the called device according to the off-hook message in the above-mentioned S140. It should be noted that, in the embodiment of the present application, the off-hook message sent by the called device is used to instruct the calling device to establish an audio call (such as a voice call) or a one-way video call with the called device, wherein the one-way video call is a call in which the called device only receives the video stream sent by the calling device, and does not send the video stream captured by the camera of the called device to the calling device.

[0073] It should be understood that, no matter whether the calling device and the called device are in an audio call or a one-way video call, the called device does not need to send the video stream captured by the camera of the called device to the calling device; therefore, when the off-hook message indicates that the calling device and the called device establish an audio call or a one-way video call, the color ringback tone platform can determine the capability information of the above-mentioned called device based on the audio call or one-way video call indicated by the off-hook message.

[0074] For example, assume that the calling device initiates a video call request to the called device. After the called device receives the video call request, the user of the called device can choose a voice call. At this time, the called device sends an off-hook message to the calling device through the color ringback tone platform. The off-hook message is used to instruct the calling device to establish a voice call (i.e., an audio call) with the called device.

[0075] As another example, suppose that the calling device initiates a video call request to the called device. After the called device receives the video call request, the user of the called device can choose a one-way video call. At this time, the called device sends an off-hook message to the calling device through the color ringback tone platform, and the off-hook message is used to instruct the calling device to establish a one-way video call with the called device. After the call is successfully established, user A using the calling device cannot see the video image of user B using the called device; but user B can see the video image of user A.

[0076] Optionally, in this embodiment, the off-hook message in S140 may include indication information for indicating the type of call to be established between the calling device and the called device (eg, an audio call or a one-way video call).

[0077] It should be noted that, when the CRBT platform receives the above capability information, and the capability information indicates that the camera of the called device is in an off state, the CRBT platform may be triggered to execute the following S220.

[0078] S220: The ring back tone platform negotiates audio and video media with the calling device.

[0079] Through the audio and video media negotiation, the color ring back tone platform can determine the content of the video color ring back tone sent to the calling device, such as the video part of the video color ring back tone and / or the audio part of the video color ring back tone.

[0080] Combination Figure 3 ,like Figure 4 As shown, the specific implementation of the above S220 includes: S221-S222.

[0081] S221. The color ring back tone platform sends an audio and video stream negotiation message to the calling device.

[0082] The above audio and video stream negotiation message includes: the status of the video transceiving capability and the audio transceiving capability of the color ring back tone platform; that is, the above S221 is that the color ring back tone platform sends its own audio and video stream transceiving capability to the calling device.

[0083] Exemplarily, the audio and video stream negotiation message (such as an update message) has a message body as shown in the following code block 2. The P-Early-Media in the code block is an attribute used to indicate whether the ringback tone platform supports sending a video ringback tone to the calling device during a call (i.e., a call between the calling device and the called device). When the attribute value of the P-Early-Media attribute is sendrecv, it indicates that the ringback tone platform supports sending a video ringback tone to the calling device during a call. "m=audio 32674RTP / AVP 99 98 8 0 109 112 110 100 101 111 113 18a=sendrecv" in the code block is used to indicate that the audio transceiver capability of the color ring back tone platform is in a transceiver state; m=video25150RTP / AVP 123 125 124 122a=sendrecv is used to indicate that the video transceiver capability of the color ring back tone platform is in a transceiver state.

[0084] Code Block 2

[0085] Direction = NETWORK_TO_UE / *Used to indicate that the update is a message sent by the color ring back tone platform to the calling device. * /

[0086] P-Early-Media:sendrecv / *Used to indicate that the CRBT platform supports sending video CRBT to the calling device during a call. * /

[0087] m=audio 32674RTP / AVP 99 98 8 0 109 112 110 100 101 111 113 18

[0088] a=sendrecv

[0089] m=video 25150RTP / AVP 123 125 124 122

[0090] a=sendrecv

[0091] S222: The calling device sends a response message of the audio and video stream negotiation message to the color ring back tone platform.

[0092] It should be noted that the above S221 is the CRBT platform sending its own audio and video stream receiving and sending capabilities to the calling device; at this time, the above response message is used to instruct the calling device to select the capability information from the audio and video stream receiving and sending capabilities of the CRBT platform.

[0093] The status information of the audio transceiver capability or the audio transceiver port information in the above-mentioned response message is used to indicate that the calling device does not receive the audio data sent by the color ring back tone platform; the status information of the video transceiver capability or the video transceiver port information in the response message is used to indicate that the calling device receives the video data sent by the color ring back tone platform; that is: in the scenario where the color ring back tone platform sends a video color ring back tone to the calling device, the status information of the audio transceiver capability or the audio transceiver port information in the above-mentioned response message is used to indicate that the calling device does not play the audio part of the video color ring back tone; the status information of the video transceiver capability or the video transceiver port information in the response message is used to indicate that the calling device plays the video part of the video color ring back tone.

[0094] Exemplarily, assuming that the response message is as shown in the following code block 3, audio0 in the code block is used to indicate that the port number for the calling device to send and receive audio data is 0, and the host device has no port number for sending and receiving audio data. At this time, the calling device does not receive the audio data sent by the color ring back tone platform; that is, when the color ring back tone platform subsequently sends a video color ring back tone to the calling device, the calling device does not receive the audio part of the video color ring back tone sent by the color ring back tone platform. m=video 25150a=sendrecv is used to indicate that the video sending and receiving capability status of the calling device is in a sendable state, that is, when the color ring back tone platform subsequently sends a video color ring back tone to the calling device, the calling device receives the video part of the video color ring back tone sent by the color ring back tone platform.

[0095] Code Block 3

[0096] Direction = UE_TO_NETWORK

[0097] m=audio 0RTP / AVP 99 101 / *Used to instruct the calling device not to receive the audio data sent by the ringback tone platform. * /

[0098] a=sendrecv

[0099] m=video 25150RTP / AVP 124 12

[0100] a=sendrecv

[0101] As another example, assume that the above-mentioned response message is as shown in the following code block 4, and the audio receiving and sending capability status in the code block is the removal status inactive (i.e., non-receiving and sending status); at this time, when the color ringback tone platform subsequently sends a video color ringback tone to the calling device, the calling device does not receive the audio part of the video color ringback tone sent by the color ringback tone platform.

[0102] Code Block 4

[0103] Direction = UE_TO_NETWORK

[0104] m=audio 32674RTP / AVP 99 101

[0105] a=inactive / *Used to indicate that the state of audio transceiver capability is removed (i.e., not transceiver)* /

[0106] m=video 25150RTP / AVP 124 12

[0107] a=sendrecv

[0108] It should be noted that, after receiving the above response message, the above CRBT platform indicates that the audio and video media negotiation is successful, and the CRBT platform executes the following S230.

[0109] S230: The ring back tone platform sends a video ring back tone to the calling device.

[0110] It should be noted that, since the status information of the audio transceiver capability or the audio transceiver port information in the response message in the above S222 indicates that the calling device does not receive the audio data sent by the color ring back tone platform, and the status information of the video transceiver capability or the video transceiver port information in the response message indicates that the calling device receives the video data sent by the color ring back tone platform; therefore, the video color ring back tone sent by the above color ring back tone platform to the calling device only includes the video part of the video color ring back tone, and does not include the audio part of the video color ring back tone.

[0111] S240: The calling device plays a video ringback tone.

[0112] It should be understood that, since the above S240 is executed after the above S160, the above video ringback tone is played during the call between the calling device and the called device.

[0113] For example, Figure 5 As shown, the calling device and the called device are making a video call. Since the camera of the called device is turned off, the called device plays the video picture sent by the calling device (referred to as: the calling end video picture); and the calling device plays the video ringback tone picture.

[0114] It should be noted that the specific implementation method of the above S240 refers to the existing technology and will not be repeated here.

[0115] In the embodiment of the present application, during a call between a calling device and a called device, capability information indicating the state of a camera of the called device is obtained through a color ring back tone platform; when the capability information indicates that the camera of the called device is in an off state, the color ring back tone platform negotiates video media with the calling device; and after the audio and video media negotiation is successful, sends a video color ring back tone to the calling device; so that the calling device plays the video color ring back tone during a call with the called device; thereby increasing the time for users to watch the video color ring back tone, and then improving the user's experience of watching the video color ring back tone.

[0116] Optionally, in the case where a voice call is established between the calling device and the called device, the method for playing a video ringback tone further includes: the ringback tone platform negotiates audio and video media with the called device, and after the audio and video media negotiation is successful, the ringback tone platform sends the video ringback tone selected (i.e., set or subscribed) by the calling device on the ringback tone platform to the called device, so that the called device plays the video ringback tone during the call with the calling device; Figure 6 As shown, when the calling device plays the video ringback tone A, the called device plays the video ringback tone B.

[0117] The above method performs audio and video media negotiation with the called device through the color ring back tone platform. After the audio and video media negotiation is successful, the color ring back tone platform sends a video color ring back tone to the called device; so that the called device plays the video color ring back tone during the call with the calling device, so that the called user (i.e., the user using the called device) can watch the video color ring back tone during the call between the calling device and the called device, further improving the user's experience of watching the video color ring back tone.

[0118] It should be noted that Figure 3 and Figure 4 In the methods for playing video ringback tone shown, the calling device passively receives and plays the video ringback tone; thus, the flexibility of the methods for playing video ringback tone is relatively low.

[0119] The embodiment of the present application provides another method for playing a video ringback tone, which is applied in a scenario where a calling device and a called device are talking, and the method can be applied in the above Figure 1 In combination with the above process of calling, answering and playing the ringback tone between the calling device and the called device, the method of playing the video ringback tone provided in the present application is a method that is continued to be executed after the above S160, so that the calling device actively receives and plays the video ringback tone.

[0120] The method for playing video ringback tone provided by this application is as follows: Figure 7 Shown are S310 - S360 .

[0121] S310: The calling device sends target indication information to the color ring back tone platform.

[0122] The target indication information is used to instruct the calling device to play the video ringback tone during the call with the called device. That is, at this time, the calling device informs the ringback tone platform that the calling device does not receive the video data sent by the called device during the call with the called device.

[0123] It should be noted that the above S310 can be executed by the calling device during a video call (ie, a two-way video call) with the called device; or it can be executed after the calling device receives an off-hook message forwarded by the color ring back tone platform.

[0124] S320: The color ring back tone platform forwards the target indication information to the called device.

[0125] The target indication information is used to trigger the called device to send the capability information in S210 to the color ring back tone platform.

[0126] It should be noted that, in the case where the camera of the called device is in an on state, the target indication information is also used to instruct the called device to set the state of the camera to an off state.

[0127] For example, Figure 8 As shown in the figure, the calling device and the called device are in a video call. At this time, the calling device plays the video screen of the called end, and the called device plays the video screen of the calling end. At this time, when the user of the calling device clicks the button to play the ringback tone, the calling device forwards the target indication information for instructing the calling device to play the video ringback tone during the call with the called device to the called device through the ringback tone platform. After the called device receives the target information, Fig. 9 As shown, the called device turns off the camera.

[0128] S330: The color ring back tone platform obtains capability information of the called device.

[0129] It should be noted that the above-mentioned capability information is consistent with the capability information in the above-mentioned S210. For the specific description of the above-mentioned capability information, please refer to the above-mentioned relevant description of S210; the implementation method of the above-mentioned S330 is consistent with the implementation method of the first embodiment in S210. For the specific implementation method of S330, please refer to the relevant description of the first embodiment in S210, which will not be repeated here.

[0130] S340: The ring back tone platform negotiates audio and video media with the calling device.

[0131] S350: The color ring back tone platform sends a video color ring back tone to the calling device.

[0132] S360: The calling device plays the video ringback tone.

[0133] It should be noted that the implementation method of the above S340-S360 is consistent with the implementation method of S220-S240. For the specific implementation method of S340-S360, please refer to the relevant description of S220-S240 above, which will not be repeated here.

[0134] In the embodiment of the present application, the calling device sends target indication information to the called device through the color ring back tone platform, which is used to instruct the calling device to play a video color ring back tone during a call with the called device; so that the called device sets the camera status on it to the off state, and then the calling device receives and plays the video color ring back tone sent by the color ring back tone platform during a call with the called device, thereby improving the flexibility of the method for playing video color ring back tone.

[0135] Optionally, the method for playing the video ringback tone described in S310-S360 above may also be triggered by the called device, as follows:

[0136] like Figure 8 As shown in the figure, the calling device and the called device are in a video call. At this time, the calling device plays the video screen of the called end, and the called device plays the video screen of the calling end. At this time, when the user of the called device clicks the button to play the ringback tone, the called device forwards the target indication information for instructing the called device to play the video ringback tone during the call with the calling device to the calling device through the ringback tone platform. After the calling device receives the target information, Fig.10 As shown, the calling device turns off the camera. Then, the ringback tone platform negotiates the audio and video media with the called device, and after the negotiation is successful, sends a video ringback tone to the called device, so that the called device plays the video ringback tone; Fig.10 As shown, the called device plays the video ringback tone, and the calling device plays the video screen of the called end.

[0137] In one embodiment, in combination Figure 3 , Figure 4 or Figure 7 ,like Fig.11 As shown, the method for playing video ringback tone provided in the embodiment of the present application, after the above S240 or S360, further includes: S410-S430.

[0138] S410: The calling device sends a second media update message to the color ring back tone platform.

[0139] The video transceiver capability status information or video transceiver port information in the second media update message is used to instruct the stopping of playing the video ringback tone; the audio transceiver capability status information or audio transceiver port information in the second media update message is used to instruct the calling device not to play the audio part of the video ringback tone.

[0140] Exemplarily, the second media update message is as shown in the following code block 5, and the status information of the audio transceiver capability is the removal status inactive, at which time the calling device does not receive the audio data sent by the ringback tone platform; the status information of the video transceiver capability is also the removal status inactive; that is, at this time the calling device does not receive the video data sent by the ringback tone platform (such as the above-mentioned video ringback tone).

[0141] Code Block 5

[0142] Direction = UE_TO_NETWORK

[0143] m=audio 32674RTP / AVP 99 101

[0144] a=inactive / *Used to indicate that the state of audio transceiver capability is removed (i.e., not transceiver)* /

[0145] m=video 25150RTP / AVP 124 12

[0146] a=inactive / *Used to indicate that the state of audio transceiver capability is removed (i.e., not transceiver)* /

[0147] As another example, the second media update module may be as shown in the following code block 6, wherein the audio transceiver port number in the audio transceiver port information is 0 (i.e., m=audio 0), that is, at this time, the calling device does not receive the audio data sent by the color ring back tone platform; the video transceiver port number in the video transceiver port information is 0 (i.e., m=video 0), that is, at this time, the calling device does not receive the video data sent by the color ring back tone platform.

[0148] Code Block 6

[0149] Direction = UE_TO_NETWORK

[0150] m=audio 0RTP / AVP 99 101 / *Used to instruct the calling device not to receive the audio data sent by the ringback tone platform. * /

[0151] a=sendrecv

[0152] m=video 0RTP / AVP 124 12 / *Used to instruct the calling device not to receive the video data sent by the ring back tone platform. * /

[0153] a=sendrecv

[0154] S420: The color ring back tone platform stops sending the video color ring back tone to the calling device.

[0155] The above S420 specifically includes: after the above color ring back tone platform obtains that the calling device does not receive the audio data and video data sent by the color ring back tone platform, the color ring back tone platform stops sending the video color ring back tone to the calling device.

[0156] S430: The calling device stops playing the video ringback tone.

[0157] It should be noted that the above S430 can be executed before the above S420, or can be executed after the above S420. Specifically, the embodiment of the present application does not limit the execution order of the above S420 and S430.

[0158] In the embodiment of the present application, when a video ringback tone is played during a call between a calling device and a called device, a second media update message is sent to a ringback tone platform to instruct the calling device to stop playing the video ringback tone; after receiving the second media update message, the ringback tone platform stops sending the video ringback tone to the calling device, so that the calling device stops playing the video ringback tone; thereby improving the flexibility of the above-mentioned method for playing video ringback tone.

[0159] It is understandable that, in order to realize the above functions, the ring back tone platform includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments of the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0160] The embodiment of the present application can divide the function modules of the ring back tone platform according to the above method embodiment. For example, each function module can be divided corresponding to each function, or two or more functions can be integrated into one function module. The above integrated module can be implemented in the form of hardware or software. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each function module corresponding to each function.

[0161] Fig.12 is a schematic diagram of the structure of a ring back tone platform provided in an embodiment of the present application. The ring back tone platform can execute the method for playing video ring back tone provided in the above method embodiment. Fig.12 As shown, the color ring back tone platform includes: a transceiver unit 1210 and a processing unit 1220.

[0162] The transceiver unit 1210 is used to obtain capability information of the called device; the capability information is used to indicate the state of the camera of the called device. The processing unit 1220 is used to perform audio and video media negotiation with the calling device when the capability information indicates that the camera of the called device is in an off state. The transceiver unit 1210 is used to send a video ringback tone to the calling device after the audio and video media negotiation is successful, so that the calling device plays the video ringback tone during the call with the called device.

[0163] In some embodiments, the capability information is the status information of the video transceiver capability in the first media update message sent by the called device to the color ring back tone platform; the status information of the video transceiver capability is used to indicate the status of the camera of the called device; or, the capability information is the video transceiver port information in the first media update message sent by the called device to the color ring back tone platform; the video transceiver port information is used to indicate the status of the camera of the called device.

[0164] In some embodiments, the transceiver unit 1210 is used to send an audio and video stream negotiation message to the calling device; the transceiver unit 1210 is also used to receive a response message to the audio and video stream negotiation message sent by the calling device; wherein the status information of the audio transceiver capability or the audio transceiver port information in the response message is used to indicate that the calling device does not play the audio part of the video ringback tone; the status information of the video transceiver capability or the video transceiver port information in the response message is used to indicate that the calling device plays the video part of the video ringback tone.

[0165] In some embodiments, the transceiver unit 1210 is used to forward an off-hook message of the called device to the calling device; wherein the off-hook message is a response message of the called device to the call request of the calling device; the off-hook message is used to instruct the calling device to establish an audio call or a one-way video call with the called device, and the one-way video call is a call in which the called device only receives the video stream sent by the calling device but does not send a video stream to the calling device; the processing unit 1220 is used to determine the capability information of the called device according to the audio call or the one-way video call indicated by the off-hook message; the capability information indicates that the camera status of the called terminal device is off.

[0166] In some embodiments, the transceiver unit 1210 is used to receive target indication information from the calling device; the target indication information is used to instruct the calling device to play the video ringback tone during a call with the called device. The transceiver unit 1210 is also used to forward the target indication information to the called device.

[0167] In some embodiments, the transceiver unit 1210 is used to receive a second media update message sent by the calling device; the status information of the video transceiver capability or the video transceiver port information in the second media update message is used to indicate to stop playing the video ringback tone; the processing unit 1220 is used to stop sending the video ringback tone to the calling device.

[0168] For the specific description of the above optional methods, please refer to the above method embodiments, which will not be repeated here. In addition, the explanation of any of the above-mentioned ring back tone platforms and the description of the beneficial effects can refer to the above-mentioned corresponding method embodiments, which will not be repeated here.

[0169] In the case of dividing each functional module into corresponding functional modules, Fig.13 A possible structural diagram of the calling device involved in the above embodiment is shown. Fig.13 As shown, the calling device includes: a processing unit 1310 and a transceiver unit 1320 .

[0170] The processing unit 1310 is used to perform audio and video media negotiation with the ring back tone platform. The transceiver unit 1320 is used to receive the video ring back tone sent by the ring back tone platform after the audio and video media negotiation is successful. The processing unit 1310 is used to play the video ring back tone during the call with the called device.

[0171] In some embodiments, the transceiver unit 1320 is used to receive the audio and video stream negotiation message sent by the color ring back tone platform. The transceiver unit 1320 is also used to send a response message to the audio and video stream negotiation message to the color ring back tone platform; the audio transceiver capability status information or audio transceiver port information in the response message is used to indicate that the calling device does not play the audio part of the video color ring back tone; the video transceiver capability status information or video transceiver port information in the response message is used to indicate that the calling device plays the video part of the video color ring back tone.

[0172] In some embodiments, the transceiver unit 1320 is used to receive an off-hook message forwarded by the color ring back tone platform; wherein the off-hook message is a response message of the called device to the call request of the calling device; the off-hook message is used to instruct the calling device to establish an audio call or a one-way video call with the called device, wherein the one-way video call is a call in which the called device does not send a video stream to the calling device during the process of receiving the video stream sent by the calling device. The processing unit 1310 is used to establish the one-way video call or the audio call connection with the called device.

[0173] In some embodiments, the transceiver unit 1320 is used to send target indication information to the color ring back tone platform; the target indication information is used to instruct the calling device to play the video color ring back tone during the call with the called device.

[0174] In some embodiments, the transceiver unit 1320 is used to send a second media update message to the CRBT platform; the video transceiver capability status information or video transceiver port information in the second media update message is used to instruct to stop playing the video CRBT. The processing unit 1310 is used to stop playing the video CRBT.

[0175] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides another possible structure of the electronic device (ie, calling device, ring back tone platform or called device) involved in the above-mentioned embodiment. Fig.14 As shown, the electronic device includes: a processor 1402 and a bus 1404. Optionally, the electronic device may further include a memory 1401; and optionally, the electronic device may further include a communication interface 1403.

[0176] Processor 1402 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present application. The processor 1402 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present application. Processor 1402 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0177] The communication interface 1403 is used to connect with other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0178] The memory 1401 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0179] As a possible implementation, the memory 1401 may exist independently of the processor 1402, and the memory 1401 may be connected to the processor 1402 via a bus 1404 to store instructions or program codes. When the processor 1402 calls and executes the instructions or program codes stored in the memory 1401, the method for playing video ringback tone provided in the embodiment of the present application can be implemented.

[0180] In another possible implementation, the memory 1401 may also be integrated with the processor 1402 .

[0181] The bus 1404 may be an extended industry standard architecture (EISA) bus, etc. The bus 1404 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0182] Some embodiments of the present application provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the method for playing video ringback tone as described in any of the above embodiments.

[0183] Exemplarily, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., compact disks (CD), digital versatile disks (DVD), etc.), smart cards and flash memory devices (e.g., erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). The various computer-readable storage media described in this application may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.

[0184] An embodiment of the present application provides a computer program product including instructions. When the computer program product is run on a computer, the computer is enabled to execute the method for playing a video ringback tone described in any one of the above embodiments.

[0185] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for playing a video ringback tone, characterized in that: The method is applied to a color ring back tone platform, and the method comprises: Acquire capability information of the called device; the capability information is used to indicate the status of the camera of the called device; When the capability information indicates that the camera of the called device is in an off state, performing audio and video media negotiation with the calling device; After the audio and video media negotiation is successful, a video ringback tone is sent to the calling device, so that the calling device plays the video ringback tone during the conversation with the called device.

2. The method according to claim 1, characterized in that The capability information is the state information of the video transceiving capability in the first media update message sent by the called device to the color ring back tone platform; the state information of the video transceiving capability is used to indicate the state of the camera of the called device; or, The capability information is the video transceiver port information in the first media update message sent by the called device to the color ring back tone platform; the video transceiver port information is used to indicate the state of the camera of the called device.

3. The method according to claim 1, characterized in that The video ringback tone includes the video part of the video ringback tone, but does not include the audio part; and the performing audio and video media negotiation with the calling device includes: Sending an audio and video stream negotiation message to the calling device; Receive a response message to the audio and video stream negotiation message sent by the calling device; wherein the status information of the audio transceiver capability or the audio transceiver port information in the response message is used to instruct the calling device not to play the audio part of the video ringback tone; the status information of the video transceiver capability or the video transceiver port information in the response message is used to instruct the calling device to play the video part of the video ringback tone.

4. The method according to claim 1 or 2, characterized in that: Before acquiring the capability information of the called device, the method further includes: forwarding an off-hook message of the called device to the calling device; The off-hook message is a response message of the called device to the call request of the calling device; the off-hook message is used to instruct the calling device to establish an audio call or a one-way video call with the called device, and the one-way video call is a call in which the called device only receives the video stream sent by the calling device but does not send the video stream to the calling device; The acquiring capability information of the called device includes: According to the audio call or one-way video call indicated by the off-hook message, the capability information of the called device is determined; the capability information indicates that the state of the camera of the called terminal device is off.

5. The method according to claim 1 or 2, characterized in that: Before acquiring the capability information of the called device, the method further includes: receiving target indication information from the calling device; the target indication information is used to instruct the calling device to play the video ringback tone during a call with the called device; The target indication information is forwarded to the called device.

6. The method according to claim 1 or 2, characterized in that: After sending the video ringback tone to the calling device, the method further includes: receiving a second media update message sent by the calling device; the state information of the video transceiver capability or the video transceiver port information in the second media update message is used to instruct to stop playing the video ringback tone; Stop sending the video ringback tone to the calling device.

7. A method for playing a video ringback tone, characterized in that: The method is applied to a calling device, and comprises: Conduct audio and video media negotiation with the ringback tone platform; After the audio and video media negotiation is successful, receiving the video ringback tone sent by the ringback tone platform; The video ringback tone is played during the call with the called device.

8. The method according to claim 7, characterized in that The video ringback tone includes the video part of the video ringback tone, but does not include the audio part; and the audio and video media negotiation with the ringback tone platform includes: Receiving a message for negotiating an audio or video stream sent by the color ring back tone platform; A response message of the audio and video stream negotiation message is sent to the color ring back tone platform; the status information of the audio transceiver capability or the audio transceiver port information in the response message is used to instruct the calling device not to play the audio part of the video color ring back tone; the status information of the video transceiver capability or the video transceiver port information in the response message is used to instruct the calling device to play the video part of the video color ring back tone.

9. The method according to claim 7 or 8, characterized in that: Before performing the audio and video media negotiation with the color ring back tone platform, the method further includes: Receiving an off-hook message forwarded by the color ring back tone platform; wherein the off-hook message is a response message of the called device to the call request of the calling device; the off-hook message is used to instruct the calling device to establish an audio call or a one-way video call with the called device, and the one-way video call is a call in which the called device does not send a video stream to the calling device during the process of receiving the video stream sent by the calling device; The one-way video call or the audio call connection is established with the called device.

10. The method according to claim 7 or 8, characterized in that: Before performing the audio and video media negotiation with the color ring back tone platform, the method further includes: Sending target indication information to the color ring back tone platform; the target indication information is used to instruct the calling device to play the video color ring back tone during a call with the called device.

11. The method according to claim 7 or 8, characterized in that: After playing the video ringback tone during the call with the called device, the method further includes: Sending a second media update message to the color ring back tone platform; the state information of the video transceiver capability or the video transceiver port information in the second media update message is used to instruct to stop playing the video color ring back tone; Stop playing the video ringback tone.

12. A ring back tone platform, characterized in that: include: Transceiver unit and processing unit; The transceiver unit is used to obtain capability information of the called device; The capability information is used to indicate the status of the camera of the called device; The processing unit is configured to perform audio and video media negotiation with the calling device when the capability information indicates that the camera of the called device is in an off state; The transceiver unit is further configured to send a video ringback tone to the calling device after the audio and video media negotiation succeeds, so that the calling device plays the video ringback tone during a call with the called device.

13. A calling device, characterized in that: include: Processing unit and transceiver unit; The processing unit is used to negotiate audio and video media with the ring back tone platform; The transceiver unit is used to receive the video ring back tone sent by the ring back tone platform after the audio and video media negotiation is successful; The processing unit is further configured to play the video ringback tone during a call with the called device.

14. An electronic device, characterized in that: include: Processor and memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the electronic device implements the method according to any one of claims 1 to 6 or claims 7 to 11.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed, the method according to any one of claims 1 to 6 or claims 7 to 11 is executed.