CN107508995A - One kind incoming call audio frequency playing method and device, computer-readable recording medium - Google Patents

One kind incoming call audio frequency playing method and device, computer-readable recording medium Download PDF

Info

Publication number
CN107508995A
CN107508995A CN201710891034.8A CN201710891034A CN107508995A CN 107508995 A CN107508995 A CN 107508995A CN 201710891034 A CN201710891034 A CN 201710891034A CN 107508995 A CN107508995 A CN 107508995A
Authority
CN
China
Prior art keywords
audio
playing
incoming call
request signaling
call request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710891034.8A
Other languages
Chinese (zh)
Inventor
黄峰伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MIGU Animation Co Ltd
Original Assignee
MIGU Animation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MIGU Animation Co Ltd filed Critical MIGU Animation Co Ltd
Priority to CN201710891034.8A priority Critical patent/CN107508995A/en
Publication of CN107508995A publication Critical patent/CN107508995A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

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

Abstract

The invention discloses one kind incoming call audio frequency playing method, including:Receive the call request signaling that calling terminal is sent;When it is determined that including voice data in call request signaling, based on the first broadcast mode pre-set and based on the second broadcast mode selected by Audio conversion interface, the first audio corresponding to playing audio data or the second audio pre-set are determined according to preset rules;The first audio for determining broadcasting or the second audio are played out as incoming call audio.The present invention further simultaneously discloses a kind of incoming call audio playing apparatus and computer-readable recording medium.

Description

Incoming call audio playing method and device and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to an incoming call audio playing method and apparatus, and a computer-readable storage medium.
Background
With the development of terminal multimedia technology and the continuous improvement of living standard of people, only the incoming call display of pictures or characters can not completely meet the increasing pursuit of high-quality life and the requirement of spiritual culture of people. Therefore, the related applications capable of setting the personalized caller id for the terminal have been more and more pursued by people.
The related applications such as color printing APP (application) break through the traditional mode of adopting pictures or characters as incoming call display, and can set the incoming call display into a wonderful video for the terminal, so that the experience of people on the incoming call display of the terminal is improved.
Correspondingly, when the called terminal receives the call of the calling terminal, if the call signaling of the calling terminal contains a video screen display (called screen display video for short), the color printing APP of the called terminal can automatically play the incoming screen display video. However, since the general incoming call screen video includes audio, when the incoming call screen video is played, the audio in the incoming call screen video and the incoming call ring tone audio may conflict to some extent, which causes confusion of the two audios.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention are expected to provide an incoming call audio playing method and apparatus, and a computer readable storage medium, which can solve the problem that two audio frequencies are confused due to the fact that an audio frequency in an incoming call screen display video of a called terminal and an incoming call ringtone audio of the called terminal are played simultaneously.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an incoming call audio playing method, which comprises the following steps:
receiving a call request signaling sent by a calling terminal;
when the call request signaling contains audio data, based on a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule;
and playing the determined first audio or the second audio as the incoming call audio.
In the above scheme, the determining that the call request signaling contains audio data includes:
detecting whether the call request signaling contains streaming media data;
when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data;
and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
In the above scheme, the method further comprises:
and when the call request signaling is determined not to contain audio data, playing the second audio as the incoming call audio.
In the foregoing solution, after the first audio determined to be played is played as the incoming call audio, the method further includes:
judging whether a control instruction responding to the call request signaling is received;
if so, ending the playing of the first audio;
if not, after the first audio is determined to be played completely, the incoming call audio is switched to the second audio for playing.
In the foregoing solution, the determining, according to a preset rule, to play a first audio or a second audio corresponding to the audio data based on a preset first playing mode and a second playing mode selected based on an audio switching interface includes:
when a second playing mode selected based on an audio switching interface is received, determining to play a first audio or a second audio according to the second playing mode; or,
and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
The embodiment of the invention also provides a calling audio playing device, which comprises: a processor, and a memory for storing a computer program operable on the processor; wherein,
the processor is configured to, when running the computer program, execute:
receiving a call request signaling sent by a calling terminal;
when the call request signaling contains audio data, based on a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule;
and playing the determined first audio or the second audio as the incoming call audio.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
detecting whether the call request signaling contains streaming media data;
when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data;
and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
and when the call request signaling is determined not to contain audio data, playing the second audio as the incoming call audio.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
after the first audio which is determined to be played is played as incoming call audio, judging whether a control instruction responding to the call request signaling is received;
if so, ending the playing of the first audio;
if not, after the first audio is determined to be played completely, the incoming call audio is switched to the second audio for playing.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
when a second playing mode selected based on an audio switching interface is received, determining to play a first audio or a second audio according to the second playing mode; or,
and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
The embodiment of the invention also provides a calling audio playing device, which comprises: the device comprises a receiving module, a determining module and a playing module; wherein,
the receiving module is used for receiving a call request signaling sent by a calling terminal;
the determining module is used for determining to play a first audio frequency corresponding to the audio data or a second audio frequency corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface when the call request signaling is determined to contain the audio data;
and the playing module is used for playing the first audio or the second audio which is determined to be played as the incoming call audio.
The embodiment of the invention also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when being executed by a processor, a computer program of the computer-executable instructions realizes the incoming call audio playing method.
The embodiment of the invention provides a method and a device for playing incoming call audio, firstly, a called terminal receives a call request signaling sent by a calling terminal; then, when the call request signaling contains audio data, according to a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule; and finally, playing the first audio or the second audio which is determined to be played as the incoming call audio.
Therefore, the embodiment of the invention determines whether the incoming call audio is to play the first audio corresponding to the audio data in the call request signaling sent by the calling terminal or play the preset second audio according to the preset rule by presetting the first play mode and selecting the second play mode based on the audio switching interface. Therefore, when a call request signaling containing the incoming call screen display video and sent by the calling terminal is received, the called terminal can play the selected incoming call audio by selecting the incoming call audio, so that the problem that the audio in the incoming call screen display video and the incoming call ringtone audio preset by the called terminal are played simultaneously can be solved, the problem of disordered playing of the two audios is solved, and the purposes of improving the playing effect of the incoming call screen display video and improving the user experience are finally achieved.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of an incoming call audio playing method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of an alternative audio switching interface for implementing incoming call audio selection according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another alternative audio switching interface for implementing incoming call audio selection according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an implementation process of a second incoming call audio playing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an incoming call audio playback device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware configuration of an incoming call audio playing device according to an embodiment of the present invention.
Detailed Description
Generally, when a called terminal receives a call request including a video from a screen display sent by a calling terminal, audio in the video of the incoming call screen display may be limited by ring tone audio preset by the called terminal, so that the audio in the video of the incoming call screen display cannot be played normally, thereby affecting the playing effect of the video of the incoming call screen display.
With the development of terminal multimedia technology, a related application capable of setting personalized caller id display for a terminal appears in the market, taking a color printing APP as an example, the color printing APP can set the content of the pushed caller id display video for a calling terminal and can play the pushed caller id display video of the calling terminal for a called terminal.
However, if the called terminal is installed with the color print APP, when the called terminal receives the call request signaling containing the incoming screen display video sent by the calling terminal, the color print APP still enforces to play the audio in the incoming screen display video, so that the problem that the audio in the incoming screen display video and the incoming ringtone audio are played simultaneously is solved, and the playing of the two audios is disordered.
Based on this, in the scheme provided by the embodiment of the present invention, whether the incoming call audio is to play the first audio corresponding to the audio data in the call request signaling sent by the calling terminal or play the preset second audio is determined according to the preset rule by presetting the first play mode and selecting the second play mode based on the audio switching interface. Therefore, when a call request signaling containing the incoming call screen display video sent by the calling terminal is received, the called terminal can solve the problem that the audio in the incoming call screen display video and the incoming call ringtone audio preset by the called terminal are played simultaneously by selecting the incoming call audio and playing the selected incoming call audio, thereby solving the problem of disordered playing of the two audios.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic flow chart illustrating an implementation of a first incoming call audio playing method according to an embodiment of the present invention, and referring to fig. 1, the incoming call audio playing method according to the embodiment includes the following steps:
step 101, receiving a call request signaling sent by a calling terminal;
the incoming call audio playing method of the embodiment is applied to a terminal, and is used for selecting incoming call audio in a first audio and a preset second audio corresponding to audio data in received streaming media data sent by a calling terminal, and playing the selected incoming call audio. The terminal is provided with a related application capable of playing the streaming media data sent by the calling terminal, and the related application can be a color printing APP. After the terminal receives the streaming media data sent by the calling terminal, the color printing APP can play the streaming media data.
In order to implement the solution of the embodiment of the present invention, it is necessary to ensure that the called terminal can normally receive the call request signaling sent by the calling terminal, that is, the client identification module of the called terminal operates normally, and the components related to the call connection also operate normally.
Here, the called terminal may include a signal processing module that receives a call connection signaling transmitted by a Mobile Switching Center (MSC) of the called terminal and receives a call request signaling transmitted by the calling terminal; the call connection signaling is used for establishing call request connection for the calling terminal, and the call request signaling contains calling information pushed by the calling terminal.
102, when the call request signaling contains audio data, determining to play a first audio corresponding to the audio data or a second audio corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface;
here, the preset second audio is an incoming call ringtone audio preset by the user, that is, the preset second audio is a call ringtone of the called terminal when the called terminal is incoming.
In an embodiment, the called terminal may further include an audio decoder, an incoming call ringtone playing module, and a demultiplexer, where the audio decoder and the incoming ringtone playing module are configured to play the selected incoming call audio, and the demultiplexer is configured to detect audio data.
Before determining to play the first audio corresponding to the audio data or the second audio corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface, whether a call request signaling contains audio data needs to be judged, and when the call request signaling contains the audio data, a step of selecting an incoming call audio is executed. Otherwise, the preset second audio is directly used as the incoming call audio, then the audio decoder in the called terminal decodes the second audio, and the started incoming call ringtone playing module plays the second audio after decoding.
In an embodiment, the called terminal may detect whether the call request signaling contains streaming media data; when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data; and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
Specifically, the called terminal may first detect whether the call request signaling includes streaming media data by using an existing or new signal processing technology, and if the call request signaling includes the streaming media data, the signal processing module in the passive terminal receives a transport stream TS (transport stream) of the streaming media data, and converts the transport stream TS into a data Elementary stream pes (packetized Elementary streams) by using a demultiplexer demux (demultiplexer). Then, the called terminal may determine whether the elementary stream PES contains an audio elementary stream PES by using an existing or new signal processing technique, and when the elementary stream PES contains an audio elementary stream PES, determine that the call request signaling contains audio data.
When determining that the call request signaling contains audio data, the called terminal can select incoming call audio in three ways.
The first mode is as follows: and determining to play the first audio corresponding to the audio data or the preset second audio based on a preset first playing mode. The user can operate the setting interface of the called terminal to preset the first playing mode. For example, the user may operate a certain button, a certain icon, a certain buoy, or a certain text box in the setting interface of the called terminal according to a preset operation mode to set the incoming call audio that is played first when the called terminal is called. The preset operation mode can be a click operation mode, a touch operation mode and a voice control operation mode.
Specifically, if the user sets the played incoming call audio as the first audio in the setting interface of the called terminal, after the called terminal receives the call request signaling sent by the calling terminal and the call request signaling contains the audio data elementary stream PES, the called terminal decodes the audio data elementary stream PES by using the audio decoder, and the decoded audio data elementary stream PES can be played by the started incoming call ringtone playing module. If the user sets the interface in the called terminal to set the played incoming call audio as the second audio, the called terminal directly decodes the second audio by the audio decoder regardless of whether the call request signaling contains the audio data elementary stream PES, and the started incoming call ringtone playing module plays the second audio after decoding.
The second way is: and determining to play the first audio corresponding to the audio data or a preset second audio based on the second playing mode selected by the audio switching interface. Specifically, the called terminal may further include an input/output module and a display module, when the called terminal receives a call request signaling sent by the calling terminal and the call request signaling contains an audio data elementary stream PES, the called terminal may send an interface display instruction to the display module by the input/output module, and the display module may display an audio switching interface for a user to select the second play mode.
For example, fig. 2 is a schematic diagram of an optional audio switching interface for implementing audio selection of an incoming call, and referring to fig. 2, the audio switching interface may include two options, where a first option is a "yes" option, and a second option is a "no" option, where the first option may represent that a first audio is determined to be played, and may also represent that a second audio is determined to be played; accordingly, the second option may characterize the determination to play the second audio, and may characterize the determination to play the first audio. In this embodiment, a detailed description will be given by taking an example in which the "yes" option representation determines to play the first audio and the "no" option representation plays the second audio. Specifically, when the user touches the "yes" option, it indicates that the user is interested in streaming media data in a call request signaling sent by the calling terminal, and expects to normally play the streaming media data; at this time, the called terminal receives the operation instruction for the "yes" option, and decodes the PES, which is the elementary stream of the audio data, by using the audio decoder based on the determined playing mode for playing the first audio selected by the audio switching interface, and the decoded PES can be played by the started ringtone playing module. When the user touches the 'no' option, the user indicates that the user is not interested in the streaming media data in the call request signaling sent by the calling terminal, at the moment, the called terminal decodes the second audio by using an audio decoder, and the started incoming call ringtone playing module plays the second audio after decoding.
Fig. 3 is a schematic diagram of another alternative audio switching interface for implementing audio selection of an incoming call according to an embodiment of the present invention, and as shown in fig. 3, the audio switching interface may also include two options, where a first option is a "first audio" option, and a second option is a "second audio" option; the first option representation determines to play a first audio and the second option representation determines to play a second audio.
Of course, the presentation form of the audio switching interface for realizing the incoming call audio selection is not limited to the two types, and the audio switching interface or the selection frame capable of realizing the incoming call audio selection is within the protection scope of the present invention.
The third mode is as follows: and determining to play a first audio corresponding to the audio data or a second audio corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface. The preset rule may be that the priority of the first playing mode is higher than that of the second playing mode, or that the priority of the second playing mode is higher than that of the first playing mode; in this embodiment, the preset rule will be described in detail by taking an example that the priority of the second playing mode is higher than that of the first playing mode.
Specifically, when a second playing mode selected based on an audio switching interface is received, a first audio or a second audio is determined to be played according to the second playing mode; and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
For example, when the called terminal receives a call request signaling sent by the calling terminal and the call request signaling contains an audio data elementary stream PES, the called terminal may send an interface display instruction to the display module by the input/output module, and the display module may display an audio switching interface for the user to select the incoming call audio. When the user does not touch related options in the audio switching interface, the called terminal determines to play a first audio or a second audio according to the first playing mode; and when the user touches the related option of selecting the incoming call audio in the audio switching interface, the called terminal determines to play the first audio or the second audio according to the second playing mode.
For example, when the user does not touch the related option in the audio switching interface and the preset first playing mode is the second audio, the called terminal determines to play the second audio, decodes the second audio by using the audio decoder, and plays the second audio by using the started incoming call ringtone playing module after decoding. When the user touches the related option in the audio switching interface and the selected second playing mode is the first audio, the called terminal needs to switch the incoming audio from the second audio to the first audio; at this time, the ring tone playing module in the called terminal suspends playing the second audio, and decodes the audio data elementary stream PES by using the audio decoder, and the decoded PES can be played by the ring tone playing module.
And 103, playing the first audio or the second audio which is determined to be played as the incoming call audio.
Here, the called terminal decodes the audio determined to be played by using the audio decoder, and plays the audio as the incoming call audio by using the ring tone playing module after decoding.
In addition, during the playing of the first audio, the user may choose to establish the call request connection or to close the call request connection at any time in response to the call request of the calling terminal. Correspondingly, the called terminal will determine whether to receive the control instruction responding to the call request signaling, and the operation instruction may be a control instruction for establishing a call request connection or a control instruction for turning off the call request connection. When receiving a control instruction for responding to the call request signaling, the called terminal stops playing the first audio by the incoming call ringtone playing module; and when the control instruction responding to the call request signaling is not received, the called terminal judges whether the first audio is played completely. And when the first audio is determined to be played completely, switching the incoming call audio to the second audio, and playing the second audio until the time that the called terminal does not receive the control instruction responding to the call request signaling reaches a preset value. At this time, the called terminal may automatically turn off the call request connection.
In order to more clearly describe the scheme provided by the embodiment of the present invention, in the second embodiment of the present invention, a specific implementation process of the incoming call audio playing method of the present invention will be described in detail.
Fig. 4 is a schematic flow chart illustrating an implementation of a second incoming call audio playing method according to an embodiment of the present invention, and referring to fig. 4, the incoming call audio playing method of the present embodiment specifically includes the following steps:
step 201, receiving a call request signaling sent by a calling terminal;
step 202, detecting whether the call request signaling contains streaming media data; if yes, go to step 203; if not, go to step 205;
step 203, determining whether the streaming media data includes audio data; if yes, go to step 204; if not, go to step 205;
step 204, when a second playing mode selected based on the audio switching interface is not received, determining to play the second audio according to a preset first playing mode, wherein the first playing mode is the second audio;
step 205, starting an incoming call ringtone playing module to play the second audio;
step 206, in the playing process, receiving a second playing mode selected based on the audio switching interface, wherein the second playing mode is a first audio, and determining to play the first audio;
step 207, switching the incoming call audio to a first audio, and pausing the playing of the second audio by the incoming call ringtone playing module and starting playing the first audio;
step 208, determining whether a control instruction responding to the call request signaling is received; if yes, go to step 211; if not, go to step 209;
step 209, determining whether the first audio is played completely; if yes, go to step 210; if not, returning to execute the step 208;
step 210, switching the incoming call audio to the second audio, and continuing to play the second audio by the incoming call ringtone playing module;
211, ending the playing of the incoming call audio.
In order to implement the method of the embodiment of the present invention, an incoming call audio playing device is further provided in the embodiment of the present invention, and is applied to a terminal, and is used for implementing the specific details of the incoming call audio playing method, so as to achieve the same effect.
Fig. 5 is a schematic structural diagram of an incoming call audio playing device according to an embodiment of the present invention, and referring to fig. 5, the incoming call audio playing device in this embodiment includes: a receiving module 31, a first determining module 32 and a playing module 33; wherein,
the receiving module 31 is configured to receive a call request signaling sent by a calling terminal;
the first determining module 32 is configured to, when it is determined that the call request signaling contains audio data, determine, according to a preset rule, to play a first audio corresponding to the audio data or a preset second audio based on a preset first playing mode and a second playing mode selected based on an audio switching interface;
the playing module 33 is configured to play the first audio or the second audio determined to be played as an incoming call audio.
Optionally, the incoming call audio playing device of this embodiment further includes: a second determining module 34, configured to determine that the call request signaling contains audio data;
optionally, the second determining module 34 is specifically configured to detect whether the call request signaling contains streaming media data; when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data; and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
Optionally, the playing module 33 is further configured to play the second audio as an incoming call audio when it is determined that the call request signaling does not include audio data.
Optionally, the incoming call audio playing device of this embodiment further includes: a judging module 35, an ending playing module 36 and a switching module 37; wherein,
the judging module 35 is configured to judge whether a control instruction responding to the call request signaling is received;
the ending playing module 36 is configured to end the playing of the first audio when receiving a control instruction responding to the call request signaling;
the switching module 37 is configured to switch the incoming call audio to the second audio for playing when the control instruction responding to the call request signaling is not received and when it is determined that the playing of the first audio is completed.
Optionally, when a second play mode selected based on an audio switching interface is received, the first determining module 32 is specifically configured to determine to play the first audio or the second audio according to the second play mode;
when the second playing mode selected based on the audio switching interface is not received, the second determining module 32 is specifically configured to determine to play the first audio or the second audio according to the first playing mode.
In practical applications, the receiving module 31, the first determining module 32, the playing module 33, the second determining module 34, the determining module 35, the ending playing module 36 and the switching module 37 may all be implemented by a processor in the incoming call audio playing device in combination with a user interface.
In the foregoing embodiment, when the incoming call audio playing apparatus plays an incoming call audio, only the division of the program modules is taken as an example, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the processing described above. In addition, the incoming call audio playing device and the incoming call audio playing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
In order to implement the method of the embodiment of the present invention, an incoming call audio playing device is further provided in the embodiment of the present invention, and is applied to a terminal, and is used for implementing the specific details of the incoming call audio playing method, so as to achieve the same effect.
Fig. 6 is a schematic diagram of a hardware configuration of an incoming call audio playing device according to an embodiment of the present invention, and referring to fig. 6, the incoming call audio playing device in the embodiment includes: a processor 41, a memory 42 for storing computer programs operable on the processor 41, and a user interface 43; wherein,
the user interface 43 is used for receiving instructions input by a user;
the processor 41 is configured to, when running the computer program, execute:
receiving a call request signaling sent by a calling terminal;
when the call request signaling contains audio data, based on a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule;
and playing the determined first audio or the second audio as the incoming call audio.
Optionally, the processor 41 is further configured to, when running the computer program, perform:
detecting whether the call request signaling contains streaming media data;
when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data;
and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
Optionally, the processor 41 is further configured to, when running the computer program, perform:
and when the call request signaling is determined not to contain audio data, playing the second audio as the incoming call audio.
Optionally, the processor 41 is further configured to, when running the computer program, perform:
after the first audio which is determined to be played is played as incoming call audio, judging whether a control instruction responding to the call request signaling is received;
if so, ending the playing of the first audio;
if not, after the first audio is determined to be played completely, the incoming call audio is switched to the second audio for playing.
Optionally, the processor 41 is further configured to, when running the computer program, perform:
when a second playing mode selected based on an audio switching interface is received, determining to play a first audio or a second audio according to the second playing mode; or,
and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
In practice, of course, the various components are coupled together by a bus system 44, as shown in FIG. 6. It will be appreciated that the bus system 44 is used to enable communications among the components. The bus system 44 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 44 in fig. 6.
The present invention also provides a computer readable storage medium storing an executable program which when executed by a processor 41 implements the steps of:
receiving a call request signaling sent by a calling terminal;
when the call request signaling contains audio data, based on a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule;
and playing the determined first audio or the second audio as the incoming call audio.
Optionally, when executed by the processor 41, the executable program specifically implements the step of determining that the call request signaling contains audio data:
detecting whether the call request signaling contains streaming media data;
when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data;
and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
Optionally, the executable program, when executed by the processor 41, is to implement the steps of:
and when the call request signaling is determined not to contain audio data, playing the second audio as the incoming call audio.
Optionally, the executable program, when executed by the processor 41, is to implement the steps of:
after the first audio which is determined to be played is played as incoming call audio, judging whether a control instruction responding to the call request signaling is received;
if so, ending the playing of the first audio;
if not, after the first audio is determined to be played completely, the incoming call audio is switched to the second audio for playing.
Optionally, when the executable program is executed by the processor 41, the step of determining to play the first audio or the second audio corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface is specifically implemented:
when a second playing mode selected based on an audio switching interface is received, determining to play a first audio or a second audio according to the second playing mode; or,
and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (12)

1. An incoming call audio playing method, the method comprising:
receiving a call request signaling sent by a calling terminal;
when the call request signaling contains audio data, based on a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule;
and playing the determined first audio or the second audio as the incoming call audio.
2. The method of claim 1, wherein the determining that the call request signaling contains audio data comprises:
detecting whether the call request signaling contains streaming media data;
when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data;
and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and when the call request signaling is determined not to contain audio data, playing the second audio as the incoming call audio.
4. The method of claim 1, wherein after playing the first audio determined to be played as incoming audio, the method further comprises:
judging whether a control instruction responding to the call request signaling is received;
if so, ending the playing of the first audio;
if not, after the first audio is determined to be played completely, the incoming call audio is switched to the second audio for playing.
5. The method according to claim 1, wherein the determining to play the first audio or the second audio corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface includes:
when a second playing mode selected based on an audio switching interface is received, determining to play a first audio or a second audio according to the second playing mode; or,
and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
6. An incoming call audio playback apparatus, comprising: a processor, and a memory for storing a computer program operable on the processor; wherein,
the processor is configured to, when running the computer program, execute:
receiving a call request signaling sent by a calling terminal;
when the call request signaling contains audio data, based on a preset first playing mode and a second playing mode selected based on an audio switching interface, determining to play a first audio corresponding to the audio data or a preset second audio according to a preset rule;
and playing the determined first audio or the second audio as the incoming call audio.
7. The apparatus according to claim 6, wherein the processor, when executing the computer program, is configured to perform:
detecting whether the call request signaling contains streaming media data;
when detecting that the call request signaling contains streaming media data, judging whether the streaming media data contains audio data;
and when the streaming media data contains audio data, determining that the call request signaling contains the audio data.
8. The apparatus according to claim 6 or 7, wherein the processor, when executing the computer program, is configured to perform:
and when the call request signaling is determined not to contain audio data, playing the second audio as the incoming call audio.
9. The apparatus according to claim 6, wherein the processor, when executing the computer program, is configured to perform:
after the first audio which is determined to be played is played as incoming call audio, judging whether a control instruction responding to the call request signaling is received;
if so, ending the playing of the first audio;
if not, after the first audio is determined to be played completely, the incoming call audio is switched to the second audio for playing.
10. The apparatus according to claim 6, wherein the processor, when executing the computer program, is configured to perform:
when a second playing mode selected based on an audio switching interface is received, determining to play a first audio or a second audio according to the second playing mode; or,
and when the second playing mode selected based on the audio switching interface is not received, determining to play the first audio or the second audio according to the first playing mode.
11. An incoming call audio playback apparatus, comprising: the device comprises a receiving module, a determining module and a playing module; wherein,
the receiving module is used for receiving a call request signaling sent by a calling terminal;
the determining module is used for determining to play a first audio frequency corresponding to the audio data or a second audio frequency corresponding to the audio data according to a preset rule based on a preset first playing mode and a second playing mode selected based on an audio switching interface when the call request signaling is determined to contain the audio data;
and the playing module is used for playing the first audio or the second audio which is determined to be played as the incoming call audio.
12. A computer-readable storage medium, in which computer-executable instructions are stored, and a computer program of the computer-executable instructions, when executed by a processor, implements the incoming call audio playing method according to any one of claims 1 to 5.
CN201710891034.8A 2017-09-27 2017-09-27 One kind incoming call audio frequency playing method and device, computer-readable recording medium Pending CN107508995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710891034.8A CN107508995A (en) 2017-09-27 2017-09-27 One kind incoming call audio frequency playing method and device, computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710891034.8A CN107508995A (en) 2017-09-27 2017-09-27 One kind incoming call audio frequency playing method and device, computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107508995A true CN107508995A (en) 2017-12-22

Family

ID=60699845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710891034.8A Pending CN107508995A (en) 2017-09-27 2017-09-27 One kind incoming call audio frequency playing method and device, computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107508995A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040959A (en) * 2018-08-21 2018-12-18 中国联合网络通信集团有限公司 A kind of method and system from speech message to driver that broadcasting
CN110830656A (en) * 2019-11-13 2020-02-21 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for prompting incoming call
US11710563B2 (en) 2020-06-02 2023-07-25 Apple Inc. User interfaces for health applications
US11842806B2 (en) 2019-06-01 2023-12-12 Apple Inc. Health application user interfaces
US11950916B2 (en) 2018-03-12 2024-04-09 Apple Inc. User interfaces for health monitoring
US12002588B2 (en) 2019-07-17 2024-06-04 Apple Inc. Health event logging and coaching user interfaces
US12008290B2 (en) 2022-05-16 2024-06-11 Apple Inc. Methods and user interfaces for monitoring sound reduction

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878338A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Method for realizing called playing and calling order ringing media
CN101035164A (en) * 2007-03-05 2007-09-12 李波 System and method for realizing the video ring
CN101267583A (en) * 2007-03-15 2008-09-17 展讯通信(上海)有限公司 A realization method for personalized multimedia ring service in mobile communication system
CN101867663A (en) * 2009-04-17 2010-10-20 中兴通讯股份有限公司 System and method for filtering ring
WO2010145139A1 (en) * 2009-06-30 2010-12-23 中兴通讯股份有限公司 Method and system for transmitting information of color ringback tone in package switch domain, and color ringback tone server and terminal therefor
CN102082857A (en) * 2009-11-27 2011-06-01 黄金富 Caller identification (CID) method and system implemented through characters, sound and images, and the like send from calling phone
CN106254693A (en) * 2016-07-25 2016-12-21 姚杰 A kind of intelligent mobile terminal short video interactive method of call and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878338A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Method for realizing called playing and calling order ringing media
CN101035164A (en) * 2007-03-05 2007-09-12 李波 System and method for realizing the video ring
CN101267583A (en) * 2007-03-15 2008-09-17 展讯通信(上海)有限公司 A realization method for personalized multimedia ring service in mobile communication system
CN101867663A (en) * 2009-04-17 2010-10-20 中兴通讯股份有限公司 System and method for filtering ring
WO2010145139A1 (en) * 2009-06-30 2010-12-23 中兴通讯股份有限公司 Method and system for transmitting information of color ringback tone in package switch domain, and color ringback tone server and terminal therefor
CN102082857A (en) * 2009-11-27 2011-06-01 黄金富 Caller identification (CID) method and system implemented through characters, sound and images, and the like send from calling phone
CN106254693A (en) * 2016-07-25 2016-12-21 姚杰 A kind of intelligent mobile terminal short video interactive method of call and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11950916B2 (en) 2018-03-12 2024-04-09 Apple Inc. User interfaces for health monitoring
CN109040959A (en) * 2018-08-21 2018-12-18 中国联合网络通信集团有限公司 A kind of method and system from speech message to driver that broadcasting
CN109040959B (en) * 2018-08-21 2021-02-02 中国联合网络通信集团有限公司 Method and system for broadcasting voice message to driver
US11842806B2 (en) 2019-06-01 2023-12-12 Apple Inc. Health application user interfaces
US12002588B2 (en) 2019-07-17 2024-06-04 Apple Inc. Health event logging and coaching user interfaces
CN110830656A (en) * 2019-11-13 2020-02-21 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for prompting incoming call
US11710563B2 (en) 2020-06-02 2023-07-25 Apple Inc. User interfaces for health applications
US12008290B2 (en) 2022-05-16 2024-06-11 Apple Inc. Methods and user interfaces for monitoring sound reduction

Similar Documents

Publication Publication Date Title
CN107508995A (en) One kind incoming call audio frequency playing method and device, computer-readable recording medium
EP2921933B1 (en) Digital device and method of processing screensaver thereof
US7551918B2 (en) Mobile device control of mobile television broadcast signals to multiple destinations
US11956497B2 (en) Audio processing method and electronic device
US20070099560A1 (en) Mobile device control of mobile television broadcast signals to alternate destinations
CN108132769A (en) A kind of audio data play method and dual-screen mobile terminal
US20230247257A1 (en) Broadcasting method and device for live broadcast
JP2009111777A (en) Digital broadcast receiving device
JP2018509007A (en) Audio reproduction method, apparatus, program, and recording medium
US20070143799A1 (en) Mobile television gap filler during channel switching
CN104066011A (en) Control method of interface switching of intelligent TV and control device thereof
US20170171281A1 (en) Play method and apparatus and mobile terminal device for android platform
CN104837020B (en) The method and apparatus for playing video
CN110933221A (en) Audio channel management method, device, terminal and storage medium
US9473551B2 (en) Method and apparatus for processing VoIP data
TWI809477B (en) Multimedia device and related method for a video mute mode
US9918122B2 (en) Display apparatus and control method thereof
JP4435206B2 (en) Mobile radio terminal device
US20100119216A1 (en) Broadcast data recording and reproducing method and apparatus for mobile terminal
CN112055238B (en) Video playing control method, device and system
KR20130061501A (en) System and method for playing video of multiple scenarious
CN113542829A (en) Split screen display method, display terminal and readable storage medium
JP2005260741A (en) Portable telephone set with television broadcast receiving function
CN103442268A (en) Method and device for reserving and switching simulation television program
CN112201283B (en) Audio playing 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171222