[go: up one dir, main page]

WO2018120487A1 - Procédé et terminal de commutation de mode d'appel - Google Patents

Procédé et terminal de commutation de mode d'appel Download PDF

Info

Publication number
WO2018120487A1
WO2018120487A1 PCT/CN2017/079341 CN2017079341W WO2018120487A1 WO 2018120487 A1 WO2018120487 A1 WO 2018120487A1 CN 2017079341 W CN2017079341 W CN 2017079341W WO 2018120487 A1 WO2018120487 A1 WO 2018120487A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
audio data
data
microphone
valid
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.)
Ceased
Application number
PCT/CN2017/079341
Other languages
English (en)
Chinese (zh)
Inventor
杨芬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201780004769.2A priority Critical patent/CN108432220B/zh
Publication of WO2018120487A1 publication Critical patent/WO2018120487A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a method and a terminal for switching a call mode.
  • the handset's own handset/microphone mode that is, the user directly uses the handset's own handset and microphone to make a call
  • the headset mode that is, the user uses peripheral headphones (wireless or wired headset) ) Make a call.
  • the mobile phone When the mobile phone is connected to the peripheral headset, if the user wants to use the handset's own handset and microphone to make a call, the user needs to manually disconnect the mobile phone from the peripheral headset, such as unplugging the wired headset from the mobile phone or disconnecting the mobile phone. The connection with the wireless headset; thus causing inconvenience to the user.
  • the mobile phone when the mobile phone is connected to the peripheral earphone, if the mobile phone receives an incoming call, the user may not know or forget that the current mobile phone is connected to the earphone, and the user directly picks up the mobile phone to answer the call without disconnecting the earphone from the mobile phone. , which makes it impossible to hear the other party's voice.
  • the embodiment of the invention provides a method and a terminal for switching a call mode, so as to implement an automatic switching call mode and improve the convenience of using the terminal.
  • an embodiment of the present invention provides a method for switching a call mode, including: a first terminal connected to a peripheral earphone establishes a call connection with a remote device; and the first terminal passes a microphone of the peripheral earphone Acquiring a first sound signal, and converting the collected first sound signal into first audio data; then the first terminal determines whether the first audio data is valid data; if it is non-effective data, The first terminal switches to acquire the second sound signal through the microphone of the first terminal, that is, switches to the earpiece/microphone mode of the first terminal itself; if it is valid data, the first terminal maintains the earphone mode. Thereby, the first terminal can automatically switch the call mode according to the sound signal collected by the earphone.
  • the first The terminal converts the collected second sound signal into second audio data, and then determines whether the second audio data is valid data; if it is valid data, maintains the earpiece/microphone mode of the first terminal itself; If the data is non-valid, the first terminal compares the first audio data with the second audio data; if the voice quality of the first audio data is higher than the voice quality of the second audio data, The first terminal switches to collect a sound signal through a microphone of the peripheral earphone. Otherwise, the handset/microphone mode of the first terminal itself is continuously maintained, that is, the external sound of the first terminal itself is continuously collected. In order to avoid misjudgment, the first terminal may further determine whether the second sound signal is valid.
  • the first terminal may determine whether the first audio data or the second audio data is valid data by any of the following methods:
  • the first terminal compares the audio data with the experience data. If it is determined that the audio data is a voice sent by a person, the first terminal determines that the audio data is valid data, and if the audio data is determined a background sound or an ambient sound, the first terminal determining that the audio data is non-valid data;
  • the first terminal identifies the specific content of the audio data, and if the content of the audio data is the statement that the user frequently says during the call, the first terminal determines that the audio data is valid data. If the content of the audio data cannot be recognized, the first terminal determines that the audio data is non-valid data;
  • Manner 3 The first terminal acquires a voice similarity between the audio data and the experience data. If the voice similarity is greater than a preset threshold, the first terminal determines that the audio data is valid data, if If the speech similarity is less than or equal to the preset threshold, the first terminal determines that the audio data is non-valid data.
  • the method further includes: the first terminal performs a text or graphic prompt through a display screen of the first terminal, or the first terminal passes the speaker of the first terminal or the peripheral earphone A voice prompt is made to indicate whether the current call uses the peripheral headset or the call mode has been switched. Thereby, the user can know the current call mode in time.
  • the method further includes: when the first terminal collects a sound signal through a microphone of the peripheral earphone, the first terminal plays a sound received from the remote device through an earpiece of the peripheral earphone When the first terminal collects a sound signal through the microphone of the first terminal, the first terminal plays the sound received from the remote device through the earpiece of the first terminal.
  • the first terminal is a calling terminal or a called terminal.
  • the peripheral earphone is a wireless earphone or a wired earphone.
  • an embodiment of the present invention provides a device for switching a call mode, where the device has the first The function of each method of the aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an embodiment of the present invention provides a terminal, including: a processor, a memory, an audio circuit, an earpiece, a microphone, and the like; a memory for storing data; an audio circuit for collecting and processing a sound signal; and a display screen for displaying each Information; a processor for performing the method described in each of the methods of the first aspect above.
  • the embodiment of the present invention further provides a computer storage medium for storing computer software instructions for use in a terminal in any of the above aspects, comprising a method or a program for performing the above aspects.
  • the embodiment of the invention further provides a data processing system, comprising a module for executing the methods provided by the above first aspect.
  • the embodiment of the invention further provides a computer program for performing the methods provided by the first aspect above.
  • the embodiment of the invention can solve the problem that the user's mobile phone and the peripheral earphone are connected, but when the user does not know the current connection state during the call and uses the handset and the microphone of the mobile phone to make a call, the user cannot hear the other party's voice and thinks that it is a single pass and hangs up.
  • the problem when the user does not know the current connection state during the call and uses the handset and the microphone of the mobile phone to make a call, the user cannot hear the other party's voice and thinks that it is a single pass and hangs up.
  • FIG. 1 is a block diagram showing a part of a structure of a terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for switching a call mode according to an embodiment of the present invention
  • FIG. 3 is still another method for switching a call mode according to an embodiment of the present invention.
  • FIG. 4 is still another method for switching a call mode according to an embodiment of the present invention.
  • the method provided by the embodiments of the present invention is applied to a mobile terminal.
  • the mobile terminal can be, for example, a mobile phone, a tablet personal computer, a laptop computer, a digital camera, a personal digital assistant (PDA), a navigation device, and a mobile internet device (Mobile). Internet Device, MID) or Wearable Device.
  • PDA personal digital assistant
  • Mobile mobile internet device
  • MID mobile internet device
  • FIG. 1 is a block diagram showing a partial structure of a terminal according to an embodiment of the present invention.
  • the mobile phone 100 includes: a radio frequency (RF) circuit 110 , a power source 120 , a processor 130 , a memory 140 , an input unit 150 , a display unit 160 , a sensor 170 , and an audio circuit 180 .
  • RF radio frequency
  • a component such as a wireless fidelity (WiFi) module 190.
  • WiFi wireless fidelity
  • the components of the mobile phone 100 will be specifically described below with reference to FIG. 1 :
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 130 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet
  • the memory 140 can be used to store software programs and modules, and the processor 130 executes various functional applications and data processing of the mobile phone 100 by running software programs and modules stored in the memory 140.
  • the memory 140 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application 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 be stored. Data created according to the use of the mobile phone 100 (such as audio data, phone book, etc.).
  • memory 140 can include high speed random access memory, and can 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 memory 140 is configured to store the audio data sent by the audio circuit 180; and after receiving the instruction that the processor 130 retrieves the data, send the corresponding data to the processor 130.
  • the input unit 150 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 100.
  • the input unit 150 may include a touch panel 151 and other input devices 152.
  • the touch panel 151 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like, any suitable object or accessory on the touch panel 151 or attached to the touch panel 151. Near operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 151 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 130 is provided and can receive commands from the processor 130 and execute them.
  • the touch panel 151 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 150 may also include other input devices 152.
  • other input devices 152 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the other input device 152 when the mobile phone is connected to the peripheral earphone, the other input device 152 may be a peripheral earphone.
  • a peripheral headset can include some physical or virtual keys for controlling volume or controlling calls. These keys can be used to input information or commands to the phone through the peripheral headphones.
  • the user can make or receive a call through the input unit 150.
  • the display unit 160 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 100.
  • the display unit 160 may include a display panel 161.
  • the display panel 161 may be configured in the form of an LCD, an OLED, or the like.
  • the touch panel 151 can cover the display panel 161. When the touch panel 151 detects a touch operation on or near the touch panel 151, the touch panel 151 transmits to the processor 130 to determine the type of the touch event, and then the processor 130 according to the touch event. The type provides a corresponding visual output on display panel 161.
  • the touch panel 151 and the display panel 161 are two independent components to implement the input and output functions of the mobile phone 100 in FIG.
  • the touch panel 151 may be integrated with the display panel 161.
  • the input and output functions of the mobile phone 100 are implemented.
  • the display unit 160 is configured to perform display after receiving the prompt information related to the current call mode sent by the processor 130 and/or the prompt information related to the call mode after the handover.
  • the handset 100 can also include at least one type of sensor 170, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 161 according to the brightness of the ambient light, and the proximity sensor may close the display panel 161 when the mobile phone 100 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the mobile phone 100 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
  • the audio circuit 180, the earpiece 181, and the microphone 182 can provide an audio interface between the user and the handset 100. Tone The frequency circuit 180 can transmit the converted electrical data of the received audio data to the earpiece 181 for conversion to the sound signal output by the earpiece 181; on the other hand, the microphone 182 converts the collected sound signal into an electrical signal, by the audio circuit 180. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 110 for transmission to, for example, another mobile phone, or the audio data is output to the memory 140 for further processing, or the audio data is directly processed by the processor 130.
  • the audio circuit 180 is configured to receive and process (data convert) the sound signal after receiving the instruction sent by the processor 130 to start receiving and processing the sound signal; for using the peripheral earphone and/or the mobile phone
  • the own microphone 182 receives the sound signal in real time and converts the received sound signal into audio data; it is also used to transmit the audio data to the processor 130 and/or to the memory for further processing.
  • the microphone of the peripheral earphone can work instead of the microphone 182, and the earpiece of the peripheral earphone can work instead of the earpiece 181.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 100 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 190, which provides wireless broadband Internet access for users.
  • FIG. 1 shows the WiFi module 190, it can be understood that it does not belong to the essential configuration of the mobile phone 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 130 is the control center of the handset 100, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 140, and recalling data stored in the memory 140, The various functions and processing data of the mobile phone 100 are executed, thereby realizing various services based on the mobile phone.
  • the processor 130 may include one or more processing units; preferably, the processor 130 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 130.
  • the processor 130 is configured to: when the mobile phone is connected to the peripheral earphone, after the mobile phone establishes a call connection with the remote device, the first sound signal is collected by the microphone of the peripheral earphone; the audio circuit 180 The processor 130 is further configured to determine whether the first audio data is valid data; if the first audio data is non-effective data, Switching to start collecting the second sound signal through the microphone 182 of the mobile phone, that is, switching the call mode to the handset's own handset/microphone mode.
  • the audio circuit 180 is further configured to convert the collected second sound signal into second audio data.
  • the processor 130 is further configured to determine whether the second audio data is valid data; if the second audio data is non-valid data, compare The first audio data and the second audio data; if the voice quality of the first audio data is higher than the voice quality of the second audio data, switching to collecting a sound signal through a microphone of the peripheral earphone , that is, switch the call mode to the headset mode.
  • the processor 130 is further configured to: after determining the current call mode, send the prompt information related to the current call mode to the display unit 160, the handset 181 of the mobile phone itself, or the handset of the peripheral headset); And after the call mode is switched, the prompt information related to the switched call mode is sent to the display unit 160, the handset 181 of the mobile phone itself, or the handset of the peripheral headset.
  • the mobile phone 100 also includes a power source 120 (such as a battery) that supplies power to various components.
  • a power source 120 such as a battery
  • the power source can be logically coupled to the processor 130 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the mobile phone 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • FIG. 2 is a schematic diagram of a method for switching a call mode according to an embodiment of the present invention. As shown in Figure 2, the method includes:
  • Step 201 The first terminal connected to the peripheral earphone establishes a call connection with the remote device.
  • the first terminal in this embodiment is connected with a peripheral earphone, and the peripheral earphone may be a wired earphone or a wireless earphone.
  • the peripheral earphone is a wired earphone
  • the earphone can be wiredly connected to the first terminal through a headphone jack on the first terminal.
  • the peripheral earphone is a wireless earphone
  • the earphone can be wirelessly connected to the first terminal through a wireless technology such as Bluetooth or Wi-Fi.
  • the remote device in the embodiments of the present invention refers to a terminal that can establish a call connection with the first terminal.
  • the first terminal establishes a call connection with the remote device, where the first terminal may be the calling terminal or the called terminal.
  • Step 202 After the first terminal establishes a call connection with the remote device, the first terminal collects the first sound signal through the microphone of the peripheral earphone.
  • the peripheral headset includes a microphone and an earpiece.
  • the microphone can be used to collect sounds emitted by the user or ambient sounds, and transmit the collected sounds to the first terminal.
  • the handset can play the sound signal generated by the first terminal or the sound signal received by the first terminal from the remote device to the user.
  • the first terminal collects the user's voice, that is, the first sound signal, through the microphone of the peripheral earphone. It should be noted that, before the first terminal establishes a call connection with the remote device, the first terminal may also collect sound through the microphone of the peripheral headset. For example: at the first When the terminal calls the remote device as the calling terminal, and the call connection is not established, the microphone of the peripheral earphone can be used for collecting sound. At this time, if the voice of the user terminates the call, the first terminal can terminate the call. When the first terminal receives the call of the remote device as the called terminal, and the call connection is not established, the microphone of the peripheral earphone can also be used for collecting sound.
  • the first terminal can hang up the incoming call. If the user receives the voice of the incoming call, the first terminal can answer the incoming call.
  • the microphone of the peripheral earphone can also be used to collect the voice of the user. For example, the user can perform voice control on the first terminal through the microphone of the peripheral earphone.
  • the first terminal is controlled by voice to open an application or perform a certain function. That is to say, after detecting that the first terminal has established a connection with the peripheral earphone, the sound can be collected through the microphone of the peripheral earphone.
  • the first terminal can also collect sound through the microphone of the peripheral earphone only after establishing a call connection with the remote device.
  • the first terminal when the first terminal collects a sound signal through the microphone of the peripheral earphone, the first terminal can play the sound received from the remote device through the earpiece of the peripheral earphone.
  • Step 203 The first terminal converts the collected first sound signal into first audio data.
  • the first terminal collects the first sound signal through the microphone of the peripheral earphone to obtain the first audio data, and the first audio data may be an analog signal or a digital signal after the analog-to-digital conversion.
  • Step 204 The first terminal determines whether the first audio data is valid data. If it is determined that the first audio data is invalid data, that is, invalid data, step 205 is performed, if it is determined that the first audio data is valid. Data, the first terminal continues to use the peripheral earphone to make a call, that is, the first terminal uses the headset mode to make a call, uses the microphone of the peripheral earphone to collect the external sound, and uses the earphone of the peripheral earphone to play the sound.
  • the first terminal may determine whether the audio data is valid data by any of the following manners.
  • Manner 1 The first terminal compares the audio data with the empirical data. If the audio data is determined to be valid by the comparison, if the audio data is determined to be valid data, the audio data is determined to be the background sound. Or ambient sound, then the audio data is determined to be non-valid data.
  • the first terminal identifies the specific content of the audio data, and if the content of the audio data is the statement that the user frequently says during the call, determining that the first audio data is valid data, and if the audio data cannot be recognized The content determines that the audio data is not valid data.
  • Manner 3 The first terminal acquires a voice similarity between the audio data and the experience data. If the voice similarity is greater than a preset threshold, determining that the audio data is valid data, if the voice similarity is less than or equal to the The preset threshold determines that the audio data is inactive data.
  • Step 205 The first terminal switches to collect a second sound signal by using a microphone of the first terminal.
  • the sound collected by the microphone of the peripheral earphone is an invalid sound, it means that the user may not currently use the earphone to make a call, but the first terminal is held and the first terminal's own microphone and earpiece are used. Therefore, the first terminal switches the headset mode to the normal mode, that is, switches to a mode in which the microphone of the first terminal itself and the handset are used for talking, and the external sound signal, that is, the second sound signal, is collected by the microphone of the first terminal itself. .
  • the first terminal when the first terminal collects a sound signal through its own microphone, the first terminal can play the sound received from the remote device through its own earpiece.
  • step 205 the method may further include step 206.
  • Step 206 The first terminal converts the collected second sound signal into second audio data.
  • the process of converting a sound signal into audio data can be seen in step 203.
  • Step 207 The first terminal determines whether the second audio data is valid data; if it is determined that the second audio data is non-valid data, step 208 is performed; if it is determined that the second audio data is valid data, executing Step 210.
  • a method of determining whether the audio data is valid data refer to the description in step 204.
  • Step 208 The first terminal compares the first audio data with the second audio data. If the voice quality of the first audio data is higher than the voice quality of the second audio data, step 209 is performed, if the first audio is used. The voice quality of the data is lower than the voice quality of the second audio data, and step 210 is performed.
  • Step 209 The first terminal switches to collect a sound signal through a microphone of the peripheral earphone.
  • the first terminal needs to be switched again.
  • the external sound is collected through the microphone of the peripheral headset. It may be because the quality of the current call is not high, which leads to the misjudgment in step 204.
  • Step 210 The first terminal continues to use its own microphone and the handset to make a call, that is, the first terminal continues to use its own microphone to collect external sound, and uses its own earpiece to play the sound.
  • the quality of the sound signal collected by the microphone of the first terminal itself is higher than the quality of the sound signal collected by the microphone of the peripheral earphone, it indicates that the current user is not using the peripheral earphone. It may be because the quality of the current call is not high, which leads to the misjudgment in step 207.
  • the method embodiment may further include: the first terminal may prompt the user which call mode is currently in use. For example, when the first terminal detects that it is connected to the peripheral headset, the user may be prompted to be in the headset mode; when the first terminal switches from the headset mode to the normal mode, the user may be prompted to be in the normal mode or prompt the user. The mode has been switched; when the first terminal switches from the normal mode back to the headset mode, the user may be prompted again to the current mode or the user mode is prompted to be switched.
  • the first terminal can make a text or graphic prompt through its own display screen, or make a voice prompt through the speaker or peripheral earphone of the first terminal.
  • the terminal connected to the peripheral device after establishing a call connection with the remote device, the terminal connected to the peripheral device first uses the peripheral earphone to make a call, and determines whether the sound collected by the microphone of the peripheral earphone is valid. If it is invalid, it will automatically switch to using the terminal's own microphone and handset to make a call, that is, automatically switch the call mode. After the handover, if it is judged that the sound quality collected by the terminal's own microphone is lower than the sound quality collected by the microphone of the peripheral earphone, the terminal automatically switches back to the headset call mode, that is, switches back to use the peripheral earphone for the call. Therefore, the embodiment of the present invention can automatically switch the call mode and improve the convenience of the terminal. Moreover, the embodiment of the present invention can prompt the current call mode and the mode switching information to the user, so that the user can know the behavior of the terminal automatically switching the call mode.
  • the method may include the following steps:
  • step 301 the mobile phone starts to make a call.
  • the user triggers the operation of answering the call; or the mobile phone acts as the calling party, and the user makes a call through the mobile phone.
  • the processor of the mobile phone can receive an answering instruction or a dialing instruction input by the user through the input unit of the mobile phone.
  • Step 302 The mobile phone determines whether it is connected to the peripheral earphone, including determining whether the earphone jack is occupied by the wired earphone (ie, determining whether the mobile phone and the wired earphone are connected) and/or determining whether the wireless earphone such as the mobile phone and the Bluetooth earphone is in If the mobile phone and the peripheral earphone are in a connected state, the process proceeds to step 303.
  • the embodiment of the present invention does not limit the execution order of step 302, or may not include step 302.
  • the mobile phone can know that the connection with the peripheral earphone is established.
  • the mobile phone can select the headset mode, that is, after step 301, the mobile phone can enter the step. 303.
  • Step 303 The mobile phone collects an external sound through a microphone of the peripheral earphone.
  • Step 304 The mobile phone converts the collected sound signal into first audio data, and may store the first audio data.
  • the audio circuit of the mobile phone receives and processes the sound signal collected by the peripheral earphone, and sends the processed first audio data to the processor and/or the memory of the mobile phone, which may be sent in real time or preset by system. A certain period of transmission (for example, every 10ms).
  • Step 305 The mobile phone determines whether the first audio data in the preset time period is valid data; if it is valid data, step 306 is performed, and if it is invalid data, step 307 is performed.
  • the first audio data in the preset time period may be: the first audio data converted by the sound collected by the peripheral earphones in the preset time period.
  • the processor or audio circuitry of the handset determines whether the first audio data is valid data.
  • the audio circuit can transmit the determination result to the processor.
  • the preset time period may be the first time period of the call establishment, for example, the first one second, two seconds, three seconds, or five seconds after the call is established, and the length of the specific time is not limited.
  • the mobile phone determines whether the audio data is valid data by any one or several of the following methods:
  • Method 1 Compare the recognition result with the empirical data (which can be a database of experts, a smart library, an experience database, etc., which stores a large number of vocals), and determine whether the audio data is vocal (effective data) or background sound or Ambient sound (invalid data); the identification may be speech recognition or semantic recognition, or other algorithms for audio data, as long as the audio data can be compared with empirical data.
  • empirical data which can be a database of experts, a smart library, an experience database, etc., which stores a large number of vocals
  • the identification may be speech recognition or semantic recognition, or other algorithms for audio data, as long as the audio data can be compared with empirical data.
  • Method 2 Identify the specific content of the audio data, and judge whether it is valid data according to the specific content. For example, if the content of the recognized audio data is “Hello”, “Who are you”, “Hey”, “Speak”, “No Sound”, “I am Tom”, etc.
  • the language is not limited, it can be Chinese, English, Russian, Japanese and other voice input, it is judged as valid data; or as long as the specific content can be identified, it can be judged as valid data; if it is not recognized, it is judged as invalid data.
  • Manner 3 By comparing the recognition result with the empirical data to obtain the similarity degree of the speech, determining whether the speech similarity exceeds a preset speech similarity threshold, and if the threshold is exceeded, determining that the data is valid, and if the threshold is not exceeded, the determination is invalid. data.
  • Step 306 The mobile phone keeps the current call mode as the headset mode.
  • Step 307 The mobile phone switches the call mode to the handset/microphone mode of the mobile phone itself, that is, the mobile phone uses its own handset and microphone to make a call. At the time of switching or after switching, the mobile phone can prompt the user that the call mode has been switched.
  • Step 308 The mobile phone adopts the handset/microphone mode of the mobile phone itself, that is, the mobile phone uses its own earpiece and microphone to make a call.
  • the mobile phone When the user's mobile phone is connected to the peripheral headset, but the user does not know the current connection status while using the mobile phone to make a call without using the headset, the mobile phone will automatically determine which call mode to use according to the actual situation to prevent misconnection. Turn off the phone. And, the phone can automatically switch the call through the phone's own audio circuit and processor. The mode eliminates the user's manual steps and solves the problem of accidentally hanging up the phone without adding additional hardware.
  • the embodiment may further determine the final call mode and perform automatic switching by comparing the sounds collected by the handset's own handset/microphone mode and the headset mode on the basis of the foregoing method embodiments. Specifically, as shown in FIG. 4, on the basis of the embodiment shown in FIG. 3, it is assumed that the mobile phone has performed step 307, that is, the mobile phone has switched to the handset's own handset/microphone mode, and thereafter, as shown in FIG. 4, may also include The following steps:
  • Step 401 The mobile phone starts to collect the sound signal by using its own microphone.
  • the processor of the mobile phone notifies the handset's own microphone to start collecting external sound, and notifies the audio circuit to start receiving and processing the sound signal collected by the microphone.
  • Step 402 The mobile phone converts the sound signal collected in step 401 into second audio data.
  • Step 403 The mobile phone determines whether the second audio data in the preset time period is valid data; if it is valid data, step 404 is performed, and if it is invalid data, step 405 is performed.
  • the preset time period may be a period of time after the call mode is switched, for example, to switch to the first one second, two seconds, three seconds, or five seconds after the voice is collected by the mobile phone's own microphone, and the length of the specific time is not limited.
  • the length of the preset time period may be the same as or different from that in step 305.
  • For the method for determining whether the second audio data is valid data by the mobile phone refer to the foregoing method for determining whether the first audio data is valid data.
  • Step 404 The mobile phone keeps the current call mode as its own handset/microphone mode.
  • Step 405 The mobile phone acquires the first audio data in the headset mode and the second audio data in the handset's own handset/microphone mode; specifically, the following two methods are available:
  • Manner 1 The mobile phone acquires the second audio data currently processed, and acquires the first audio data in the previously stored headset mode from the memory of the mobile phone;
  • Manner 2 The mobile phone acquires the first audio data and the second audio data from a memory, wherein the second audio data is stored in the memory of the mobile phone by the mobile phone in step 402.
  • Step 406 The mobile phone compares the voice quality of the first audio data and the second audio data. For example, whether the voice quality of the first audio data is higher than the first is determined by comparing key factors such as volume, resolution, and the like of the voice.
  • the voice quality of the second audio data if not, proceed to step 404, and if so, when the handset itself receives the microphone
  • the process proceeds to step 407.
  • Step 407 The mobile phone switches the call mode to the headset mode.
  • the embodiment can determine the final call mode and automatically switch by comparing the audio data collected and processed by the handset's own handset/microphone mode and the headset mode, to avoid false switching caused by the background sound being too noisy or the signal being too poor.
  • the mobile phone After the call mode is switched by the method provided by the embodiment of the present invention, the mobile phone provides a text or voice prompt to prompt the user that the mobile phone call mode has been switched, so that the user can find that the system automatically switches the call mode, so that the user can understand whether the use is improper or not. sound.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Un mode de réalisation de la présente invention concerne un procédé et un terminal de commutation de mode d'appel. Le procédé comprend : l'établissement d'une connexion d'appel entre un premier terminal connecté ayant un casque d'écoute périphérique et un dispositif distant; la collecte, par le premier terminal, d'un premier signal sonore au moyen d'un microphone du casque d'écoute périphérique; la conversion, par le premier terminal, du premier signal sonore collecté en premières données audio; la détermination, par le premier terminal, des premières données audio comme étant des données valides ou non; la réalisation d'une commutation, par le premier terminal, de façon à collecter un second signal sonore au moyen d'un microphone du premier terminal si les premières données audio sont des données invalides. Ainsi, le terminal peut déterminer automatiquement quel mode d'appel doit être utilisé en fonction de situations réelles, empêchant ainsi l'appel d'être coupé par erreur tout en éliminant également des étapes d'opérations manuelles d'un utilisateur.
PCT/CN2017/079341 2016-12-29 2017-04-01 Procédé et terminal de commutation de mode d'appel Ceased WO2018120487A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780004769.2A CN108432220B (zh) 2016-12-29 2017-04-01 一种切换通话模式的方法和终端

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2016/113177 2016-12-29
CN2016113177 2016-12-29

Publications (1)

Publication Number Publication Date
WO2018120487A1 true WO2018120487A1 (fr) 2018-07-05

Family

ID=62710189

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079341 Ceased WO2018120487A1 (fr) 2016-12-29 2017-04-01 Procédé et terminal de commutation de mode d'appel

Country Status (2)

Country Link
CN (1) CN108432220B (fr)
WO (1) WO2018120487A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618052A (zh) * 2018-12-11 2019-04-12 努比亚技术有限公司 一种通话音频切换方法及装置、移动终端及可读存储介质
CN109743454A (zh) * 2018-12-29 2019-05-10 维沃移动通信有限公司 一种通话处理方法及移动终端
CN115050380A (zh) * 2022-07-26 2022-09-13 江西联创电声有限公司 音频信号处理方法、耳机及计算机可读存储介质
WO2023151526A1 (fr) * 2022-02-08 2023-08-17 维沃移动通信有限公司 Procédé et appareil d'acquisition audio, dispositif électronique et composant périphérique

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889940A (zh) * 2019-03-01 2019-06-14 钰太芯微电子科技(上海)有限公司 一种带有接近传感器的耳带式设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090023479A1 (en) * 2007-07-17 2009-01-22 Broadcom Corporation Method and system for routing phone call audio through handset or headset
CN103200311A (zh) * 2013-02-25 2013-07-10 华为终端有限公司 一种通讯终端通话音频通路的控制方法、装置及通讯终端
CN103826013A (zh) * 2014-03-17 2014-05-28 联想(北京)有限公司 一种切换通话模式的方法及一种移动终端
CN104754463A (zh) * 2013-12-31 2015-07-01 环达电脑(上海)有限公司 内外置麦克风信号切换的方法
CN105812585A (zh) * 2016-06-01 2016-07-27 珠海市魅族科技有限公司 一种通话方式切换方法以及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090023479A1 (en) * 2007-07-17 2009-01-22 Broadcom Corporation Method and system for routing phone call audio through handset or headset
CN103200311A (zh) * 2013-02-25 2013-07-10 华为终端有限公司 一种通讯终端通话音频通路的控制方法、装置及通讯终端
CN104754463A (zh) * 2013-12-31 2015-07-01 环达电脑(上海)有限公司 内外置麦克风信号切换的方法
CN103826013A (zh) * 2014-03-17 2014-05-28 联想(北京)有限公司 一种切换通话模式的方法及一种移动终端
CN105812585A (zh) * 2016-06-01 2016-07-27 珠海市魅族科技有限公司 一种通话方式切换方法以及移动终端

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618052A (zh) * 2018-12-11 2019-04-12 努比亚技术有限公司 一种通话音频切换方法及装置、移动终端及可读存储介质
CN109743454A (zh) * 2018-12-29 2019-05-10 维沃移动通信有限公司 一种通话处理方法及移动终端
WO2023151526A1 (fr) * 2022-02-08 2023-08-17 维沃移动通信有限公司 Procédé et appareil d'acquisition audio, dispositif électronique et composant périphérique
CN115050380A (zh) * 2022-07-26 2022-09-13 江西联创电声有限公司 音频信号处理方法、耳机及计算机可读存储介质

Also Published As

Publication number Publication date
CN108432220A (zh) 2018-08-21
CN108432220B (zh) 2020-02-21

Similar Documents

Publication Publication Date Title
CN108769432B (zh) 主耳机切换方法以及移动终端
WO2019201271A1 (fr) Procédé de traitement d'appel et terminal mobile
EP3691235A1 (fr) Procédé d'affichage et terminal mobile
CN108432220B (zh) 一种切换通话模式的方法和终端
WO2021129529A1 (fr) Procédé de commutation de dispositifs et dispositif associé
CN109639863B (zh) 一种语音处理方法及装置
CN106068020A (zh) 异常状态提示方法及装置
CN108063908A (zh) 一种视频通话方法、装置及移动终端
CN115190197A (zh) 基于蓝牙耳机的通话方法、装置及存储介质
CN107846516A (zh) 一种通话场景提示方法及移动终端
WO2020024770A1 (fr) Procédé pour déterminer un objet de communication, et terminal mobile
US12120261B2 (en) Incoming call processing method and electronic device
CN106126170A (zh) 一种终端的音效设置方法及终端
CN109788114B (zh) 一种通话处理方法及终端
WO2015078349A1 (fr) Procédé et appareil de commutation d'un état de réception du son d'un microphone
CN108307075B (zh) 一种来电处理方法及移动终端
CN108307048B (zh) 一种消息输出方法和装置及移动终端
CN108235288B (zh) 一种蓝牙音频播放方法及移动终端
CN115037831B (zh) 一种模式控制方法、装置、电子设备及耳机
CN109981443A (zh) 语音交互方法、装置及终端设备
CN110913070B (zh) 一种通话方法及终端设备
WO2021208893A1 (fr) Procédé de commutation de mode de sortie audio et dispositif électronique
WO2021063239A1 (fr) Procédé de commande d'application et terminal
CN112532787B (zh) 耳机音频数据处理方法、移动终端及计算机可读存储介质
CN110062412A (zh) 无线配对方法、系统、存储介质及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17888455

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17888455

Country of ref document: EP

Kind code of ref document: A1