CN107087069B - Voice communication method and mobile terminal - Google Patents

Voice communication method and mobile terminal Download PDF

Info

Publication number
CN107087069B
CN107087069B CN201710259776.9A CN201710259776A CN107087069B CN 107087069 B CN107087069 B CN 107087069B CN 201710259776 A CN201710259776 A CN 201710259776A CN 107087069 B CN107087069 B CN 107087069B
Authority
CN
China
Prior art keywords
bandwidth value
preset
voice
mobile terminal
voice signal
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
CN201710259776.9A
Other languages
Chinese (zh)
Other versions
CN107087069A (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 CN201710259776.9A priority Critical patent/CN107087069B/en
Publication of CN107087069A publication Critical patent/CN107087069A/en
Application granted granted Critical
Publication of CN107087069B publication Critical patent/CN107087069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The invention provides a voice call method and a mobile terminal, wherein the method comprises the following steps: judging whether the bandwidth value of the mobile network is within a first preset bandwidth value range or not in a call state; if the bandwidth value is within the first preset bandwidth value range, adjusting the bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value, and collecting a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals; and resampling the processed voice signal according to the first preset frequency width value, and sending the voice signal to opposite-end equipment through the mobile network. Through the voice communication scheme provided by the invention, even if a communication sender is a user low-voice communication, a communication receiver can be ensured to clearly hear the communication content, and high-quality low-voice communication service is provided for the user.

Description

Voice communication method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a voice call method and a mobile terminal.
Background
With the rapid development of the mobile internet and the dependence of young people pursuing fashion on the mobile terminal, the mobile terminal is more and more popular, the call is used as the basic function of the mobile device, and the requirement of consumers on the call quality is higher and higher. At present, the mobile terminal can only provide two call modes of a handle call and a hands-free call, specifically, when the mobile terminal is close to the ear of a person, the mobile terminal can use the hands-free call mode to carry out a call, and when the mobile terminal is far away from the caller, the mobile terminal can use the hands-free call mode to carry out a call.
When using a mobile terminal, a current call sender pays more and more attention to personal information security and personal privacy, and in public occasions, for example: when a call is made in a conference room, a street, and the like, the call content is not expected to be heard by others, the call volume is often reduced for preventing the call content from leaking to a call sender, and the call volume cannot be reduced to ensure that a call receiver can clearly hear the call content, so that the overall quality of voice call is influenced.
As can be seen, the existing voice call mode cannot satisfy the following two points at the same time: the first point is that the call quality is clear, so that a call receiver can clearly listen to the call content; and the call content of the second point and the call sender is not leaked.
Disclosure of Invention
The embodiment of the invention provides a voice call method and a mobile terminal, which aim to solve the problem that a call receiver can not clearly hear call contents while the call contents of a call sender are prevented from being leaked in the prior art.
According to an aspect of the present invention, there is provided a voice call method, the method including: judging whether the bandwidth value of the mobile network is within a first preset bandwidth value range or not in a call state; if the bandwidth value is within the range of the first preset bandwidth value, adjusting the bandwidth value of the mobile network sampling signal from the first preset bandwidth value to a second preset bandwidth value, and collecting a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals; and resampling the processed voice signal according to the first preset frequency width value, and sending the voice signal to opposite-end equipment through the mobile network.
According to another aspect of the present invention, there is provided a mobile terminal, wherein the mobile terminal comprises: the judging module is used for judging whether the bandwidth value of the mobile network is within a first preset bandwidth value range or not in the call state; the adjusting module is used for adjusting the bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value and acquiring a voice signal if the bandwidth value is within the first preset bandwidth value range; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; the voice enhancement module is used for carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals; and the resampling module is used for resampling the processed voice signal according to the first preset frequency width value and sending the resampled voice signal to the opposite terminal equipment through the mobile network.
Compared with the prior art, the invention has the following advantages:
according to the voice call method and the mobile terminal provided by the invention, when the bandwidth value of the network of the mobile terminal is judged to be within the first preset bandwidth value range, namely under the narrow-band mode, the bandwidth value of the network sampling signal of the mobile terminal is adjusted to be the second preset bandwidth value from the first preset bandwidth value corresponding to the narrow-band mode, the mobile network still selects the narrow-band mode but adjusts the bandwidth of the sampling signal to be the second preset bandwidth value corresponding to the wide-band mode for voice signal acquisition, and then the acquired signal is subjected to voice enhancement processing and then is re-sampled according to the first preset bandwidth value, so that the processed voice signal contains frequency spectrum information, and the sound effect is clearer. Even if the call sender makes a low-voice call, the call receiver can be ensured to clearly hear the call content, and high-quality low-voice call service is provided for the user.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a voice call method according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a voice call method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating steps of a voice call method according to a first embodiment of the present invention is shown.
The voice call method of the embodiment of the invention comprises the following steps:
step 101: the method comprises the steps that when the mobile terminal is in a call state, whether the bandwidth value of a mobile network is within a first preset bandwidth value range is judged; if yes, go to step 102; if not, executing a first preset operation.
The voice call method provided by the embodiment of the invention is suitable for processing the low-voice call voice, and even if a call sender, namely a user inputs call content in a small voice, a call receiver can clearly hear the call content, and the call content of the call sender cannot be leaked due to the small voice.
And if the mobile network bandwidth value is in the second preset bandwidth value range, the mobile network can be determined to be in the broadband mode. If the mobile network is in the narrow-band mode, the current call is determined not to be opened for hands-free, and if the mobile network is in the wide-band mode, the current call is determined to be opened for hands-free. The network sampling bandwidth value corresponding to the narrow-band mode is a first preset bandwidth value, and the network sampling bandwidth value corresponding to the wide-band mode is a second preset bandwidth value. The first preset bandwidth value is smaller than the second preset bandwidth value. The first predetermined bandwidth value may be 8KHz, and the second predetermined bandwidth value may be 16 KHz.
In the embodiment of the invention, whether the hands-free mode is started or not can be determined by judging whether the bandwidth value of the mobile network is in the first preset bandwidth value range or not, so that whether the user needs to talk at a low voice or not can be determined, and therefore, the first preset operation is executed. The first preset operation may be set to keep the frequency bandwidth value of the mobile network collected signal at the first preset frequency bandwidth value.
Step 102: if the bandwidth value is within the range of the first preset bandwidth value, the mobile terminal adjusts the bandwidth value of the signal acquired by the mobile network from the first preset bandwidth value to a second preset bandwidth value, and acquires the voice signal.
The first preset bandwidth value is smaller than the second preset bandwidth value. Preferably, the first predetermined bandwidth value may be 8KHz, and the second predetermined bandwidth value may be 16 KHz.
The mobile terminal has the advantages that the mobile terminal can distinguish narrow-band calls from wide-band calls due to the difference of a mobile network, the bandwidth value of a sampling signal of the mobile network, namely the sampling rate, is 8KHz in a narrow-band mode, the sampling rate is 16KHz in a wide-band mode, the frequency spectrum is narrow in a low-voice call in the narrow-band mode, after the voice signal is processed, the voice sounds low in definition and poor in effect, the voice signal needs to be changed into the wide-band signal processing of 16KHz in the narrow-band mode, the voice signal contains frequency spectrum information, the voice sounds high in definition and good in effect.
Step 103: and the mobile terminal performs voice enhancement processing on the collected voice signal to obtain a processed voice signal.
Speech enhancement processing includes, but is not limited to: the voice signal is subjected to amplification processing, gain control processing, and the like.
Step 104: the mobile terminal resamples the processed voice signal according to a first preset frequency width value and sends the voice signal to the opposite terminal equipment through the mobile network.
The voice signal is resampled, so that the bandwidth of the sampled voice signal is matched with the narrow-band mode of the current mobile network, the transmission of the voice signal is completed through the mobile network in the narrow-band mode, and the voice signal is sent to opposite-end equipment for a call content receiver to answer.
According to the voice call method provided by the embodiment of the invention, in a call state, when the bandwidth value of the network of the mobile terminal is judged to be within the first preset bandwidth value range, namely under a narrow-band mode, the bandwidth value of the network sampling signal of the mobile terminal is adjusted to be a second preset bandwidth value from the first preset bandwidth value corresponding to the narrow-band mode, the mobile network still selects the narrow-band mode but adjusts the bandwidth of the sampling signal to be the second preset bandwidth value corresponding to the wide-band mode for voice signal acquisition, then the acquired signal is subjected to voice enhancement processing and then is resampled according to the first preset bandwidth value, so that the processed voice signal contains frequency spectrum information, and the sound effect is clearer. Even if the call sender makes a low-voice call, the call receiver can be ensured to clearly hear the call content, and high-quality low-voice call service is provided for the user.
Example two
Referring to fig. 2, a flowchart illustrating steps of a voice call method according to a second embodiment of the present invention is shown.
The voice call method of the embodiment of the invention specifically comprises the following steps:
step 201: judging whether the distance between the mobile terminal and the human ear is smaller than a preset distance or not when the mobile terminal is in a call state; if yes, go to step 202; and if not, executing a second preset operation.
The call mode supported by the mobile terminal in the embodiment of the invention comprises the following steps: the hand-held call posture, the handsfree call mode, and the low-voice call mode are explained as examples. The low-voice call mode can be started manually by a user or automatically by the mobile terminal. The bandwidth value of the mobile network in the handheld communication posture is within a first preset bandwidth value range, and the sampling signal bandwidth value is a first preset bandwidth value; the bandwidth value of the mobile network in the hands-free call mode is within a second preset bandwidth value range, and the sampling signal bandwidth value is a first preset bandwidth value; and in the low-voice communication mode, the bandwidth value of the mobile network is within a first preset bandwidth value range, and the bandwidth value of the sampling signal is a second preset bandwidth value. The first predetermined bandwidth value may be 8KHZ, the second predetermined bandwidth value may be 16KHZ, the first predetermined bandwidth value may be 8KHZ, and the second predetermined bandwidth value may be 16 KHZ.
When the mobile terminal initially enters a call, the mobile terminal may be in a hand-held call posture or a hands-free call mode, and the hand-held call posture and the hands-free call mode belong to the existing conventional call modes. In the embodiment of the present invention, in the normal call mode, whether the current call meets the start condition of the low-voice call mode is determined by determining the current call environment, and the specific determination manner is as shown in steps 201 to 203.
The preset distance may be set by a person skilled in the art according to actual requirements, and is not particularly limited in the embodiment of the present invention. Therefore, the purpose of distance detection is to judge whether the mobile terminal is close to the ear of a person and finally judge whether the current call mode is a handheld call gesture.
When judging whether the distance between the mobile terminal and the human ear is smaller than the preset distance, the distance detection can be carried out through an infrared sensor arranged on the mobile terminal.
The second preset operation may be set to still maintain the current call mode, i.e., the handsfree call mode.
Step 202: if the current voice signal strength value is smaller than the preset distance, the mobile terminal judges whether the strength value of the currently collected voice signal is smaller than the preset strength value; if yes, go to step 203; if not, executing a third preset operation.
In this step, the intensity value of the voice signal collected by the microphone is compared with a preset intensity value, so that whether the user inputs voice at a low sound currently can be determined, and whether the user needs to enter a low sound communication mode can be further determined.
Specifically, when the judgment result is less than the preset threshold, determining that the user inputs voice at low voice currently, and therefore determining that a low-voice call mode needs to be performed; otherwise, a third preset operation is executed to determine that the current call mode is continued, namely the handheld call gesture.
Step 203: if the bandwidth value is smaller than the preset strength value, the mobile terminal judges whether the network bandwidth value of the mobile terminal is within a first preset bandwidth value range; if yes, go to step 204; if not, executing a first preset operation.
When the current call environment meets the following two conditions, determining that the current call meets the starting condition of the low-sound call mode: firstly, the mobile terminal is close to the human ear; second, the user enters speech low-vocally.
It should be noted that, in steps 201 to 203, a specific manner for the mobile terminal to automatically determine whether the low-sound call mode opening condition is met is provided, in a specific implementation process, the low-sound call mode may also be actively controlled to be opened by a user, specifically, the mobile terminal monitors a first operation event in a call process, and when the first operation event is monitored, the low-sound call mode is opened:
one feasible implementation is as follows: a low-sound call mode switch can be arranged in a call interface of the mobile terminal, when a user needs low-sound voice call, the switch is clicked, the mobile terminal can monitor the switch clicking event, and the low-sound call mode is started in response to starting operation. When the mobile equipment terminal is in call, the difference of the mobile network is used to distinguish the narrow-band call from the wide-band call, the frequency width value of the mobile network sampling signal in the narrow-band mode is 8KHz, and the frequency width value of the mobile network sampling signal in the wide-band mode is 16 KHz. If the bandwidth value of the current mobile network is not within the first preset bandwidth value range, that is, the mobile network is not in the narrowband mode but in the broadband mode, the process is terminated.
Step 204: if the bandwidth value is within the range of the first preset bandwidth value, the mobile terminal adjusts the bandwidth value of the mobile network sampling signal from the first preset bandwidth value to a second preset bandwidth value, and collects the voice signal.
The mobile network bandwidth value is in the first preset bandwidth value range, namely, the frequency spectrum is narrow when the low-voice call is carried out in the narrow-band mode, after the voice signals are processed, the voice sounds low in definition and poor in effect, so that the sampled voice signals need to be changed into 16KHz in the narrow-band mode, the voice sounds high in definition and good in effect. Therefore, even if the user inputs the call content at a low voice, the voice content receiver can clearly hear it.
Step 205: and the mobile terminal performs voice enhancement processing on the collected voice signal to obtain a processed voice signal.
A preferred way to perform speech enhancement processing on the acquired speech signal is as follows: amplifying the voice signal to obtain an amplified voice signal; and performing gain control processing on the amplified voice signal to obtain a processed voice signal.
Step 206: the mobile terminal resamples the processed voice signal according to a first preset frequency width value and sends the voice signal to the opposite terminal equipment through the mobile network.
The voice signal is resampled, so that the bandwidth of the sampled voice signal is matched with the narrow-band mode of the current mobile network, the transmission of the voice signal is completed through the mobile network in the narrow-band mode, and the voice signal is sent to opposite-end equipment for a call content receiver to answer.
According to the voice call method provided by the embodiment of the invention, after the mobile terminal enters the call mode, when the current call is monitored to meet the start condition of the low-sound call mode, the low-sound call mode is started, the mobile network still selects the narrow-band mode in the low-sound call mode but adjusts the sampling rate of the voice signal to the second sampling rate corresponding to the wide-band mode for voice signal acquisition, and then the acquired signal is subjected to voice enhancement processing and then is re-sampled, so that the processed voice signal contains frequency spectrum information, and the voice effect is clearer. Even if the call sender is a user low-voice call, the call receiver can be ensured to clearly hear the call content, and high-quality low-voice call service is provided for the user.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal of the embodiment of the invention comprises: the judging module 301 is configured to judge whether a bandwidth value of a mobile network is within a first preset bandwidth value range in a call state; an adjusting module 302, configured to adjust a bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value if the bandwidth value is within the first preset bandwidth value range, and acquire a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; the voice enhancement module 303 is configured to perform voice enhancement processing on the acquired voice signal to obtain a processed voice signal; a resampling module 304, configured to resample the processed voice signal according to the first preset bandwidth value, and send the resample to an opposite end device through the mobile network.
In the call process of the mobile terminal provided by the embodiment of the invention, when the current call is monitored to meet the start condition of the low-sound call mode, the low-sound call mode is started, the mobile network still selects the narrow-band mode in the low-sound call mode but adjusts the sampling rate of the sound signal to the second sampling rate corresponding to the wide-band mode for sound signal acquisition, and then performs the sound enhancement processing on the acquired signal and then performs resampling, so that the processed sound signal contains frequency spectrum information, and the sound effect is clearer. Even if the call sender is a user low-voice call, the call receiver can be ensured to clearly hear the call content, and high-quality low-voice call service is provided for the user.
Example four
Referring to fig. 4, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal of the embodiment of the present invention is further optimized for the mobile terminal of the third embodiment, and the optimized mobile terminal includes: the determining module 401 is configured to determine whether a bandwidth value of the mobile network is within a first preset bandwidth value range in a call state; an adjusting module 402, configured to adjust a bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value if the bandwidth value is within the first preset bandwidth value range, and acquire a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; a voice enhancement module 403, configured to perform voice enhancement processing on the acquired voice signal to obtain a processed voice signal; a resampling module 404, configured to resample the processed voice signal according to the first preset bandwidth value, and send the resampled voice signal to an opposite end device through the mobile network.
Preferably, the mobile terminal further includes: an event determining module 405, configured to determine whether a first operation event is monitored before the determining module 401 determines whether a bandwidth value of a current mobile network is within a first preset bandwidth value range in a call state; and when the first operation event is monitored, calling and executing the judging module.
Preferably, the mobile terminal further includes: a distance determining module 406, configured to determine, in a call state, whether a distance between the mobile terminal and a human ear is smaller than a preset distance before the determining module 401 determines whether the bandwidth value of the current mobile network is within a first preset bandwidth value range; a signal strength determining module 407, configured to determine whether a strength value of the currently acquired voice signal is smaller than a preset strength value if the signal strength is smaller than the preset distance; the calling module 408 is configured to call and execute the determining module if the value is smaller than the preset intensity value.
Preferably, the first preset bandwidth value comprises: 8KHz, the second preset bandwidth value comprises: 16 KHz.
Preferably, the speech enhancement module 403 comprises: the amplification submodule 4031 is configured to amplify the acquired voice signal to obtain an amplified voice signal; and the gain control submodule 4032 is configured to perform gain control processing on the amplified voice signal to obtain a processed voice signal.
The mobile terminal of the embodiment of the present invention is used to implement the voice call methods in the first and second embodiments, and has the corresponding beneficial effects as in the method embodiments, which are not described herein again.
EXAMPLE five
Referring to fig. 5, a block diagram of a mobile terminal according to a fifth embodiment of the present invention is shown.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 5 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, track ball, touch pad, or touch screen, etc.).
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and direct memory bus DRAM (DRRAM). The memory 702 of the systems and methods described in this embodiment of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In this embodiment of the present invention, by calling a program or an instruction stored in the memory 702, specifically, a program or an instruction stored in the application 7022, the processor 701 is configured to determine, in a call state, whether a bandwidth value of a mobile network is within a first preset bandwidth value range; if the bandwidth value is within the first preset bandwidth value range, adjusting the bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value, and collecting a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals; and resampling the processed voice signal according to the first preset frequency width value, and sending the voice signal to opposite-end equipment through the mobile network.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this embodiment of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, before the determining whether the current mobile network bandwidth value is within the first preset bandwidth value range, the processor 701 is further configured to: judging whether a first operation event is monitored or not in a call state; and when the first operation event is monitored, executing the step of judging whether the current network bandwidth value is a first preset bandwidth value.
Optionally, before the determining whether the current mobile network bandwidth value is the first preset bandwidth value, the processor 701 is further configured to: when the mobile terminal is in a call state, judging whether the distance between the mobile terminal and the human ear is smaller than a preset distance or not; if the distance is smaller than the preset distance, judging whether the intensity value of the currently collected voice signal is smaller than the preset intensity value; and if the current mobile network bandwidth value is smaller than the preset strength value, executing the step of judging whether the current mobile network bandwidth value is within a first preset bandwidth value range.
Optionally, the first preset bandwidth value includes: 8KHz, the second preset bandwidth value comprises: 16 KHz.
Optionally, the processor 701 performs speech enhancement processing on the acquired speech signal, and when obtaining a processed speech signal, is specifically configured to: amplifying the collected voice signal to obtain the amplified voice signal; and performing gain control processing on the amplified voice signal to obtain a processed voice signal.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
In the call process of the mobile terminal provided by the embodiment of the invention, when the current call is monitored to meet the start condition of the low-sound call mode, the low-sound call mode is started, the mobile network still selects the narrow-band mode in the low-sound call mode but adjusts the sampling rate of the sound signal to the second sampling rate corresponding to the wide-band mode for sound signal acquisition, and then performs the sound enhancement processing on the acquired signal and then performs resampling, so that the processed sound signal contains frequency spectrum information, and the sound effect is clearer. Even if the call sender is a user low-voice call, the call receiver can be ensured to clearly hear the call content, and high-quality low-voice call service is provided for the user.
EXAMPLE six
Referring to fig. 6, a block diagram of a mobile terminal according to a sixth embodiment of the present invention is shown.
The mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal in fig. 6 includes a Radio Frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 860, an audio circuit 870, a wifi (wireless fidelity) module 880, and a power supply 890.
The input unit 830 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831. The touch panel 831, also referred to as a touch screen, can collect touch operations performed by a user on or near the touch panel 831 (e.g., operations performed by the user on the touch panel 831 using a finger, a stylus, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 831 may include two portions, i.e., 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 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 831, the input unit 830 may include other input devices 832, and the other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 840 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 840 may include a display panel 841, and the display panel 841 may be alternatively configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that the touch panel 831 can overlay the display panel 841 to form a touch display screen, which, when it detects a touch operation thereon or nearby, is passed to the processor 860 to determine the type of touch event, and then the processor 860 provides a corresponding visual output on the touch display screen according to the type of touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 860 is a control center of the mobile terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the first memory 821 and calling data stored in the second memory 822, thereby performing overall monitoring of the mobile terminal. Optionally, processor 860 may include one or more processing units.
In the embodiment of the present invention, the processor 860 is configured to determine whether the bandwidth value of the mobile network is within a first preset bandwidth value range in the call state by calling a software program and/or a module stored in the first memory 821 and/or data stored in the second memory 822; if the bandwidth value is within the first preset bandwidth value range, adjusting the bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value, and collecting a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value; carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals; and resampling the processed voice signal according to the first preset frequency width value, and sending the voice signal to opposite-end equipment through the mobile network.
Optionally, before the determining whether the current mobile network bandwidth value is within the first preset bandwidth value range, the processor 860 is further configured to: judging whether a first operation event is monitored or not in a call state; and when the first operation event is monitored, executing the step of judging whether the current network bandwidth value is a first preset bandwidth value.
Optionally, before the determining whether the current mobile network bandwidth value is the first preset bandwidth value, the processor 860 is further configured to: when the mobile terminal is in a call state, judging whether the distance between the mobile terminal and the human ear is smaller than a preset distance or not; if the distance is smaller than the preset distance, judging whether the intensity value of the currently collected voice signal is smaller than the preset intensity value; and if the current mobile network bandwidth value is smaller than the preset strength value, executing the step of judging whether the current mobile network bandwidth value is within a first preset bandwidth value range.
Optionally, the first preset bandwidth value includes: 8KHz, the second preset bandwidth value comprises: 16 KHz.
Optionally, the processor 860 performs speech enhancement processing on the collected speech signal, and when obtaining a processed speech signal, the processor is specifically configured to: amplifying the collected voice signal to obtain the amplified voice signal; and performing gain control processing on the amplified voice signal to obtain a processed voice signal.
In the call process of the mobile terminal provided by the embodiment of the invention, when the current call is monitored to meet the start condition of the low-sound call mode, the low-sound call mode is started, the mobile network still selects the narrow-band mode in the low-sound call mode but adjusts the sampling rate of the sound signal to the second sampling rate corresponding to the wide-band mode for sound signal acquisition, and then performs the sound enhancement processing on the acquired signal and then performs resampling, so that the processed sound signal contains frequency spectrum information, and the sound effect is clearer. Even if the call sender is a user low-voice call, the call receiver can be ensured to clearly hear the call content, and high-quality low-voice call service is provided for the user.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The voice call scheme provided herein is not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of a voice call scheme according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (8)

1. A voice call method is applied to a mobile terminal, and is characterized by comprising the following steps:
judging whether the bandwidth value of the mobile network is within a first preset bandwidth value range or not in a call state;
if the bandwidth value is within the first preset bandwidth value range, adjusting the bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value, and collecting a voice signal; wherein the first preset bandwidth value is smaller than the second preset bandwidth value;
carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals;
resampling the processed voice signal according to the first preset bandwidth value, and sending the resampled voice signal to an opposite terminal device through the mobile network;
wherein, carry out speech enhancement to the speech signal who gathers, obtain the step of speech signal after handling, include:
amplifying the collected voice signal to obtain the amplified voice signal;
and performing gain control processing on the amplified voice signal to obtain a processed voice signal.
2. The method of claim 1, wherein before the step of determining whether the current mobile network bandwidth value is within a first preset bandwidth value range, the method further comprises:
judging whether a first operation event is monitored or not in a call state;
and when the first operation event is monitored, executing the step of judging whether the current network bandwidth value is a first preset bandwidth value.
3. The method of claim 1, wherein before the step of determining whether the current mobile network bandwidth value is the first preset bandwidth value, the method further comprises:
when the mobile terminal is in a call state, judging whether the distance between the mobile terminal and the human ear is smaller than a preset distance or not;
if the distance is smaller than the preset distance, judging whether the intensity value of the currently collected voice signal is smaller than the preset intensity value;
and if the current mobile network bandwidth value is smaller than the preset strength value, executing the step of judging whether the current mobile network bandwidth value is within a first preset bandwidth value range.
4. The method of claim 1, wherein the first predetermined bandwidth value comprises: 8KHz, the second preset bandwidth value comprises: 16 KHz.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the judging module is used for judging whether the bandwidth value of the mobile network is within a first preset bandwidth value range or not in the call state;
the adjusting module is used for adjusting the bandwidth value of the mobile network sampling signal from a first preset bandwidth value to a second preset bandwidth value and acquiring a voice signal if the bandwidth value is within the first preset bandwidth value range; wherein the first preset bandwidth value is smaller than the second preset bandwidth value;
the voice enhancement module is used for carrying out voice enhancement processing on the collected voice signals to obtain processed voice signals;
the resampling module is used for resampling the processed voice signal according to the first preset bandwidth value and sending the resampled voice signal to the opposite terminal equipment through the mobile network;
wherein the speech enhancement module comprises:
the amplification submodule is used for amplifying the collected voice signal to obtain the amplified voice signal;
and the gain control submodule is used for carrying out gain control processing on the amplified voice signal to obtain a processed voice signal.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the event judging module is used for judging whether a first operation event is monitored or not before the judging module judges whether the bandwidth value of the current mobile network is within a first preset bandwidth value range or not in a call state; and when the first operation event is monitored, calling and executing the judging module.
7. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the distance judging module is used for judging whether the distance between the mobile terminal and the human ear is smaller than a preset distance before the judging module judges whether the current mobile network bandwidth value is within a first preset bandwidth value range or not in a call state;
the signal intensity judging module is used for judging whether the intensity value of the currently collected voice signal is smaller than a preset intensity value or not if the signal intensity is smaller than the preset distance;
and the calling module is used for calling and executing the judging module if the intensity value is smaller than the preset intensity value.
8. The mobile terminal of claim 5, wherein the first predefined bandwidth value comprises: 8KHz, the second preset bandwidth value comprises: 16 KHz.
CN201710259776.9A 2017-04-19 2017-04-19 Voice communication method and mobile terminal Active CN107087069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710259776.9A CN107087069B (en) 2017-04-19 2017-04-19 Voice communication method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710259776.9A CN107087069B (en) 2017-04-19 2017-04-19 Voice communication method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107087069A CN107087069A (en) 2017-08-22
CN107087069B true CN107087069B (en) 2020-02-28

Family

ID=59611742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710259776.9A Active CN107087069B (en) 2017-04-19 2017-04-19 Voice communication method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107087069B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886966A (en) * 2017-10-30 2018-04-06 捷开通讯(深圳)有限公司 Terminal and its method for optimization voice command, storage device
CN114915682B (en) * 2021-02-10 2023-11-03 华为技术有限公司 Voice processing method, device, storage medium and chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325622A (en) * 2008-08-07 2008-12-17 中国电信股份有限公司 Method, system for transmitting wideband sound and device for processing speech
CN102006349A (en) * 2010-11-25 2011-04-06 惠州Tcl移动通信有限公司 Method for improving mobile phone speech quality in conference mode and implementation device thereof
EP2407966A1 (en) * 2010-07-15 2012-01-18 Fujitsu Limited Method and Apparatuses for bandwidth expansion for voice communication
CN102522092A (en) * 2011-12-16 2012-06-27 大连理工大学 Device and method for expanding speech bandwidth based on G.711.1
CN104869226A (en) * 2014-02-20 2015-08-26 三星电子株式会社 Electronic device and method of controlling electronic device
CN105869653A (en) * 2016-05-31 2016-08-17 华为技术有限公司 Voice signal processing method and related device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5223786B2 (en) * 2009-06-10 2013-06-26 富士通株式会社 Voice band extending apparatus, voice band extending method, voice band extending computer program, and telephone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325622A (en) * 2008-08-07 2008-12-17 中国电信股份有限公司 Method, system for transmitting wideband sound and device for processing speech
EP2407966A1 (en) * 2010-07-15 2012-01-18 Fujitsu Limited Method and Apparatuses for bandwidth expansion for voice communication
CN102006349A (en) * 2010-11-25 2011-04-06 惠州Tcl移动通信有限公司 Method for improving mobile phone speech quality in conference mode and implementation device thereof
CN102522092A (en) * 2011-12-16 2012-06-27 大连理工大学 Device and method for expanding speech bandwidth based on G.711.1
CN104869226A (en) * 2014-02-20 2015-08-26 三星电子株式会社 Electronic device and method of controlling electronic device
CN105869653A (en) * 2016-05-31 2016-08-17 华为技术有限公司 Voice signal processing method and related device and system

Also Published As

Publication number Publication date
CN107087069A (en) 2017-08-22

Similar Documents

Publication Publication Date Title
CN108089891B (en) Application program starting method and mobile terminal
CN106791067B (en) Call volume adjusting method and device and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN109215683B (en) Prompting method and terminal
CN109508136B (en) Display method of application program and mobile terminal
CN107277209B (en) Call adjustment method and mobile terminal
CN107690032B (en) Call control method and mobile terminal
CN111124345A (en) Audio source processing method and mobile terminal
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN107087069B (en) Voice communication method and mobile terminal
CN108712563B (en) Call control method and device and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN106686249B (en) Voice communication method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN108366106B (en) Communication information updating method, management method, modification method and related equipment
CN108769364B (en) Call control method, device, mobile terminal and computer readable medium
CN111148081A (en) Information interaction method and electronic equipment
CN106101381B (en) Call request processing method and mobile terminal
CN107690026B (en) Signal processing method and mobile terminal
CN106816155B (en) Method and device for improving signal-to-noise ratio of voice transmission
CN110703962B (en) Method and terminal for creating shortcut
US9430988B1 (en) Mobile device with low-emission mode
CN111310165A (en) Account switching or registering method and electronic equipment
CN108959382B (en) Audio and video detection method and mobile terminal
CN106484223A (en) A kind of management method of application icon and 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