Method and apparatus for playing video polyphonic ringtone, and storage medium
By obtaining the camera status of the called device and negotiating the sending of video ringtones with the calling device when it is turned off, the problem of insufficient time for users to watch video ringtones is solved, and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2024/097012
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-16
- Filing Date
- 2024-06-03
- Publication Date
- 2024-12-19
AI Technical Summary
Since most phone calls are connected within 20 seconds, the average time for users to watch video ringtones is shorter, reducing the user experience.
By obtaining the camera status information of the called device, the audio and video media negotiation is conducted with the calling device when the camera is in the off state, and after the negotiation is successful, the calling device will send a video ringtone to the calling device, so that the calling device will be in the process of talking to the called device. Play video ringtone in the playback.
This improves the length of time users watch video ringtones, thereby improving the user experience.
Smart Images

Figure CN2024097012_19122024_PF_FP_ABST
Abstract
Description
Method, device and storage medium for playing video ringback tone
[0001] This disclosure claims priority to Chinese patent application No. 202310731700.7, filed on June 16, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present disclosure relates to the field of mobile communication technologies, and in particular to a method, device, and storage medium for playing video ringback tone. Background Art
[0003] With the continuous development of mobile communication technology, video ringback tone has become a common function to improve user experience.
[0004] Summary of the Invention
[0005] 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 status 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.
[0006] On the other hand, a method for playing a video ringback tone is provided, which is applied to a calling device and includes: conducting 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.
[0007] In another aspect, a ring back tone platform is provided, comprising:
[0008] 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.
[0009] 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.
[0010] 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 call with the called device.
[0011] In another aspect, a calling device is provided, comprising:
[0012] The processing unit is used to negotiate audio and video media with the ringback tone platform.
[0013] 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.
[0014] The processing unit is further configured to play a video ringback tone during a call with the called device.
[0015] On the other hand, a 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 when the processor executes the computer program, the method for playing a video ring back tone described in any one of the above aspects or embodiments is implemented.
[0016] 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 when the processor executes the computer program, the method for playing a video ringback tone described in any one of the above aspects or embodiments is implemented.
[0017] 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 according to any one of the above aspects or embodiments is implemented.
[0018] 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 according to any one of the above aspects or embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present disclosure, the following briefly introduces the drawings required for use in some embodiments of the present disclosure. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0020] FIG1 is a schematic diagram of the architecture of a mobile communication system provided by some embodiments of the present disclosure.
[0021] FIG2 is a flow chart of a method for playing a video ringback tone provided by some embodiments of the present disclosure.
[0022] FIG3 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.
[0023] FIG4 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.
[0024] FIG5 is a schematic diagram of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
[0025] FIG6 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
[0026] FIG7 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.
[0027] FIG8 is a schematic diagram of a video call provided by some embodiments of the present disclosure.
[0028] FIG9 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
[0029] FIG10 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
[0030] FIG11 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.
[0031] FIG12 is a schematic structural diagram of a color ring back tone platform provided by some embodiments of the present disclosure.
[0032] FIG13 is a schematic structural diagram of a calling device provided in some embodiments of the present disclosure.
[0033] FIG14 is a schematic structural diagram of an electronic device provided in some embodiments of the present disclosure. DETAILED DESCRIPTION
[0034] The following will clearly and completely describe the technical solutions of this disclosure in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this disclosure, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of this disclosure without making any creative efforts shall fall within the scope of protection of this disclosure.
[0035] It should be noted that in this disclosure, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this disclosure as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present related concepts in some way.
[0036] In the following, the terms "first," "second," etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the quantity of the technical features indicated. Therefore, a feature specified as "first," "second," etc. may explicitly or implicitly include one or more of the features.
[0037] In the description of this disclosure, unless otherwise specified, " / " means "or." For example, A / B can mean A or B. "And / or" herein is simply a way to describe an association relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: only A, only B, and both A and B. Furthermore, "at least one" means one or more, and "a plurality" means two or more.
[0038] With the continuous development of mobile communication technology, video ringback tone has become a common function to improve user experience. However, since most calls are connected within 20 seconds during the call process, the average length of time users watch video ringback tone is short (specifically only 15 seconds). Therefore, the user experience of watching video ringback tone is reduced.
[0039] The disclosed embodiments provide a method, device, and storage medium for playing a video ringback tone; the method is applied to a mobile communication scenario (i.e., a calling device calls a called device via a phone number or social software). In this scenario, the calling device sends a call request to the called device and plays a video ringback tone; after receiving the call request, the called device picks up the phone 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 indicating the status of the camera of the called device; when the capability information indicates that the camera of the called device is off, 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 a 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 the user watches the video ringback tone, and subsequently improving the user's experience of watching the video ringback tone.
[0040] The following describes the process of making a call, answering a call, and playing a ringback tone (CRBT) between a calling device 101 and a called device 103, using the mobile communication system architecture diagram shown in Figure 1 . The communication system shown in Figure 1 includes: a calling device 101, a CRBT platform 102, and a called device 103; calling device 101 is connected to called device 103 via CRBT platform 102.
[0041] It should be understood that, generally, the various devices in the above system are connected wirelessly. In order to facilitate observation of the connection relationship between the various devices, they are marked with solid lines in FIG1 .
[0042] The process of calling, answering, and playing the ringback tone between the calling and called devices is shown in Figure 2, including:
[0043] S110 , the calling device 101 sends a call request to the called device 103 via the color ring back tone platform 102 .
[0044] The call request includes identification information of the called device 103 , such as the telephone number of the called device 103 .
[0045] An example implementation of 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 .
[0046] S120 : The calling device 101 obtains a video ringback tone from the ringback tone platform 102 .
[0047] It should be noted that the above-mentioned video RBT is a video RBT selected (ie, set or subscribed) by the called device 103 in the RBT platform 102 , that is, the RBT platform 102 contains a video RBT corresponding to the called device 103 .
[0048] An example 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.
[0049] S130: The calling device 101 plays the video ringback tone.
[0050] S140 : The called device 103 sends an off-hook message to the calling device 101 via the CRBT platform 102 .
[0051] The off-hook message is a response message of the called device 103 to the call request of the calling device 101; for example, 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.
[0052] 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.
[0053] S150: After receiving the off-hook message, the calling device 101 stops playing the video ringback tone.
[0054] S160: The calling device 101 establishes a call connection with the called device 103.
[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 disclosure is described by taking the case where the calling device 101 and the called device 103 are electronic devices with the same hardware structure as an example, and no further details will be given later.
[0057] For example, the CRBT platform 102 may be an application on a tablet computer, a laptop computer, a server, a desktop computer, or an electronic device.
[0058] The present disclosure provides a method for playing a video ringback tone (CRBT) during a call between a calling device and a called device, and can be applied to the communication system shown in Figure 1 . In conjunction with the aforementioned process of calling, answering, and playing a CRBT, the present disclosure also provides a method executed after S160 above, enabling the calling device to play the video CRBT even after the called device goes off-hook.
[0059] The method for playing video ringback tone provided by the present disclosure includes S210-S240 as shown in FIG3 .
[0060] S210: The CRBT platform obtains capability information of the called device.
[0061] The above-mentioned capability information is used to indicate the status of the camera of the called device; the status of the camera includes: on state and off state; among them, when the status of the camera is 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 status of the camera is 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 a called device detects that its camera is off, it sends an update message (e.g., an update message, hereinafter referred to as a first media update message) to a ringback tone platform, so that the ringback tone platform can obtain the called device's capability information from the first media update message. For example, the first media update message includes: video transceiver capability status information, or video transceiver port information; wherein the video transceiver capability status information and the video transceiver port information are both used to indicate the status of the called device's camera. In this case, the capability information can be the video transceiver capability status information or the video transceiver port information in the first media update message.
[0063] Exemplarily, it is assumed that the above-mentioned first media update message includes: status information of video transceiver 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 transceiver capability in the code block is a receive-only state (i.e., a=recvonly); that is, the called device only receives the video stream captured by the camera of the calling device sent by the calling device, and 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 CRBT platform. * /
[0066] m=audio 32674 RTP / AVP 99 101 / *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] a=sendrecv / *Used to indicate that the audio receiving and sending capability is in the send and receive state. * /
[0068] m=video 25150 RTP / 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 or 12. * /
[0069] a=recvonly / *Used to indicate that the state of the video receiving and sending capability is receiving-only, that is, only receiving video, not sending local video. * /
[0070] As another example, assume that the above-mentioned first media update message includes: video transceiver port information; based on the above-mentioned code block 1, when the video port number of the called device is 0 (that is, m=video 0 RTP / AVP 124 12), at this time, the called device has no port for sending and receiving video data, that is, the status 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.
[0071] In another embodiment, the CRBT platform determines the capability information of the called device based on the off-hook message in S140. It should be noted that in the disclosed embodiment, the off-hook message sent by the called device is used to instruct the calling device to establish an audio call (e.g., a voice call) or a one-way video call with the called device. A 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 captured by the camera of the called device to the calling device.
[0072] 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 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.
[0073] 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 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.
[0074] 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 ringback tone platform. 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.
[0075] For example, 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).
[0076] It should be noted that, when the CRBT platform receives the 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.
[0077] S220: The ringback tone platform negotiates audio and video media with the calling device.
[0078] Through audio and video media negotiation, the RBT platform can determine the content of the video RBT sent to the calling device, such as the video portion of the video RBT and / or the audio portion of the video RBT.
[0079] In combination with FIG3 , as shown in FIG4 , the example implementation of the above S220 includes: S221 - S222 .
[0080] S221. The color ring back tone platform sends an audio and video stream negotiation message to the calling device.
[0081] The audio and video stream negotiation message includes: the video and audio transceiver capability status of the CRBT platform; that is, the S221 is the CRBT platform sending its own audio and video stream transceiver capability to the calling device.
[0082] 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 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 video ringback tone to the calling device during a call. In this code block, "m=audio 32674 RTP / AVP 99 98 8 0 109 112 110 100 101 111 113 18 a=sendrecv" is used to indicate that the audio transceiver capability of the CRBT platform is in a transceiver state; m=video 25150 RTP / AVP 123 125 124 122 a=sendrecv is used to indicate that the video transceiver capability of the CRBT platform is in a transceiver state.
[0083] Code Block 2
[0084] Direction = NETWORK_TO_UE / *Used to indicate that the update is a message sent by the CRBT platform to the calling device. * /
[0085] P-Early-Media:sendrecv / * is used to indicate that the CRBT platform supports sending video CRBT to the calling device during a call. * /
[0086] m=audio 32674 RTP / AVP 99 98 8 0 109 112 110 100 101 111 113 18
[0087] a=sendrecv
[0088] m=video 25150 RTP / AVP 123 125 124 122
[0089] a=sendrecv
[0090] S222: The calling device sends a response message to the audio and video stream negotiation message to the CRBT platform.
[0091] 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.
[0092] 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 ringback 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 ringback tone platform; that is: in the scenario where the ringback tone platform sends a video ringback 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 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.
[0093] For example, assuming the response message is as shown in code block 3 below, audio 0 in this code block indicates that the calling device's port number for sending and receiving audio data is 0. The calling device has no port for sending and receiving audio data, and in this case, the calling device does not receive audio data sent by the CRBT platform. That is, if the CRBT platform subsequently sends a video CRBT to the calling device, the calling device does not receive the audio portion of the video CRBT sent by the CRBT platform. m=video 25150 a=sendrecv indicates that the calling device's video transceiver capability is in a transceiver-enabled state. That is, if the CRBT platform subsequently sends a video CRBT to the calling device, the calling device receives the video portion of the video CRBT sent by the CRBT platform.
[0094] Code Block 3
[0095] Direction = UE_TO_NETWORK
[0096] m=audio 0 RTP / AVP 99 101 / *Used to instruct the calling device not to receive audio data sent by the ringback tone platform. * /
[0097] a=sendrecv
[0098] m=video 25150 RTP / AVP 124 12
[0099] a=sendrecv
[0100] 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 ringback tone platform subsequently sends a video ringback tone to the calling device, the calling device does not receive the audio part of the video ringback tone sent by the ringback tone platform.
[0101] Code Block 4
[0102] Direction = UE_TO_NETWORK
[0103] m=audio 32674 RTP / AVP 99 101
[0104] a=inactive / *Used to indicate that the audio transceiver capability is in the removed state (i.e., not transmitting or receiving)* /
[0105] m=video 25150 RTP / AVP 124 12
[0106] a=sendrecv
[0107] It should be noted that, after receiving the response message, the CRBT platform indicates that the audio and video media negotiation is successful, and the CRBT platform executes the following S230.
[0108] S230: The CRBT platform sends a video CRBT to the calling device.
[0109] 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 ringback 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 ringback tone platform; therefore, the video ringback tone sent by the above ringback tone platform to the calling device only includes the video part of the video ringback tone, and does not include the audio part of the video ringback tone.
[0110] S240: The calling device plays the video ringback tone.
[0111] 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.
[0112] For example, as shown in FIG5 , the calling device and the called device are making a video call. Since the camera of the called device is off, the called device plays the video image sent by the calling device (referred to as the calling end video image); while the calling device plays the video ringback tone image.
[0113] In an embodiment of the present disclosure, 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 ringback tone platform. When the capability information indicates that the camera of the called device is in an off state, the ringback tone platform performs 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 call with the called device. This increases the time a user can watch the video ringback tone, thereby improving the user's experience of watching the video ringback tone.
[0114] In some embodiments, when a voice call is established between a calling device and a called device, the above-mentioned method for playing a video ringback tone further includes: the ringback tone platform negotiates audio and video media with the called device; 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; as shown in FIG6 , when the calling device plays the picture of video ringback tone A, the called device plays the picture of video ringback tone B.
[0115] The above method performs audio and video media negotiation with the called device through the ringback tone platform. After the audio and video media negotiation is successful, the ringback tone platform sends a video ringback tone to the called device; so that the called device plays the video ringback tone during the call with the calling device, thereby allowing the called user (i.e., the user using the called device) to watch the video ringback tone during the call between the calling device and the called device, further improving the user's experience of watching the video ringback tone.
[0116] It should be noted that in both the methods for playing video ringback rings shown in FIG. 3 and FIG. 4 , the calling device passively receives and plays the video ringback rings; thus, the flexibility of the methods for playing video ringback rings is relatively low.
[0117] The present disclosure provides another method for playing a video ringback tone (CRBT), which is applied to a call between a calling device and a called device, and can be applied to the communication system shown in Figure 1. In conjunction with the aforementioned process of calling, answering, and playing a CRBT, the present disclosure also provides a method executed after S160 above, enabling the calling device to actively receive and play the video ringback tone.
[0118] The method for playing video ringback tone provided by the present disclosure includes S310 to S360 as shown in FIG. 7 .
[0119] S310: The calling device sends target indication information to the CRBT platform.
[0120] 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 will not receive the video data sent by the called device during the call with the called device.
[0121] It should be noted that the above S310 can be executed by the calling device during a video call with the called device (ie, a two-way video call); or it can be executed after the calling device receives an off-hook message forwarded by the color ring back tone platform.
[0122] S320: The CRBT platform forwards the target indication information to the called device.
[0123] The target indication information is used to trigger the called device to send the capability information in S210 to the CRBT platform.
[0124] It should be noted that, in the case that 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.
[0125] For example, as shown in Figure 8, a calling device and a called device are in a video call. The calling device plays the called device's video, while the called device plays the calling device's video. When the user of the calling device clicks the "Play Ringback Ring Tone" button, the calling device forwards target indication information to the called device via the ringback ring platform, instructing it to play the video ringback ring during the call. After receiving this target indication information, as shown in Figure 9, the called device turns off its camera.
[0126] S330: The CRBT platform obtains capability information of the called device.
[0127] It should be noted that the above-mentioned capability information is consistent with the capability information in the above-mentioned S210. For the example description of the above-mentioned capability information, please refer to the above-mentioned 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 example implementation method of S330, please refer to the above-mentioned description of the first embodiment in S210, which will not be repeated here.
[0128] S340: The ringback tone platform negotiates audio and video media with the calling device.
[0129] S350: The CRBT platform sends a video CRBT to the calling device.
[0130] S360: The calling device plays the video ringback tone.
[0131] It should be noted that the implementation method of the above S340-S360 is consistent with the implementation method of S220-S240. For the example implementation method of S340-S360, please refer to the relevant description of S220-S240 above, which will not be repeated here.
[0132] In the embodiment of the present disclosure, a calling device sends target indication information to a called device through a color ring back tone platform, instructing the calling device to play a video color ring back tone during a call with the called device; so that the called device sets its camera status to off, 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.
[0133] In some embodiments, the method for playing the video ringback tone described in S310-S360 above may also be triggered by the called device, as shown in the following example:
[0134] As shown in Figure 8 , the calling device and the called device are in a video call. The calling device plays the called device's video, while the called device plays the calling device's video. When the user of the called device clicks the "Play Ringback Ringtone" button, the called device forwards target indication information to the calling device via the Ringback Ringtone platform, instructing the called device to play the video ringback ring during the call. After receiving this target indication information, the calling device turns off its camera, as shown in Figure 10 . The Ringback Ringtone platform then negotiates audio and video media with the called device and, upon successful negotiation, sends the video ringback ring to the called device, instructing it to play the video ringback ring. For example, as shown in Figure 10 , the called device plays the video ringback ring, while the calling device plays the called device's video.
[0135] In one embodiment, in combination with FIG. 3 , FIG. 4 or FIG. 7 , as shown in FIG. 11 , the method for playing a video ringback tone provided by the embodiment of the present disclosure further includes S410 - S430 after the above S240 or S360 .
[0136] S410: The calling device sends a second media update message to the CRBT platform.
[0137] The video transceiver capability status information or video transceiver port information in the second media update message is used to instruct the calling device to stop 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.
[0138] For example, 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 this 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).
[0139] Code Block 5
[0140] Direction = UE_TO_NETWORK
[0141] m=audio 32674 RTP / AVP 99 101
[0142] a=inactive / *Used to indicate that the audio transceiver capability is in the removed state (i.e., not transmitting or receiving)* /
[0143] m=video 25150 RTP / AVP 124 12
[0144] a=inactive / *Used to indicate that the audio transceiver capability is in the removed state (i.e., not transmitting or receiving)* /
[0145] As another example, the above-mentioned second media update message can be as shown in the following code block 6, where the audio transceiver port number in the audio transceiver port information is 0 (i.e., m=audio 0), that is, the calling device does not receive the audio data sent by the ringback tone platform at this time; the video transceiver port number in the video transceiver port information is 0 (i.e., m=video 0), that is, the calling device does not receive the video data sent by the ringback tone platform at this time.
[0146] Code Block 6
[0147] Direction = UE_TO_NETWORK
[0148] m=audio 0 RTP / AVP 99 101 / *Used to instruct the calling device not to receive audio data sent by the ringback tone platform. * /
[0149] a=sendrecv
[0150] m=video 0 RTP / AVP 124 12 / *Used to instruct the calling device not to receive video data sent by the ringback tone platform. * /
[0151] a=sendrecv
[0152] S420: The CRBT platform stops sending the video CRBT to the calling device.
[0153] The above S420 may include: after the above CRBT platform obtains that the calling device does not receive the audio data and video data sent by the CRBT platform, stopping sending the video CRBT to the calling device.
[0154] S430: The calling device stops playing the video ringback tone.
[0155] It should be noted that the above S430 can be executed before the above S420 or after the above S420. Specifically, the embodiment of the present disclosure does not limit the execution order of the above S420 and S430.
[0156] In an embodiment of the present disclosure, 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, causing the calling device to stop playing the video ringback tone. This improves the flexibility of the above-mentioned method for playing video ringback tone.
[0157] It is understandable that, in order to implement the above functions, the ringback tone platform includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily appreciate that, in conjunction with the algorithmic steps of the various examples described in the embodiments of the present disclosure, the present disclosure 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 may 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 disclosure.
[0158] The disclosed embodiments can divide the CRBT platform into functional modules according to the above-mentioned method embodiments. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one functional module. The above-mentioned integrated modules can be implemented in the form of hardware or software. It should be noted that the division of modules in the disclosed embodiments is schematic and is only a logical functional division. In actual implementation, other division methods can be used. The following is an example of dividing each functional module according to each function.
[0159] FIG12 is a schematic diagram of the structure of a CRBT platform provided by an embodiment of the present disclosure, which can execute the method for playing video CRBT provided by the above method embodiment. As shown in FIG12 , the CRBT platform includes: a transceiver unit 1210 and a processing unit 1220 .
[0160] The transceiver unit 1210 is configured to obtain capability information of the called device; the capability information indicates the camera status of the called device. The processing unit 1220 is configured to perform audio and video media negotiation with the calling device if the capability information indicates that the camera of the called device is off. The transceiver unit 1210 is configured 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.
[0161] 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.
[0162] 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 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.
[0163] In some embodiments, the transceiver unit 1210 is used to forward the 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 one-way video call indicated by the off-hook message; the capability information indicates that the status of the camera of the called terminal device is off.
[0164] In some embodiments, the transceiver unit 1210 is configured to receive target indication information from the calling device, wherein 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 further configured to forward the target indication information to the called device.
[0165] 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.
[0166] For the description of the above exemplary 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 their beneficial effects can refer to the above corresponding method embodiments, which will not be repeated here.
[0167] In the case of dividing each functional module into corresponding functional modules, a possible structural diagram of the calling device involved in the above embodiment is shown in FIG13 . As shown in FIG13 , the calling device includes: a processing unit 1310 and a transceiver unit 1320 .
[0168] Processing unit 1310 is configured to perform audio and video media negotiation with the CRBT platform. Transceiver unit 1320 is configured to receive a video CRBT sent by the CRBT platform after the audio and video media negotiation is successful. Processing unit 1310 is configured to play the video CRBT during a call with the called device.
[0169] In some embodiments, the transceiver unit 1320 is configured to receive an audio and video stream negotiation message sent by the CRBT platform. The transceiver unit 1320 is further configured to send a response message to the CRBT platform in response to the audio and video stream negotiation message; the audio transceiver capability status information or audio transceiver port information in the response message is used to instruct the calling device not to play the audio portion of the video CRBT; and the video transceiver capability status information or video transceiver port information in the response message is used to instruct the calling device to play the video portion of the video CRBT.
[0170] In some embodiments, the transceiver unit 1320 is configured to receive an off-hook message forwarded by the color ring back tone platform; wherein the off-hook message is a response message from the called device to the call request from 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 while receiving the video stream sent by the calling device. The processing unit 1310 is configured to establish the one-way video call or the audio call connection with the called device.
[0171] In some embodiments, the transceiver unit 1320 is configured to send target indication information to the CRBT platform; the target indication information is used to instruct the calling device to play the video CRBT during a call with the called device.
[0172] In some embodiments, the transceiver unit 1320 is configured 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 configured to stop playing the video CRBT.
[0173] In the case of implementing the functions of the above-mentioned integrated modules in hardware, the embodiments of the present disclosure provide another possible structure of the electronic device (i.e., calling device, ring back tone platform, or called device) involved in the above embodiments. As shown in Figure 14, the electronic device includes: a processor 1402 and a bus 1404. In some embodiments, the electronic device may also include a memory 1401; in some embodiments, the electronic device may also include a communication interface 1403.
[0174] Processor 1402 can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of this disclosure. Processor 1402 can 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 device, a transistor logic device, a hardware component, or any combination thereof, and can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of this disclosure. Processor 1402 can 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.
[0175] The communication interface 1403 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, or wireless local area network (WLAN).
[0176] The memory 1401 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device 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.
[0177] As a possible implementation, memory 1401 can exist independently of processor 1402. Memory 1401 can be connected to processor 1402 via bus 1404 to store instructions or program codes. When processor 1402 calls and executes the instructions or program codes stored in memory 1401, the method for playing video ringback tone provided in the embodiments of the present disclosure can be implemented.
[0178] In another possible implementation, the memory 1401 may also be integrated with the processor 1402 .
[0179] Bus 1404 can be an Extended Industry Standard Architecture (EISA) bus, etc. Bus 1404 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG14 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.
[0180] Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), which stores computer program instructions. When the computer program instructions are executed on a computer, the computer executes the method for playing a video ringback tone as described in any of the above embodiments.
[0181] 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 (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.). The various computer-readable storage media described in the present disclosure 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.
[0182] The embodiments of the present disclosure provide 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.
[0183] The above is only a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or replacements within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
Claims
1. A method for playing a video ringback tone, the method being applied to a ringback tone platform, the method comprising: Get the 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, wherein: 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, wherein: The video ringback tone includes the video part of the video ringback tone, but does not include the audio part; 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, wherein: 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; Acquiring capability information of the called device, including: 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, wherein: 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, wherein: 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, the method being applied to a calling device, the method comprising: 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, wherein: The video ringback tone includes the video part of the video ringback tone, but does not include the audio part; performing audio and video media negotiation with the ringback tone platform, including: Receiving an audio and video stream negotiation message sent by the color ring back tone platform; A response message of the audio and video stream negotiation message is sent to the ringback 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 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.
9. The method according to claim 7 or 8, wherein: Before performing 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, wherein the one-way video call is a call in which the called device does not send a video stream to the calling device while receiving the video stream sent by the calling device; A connection for the one-way video call or the audio call is established with the called device.
10. The method according to claim 7 or 8, wherein: Before performing 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, wherein: 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, comprising: 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, comprising: 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 comprising: 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-6 or claims 7-11.
15. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, which, when executed, implement the method according to any one of claims 1-6 or claims 7-11.
Citation Information
Patent Citations
Call processing method and equipment
CN111865883A
Video polyphonic ringtone playing method, device and equipment and computer storage medium
CN115484349A
Colorful Ring Back Tone Copying Method
US20080311895A1
Method and system for playing ringing back tone in IMS network
US20090262916A1
