CN109788114B - Call processing method and terminal - Google Patents

Call processing method and terminal Download PDF

Info

Publication number
CN109788114B
CN109788114B CN201910184043.2A CN201910184043A CN109788114B CN 109788114 B CN109788114 B CN 109788114B CN 201910184043 A CN201910184043 A CN 201910184043A CN 109788114 B CN109788114 B CN 109788114B
Authority
CN
China
Prior art keywords
terminal
input
bluetooth headset
audio
call
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
CN201910184043.2A
Other languages
Chinese (zh)
Other versions
CN109788114A (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 CN201910184043.2A priority Critical patent/CN109788114B/en
Publication of CN109788114A publication Critical patent/CN109788114A/en
Application granted granted Critical
Publication of CN109788114B publication Critical patent/CN109788114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a call processing method and a terminal, wherein the method comprises the following steps: under the condition that the terminal is in a conversation state, if a matched target Bluetooth earphone is searched, a connection path with the target Bluetooth earphone is established; under the condition that the connection path is successfully established, detecting a first input of a user, wherein the first input is used for indicating the terminal to start a telephone audio function of a Bluetooth headset; under the condition that the first input is received, the call audio is switched to the target Bluetooth headset in response to the first input, so that the interruption of the call or the loss of call data can be effectively avoided, and the call experience is improved.

Description

Call processing method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a call processing method and a terminal.
Background
With the popularization of electronic devices such as smart phones, earphones matched with the electronic devices are also widely popularized. Headsets have also evolved from traditional wired headsets to wireless bluetooth headsets.
Generally, when a user uses a bluetooth headset, the general usage mode is as follows: and the user respectively opens the Bluetooth functions in the mobile phone and the earphone, searches for external Bluetooth earphone signals by using the mobile phone, pairs the signals, and transmits audio data through the Bluetooth earphone if the pairing is successful.
Under current bluetooth headset using-mode, when the terminal is carrying out the audio frequency function application such as talking, it will be very inconvenient to carry out bluetooth headset's switching use, can cause the interrupt of conversation or the losing of conversation data, influences conversation experience.
Disclosure of Invention
The embodiment of the invention provides a call processing method and a terminal, aiming at solving the problem that in the existing use mode of a Bluetooth headset, when the terminal is in use with audio functions such as call and the like, the call is interrupted or call data is lost when the Bluetooth headset is switched for use.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a call processing method, which is applied to a terminal, and the call processing method includes:
under the condition that the terminal is in a conversation state, if a matched target Bluetooth earphone is searched, a connection path with the target Bluetooth earphone is established;
under the condition that the connection path is successfully established, detecting a first input of a user, wherein the first input is used for indicating the terminal to start a telephone audio function of a Bluetooth headset;
in response to receiving the first input, switching call audio to the target Bluetooth headset.
In a second aspect, an embodiment of the present invention further provides a terminal, including:
the connection establishing module is used for establishing a connection path with a target Bluetooth earphone if the matched target Bluetooth earphone is searched under the condition that the terminal is in a call state;
the detection module is used for detecting a first input of a user under the condition that the connection path is successfully established, wherein the first input is used for indicating the terminal to start a telephone audio function of the Bluetooth headset;
and the first output module is used for responding to the first input under the condition of receiving the first input and switching the call audio to the target Bluetooth headset.
In a third aspect, an embodiment of the present invention further provides a terminal, which includes 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 described above.
In a fourth aspect, an 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 being executed by a processor, the computer program implements the steps of the call processing method described above.
In the embodiment of the invention, through controlling the telephone audio function of the Bluetooth headset, when the paired Bluetooth headset is identified to be opened, a connection path with the paired target Bluetooth headset is established, the telephone audio function of the Bluetooth headset is started in response to the input operation of a user, the call audio is input and output through the target Bluetooth headset, the transmission switching operation of the call audio is realized, the interruption of the call or the loss of the call data is effectively avoided, and the call experience is improved.
Drawings
Fig. 1 is a flow chart illustrating a call processing method according to an embodiment of the present invention;
fig. 2 is a functional block diagram of a terminal and a bluetooth headset according to an embodiment of the present invention;
fig. 3 shows a block diagram of a terminal in an embodiment of the invention;
fig. 4 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments 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.
The embodiment of the invention discloses a call processing method which is applied to a terminal. As shown in fig. 1, the call processing method specifically includes:
step 101: and under the condition that the terminal is in a call state, if a matched target Bluetooth earphone is searched, establishing a connection path with the target Bluetooth earphone.
First, the user is already using the terminal to make a call. And under the condition that the terminal is in a call state, outputting call audio to an audio output device in the terminal so as to output call voice on the terminal.
And if the matched target Bluetooth earphone is searched, establishing a connection path with the target Bluetooth earphone on the premise of detecting that the Bluetooth function of the terminal is started.
The terminal detects whether the Bluetooth function of the terminal is started (specifically, whether a Bluetooth function option of the terminal is started is checked), and if the Bluetooth function of the terminal is not started, no task is executed; if the Bluetooth function of the terminal is in the open state, searching the Bluetooth earphone outwards to find a matched target Bluetooth earphone, and simultaneously recording the current state of the terminal, wherein the current state is a state that the terminal is in a call state.
Then, if the bluetooth function of the bluetooth headset stored in the terminal pairing list is turned on nearby, the bluetooth headset broadcasts the identity state information of the bluetooth headset to the outside, and after the terminal searches the information of the bluetooth headset, the terminal automatically initiates connection with the bluetooth headset, specifically, connection is established through a handshake protocol.
After the connection path is established and before the first input of the user is received, the telephone audio function of the Bluetooth headset is not started, and the terminal does not output the call audio to the target Bluetooth headset through the connection path.
After the terminal and the bluetooth headset confirm the handshake protocol and successfully establish the connection, the terminal still keeps normal operation of the call function, and the bluetooth headset does not start the call function (i.e. the phone audio function) for the moment.
Under the condition that the terminal identifies that the terminal is in a conversation state at present, in the process of a handshake protocol for confirming connection with the Bluetooth headset, the terminal only establishes Bluetooth HSP protocol connection definitely, but does not start the audio function of the telephone to the Bluetooth headset. The function of not starting the telephone audio frequency is given to the Bluetooth headset, which specifically includes: the terminal can not output the call audio to the target Bluetooth earphone through the connecting path, or the terminal can not output an instruction for starting the telephone audio function to the target Bluetooth earphone, and simultaneously can not output the call audio to the target Bluetooth earphone through the connecting path. The Bluetooth HSP protocol is short for HeadsetPro-file, provides basic functions required by communication between a terminal and an earphone, and mainly serves telephone audio.
Preferably, the searching for the matched target bluetooth headset comprises:
searching an external Bluetooth headset; comparing the searched earphone information of the external Bluetooth earphone with a stored Bluetooth pairing list; determining that one external Bluetooth headset of which the headset information exists in the Bluetooth pairing list is the target Bluetooth headset.
The earphone information of the external bluetooth earphone specifically includes information such as an ID number and a name. And the Bluetooth pairing list records earphone information of the Bluetooth earphone which is successfully matched and connected with the terminal. And the terminal compares the searched earphone information of the external Bluetooth earphone with the pairing list to realize the matching and identifying process of the terminal on the target Bluetooth earphone.
Preferably, the terminal is an electronic device having a call function. The terminal may be, but is not limited to, a mobile phone, a tablet computer, a smart watch, and the like.
Referring to fig. 2, the terminal includes a terminal control chip, a call UI interface, a microphone module, a receiver module, and a bluetooth module; the terminal control chip is a main processor of the terminal and can control the work of the microphone module, the receiver module and the Bluetooth module; the terminal communication UI interface is an interface where the terminal is located when the terminal enters a communication state, and can receive input of a user in the interface. The Bluetooth headset comprises a headset MCU module, a microphone module, a receiver module and a Bluetooth module.
Specifically, when a user uses the terminal to carry out a call and the terminal is in a call state, the terminal control chip controls a microphone module and a receiver module of the terminal to be started to enter a working state; the terminal detects whether the Bluetooth of the terminal is opened or not, and if the Bluetooth of the terminal is not opened, no task is executed; and if the Bluetooth of the terminal is in the opening state, controlling the Bluetooth module to continuously search nearby Bluetooth equipment. The terminal identifies whether the nearby Bluetooth equipment is in the paired list of the terminal, and if the target Bluetooth earphone is determined to be the memory equipment of the terminal, the terminal controls the Bluetooth module to automatically initiate a connection application with the Bluetooth module of the Bluetooth earphone. After the Bluetooth module of the terminal is successfully connected with the Bluetooth module of the Bluetooth headset, the terminal control chip controls the microphone module and the receiver module to continuously work, and the Bluetooth headset does not temporarily start the working states of the microphone module and the receiver module in the Bluetooth headset.
Step 102: in case the connection path is established successfully, a first input by the user is detected.
The first input is used for instructing the terminal to start a telephone audio function of the Bluetooth headset. After the connection path between the terminal and the Bluetooth headset is established, whether the adjustment and the switching of an audio data transmission channel are carried out or not can be determined according to the input operation of a user, the problem that the user cannot listen to the call audio by the terminal due to the fact that the call audio of the terminal is transmitted through the headset under the condition that the user is unaware of the adjustment and the switching is avoided, call content is lost, and call experience is poor is solved. In addition, in the process, a connection path between the terminal and the Bluetooth headset is established first, then switching of the audio transmission path is performed according to input operation of a user, connection is established first, and then transmission switching of audio data is realized, so that the problem that communication experience is influenced due to communication data loss caused by communication switching while connection is established is solved.
This instruct to open bluetooth headset's telephone audio frequency function specifically is: instructing to switch the call audio to the target Bluetooth headset, and inputting and outputting the call audio by the target Bluetooth headset; or, the instruction terminal outputs a function starting instruction to the Bluetooth headset, and the function starting instruction is used for instructing the Bluetooth headset to conduct an audio transmission circuit corresponding to the telephone audio function.
Wherein the first input comprises:
single click operation on a set area;
double-click operation on a set area;
long-time pressing operation on a set area;
performing sliding operation on a target control in a display screen along a set direction;
and dragging the target control in the display screen to a preset area for sliding operation.
Preferably, the terminal can push out a message prompt box on the call interface, display that the bluetooth headset is connected for the user, and give an operation option to allow the user to select whether to switch to the bluetooth headset for calling; if the user selects to use the Bluetooth headset, the terminal starts the telephone audio function of the Bluetooth headset, transfers the call to the Bluetooth headset, switches the call audio to the target Bluetooth headset, simultaneously suspends the call function of the terminal, and stops outputting the call audio to the audio output device in the terminal.
Specifically, an operation option for selecting an audio output mode is output on a display interface of the terminal, where the operation option includes: switching the call audio to a first operation option output through the target Bluetooth headset and a second operation option output through the terminal; detecting the input of the user to the operation option; and if the input of the user to the first operation option is received, determining that the first input is received. And prompting the convenience of operation of the user.
Step 103: in the event that a first input is received, the call audio is switched to the target bluetooth headset in response to the first input.
At the moment, the terminal control chip starts the telephone audio function of the Bluetooth headset and transfers the call audio to the Bluetooth headset; at this time, the MCU of the Bluetooth headset starts the microphone module and the receiver module of the Bluetooth headset to start working, and the terminal suspends the microphone module and the receiver module of the terminal. The terminal switches conversation audio frequency to target bluetooth headset, specifically indicates to carry out the transmission of conversation audio frequency through target bluetooth headset, includes: and switching the call audio to the target Bluetooth headset for output, and switching the call audio to the target Bluetooth headset for input. The terminal switches the call audio to the target Bluetooth earphone, outputs the call audio to the target Bluetooth earphone through the connecting path, stops outputting the call audio to an audio output device in the terminal, switches the call audio to the target Bluetooth earphone, inputs the audio from the target Bluetooth earphone through the connecting path, stops inputting the audio through an audio input device in the terminal, and realizes switching of call data transmission paths.
According to the call processing method in the embodiment of the invention, the terminal establishes a connection path with the paired target Bluetooth headset through controlling the telephone audio function of the Bluetooth headset when the paired Bluetooth headset is recognized to be opened, responds to the input operation of the user, starts the telephone audio function of the Bluetooth headset, inputs and outputs the call audio through the target Bluetooth headset, realizes the transmission switching operation of the call audio, effectively avoids the interruption of the call or the loss of the call data, and improves the call experience.
As a preferred embodiment, the switching the call audio to the target bluetooth headset in response to the first input in the case that the first input is received includes:
under the condition of receiving the first input, responding to the first input, and controlling the Bluetooth headset to conduct an audio transmission circuit corresponding to the telephone audio function;
and under the condition of receiving feedback information of circuit conduction of the Bluetooth headset, switching the conversation audio to the target Bluetooth headset.
The audio transmission circuit is specifically a receiver circuit corresponding to the receiver module, and a microphone circuit corresponding to the microphone module. This control bluetooth headset switches on the audio transmission circuit that phone audio frequency function corresponds specifically includes: and responding to the first input, and outputting a function starting instruction to the Bluetooth headset, wherein the function starting instruction is used for indicating the Bluetooth headset to conduct an audio transmission circuit corresponding to the telephone audio function. After the Bluetooth headset receives a function opening instruction of the terminal, the audio transmission circuit corresponding to the telephone audio function is controlled to be switched on, so that the telephone audio function can be realized, and then the communication audio is switched to a target Bluetooth headset to input or output the audio through the audio transmission circuit after the terminal receives feedback information conducted by the circuit of the Bluetooth headset.
As a preferred embodiment, after detecting the first input of the user, the method further includes:
and under the condition that the first input is not received, keeping the call audio transmission through the terminal. Under the condition that the first input of the user is not received, the original operation is kept, the conversation audio is output by the audio output device in the terminal, and the conversation audio is input by the audio input device in the terminal, so that misoperation of the user under the condition of unknowing is avoided.
Further, preferably, in case of receiving the first input, switching call audio to the target bluetooth headset in response to the first input, comprises:
receiving input audio sent by the target Bluetooth headset through the connection path in response to the first input; sending the input audio to a call opposite terminal; alternatively, the first and second electrodes may be,
and responding to the first input, and outputting the call audio to the target Bluetooth headset through the connection path.
After the telephone audio function is started, the input and the output of user voice can be realized through the Bluetooth earphone, and then the voice is transmitted to the opposite call end or the voice of the opposite call end is transmitted to the Bluetooth earphone, so that the call function is realized.
The embodiment of the invention also discloses a terminal, which is shown in a combined figure 3 and comprises: a connection establishing module 301, a detecting module 302 and a first output module 303.
A connection establishing module 301, configured to, when the terminal is in a call state, if a matching target bluetooth headset is searched, establish a connection path with the target bluetooth headset;
a detecting module 302, configured to detect a first input of a user when the connection path is successfully established, where the first input is used to instruct the terminal to start a phone audio function of a bluetooth headset;
a first output module 303, configured to, in response to the first input, switch a call audio to the target bluetooth headset if the first input is received.
Wherein, the terminal still includes:
and the second output module is used for keeping the communication audio transmission through the terminal under the condition that the first input is not received.
Wherein the first output module 303 includes:
the first sub-output module is used for responding to the first input under the condition of receiving the first input and controlling the Bluetooth headset to conduct an audio transmission circuit corresponding to the telephone audio function;
and the second sub-output module is used for switching the call audio to the target Bluetooth headset under the condition of receiving the feedback information of the circuit conduction of the Bluetooth headset.
Wherein the connection establishing module 301 comprises:
the searching submodule is used for searching the external Bluetooth headset;
the comparison submodule is used for comparing the searched earphone information of the external Bluetooth earphone with the stored Bluetooth pairing list;
a determining submodule, configured to determine that one external bluetooth headset in the bluetooth pairing list in which the headset information exists is the target bluetooth headset.
According to the terminal in the embodiment of the invention, through controlling the telephone audio function of the Bluetooth headset, when the paired Bluetooth headset is identified to be opened, a connection path with the paired target Bluetooth headset is established, the input operation of a user is responded, the telephone audio function of the Bluetooth headset is started, the call audio is input and output through the target Bluetooth headset, the transmission switching operation of the call audio is realized, the interruption of the call or the loss of the call data is effectively avoided, and the call experience is improved.
Fig. 4 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention.
The terminal 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the 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.
The processor 910 is configured to, in a case that the terminal is in a call state, establish a connection path with a target bluetooth headset if a matching target bluetooth headset is searched; under the condition that the connection path is successfully established, detecting a first input of a user, wherein the first input is used for indicating the terminal to start a telephone audio function of a Bluetooth headset; in response to receiving the first input, switching call audio to the target Bluetooth headset.
The terminal establishes a connection path with a paired target Bluetooth earphone when the paired Bluetooth earphone is identified to be opened through controlling the telephone audio function of the Bluetooth earphone, responds to the input operation of a user, starts the telephone audio function of the Bluetooth earphone, outputs the call audio through the input of the target Bluetooth earphone, realizes the transmission switching operation of the call audio, effectively avoids the interruption of the call or the loss of the call data, and improves the call experience.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 910; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 901 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 901 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 902, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the terminal 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive audio or video signals. The input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sounds and can process 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 901 in case of the phone call mode.
Terminal 900 can also include at least one sensor 905, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 9061 and/or backlight when the terminal 900 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 terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 906 is used to display information input by the user or information provided to the user. The Display unit 906 may include a Display panel 9061, and the Display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near the touch panel 9071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 9071 may include two parts, 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 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 907 may include other input devices 9072 in addition to the touch panel 9071. Specifically, the other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. Although in fig. 4, the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 908 is an interface through which an external device is connected to the terminal 900. 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. Interface unit 908 can be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within terminal 900 or can be used to transmit data between terminal 900 and external devices.
The memory 909 may be used to store software programs as well as various data. The memory 909 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 for 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 909 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 910 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 909 and calling data stored in the memory 909, thereby integrally monitoring the terminal. Processor 910 may include one or more processing units; preferably, the processor 910 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 is to be appreciated that the modem processor described above may not be integrated into processor 910.
The terminal 900 can also include a power supply 911 (e.g., a battery) for powering the various components, and preferably, the power supply 911 can be logically connected to the processor 910 via a power management system such that the functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the terminal 900 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 910, a memory 909, and a computer program stored in the memory 909 and capable of running on the processor 910, where the computer program is executed by the processor 910 to implement each process of the above-mentioned call processing method embodiment, and can achieve the same technical effect, 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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (10)

1. A call processing method is applied to a terminal, and is characterized in that the call processing method comprises the following steps:
under the condition that the terminal is in a conversation state, if a matched target Bluetooth earphone is searched, a connection path with the target Bluetooth earphone is established; the terminal establishes Bluetooth HSP protocol connection, and does not start a telephone audio function aiming at the target Bluetooth headset;
under the condition that the connection path is successfully established, detecting a first input of a user, wherein the first input is used for indicating the terminal to start a telephone audio function of a Bluetooth headset;
and under the condition that the first input is received, responding to the first input, and switching call audio from the terminal to the target Bluetooth headset.
2. The call processing method according to claim 1, wherein after detecting the first input of the user, the method further comprises:
and under the condition that the first input is not received, keeping the call audio transmission through the terminal.
3. The call processing method according to claim 1, wherein the switching call audio to the target bluetooth headset in response to the first input in case of receiving the first input comprises:
under the condition of receiving the first input, responding to the first input, and controlling the Bluetooth headset to conduct an audio transmission circuit corresponding to the telephone audio function;
and under the condition of receiving feedback information of circuit conduction of the Bluetooth headset, switching the conversation audio to the target Bluetooth headset.
4. The call processing method according to claim 1, wherein the searching for the matching target bluetooth headset comprises:
searching an external Bluetooth headset;
comparing the searched earphone information of the external Bluetooth earphone with a stored Bluetooth pairing list;
determining that one external Bluetooth headset of which the headset information exists in the Bluetooth pairing list is the target Bluetooth headset.
5. A terminal, comprising:
the connection establishing module is used for establishing a connection path with a target Bluetooth earphone if the matched target Bluetooth earphone is searched under the condition that the terminal is in a call state; the terminal establishes Bluetooth HSP protocol connection, and does not start a telephone audio function aiming at the target Bluetooth headset;
the detection module is used for detecting a first input of a user under the condition that the connection path is successfully established, wherein the first input is used for indicating the terminal to start a telephone audio function of the Bluetooth headset;
and the first output module is used for responding to the first input under the condition of receiving the first input, and switching the call audio from the terminal to the target Bluetooth headset.
6. The terminal of claim 5, further comprising:
and the second output module is used for keeping the communication audio transmission through the terminal under the condition that the first input is not received.
7. The terminal of claim 5, wherein the first output module comprises:
the first sub-output module is used for responding to the first input under the condition of receiving the first input and controlling the Bluetooth headset to conduct an audio transmission circuit corresponding to the telephone audio function;
and the second sub-output module is used for switching the call audio to the target Bluetooth headset under the condition of receiving the feedback information of the circuit conduction of the Bluetooth headset.
8. The terminal according to claim 5, wherein the connection establishing module comprises:
the searching submodule is used for searching the external Bluetooth headset;
the comparison submodule is used for comparing the searched earphone information of the external Bluetooth earphone with the stored Bluetooth pairing list;
a determining submodule, configured to determine that one external bluetooth headset in the bluetooth pairing list in which the headset information exists is the target bluetooth headset.
9. A terminal, characterized in that it comprises a processor, a memory and 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 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the call processing method according to any one of claims 1 to 4.
CN201910184043.2A 2019-03-12 2019-03-12 Call processing method and terminal Active CN109788114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910184043.2A CN109788114B (en) 2019-03-12 2019-03-12 Call processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910184043.2A CN109788114B (en) 2019-03-12 2019-03-12 Call processing method and terminal

Publications (2)

Publication Number Publication Date
CN109788114A CN109788114A (en) 2019-05-21
CN109788114B true CN109788114B (en) 2021-04-02

Family

ID=66488647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910184043.2A Active CN109788114B (en) 2019-03-12 2019-03-12 Call processing method and terminal

Country Status (1)

Country Link
CN (1) CN109788114B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602312B (en) * 2019-08-21 2021-05-11 华为技术有限公司 Call method, electronic device and computer readable storage medium
CN111641753B (en) * 2020-05-27 2021-07-06 维沃移动通信有限公司 Audio output control method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717363A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and audio channel fast switching method and device thereof
CN106060256A (en) * 2016-05-31 2016-10-26 宁波萨瑞通讯有限公司 Method and system for switching call mode
CN106231071A (en) * 2016-07-15 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of speech output method and terminal
CN108521520A (en) * 2018-04-18 2018-09-11 维沃移动通信有限公司 A kind of call handling method and mobile terminal
CN108683798A (en) * 2018-04-19 2018-10-19 维沃移动通信有限公司 A kind of sound output control method and mobile terminal

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100398663B1 (en) * 2001-11-15 2003-09-19 에스케이 텔레콤주식회사 Method for scramble using mobile terminal
KR20040090577A (en) * 2003-04-17 2004-10-26 주식회사 팬택앤큐리텔 The Apparatus and Method to Sensing Strobo of Wireless Communication Terminal Automatically
US20080220825A1 (en) * 2007-03-05 2008-09-11 Unigrand Ltd. Bluetooth earphone with multiple audio gateways
EP2615806B8 (en) * 2012-01-16 2017-11-22 GN Audio A/S Call management through a hands free communication device
CN103024193A (en) * 2012-12-25 2013-04-03 北京百度网讯科技有限公司 Mobile terminal and play control method and play control device for same
CN104023117B (en) * 2013-03-01 2016-03-30 联想(北京)有限公司 A kind of method of information processing and electronic equipment
CN104065827A (en) * 2014-06-30 2014-09-24 宇龙计算机通信科技(深圳)有限公司 Terminal voice mode switching method and apparatus and terminal
CN106851488B (en) * 2017-03-30 2020-06-30 重庆辉烨通讯技术有限公司 Audio output control method, device and circuit
CN107479849A (en) * 2017-06-28 2017-12-15 深圳天珑无线科技有限公司 A kind of mobile device, the device and audio-frequency inputting method with store function
CN107819931A (en) * 2017-10-09 2018-03-20 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal based on wireless headset
CN108924706B (en) * 2018-06-26 2020-08-18 东莞市和乐电子有限公司 Bluetooth headset switching control method, Bluetooth headset and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717363A (en) * 2015-03-23 2015-06-17 努比亚技术有限公司 Mobile terminal and audio channel fast switching method and device thereof
CN106060256A (en) * 2016-05-31 2016-10-26 宁波萨瑞通讯有限公司 Method and system for switching call mode
CN106231071A (en) * 2016-07-15 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of speech output method and terminal
CN108521520A (en) * 2018-04-18 2018-09-11 维沃移动通信有限公司 A kind of call handling method and mobile terminal
CN108683798A (en) * 2018-04-19 2018-10-19 维沃移动通信有限公司 A kind of sound output control method and mobile terminal

Also Published As

Publication number Publication date
CN109788114A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN108540655B (en) Caller identification processing method and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN109788114B (en) Call processing method and terminal
EP3691235A1 (en) Display method and mobile terminal
CN108551534B (en) Method and device for multi-terminal voice call
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN108495349B (en) Switching method of operator network and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109639863B (en) Voice processing method and device
CN109309741B (en) Terminal and control method thereof
WO2021129529A1 (en) Device switching method and related device
CN109005297B (en) Display method of navigation application and mobile terminal
CN108282759B (en) Service processing method and mobile communication terminal
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN110096203B (en) Screenshot method and mobile terminal
CN110324494B (en) Terminal device operation method and related device
CN110365842B (en) Terminal control method and terminal equipment
CN109819118B (en) Volume adjusting method and mobile terminal
CN109889757B (en) Video call method and terminal equipment
CN108683793B (en) Display method of application icon and mobile terminal
CN111475066B (en) Background switching method of application program and electronic equipment
CN110248264B (en) Sound transmission control method 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