[go: up one dir, main page]

WO2024255632A1 - Method and apparatus for playing video polyphonic ringtone, and storage medium - Google Patents

Method and apparatus for playing video polyphonic ringtone, and storage medium Download PDF

Info

Publication number
WO2024255632A1
WO2024255632A1 PCT/CN2024/097012 CN2024097012W WO2024255632A1 WO 2024255632 A1 WO2024255632 A1 WO 2024255632A1 CN 2024097012 W CN2024097012 W CN 2024097012W WO 2024255632 A1 WO2024255632 A1 WO 2024255632A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
audio
calling device
ringback tone
call
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/097012
Other languages
French (fr)
Chinese (zh)
Inventor
杨海城
周金星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2024255632A1 publication Critical patent/WO2024255632A1/en
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Definitions

  • the present disclosure relates to the field of mobile communication technology, and in particular to a method, device and storage medium for playing video ringback tone.
  • 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.
  • a method for playing a video ringback tone 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.
  • a color ring back tone platform comprising:
  • 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 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 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.
  • a calling device comprising:
  • 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 ringback tone sent by the ringback tone platform after the above-mentioned audio and video media negotiation is successful.
  • the processing unit is also used to play the video ringback tone during the call with the called device.
  • a color ring back tone platform 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 color ring back tone described in any one of the above aspects or embodiments is implemented.
  • a calling device 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.
  • a computer-readable storage medium on which computer program instructions are stored.
  • the computer program instructions are executed by a processor, the method for playing video ringback tone described in any one of the above aspects or embodiments is implemented.
  • a computer program product which includes computer program instructions, and when the computer program instructions are executed by a processor, the method for playing a video ringback tone described in any one of the above aspects or embodiments is implemented.
  • FIG1 is a schematic diagram of the architecture of a mobile communication system provided by some embodiments of the present disclosure.
  • FIG. 2 is a flow chart of a method for playing a video ringback tone provided by some embodiments of the present disclosure.
  • FIG3 is a flow chart of another method for playing video ringback tone provided by some embodiments of the present disclosure.
  • FIG. 4 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.
  • FIG5 is a schematic diagram of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
  • FIG. 6 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
  • FIG. 7 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.
  • FIG8 is a schematic diagram of a video call provided by some embodiments of the present disclosure.
  • FIG. 9 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
  • FIG. 10 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.
  • FIG. 11 is a flowchart of another method for playing video ringback tone provided in some embodiments of the present disclosure.
  • FIG. 12 is a schematic diagram of the structure of a color ring back tone platform provided by some embodiments of the present disclosure.
  • FIG. 13 is a schematic diagram of the structure of a calling device provided in some embodiments of the present disclosure.
  • FIG. 14 is a schematic diagram of the structure of an electronic device provided in some embodiments of the present disclosure.
  • first”, “second”, etc. 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.
  • a feature defined as “first”, “second”, etc. may explicitly or implicitly include one or more of the features.
  • 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.
  • the disclosed embodiment 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).
  • 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.
  • 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.
  • the communication system shown in FIG1 includes: a calling device 101, a ring back tone platform 102 and a called device 103; the calling device 101 is connected to the called device 103 via the ring back tone platform 102.
  • FIG2 The process of calling, answering and playing the ringback tone between the calling device and the called device is shown in FIG2, and includes:
  • the calling device 101 sends a conversation (call) request to the called device 103 through the color ring back tone platform 102 .
  • the call request includes identification information of the called device 103 , such as the telephone number of the called device 103 .
  • 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 .
  • the calling device 101 obtains a video ringback tone from the ringback tone platform 102 .
  • 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 .
  • 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 .
  • the calling device 101 plays a video ringback tone.
  • S140 The called device 103 sends an off-hook message to the calling device 101 through the color ring back tone platform 102 .
  • 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.
  • the CRBT platform 102 stops sending the video CRBT to the calling device.
  • S160 The calling device 101 establishes a call connection with the called device 103.
  • 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.
  • 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 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.
  • 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.
  • the embodiment of the present disclosure 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 to the communication system shown in the above FIG1.
  • the present disclosure also provides a method that continues 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.
  • the method for playing video ringback tone provided by the present disclosure includes S210-S240 as shown in FIG3 .
  • the color ring back tone platform obtains capability information of the called device.
  • the above capability information is used to indicate the state of the camera of the called device; the state of the camera includes: on state and off state; wherein, when the state of the camera is off state, the called device does not support sending the video captured by the camera of the called device to the calling device stream (ie, video data); when the camera is in the on state, the called device supports sending the video stream captured by the camera of the called device to the calling device.
  • the state of the camera includes: on state and off state; wherein, when the state of the camera is off state, the called device does not support sending the video captured by the camera of the called device to the calling device stream (ie, video data); when the camera is in the on state, the called device supports sending the video stream captured by the camera of the called device to the calling device.
  • the called device 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.
  • 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.
  • the above capability information can be the status information of the video transceiver capability, or the video transceiver port information in the above first media update message.
  • Direction UE_TO_NETWORK/* is used to indicate that the message is sent by the called device to the color ring back tone platform. */
  • 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. */
  • 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 and 12. */
  • a recvonly/*Used to indicate that the state of the video transceiver capability is only receiving state, that is, only receiving video, not sending local video. */
  • 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.
  • 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.
  • 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.
  • the calling device initiates a video call request to the called device.
  • the called device receives the video call request, the user of the called device can choose a voice call.
  • 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.
  • the calling device initiates a video call request to the called device.
  • the user of the called device can choose a one-way video call.
  • the called device sends an off-hook message to the calling device through the color ring back tone platform.
  • the off-hook message is used to instruct the calling device to establish a one-way video call with the called device.
  • user A using the calling device cannot see the user A using the called device.
  • the off-hook message in the above 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).
  • 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).
  • the CRBT platform may be triggered to execute the following S220.
  • S220 The ring back tone platform negotiates audio and video media with the calling device.
  • 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.
  • the example implementation of the above S220 includes: S221 - S222 .
  • the color ring back tone platform sends an audio and video stream negotiation message to the calling device.
  • 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.
  • 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.
  • S222 The calling device sends a response message of the audio and video stream negotiation message to the color ring back tone platform.
  • 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.
  • 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.
  • 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.
  • 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.
  • the above CRBT platform indicates that the audio and video media negotiation is successful, and the CRBT platform executes the following S230.
  • the ring back tone platform sends a video ring back tone to the calling device.
  • 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.
  • S240 The calling device plays a video ringback tone.
  • the above video ringback tone is played during the call between the calling device and the called device.
  • 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.
  • 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 further improving the user's experience of watching the video color ring back tone.
  • 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, 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; as shown in FIG6 , when the calling device plays the screen of video ringback tone A, the called device plays the screen of video ringback tone B.
  • the above method performs audio and video media negotiation with the called device through the color ring back tone platform.
  • the color ring back tone platform sends a
  • the calling device sends a video ringback tone; so that the called device plays the video ringback 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 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.
  • 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.
  • the embodiment of the present disclosure 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 to the communication system shown in the above FIG1.
  • the present disclosure further provides a method that is continued to be executed after the above S160, so that the calling device actively receives and plays a video ringback tone.
  • the method for playing video ringback tone provided by the present disclosure includes S310-S360 as shown in FIG. 7 .
  • S310 The calling device sends 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 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.
  • 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.
  • 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.
  • the target indication information is also used to instruct the called device to set the state of the camera to an off state.
  • the calling device and the called device are making a video call.
  • the calling device plays the video screen of the called end
  • the called device plays the video screen of the calling end.
  • 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.
  • the called device receives the target information, as shown in FIG9 , the called device turns off the camera.
  • the color ring back tone platform obtains capability information of the called device.
  • the above-mentioned capability information is consistent with the capability information in the above-mentioned S210.
  • the implementation method of the above-mentioned S330 is consistent with the implementation method of the first embodiment in S210.
  • the example implementation method of S330 please refer to the relevant description of the first embodiment in S210, which will not be repeated here.
  • the ring back tone platform negotiates audio and video media with the calling device.
  • the color ring back tone platform sends a video color ring back tone to the calling device.
  • S360 The calling device plays the video ringback tone.
  • 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.
  • 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:
  • the calling device and the called device are making a video call.
  • the calling device plays the video screen of the called end
  • the called device plays the video screen of the calling end.
  • the called device forwards the target instruction 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.
  • the calling device turns off the camera, as shown in FIG10.
  • the CRBT platform negotiates the audio and video media with the called device, and sends a video CRBT to the called device after the negotiation is successful, so that the called device plays the video CRBT; for example, as shown in FIG10, the called device plays the video CRBT, and the calling device plays the video screen of the called end.
  • the method for playing a video ringback tone provided by the embodiment of the present disclosure after the above S240 or S360, further includes: S410 - S430.
  • S410 The calling device sends a second media update message to the color ring back tone platform.
  • 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.
  • 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).
  • m video 0 RTP/AVP 124 12/*Used to instruct the calling device not to receive the video data sent by the ringback tone platform. */
  • the above S420 may include: 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.
  • the above S430 may 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.
  • a second media update message for instructing the calling device to stop playing the video ringback tone is sent to a ringback tone platform; 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.
  • the CRBT platform includes hardware structures and/or software modules that execute the corresponding functions.
  • the present disclosure can be implemented in hardware or software.
  • the invention can be realized in the form of 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 beyond the scope of this disclosure.
  • the disclosed embodiment can divide the function modules of the ring back tone platform according to the above method embodiment.
  • 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 disclosed embodiment 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.
  • FIG12 is a schematic diagram of the structure of a color ring back tone platform provided by an embodiment of the present disclosure, and the color ring back tone platform can execute the method for playing video color ring back tone provided by the above method embodiment.
  • the color ring back tone platform includes: a transceiver unit 1210 and a processing unit 1220 .
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • the calling device includes: a processing unit 1310 and a transceiver unit 1320.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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-mentioned embodiments.
  • the electronic device includes: a processor 1402 and a bus 1404.
  • the electronic device may also include a memory 1401; in some embodiments, the electronic device may also include a communication interface 1403.
  • the processor 1402 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure.
  • 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 device, a transistor logic device, a hardware component, or any combination thereof, which may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure.
  • the 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.
  • the communication interface 1403 is used to connect with other devices through a communication network.
  • the communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.
  • 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 codes in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
  • ROM read-only memory
  • RAM random access memory
  • EEPROM electrically erasable programmable read-only memory
  • disk storage medium or other magnetic storage device or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
  • 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.
  • 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 disclosure can be implemented.
  • the memory 1401 may also be integrated with the processor 1402 .
  • the bus 1404 may be an extended industry standard architecture (EISA) bus or the like. It can be divided into address bus, data bus, control bus, etc. For the convenience of representation, only one thick line is used in FIG14 , but it does not mean that there is only one bus or one type of bus.
  • EISA extended industry standard architecture
  • Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), in which computer program instructions are stored.
  • a computer-readable storage medium e.g., a non-transitory computer-readable storage medium
  • the computer executes the method for playing video ringback tone as described in any of the above embodiments.
  • 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 Memory (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.
  • the embodiments of the present disclosure provide a computer program product including instructions.
  • the computer program product 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.

Landscapes

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

Abstract

Provided in the embodiments of the present disclosure are a method and apparatus for playing a video polyphonic ringtone, and a storage medium. The method is applied to a polyphonic ringtone platform. The method comprises: acquiring capability information of a called device, wherein the capability information is used for indicating the state of a camera of the called device; when the capability information indicates that the camera of the called device is in a closed state, performing audio and video media negotiation with a calling device; and after the audio and video media negotiation is successful, sending a video polyphonic ringtone to the calling device, such that the calling device plays the video polyphonic ringtone during a call process with the called device.

Description

播放视频彩铃的方法、装置及存储介质Method, device and storage medium for playing video ringback tone

本公开要求于2023年06月16日提交的、申请号为202310731700.7的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This disclosure claims priority to Chinese patent application No. 202310731700.7, filed on June 16, 2023, the entire contents of which are incorporated by reference into this application.

技术领域Technical Field

本公开涉及移动通信技术领域,尤其涉及一种播放视频彩铃的方法、装置及存储介质。The present disclosure 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

随着移动通信技术的不断发展,视频彩铃已成为提高用户体验感的常用功能。With the continuous development of mobile communication technology, video ringback tone has become a common function to improve user experience.

发明内容Summary of the invention

一方面,提供一种播放视频彩铃的方法,该方法应用于彩铃平台,该方法包括:获取被叫设备的能力信息;该能力信息用于指示被叫设备的摄像头的状态;在该能力信息指示被叫设备的摄像头处于关闭状态的情况下,与主叫设备进行音视频媒体协商;在该音视频媒体协商成功后,向主叫设备发送视频彩铃,以使得该主叫设备在与被叫设备通话的过程中播放该视频彩铃。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.

另一方面,提供一种播放视频彩铃的方法,该方法应用于主叫设备,该方法包括:与彩铃平台进行音视频媒体协商;在音视频媒体协商成功后,接收彩铃平台发送的视频彩铃;在与被叫设备的通话过程中播放视频彩铃。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.

再一方面,提供一种彩铃平台,包括:On the other hand, a color ring back tone platform is provided, comprising:

收发单元,用于获取被叫设备的能力信息;该能力信息用于指示被叫设备的摄像头的状态。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 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 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.

再一方面,提供一种主叫设备,包括:On the other hand, a calling device is provided, comprising:

处理单元,用于与彩铃平台进行音视频媒体协商。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 ringback tone sent by the ringback tone platform after the above-mentioned audio and video media negotiation is successful.

处理单元,还用于在与被叫设备的通话过程中播放视频彩铃。The processing unit is also used to play the video ringback tone during the call with the called device.

又一方面,提供一种彩铃平台,包括:存储器和处理器;存储器和处理器耦合;存储器用于存储计算机程序;处理器执行计算机程序时实现上述方面或实施例中任一项所述的播放视频彩铃的方法。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 when the processor executes the computer program, the method for playing a video color ring back tone described in any one of the above aspects or embodiments is implemented.

又一方面,提供一种主叫设备,包括:存储器和处理器;存储器和处理器耦合;存储器用于存储计算机程序;处理器执行计算机程序时实现上述方面或实施例中任一项所述的播放视频彩铃的方法。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.

又一方面,提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序指令,该计算机程序指令被处理器执行时实现上述方面或实施例中任一项所述的播放视频彩铃的方法。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 one of the above aspects or embodiments is implemented.

又一方面,提供一种计算机程序产品,该计算机程序产品包括计算机程序指令,该计算机程序指令被处理器执行时实现上述方面或实施例中任一项所述的播放视频彩铃的方法。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 a video ringback tone described in any one of the above aspects or embodiments is implemented.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本公开中的技术方案,下面将对本公开一些实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例的附图,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the present disclosure, the drawings required for use in some embodiments of the present disclosure will be briefly introduced below. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure, and a person skilled in the art can also obtain other drawings based on these drawings.

图1为本公开一些实施例提供的一种移动通信系统的架构示意图。FIG1 is a schematic diagram of the architecture of a mobile communication system provided by some embodiments of the present disclosure.

图2为本公开一些实施例提供的一种播放视频彩铃的方法的流程示意图。FIG. 2 is a flow chart of a method for playing a video ringback tone provided by some embodiments of the present disclosure.

图3为本公开一些实施例提供的另一种播放视频彩铃的方法的流程示意图。FIG3 is a flow chart of another method for playing video ringback tone provided by some embodiments of the present disclosure.

图4为本公开一些实施例提供的又一种播放视频彩铃的方法的流程示意图。FIG. 4 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.

图5为本公开一些实施例提供的一种在通话过程中播放视频彩铃的示意图。FIG5 is a schematic diagram of playing a video ringback tone during a call provided by some embodiments of the present disclosure.

图6为本公开一些实施例提供的另一种在通话过程中播放视频彩铃的示意图。FIG. 6 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.

图7为本公开一些实施例提供的又一种播放视频彩铃的方法的流程示意图。FIG. 7 is a flowchart of another method for playing a video ringback tone provided by some embodiments of the present disclosure.

图8为本公开一些实施例提供的一种视频通话的示意图。FIG8 is a schematic diagram of a video call provided by some embodiments of the present disclosure.

图9为本公开一些实施例提供的又一种在通话过程中播放视频彩铃的示意图。FIG. 9 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.

图10为本公开一些实施例提供的又一种在通话过程中播放视频彩铃的示意图。FIG. 10 is a schematic diagram of another method of playing a video ringback tone during a call provided by some embodiments of the present disclosure.

图11为本公开一些实施例提供的又一种播放视频彩铃的方法的流程示意图。FIG. 11 is a flowchart of another method for playing video ringback tone provided in some embodiments of the present disclosure.

图12为本公开一些实施例提供的一种彩铃平台的结构示意图。FIG. 12 is a schematic diagram of the structure of a color ring back tone platform provided by some embodiments of the present disclosure.

图13为本公开一些实施例提供的一种主叫设备的结构示意图。FIG. 13 is a schematic diagram of the structure of a calling device provided in some embodiments of the present disclosure.

图14为本公开一些实施例提供的一种电子设备的结构示意图。FIG. 14 is a schematic diagram of the structure of an electronic device provided in some embodiments of the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面将结合本公开中的附图,对本公开中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will be combined with the drawings in the present disclosure to clearly and completely describe the technical solutions in the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

需要说明的是,在本公开中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本公开中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以一些方式呈现相关概念。It should be noted that, in the present disclosure, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in some way.

以下,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。In the following, the terms "first", "second", etc. 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", "second", etc. may explicitly or implicitly include one or more of the features.

在本公开的描述中,除非另有说明,“/”表示“或”的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:仅A、仅B、以及A和B。此外,“至少一个”是指一个或多个,“多个”是指两个或两个以上。In the description of the present disclosure, unless otherwise specified, "/" means "or", for example, A/B can mean A or B. "And/or" in this article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and/or B can mean: only A, only B, and A and B. In addition, "at least one" means one or more, and "a plurality" means two or more.

随着移动通信技术的不断发展,视频彩铃已成为提高用户体验感的常用功能;然而,由于大部分的电话在呼叫过程中会在20秒内会被接通,以使得用户观看视频彩铃的平均时长较短(具体只有15秒);因此,降低了用户观看视频彩铃的体验感。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.

本公开实施例提供了一种播放视频彩铃的方法、装置及存储介质;该方法应用于移动通信的场景(即:主叫设备通过电话号码或社交软件呼叫被叫设备)中。在该场景中,主叫设备向被叫设备发送通话请求,并播放视频彩铃;被叫设备接收到该通话请求后进行摘机,并向主叫设备发送摘机消息;主叫设备在接收到该摘机消息后,停止播放视频彩铃,并与被叫设备建立通话连接。然后,彩铃平台获取用于指示被叫设备的摄像头的状态的能力信息;在该能力信息指示被叫设备的摄像头处于关闭状态的情况下,彩铃平台与主叫设备进行音视频媒体协商;并在该音视频媒体协商成功后,彩铃平台向主叫设备发送视频彩铃;以使主叫设备在与被叫设备通话的过程中播放该视频彩铃;从而提高了用户观看视频彩铃的时长,继而提高了用户观看视频彩铃的体验感。 The disclosed embodiment 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.

下面,先结合图1示例的移动通信系统的架构示意图介绍主叫设备101与被叫设备103之间进行呼叫、应答以及播放彩铃的过程。图1所示的通信系统包括:主叫设备101、彩铃平台102以及被叫设备103;主叫设备101通过彩铃平台102与被叫设备103连接。Next, the process of calling, answering and playing a ring back tone between a calling device 101 and a called device 103 will be described in conjunction with the schematic diagram of the architecture of the mobile communication system shown in FIG1. The communication system shown in FIG1 includes: a calling device 101, a ring back tone platform 102 and a called device 103; the calling device 101 is connected to the called device 103 via the ring back tone platform 102.

应理解的是,一般情况下上述系统中的各个设备通过无线连接,为了便于观察各个设备之间的连接关系,图1中如实线标识。It should be understood that, in general, 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 FIG. 1 .

主叫设备与被叫设备之间进行呼叫、应答以及播放彩铃的过程如图2所示,包括:The process of calling, answering and playing the ringback tone between the calling device and the called device is shown in FIG2, and includes:

S110、主叫设备101通过彩铃平台102向被叫设备103发送通话(呼叫)请求。S110 , the calling device 101 sends a conversation (call) request to the called device 103 through the color ring back tone platform 102 .

上述通话请求中包括被叫设备103的标识信息,例如被叫设备103的电话号码。The call request includes identification information of the called device 103 , such as the telephone number of the called device 103 .

上述S110的示例实现方式包括:主叫设备101向彩铃平台102发送通话请求;然后,彩铃平台102根据该通话请求中的被叫设备103的标识信息,确定被叫设备103,并将该通话请求转发至被叫设备103。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 .

S120、主叫设备101从彩铃平台102获取视频彩铃。S120 : The calling device 101 obtains a video ringback tone from the ringback tone platform 102 .

需要说明的是,上述视频彩铃是被叫设备103在彩铃平台102中选择(即:设置或订购)的视频彩铃,即彩铃平台102中存在被叫设备103对应的视频彩铃。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 .

上述S120的一种示例实现方式包括:彩铃平台102根据摘机消息中的被叫设备103的标识,确定该被叫设备103设置有视频彩铃,进而彩铃平台102将被叫设备103设置的视频彩铃发送至主叫设备101。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 .

S130、主叫设备101播放视频彩铃。S130: The calling device 101 plays a video ringback tone.

S140、被叫设备103通过彩铃平台102向主叫设备101发送摘机消息。S140 : The called device 103 sends an off-hook message to the calling device 101 through the color ring back tone platform 102 .

上述摘机消息是被叫设备103对主叫设备101的通话请求的应答消息;例如,该摘机消息是被叫设备103接听上述通话请求所表征的通话后,被叫设备103向主叫设备101发送的该通话请求的应答消息。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.

需要说明的是,上述彩铃平台102接收到被叫设备103向主叫设备101发送的摘机消息后,彩铃平台102停止向主叫设备发送视频彩铃。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.

S150、主叫设备101接收到摘机消息后,停止播放视频彩铃。S150: After receiving the off-hook message, the calling device 101 stops playing the video ringback tone.

S160、主叫设备101与被叫设备103建立通话连接。S160: The calling device 101 establishes a call connection with the called device 103.

示例性地,上述主叫设备101和被叫设备103可以为手机、平板电脑、笔记本电脑、上网本或者台式电脑等电子设备。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.

需要说明的是,上述主叫设备101与被叫设备103可以是硬件结构相同的电子设备,也可是硬件结构不同的电子设备,本公开实施例以主叫设备101与被叫设备103是硬件结构相同的电子设备为例进行说明,后续不再赘述。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 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.

示例性地,上述彩铃平台102可以为平板电脑、笔记本电脑、服务器、台式电脑或电子设备上的一种应用等。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.

本公开实施例提供了一种播放视频彩铃的方法,该方法应用于在主叫设备与被叫设备通话的场景中,且该方法可以应用在上述图1所示的通信系统。结合上述主叫设备与被叫设备进行呼叫、应答以及播放彩铃的过程,本公开还提供了在上述S160之后继续执行的方法,以使得被叫设备摘机后,主叫设备还可以播放视频彩铃。The embodiment of the present disclosure 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 to the communication system shown in the above FIG1. In combination with the above process of calling, answering and playing a ringback tone between the calling device and the called device, the present disclosure also provides a method that continues 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.

本公开提供的播放视频彩铃的方法,如图3所示包括S210-S240。The method for playing video ringback tone provided by the present disclosure includes S210-S240 as shown in FIG3 .

S210、彩铃平台获取被叫设备的能力信息。S210. The color ring back tone platform obtains capability information of the called device.

上述能力信息用于指示被叫设备的摄像头的状态;该摄像头的状态包括:开启状态和关闭状态;其中,在该摄像头的状态为关闭状态的情况下,被叫设备不支持向主叫设备发送该被叫设备的摄像头捕获的视频 流(即视频数据);在该摄像头的状态为开启状态的情况下,被叫设备支持向主叫设备发送该被叫设备的摄像头捕获的视频流。The above capability information is used to indicate the state of the camera of the called device; the state of the camera includes: on state and off state; wherein, when the state of the camera is off state, the called device does not support sending the video captured by the camera of the called device to the calling device stream (ie, video data); when the camera is in the on state, the called device supports sending the video stream captured by the camera of the called device to the calling device.

在一种实施例中,被叫设备检测到该被叫设备的摄像头的状态处于关闭状态的情况下,该被叫设备向彩铃平台发送更新消息(如update消息,以下称为第一媒体更新消息),从而彩铃平台可以从第一媒体更新消息中获取被叫设备的能力信息。例如,该第一媒体更新消息中包括:视频收发能力的状态信息,或视频收发端口信息;其中,视频收发能力的状态信息和视频收发端口信息均用于指示该被叫设备的摄像头的状态。此时,上述能力信息可以为上述第一媒体更新消息中视频收发能力的状态信息,或视频收发端口信息。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. For example, 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 capability information can be the status information of the video transceiver capability, or the video transceiver port information in the above first media update message.

示例性地,假设上述第一媒体更新消息包括:视频收发能力的状态信息;此时,该第一媒体更新消息的消息体如下述代码块1所示,该代码块中的视频收发能力的状态为仅接收状态(即:a=recvonly);也就是说,被叫设备只接收主叫设备发送该主叫设备的摄像头捕获的视频流,而不向主叫设备发送该被叫设备的摄像头捕获的视频流;即,此时该被叫设备的摄像头的状态为关闭状态。Exemplarily, it is assumed 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.

代码块1Code Block 1

Direction=UE_TO_NETWORK/*用于指示该消息是被叫设备发送至彩铃平台的消息。*/Direction = UE_TO_NETWORK/* is used to indicate that the message is sent by the called device to the color ring back tone platform. */

m=audio 32674 RTP/AVP 99 101/*用于指示被叫设备音频端口号为32674,音频传输协议为实时传输协议(teal-time transport protocol,RTP)或者音频视频配置文件(Audio Video Profile,AVP);协议类型为99和101。*/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. */

a=sendrecv/*用于指示音频收发能力的状态为可收可发状态。*/a=sendrecv/*Used to indicate that the state of audio receiving and sending capability is both receiving and sending state. */

m=video 25150 RTP/AVP 124 12/*用于指示被叫设备视频端口号为25150,视频传输协议为RTP或AVP,协议类型为124和12。*/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 and 12. */

a=recvonly/*用于指示视频收发能力的状态为仅接收状态,即仅接收视频,不发送本地视频。*/a=recvonly/*Used to indicate that the state of the video transceiver capability is only receiving state, that is, only receiving video, not sending local video. */

又一示例性地,假设上述第一媒体更新消息包括:视频收发端口信息;基于上述代码块1,在被叫设备的视频端口号为0(即:m=video 0 RTP/AVP 124 12)的情况下,此时,该被叫设备无端口收发视频数据,也就是说,该被叫设备的视频收发能力的状态为不可收发状态,即,此时该被叫设备的摄像头处于关闭状态。As another example, assume that the first media update message includes: video sending and receiving port information; based on the code block 1, when the video port number of the called device is 0 (ie: 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 state of the video sending and receiving capability of the called device is a non-sending state, that is, the camera of the called device is in an off state at this time.

在另一种实施例中,上述彩铃平台根据上述S140中的摘机消息确定被叫设备的能力信息。需要说明的是,本公开实施例中,被叫设备发送的摘机消息用于指示主叫设备与被叫设备建立音频通话(如:语音通话)或者单向视频通话,其中,单向视频通话是被叫设备仅接收主叫设备发送的视频流,而不向主叫设备发送该被叫设备的摄像头捕获的视频流的通话。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 disclosure, 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.

应理解的是,无论是主叫设备与被叫设备在音频通话的过程,还是主叫设备与被叫设备在单向视频通话的过程,被叫设备均不需要向主叫设备发送该被叫设备的摄像头捕获的视频流;所以在摘机消息指示主叫设备与被叫设备建立音频通话或者单向视频通话的情况下,彩铃平台可以根据该摘机消息指示的音频通话或者单向视频通话,确定上述被叫设备的能力信息。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.

示例性地,假设主叫设备向被叫设备发起视频通话请求,被叫设备接收到该视频通话请求后,被叫设备的用户可以选择语音通话,此时,被叫设备通过彩铃平台向主叫设备发送摘机消息,该摘机消息用于指示主叫设备与被叫设备建立语音通话(即:音频通话)。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.

又一示例性地,假设主叫设备向被叫设备发起视频通话请求,被叫设备接收到该视频通话请求后,被叫设备的用户可以选择单向视频通话,此时,被叫设备通过彩铃平台向主叫设备发送摘机消息,该摘机消息用于指示主叫设备与被叫设备建立单向视频通话;该通话建立成功后,使用主叫设备的用户A看不到使用被 叫设备的用户B的视频画面;但用户B可以看到用户A的视频画面。In 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 ring back 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 user A using the called device. The video screen of user B who called the device; however, user B can see the video screen of user A.

例如,在该种实施例中,上述S140中的摘机消息中可以包括用于指示主叫设备与被叫设备待建立通话类型(如:音频通话或单向视频通话)的指示信息。For example, in this embodiment, the off-hook message in the above 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).

应注意的是,在彩铃平台接收到上述能力信息,且该能力信息指示该被叫设备的摄像头处于关闭状态的情况下,可触发彩铃平台执行下述S220。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.

S220、彩铃平台与主叫设备进行音视频媒体协商。S220: The ring back tone platform negotiates audio and video media with the calling device.

通过音视频媒体协商,彩铃平台可以确定向主叫设备发送的视频彩铃的内容,如视频彩铃的视频部分和/或视频彩铃的音频部分。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.

结合图3,如图4所示,上述S220的示例实现,包括:S221-S222。In combination with FIG. 3 , as shown in FIG. 4 , the example implementation of the above S220 includes: S221 - S222 .

S221、彩铃平台向主叫设备发送音视频流协商消息。S221. The color ring back tone platform sends an audio and video stream negotiation message to the calling device.

上述音视频流协商消息中包括:彩铃平台的视频收发能力的状态和音频收发能力的状态;也就是说,上述S221是彩铃平台将自身具有的音视频流的收发能力发送给主叫设备。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.

示例性地,该音视频流协商消息(如update消息),该消息的消息体如下述代码块2所示,该代码块中的P-Early-Media是用于表示该彩铃平台是否支持在通话过程(即:主叫设备与被叫设备的通话过程)中,向主叫设备发送视频彩铃的属性;该P-Early-Media属性的属性值为sendrecv时,表示该彩铃平台支持在通话过程中向主叫设备发送视频彩铃。该代码块中的“m=audio 32674 RTP/AVP 99 98 8 0 109 112 110 100 101 111 113 18 a=sendrecv”用于指示该彩铃平台的音频收发能力的状态为可收发状态;m=video 25150 RTP/AVP 123 125 124 122 a=sendrecv用于指示该彩铃平台的视频收发能力的状态为可收发状态。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 ringback tone platform is in the transceiver state; m=video 25150 RTP/AVP 123 125 124 122 a=sendrecv is used to indicate that the video transceiver capability of the ringback tone platform is in the transceiver state.

代码块2Code Block 2

Direction=NETWORK_TO_UE/*用于指示该update是彩铃平台发送给主叫设备的消息。*/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. */

P-Early-Media:sendrecv/*用于指示彩铃平台支持在通话过程中向主叫设备发送视频彩铃。*/P-Early-Media:sendrecv/*Used to indicate that the CRBT platform supports sending video CRBT to the calling device during a call. */

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

a=sendrecva=sendrecv

m=video 25150 RTP/AVP 123 125 124 122m=video 25150 RTP/AVP 123 125 124 122

a=sendrecva=sendrecv

S222、主叫设备向彩铃平台发送音视频流协商消息的响应消息。S222: The calling device sends a response message of the audio and video stream negotiation message to the color ring back tone platform.

需要说明的是,上述S221是彩铃平台将自身具有的音视频流的收发能力发送给主叫设备;此时上述响应消息用于指示主叫设备从彩铃平台具有的音视频流的收发能力中,选择的能力的信息。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.

上述响应消息中的音频收发能力的状态信息或音频收发端口信息用于指示主叫设备不接收彩铃平台发送的音频数据;该响应消息中的视频收发能力的状态信息或视频收发端口信息用于指示该主叫设备接收彩铃平台发送的视频数据;即:在彩铃平台向主叫设备发送视频彩铃的场景中,上述响应消息中的音频收发能力的状态信息或音频收发端口信息用于指示主叫设备不播放视频彩铃的音频部分;该响应消息中的视频收发能力的状态信息或视频收发端口信息用于指示主叫设备播放视频彩铃的视频部分。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.

示例性地,假设该响应消息如下述代码块3所示,该代码块中的audio 0用于表示主叫设备收发音频数据的端口号为0,该主叫设备无端口收发音频数据,此时该主叫设备不接收彩铃平台发送的音频数据;即:在彩铃平台后续向主叫设备发送视频彩铃的情况下,该主叫设备不接收该彩铃平台发送的视频彩铃的音频部分。m=video 25150 a=sendrecv用于表示该主叫设备的视频收发能力状态为可收发状态,即:在彩铃平台后续向主叫设备发送视频彩铃的情况下,该主叫设备接收该彩铃平台发送的视频彩铃的视频部分。 For example, assuming that the response message is as shown in the following code block 3, audio 0 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 calling device has no port 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 25150 a=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.

代码块3Code Block 3

Direction=UE_TO_NETWORKDirection = UE_TO_NETWORK

m=audio 0 RTP/AVP 99 101/*用于指示主叫设备不接收彩铃平台发送的音频数据。*/m=audio 0 RTP/AVP 99 101/*Used to instruct the calling device not to receive the audio data sent by the ringback tone platform. */

a=sendrecva=sendrecv

m=video 25150 RTP/AVP 124 12m=video 25150 RTP/AVP 124 12

a=sendrecva=sendrecv

又一示例性地,假设上述响应消息如下代码块4所示,该代码块中的音频的收发能力状态为移除状态inactive(即:不收发状态);此时,在彩铃平台后续向主叫设备发送视频彩铃的情况下,该主叫设备不接收该彩铃平台发送的视频彩铃的音频部分。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.

代码块4Code Block 4

Direction=UE_TO_NETWORKDirection = UE_TO_NETWORK

m=audio 32674 RTP/AVP 99 101m=audio 32674 RTP/AVP 99 101

a=inactive/*用于指示音频收发能力的状态为移除状态(即:不收发状态)*/a=inactive/*Used to indicate that the state of audio transceiver capability is removed (i.e., not transceiver)*/

m=video 25150 RTP/AVP 124 12m=video 25150 RTP/AVP 124 12

a=sendrecva=sendrecv

需要说明的是,上述彩铃平台在接收到上述响应消息后,表示该音视频媒体协商成功,彩铃平台执行下述S230。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.

S230、彩铃平台向主叫设备发送视频彩铃。S230: The ring back tone platform sends a video ring back tone to the calling device.

需要说明的是,由于上述S222中的响应消息中的音频收发能力的状态信息或音频收发端口信息指示主叫设备不接收彩铃平台发送的音频数据,且该响应消息中的视频收发能力的状态信息或视频收发端口信息指示主叫设备接收彩铃平台发送的视频数据;所以上述彩铃平台向主叫设备发送的视频彩铃仅包括该视频彩铃的视频部分,不包括该视频彩铃的音频部分。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.

S240、主叫设备播放视频彩铃。S240: The calling device plays a video ringback tone.

应理解的是,由于上述S240是在上述S160之后执行的,所以上述视频彩铃是在主叫设备在与被叫设备的通话过程播放的。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.

示例性地,如图5所示,主叫设备与被叫设备在进行视频通话,由于被叫设备的摄像头是关闭状态,所以被叫设备上播放的是主叫设备发送的视频画面(简称:主叫端视频画面);而主叫设备上播放的是视频彩铃的画面。For example, as shown in FIG. 5 , 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.

本公开实施例在主叫设备与被叫设备进行通话的过程中,通过彩铃平台获取用于指示被叫设备的摄像头的状态的能力信息;在该能力信息指示被叫设备的摄像头处于关闭状态的情况下,彩铃平台与主叫设备进行视频媒体协商;并在该音视频媒体协商成功后,向主叫设备发送视频彩铃;以使主叫设备在与被叫设备通话的过程中播放该视频彩铃;从而提高了用户观看视频彩铃的时长,继而提高了用户观看视频彩铃的体验感。In the 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 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 further improving the user's experience of watching the video color ring back tone.

在一些实施例中,在主叫设备与被叫设备建立语音通话的情况下,上述播放视频彩铃的方法还包括:彩铃平台与被叫设备进行音视频媒体协商,在音视频媒体协商成功之后,彩铃平台向被叫设备发送主叫设备在彩铃平台选择(即:设置或订购)的视频彩铃;以使该被叫设备在与主叫设备的通话过程中播放该视频彩铃;如图6所示,在主叫设备播放视频彩铃A的画面的情况下,被叫设备播放视频彩铃B的画面。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, 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; as shown in FIG6 , when the calling device plays the screen of video ringback tone A, the called device plays the screen of video ringback tone B.

上述方法通过彩铃平台与被叫设备进行音视频媒体协商,在音视频媒体协商成功之后,彩铃平台向被 叫设备发送视频彩铃;以使该被叫设备在与主叫设备的通话过程中播放该视频彩铃,从而使被叫用户(即:使用被叫设备的用户)在主叫设备与被叫设备通话的过程中观看视频彩铃,进一步提高了用户观看视频彩铃的体验感。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 The calling device sends a video ringback tone; so that the called device plays the video ringback 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 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.

需要说明的是,图3和图4所示的播放视频彩铃的方法均是主叫设备被动接收并播放视频彩铃的;从而导致该播放视频彩铃的方法的灵活性较低。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.

本公开实施例提供了另一种播放视频彩铃的方法,该方法应用于在主叫设备与被叫设备通话的场景中,且该方法可以应用在上述图1所示的通信系统。结合上述主叫设备与被叫设备进行呼叫、应答以及播放彩铃的过程,本公开还提供了在上述S160之后继续执行的方法,以使得主叫设备主动接收并播放视频彩铃。The embodiment of the present disclosure 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 to the communication system shown in the above FIG1. In combination with the above process of calling, answering and playing a ringback tone between the calling device and the called device, the present disclosure further provides a method that is continued to be executed after the above S160, so that the calling device actively receives and plays a video ringback tone.

本公开提供的播放视频彩铃的方法,如图7所示包括S310-S360。The method for playing video ringback tone provided by the present disclosure includes S310-S360 as shown in FIG. 7 .

S310、主叫设备向彩铃平台发送目标指示信息。S310: The calling device sends 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 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.

需要说明的是,上述S310可以是主叫设备在与被叫设备的视频通话(即:双向视频通话)过程中执行;也可以是主叫设备接收到彩铃平台转发的摘机消息之后执行。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.

S320、彩铃平台向被叫设备转发目标指示信息。S320: The color ring back tone platform forwards the target indication information to the called device.

上述目标指示信息用于触发上述被叫设备向彩铃平台发送上述S210中的能力信息。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.

需要说明的是,在上述被叫设备的摄像头处于开启状态的情况下,上述目标指示信息还用于指示被叫设备将摄像头的状态设置为关闭状态。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.

示例性地,如图8所示,主叫设备与被叫设备在进行视频通话,此时,主叫设备上播放的是被叫端视频画面,被叫设备播放的是主叫端视频画面;此时,当使用主叫设备的用户点击播放彩铃的按钮时,主叫设备通过彩铃平台向被叫设备转发用于指示主叫设备在与被叫设备的通话过程中播放视频彩铃的目标指示信息。在被叫设备接收到该目标信息后,如图9所示,该被叫设备关闭摄像头。For example, as shown in FIG8 , the calling device and the called device are making 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, as shown in FIG9 , the called device turns off the camera.

S330、彩铃平台获取被叫设备的能力信息。S330: The color ring back tone platform obtains capability information of the called device.

需要说明的是,上述能力信息与上述S210中的能力信息一致,对于上述能力信息的示例描述可以参考上述对于S210的相关描述;上述S330的实现方式与S210中的第一个实施例的实现方式一致,对于S330的示例实现方式可以参考上述S210中的第一个实施例的相关描述,此处不再赘述。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 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 example implementation method of S330, please refer to the relevant description of the first embodiment in S210, which will not be repeated here.

S340、彩铃平台与主叫设备进行音视频媒体协商。S340: The ring back tone platform negotiates audio and video media with the calling device.

S350、彩铃平台向主叫设备发送视频彩铃。S350: The color ring back tone platform sends a video color ring back tone to the calling device.

S360、主叫设备播放视频彩铃。S360: The calling device plays the video ringback tone.

需要说明的是,上述S340-S360的实现方式与S220-S240的实现方式一致,对于S340-S360的示例实现方式可以参考上述S220-S240的相关描述,此处不再赘述。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.

本公开实施例中主叫设备通过彩铃平台向被叫设备发送用于指示主叫设备在与被叫设备的通话过程中播放视频彩铃的目标指示信息;以使被叫设备将其上的摄像头状态设置为关闭状态,进而使主叫设备在与被叫设备的通话过程中接收并播放彩铃平台发送的视频彩铃,从而提高了该播放视频彩铃的方法的灵活性。In the embodiment of the present disclosure, 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.

在一些实施例中,上述S310-S360所描述的播放视频彩铃的方法,也可由被叫设备触发,示例如下: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:

如图8所示,主叫设备与被叫设备在进行视频通话,此时,主叫设备上播放的是被叫端视频画面,被叫设备播放的是主叫端视频画面;此时,当使用被叫设备的用户点击播放彩铃的按钮时,被叫设备通过彩铃平台向主叫设备转发用于指示被叫设备在与主叫设备的通话过程中播放视频彩铃的目标指示信息。在主叫设 备接收到该目标信息后,如图10所示,该主叫设备关闭摄像头。然后,彩铃平台与被叫设备进行音视频媒体协商,并在协商成功后向被叫设备发送视频彩铃,以使被叫设备播放该视频彩铃;例如,如图10所示,被叫设备播放视频彩铃,主叫设备播放被叫端视频画面。As shown in FIG8 , the calling device and the called device are making 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 instruction 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 receiving the target information, the calling device turns off the camera, as shown in FIG10. Then, the CRBT platform negotiates the audio and video media with the called device, and sends a video CRBT to the called device after the negotiation is successful, so that the called device plays the video CRBT; for example, as shown in FIG10, the called device plays the video CRBT, and the calling device plays the video screen of the called end.

在一种实施例中,结合图3、图4或图7,如图11所示,本公开实施例提供的播放视频彩铃的方法,在上述S240或S360之后,还包括:S410-S430。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, after the above S240 or S360, further includes: S410 - S430.

S410、主叫设备向彩铃平台发送第二媒体更新消息。S410: The calling device sends a second media update message to the color ring back tone platform.

上述第二媒体更新消息中的视频收发能力的状态信息或视频收发端口信息用于指示停止播放视频彩铃;上述第二媒体更新消息中的音频收发能力的状态信息或音频收发端口信息用于指示主叫设备不播放视频彩铃的音频部分。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.

示例性地,上述第二媒体更新消息如下述代码块5所示,音频收发能力的状态信息为移除状态inactive,此时主叫设备不接收彩铃平台发送的音频数据;视频收发能力的状态信息也为移除状态inactive;即此时主叫设备不接收彩铃平台发送的视频数据(如上述视频彩铃)。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).

代码块5Code Block 5

Direction=UE_TO_NETWORKDirection = UE_TO_NETWORK

m=audio 32674 RTP/AVP 99 101m=audio 32674 RTP/AVP 99 101

a=inactive/*用于指示音频收发能力的状态为移除状态(即:不收发状态)*/a=inactive/*Used to indicate that the state of audio transceiver capability is removed (i.e., not transceiver)*/

m=video 25150 RTP/AVP 124 12m=video 25150 RTP/AVP 124 12

a=inactive/*用于指示音频收发能力的状态为移除状态(即:不收发状态)*/a=inactive/*Used to indicate that the state of audio transceiver capability is removed (i.e., not transceiver)*/

又一示例性地,上述第二媒体更新消息可以如下述代码块6所示,音频收发端口信息中的音频收发端口号为0(即:m=audio 0),即此时主叫设备不接收彩铃平台发送的音频数据;视频收发端口信息中的视频收发端口号为0(即:m=video 0),即此时主叫设备不接收彩铃平台发送的视频数据。As another example, the 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, 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.

代码块6Code Block 6

Direction=UE_TO_NETWORKDirection = UE_TO_NETWORK

m=audio 0 RTP/AVP 99 101/*用于指示主叫设备不接收彩铃平台发送的音频数据。*/m=audio 0 RTP/AVP 99 101/*Used to instruct the calling device not to receive the audio data sent by the ringback tone platform. */

a=sendrecva=sendrecv

m=video 0 RTP/AVP 124 12/*用于指示主叫设备不接收彩铃平台发送的视频数据。*/m=video 0 RTP/AVP 124 12/*Used to instruct the calling device not to receive the video data sent by the ringback tone platform. */

a=sendrecva=sendrecv

S420、彩铃平台停止向主叫设备发送视频彩铃。S420: The color ring back tone platform stops sending the video color ring back tone to the calling device.

上述S420可以包括:上述彩铃平台获取到主叫设备不接收彩铃平台发送的音频数据和视频数据后,停止向主叫设备发送视频彩铃。The above S420 may include: 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.

S430、主叫设备停止播放视频彩铃。S430: The calling device stops playing the video ringback tone.

需要说明的是,上述S430可以在上述S420之前执行,也可以在上述S420之后执行,具体本公开实施例不对上述S420和S430的执行顺序进行限定。It should be noted that the above S430 may 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.

本公开实施例在主叫设备与被叫设备通话过程中播放视频彩铃的情况下,向彩铃平台发送用于指示主叫设备停止播放视频彩铃的第二媒体更新消息;彩铃平台接收到该第二媒体更新消息后停止向主叫设备发送该视频彩铃,以使得该主叫设备停止播放该视频彩铃;从而提高了上述播放视频彩铃的方法的灵活性。In the 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 for instructing the calling device to stop playing the video ringback tone is sent to a ringback tone platform; 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.

可以理解的是,彩铃平台为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本公开实施例描述的各示例的算法步骤,本公开能够以硬件或硬 件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。It is understandable that, in order to realize the above functions, the CRBT platform includes hardware structures and/or software modules that execute the corresponding functions. 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 disclosure, the present disclosure can be implemented in hardware or software. The invention can be realized in the form of 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 beyond the scope of this disclosure.

本公开实施例可以根据上述方法实施例对彩铃平台进行功能模块的划分,例如,可以对应每一个功能划分每一个功能模块,也可以将两个或两个以上的功能集成在一个功能模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件的形式实现。需要说明的是,本公开实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。下面以采用对应每一个功能划分每一个功能模块为例进行说明。The disclosed embodiment 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 disclosed embodiment 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.

图12是本公开实施例提供的一种彩铃平台的结构示意图,彩铃平台可以执行上述方法实施例提供的播放视频彩铃的方法。如图12所示,彩铃平台包括:收发单元1210和处理单元1220。FIG12 is a schematic diagram of the structure of a color ring back tone platform provided by an embodiment of the present disclosure, and the color ring back tone platform can execute the method for playing video color ring back tone provided by the above method embodiment. As shown in FIG12 , the color ring back tone platform includes: a transceiver unit 1210 and a processing unit 1220 .

收发单元1210,用于获取被叫设备的能力信息;所述能力信息用于指示所述被叫设备的摄像头的状态。处理单元1220,用于在所述能力信息指示所述被叫设备的摄像头处于关闭状态的情况下,与主叫设备进行音视频媒体协商。收发单元1210,用于在所述音视频媒体协商成功后,向所述主叫设备发送视频彩铃,以使得所述主叫设备在与所述被叫设备通话的过程中播放所述视频彩铃。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.

在一些实施例中,所述能力信息是所述被叫设备向所述彩铃平台发送的第一媒体更新消息中的视频收发能力的状态信息;所述视频收发能力的状态信息用于指示所述被叫设备的摄像头的状态;或者,所述能力信息是所述被叫设备向所述彩铃平台发送的第一媒体更新消息中的视频收发端口信息;所述视频收发端口信息用于指示所述被叫设备的摄像头的状态。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.

在一些实施例中,收发单元1210,用于向所述主叫设备发送音视频流协商消息;收发单元1210,还用于接收所述主叫设备发送的所述音视频流协商消息的响应消息;其中,所述响应消息中的音频收发能力的状态信息或音频收发端口信息用于指示所述主叫设备不播放所述视频彩铃的音频部分;所述响应消息中的视频收发能力的状态信息或视频收发端口信息用于指示所述主叫设备播放所述视频彩铃的视频部分。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.

在一些实施例中,收发单元1210,用于向所述主叫设备转发所述被叫设备的摘机消息;其中,所述摘机消息是所述被叫设备对所述主叫设备的通话请求的应答消息;所述摘机消息用于指示所述主叫设备与所述被叫设备建立音频通话或者单向视频通话,所述单向视频通话是所述被叫设备仅接收所述主叫设备发送的视频流,而不向所述主叫设备发送视频流的通话;处理单元1220,用于根据所述摘机消息指示的音频通话或者单向视频通话,确定所述被叫设备的能力信息;所述能力信息指示所述被叫终端设备的摄像头的状态为关闭状态。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.

在一些实施例中,收发单元1210,用于从所述主叫设备接收目标指示信息;所述目标指示信息用于指示所述主叫设备在与所述被叫设备的通话过程中播放所述视频彩铃。收发单元1210,还用于向所述被叫设备转发目标指示信息。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.

在一些实施例中,收发单元1210,用于接收所述主叫设备发送的第二媒体更新消息;所述第二媒体更新消息中的视频收发能力的状态信息或视频收发端口信息用于指示停止播放所述视频彩铃;处理单元1220,用于停止向所述主叫设备发送所述视频彩铃。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.

关于上述示例方式的示例描述可以参见前述的方法实施例,此处不再赘述。此外,上述提供的任一种彩铃平台的解释以及有益效果的描述均可参考上述对应的方法实施例,不再赘述。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 the beneficial effects can refer to the above corresponding method embodiments, which will not be repeated here.

在采用对应各个功能划分各个功能模块的情况下,图13示出上述实施例中所涉及的主叫设备的一种可能的结构示意图。如图13所示,主叫设备包括:处理单元1310和收发单元1320。 In the case of dividing each functional module according to each function, 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.

处理单元1310,用于与彩铃平台进行音视频媒体协商。收发单元1320,用于在所述音视频媒体协商成功后,接收所述彩铃平台发送的视频彩铃。处理单元1310,用于在与被叫设备的通话过程中播放所述视频彩铃。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.

在一些实施例中,收发单元1320,用于接收所述彩铃平台发送的音视频流协商消息。收发单元1320,还用于向所述彩铃平台发送所述音视频流协商消息的响应消息;所述响应消息中的音频收发能力的状态信息或音频收发端口信息用于指示所述主叫设备不播放所述视频彩铃的的音频部分;所述响应消息中的视频收发能力的状态信息或视频收发端口信息用于指示所述主叫设备播放所述视频彩铃的视频部分。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.

在一些实施例中,收发单元1320,用于接收所述彩铃平台转发的的摘机消息;其中,所述摘机消息是所述被叫设备对所述主叫设备的通话请求的应答消息;所述摘机消息用于指示所述主叫设备与所述被叫设备建立音频通话或者单向视频通话,所述单向视频通话是所述被叫设备在接收所述主叫设备发送的视频流的过程中,不向所述主叫设备发送视频流的通话。处理单元1310,用于与所述被叫设备建立所述单向视频通话或所述音频通话连接。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.

在一些实施例中,收发单元1320,用于向所述彩铃平台发送目标指示信息;所述目标指示信息用于指示所述主叫设备在与所述被叫设备的通话过程中播放所述视频彩铃。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.

在一些实施例中,收发单元1320,用于向所述彩铃平台发送第二媒体更新消息;所述第二媒体更新消息中的视频收发能力的状态信息或视频收发端口信息用于指示停止播放所述视频彩铃。处理单元1310,用于停止播放所述视频彩铃。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.

在采用硬件的形式实现上述集成的模块的功能的情况下,本公开实施例提供了上述实施例中所涉及的电子设备(即:主叫设备、彩铃平台或被叫设备)的另一种可能的结构。如图14所示,电子设备包括:处理器1402,总线1404。在一些实施例中,该电子设备还可以包括存储器1401;在一些实施例中,该电子设备还可以包括通信接口1403。In the case of implementing the functions of the above-mentioned integrated modules in the form of 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-mentioned embodiments. As shown in FIG. 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.

处理器1402,可以实现或执行结合本公开实施例所描述的各种示例性的逻辑方框、模块和电路。该处理器1402可以是中央处理器、通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合,其可以实现或执行结合本公开实施例所描述的各种示例性的逻辑方框、模块和电路。处理器1402也可以是实现计算功能的组合,例如包含一个或多个微处理器的组合,DSP和微处理器的组合等。The processor 1402 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. 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 device, a transistor logic device, a hardware component, or any combination thereof, which may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the embodiments of the present disclosure. The 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.

通信接口1403,用于与其他设备通过通信网络连接。该通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。The communication interface 1403 is used to connect with other devices through a communication network. The communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

存储器1401,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。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 codes in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

作为一种可能的实现方式,存储器1401可以独立于处理器1402存在,存储器1401可以通过总线1404与处理器1402相连接,用于存储指令或者程序代码。处理器1402调用并执行存储器1401中存储的指令或程序代码时,能够实现本公开实施例提供的播放视频彩铃的方法。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 disclosure can be implemented.

另一种可能的实现方式中,存储器1401也可以和处理器1402集成在一起。In another possible implementation, the memory 1401 may also be integrated with the processor 1402 .

总线1404,可以是扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线1404 可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 1404 may be an extended industry standard architecture (EISA) bus or the like. It can be divided into address bus, data bus, control bus, etc. For the convenience of representation, only one thick line is used in FIG14 , but it does not mean that there is only one bus or one type of bus.

本公开的一些实施例提供了一种计算机可读存储介质(例如,非暂态计算机可读存储介质),该计算机可读存储介质中存储有计算机程序指令,计算机程序指令在计算机上运行时,使得计算机执行如上述实施例中任一实施例所述的播放视频彩铃的方法。Some embodiments of the present disclosure 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.

示例性地,上述计算机可读存储介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(Compact Disk,CD)、数字通用盘(Digital Versatile Disk,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、卡、棒或钥匙驱动器等)。本公开描述的各种计算机可读存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读存储介质。术语“机器可读存储介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。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 Memory (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.

本公开实施例提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行上述实施例中任一实施例所述的播放视频彩铃的方法。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.

以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何在本公开揭露的技术范围内的变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应该以权利要求的保护范围为准。 The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims (15)

一种播放视频彩铃的方法,所述方法应用于彩铃平台,所述方法包括:A method for playing a video ringback tone, the method being applied to a ringback tone platform, the method comprising: 获取被叫设备的能力信息;所述能力信息用于指示所述被叫设备的摄像头的状态;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. 根据权利要求1所述的方法,其中,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. 根据权利要求1所述的方法,其中,所述视频彩铃包括所述视频彩铃的视频部分,不包括音频部分;与所述主叫设备进行音视频媒体协商,包括:The method according to claim 1, wherein the video ringback tone includes a video portion of the video ringback tone but does not include an audio portion; performing audio and video media negotiation with the calling device comprises: 向所述主叫设备发送音视频流协商消息;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. 根据权利要求1或2所述的方法,其中,在获取所述被叫设备的能力信息之前,所述方法还包括:The method according to claim 1 or 2, wherein, before obtaining the capability information of the called device, the method further comprises: 向所述主叫设备转发所述被叫设备的摘机消息;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. 根据权利要求1或2所述的方法,其中,在获取所述被叫设备的能力信息之前,所述方法还包括:The method according to claim 1 or 2, wherein, before obtaining the capability information of the called device, the method further comprises: 从所述主叫设备接收目标指示信息;所述目标指示信息用于指示所述主叫设备在与所述被叫设备的通话过程中播放所述视频彩铃;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. 根据权利要求1或2所述的方法,其中,在向所述主叫设备发送所述视频彩铃之后,所述方法还包括:The method according to claim 1 or 2, wherein after sending the video ringback tone to the calling device, the method further comprises: 接收所述主叫设备发送的第二媒体更新消息;所述第二媒体更新消息中的视频收发能力的状态信息或视频收发端口信息用于指示停止播放所述视频彩铃;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. 一种播放视频彩铃的方法,所述方法应用于主叫设备,所述方法包括: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. 根据权利要求7所述的方法,其中,所述视频彩铃包括所述视频彩铃的视频部分,不包括音频部分; 与所述彩铃平台进行音视频媒体协商,包括:The method according to claim 7, wherein the video ringback tone includes a video portion of the video ringback tone but does not include an audio portion; Conducting 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. 根据权利要求7或8所述的方法,其中,在与所述彩铃平台进行音视频媒体协商之前,所述方法还包括: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 comprises: 接收所述彩铃平台转发的摘机消息;其中,所述摘机消息是所述被叫设备对所述主叫设备的通话请求的应答消息;所述摘机消息用于指示所述主叫设备与所述被叫设备建立音频通话或者单向视频通话,所述单向视频通话是所述被叫设备在接收所述主叫设备发送的视频流的过程中,不向所述主叫设备发送视频流的通话;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. 根据权利要求7或8所述的方法,其中,在与所述彩铃平台进行音视频媒体协商之前,所述方法还包括: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 comprises: 向所述彩铃平台发送目标指示信息;所述目标指示信息用于指示所述主叫设备在与所述被叫设备的通话过程中播放所述视频彩铃。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. 根据权利要求7或8所述的方法,其中,在所述在与所述被叫设备的通话过程中播放所述视频彩铃之后,所述方法还包括: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 comprises: 向所述彩铃平台发送第二媒体更新消息;所述第二媒体更新消息中的视频收发能力的状态信息或视频收发端口信息用于指示停止播放所述视频彩铃;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. 一种彩铃平台,包括:收发单元和处理单元;A color ring back tone platform, comprising: a transceiver unit and a 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. 一种主叫设备,包括:处理单元和收发单元;A calling device, comprising: a processing unit and a 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. 一种电子设备,包括:处理器和存储器;An electronic device, comprising: a processor and a memory; 所述存储器存储有所述处理器可执行的指令;The memory stores instructions executable by the processor; 所述处理器被配置为执行所述指令时,使得所述电子设备实现根据权利要求1-6或权利要求7-11中任一项所述的方法。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. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机指令,所述计算机指令在被运行时,实现根据权利要求1-6或权利要求7-11中任一项所述的方法。 A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed, the method according to any one of claims 1-6 or claims 7-11 is implemented.
PCT/CN2024/097012 2023-06-16 2024-06-03 Method and apparatus for playing video polyphonic ringtone, and storage medium Pending WO2024255632A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310731700.7 2023-06-16
CN202310731700.7A CN119155384A (en) 2023-06-16 2023-06-16 Method, device and storage medium for playing video color ring

Publications (1)

Publication Number Publication Date
WO2024255632A1 true WO2024255632A1 (en) 2024-12-19

Family

ID=93809864

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/097012 Pending WO2024255632A1 (en) 2023-06-16 2024-06-03 Method and apparatus for playing video polyphonic ringtone, and storage medium

Country Status (2)

Country Link
CN (1) CN119155384A (en)
WO (1) WO2024255632A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080311895A1 (en) * 2005-09-07 2008-12-18 China Mobile Communications Corporation Colorful Ring Back Tone Copying Method
US20090262916A1 (en) * 2007-05-23 2009-10-22 Tao Jiaqi Method and system for playing ringing back tone in ims network
CN111865883A (en) * 2019-04-30 2020-10-30 华为技术有限公司 Method and apparatus for call processing
CN115484349A (en) * 2021-05-31 2022-12-16 中国移动通信集团重庆有限公司 Video color ring playing method, device, equipment and computer storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080311895A1 (en) * 2005-09-07 2008-12-18 China Mobile Communications Corporation Colorful Ring Back Tone Copying Method
US20090262916A1 (en) * 2007-05-23 2009-10-22 Tao Jiaqi Method and system for playing ringing back tone in ims network
CN111865883A (en) * 2019-04-30 2020-10-30 华为技术有限公司 Method and apparatus for call processing
CN115484349A (en) * 2021-05-31 2022-12-16 中国移动通信集团重庆有限公司 Video color ring playing method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
CN119155384A (en) 2024-12-17

Similar Documents

Publication Publication Date Title
US20140112458A1 (en) Shareable Applications On Telecommunications Devices
US8953471B2 (en) Counteracting spam in voice over internet protocol telephony systems
KR20180019737A (en) Method, system, and apparatus for processing system calls during a voice call
US8983041B2 (en) Conserving call logic during handoff
US9257119B2 (en) Telephony system with a background recapitulation feature
CN110637502B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112468662A (en) Method and device for closing video color ring by terminal, electronic equipment and storage medium
CN113691762B (en) Data transmission method and device for video conference and computer readable storage medium
WO2024255632A1 (en) Method and apparatus for playing video polyphonic ringtone, and storage medium
CN116601940A (en) Telephone relay device, teleconferencing server, teleconferencing system, telephony relay method, audio call relay method and program
CN113923722A (en) Data transmission method, device and storage medium
WO2025039655A1 (en) Device connection method and apparatus, electronic device, and computer storage medium
CN113747100B (en) Audio and video call methods, devices, storage media and electronic equipment
US20060031341A1 (en) Maintaining instant message session status in dynamic operating environments
WO2023216964A1 (en) Voice call method and apparatus, and electronic device
CN116530197A (en) Information determining and receiving method and device, terminal, network equipment and storage medium
CN108551459B (en) Method and device for communication between devices and readable storage medium
CN116074816A (en) Communication method, device, storage medium and electronic equipment
CN113542511A (en) Processing method of multi-channel audio mixing, mixing device and readable storage medium
CN119182854B (en) Color ringback tone playback control method, terminal and network side equipment
US20240364757A1 (en) Data processing method and apparatus
CN116743712B (en) Telephone conference number display method and electronic equipment
CN113890944B (en) A communication method, system and device
CN110971767B (en) Teleconference management method and device and readable storage medium
CN113114863B (en) Voice communication method, device, equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24822584

Country of ref document: EP

Kind code of ref document: A1