Processing method and device of polyphonic ringtone media stream, electronic equipment, medium and program
By carrying display attributes in the CRBT media stream and using SIP signaling to determine the terminal type, the problem that the calling terminal cannot determine whether 3D rendering capability is needed is solved, and compatible playback of 2D and 3D CRBT is achieved to ensure the correctness of the video CRBT. exhibit.
Patent Information
- Application Number
- CN202410814476.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-21
AI Technical Summary
The existing technology cannot effectively determine and process whether the calling terminal needs to disable or invoke the 3D rendering capability, resulting in the inability to correctly play video ringback tones, especially in scenarios where 2D terminals and naked-eye 3D terminals coexist, and cannot be compatible with different types of ringtone materials.
By carrying the display attributes, including the type of media stream, in the preset key frame image of the CRBT media stream, it is sent to the calling terminal, and SIP signaling is used to determine the terminal type to determine the media stream type, supporting 2D video data to 3D video. Data conversion ensures that the terminal can correctly process and play the CRBT media stream.
It is possible to determine whether to disable or invoke the 3D rendering capability based on the type of the CRBT media stream at the calling terminal, thereby correctly playing the video CRBT, being compatible with both 2D and 3D CRBT services, and solving the problems of terminal type judgment and media stream type notification.
Smart Images

Figure CN118803142A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of video processing technology, and in particular relates to a method, device, electronic device, medium and program for processing a color ring back tone media stream. Background Art
[0002] In the related art, the implementation logic of the called video ringback tone service is that the called user sets the ringback tone content and sends the video data to the calling terminal through the ringback tone platform of the called domain. When the calling terminal is upgraded to a terminal that supports naked-eye three-dimensional (3D) display, it can receive two-dimensional (2D) video data or three-dimensional video data. However, the calling terminal cannot know the type of video ringback tone that needs to be played, so it cannot determine whether it is necessary to disable the three-dimensional rendering capability or call the three-dimensional rendering capability for the received video data, which is not conducive to playing the video ringback tone according to the type of the video ringback tone. Summary of the invention
[0003] The embodiments of the present application provide a method, device, electronic device, medium and program for processing a color ring back tone media stream.
[0004] The present application embodiment provides a method for processing a color ring tone media stream, which is applied to a color ring tone call node. The method includes:
[0005] Determine the type of the ring back tone media stream to be sent;
[0006] In a case where the preset key frame image of the color ring back tone media stream carries the display attribute of the color ring back tone media stream, the color ring back tone media stream is sent to the calling terminal; wherein the display attribute at least includes the type of the color ring back tone media stream.
[0007] In some embodiments, when the type of the color ring media stream is three-dimensional video data, the display attribute further includes the layout type of the three-dimensional video data. It can be seen that after the color ring media stream is sent to the calling terminal, if the display attribute further includes the layout type of the three-dimensional video data, the calling terminal can process the color ring media stream according to the layout type of the three-dimensional video data, which is conducive to displaying a video color ring with a naked eye three-dimensional effect on the calling terminal.
[0008] In some embodiments, the preset key frame image is the first frame image. Thus, after the first frame image of the color ring media stream is sent to the calling terminal, the calling terminal can determine the display attribute of the color ring media stream according to the first frame image, and thus can reasonably determine the image processing method of the non-first frame image of the color ring media stream according to the display attribute of the color ring media stream.
[0009] In some embodiments, the determining the type of the color ring back tone media stream to be sent includes: receiving a Session Initialization Protocol (SIP) signaling sent by the calling terminal, the SIP signaling carrying the terminal type of the calling terminal; and determining the type of the color ring back tone media stream to be sent according to the terminal type of the calling terminal. It can be seen that the embodiments of the present application can use the SIP signaling sent by the calling terminal to indicate the terminal type of the calling terminal, so that the color ring back tone call node can directly determine the terminal type of the calling terminal according to the SIP signaling.
[0010] In some embodiments, the terminal type of the calling terminal is located in the Contact field of the SIP signaling. Since the Contact field in the SIP signaling is defined as identifying the terminal or call capability, it is suitable for identifying the type of the calling terminal.
[0011] In some embodiments, determining the type of the color ringback tone media stream to be sent based on the terminal type of the calling terminal includes: when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display and the called terminal has subscribed to the three-dimensional video color ringback tone service, determining the type of the color ringback tone media stream to be sent as three-dimensional video data; when the terminal type of the calling terminal is a terminal that does not support naked-eye three-dimensional display, or when the called terminal has not subscribed to the three-dimensional video color ringback tone service, determining the type of the color ringback tone media stream to be sent as two-dimensional video data.
[0012] It can be understood that when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display and the called terminal has subscribed to the service of three-dimensional video ringback tone, it means that the conditions for playing three-dimensional video ringback tone on the calling terminal are met. Therefore, the type of the ringback tone media stream to be sent can be reasonably determined as three-dimensional video data; when the terminal type of the calling terminal is a terminal that does not support naked-eye three-dimensional display, or the called terminal has not subscribed to the service of three-dimensional video ringback tone, it means that the conditions for playing three-dimensional video ringback tone on the calling terminal are not met. At this time, the type of the ringback tone media stream to be sent can be reasonably determined as two-dimensional video data.
[0013] In some embodiments, before determining the type of the color ringback tone media stream to be sent, the method also includes: when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display, the called terminal has subscribed to a three-dimensional video color ringback tone service, and the called terminal has not set the color ringback tone content of the three-dimensional video color ringback tone, determining whether the color ringback tone content of the two-dimensional video color ringback tone set by the called terminal can be obtained; when the color ringback tone content of the two-dimensional video color ringback tone set by the called terminal can be obtained, converting the color ringback tone content of the two-dimensional video color ringback tone from two-dimensional video data to three-dimensional video data to obtain the color ringback tone media stream.
[0014] It can be seen that when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display and the called terminal has subscribed to the three-dimensional video ringback tone service, it means that the conditions for playing the three-dimensional video ringback tone on the calling terminal are met. In this case, if the called terminal has not set the ringback tone content of the three-dimensional video ringback tone, but has set the ringback tone content of the two-dimensional video ringback tone, the ringback tone content of the two-dimensional video ringback tone can be converted from two-dimensional video data to three-dimensional video data to obtain a ringback tone media stream, thereby supporting the calling terminal to display the ringback tone with naked-eye three-dimensional effect based on the received ringback tone media stream.
[0015] In some embodiments, before determining the type of the color ring back tone media stream to be sent, the method also includes: when the terminal type of the calling terminal is a terminal supporting naked-eye three-dimensional display, the called terminal has subscribed to a three-dimensional video color ring back tone service, and the called terminal has set the color ring back tone content of the three-dimensional video color ring back tone, generating the color ring back tone media stream according to the color ring back tone content of the three-dimensional video color ring back tone; when the terminal type of the calling terminal is a terminal supporting naked-eye three-dimensional display, the called terminal has subscribed to a three-dimensional video color ring back tone service, and the called terminal has not set the color ring back tone content of the three-dimensional video color ring back tone, determining whether the color ring back tone content of the two-dimensional video color ring back tone set by the called terminal can be obtained; when the color ring back tone content of the two-dimensional video color ring back tone set by the called terminal cannot be obtained, generating the color ring back tone media stream according to the default color ring back tone content of the three-dimensional video color ring back tone.
[0016] It can be seen that when the terminal type of the calling terminal is a terminal that supports naked-eye 3D display, and the called terminal has subscribed to the service of 3D video ringback tone, it means that the conditions for playing 3D video ringback tone on the calling terminal are met. In this case, if the called terminal sets the ringback tone content of the 3D video ringback tone, the ringback tone media stream can be simply and easily generated according to the ringback tone content of the 3D video ringback tone. When the terminal type of the calling terminal is a terminal that supports naked-eye 3D display, and the called terminal has subscribed to the service of 3D video ringback tone, it means that the conditions for playing 3D video ringback tone on the calling terminal are met. In this case, if the called terminal has not set the ringback tone content of the 3D video ringback tone and the ringback tone content of the 2D video ringback tone, the ringback tone media stream can be generated according to the default ringback tone content of the 3D video ringback tone, thereby supporting the calling terminal to display the ringback tone with naked-eye 3D effect.
[0017] The embodiment of the present application further provides another method for processing a color ring back tone media stream, which is applied to a calling terminal, and the method includes:
[0018] Receive ringback tone media stream;
[0019] Extracting a preset key frame image of the color ring back tone media stream;
[0020] The CRBT media stream is played according to the display attribute of the CRBT media stream carried by the preset key frame image; wherein the display attribute at least includes the type of the CRBT media stream.
[0021] In some embodiments, when the type of the color ring media stream is three-dimensional video data, the display attribute further includes the layout type of the three-dimensional video data. It can be seen that after the calling terminal receives the color ring media stream, if the display attribute further includes the layout type of the three-dimensional video data, the calling terminal can process the color ring media stream according to the layout type of the three-dimensional video data, which is conducive to displaying a video color ring with a naked eye three-dimensional effect on the calling terminal.
[0022] In some embodiments, the preset key frame image is the first frame image. Thus, after the first frame image of the color ring media stream is sent to the calling terminal, the calling terminal can determine the display attribute of the color ring media stream according to the first frame image, and thus can reasonably determine the image processing method of the non-first frame image of the color ring media stream according to the display attribute of the color ring media stream.
[0023] In some embodiments, before receiving the color ring back tone media stream, the method further includes: sending SIP signaling to the color ring back tone call node, wherein the SIP signaling carries the terminal type of the calling terminal; the terminal type of the calling terminal is used by the color ring back tone call node to determine the type of the color ring back tone media stream. It can be seen that the embodiment of the present application can use the SIP signaling sent by the calling terminal to indicate the terminal type of the calling terminal, so that the color ring back tone call node can directly determine the terminal type of the calling terminal according to the SIP signaling.
[0024] In some embodiments, the terminal type of the calling terminal is located in the Contact field of the SIP signaling. Since the Contact field in the SIP signaling is defined as identifying the terminal or call capability, it is suitable for identifying the type of the calling terminal.
[0025] The embodiment of the present application further provides a device for processing a color ring back tone media stream, which is applied to a color ring back tone call node, and the device includes:
[0026] A determination module, used to determine the type of the color ring back tone media stream to be sent;
[0027] The sending module is used to send the CRBT media stream to the calling terminal when the preset key frame image of the CRBT media stream carries the display attribute of the CRBT media stream; wherein the display attribute at least includes the type of the CRBT media stream.
[0028] The embodiment of the present application further provides another device for processing a color ring back tone media stream, which is applied to a calling terminal, and the device includes:
[0029] A transceiver module, used for receiving a color ringback tone media stream;
[0030] The processing module is used to extract the preset key frame image of the color ring media stream; play the color ring media stream according to the display attribute of the color ring media stream carried by the preset key frame image; wherein the display attribute at least includes the type of the color ring media stream.
[0031] An embodiment of the present application further provides an electronic device, comprising a processor and a memory for storing a computer program that can be run on the processor; wherein the processor is used to run the computer program to execute any one of the above-mentioned methods for processing a color ring back tone media stream.
[0032] The embodiment of the present application further provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned methods for processing a color ring back tone media stream is implemented.
[0033] An embodiment of the present application further provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the computer program implements any one of the above-mentioned methods for processing a color ring back tone media stream.
[0034] It can be seen that since the preset key frame image of the color ring back tone media stream carries the display attributes of the color ring back tone media stream, and the display attributes include at least the type of the color ring back tone media stream, after the color ring back tone media stream is sent to the calling terminal, the calling terminal can determine whether to disable the three-dimensional rendering capability or call the three-dimensional rendering capability according to the type of the color ring back tone media stream, so that the color ring back tone media stream can be played according to the type of the color ring back tone media stream. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 Interaction flow chart for implementing RBT media stream transmission provided for related technologies;
[0036] Figure 2 A flowchart of a method for processing a color ring back tone media stream applied to a color ring back tone call node provided in an embodiment of the present application;
[0037] Figure 3A A schematic diagram of a first layout type of three-dimensional video data provided in an embodiment of the present application;
[0038] Figure 3B A schematic diagram of a second layout type of three-dimensional video data provided in an embodiment of the present application;
[0039] Figure 3C A schematic diagram of a third layout type of three-dimensional video data provided in an embodiment of the present application;
[0040] Figure 3DA schematic diagram of a fourth layout type of three-dimensional video data provided in an embodiment of the present application;
[0041] Figure 4 This is a flow chart of a color ring back tone call node sending a color ring back tone media stream in an embodiment of the present application;
[0042] Figure 5 A flowchart of establishing a color ring back tone media stream in an embodiment of the present application;
[0043] Figure 6 A flowchart of a method for processing a color ring back tone media stream applied to a calling terminal provided in an embodiment of the present application;
[0044] Figure 7 This is a flow chart of a calling terminal processing a color ring back tone media stream in an embodiment of the present application;
[0045] Figure 8 An interactive flow chart of establishing a ring back tone call in an embodiment of the present application;
[0046] Fig. 9 A schematic diagram of the structure of a device for processing a color ring back tone media stream applied to a color ring back tone call node according to an embodiment of the present application;
[0047] Fig.10 A schematic diagram of the structure of a device for processing a color ring back tone media stream applied to a calling terminal according to an embodiment of the present application;
[0048] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] Naked-eye 3D display technology is a technology that encodes and renders 3D video data, and then projects the image to the left and right eyes of the viewer through lens grating and other technologies, so that a 3D visual experience can be formed without the need for wearable devices. A terminal equipped with naked-eye 3D display technology is called a naked-eye 3D terminal. The naked-eye 3D terminal can perform ordinary 2D display of 2D video data and 3D display of 3D video data. Naked-eye 3D ringback tone is a ringback tone with naked-eye 3D effect displayed by a naked-eye 3D terminal on the basis of video ringback tone. Since the call terminal includes both a 2D terminal (i.e., a terminal that does not support naked-eye 3D display) and a naked-eye 3D terminal, the ringback tone material can include 2D video data and 3D video data. Therefore, it is necessary to provide a ringback tone processing method that is compatible with different types of terminals and different types of ringback tone materials. For example, it is necessary to play a naked-eye 3D ringback tone based on compatibility with different types of ringback tone materials. In the related ringback tone playing technology, only 2D video data needs to be played on a 2D terminal. In related scenarios such as ringback tone services, it is not necessary to consider the type judgment of the terminal and the media stream and the execution of other logic, and it is impossible to support naked-eye 3D ringback tone services. There is no naked-eye 3D ringback tone technology in the related art that is compatible with different types of terminals and different types of ringback tone materials.
[0050] The first technical solution of the related art provides a method, device, equipment, terminal and ringback tone platform for playing video ringback tone to solve the problem that users in the metaverse cannot interact and communicate with users in the real world. The method is applied to the metaverse device, including: after receiving a trigger input in the three-dimensional virtual space, instructing the terminal to initiate a call request; the call request carries the virtual mobile user identification code of the metaverse device; receiving a panoramic video ringback tone sent by the ringback tone platform according to the virtual mobile user identification code; playing the panoramic video ringback tone in the three-dimensional virtual space. The first technical solution of the related art discloses a three-dimensional oriented ringback tone method, but only supports the access of metaverse devices, and does not consider the situation where two-dimensional terminals and naked-eye three-dimensional terminals exist at the same time.
[0051] The second technical solution of the related technology provides a video call method, device and system, which includes: receiving video data and audio data of the call partner sent by a local communication device, and when the data type identifier contained in the video data is a two-dimensional video data identifier, converting the video data into three-dimensional video data, displaying and outputting the three-dimensional stereo image corresponding to the three-dimensional video data and the video image obtained by the local camera on the same display device, and outputting the audio corresponding to the audio data, thereby realizing a three-dimensional immersive video call using a virtual reality device and a local communication device, and improving the user's video call experience. This solution describes a method for three-dimensional immersive video calls and provides a method for specifying data types through data identifiers, but this solution does not consider the logic of how to process two-dimensional media streams and three-dimensional media streams in a three-dimensional ringback tone playback scenario, and only proposes a type identification method flow without specific implementation logic.
[0052] In the 3D video ringtone playback scenario, there are often both 2D terminals and naked-eye 3D terminals. When the ringtone is transmitted in the network, there are a lot of modifications and overwriting of the ringtone media stream on the network side based on business logic. The technical solutions of the relevant technologies do not take such situations into consideration and are not adaptable to actual scenarios.
[0053] The technical solution of the related technology does not provide a reasonable notification method for the type of ringback tone material. The technical solution of the related technology provides a set of end-to-end stereo transmission system, but does not provide a method for the ringback tone call node to process the media stream for the coexistence scenario of two-dimensional terminals and naked-eye three-dimensional terminals, and the coexistence scenario of two-dimensional ringback tone media stream (ringback tone media stream of two-dimensional video data type) and three-dimensional ringback tone media stream (ringback tone media stream of three-dimensional video data type) coexistence.
[0054] In the video ring back tone playback process of the related technology, the two-dimensional ring back tone media stream can be uniformly played on the terminal after the media negotiation is successful. In the scenario where the two-dimensional terminal and the naked-eye three-dimensional terminal exist at the same time, it is necessary to play the traditional two-dimensional ring back tone media stream on the two-dimensional terminal and play the three-dimensional ring back tone media stream on the naked-eye three-dimensional terminal, so as to achieve the purpose of compatibility between the two-dimensional ring back tone service and the three-dimensional ring back tone service. However, in the related technology, the implementation logic of the called video ring back tone service is that the called user sets the ring back tone content and sends the video data to the calling terminal through the ring back tone platform of the called domain. When the calling terminal is upgraded to a terminal that supports naked-eye three-dimensional (3D) display, for the called user who has activated the three-dimensional ring back tone package (for playing the three-dimensional ring back tone media stream) and set the three-dimensional ring back tone content, the calling terminal will receive the three-dimensional ring back tone media stream; for the called user who has activated the three-dimensional ring back tone package but has not set the three-dimensional ring back tone content, the calling terminal should accept the three-dimensional ring back tone media stream; for the called user who has not activated the three-dimensional ring back tone package and set the two-dimensional ring back tone content ring back tone, the calling terminal will receive the two-dimensional ring back tone media stream. The calling terminal cannot know the type of video ringback tone to be played, and therefore cannot determine whether to disable the 3D rendering capability or call the 3D rendering capability for the received video data, which is not conducive to playing the video ringback tone according to the type requirement of the video ringback tone.
[0055] Below through Figure 1 The technical problems existing in the related technology are illustrated by way of example.
[0056] Figure 1 The interactive flow chart for implementing the RBT media stream transmission provided by the related technology is as follows: Figure 1 As shown, the nodes of the calling domain include UEa and the serving call session control function (Serving-Call Session Control Function, S-CSCF), the nodes of the called domain include the ring back tone call node and UEb, and the nodes of the called domain also include S-CSCF or interrogating-Call Session Control Function (I-CSCF), UEa is the calling terminal, and UEb is the called terminal.
[0057] Reference Figure 1After the node of the calling domain sends an invitation (INVITE) message to the node of the called domain, the node of the called domain can reply with a 183 message to the node of the calling domain; then, confirmation (PRACK), update (UPDATE) and other messages can be exchanged between the calling domain and the called domain; after the exchange of PRACK and UPDATE messages, UEb can send a 180 message to the I-CSCF or S-CSCF, and the I-CSCF or S-CSCF can reply with a 180 message to the color ring call node; the color ring call node can send an UPDATE message to the calling domain, and UEa can send a 200 message to the color ring call node; after receiving the 200 message, the color ring call node can execute the color ring play process.
[0058] exist Figure 1 In the interactive process for implementing the transmission of the color ring back tone media stream shown, the color ring back tone call node cannot obtain the terminal type, and cannot determine the type of color ring back tone media stream that needs to be sent to the calling terminal; the calling terminal cannot know the type of video color ring back tone that needs to be played, and cannot determine whether to disable the three-dimensional rendering capability or call the three-dimensional rendering capability for the received color ring back tone media stream. The color ring back tone call node cannot execute the following logic: 1) In the scenario where two-dimensional terminals and naked-eye three-dimensional terminals coexist, determine the type of color ring back tone media stream sent; 2) When the three-dimensional color ring back tone media stream can be sent, determine the color ring back tone service type of the called terminal; 3) When the called terminal subscribes to the three-dimensional color ring back tone service, obtain the color ring back tone content; 4) Processing logic when there is no three-dimensional color ring back tone content.
[0059] In order to solve the above technical problems, a technical solution of the embodiment of the present application is proposed.
[0060] The following is a further detailed description of the embodiments of the present application in conjunction with the accompanying drawings and examples. It should be understood that the embodiments provided herein are only used to explain the embodiments of the present application and are not intended to limit the embodiments of the present application. In addition, the embodiments provided below are partial embodiments for implementing the present application, rather than providing all embodiments for implementing the present application. In the absence of conflict, the technical solutions recorded in the embodiments of the present application can be implemented in any combination.
[0061] It should be noted that, in the embodiments of the present application, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or device including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements (such as steps in a method or units in a device, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in the method or device including the element.
[0062] An embodiment of the present application provides a method for processing a color ring tone media stream applied to a color ring tone call node, where the color ring tone call node is located on a network side or in the cloud.
[0063] Figure 2 A flowchart of a method for processing a color ring back tone media stream applied to a color ring back tone call node provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the process includes:
[0064] Step 201: Determine the type of the color ring back tone media stream to be sent.
[0065] In the embodiment of the present application, the type of the ringback tone media stream can be two-dimensional video data or three-dimensional video data, wherein the three-dimensional video data is used for the naked-eye three-dimensional terminal to display the video ringback tone with naked-eye three-dimensional effect, and the two-dimensional video data can be played on the two-dimensional terminal.
[0066] Step 202: When the preset key frame image of the CRBT media stream carries the display attribute of the CRBT media stream, the CRBT media stream is sent to the calling terminal; wherein the display attribute at least includes the type of the CRBT media stream.
[0067] In some embodiments, the preset key frame image of the color ring back tone media stream may be any frame image of the color ring back tone media stream.
[0068] In practical applications, steps 201 to 202 can be implemented based on a processor, and the processor can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor.
[0069] It can be seen that since the preset key frame image of the color ring back tone media stream carries the display attributes of the color ring back tone media stream, and the display attributes include at least the type of the color ring back tone media stream, after the color ring back tone media stream is sent to the calling terminal, the calling terminal can determine whether to disable the three-dimensional rendering capability or call the three-dimensional rendering capability according to the type of the color ring back tone media stream, so that the color ring back tone media stream can be played according to the type of the color ring back tone media stream.
[0070] In some embodiments of the present application, when the type of the color ring back tone media stream is three-dimensional video data, the display attribute further includes a layout type of the three-dimensional video data.
[0071] For example, refer to FIG. 3A to FIG. 3D The layout types of three-dimensional video data can be alternating frames, stacked frames, left-right frames, and top-bottom frames; the implementation principle of alternating frames is: the left-eye image and the right-eye image are transmitted alternately at a rate of 60 frames / second, so that the total frame rate of the binocular image reaches 120 frames / second; the implementation principle of stacked frames is: the left-right image and the right-eye image are transmitted in the same frame, and the resolution of each image remains unchanged; the implementation principle of left-right frames is: the left-eye image and the right-eye image are transmitted in the same frame, and the horizontal resolution of the image is halved; the implementation principle of top-bottom frames is: the left-eye image and the right-eye image are transmitted in the same frame, and the vertical resolution of the image is halved.
[0072] For example, the type of the color ring back tone media stream and the layout type of the three-dimensional video data may be represented by information such as the average grayscale value of the preset key frame image, the number of the preset key frame image, and the letter of the preset key frame image. For example, when the preset key frame image is the first frame image, the color ring back tone call node can set the average grayscale value of the first frame image to 0, 20, 40, 60 or 80, and encode and send the first frame image; after parsing the first frame image, the calling terminal can calculate the average grayscale value of the first frame image. When the average grayscale value of the first frame image is 0, it can be determined that the type of the color ring back tone media stream is two-dimensional video data; when the average grayscale value of the first frame image is 20, it can be determined that the type of the color ring back tone media stream is three-dimensional video data and the layout type of the three-dimensional video data is alternating frame layout; when the average grayscale value of the first frame image is 40, it can be determined that the type of the color ring back tone media stream is three-dimensional video data and the layout type of the three-dimensional video data is stacked frame layout; when the average grayscale value of the first frame image is 60, it can be determined that the type of the color ring back tone media stream is three-dimensional video data and the layout type of the three-dimensional video data is left and right frame layout; when the average grayscale value of the first frame image is 80, it can be determined that the type of the color ring back tone media stream is three-dimensional video data and the layout type of the three-dimensional video data is top and bottom frame layout.
[0073] It can be seen that after the ringback tone media stream is sent to the calling terminal, if the display attributes also include the layout type of the three-dimensional video data, the calling terminal can process the ringback tone media stream according to the layout type of the three-dimensional video data, which is conducive to displaying the video ringback tone with naked-eye three-dimensional effect on the calling terminal.
[0074] In some embodiments of the present application, the key frame image is preset as the first frame image. In this way, after the first frame image of the color ring media stream is sent to the calling terminal, the calling terminal can determine the display attribute of the color ring media stream according to the first frame image, and thus can reasonably determine the image processing method of the non-first frame image of the color ring media stream according to the display attribute of the color ring media stream.
[0075] When establishing a ring back tone media stream, since the media format of the 3D video data is consistent with the media format of the 2D video data, the 3D video data and the 2D video data only differ in content. Therefore, there is no substantial difference in the signaling for transmitting the 3D video data and the 2D video data in the communication link. Therefore, it is not suitable to use signaling to identify the type of the ring back tone media stream. In view of the above problem, the embodiment of the present application can carry the type of the ring back tone media stream and the layout type of the 3D video data through the first frame image.
[0076] Figure 4 FIG. 1 is a flow chart of a color ring tone calling node sending a color ring tone media stream in an embodiment of the present application. Figure 4 As shown, the process may include:
[0077] Step 401: Determine the type of the color ring back tone media stream to be sent.
[0078] Step 402: When the color ring back tone media stream is 3D video data, determine the layout type of the 3D video data.
[0079] Step 403: The type of the RBT media stream and the layout type of the 3D video data are carried by the first frame image of the RBT media stream.
[0080] Step 404: append subsequent images to be sent after the first frame image.
[0081] Step 405: Encode and send the color ring back tone media stream.
[0082] In some embodiments of the present application, the process of determining the type of the color ring back tone media stream to be sent includes: receiving SIP signaling sent by a calling terminal, the SIP signaling carrying the terminal type of the calling terminal; determining the type of the color ring back tone media stream to be sent according to the terminal type of the calling terminal.
[0083] Exemplarily, the SIP signaling may be an INVITE message or a 183 message.
[0084] It can be seen that the embodiment of the present application can use the SIP signaling sent by the calling terminal to indicate the terminal type of the calling terminal, so that the color ring back tone calling node can directly determine the terminal type of the calling terminal according to the SIP signaling.
[0085] In some embodiments of the present application, the terminal type of the calling terminal is located in the Contact field of the SIP signaling. Since the Contact field in the SIP signaling is defined as identifying the terminal or call capability, it is suitable for identifying the type of the calling terminal.
[0086] In some embodiments of the present application, the process of determining the type of the color ring back tone media stream to be sent according to the terminal type of the calling terminal may include:
[0087] When the terminal type of the calling terminal is a terminal supporting naked-eye 3D display and the called terminal has subscribed to a 3D video ringback tone service, determining that the type of the ringback tone media stream to be sent is 3D video data;
[0088] When the terminal type of the calling terminal is a terminal that does not support naked-eye 3D display, or the called terminal has not subscribed to the 3D video ringback tone service, it is determined that the type of the ringback tone media stream to be sent is 2D video data.
[0089] It can be understood that when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display and the called terminal has subscribed to the service of three-dimensional video ringback tone, it means that the conditions for playing three-dimensional video ringback tone on the calling terminal are met. Therefore, the type of the ringback tone media stream to be sent can be reasonably determined as three-dimensional video data; when the terminal type of the calling terminal is a terminal that does not support naked-eye three-dimensional display, or the called terminal has not subscribed to the service of three-dimensional video ringback tone, it means that the conditions for playing three-dimensional video ringback tone on the calling terminal are not met. At this time, the type of the ringback tone media stream to be sent can be reasonably determined as two-dimensional video data.
[0090] In some embodiments of the present application, before determining the type of the color ring back tone media stream to be sent, the method further includes:
[0091] When the terminal type of the calling terminal is a terminal supporting naked-eye 3D display, the called terminal has subscribed to a 3D video ringback tone service, and the called terminal has not set the ringback tone content of the 3D video ringback tone, determining whether the ringback tone content of the 2D video ringback tone set by the called terminal can be obtained;
[0092] When the CRBT content of the 2D video CRBT set by the called terminal can be obtained, the CRBT content of the 2D video CRBT is converted from 2D video data to 3D video data to obtain a CRBT media stream.
[0093] It can be seen that when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display and the called terminal has subscribed to the three-dimensional video ringback tone service, it means that the conditions for playing the three-dimensional video ringback tone on the calling terminal are met. In this case, if the called terminal has not set the ringback tone content of the three-dimensional video ringback tone, but has set the ringback tone content of the two-dimensional video ringback tone, the ringback tone content of the two-dimensional video ringback tone can be converted from two-dimensional video data to three-dimensional video data to obtain a ringback tone media stream, thereby supporting the calling terminal to display the ringback tone with naked-eye three-dimensional effect based on the received ringback tone media stream.
[0094] In some embodiments of the present application, before determining the type of the color ring back tone media stream to be sent, the method further includes:
[0095] When the terminal type of the calling terminal is a terminal supporting naked-eye 3D display, the called terminal has subscribed to a 3D video ringback tone service, and the called terminal has set the ringback tone content of the 3D video ringback tone, generating the ringback tone media stream according to the ringback tone content of the 3D video ringback tone;
[0096] When the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display, the called terminal has subscribed to the three-dimensional video ringback tone service, and the called terminal has not set the ringback tone content of the three-dimensional video ringback tone, determine whether the ringback tone content of the two-dimensional video ringback tone set by the called terminal can be obtained; when the ringback tone content of the two-dimensional video ringback tone set by the called terminal cannot be obtained, generate a ringback tone media stream according to the default ringback tone content of the three-dimensional video ringback tone.
[0097] It can be seen that when the terminal type of the calling terminal is a terminal that supports naked-eye 3D display, and the called terminal has subscribed to the service of 3D video ringback tone, it means that the conditions for playing 3D video ringback tone on the calling terminal are met. In this case, if the called terminal sets the ringback tone content of the 3D video ringback tone, the ringback tone media stream can be simply and easily generated according to the ringback tone content of the 3D video ringback tone. When the terminal type of the calling terminal is a terminal that supports naked-eye 3D display, and the called terminal has subscribed to the service of 3D video ringback tone, it means that the conditions for playing 3D video ringback tone on the calling terminal are met. In this case, if the called terminal has not set the ringback tone content of the 3D video ringback tone and the ringback tone content of the 2D video ringback tone, the ringback tone media stream can be generated according to the default ringback tone content of the 3D video ringback tone, thereby supporting the calling terminal to display the ringback tone with naked-eye 3D effect.
[0098] In some embodiments, the service of the 3D video ringback tone may be a service of a 3D ringback tone package, and the service of the 2D video ringback tone may be a service of a 2D ringback tone package. Figure 5 The flowchart of establishing the ring back tone media stream in the embodiment of the present application is as follows. Figure 5 As shown, the process may include:
[0099] Step 501: Determine the terminal type of the calling terminal.
[0100] Step 502: Determine whether the terminal type is a terminal that supports naked-eye 3D display. If not, execute step 503; if yes, execute step 505.
[0101] Here, if the calling terminal is a terminal that supports naked-eye 3D display, the calling terminal has the capability of displaying both 3D video ringback tone and 2D video ringback tone.
[0102] Step 503: Acquire the ringback tone content of the two-dimensional video ringback tone.
[0103] Step 504: Establish a color ring back tone media stream.
[0104] Here, a CRBT media stream may be established according to the CRBT content of the two-dimensional video CRBT obtained in step 503, and the type of the CRBT media stream established in step 504 is two-dimensional video data.
[0105] Step 505: Acquire the ring back tone package subscription data of the called terminal.
[0106] Step 506: Determine whether the called terminal has subscribed to the 3D video ringback tone service. If yes, execute step 507; if no, execute step 503.
[0107] In other embodiments, if the called terminal has not subscribed to the 3D video ringback tone service, it can be processed according to a preset abnormal logic.
[0108] Step 507: Obtain the color ring tone content of the called terminal.
[0109] Step 508: Determine whether the called terminal sets the 3D video ring back tone content. If yes, execute step 509; if no, execute step 511.
[0110] Step 509: Acquire the 3D video ring back tone content.
[0111] Step 510: Establish a color ring back tone media stream.
[0112] Here, a CRBT media stream may be established according to the CRBT content of the 3D video CRBT, and the type of the CRBT media stream established in step 508 is 3D video data.
[0113] Step 511: determine whether the called terminal can obtain the ringback tone content of the two-dimensional video ringback tone, if not, execute step 512, if yes, execute step 513.
[0114] Step 512: Obtain the default 3D video CRBT content, and then execute step 510.
[0115] Step 513: Obtain the 3D video ring back tone content through video conversion, and then execute step 510.
[0116] Here, the CRBT content of the 2D video CRBT may be converted from 2D video data to 3D video data to obtain the CRBT content of the 3D video CRBT.
[0117] Figure 6 A flowchart of a method for processing a color ring back tone media stream applied to a calling terminal provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the process includes:
[0118] Step 601: Receive the ring back tone media stream.
[0119] Step 602: extracting a preset key frame image of the color ring back tone media stream.
[0120] Step 603: Play the CRBT media stream according to the display attribute of the CRBT media stream carried by the preset key frame image; wherein the display attribute at least includes the type of the CRBT media stream.
[0121] In practical applications, steps 601 to 603 may be implemented based on a processor, and the processor may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
[0122] It can be seen that since the preset key frame image of the color ring back tone media stream carries the display attributes of the color ring back tone media stream, and the display attributes include at least the type of the color ring back tone media stream, after the calling terminal receives the color ring back tone media stream, it can determine whether to disable the three-dimensional rendering capability or call the three-dimensional rendering capability according to the type of the color ring back tone media stream, so that the color ring back tone media stream can be played according to the type of the color ring back tone media stream.
[0123] In some embodiments of the present application, when the type of the color ring back tone media stream is three-dimensional video data, the display attribute further includes a layout type of the three-dimensional video data.
[0124] It can be seen that after the calling terminal receives the ringback tone media stream, if the display attributes also include the layout type of the 3D video data, the calling terminal can process the ringback tone media stream according to the layout type of the 3D video data, which is conducive to displaying the video ringback tone with naked-eye 3D effect on the calling terminal.
[0125] In some embodiments of the present application, the key frame image is preset as the first frame image. In this way, after the first frame image of the color ring media stream is sent to the calling terminal, the calling terminal can determine the display attribute of the color ring media stream according to the first frame image, and thus can reasonably determine the image processing method of the non-first frame image of the color ring media stream according to the display attribute of the color ring media stream.
[0126] Figure 7 FIG. 1 is a flow chart of a calling terminal processing a color ring back tone media stream in an embodiment of the present application. Figure 7 As shown, the process may include:
[0127] Step 701: Receive the ring back tone media stream.
[0128] Step 702: extract the first frame image of the ring back tone media stream.
[0129] Step 703: Determine the type of the color ring back tone media stream and the layout type of the 3D video data by parsing the first frame image.
[0130] Step 704: Process the CRBT media stream according to the type of the CRBT media stream and the layout type of the 3D video data.
[0131] For example, the calling terminal can determine whether to disable the 3D rendering capability or to call the 3D rendering capability according to the type of the color ring back tone media stream, and can enable different 3D display rendering modes for different layout types of the 3D video data. For example, the 3D rendering capability can be disabled by disabling a 3D display software development kit (SDK), and the 3D rendering capability can be called by calling the 3D display SDK.
[0132] Exemplarily, the calling terminal may parse and render non-first frame images of the color ring back tone media stream according to the parsing result of the first frame image.
[0133] In some embodiments of the present application, before receiving the color ring back tone media stream, the calling terminal may also send SIP signaling to the color ring back tone calling node, and the SIP signaling carries the terminal type of the calling terminal; the terminal type of the calling terminal is used for the color ring back tone calling node to determine the type of the color ring back tone media stream.
[0134] It can be seen that the embodiment of the present application can use the SIP signaling sent by the calling terminal to indicate the terminal type of the calling terminal, so that the color ring back tone calling node can directly determine the terminal type of the calling terminal according to the SIP signaling.
[0135] In some embodiments of the present application, the terminal type of the calling terminal is located in the Contact field of the SIP signaling. Since the Contact field in the SIP signaling is defined as identifying the terminal or call capability, it is suitable for identifying the type of the calling terminal.
[0136] In a communication network that is compatible with two-dimensional terminals, naked-eye three-dimensional terminals, two-dimensional video ringback tone services, three-dimensional video ringback tone services, ringback tone content of two-dimensional video ringback tone and ringback tone content of three-dimensional video ringback tone, when a ringback tone call in the called domain is triggered, due to differences in terminal type, ringback tone service type and ringback tone content, it is necessary for the ringback tone call node and terminal on the network side to identify the terminal type, ringback tone service type and ringback tone content, and when the ringback tone content of the three-dimensional video ringback tone is missing, a ringback tone call based on three-dimensional video data is established by converting two-dimensional video data into three-dimensional video data.
[0137] Figure 8 The interactive flow chart of establishing a ring back tone call in the embodiment of the present application is as follows: Figure 8 As shown, the process includes:
[0138] Step 81: The node in the calling domain sends an INVITE message to the node in the called domain.
[0139] Step 82: The node in the called domain may reply a 183 message to the node in the calling domain.
[0140] Here, the INVITE message and the 183 message may carry information such as the terminal type of the calling terminal.
[0141] Exemplarily, the following code indicating the terminal type of the calling terminal may be added to the INVITE message or the 183 message:
[0142] Allow:INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOT IFY,MESSAGE,PRACK
[0143] Contact:
[0144] +g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";
[0145] audio;
[0146] video;
[0147] +sip.instance=" <urn:gsma:imei:35293609-715199-0>";
[0148] ue.type=g.3gpp.ue.3D
[0149] …
[0150] Step 83: The calling domain and the called domain exchange messages such as PRACK and UPDATE.
[0151] Step 84: The called terminal sends a 180 message to the I-CSCF or S-CSCF.
[0152] Step 85: The I-CSCF or S-CSCF may reply a 180 message to the color ring back tone calling node.
[0153] Step 86: Acquire the color ring tone content and generate the first frame image of the color ring tone media stream.
[0154] The CRBT content obtained in this step may be a 2D video CRBT content or a 3D video CRBT content. The method of generating the first frame image of the CRBT media stream has been described in the aforementioned contents.
[0155] Step 87: The color ring tone calling node sends an UPDATE message to the calling terminal.
[0156] Here, the UPDATE message sent by the color ring tone calling node to the calling terminal may carry the color ring tone media stream; after receiving the color ring tone media stream, the calling terminal may parse and render the image of the color ring tone media stream according to the parsing result of the first frame image of the color ring tone media stream.
[0157] Step 88: The calling terminal replies a 200 UPDATE message to the color ring back tone calling node.
[0158] The embodiments of the present application can be applied to scenarios such as terminals, communication services, ringback tone services, and three-dimensional video processing, and can realize notification of terminal types and ringback tone media stream types between the network side and the terminal, thereby solving the problem in the video ringback tone architecture that after access to a naked-eye three-dimensional terminal, the network side is unable to know the terminal type to determine the type of ringback tone media stream to be sent, and the terminal is unable to know the type of media stream sent by the network to determine whether to call the three-dimensional display capability. In addition, combined with the called ringback tone logic, a called video ringback tone media stream judgment logic compatible with two-dimensional terminals and naked-eye three-dimensional terminals is provided, covering the exception handling logic when a service of subscribing to a three-dimensional video ringback tone is subscribed but the ringback tone content of the three-dimensional video ringback tone is not set.
[0159] In summary, the embodiment of the present application proposes a method for displaying a ringback tone with a naked-eye three-dimensional effect based on SIP signaling, provides a reasonable method for the terminal to report the terminal type, the cloud to notify the ringback tone media stream type and the layout type of the three-dimensional video data, and provides the business logic of the two-dimensional video ringback tone and the business logic of the three-dimensional video ringback tone applicable to the ringback tone call node; the embodiment of the present application also proposes corresponding processing logic for the scenario where the called terminal has subscribed to the service of the three-dimensional video ringback tone but has not set the ringback tone content of the three-dimensional video ringback tone. The embodiment of the present application can propose a processing mode for naked-eye three-dimensional ringback tone in a communication network that is compatible with two-dimensional terminals, naked-eye three-dimensional terminals, services of two-dimensional video ringback tone, services of three-dimensional video ringback tone, ringback tone content of two-dimensional video ringback tone and ringback tone content of three-dimensional video ringback tone, which is of great value to the ringback tone business of communication operators.
[0160] The embodiment of the present application proposes to implement notification of the calling terminal type by adding a field identifier in the INVITE stage or the 183 stage in the video ring back tone process, and to identify the type of the ring back tone media stream and the layout type of the three-dimensional video data by the first frame image of the real-time transport protocol (RTP) media stream. It is capable of processing different layout types of two-dimensional video ring back tone, three-dimensional video ring back tone and three-dimensional video data, and provides the relevant processing logic of the ring back tone call node for the three-dimensional video ring back tone.
[0161] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0162] Fig. 9 FIG. 1 is a schematic diagram of a structure of a device for processing a color ring back tone media stream applied to a color ring back tone call node according to an embodiment of the present application. Fig. 9 As shown, the device comprises:
[0163] A determination module 901 is used to determine the type of the color ring back tone media stream to be sent;
[0164] The sending module 902 is used to send the CRBT media stream to the calling terminal when the preset key frame image of the CRBT media stream carries the display attribute of the CRBT media stream; wherein the display attribute at least includes the type of the CRBT media stream.
[0165] In some embodiments, when the type of the color ring back tone media stream is three-dimensional video data, the display attribute further includes a layout type of the three-dimensional video data.
[0166] In some embodiments, the preset key frame image is a first frame image.
[0167] In some embodiments, the determining module 901 is used to determine the type of the color ring back tone media stream to be sent, including:
[0168] receiving a SIP signaling sent by the calling terminal, wherein the SIP signaling carries a terminal type of the calling terminal;
[0169] The type of the color ring back tone media stream to be sent is determined according to the terminal type of the calling terminal.
[0170] In some embodiments, the terminal type of the calling terminal is located in the Contact field of the SIP signaling.
[0171] In some embodiments, the determining module 901 is used to determine the type of the color ring back tone media stream to be sent according to the terminal type of the calling terminal, including:
[0172] When the terminal type of the calling terminal is a terminal supporting naked-eye 3D display and the called terminal has subscribed to a 3D video ringback tone service, determining that the type of the ringback tone media stream to be sent is 3D video data;
[0173] When the terminal type of the calling terminal is a terminal that does not support naked-eye 3D display, or the called terminal has not subscribed to the 3D video ringback tone service, it is determined that the type of the ringback tone media stream to be sent is 2D video data.
[0174] In some embodiments, the device also includes an acquisition module, which is used to determine whether the ringback tone content of the two-dimensional video ringback tone set by the called terminal can be obtained when the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display, the called terminal has subscribed to the three-dimensional video ringback tone service, and the called terminal has not set the ringback tone content of the three-dimensional video ringback tone; when the ringback tone content of the two-dimensional video ringback tone set by the called terminal can be obtained, the ringback tone content of the two-dimensional video ringback tone is converted from two-dimensional video data to three-dimensional video data to obtain the ringback tone media stream.
[0175] In some embodiments, the device also includes an acquisition module, which is used to generate the ringback tone media stream according to the ringback tone content of the three-dimensional video ringback tone when the terminal type of the calling terminal is a terminal supporting naked-eye three-dimensional display, the called terminal has subscribed to the service of three-dimensional video ringback tone, and the called terminal has set the ringback tone content of the three-dimensional video ringback tone; when the terminal type of the calling terminal is a terminal supporting naked-eye three-dimensional display, the called terminal has subscribed to the service of three-dimensional video ringback tone, and the called terminal has not set the ringback tone content of the three-dimensional video ringback tone, determine whether the ringback tone content of the two-dimensional video ringback tone set by the called terminal can be obtained; when the ringback tone content of the two-dimensional video ringback tone set by the called terminal cannot be obtained, generate the ringback tone media stream according to the default ringback tone content of the three-dimensional video ringback tone.
[0176] Fig.10 FIG. 1 is a structural diagram of a device for processing a color ring back tone media stream applied to a calling terminal according to an embodiment of the present application. Fig.10 As shown, the device comprises:
[0177] The transceiver module 1001 is used to receive the color ring back tone media stream;
[0178] The processing module 1002 is used to extract the preset key frame image of the CRBT media stream; play the CRBT media stream according to the display attribute of the CRBT media stream carried by the preset key frame image; wherein the display attribute at least includes the type of the CRBT media stream.
[0179] In some embodiments, when the type of the color ring back tone media stream is three-dimensional video data, the display attribute further includes a layout type of the three-dimensional video data.
[0180] In some embodiments, the preset key frame image is a first frame image.
[0181] In some embodiments, the transceiver module 1001 is also used to send SIP signaling to the color ring back tone call node before receiving the color ring back tone media stream, and the SIP signaling carries the terminal type of the calling terminal; the terminal type of the calling terminal is used by the color ring back tone call node to determine the type of the color ring back tone media stream.
[0182] In some embodiments, the terminal type of the calling terminal is located in the Contact field of the SIP signaling.
[0183] It should be noted that the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0184] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a terminal, a server, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0185] Correspondingly, an embodiment of the present application further provides a computer program product, which includes computer executable instructions, and the computer executable instructions are used to implement any method for processing a color ring back tone media stream provided in the embodiment of the present application.
[0186] Accordingly, an embodiment of the present application further provides a computer storage medium, on which computer executable instructions are stored, and the computer executable instructions are used to implement any one of the color ring back tone media stream processing methods provided in the above embodiments.
[0187] An embodiment of the present application also provides an electronic device. Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.11 As shown, the electronic device 110 may include:
[0188] A memory 111, used for storing executable instructions;
[0189] The processor 112 is configured to implement any one of the above-mentioned methods for processing the color ring back tone media stream when executing the executable instructions stored in the memory 111.
[0190] The processor 112 may be at least one of an ASIC, a DSP, a DSPD, a PLD, a FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
[0191] The above-mentioned computer-readable storage medium or memory 111 can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0192] In some embodiments, the functions or modules included in the device provided in the embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.
[0193] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0194] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0195] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0196] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0197] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0198] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for processing a color ring back tone media stream, characterized in that: Applied to a color ring back tone calling node, the method includes: Determine the type of the ringback tone media stream to be sent; In a case where the preset key frame image of the CRBT media stream carries the display attribute of the CRBT media stream, the CRBT media stream is sent to the calling terminal; wherein the display attribute at least includes the type of the CRBT media stream.
2. The method according to claim 1, characterized in that When the type of the CRBT media stream is 3D video data, the display attribute further includes a layout type of the 3D video data.
3. The method according to claim 1, characterized in that The preset key frame image is the first frame image.
4. The method according to any one of claims 1 to 3, characterized in that Determining the type of the color ring back tone media stream to be sent includes: receiving a Session Initiation Protocol (SIP) signaling sent by the calling terminal, wherein the SIP signaling carries the terminal type of the calling terminal; The type of the color ring back tone media stream to be sent is determined according to the terminal type of the calling terminal.
5. The method according to claim 4, characterized in that The terminal type of the calling terminal is located in the Contact field of the SIP signaling.
6. The method according to claim 4, characterized in that The determining the type of the color ring back tone media stream to be sent according to the terminal type of the calling terminal includes: When the terminal type of the calling terminal is a terminal supporting naked-eye 3D display and the called terminal has subscribed to a 3D video ringback tone service, determining that the type of the ringback tone media stream to be sent is 3D video data; When the calling terminal is a terminal that does not support naked-eye 3D display, or the called terminal has not subscribed to the 3D video ringback tone service, the type of the ringback tone media stream to be sent is determined to be 2D video data.
7. The method according to claim 6, characterized in that Before determining the type of the color ring back tone media stream to be sent, the method further includes: When the calling terminal is a terminal that supports naked-eye 3D display, the called terminal has subscribed to a 3D video ringback tone service, and the called terminal has not set the ringback tone content of the 3D video ringback tone, determining whether the ringback tone content of the 2D video ringback tone set by the called terminal can be obtained; When the CRBT content of the 2D video CRBT set by the called terminal can be obtained, the CRBT content of the 2D video CRBT is converted from 2D video data to 3D video data to obtain the CRBT media stream.
8. The method according to claim 6, characterized in that Before determining the type of the color ring back tone media stream to be sent, the method further includes: When the calling terminal is a terminal that supports naked-eye 3D display, the called terminal has subscribed to a 3D video ringback tone service, and the called terminal has set the ringback tone content of the 3D video ringback tone, generating the ringback tone media stream according to the ringback tone content of the 3D video ringback tone; When the terminal type of the calling terminal is a terminal that supports naked-eye three-dimensional display, the called terminal has subscribed to the three-dimensional video ringback tone service, and the called terminal has not set the ringback tone content of the three-dimensional video ringback tone, determine whether the ringback tone content of the two-dimensional video ringback tone set by the called terminal can be obtained; when the ringback tone content of the two-dimensional video ringback tone set by the called terminal cannot be obtained, generate the ringback tone media stream according to the default ringback tone content of the three-dimensional video ringback tone.
9. A method for processing a color ring back tone media stream, characterized in that: Applied to a calling terminal, the method includes: Receive ringback tone media stream; Extracting a preset key frame image of the color ring back tone media stream; The CRBT media stream is played according to the display attribute of the CRBT media stream carried by the preset key frame image; wherein the display attribute at least includes the type of the CRBT media stream.
10. The method according to claim 9, characterized in that When the type of the CRBT media stream is 3D video data, the display attribute further includes a layout type of the 3D video data.
11. The method according to claim 9, characterized in that The preset key frame image is the first frame image.
12. The method according to any one of claims 9 to 11, characterized in that Before receiving the color ring back tone media stream, the method further includes: A Session Initiation Protocol (SIP) signaling is sent to a CRBT calling node, wherein the SIP signaling carries the terminal type of the calling terminal; the terminal type of the calling terminal is used by the CRBT calling node to determine the type of the CRBT media stream.
13. The method according to claim 12, characterized in that The terminal type of the calling terminal is located in the Contact field of the SIP signaling.
14. A device for processing a color ring back tone media stream, characterized in that: Applied to a color ring back tone calling node, the device includes: A determination module, configured to determine the type of the color ring back tone media stream to be sent; The sending module is configured to send the CRBT media stream to the calling terminal when the preset key frame image of the CRBT media stream carries the display attribute of the CRBT media stream; wherein the display attribute at least includes the type of the CRBT media stream.
15. A device for processing a color ring back tone media stream, characterized in that: Applied to a calling terminal, the device includes: Transceiver module, used for receiving ringback tone media stream; A processing module is used to extract a preset key frame image of the CRBT media stream; play the CRBT media stream according to the display attributes of the CRBT media stream carried by the preset key frame image; wherein the display attributes at least include the type of the CRBT media stream.
16. An electronic device, characterized in that: The electronic device comprises a processor and a memory for storing a computer program that can be run on the processor; wherein, The processor is configured to run the computer program to perform the method according to any one of claims 1 to 13.
17. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
18. A computer program product comprising a computer program, characterized in that The computer program implements the method according to any one of claims 1 to 13 when executed by a processor.
Citation Information
Patent Citations
Method, system and device for realizing multimedia color ring back tone service
CN102571819A
Method, device and system for video call
CN105872444A
Method for playing video ring back tone and calling user equipment
CN106303104A
Video polyphonic ringtone playing method, device and system
CN109803056A
Video polyphonic ringtone processing method and device, and computer readable storage medium
CN112134999A
