CN115484349B - Video ringback tone playing method, device, equipment and computer storage medium - Google Patents
Video ringback tone playing method, device, equipment and computer storage medium Download PDFInfo
- Publication number
- CN115484349B CN115484349B CN202110597128.0A CN202110597128A CN115484349B CN 115484349 B CN115484349 B CN 115484349B CN 202110597128 A CN202110597128 A CN 202110597128A CN 115484349 B CN115484349 B CN 115484349B
- Authority
- CN
- China
- Prior art keywords
- color ring
- video color
- calling terminal
- user
- playing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42017—Customized ring-back tones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a video color ring playing method, a device, equipment and a computer storage medium, wherein the video color ring playing method is applied to a calling terminal and comprises the following steps: receiving a target video color ring and a target message in the process of calling a called terminal; responding to the target message, determining gesture information, wherein the gesture information is used for indicating whether the ear of the user is positioned in a preset distance range of the calling terminal; and playing the target video color ring under the condition that the gesture information indicates that the ear of the user is positioned outside the preset distance range of the calling terminal. The embodiment of the application can effectively avoid the damage to the hearing of the user caused by playing the video color ring when the calling terminal is near the ear of the user, and improves the use experience of the user.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video color ring playing method, a device, equipment and a computer storage medium.
Background
As is well known, the video color ring back tone service is a service based on the Long Term Evolution Voice-over-Term Evolution (VOLTE). Generally, after a calling terminal sends a session request to a called terminal that opens a video color ring service, the calling terminal may receive and play a video color ring to replace a common ring back tone.
Audio content in video color rings is typically played out through a speaker. However, the user of the calling terminal may habitually place the calling terminal near his ear after dialing, and the audio content of the external play is liable to cause damage to the hearing of the user.
Disclosure of Invention
The embodiment of the application provides a video color ring back tone playing method, a device, equipment and a computer storage medium, which are used for solving the problem that the hearing of a user is possibly damaged when the video color ring back tone is played in the prior art.
In a first aspect, an embodiment of the present application provides a video color ring playing method, applied to a calling terminal, where the method includes:
receiving a target video color ring and a target message in the process of calling a called terminal;
responding to the target message, determining gesture information, wherein the gesture information is used for indicating whether the ear of the user is positioned in a preset distance range of the calling terminal;
and playing the target video color ring under the condition that the gesture information indicates that the ear of the user is positioned outside the preset distance range of the calling terminal.
In a second aspect, an embodiment of the present application provides a video color ring playing device, applied to a calling terminal, where the device includes:
the receiving module is used for receiving the target video color ring and the target message in the process of calling the called terminal;
The determining module is used for responding to the target message, determining gesture information, and the gesture information is used for indicating whether the ear of the user is positioned in a preset distance range of the calling terminal;
The first playing module is used for playing the target video color ring under the condition that the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor and a memory storing computer program instructions;
the video color ring playing method is realized when the processor executes the computer program instructions.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, where computer program instructions are stored, where the computer program instructions implement the video color ring playing method when executed by a processor.
The video color ring playing method provided by the embodiment of the application is applied to a calling terminal, and in the process of calling a called terminal, a target video color ring and a target message are received, gesture information for indicating whether the user ear is positioned in a preset distance range of the calling terminal is determined in response to the target message, and the target video color ring is played under the condition that the gesture information indicates that the user ear is positioned outside the preset distance range of the calling terminal. According to the embodiment, under the condition that the calling terminal determines that the user ear is located outside the preset distance range of the calling terminal, the video color ring is played, the situation that the user hearing is damaged due to the fact that the video color ring is played when the calling terminal is near the user ear is effectively avoided, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings that are needed to be used in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
Fig. 1 is an exemplary diagram of a framework that may be used to implement a video color ring back tone playing method provided by an embodiment of the present application;
Fig. 2 is a schematic flow chart of a video color ring playing method according to an embodiment of the present application;
Fig. 3 is a schematic flow chart of a video color ring playing method in a specific application example;
fig. 4 is a schematic structural diagram of a video color ring playing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the particular embodiments described herein are meant to be illustrative of the application only and not limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the application by showing examples of the application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
In order to solve the problems in the prior art, the embodiment of the application provides a video color ring playing method, a device, equipment and a computer storage medium. The following first describes an example of a framework to which the video color ring playing method provided by the embodiment of the present application can be applied.
As shown in fig. 1, 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, and the server 13 may be used as a polyphonic ringtone platform.
The calling terminal 11 and the called terminal 12 may be terminal devices of the type such as a mobile phone, a tablet computer, etc., and are not particularly limited herein.
In combination with some practical application scenarios, the called terminal 12 may customize the video color ring service to the server 13. On this basis, after 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 a video color ring to the calling terminal 11 for the calling terminal 11 to play.
Specifically, the calling terminal 11 may initiate a session to the called terminal 12, where the specific initiation mode of the session may be an audio origination call or a video origination call. When the server 13 determines to play the video color ring for the calling terminal 11 according to the media negotiation combination of the calling party and the called party, the video color ring media stream can be sent to the calling terminal 11. The calling terminal 11 can receive the video color ring media stream, display the video picture in the video media stream in the display screen, and play the audio content in the video media stream through the speaker of the mobile phone. And the user of the calling terminal 11 can be enabled to watch the content of the video color ring customized by the called terminal 12
Fig. 2 is a schematic flow chart of a video color ring playing method according to an embodiment of the present application. The method can be applied to a calling terminal, as shown in fig. 2, and includes:
Step 201, receiving a target video color ring and a target message in the process of calling a called terminal;
step 202, responding to a target message, determining gesture information, wherein the gesture information is used for indicating whether an ear of a user is positioned in a preset distance range of a calling terminal;
And 203, playing the target video color ring under the condition that the gesture information indicates that the ear of the user is positioned outside the preset distance range of the calling terminal.
In this embodiment, the calling terminal may send a session request to the called terminal, for example, by dialing a call, or the like. The calling terminal may be considered to be in the process of calling the called terminal before the called terminal agrees with the session request.
Of course, in some application scenarios, the foregoing call procedure may also refer to a procedure after the called terminal receives the session request and before the session is closed (e.g., the user of the called terminal does not operate the called terminal to close the session).
In combination with the architecture shown in fig. 1, in this embodiment, the target video color ring and the target message received by the calling terminal may be sent by the server.
The target video color ring can be considered as an audio/video media stream or a multimedia file comprising audio and video.
In combination with some practical application scenarios, the target video color ring can be matched with the called terminal, that is, the user on the side of the called terminal can set the target video color ring played on the calling terminal. Of course, the target video color ring may be a video color ring preset in the server, or a video color ring randomly determined by the server from a plurality of stored candidate video color rings, or a video color ring obtained by splicing a plurality of candidate video color rings by the server, or the like.
In this embodiment, the method for determining the target video color ring by the server is not limited in detail. From the perspective of the calling terminal, the target video color ring can be received from the server.
The target message may be used to trigger the called terminal to determine the gesture information.
Of course, in practical application, the target message may be further used to notify the calling terminal that the passive terminal has received the session request. Or the target message can also be used for indicating the calling terminal to play the target video color ring under the condition that the gesture information meets the preset condition.
In step 202, the calling terminal may determine gesture information in response to the target message.
From a usage perspective, the gesture information may be used to indicate whether the user's ear is within a preset distance range of the calling terminal.
The manner in which the pose information is determined is illustrated below in conjunction with some examples.
A distance sensor can be arranged on the calling terminal, and 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 no object is located in the preset distance range of the calling terminal, it can be stated that the ear of the user is not located in the preset distance range.
Conversely, when the distance data collected by the distance sensor indicates that there is an object located within the preset distance range of the calling terminal, the object may be considered as the user ear according to a preset rule, that is, the user ear is located within the preset distance range of the calling terminal.
In practical application, the data collected by the sensors such as the camera of the calling terminal can be further combined to judge whether the object located in the preset distance range of the calling terminal is really an ear of the user. For example, the image captured by the camera may be identified to determine whether the object is a user's ear.
Of course, the camera can be used alone to collect images, the images can be identified, whether the images comprise user ears or not is judged, and whether the user ears are located in a preset distance range of the calling terminal or not is determined according to the proportion of image pixels of the user ears when the images comprise the user ears.
Generally, in the playing process of the video color ring, the audio content is played out by adopting a loudspeaker by default, and when a user places the calling terminal at the ear side, the played audio content may damage the ear.
Therefore, in step 203, the target video color ring may be played when the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal.
It is easy to understand that under the condition that the user's ear is located the preset distance range of calling terminal, the calling terminal is to the play sound of audio frequency in the in-process of propagating to the user's ear, and intensity can exist certain decay, and the sound loudness that the user can hear also reduces to some extent to reduce the harm of play sound to user's hearing.
The video color ring playing method provided by the embodiment of the application is applied to a calling terminal, and in the process of calling a called terminal, a target video color ring and a target message are received, gesture information for indicating whether the user ear is positioned in a preset distance range of the calling terminal is determined in response to the target message, and the target video color ring is played under the condition that the gesture information indicates that the user ear is positioned outside the preset distance range of the calling terminal. According to the embodiment, under the condition that the calling terminal determines that the user ear is located outside the preset distance range of the calling terminal, the video color ring is played, the situation that the user hearing is damaged due to the fact that the video color ring is played when the calling terminal is near the user ear is effectively avoided, and the use experience of the user is improved.
In some possible embodiments, the calling terminal may store the history video color ring and the file identification thereof in association.
For example, the calling terminal may receive and store the video color ring sent by the server, i.e. the above-mentioned history video color ring, in the process of calling the called terminal in history. These historical video color rings may have corresponding file identifications, for example, may be names or labels of the video color rings, and so on.
Accordingly, in step 202, the target video color ring received by the calling terminal may also have a file identifier.
In the process of receiving the target video color ring, the calling terminal can analyze the file identification corresponding to the target video color ring, and when the target video color ring is judged to be the historical video color ring stored in the calling terminal according to the file identification, the calling terminal can directly read the historical video color ring for playing. Thus, occupation of network bandwidth resources can be saved.
It will be readily appreciated that the manner in which the calling terminal plays the audio may generally include an earpiece mode and a hands-free mode.
The earpiece mode is generally a corresponding audio playing mode when the user places the calling terminal on the ear side. In the earpiece mode, the volume of the played audio is relatively small, so that the user can hear the audio content and the hearing of the user is prevented from being damaged.
In contrast, the hands-free mode generally refers to an audio play mode in which the calling terminal is playing through a speaker. In the hands-free mode, the volume of the played audio is relatively large, so that the user can still hear the audio content when the calling terminal is far from the user.
In an example, in the step 203, playing the target video color ring may include:
and playing the target video color ring according to the hands-free mode.
Generally, the target video color ring will include audio content and video content. Under the condition that the calling terminal determines that the target video color ring can be played according to the gesture information, the video content can be displayed in the display screen. Meanwhile, in order to facilitate the user to watch the video content while being able to clearly hear the audio content, the calling terminal may play the audio content in a hands-free mode.
It is easy to understand that playing the audio content according to the hands-free mode can also be considered as playing the target video color ring according to the hands-free mode, so that the user can acquire the video and the audio content in the video color ring, and the user experience is improved.
Optionally, in step 202, after determining the gesture information in response to the target message, the video color ring playing method may further include:
and playing a preset prompting voice according to the earphone mode under the condition that the gesture information indicates that the user ear is positioned in the preset distance range of the calling terminal, wherein the preset prompting voice is used for prompting the user to place the calling terminal outside the preset distance range of the user ear.
In combination with some practical application scenarios, after a user of the calling terminal makes a call, the calling terminal may be habitually placed on the ear side. When the calling terminal determines that the ear of the user is positioned in the preset distance range of the calling terminal according to the gesture information, the target video color ring can not be played in order to avoid damage to the hearing of the user.
In order to make the user of the calling terminal realize that the user can watch the video color ring content under the condition of keeping the handheld gesture of the calling terminal, in the embodiment, the calling terminal can carry out voice prompt on the user.
Specifically, in this embodiment, when the gesture information indicates that the user ear is located within the preset distance range of the calling terminal, the calling terminal may play a preset prompting voice through the earpiece mode, so as to prompt the user to place the calling terminal outside the preset distance range of the user ear.
For example, the above-mentioned preset prompting voice may be "about to play video color ring, please take the mobile phone to your face", etc., and the user may hear the preset prompting voice, and may move the calling terminal away from the ear side according to the guidance of the preset prompting voice.
It is easy to understand that the above-mentioned preset prompting voice may be pre-stored in the calling terminal, or may be sent to the calling terminal by the server together with the target video color ring, or may be sent from the server to the calling terminal through further data interaction between the calling terminal and the server when the gesture information indicates that the user ear is located within the preset distance range of the calling terminal.
The preset prompting voice can be played through a receiver mode. In the earphone mode, the volume of the preset prompting voice can be smaller, and damage to the hearing of a user is avoided. Meanwhile, the prompt of the user can be realized, the user is guided to move the calling terminal away from the ear, and the video color ring is further watched.
Optionally, in step 202, after determining the gesture information in response to the target message, the video color ring playing method may further include:
and storing the target video color ring to a cache under the condition that the gesture information indicates that the ear of the user is positioned in the preset distance range of the calling terminal.
As shown above, under the condition that the gesture information indicates that the ear of the user is located in the preset distance range of the calling terminal, the target video color ring can not be played first, so that the hearing of the user is prevented from being damaged.
In this embodiment, considering that the subsequent user may move the calling terminal away from the ear side, or initiate a session request to the called terminal again, the target video color ring may be cached under the condition that the gesture information indicates that the ear of the user is located in the preset distance range of the calling terminal.
Therefore, when the playing condition of the target video color ring is met later (for example, after the user moves the calling terminal away from the ear side), the stored target video color ring can be directly read from the cache to be played, and the playing delay or the blocking caused by the network bandwidth factor is reduced.
Optionally, after the storing the target video color ring to the buffer, the video color ring playing method may further include:
And playing the target video color ring stored in the buffer under the condition that the user ear is detected to be located outside the preset distance range of the calling terminal.
By combining some examples, when the calling terminal detects that the user ear is within the preset distance range, on one hand, the target video color ring can be stored in the cache, and on the other hand, the distance between the user ear and the calling terminal can be continuously detected.
When the calling terminal detects that the user ear is located outside the preset distance range, the target video color ring stored in the buffer can be played, so that the playing delay of the target video color ring can be reduced, the playing card is reduced, and the user watching experience is improved.
In some examples, the gesture information is determined based on at least one of: distance data acquired by the distance sensor, gesture data acquired by the gesture sensor and image data acquired by the camera.
As indicated above, the distance sensor may collect the distance between various objects to the calling terminal. When the distance data collected by the distance sensor indicates that no object is located in the preset distance range of the calling terminal, it can be stated that the ear of the user is not located in the preset distance range.
Conversely, when the distance data collected by the distance sensor indicates that there is an object located within the preset distance range of the calling terminal, the object may be considered as the user ear according to a preset rule, that is, the user ear is located within the preset distance range of the calling terminal.
When it is determined that an object exists in the preset distance range of the calling terminal according to the distance data, the object in the preset distance range of the calling terminal can be judged whether to be actually an ear of the user or not by further combining data acquired by a sensor such as a camera of the calling terminal. For example, the image captured by the camera may be identified to determine whether the object is a user's ear.
Of course, the camera can be used alone to collect images, the images can be identified, whether the images comprise user ears or not is judged, and whether the user ears are located in a preset distance range of the calling terminal or not is determined according to the proportion of image pixels of the user ears when the images comprise the user ears.
In addition, the above-mentioned posture information can be determined based on the posture data acquired by the posture sensor. The gesture sensor may be a type of sensor such as a gyroscope, an acceleration sensor, etc., which may be used to obtain gesture data of the calling terminal.
The gesture data may be, for example, the inclination of the calling terminal with respect to the horizontal plane. In general, when a user makes a call and places a calling terminal on the ear side, the calling terminal may be in an approximately vertical state, i.e., an inclination of the calling terminal with respect to a horizontal plane is approximately 90 degrees. And when the user makes a call and places the calling terminal in front of the user's body, the calling terminal may be in an approximately horizontal state, i.e., the inclination of the calling terminal with respect to the horizontal plane is approximately 0 degrees.
According to the gesture data acquired by the gesture sensor, gesture information for indicating whether the ear of the user is located in the preset distance range of the calling terminal can be determined to a certain extent.
Of course, in practical application, in order to ensure accuracy of the gesture information, the gesture information may be determined by combining data collected by multiple sensors.
The gesture information is determined by flexibly selecting the data collected by various sensors, so that the gesture information acquisition requirements of different calling terminals can be met, and the application range of the video color ring playing method is enlarged.
Optionally, in step 201, before receiving the target video color ring and the target message, the video color ring playing method may further include:
and sending a session request to the called terminal, wherein the target message is generated for the called terminal in response to the session request.
In some application scenarios, the called terminal may not receive the session request sent by the calling terminal due to network reasons or the like. For the calling terminal, the called terminal cannot receive the session request, and the call may be ended in a relatively short time.
In order to reduce consumption of network bandwidth resources in the above application scenario, in this embodiment, a target video color ring may be played in a calling terminal under the condition that it is determined that a called terminal receives a session request.
In connection with the above illustration, the above-mentioned target message may be sent directly by the server to the calling terminal. In this embodiment, the target message may be specifically generated in the called terminal and forwarded to the calling terminal through the server.
The called terminal may generate a target message in response to a session request transmitted by the calling terminal in case of receiving the session request. The generation of the target message may not depend on the operation of the user of the called terminal, that is, the called terminal may generate the target message and forward the target message to the calling terminal through the server in case of receiving the session request, whether the session is finally established successfully or not.
Therefore, the problem of related bandwidth resource waste caused by the fact that the target video color ring is played briefly at the calling terminal under the condition that the called terminal does not receive the session request can be effectively avoided.
In one example, the target message described above may be a 180ring message. It will be readily appreciated that the 180ring message represents that the session request sent by the calling terminal has been sent to the called terminal informing the calling terminal that the called has ringing.
The following describes the video color ring playing method provided by the embodiment of the application with reference to some specific application examples.
In the specific application example, when the calling terminal needs to play the video color ring to the calling user, the gesture of the handheld terminal of the calling user is detected first. If the mobile phone is detected to be in a state of being tightly attached to the ear of the user (the corresponding audio playing mode is a 'receiver mode'), the calling terminal firstly suspends the playing of the video color ring (temporarily caches the media stream in the mobile phone), and simultaneously uses the receiver to play a section of prompting voice prestored in the calling terminal (for example, the video color ring is about to be played, please take the mobile phone to the front of you), so as to remind the user to take the calling terminal away from the edge of the ear and place the calling terminal in front of the ear. And then, after periodical detection, when the fact that the calling terminal and the face of the user have enough distance (the corresponding audio playing mode is a hands-free mode) is confirmed, the cached video color ring content is extracted for normal playing.
As shown in fig. 3, fig. 3 is a schematic flow chart of implementing a video color ring playing method, where both a calling terminal and a called terminal may be mobile phones. The specific flow comprises the following steps:
(1) The calling terminal receives 180ring information (corresponding to the target information) and video color ring media stream returned by the called side, and prepares to play the video color ring.
(2) The calling terminal starts a distance sensor to detect the distance between the mobile phone and the ear of the user:
A. If the mobile phone is in the hands-free state (the distance between the mobile phone and the ear of the user is larger than the distance threshold), the video color ring is directly played, and the normal flow is not different.
B. if the terminal is still in the "earpiece state" (the distance between the corresponding handset and the user's ear is less than or equal to the distance threshold), the terminal will:
a. suspending the playing of the video color ring, and temporarily buffering the media stream in the mobile phone;
b. and playing a section of prompting voice (such as 'about to play video color ring, please take the mobile phone to your face') pre-stored in the terminal to the user by using the earphone, and reminding the user to take the mobile phone away from the ear and place the mobile phone in front of the ear.
(3) As in the case of B in step (2), the periodic detection of the distance of the handset from the user's ear (e.g., every 0.2 seconds) using the "distance sensor" will then be initiated:
A. if the video color ring is converted into the hands-free state, the cached video color ring content is extracted, and the video color ring is normally played.
B. If the user is still in the 'receiver state', repeating the step (3) until the user turns into the 'hands-free state', and normally playing the video color ring.
As can be seen by combining the specific application examples, the video color ring playing method provided by the embodiment of the application can effectively avoid the frightening and hurting caused by the outward playing volume of the video color ring when the user uses the mobile phone receiver, thereby obviously improving the service experience of the video color ring.
As shown in fig. 4, the embodiment of the present application further provides a video color ring playing device, which is applied to a calling terminal, and the device includes:
a receiving module 401, configured to receive a target video color ring and a target message in a process of calling a called terminal;
A determining module 402, configured to determine, in response to the target message, gesture information, where the gesture information is used to indicate whether the ear of the user is located within a preset distance range of the calling terminal;
The first playing module 403 is configured to play the target video color ring when the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal.
Optionally, the first playing module 403 is specifically configured to:
and playing the target video color ring according to the hands-free mode.
Optionally, the video color ring playing device may further include:
and the second playing module is used for playing a preset prompt voice according to the receiver mode under the condition that the gesture information indicates that the ear of the user is positioned in the preset distance range of the calling terminal, wherein the preset prompt voice is used for prompting the user to place the calling terminal outside the preset distance range of the ear of the user.
Optionally, the video color ring playing device may further include:
and the storage module is used for storing the target video color ring back tone to the cache under the condition that the gesture information indicates that the ear of the user is positioned in the preset distance range of the calling terminal.
Optionally, the video color ring playing device may further include:
and the third playing module is used for playing the target video color ring stored in the buffer under the condition that the user ear is detected to be located outside the preset distance range of the calling terminal.
Optionally, the gesture information is determined based on at least one of: distance data acquired by the distance sensor, gesture data acquired by the gesture sensor and image data acquired by the camera.
Optionally, the video color ring playing device may further include:
and the sending module is used for sending a session request to the called terminal, and the target message is generated for the called terminal in response to the session request.
It should be noted that, the video color ring playing device is a device corresponding to the video color ring playing method, and all implementation manners in the method embodiment are applicable to the embodiment of the device, so that the same technical effects can be achieved.
Fig. 5 shows a schematic hardware structure of an electronic device according to an embodiment of the present application.
A processor 501 and a memory 502 storing computer program instructions may be included in an electronic device.
In particular, the processor 501 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
Memory 502 may include mass storage for data or instructions. By way of example, and not limitation, memory 502 may comprise a hard disk drive (HARD DISK DRIVE, HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of the foregoing. Memory 502 may include removable or non-removable (or fixed) media, where appropriate. Memory 502 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 502 is a non-volatile solid state memory.
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, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising 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.
The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the video color ring playing methods in the above embodiments.
In one example, the electronic device may also include a communication interface 503 and a bus 504. As shown in fig. 5, the processor 501, the memory 502, and the communication interface 503 are connected to each other via the bus 504 and perform communication with each other.
The communication interface 503 is mainly used to implement communication between each module, apparatus, unit and/or device in the embodiments of the present application.
Bus 504 includes hardware, software, or both, that couple the components of the online data flow billing device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 504 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
In addition, in combination with the video color ring playing method in the above embodiment, the embodiment of the present application may provide a computer storage medium for implementation. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by the processor, implement any one of the video color ring playing methods in the above embodiments.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present application are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present application.
The functional blocks shown in the above block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.
Claims (9)
1. The video color ring playing method is applied to a calling terminal and is characterized by comprising the following steps:
receiving a target video color ring and a target message in the process of calling a called terminal;
responding to the target message, determining gesture information, wherein the gesture information is used for indicating whether the ear of the user is positioned in a preset distance range of the calling terminal; the target message is used for indicating the calling terminal to play the target video color ring back tone when the called terminal receives the session request and the gesture information meets the preset condition;
Playing the target video color ring under the condition that the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal;
before receiving the target video color ring and the target message, the method further comprises:
sending a session request to a called terminal, wherein the target message is generated for the called terminal in response to the session request;
And playing the target video color ring under the condition that the gesture information indicates that the ear of the user is positioned outside the preset distance range of the calling terminal, wherein the method comprises the following steps:
Judging whether the target video color ring belongs to the historical video color ring stored in the calling terminal according to the file identification of the target video color ring under the condition that the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal;
And under the condition that the target video color ring belongs to the historical video color ring stored in the calling terminal, acquiring the target video color ring from the calling terminal and playing the target video color ring.
2. The method of claim 1, wherein playing the target video coloring ring back tone comprises:
and playing the target video color ring according to the hands-free mode.
3. The method of claim 1, wherein after determining pose information in response to the target message, the method further comprises:
and playing a preset prompting voice according to a receiver mode under the condition that the gesture information indicates that the ear of the user is positioned in the preset distance range of the calling terminal, wherein the preset prompting voice is used for prompting the user to place the calling terminal outside the preset distance range of the ear of the user.
4. The method of claim 1, wherein after determining pose information in response to the target message, the method further comprises:
And storing the target video color ring back tone to a cache under the condition that the gesture information indicates that the ear of the user is positioned in the preset distance range of the calling terminal.
5. The method of claim 4, wherein after storing the target video coloring ring back tone in a buffer, the method further comprises:
And playing the target video color ring stored in the cache under the condition that the user ear is detected to be located outside the preset distance range of the calling terminal.
6. The method of claim 1, wherein the gesture information is determined based on at least one of: distance data acquired by the distance sensor, gesture data acquired by the gesture sensor and image data acquired by the camera.
7. A video color ring playing device applied to a calling terminal, the device comprising:
the receiving module is used for receiving the target video color ring and the target message in the process of calling the called terminal;
The determining module is used for responding to the target message and determining gesture information, wherein the gesture information is used for indicating whether the ear of the user is positioned in a preset distance range of the calling terminal; the target message is used for indicating the calling terminal to play the target video color ring back tone when the called terminal receives the session request and the gesture information meets the preset condition;
The first playing module is used for playing the target video color ring back tone under the condition that the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal;
The video color ring playing device further comprises:
the sending module is used for sending a session request to a called terminal, and the target message is generated by the called terminal in response to the session request;
the first playing module is specifically configured to:
Judging whether the target video color ring belongs to the historical video color ring stored in the calling terminal according to the file identification of the target video color ring under the condition that the gesture information indicates that the ear of the user is located outside the preset distance range of the calling terminal;
And under the condition that the target video color ring belongs to the historical video color ring stored in the calling terminal, acquiring the target video color ring from the calling terminal and playing the target video color ring.
8. An electronic device, the device comprising: a processor and a memory storing computer program instructions;
The video color ring playing method according to any one of claims 1-6 is realized when the processor executes the computer program instructions.
9. A computer storage medium, wherein computer program instructions are stored on the computer storage medium, and when executed by a processor, the computer program instructions implement the video color ring playing method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110597128.0A CN115484349B (en) | 2021-05-31 | 2021-05-31 | Video ringback tone playing method, device, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110597128.0A CN115484349B (en) | 2021-05-31 | 2021-05-31 | Video ringback tone playing method, device, equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115484349A CN115484349A (en) | 2022-12-16 |
CN115484349B true CN115484349B (en) | 2024-11-15 |
Family
ID=84419763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110597128.0A Active CN115484349B (en) | 2021-05-31 | 2021-05-31 | Video ringback tone playing method, device, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115484349B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119155384A (en) * | 2023-06-16 | 2024-12-17 | 中兴通讯股份有限公司 | Method, device and storage medium for playing video color ring |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100086202A (en) * | 2009-01-22 | 2010-07-30 | 에스케이 텔레콤주식회사 | Selective ring-back tone service system and selective ring-back tone service method |
CN110650253A (en) * | 2019-08-15 | 2020-01-03 | 咪咕音乐有限公司 | Self-adaptive playing method of polyphonic ringtone, terminal equipment, server and storage medium |
CN111092997A (en) * | 2018-10-24 | 2020-05-01 | 中国电信股份有限公司 | Method and system for playing video color ring back tone, color ring back tone server and storage medium |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119505B (en) * | 2006-08-05 | 2010-09-29 | 华为技术有限公司 | A system and method for realizing ring-back tone service |
KR20080027208A (en) * | 2006-09-21 | 2008-03-26 | 주식회사 콜바다 | Apparatus and method for providing mobile phone outgoing call processing process (call connection tone and answer or no answer) as image on caller terminal screen |
CN101409865A (en) * | 2007-10-12 | 2009-04-15 | 华为技术有限公司 | Method for implementing color bell intercommunication, control equipment and application server for multimedia gateway |
CN105007386A (en) * | 2015-07-27 | 2015-10-28 | 北京攀峰友文科技有限公司 | Color ring back tone play method and device |
CN108696641B (en) * | 2018-05-15 | 2021-04-27 | Oppo(重庆)智能科技有限公司 | Call prompting method, device, storage medium and mobile terminal |
CN112261231B (en) * | 2019-01-29 | 2021-08-20 | 华为技术有限公司 | An interactive method, device, storage medium and system for video color ringtones |
CN112311503A (en) * | 2019-07-25 | 2021-02-02 | 华为技术有限公司 | Video data transmission method and device |
CN110650254B (en) * | 2019-08-15 | 2022-03-25 | 咪咕文化科技有限公司 | Information sending method, information receiving method, terminal and storage medium |
CN110661926B (en) * | 2019-09-27 | 2021-07-06 | 北京巨象具象科技有限公司 | Prefabricated data propagation method and device and electronic equipment |
CN111741170B (en) * | 2020-06-19 | 2021-08-06 | 杭州东信北邮信息技术有限公司 | A 5G ultra-high-definition adaptive video CRBT service system and its implementation method |
CN112866488A (en) * | 2021-01-06 | 2021-05-28 | 中国联合网络通信集团有限公司 | Video color ring back tone playing method, server and terminal |
-
2021
- 2021-05-31 CN CN202110597128.0A patent/CN115484349B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100086202A (en) * | 2009-01-22 | 2010-07-30 | 에스케이 텔레콤주식회사 | Selective ring-back tone service system and selective ring-back tone service method |
CN111092997A (en) * | 2018-10-24 | 2020-05-01 | 中国电信股份有限公司 | Method and system for playing video color ring back tone, color ring back tone server and storage medium |
CN110650253A (en) * | 2019-08-15 | 2020-01-03 | 咪咕音乐有限公司 | Self-adaptive playing method of polyphonic ringtone, terminal equipment, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115484349A (en) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11057853B2 (en) | Methods and apparatus for indicating and determining synchronization block, and base station and user equipment | |
US10785361B2 (en) | Method for call processing and electronic device | |
US8929538B2 (en) | Method and apparatus for switching talking modes automatically | |
CN109076558B (en) | Method and device for identifying downlink transmission | |
KR20100061582A (en) | Apparatus and method for providing emotion expression service in mobile communication terminal | |
US10009283B2 (en) | Method and device for processing information | |
JP6126751B2 (en) | Telephone call identification method, telephone call identification device, program, and recording medium | |
CN105430185B (en) | The method, apparatus and equipment of information alert | |
EP3125512A1 (en) | Silent ring indication while listening music over a headset | |
CN106097650A (en) | The alarm method of terminal, device and terminal | |
CN105049219B (en) | Flow booking method and system, mobile terminal and server | |
CN111294850A (en) | Measurement reporting method and device, and terminal equipment information acquisition method and device | |
EP2991326B1 (en) | Method, apparatus and computer program product for processing communication identification | |
CN115484349B (en) | Video ringback tone playing method, device, equipment and computer storage medium | |
US10798772B2 (en) | Method, device and medium for establishing service connection | |
CN104010065A (en) | Telephone processing method and device | |
CN113424471A (en) | Method, device and storage medium for determining resources | |
CN108833820B (en) | Video call method and related products | |
CN107026941B (en) | Method and device for processing reply of unread message | |
CN112019948A (en) | Intercom device communication method, intercom device and storage medium | |
CN108833728A (en) | Method and device for adjusting incoming call prompt volume | |
KR100810246B1 (en) | How to Receive Multimedia Messages on Your Mobile Device | |
CN110945941B (en) | Identification sending method, identification receiving method, information sending method and device | |
CN110337823B (en) | Information configuration method and device, service processing method and device, and base station | |
CN111294966B (en) | Uplink data transmission method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |