Video ringback tone playing method, device, equipment and computer storage medium

By receiving the target video ringback tone at the calling terminal and determining the user's ear position based on posture information, the video ringback tone is played in hands-free mode, which solves the problem of video ringback tones damaging users' hearing and improves the user experience.

CN115484349BActive Publication Date: 2024-11-15CHINA MOBILE COMM GRP CHONGQING CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110597128.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-31
Publication Date
2024-11-15
Estimated Expiration
2041-05-31

AI Technical Summary

Technical Problem

Existing technology may cause hearing damage to users when playing video ringback tones, especially when the calling terminal is close to the user's ear.

Method used

By receiving target video ringback tones and posture information during the call to the called terminal, it determines whether the user's ear is within a preset distance range of the calling terminal, and plays the video ringback tones when the ear is outside the range, while playing audio content in hands-free mode.

Benefits of technology

This effectively avoids hearing damage caused by playing video ringback tones when the calling terminal is close to the ear, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484349B_ABST
    Figure CN115484349B_ABST
Patent Text Reader

Abstract

The present application discloses a video ringback tone playing method, device, equipment and computer storage medium, wherein the video ringback tone playing method is applied to a calling terminal, and the method comprises: receiving a target video ringback tone and a target message during a call to a called terminal; determining posture information in response to the target message, the posture information being used to indicate whether the user's ear is within a preset distance range of the calling terminal; and playing the target video ringback tone when the posture information indicates that the user's ear is outside the preset distance range of the calling terminal. The embodiments of the present application can effectively avoid the hearing loss of the user caused by playing the video ringback tone when the calling terminal is near the user's ear, thereby improving the user's experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As we all know, the video ringback tone service is a service based on the Voice over Long-Term Evolution (VOLTE) bearer technology. Generally speaking, when the calling terminal sends a session request to the called terminal that has activated the video ringback tone service, the calling terminal can receive and play a video ringback tone to replace the ordinary ringback tone.

[0003] The audio content in the video ringback tone is usually played outwardly through a speaker. However, the user of the calling terminal may habitually put the calling terminal to his ear after dialing, and the played audio content is likely to cause damage to the user's hearing. Summary of the invention

[0004] The embodiments of the present application provide a method, device, equipment and computer storage medium for playing a video ringback tone to solve the problem in the prior art that playing a video ringback tone may cause damage to the user's hearing.

[0005] In a first aspect, an embodiment of the present application provides a video ringback tone playing method, which is applied to a calling terminal, and the method includes:

[0006] In the process of calling the called terminal, receiving the target video ring back tone and target message;

[0007] In response to the target message, determining posture information, the posture information being used to indicate whether the user's ear is within a preset distance range of the calling terminal;

[0008] When the posture information indicates that the user's ear is outside the preset distance range of the calling terminal, the target video ringback tone is played.

[0009] In a second aspect, an embodiment of the present application provides a video ring back tone playback device, which is applied to a calling terminal, and the device includes:

[0010] A receiving module, used for receiving a target video ringback tone and a target message during a call to a called terminal;

[0011] A determination module, configured to determine, in response to a target message, posture information, the posture information being used to indicate whether the user's ear is within a preset distance range of a calling terminal;

[0012] The first playing module is used to play the target video ringback tone when the posture information indicates that the user's ear is outside the preset distance range of the calling terminal.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:

[0014] a processor and a memory storing computer program instructions;

[0015] The processor implements the above-mentioned video ringback tone playing method when executing the computer program instructions.

[0016] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above-mentioned video ringback tone playback method is implemented.

[0017] The video ringback tone playing method provided in the embodiment of the present application is applied to the calling terminal, and in the process of calling the called terminal, the target video ringback tone and the target message are received, and in response to the target message, the posture information indicating whether the user's ear is located within the preset distance range of the calling terminal is determined, and the target video ringback tone is played when the posture information indicates that the user's ear is located outside the preset distance range of the calling terminal. This embodiment can play the video ringback tone when the calling terminal determines that the user's ear is located outside the preset distance range of the calling terminal, effectively avoiding the user's hearing damage caused by playing the video ringback tone when the calling terminal is near the user's ear, thereby improving the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0019] Figure 1 is an example diagram of a framework that can be used to implement the video ringback tone playing method provided in an embodiment of the present application;

[0020] Figure 2 It is a flowchart of a video ringback tone playing method provided in an embodiment of the present application;

[0021] Figure 3 It is a flowchart of a method for playing a video ringback tone in a specific application example;

[0022] Figure 4 is a structural diagram of a video ringback tone playback device provided in an embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0026] In order to solve the problems of the prior art, the embodiments of the present application provide a video ring back tone playing method, device, equipment and computer storage medium. The following first introduces an example of the architecture to which the video ring back tone playing method provided by the embodiments of the present application can be applied.

[0027] like Figure 1 As shown, in this architecture, a calling terminal 11, a called terminal 12 and a server 13 may be included. The server 13 may be a service server or an application server, etc. The server 13 may be used as a color ring back tone platform.

[0028] The calling terminal 11 and the called terminal 12 may be terminal devices such as mobile phones, tablet computers, etc., which are not specifically limited here.

[0029] In combination with some actual application scenarios, the called terminal 12 may have subscribed to the video ringback tone service from the server 13. On this basis, when the calling terminal 11 initiates a session request to the called terminal 12 (for example, the user of the calling terminal 11 makes a call to the user of the called terminal 12), the server 13 may send the video ringback tone to the calling terminal 11 for the calling terminal 11 to play.

[0030] Specifically, the calling terminal 11 can initiate a session with the called terminal 12. The specific initiation method of the session can be audio or video. When the server 13 decides to play a video ringback tone for the calling terminal 11 based on the media negotiation between the calling and called parties, it can send a video ringback tone media stream to the calling terminal 11. The calling terminal 11 can receive the video ringback tone media stream, display the video screen on the display screen, and play the audio content through the mobile phone speaker. In this way, the user of the calling terminal 11 can watch the content of the video ringback tone customized by the called terminal 12.

[0031] Figure 2 FIG. 1 is a flow chart showing a method for playing a video ring back tone provided by an embodiment of the present application. The method can be applied to a calling terminal, such as Figure 2 As shown, the method includes:

[0032] Step 201, receiving a target video ring back tone and a target message during a call to a called terminal;

[0033] Step 202, in response to the target message, determining posture information, the posture information being used to indicate whether the user's ear is within a preset distance range of the calling terminal;

[0034] Step 203: When the posture information indicates that the user's ear is outside the preset distance range of the calling terminal, play the target video ringback tone.

[0035] In this embodiment, the calling terminal may send a session request to the called terminal, for example, by dialing a phone number, etc. Before the called terminal agrees to the session request, the calling terminal may be considered to be in the process of calling the called terminal.

[0036] Of course, in some application scenarios, the above-mentioned calling process may also refer to the process after the called terminal receives the session request and before the session is connected (for example, the user of the called terminal does not operate the called terminal to connect the session).

[0037] Combination Figure 1 In the architecture shown, in this embodiment, the target video ringback tone and the target message received by the calling terminal may be sent by the server.

[0038] The target video ringback tone can be considered as an audio and video media stream, or a multimedia file including audio and video.

[0039] In combination with some actual application scenarios, the target video ringback tone can be matched with the called terminal, that is, the user of the called terminal can set the target video ringback tone played on the calling terminal. Of course, the target video ringback tone can also be a video ringback tone preset in the server, or a video ringback tone randomly determined by the server from multiple stored candidate video ringback tones, or a video ringback tone obtained by splicing multiple candidate video ringback tones by the server, etc.

[0040] In this embodiment, there is no specific limitation on the way in which the server determines the target video ringback tone. From the perspective of the calling terminal, the target video ringback tone can be received from the server.

[0041] The target message can be used to trigger the called terminal to determine the posture information.

[0042] Of course, in actual applications, the target message can also be used to further notify the calling terminal that the passive terminal has received the session request. Alternatively, the target message can also be used to instruct the calling terminal to play the target video ringback tone when the posture information meets the preset conditions.

[0043] In step 202, the calling terminal may determine posture information in response to the target message.

[0044] From the perspective of usage, the posture information can be used to indicate whether the user's ear is located within a preset distance range of the calling terminal.

[0045] The following is an explanation of the method of determining the posture information with reference to some examples.

[0046] The calling terminal may be provided with a distance sensor, which can collect the distance between various objects and the calling terminal. When the distance data collected by the distance sensor indicates that there is no object within the preset distance range of the calling terminal, it can be said that the user's ear is not within the preset distance range.

[0047] On the contrary, when the distance data collected by the distance sensor indicates that there is an object within the preset distance range of the calling terminal, the object can be considered to be the user's ear according to a preset rule, that is, the user's ear is within the preset distance range of the calling terminal.

[0048] In practical applications, the data collected by sensors such as the camera of the calling terminal can be further combined to determine whether the object within the preset distance range of the calling terminal is indeed the user's ear. For example, the image collected by the camera can be identified to determine whether the object is the user's ear.

[0049] Of course, you can also use a camera alone to capture images, recognize the images, determine whether the image includes the user's ears, and if the image includes the user's ears, determine whether the user's ears are within a preset distance range of the calling terminal based on the proportion of image pixels of the user's ears.

[0050] Generally speaking, when a video ringback tone is played, the audio content is played outwardly through a loudspeaker by default. When the user places the calling terminal next to the ear, the played audio content may cause damage to the ear.

[0051] Therefore, in step 203, the target video ringback tone may be played when the posture information indicates that the user's ear is outside the preset distance range of the calling terminal.

[0052] It is easy to understand that when the user's ear is outside the preset distance range of the calling terminal, the intensity of the external audio sound of the calling terminal will be attenuated in the process of propagating to the user's ear, and the loudness of the sound that the user can hear will also be reduced, thereby reducing the damage of the external sound to the user's hearing.

[0053] The video ringback tone playing method provided in the embodiment of the present application is applied to the calling terminal, and in the process of calling the called terminal, the target video ringback tone and the target message are received, and in response to the target message, the posture information indicating whether the user's ear is located within the preset distance range of the calling terminal is determined, and the target video ringback tone is played when the posture information indicates that the user's ear is located outside the preset distance range of the calling terminal. This embodiment can play the video ringback tone when the calling terminal determines that the user's ear is located outside the preset distance range of the calling terminal, effectively avoiding the user's hearing damage caused by playing the video ringback tone when the calling terminal is near the user's ear, thereby improving the user's experience.

[0054] In some possible implementations, the calling terminal may store historical video ringback tones and their file identifiers in association.

[0055] For example, the calling terminal can receive and store the video ringback tone sent by the server during the historical call to the called terminal, that is, the above-mentioned historical video ringback tone. These historical video ringback tones can have corresponding file identifiers, such as the name or number of the video ringback tone.

[0056] Correspondingly, in the above step 202, the target video ringback tone received by the calling terminal may also have a file identifier.

[0057] When receiving the target video ringback tone, the calling terminal can analyze the file identifier corresponding to the target video ringback tone. When the target video ringback tone is determined to be a historical video ringback tone stored in the calling terminal according to the file identifier, the calling terminal can directly read the historical video ringback tone for playing. In this way, the occupation of network bandwidth resources can be saved.

[0058] It is easy to understand that the calling terminal generally plays audio in a receiver mode and a hands-free mode.

[0059] The handset mode is generally the corresponding audio playback mode when the user places the calling terminal next to the ear. In the handset mode, the volume of the played audio is relatively low, ensuring that the user can hear the audio content while avoiding damage to the user's hearing.

[0060] In contrast, the hands-free mode generally refers to an audio playback mode in which the calling terminal plays the audio through a speaker. In the hands-free mode, the volume of the played audio is relatively loud, so that the user can still hear the audio content clearly when the calling terminal is far away from the user.

[0061] In one example, in the above step 203, playing the target video ringback tone may include:

[0062] The target video ringback tone is played in hands-free mode.

[0063] Generally speaking, the target video ringback tone includes audio content and video content. When the calling terminal determines that the target video ringback tone can be played according to the posture information, the video content can be displayed on the display screen. At the same time, in order to facilitate the user to listen to the audio content more clearly while watching the video content, the calling terminal can play the audio content in the hands-free mode.

[0064] It is easy to understand that playing audio content in hands-free mode can also be considered as playing the target video ringback tone in hands-free mode, so that the user can obtain the video and audio content in the video ringback tone, thereby improving the user experience.

[0065] Optionally, in the above step 202, after determining the posture information in response to the target message, the video ringback tone playing method may further include:

[0066] When the posture information indicates that the user's ear is within a preset distance range of the calling terminal, a preset prompt voice is played in the handset mode, and the preset prompt voice is used to prompt the user to place the calling terminal outside the preset distance range of the user's ear.

[0067] In some actual application scenarios, the user of the calling terminal may habitually place the calling terminal next to the ear after making a call. When the calling terminal determines that the user's ear is within a preset distance range of the calling terminal based on the posture information, in order to avoid damaging the user's hearing, the target video ringback tone may not be played.

[0068] In order to enable the user of the calling terminal to be aware that the video ringback tone content can be viewed while maintaining the holding posture of the calling terminal, in this embodiment, the calling terminal can give a voice prompt to the user.

[0069] Specifically, in this embodiment, when the posture information indicates that the user's ear is within the preset distance range of the calling terminal, the calling terminal can play a preset prompt voice in the handset mode to prompt the user to place the calling terminal outside the preset distance range of the user's ear.

[0070] For example, the preset prompt voice may be "A video ringback tone will be played soon, please hold your phone in front of you", etc. The user may listen to the preset prompt voice and move the calling terminal away from the ear according to the guidance of the preset prompt voice.

[0071] It is easy to understand that the above-mentioned preset prompt voice can be pre-stored in the calling terminal, or it can be sent to the calling terminal by the server together with the target video ringtone, or it can be sent from the server to the calling terminal through further data interaction between the calling terminal and the server when the posture information indicates that the user's ear is within a preset distance range of the calling terminal.

[0072] The preset prompt voice can be played in the handset mode. In the handset mode, the volume of the preset prompt voice can be low to avoid damage to the user's hearing. At the same time, it can also provide a prompt to the user to guide the user to move the calling terminal away from the ear and further watch the video ringback tone.

[0073] Optionally, in the above step 202, after determining the posture information in response to the target message, the video ringback tone playing method may further include:

[0074] When the posture information indicates that the user's ear is within a preset distance range of the calling terminal, the target video ringback tone is stored in a cache.

[0075] As shown above, when the posture information indicates that the user's ear is within the preset distance range of the calling terminal, the target video ringback tone may not be played first to avoid damaging the user's hearing.

[0076] In this embodiment, considering that the user may subsequently move the calling terminal away from the ear, or initiate a session request to the called terminal again, the target video ringback tone may be cached when the posture information indicates that the user's ear is within a preset distance range of the calling terminal.

[0077] In this way, when the playing conditions of the target video ringback tone are met later (for example, after the user moves the calling terminal away from the ear), the stored target video ringback tone can be directly read from the cache for playing, reducing the playing delay or freeze caused by network bandwidth factors.

[0078] Optionally, after storing the target video ringback tone in the cache, the video ringback tone playing method may further include:

[0079] When it is detected that the user's ear is outside the preset distance range of the calling terminal, the target video ringback tone stored in the cache is played.

[0080] With some examples, when the calling terminal detects that the user's ear is within a preset distance range, on the one hand, the target video ringback tone can be stored in the cache, and on the other hand, the distance between the user's ear and the calling terminal can be continuously detected.

[0081] When the calling terminal detects that the user's ear is outside the preset distance range, the target video ringback tone stored in the cache can be played. In this way, the playback delay of the target video ringback tone can be reduced, the playback freeze can be reduced, and the user viewing experience can be improved.

[0082] In some examples, the posture information is determined based on at least one of the following: distance data collected by a distance sensor, posture data collected by a posture sensor, and image data collected by a camera.

[0083] As shown above, the distance sensor can collect the distance between various objects and the calling terminal. When the distance data collected by the distance sensor indicates that there is no object within the preset distance range of the calling terminal, it can be said that the user's ear is not within the preset distance range.

[0084] On the contrary, when the distance data collected by the distance sensor indicates that there is an object within the preset distance range of the calling terminal, the object can be considered to be the user's ear according to a preset rule, that is, the user's ear is within the preset distance range of the calling terminal.

[0085] When it is determined based on the distance data that there is an object within the preset distance range of the calling terminal, the data collected by sensors such as the camera of the calling terminal can be further combined to determine whether the object within the preset distance range of the calling terminal is indeed the user's ear. For example, the image collected by the camera can be identified to determine whether the object is the user's ear.

[0086] Of course, you can also use a camera alone to capture images, recognize the images, determine whether the image includes the user's ears, and if the image includes the user's ears, determine whether the user's ears are within a preset distance range of the calling terminal based on the proportion of image pixels of the user's ears.

[0087] In addition, the above-mentioned posture information can also be determined based on posture data collected by a posture sensor. The posture sensor can be a sensor such as a gyroscope, an acceleration sensor, etc., which can be used to obtain the posture data of the calling terminal.

[0088] For example, the posture data may be the inclination angle of the calling terminal relative to the horizontal plane. Generally speaking, when a user makes a call and places the calling terminal to the ear, the calling terminal may be in a state close to vertical, that is, the inclination angle of the calling terminal relative to the horizontal plane is close to 90 degrees. When a user makes a call and places the calling terminal in front of the body, the calling terminal may be in a state close to horizontal, that is, the inclination angle of the calling terminal relative to the horizontal plane is close to 0 degrees.

[0089] It can be seen that, based on the posture data collected by the posture sensor, to a certain extent, posture information indicating whether the user's ear is located within the preset distance range of the calling terminal can be determined.

[0090] Of course, in practical applications, in order to ensure the accuracy of the posture information, the above posture information can also be determined by combining data collected by multiple sensors.

[0091] By flexibly selecting data collected by various types of sensors to determine posture information, it is helpful to meet the needs of different calling terminals for obtaining posture information and expand the scope of application of the video ringback tone playing method.

[0092] Optionally, before the above step 201, receiving the target video ringback tone and the target message, the video ringback tone playing method may further include:

[0093] A session request is sent to the called terminal, and the target message is generated by the called terminal in response to the session request.

[0094] In some application scenarios, the called terminal may not be able to receive the session request sent by the calling terminal due to network reasons, etc. For the calling terminal, since the called terminal cannot receive the session request, the call may be terminated in a relatively short time.

[0095] In order to reduce the consumption of network bandwidth resources in the above application scenario, in this embodiment, when it is determined that the called terminal receives the session request, the target video ringback tone can be played in the calling terminal.

[0096] In conjunction with the above example, the target message may be sent directly from the server to the calling terminal. In conjunction with this example, in this embodiment, the target message may be generated in the called terminal and forwarded to the calling terminal through the server.

[0097] When the called terminal receives the session request sent by the calling terminal, it can generate a target message in response to the session request. The generation of the target message may not depend on the operation of the user of the called terminal, that is, when the called terminal receives the session request, regardless of whether the session is finally established successfully, it can generate the target message and forward it to the calling terminal through the server.

[0098] In this way, the problem of wasting relevant bandwidth resources by briefly playing the target video ringback tone at the calling terminal when the called terminal does not receive the session request can be effectively avoided.

[0099] In one example, the target message may be a 180 ring message. It is easy to understand that the 180 ring message represents that the session request sent by the calling terminal has been sent to the called terminal, notifying the calling terminal that the called terminal has been ringing.

[0100] The following describes the video ringback tone playing method provided by the embodiment of the present application in combination with some specific application examples.

[0101] In this specific application example, when the calling terminal needs to play a video ringback tone to the calling user, the calling user's handheld terminal posture is first detected. If it is detected that the mobile phone is close to the user's ear (the corresponding audio playback mode is "hands-free mode"), the calling terminal first suspends the playback of the video ringback tone (temporarily caches the media stream in the mobile phone), and uses the handset to play a prompt voice pre-stored in the calling terminal to the user (such as "The video ringback tone is about to be played, please bring the phone in front of you."), reminding the user to take the calling terminal away from the ear and place it in front of him. Subsequently, after periodic detection, when it is confirmed that the calling terminal is at a sufficient distance from the user's face (the corresponding audio playback mode is "hands-free mode"), the cached video ringback tone content is extracted for normal playback.

[0102] like Figure 3 As shown, Figure 3 This is a flow chart of a method for playing a video ringback tone, wherein both the calling terminal and the called terminal can be mobile phones. The specific process includes:

[0103] (1) The calling terminal receives the 180ring message (corresponding to the target message) and the video ringback tone media stream returned by the called party, and prepares to play the video ringback tone.

[0104] (2) The calling terminal activates the distance sensor to detect the distance between the mobile phone and the user's ear:

[0105] A. If the user is already in the "hands-free state" (the distance between the corresponding mobile phone and the user's ear is greater than the distance threshold), the video ringback tone will be played directly, which is the same as the normal process.

[0106] B. If it is still in the "earpiece state" (the distance between the corresponding mobile phone and the user's ear is less than or equal to the distance threshold), the terminal will:

[0107] a. Suspend the playback of the video ringback tone and temporarily cache the media stream in the mobile phone;

[0108] b. Use the handset to play a prompt voice pre-stored in the terminal to the user (such as "The video ringtone will be played soon, please bring the phone in front of you"), reminding the user to take the phone away from the ear and place it in front of you.

[0109] (3) If it is the case of B in step (2), the "distance sensor" will be used to periodically detect the distance between the mobile phone and the user's ear (for example, once every 0.2 seconds):

[0110] A. If the mode has been changed to "hands-free mode", the cached video ringback tone content is extracted and the video ringback tone is played normally.

[0111] B. If the phone is still in the handset mode, repeat step (3) until the video ringback tone is played normally when the phone is switched to the hands-free mode.

[0112] In combination with the above specific application examples, it can be seen that the video ringback tone playback method provided in the embodiment of the present application can effectively prevent the user from being frightened and hurt by the external volume of the video ringback tone when using the mobile phone receiver, thereby significantly improving the service experience of the video ringback tone.

[0113] like Figure 4 As shown, the embodiment of the present application also provides a video ring back tone playing device, which is applied to a calling terminal, and the device includes:

[0114] The receiving module 401 is used to receive a target video ring back tone and a target message during the process of calling the called terminal;

[0115] A determination module 402, configured to determine, in response to the target message, posture information, the posture information being used to indicate whether the user's ear is within a preset distance range of the calling terminal;

[0116] The first playing module 403 is configured to play a target video ringback tone when the posture information indicates that the user's ear is outside a preset distance range of the calling terminal.

[0117] Optionally, the first playing module 403 is specifically configured to:

[0118] The target video ringback tone is played in hands-free mode.

[0119] Optionally, the video ring back tone playing device may further include:

[0120] The second playing module is used to play a preset prompt voice in the handset mode when the posture information indicates that the user's ear is within the preset distance range of the calling terminal. The preset prompt voice is used to prompt the user to place the calling terminal outside the preset distance range of the user's ear.

[0121] Optionally, the video ring back tone playing device may further include:

[0122] The storage module is used to store the target video ring back tone into the cache when the posture information indicates that the user's ear is within a preset distance range of the calling terminal.

[0123] Optionally, the video ring back tone playing device may further include:

[0124] The third playing module is used to play the target video ring back tone stored in the cache when it is detected that the user's ear is outside the preset distance range of the calling terminal.

[0125] Optionally, the posture information is determined based on at least one of the following: distance data collected by a distance sensor, posture data collected by a posture sensor, and image data collected by a camera.

[0126] Optionally, the video ring back tone playing device may further include:

[0127] The sending module is used to send a session request to the called terminal, and the target message is generated by the called terminal in response to the session request.

[0128] It should be noted that the video ringback tone playback device is a device corresponding to the above-mentioned video ringback tone playback method, and all implementation methods in the above-mentioned method embodiment are applicable to the embodiment of the device and can achieve the same technical effect.

[0129] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0130] The electronic device may include a processor 501 and a memory 502 storing computer program instructions.

[0131] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0132] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0133] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to the present disclosure.

[0134] The processor 501 implements any one of the video ringback tone playing methods in the above embodiments by reading and executing the computer program instructions stored in the memory 502 .

[0135] In one example, the electronic device may further include a communication interface 503 and a bus 504. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 504 and communicate with each other.

[0136] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0137] Bus 504 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 504 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0138] In addition, in combination with the video ringback tone playing method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the video ringback tone playing methods in the above embodiment is implemented.

[0139] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0140] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0141] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0142] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0143] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A video ring back tone playing method, applied to a calling terminal, characterized in that: include: In the process of calling the called terminal, receiving the target video ring back tone and target message; In response to the target message, determining posture information, the posture information being used to indicate whether the user's ear is within a preset distance range of the calling terminal; the target message being used to instruct the calling terminal to play a target video ringback tone when the called terminal receives a session request and the posture information satisfies a preset condition; When the posture information indicates that the user's ear is outside the preset distance range of the calling terminal, playing the target video ringback tone; Before receiving the target video ringback tone and the target message, the method further includes: Sending a session request to a called terminal, wherein the target message is generated by the called terminal in response to the session request; When the posture information indicates that the user's ear is outside the preset distance range of the calling terminal, playing the target video ringback tone includes: When the posture information indicates that the user's ear is outside the preset distance range of the calling terminal, judging whether the target video ringback tone belongs to a historical video ringback tone stored in the calling terminal according to the file identifier of the target video ringback tone; In the case that the target video ringback tone is a historical video ringback tone stored in the calling terminal, the target video ringback tone is obtained from the calling terminal and played.

2. The method according to claim 1, characterized in that The playing of the target video ringback tone comprises: The target video ringback tone is played in hands-free mode.

3. The method according to claim 1, characterized in that After determining the posture information in response to the target message, the method further includes: When the posture information indicates that the user's ear is within a preset distance range of the calling terminal, a preset prompt voice is played in a handset mode, wherein the preset prompt voice is used to prompt the user to place the calling terminal outside the preset distance range of the user's ear.

4. The method according to claim 1, characterized in that: After determining the posture information in response to the target message, the method further includes: When the posture information indicates that the user's ear is located within a preset distance range of the calling terminal, the target video ringback tone is stored in a cache.

5. The method according to claim 4, characterized in that After storing the target video ring back tone in the cache, the method further includes: When it is detected that the user's ear is outside the preset distance range of the calling terminal, the target video ringback tone stored in the cache is played.

6. The method according to claim 1, characterized in that The posture information is determined based on at least one of the following: distance data collected by a distance sensor, posture data collected by a posture sensor, and image data collected by a camera.

7. A video ring back tone playing device, applied to a calling terminal, characterized in that: The device comprises: A receiving module, used for receiving a target video ringback tone and a target message during a call to a called terminal; a determination module, configured to determine, in response to the target message, posture information, wherein the posture information is used to indicate whether the user's ear is within a preset distance range of the calling terminal; the target message is used to instruct the calling terminal to play a target video ringback tone when the called terminal receives a session request and the posture information satisfies a preset condition; A first playing module, configured to play the target video ringback tone when the posture information indicates that the user's ear is outside a preset distance range of the calling terminal; The video ring back tone playing device also includes: A sending module, configured to send a session request to a called terminal, wherein the target message is generated by the called terminal in response to the session request; The first playback module is specifically used for: When the posture information indicates that the user's ear is outside the preset distance range of the calling terminal, judging whether the target video ringback tone belongs to a historical video ringback tone stored in the calling terminal according to the file identifier of the target video ringback tone; In the case that the target video ringback tone is a historical video ringback tone stored in the calling terminal, the target video ringback tone is obtained from the calling terminal and played.

8. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the video ringback tone playing method as described in any one of claims 1-6 is implemented.

9. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the video ringback tone playing method according to any one of claims 1 to 6 is implemented.