CN107645604B - Call processing method and mobile terminal - Google Patents

Call processing method and mobile terminal Download PDF

Info

Publication number
CN107645604B
CN107645604B CN201710906533.XA CN201710906533A CN107645604B CN 107645604 B CN107645604 B CN 107645604B CN 201710906533 A CN201710906533 A CN 201710906533A CN 107645604 B CN107645604 B CN 107645604B
Authority
CN
China
Prior art keywords
call
audio
mobile terminal
preset
bank
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
Application number
CN201710906533.XA
Other languages
Chinese (zh)
Other versions
CN107645604A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710906533.XA priority Critical patent/CN107645604B/en
Publication of CN107645604A publication Critical patent/CN107645604A/en
Application granted granted Critical
Publication of CN107645604B publication Critical patent/CN107645604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a call processing method and a mobile terminal, wherein the method comprises the following steps: acquiring the conversation content of the current conversation of the mobile terminal; extracting keywords from the call content, and acquiring audio associated with the keywords; and playing the audio associated with the keyword in the call process. According to the embodiment of the invention, the audio frequency associated with the keyword is played in the conversation process according to the keyword in the conversation process, so that the conversation scene can be simulated or a user can conveniently share music in real time in the conversation process, and convenience is provided for the user.

Description

Call processing method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a call processing method and a mobile terminal.
Background
With the popularization of mobile terminals (such as smart phones, tablet computers, and the like), communication costs are continuously reduced, and calls (such as telephone calls, voice calls, and the like) become a main way for people to communicate. When a party wants to end the call, the party may be politely terminated, for example, when the user receives a sales call of no interest, the user may politely terminate the call, for example, when the user receives a sales call in a meeting or a car, but if the opposite party knows that the user lies, the user may embarrass both parties to the call. In addition, when a party in a call thinks that music needs to be shared with the other party, the party only can send the music to the other party after the call is ended, and the party cannot share the music with the other party in real time in the call.
Therefore, in the prior art, only the voice of the call object can be played in the call process, and the function is single.
Disclosure of Invention
The embodiment of the invention provides a call processing method and a mobile terminal, and aims to solve the problems that only the voice of a call object can be played and the function is single in the call process in the prior art.
In order to solve the technical problem, the invention is realized as follows: a call processing method comprises the following steps:
acquiring the conversation content of the current conversation of the mobile terminal;
extracting keywords from the call content, and acquiring audio associated with the keywords;
and playing the audio associated with the keyword in the call process.
In a first aspect, an embodiment of the present invention provides a call processing method, including:
acquiring the conversation content of the current conversation of the mobile terminal;
extracting keywords from the call content, and acquiring audio associated with the keywords;
and playing the audio associated with the keyword in the call process.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the first acquisition module is used for acquiring the conversation content of the current conversation of the mobile terminal;
the second acquisition module is used for extracting keywords from the call content and acquiring audio associated with the keywords;
and the playing module is used for playing the audio associated with the keyword in the call process.
In a third aspect, an embodiment of the present invention provides another mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the call processing method.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the call processing method.
Therefore, the embodiment of the invention plays the audio associated with the keyword in the call process according to the keyword in the call process, can simulate the call scene or facilitate the user to share music in real time in the call process, and provides convenience for the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a call processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another call processing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 5 is a block diagram of another mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a call processing method provided in an embodiment of the present invention, where the call processing method is applied to a mobile terminal, and as shown in fig. 1, the call processing method includes the following steps:
step 101, obtaining the call content of the current call of the mobile terminal.
In this step, the method obtains the call content of the current call of the mobile terminal when the mobile terminal is in a call state. The call may be a telephone call, a voice call, or a video call, which is not specifically limited in this embodiment of the present invention.
In some embodiments of the present invention, when the mobile terminal is in a call state, the method may first determine whether the mobile terminal is in a preset call mode (for example, a mode allowing audio playing during a call), and if the mobile terminal is in the preset call mode, the method further obtains a call content of a current call of the mobile terminal; if the mobile terminal is not in the preset call mode, the method does not acquire the call content of the current call of the mobile terminal.
And 102, extracting keywords from the call content, and acquiring audio associated with the keywords.
In this step, the method extracts keywords from the call content and obtains audio associated with the keywords. In the embodiment of the present invention, the mobile terminal may store a word bank including a plurality of words and an audio associated with each word in advance, where each word may be associated with one or more audios. The method can judge whether the call content comprises keywords matched with the words in the word stock, if the call content comprises the keywords matched with the words in the word stock, the method extracts the keywords of the call content, and obtains the audio associated with the keywords according to the keywords.
The call content may be content input by a user of the mobile terminal, that is, voice received through a microphone of the mobile terminal; or the content sent by the call partner of the current call, namely the voice sent by the mobile terminal earphone. The method for judging whether the call content comprises the keywords matched with the words in the word stock or not can be realized by converting the call content from voice into characters and then judging whether the keywords matched with the words in the word stock or not are included. The conversion of speech into text belongs to the field of the prior art, and is not described herein again.
The plurality of words and the audio associated with each word may be preset by the user, and the audio may be audio downloaded by the user, or audio recorded by the user, or music on the mobile terminal. For example, a user may add one or more audios in a meeting scene and set the associated words of the one or more audios as "meeting" or "i am in a meeting". When the audio is music on the mobile terminal, the words associated with the music may be keywords in the name or lyrics of the music, or keywords set by the user.
And 103, playing audio associated with the keyword in the call process.
In this step, the method plays the audio associated with the keyword during the call. It can be understood that, when the audio associated with the keyword is a plurality of audios, the method may select one of the audios to be played according to a preset rule. The preset rule may be random play, or may be selection of one of the plurality of audios with the highest or lowest play frequency, or may be provision of a user interface for a user to select and determine one of the audios according to the selection of the user.
For example, when the call content of the user in the call process comprises 'meeting' or 'i am in a meeting', the method acquires the audio associated with 'meeting' or 'i am in a meeting', and plays the audio in the call process, so that the opposite side can feel the atmosphere of 'meeting' spoken by the user, and the embarrassment caused by the fact that the opposite side is identified and lies can be avoided. In addition, when the user needs to share music with the other party in the communication process, the user can speak out keywords related to the music, such as the song name, and the method can acquire the corresponding music according to the song name and play the music in the communication process, so that the user can conveniently share the music in the communication process in real time, and convenience is provided for the user.
In the embodiment of the invention, the call processing method plays the audio associated with the keyword in the call process according to the keyword in the call process, so that the call scene can be simulated or a user can conveniently share music in real time in the call process, and convenience is provided for the user.
Optionally, the obtaining of the call content of the current call on the mobile terminal includes:
if the mobile terminal is in a first preset call mode and a call object of a current call on the mobile terminal belongs to a preset group, obtaining call content of the current call on the mobile terminal; or
And if the mobile terminal is in a second preset call mode or a third preset call mode, obtaining the call content of the current call on the mobile terminal.
In this embodiment, when the mobile terminal is in a call state, the method obtains a call mode in which the mobile terminal is located, and then further determines whether to obtain content of a current call on the mobile terminal according to the call mode in which the mobile terminal is located. The communication modes of the mobile terminal may include a first preset communication mode, a second preset communication mode and a third preset communication mode which are different from each other, wherein different preset modes play audio in different audio libraries in a communication process for different groups. For example, the first preset call mode may be a mode for playing the audio in the first audio library and the second audio library only for calls in which the call object belongs to the preset group, the second preset call mode may be a mode for playing the audio in the first audio library for all calls, and the third preset call mode may be a mode for playing the audio in the first audio library for all calls and playing the audio in the first audio library and the second audio library for calls in which the call object belongs to the preset group.
The user may set the mobile terminal to any one of the preset call modes, or may set the mobile terminal to another call mode, for example, a mode of closing an audio playing function during a call. The preset group comprises at least one contact number, can be a group set by a user, and can also comprise all contacts in an address list of the mobile terminal by default.
Optionally, the extracting a keyword from the call content and acquiring an audio associated with the keyword includes:
if the mobile terminal is in a first preset call mode and a call object of a current call belongs to a preset group, extracting a keyword matched with a word in a first word bank or a second word bank from the call content, and acquiring an audio frequency associated with the keyword from a first audio frequency bank and a second audio frequency bank; or
If the mobile terminal is in a second preset call mode, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call belongs to a preset group, extracting a keyword matched with a word in the first word bank or the second word bank from the call content, and acquiring an audio frequency associated with the keyword from the first audio frequency bank and the second audio frequency bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call does not belong to a preset group, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank;
wherein the first thesaurus comprises words associated with audio in the first audio library and the second thesaurus comprises words associated with audio in the second audio library.
In this embodiment, different word banks and different audio frequency banks corresponding to the different word banks are stored in the mobile terminal. The mobile terminal may store a first lexicon, a second lexicon, a first audio library, and a second audio library, wherein the first lexicon includes words associated with audio in the first audio library, and the second lexicon includes words associated with audio in the second audio library. For example, the first word library and the first audio library may be word libraries and audio libraries preset by a user, the second audio library may be a music library of the mobile terminal, the second word library may include words set by the user according to the music library, or words extracted directly from the music library by the method, such as a song name or keywords in lyrics.
When the mobile terminal is in a first preset call mode, the method judges whether a call object of the current call belongs to a preset group, if the call object of the current call belongs to the preset group, the method extracts a keyword matched with a word in a first word bank or a second word bank from the call content, and acquires an audio frequency associated with the keyword from a first audio frequency bank. For example, a user can add a plurality of close friends into a preset group, when the close friends call, if words in the first word bank or the second word bank are chatted in the call process, the method obtains the audio associated with the keywords from the first audio bank and the second audio bank and plays the audio, and therefore when the user calls contacts in the preset group, the method can simulate the call scene according to the call content and can also share music to the opposite side in real time according to the call content.
When the mobile terminal is in a second preset call mode, the method extracts keywords matched with words in the first word bank from the call content, and obtains audio associated with the keywords from the first audio bank. For example, when the user sets the mobile terminal to be in the second preset call mode, no matter whether the call object is a stranger or a friend, the method obtains the keyword matched with the word in the first word bank according to the call content in the call process, and obtains the audio associated with the keyword from the first audio bank. In other words, in this case, the method can simulate a call scene according to call contents for all calls on the mobile terminal, and can help a user to avoid unnecessary trouble.
The third preset call mode is that audio is acquired from different audio libraries aiming at different call objects. When the mobile terminal is in a third preset call mode, the method further judges whether a call object of the current call belongs to a preset group, if the call object of the current call belongs to the preset group, the method extracts a keyword matched with a word in the first word bank or the second word bank from the call content, and acquires audio associated with the keyword from the first audio bank and the second audio bank. On the contrary, if the call object of the current call does not belong to the preset group, the method extracts the keywords matched with the words in the first word bank from the call content, and acquires the audio associated with the keywords from the first audio bank. It is understood that, considering that the user does not need to share music when talking to strangers or less familiar contacts, the method only obtains the audio associated with the keyword from the first audio library when the talking object does not belong to the preset group. The user can set the close friends into the preset group, so that the method can play music between the user and the close friends according to the call content, the user can conveniently recommend the music to the close friends, and convenience is provided for both parties of the call.
Optionally, the first audio library is an audio library including a plurality of recording files, and the second audio library is a music library including a plurality of pieces of music.
In this embodiment, the first audio library is an audio library including a plurality of recording files, and the second audio library is a music library including a plurality of pieces of music.
Referring to fig. 2, fig. 2 is a flowchart of another call processing method provided in an embodiment of the present invention, where the method is applied to a mobile terminal, and as shown in fig. 2, the method includes the following steps:
step 201, obtaining the call content of the current call of the mobile terminal.
Step 202, extracting keywords from the call content, and acquiring audio associated with the keywords.
The steps 201 and 202 are the same as the steps 101 and 102 in the embodiment shown in fig. 1, and are not described again here.
Step 203, if the keyword is associated with a plurality of audios, providing a user interface for a user to select a target audio from the plurality of audios.
In this step, if the keyword is associated with multiple audios, the method may provide a user interface for the user to select a target audio from the multiple audios, and the user may select a most suitable audio according to the call object of the current call and the current specific situation.
And 204, receiving the selection operation of the target audio selected by the user, and playing the target audio in the call process.
In the step, the method receives the selection operation of the user for selecting the target audio and plays the target audio in the call process. Therefore, the user can select one audio to play according to the call object of the current call and the actual situation of the user.
In the embodiment of the invention, the call processing method plays the audio associated with the keyword in the call process according to the keyword in the call process, so that the call scene can be simulated or the user can conveniently share music in real time in the call process, and an interface is provided for the user to select one audio to play according to the actual situation, thereby providing convenience for the user.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the mobile terminal 300 includes:
a first obtaining module 301, configured to obtain call content of a current call of the mobile terminal;
a second obtaining module 302, configured to extract a keyword from the call content, and obtain an audio associated with the keyword;
and the playing module 303 is configured to play the audio associated with the keyword during the call.
Optionally, the first obtaining module 301 is configured to:
if the mobile terminal is in a first preset call mode and a call object of a current call on the mobile terminal belongs to a preset group, obtaining call content of the current call on the mobile terminal; or
And if the mobile terminal is in a second preset call mode or a third preset call mode, obtaining the call content of the current call on the mobile terminal.
Optionally, the second obtaining module 302 is configured to:
if the mobile terminal is in a first preset call mode and a call object of a current call belongs to a preset group, extracting a keyword matched with a word in a first word bank or a second word bank from the call content, and acquiring an audio frequency associated with the keyword from a first audio frequency bank and a second audio frequency bank; or
If the mobile terminal is in a second preset call mode, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call belongs to a preset group, extracting a keyword matched with a word in the first word bank or the second word bank from the call content, and acquiring an audio frequency associated with the keyword from the first audio frequency bank and the second audio frequency bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call does not belong to a preset group, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank;
wherein the first thesaurus comprises words associated with audio in the first audio library and the second thesaurus comprises words associated with audio in the second audio library.
Optionally, the first audio library is an audio library including a plurality of recording files, and the second audio library is a music library including a plurality of pieces of music.
Optionally, referring to fig. 4, fig. 4 is a structural diagram of another mobile terminal provided in the embodiment of the present invention, and as shown in fig. 4, the playing module 303 includes:
a control unit 3031, configured to provide a user interface for a user to select a target audio from multiple audio if the keyword is associated with the multiple audio;
the playing unit 3032 is configured to receive a selection operation of a user selecting a target audio, and play the target audio in a call process.
The mobile terminal 300 provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, the mobile terminal plays the audio associated with the keyword in the call process according to the keyword in the call process, so that the call scene can be simulated or a user can conveniently share music in real time in the call process, and convenience is provided for the user.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 510 is configured to:
acquiring the conversation content of the current conversation of the mobile terminal;
extracting keywords from the call content, and acquiring audio associated with the keywords;
and playing the audio associated with the keyword in the call process.
Optionally, the obtaining of the call content of the current call on the mobile terminal performed by the processor 510 includes:
if the mobile terminal is in a first preset call mode and a call object of a current call on the mobile terminal belongs to a preset group, obtaining call content of the current call on the mobile terminal; or
And if the mobile terminal is in a second preset call mode or a third preset call mode, obtaining the call content of the current call on the mobile terminal.
Optionally, the extracting, by the processor 510, a keyword from the call content and acquiring an audio associated with the keyword includes:
if the mobile terminal is in a first preset call mode and a call object of a current call belongs to a preset group, extracting a keyword matched with a word in a first word bank or a second word bank from the call content, and acquiring an audio frequency associated with the keyword from a first audio frequency bank and a second audio frequency bank; or
If the mobile terminal is in a second preset call mode, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call belongs to a preset group, extracting a keyword matched with a word in the first word bank or the second word bank from the call content, and acquiring an audio frequency associated with the keyword from the first audio frequency bank and the second audio frequency bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call does not belong to a preset group, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank;
wherein the first thesaurus comprises words associated with audio in the first audio library and the second thesaurus comprises words associated with audio in the second audio library.
Optionally, the first audio library is an audio library including a plurality of recording files, and the second audio library is a music library including a plurality of pieces of music.
Optionally, the playing of the audio associated with the keyword during the call performed by the processor 510 includes:
if the keyword is associated with a plurality of audios, providing a user interface for a user to select a target audio from the plurality of audios;
and receiving the selection operation of selecting the target audio by the user, and playing the target audio in the conversation process.
According to the embodiment of the invention, the audio frequency associated with the keyword is played in the conversation process according to the keyword in the conversation process, so that the conversation scene can be simulated or a user can conveniently share music in real time in the conversation process, and convenience is provided for the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light Emitting Diode (O L ED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the foregoing call processing method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the call processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A call processing method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring the conversation content of the current conversation of the mobile terminal;
extracting keywords from the call content, and acquiring audio associated with the keywords;
playing audio associated with the keyword in a call process;
the acquiring the call content of the current call on the mobile terminal comprises:
if the mobile terminal is in a first preset call mode and a call object of a current call on the mobile terminal belongs to a preset group, obtaining call content of the current call on the mobile terminal; or
If the mobile terminal is in a second preset call mode or a third preset call mode, obtaining call content of a current call on the mobile terminal;
the extracting of the keywords from the call content and the obtaining of the audio associated with the keywords include:
if the mobile terminal is in a first preset call mode and a call object of a current call belongs to a preset group, extracting a keyword matched with a word in a first word bank or a second word bank from the call content, and acquiring an audio frequency associated with the keyword from a first audio frequency bank and a second audio frequency bank; or
If the mobile terminal is in a second preset call mode, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call belongs to a preset group, extracting a keyword matched with a word in the first word bank or the second word bank from the call content, and acquiring an audio frequency associated with the keyword from the first audio frequency bank and the second audio frequency bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call does not belong to a preset group, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank;
wherein the first thesaurus comprises words associated with audio in the first audio library and the second thesaurus comprises words associated with audio in the second audio library;
the playing the audio associated with the keyword in the call process comprises:
if the keyword is associated with a plurality of audios, providing a user interface for a user to select a target audio from the plurality of audios;
and receiving the selection operation of selecting the target audio by the user, and playing the target audio in the conversation process.
2. A call processing method as defined in claim 1, wherein the first audio library is an audio library including a plurality of recording files, and the second audio library is a music library including a plurality of pieces of music.
3. A mobile terminal, characterized in that the mobile terminal comprises:
the first acquisition module is used for acquiring the conversation content of the current conversation of the mobile terminal;
the second acquisition module is used for extracting keywords from the call content and acquiring audio associated with the keywords;
the playing module is used for playing the audio associated with the keyword in the conversation process;
the first obtaining module is configured to:
if the mobile terminal is in a first preset call mode and a call object of a current call on the mobile terminal belongs to a preset group, obtaining call content of the current call on the mobile terminal; or
If the mobile terminal is in a second preset call mode or a third preset call mode, obtaining call content of a current call on the mobile terminal;
the second obtaining module is configured to:
if the mobile terminal is in a first preset call mode and a call object of a current call belongs to a preset group, extracting a keyword matched with a word in a first word bank or a second word bank from the call content, and acquiring an audio frequency associated with the keyword from a first audio frequency bank and a second audio frequency bank; or
If the mobile terminal is in a second preset call mode, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call belongs to a preset group, extracting a keyword matched with a word in the first word bank or the second word bank from the call content, and acquiring an audio frequency associated with the keyword from the first audio frequency bank and the second audio frequency bank; or
If the mobile terminal is in a third preset call mode and a call object of the current call does not belong to a preset group, extracting keywords matched with words in a first word bank from the call content, and acquiring audio associated with the keywords from a first audio bank;
wherein the first thesaurus comprises words associated with audio in the first audio library and the second thesaurus comprises words associated with audio in the second audio library;
the playing module comprises:
the control unit is used for providing a user interface for a user to select a target audio from a plurality of audios if the keywords are associated with the plurality of audios;
and the playing unit is used for receiving the selection operation of the target audio selected by the user and playing the target audio in the conversation process.
4. The mobile terminal of claim 3, wherein the first audio library is an audio library comprising a plurality of sound recording files, and the second audio library is a music library comprising a plurality of pieces of music.
5. A mobile terminal, characterized in that it comprises a processor, a memory, a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the call processing method according to any one of claims 1 to 2.
6. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the call processing method according to any one of claims 1 to 2.
CN201710906533.XA 2017-09-29 2017-09-29 Call processing method and mobile terminal Active CN107645604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710906533.XA CN107645604B (en) 2017-09-29 2017-09-29 Call processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710906533.XA CN107645604B (en) 2017-09-29 2017-09-29 Call processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107645604A CN107645604A (en) 2018-01-30
CN107645604B true CN107645604B (en) 2020-08-04

Family

ID=61111500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710906533.XA Active CN107645604B (en) 2017-09-29 2017-09-29 Call processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107645604B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668582B (en) * 2023-08-02 2023-11-24 荣耀终端有限公司 Audio file sharing method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027752A (en) * 2016-04-28 2016-10-12 努比亚技术有限公司 Self-adaption method and device for mobile terminal call background sounds
CN107018227A (en) * 2016-01-28 2017-08-04 中兴通讯股份有限公司 Incoming call processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756271A (en) * 2004-09-30 2006-04-05 英业达股份有限公司 Voice communication background sound effect mixing system
JP2010237269A (en) * 2009-03-30 2010-10-21 Toshiba Corp Speech recognition device, and method thereof and program thereof
CN106531149B (en) * 2016-12-07 2018-02-23 腾讯科技(深圳)有限公司 Information processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018227A (en) * 2016-01-28 2017-08-04 中兴通讯股份有限公司 Incoming call processing method and device
CN106027752A (en) * 2016-04-28 2016-10-12 努比亚技术有限公司 Self-adaption method and device for mobile terminal call background sounds

Also Published As

Publication number Publication date
CN107645604A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN109525707B (en) Audio playing method, mobile terminal and computer readable storage medium
CN108540655B (en) Caller identification processing method and mobile terminal
CN108347512B (en) Identity recognition method and mobile terminal
CN106973330B (en) Screen live broadcasting method, device and system
CN106528545B (en) Voice information processing method and device
CN109412932B (en) Screen capturing method and terminal
CN108551534B (en) Method and device for multi-terminal voice call
CN109993821B (en) Expression playing method and mobile terminal
CN109639863B (en) Voice processing method and device
CN108074574A (en) Audio-frequency processing method, device and mobile terminal
CN108668024B (en) Voice processing method and terminal
WO2021103449A1 (en) Interaction method, mobile terminal and readable storage medium
CN110457716B (en) Voice output method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN109949809B (en) Voice control method and terminal equipment
CN111405043A (en) Information processing method and device and electronic equipment
CN109067979B (en) Prompting method and mobile terminal
CN108270928B (en) Voice recognition method and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN108462794B (en) Information display method and mobile terminal
CN108307048B (en) Message output method and device and mobile terminal
CN110913070B (en) Call method and terminal equipment
CN111491058A (en) Method for controlling operation mode, electronic device, and storage medium
CN109543193B (en) Translation method, translation device and terminal equipment
CN109274814B (en) Message prompting method and device and terminal equipment

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