CN106385489B - A kind of method and mobile terminal of determining upstream voice data - Google Patents

A kind of method and mobile terminal of determining upstream voice data Download PDF

Info

Publication number
CN106385489B
CN106385489B CN201610798983.7A CN201610798983A CN106385489B CN 106385489 B CN106385489 B CN 106385489B CN 201610798983 A CN201610798983 A CN 201610798983A CN 106385489 B CN106385489 B CN 106385489B
Authority
CN
China
Prior art keywords
voice data
mobile terminal
preset value
secondary microphone
main microphon
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
CN201610798983.7A
Other languages
Chinese (zh)
Other versions
CN106385489A (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 CN201610798983.7A priority Critical patent/CN106385489B/en
Publication of CN106385489A publication Critical patent/CN106385489A/en
Application granted granted Critical
Publication of CN106385489B publication Critical patent/CN106385489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor

Landscapes

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

Abstract

The present invention provides the methods and mobile terminal of a kind of determining upstream voice data, pass through the main microphon and at least one secondary microphone of the voice data in mobile terminal setting for acquiring sound source generation, there is a distance, and whether the amplitude for monitoring the pulse code modulation signal of the first voice data of main microphon acquisition is greater than the first preset value between the main microphon and at least one described secondary microphone;If the amplitude of the pulse code modulation signal of the first voice data described in a moment is greater than the first preset value, the second speech data that at least one described secondary microphone acquires at the moment is obtained;First voice data of second speech data replacement synchronization is transmitted as upstream voice data.So as to effectively eliminate the distortion situation of upstream voice data, the quality of upstream voice data, use feeling of the enhancing user for mobile terminal are promoted.

Description

A kind of method and mobile terminal of determining upstream voice data
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of methods and movement of determining upstream voice data Terminal.
Background technique
At present the upstream voice data of mobile terminal mainly include recording, QQ wechat language chat, video, phone etc..At these In scene, when sound source distance microphone is closer or speaks up, the air-flow that voice generates passes through microphone leading note knot Structure is applied to microphone, the acoustic pressure of generation can reach the acoustics overload point of microphone (Acoustics Overload Point, AOP), and acoustic pressure be more than microphone acoustic overload point upstream voice data by mobile terminal analog gain amplification, modulus After conversion process, into the pulse code tune of data-signal processing module (Digital Signal Processing, DSP) Signal amplitude processed can reach 0 full scale decibel (dB Full Scale, dBFS), the feelings being distorted occur so as to cause voice data Condition, when broadcasting, will appear noise.
In the prior art, improve the case where voice data distortion, still, drop by reducing the technological means of analog gain The drawbacks of low analog gain generates is to send signal-to-noise ratio to reduce, and this processing mode equally will affect the matter of upstream voice data Amount.
Summary of the invention
The present invention provides the method and mobile terminal of a kind of determining upstream voice data, with solve present in the prior art by In voice data be distorted and the problem of be unable to ensure upstream voice data quality.
On the one hand, the embodiment of the invention provides a kind of methods of determining upstream voice data, are applied to mobile terminal, institute State mobile terminal can specifically include for acquire sound source generation voice data a main microphon and at least one secondary Mike Wind has a distance between the main microphon and at least one described secondary microphone;The described method includes:
It is pre- whether the amplitude of the pulse code modulation signal of the first voice data of monitoring main microphon acquisition is greater than first If value;
If the amplitude of the pulse code modulation signal of first voice data at a moment is greater than the first preset value, obtain The second speech data that at least one described secondary microphone acquires at the moment;
First voice data of second speech data replacement synchronization is transmitted as upstream voice data.
On the other hand, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes for acquiring sound A main microphon and at least one secondary microphone for the voice data that source generates, the main microphon and at least one described secondary wheat There is a distance between gram wind;The mobile terminal further include:
The amplitude of pulse code modulation signal of monitoring modular, the first voice data for monitoring main microphon acquisition is It is no to be greater than the first preset value;
Module is obtained, if the amplitude of the pulse code modulation signal of first voice data for a moment is greater than the One preset value obtains the second speech data that at least one described secondary microphone acquires at the moment;
Transmission module, for using the first voice data of second speech data replacement synchronization as ascending voice Data are transmitted.
From described above as can be seen that the method for determining upstream voice data provided in an embodiment of the present invention and movement are whole End, a main microphon and at least one secondary Mike by the voice data in mobile terminal setting for acquiring sound source generation Wind has a distance between the main microphon and at least one described secondary microphone, and monitors the first of main microphon acquisition Whether the amplitude of the pulse code modulation signal of voice data is greater than the first preset value;If the first voice data described in a moment The amplitude of pulse code modulation signal is greater than the first preset value, obtains what at least one described secondary microphone acquired at the moment Second speech data;First voice data of second speech data replacement synchronization is carried out as upstream voice data Transmission.So as to effectively eliminating the distortion situation of upstream voice data, promote the quality of upstream voice data, enhancing user for The use feeling of mobile terminal.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is mobile terminal structure schematic diagram one provided in an embodiment of the present invention;
Fig. 2 is that the method for determining upstream voice data provided in an embodiment of the present invention realizes process schematic one;
Fig. 3 is mobile terminal structure schematic diagram two provided in an embodiment of the present invention;
Fig. 4 is that the method for determining upstream voice data provided in an embodiment of the present invention realizes process schematic two;
Fig. 5 is mobile terminal structure schematic diagram three provided in an embodiment of the present invention;
Fig. 6 is mobile terminal structure schematic diagram four provided in an embodiment of the present invention;
Fig. 7 is to obtain modular structure schematic diagram in mobile terminal provided in an embodiment of the present invention;
Fig. 8 is mobile terminal structure schematic diagram five provided in an embodiment of the present invention;
Fig. 9 is mobile terminal structure schematic diagram six provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention Attached drawing, the technical solution of the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is this hair Bright a part of the embodiment, instead of all the embodiments.Based on described the embodiment of the present invention, ordinary skill Personnel's every other embodiment obtained, shall fall within the protection scope of the present invention.
Unless otherwise defined, the technical term or scientific term used herein should be in fields of the present invention and has The ordinary meaning that the personage of general technical ability is understood.Used in present patent application specification and claims " the One ", " second " and similar word are not offered as any sequence, quantity or importance, and are used only to distinguish different Component part.Equally, the similar word such as "one" or " one " does not indicate that quantity limits yet, but indicates that there are at least one. " connection " either the similar word such as " connected " is not limited to physics or mechanical connection, but may include electrical Connection, it is either direct or indirect."upper", "lower", "left", "right" etc. are only used for indicating relative positional relationship, work as quilt After the absolute position of description object changes, which also correspondingly changes.
The embodiment of the invention provides a kind of methods of determining upstream voice data, are applied to mobile terminal 10, such as Fig. 1 institute Show, a main microphon 11 and at least for the voice data for acquiring sound source generation specifically can be set in the mobile terminal 10 One secondary microphone 12, also, the distance of the main microphon 11 apart from sound source is less than distance of the secondary microphone 12 apart from sound source, i.e., There is a distance L between main microphon 11 and at least one secondary microphone 12.
In one embodiment, as shown in Figure 1, main microphon 11 involved in the embodiment of the present invention specifically may be disposed at Mobile terminal 10 one predetermined position of lower part (lower part concretely mobile terminal 10 by when normal use close to user's mouth That is the part of sound source), at least one secondary microphone 12 is set to the top one opposite with the lower part of mobile terminal 10 and presets position Set place (top concretely mobile terminal 10 by when normal use close to the part of user's auricle).When secondary microphone 12 exists When multiple, multiple secondary microphones 12 may be disposed at the predetermined position on 10 top of mobile terminal.
As shown in Fig. 2, the method for the determination upstream voice data can specifically include:
Step 201, the amplitude of the pulse code modulation signal for the first voice data that real-time monitoring main microphon 11 acquires Whether the first preset value is greater than.
When the acoustic pressure that sound source generates reaches the acoustics overload point (Acoustics Overload Point, AOP) of microphone When the case where will appear voice data distortion, the amplitude of the pulse code modulation signal of the voice data in such situation can approach 0dBFS.So for the quality for improving upstream voice data, the case where avoiding upstream voice data from being distorted, the present invention is real Apply the first voice data for determining that the method for upstream voice data needs real-time monitoring main microphon 11 to acquire provided by example Whether the amplitude of pulse code modulation signal is greater than the first preset value (limit1), and in the first language acquired when main microphon 11 When the amplitude of the pulse code modulation signal of sound data is greater than the first preset value, first voice data is abandoned, by the application institute The secondary microphone 12 being related to replaces that the appearance is distorted in the second speech data acquired with the first voice data synchronization One voice data is transmitted as final upstream voice data;If the pulse code modulation of above-mentioned first voice data is believed Number amplitude be less than or equal to the first preset value, transmitted using first voice data as upstream voice data.
As described above, voice data can go out when the amplitude of the pulse code modulation signal of voice data can be close to 0dBFS The case where being now distorted, therefore, in order to avoid there is the case where upstream voice data is distorted, involved in the embodiment of the present invention First preset value (limit1) is smaller than 0dBFS, such as limit1=-1dBFS etc..First preset value is an adjustable numerical value, In specific application, it can be set and be chosen based on actual demand.
In order to obtain voice data pulse code modulation signal amplitude, method involved in the embodiment of the present invention holding Can also include specifically following processing step before row step 301:
The voice data acquired to main microphon 11 and secondary microphone 12 carries out analog gain processing;
Analog-to-digital conversion process is carried out to the voice data for carrying out analog gain processing, obtains main microphon 11 and secondary microphone The pulse code modulation signal of the voice data of 12 acquisitions;
The pulse code modulation signal for the voice data that main microphon 11 and secondary microphone 12 acquire is stored respectively to right In the buffer 15 answered.
As shown in figure 3, specifically can also include analog gain module 13, mould within mobile terminal 10 involved in the application The devices such as number conversion module (ADC) 14, buffer (Buffer) 15, to realize above-mentioned processing step.
And there are multiple microphones (11 Hes of main microphon corresponding to mobile terminal 10 involved in the embodiment of the present invention At least one secondary microphone 12) the case where, it may be present and multiple microphones in mobile terminal 10 involved in the embodiment of the present invention The language data process channel that corresponding multirouting analog gain module 13, analog-to-digital conversion module 14, buffer 15 form, with reality Analog gain processing, analog-to-digital conversion process and buffered now are carried out to the voice data of each microphone acquisition respectively.
Buffer 15 involved in above-mentioned specifically may be disposed in the CPU16 of mobile terminal 10, within the CPU16 specifically also Digital signal processing module (DSP) 17 can be set, examined with the amplitude of the pulse code modulation signal for realizing voice data It surveys, compare, determine the concrete operations of upstream voice data.Analog gain module 13, modulus involved in the embodiment of the present invention turn Mold changing block 14, buffer 15 etc. specifically can be used mature, positive means and realize.
Step 202, it if the amplitude of the pulse code modulation signal of first voice data of moment is greater than the first preset value, obtains The second speech data for taking at least one secondary microphone 12 to acquire at the moment.
If the amplitude of the pulse code modulation signal of first voice data of moment is greater than the first preset value, illustrate the voice Therefore the possibility that data have distortion can abandon first voice data, and obtain at least one secondary microphone 12 at the moment The second speech data of acquisition come replace main microphon 11 acquisition the first voice data as upstream voice data.
In order to ensure the second speech data for replacement is identical as the content in the first voice data being replaced, this hair Bright embodiment records main microphon 11 while opening main microphon 11 and at least one secondary microphone 12 acquisition voice data The time of voice data is acquired with secondary microphone 12, in this way, when needing to be replaced possible first can be distorted based on existing The time tag of voice data searches the second speech data of same time to replace first voice data, to can ensure that There is no variations for replaced voice data content.In a specific embodiment i.e. of the invention, at least one pair is obtained realizing It, specifically can be based on the acquisition of the second speech data of record when the step for the second speech data that microphone 12 acquired at a moment Time obtains the second speech data that at least one secondary microphone 12 acquires at the moment.
Corresponding to the quantity of secondary microphone 12 involved in the embodiment of the present invention, which can specifically include following Technology contents:
It, in step 202 can be directly by the secondary microphone 12 if 1) be provided with a secondary microphone 12 in mobile terminal 10 The voice data of acquisition is as second speech data.
Due to having a distance L in the embodiment of the present invention between main microphon 11 and secondary microphone 12, and usually sound source (example Such as the mouth of user) it is located near main microphon 11, such sound source can also have a distance apart from secondary microphone 12, then sound exists The transmission process of this distance can reduce acoustic pressure, so that the acoustic pressure for the voice data for acquiring secondary microphone 12 can't be more than pair The voice data of the acoustics overload point of microphone 12, i.e. secondary microphone 12 acquisition can't have the case where distortion, so as to true Protect the quality of upstream voice data.
It is specific in step 202 if 2) be provided with multiple (two and two or more) secondary microphones 12 in mobile terminal 10 It may comprise steps of:
Obtain multiple voice data that multiple secondary microphones 12 acquire at the moment;
The amplitude of strobe pulse modulation signals is less than the second preset value (limit2) and arteries and veins in multiple voice data Rush the maximum voice data of amplitude of modulation signals;
The amplitude of the pulse code modulation signal of the voice data of selection is amplified to third preset value, obtains two voice numbers According to.
The realization of above-mentioned steps, can multiple secondary microphones 12 acquire multiple voice data in selection signal optimal quality Or close to preset value voice data as second speech data, that is, final transmitted upstream voice data, to can ensure that The quality of upstream voice data, avoids the occurrence of the case where upstream voice data is distorted.
Second preset value (limit2) also optional, adjustable numerical value involved in above-mentioned, its object is to can Top-quality one is selected from multiple voice data that multiple secondary microphones 12 acquire, and i.e. there is no the voices of distortion situation Data.In one embodiment, which is smaller than the first preset value, such as -2dBFS.
Third preset value (limit3) also optional, adjustable numerical value involved in above-mentioned, and by the language of selection The amplitude of the pulse code modulation signal of sound data be amplified to third preset value process be digital gain amplification process, mesh The transmission quality for being to ensure that the voice data, that is, enhance the voice data send when signal-to-noise ratio, avoid the voice data Occur quality problems during transmission.In one embodiment, which can be greater than the first preset value, example Such as -0.5dBFS.
Step 203, the first voice data of second speech data replacement synchronization is carried out as upstream voice data Transmission.
It, can be from 12 institute of secondary microphone after passing through the monitoring of above-mentioned voice data, comparison, selecting, determine operation processing Selection determination can replace the second speech data of the first voice data of synchronization at least one voice data obtained, will First voice data of second speech data replacement synchronization is transmitted as final upstream voice data, so as to The quality for ensuring upstream voice data avoids the problem that upstream voice data has distortion.Corresponding to the voice data of conversational class, Communication effect can be promoted, recipient is enable not hear the voice communication content for sending words side;Corresponding to recording class voice data, can mention The effect of recording broadcasting is risen, noise is reduced.
The realization that the method for upstream voice data is determined provided by the embodiments of the present invention, by mobile terminal 10 The main microphon 11 and at least one secondary microphone 12 of voice data for acquiring sound source generation, the main microphon 11 are set There is a distance between at least one secondary microphone 12, and the pulse for monitoring the first voice data of the acquisition of main microphon 11 is compiled Whether the amplitude of code modulated signal is greater than the first preset value;If the width of the pulse code modulation signal of first voice data of moment Degree is greater than the first preset value, obtains the second speech data that at least one described secondary microphone 12 acquires at the moment;By institute The first voice data for stating second speech data replacement synchronization is transmitted as upstream voice data.So as to effectively disappear Except the distortion situation of upstream voice data, the quality of upstream voice data, use feeling of the enhancing user for mobile terminal are promoted By.
Below for a specific embodiment of the method for determining upstream voice data provided by the embodiment of the present invention Realization process is described in detail.
In the embodiment, it may be provided with a main microphon 11 and two secondary microphones 12 in mobile terminal 10, wherein main wheat Gram wind 11 is set to 10 lower part of mobile terminal, one predetermined position, and two secondary microphones 12 are respectively arranged at 10 top of mobile terminal Predetermined position.
As shown in figure 4, the embodiment can specifically include:
Step 401, acquisition voice data and timing.
Specifically, the main microphon 11 and two secondary microphones 12 opened in mobile terminal 10 can be synchronized, respectively Voice data is acquired, meanwhile, start timing to record the time of three microphone acquisition voice data respectively.
Step 402, analog gain, analog-to-digital conversion process are carried out to the voice data of acquisition, and stored to corresponding buffering In device 15.
Step 403, the first voice data that real-time monitoring main microphon 11 acquires, judges the pulse of first voice data Whether the amplitude of modulation signals is greater than the first preset value, and when judging result be greater than when, triggering executes step 404, Otherwise step 407 is triggered, which is determined as upstream voice data and is transmitted.
Step 404, secondary microphone 12 is obtained in the voice data acquired with the first voice data synchronization.
By inquire the first voice data record information, determine the main microphon 11 acquire first voice data when Between information, be then based on the temporal information, stored in query buffer 15, two secondary microphones 12 are acquired in the time Voice data.
Step 405, select a voice data as the second voice number in the voice data of two secondary microphones 12 acquisition According to.
Specifically, the strobe pulse modulation signals i.e. in two voice data that two secondary microphones 12 acquire Amplitude less than the second preset value and pulse code modulation signal the maximum voice data of amplitude as second speech data.
Step 406, using the first voice data of the second speech data selected replacement synchronization as final uplink Voice data is transmitted.
The realization of above-described embodiment can effectively eliminate the distortion situation of upstream voice data, promote upstream voice data Quality, use feeling of the enhancing user for mobile terminal.
It include for acquiring voice number in the mobile terminal 500 the embodiment of the invention also provides a kind of mobile terminal 500 According to a main microphon and at least one secondary microphone (referring to figure 1, attached drawing 5 does not show place), the main microphon and at least There is a distance L between one secondary microphone.
As shown in figure 5, the mobile terminal 500 specifically can be with further include:
Monitoring modular 510, the width of the pulse code modulation signal of the first voice data for monitoring main microphon acquisition Whether degree is greater than the first preset value;
Module 520 is obtained, if the amplitude of the pulse code modulation signal for first voice data of moment is greater than first Preset value obtains the second speech data that at least one secondary microphone acquires at the moment;
Transmission module 530, for will acquire the first language of the replacement synchronization of second speech data acquired in module 520 Sound data are transmitted as upstream voice data.
In one embodiment, as shown in fig. 6, the mobile terminal 500 specifically can also include:
Timing module 540, for recording the time of main microphon and at least one secondary microphone acquisition voice data.
The acquisition time for obtaining second speech data of the module 520 based on record, obtains at least one secondary microphone one The second speech data of moment acquisition.
In one embodiment, as shown in fig. 7, obtaining module 520 can specifically include:
Acquiring unit 521, multiple languages that multiple secondary microphones for obtaining the setting of mobile terminal 500 acquire at a moment Sound data.
Specifically, acquiring unit 521 obtains the voice number of its storage by read buffers 15 (as shown in Fig. 3) According to.
Selecting unit 522, the amplitude for the strobe pulse modulation signals in multiple voice data are pre- less than second If the maximum voice data of amplitude of value and pulse code modulation signal, second preset value is less than the first preset value.
The amplitude of amplifying unit 523, the pulse code modulation signal of the voice data for selecting selecting unit 522 is put Greatly to third preset value, second speech data is obtained, which is greater than the first preset value.
In one embodiment, it can specifically include analog gain module 13 as shown in Figure 3 in mobile terminal 500 (carrying out analog gain processing for the voice data to main microphon and secondary microphone acquisition), analog-to-digital conversion module 14 (are used for Analog-to-digital conversion is carried out to treated the voice data of analog gain module 13, obtains the voice of main microphon and secondary microphone acquisition The pulse code modulation signal of data) and (voice acquired for storing main microphon and secondary microphone respectively of buffer 15 The pulse code modulation signal of data).
Mobile terminal 500 provided by the embodiment of the present invention can be realized involved in embodiment of the method shown in Fig. 1 to Fig. 4 And each process, to avoid repeating, which is not described herein again.
Mobile terminal 500 provided by the embodiment of the present invention can effectively eliminate the distortion situation of upstream voice data, be promoted The quality of upstream voice data, use feeling of the enhancing user for mobile terminal.
Fig. 8 is the block diagram of the mobile terminal 800 of another embodiment of the present invention.Mobile terminal 800 shown in Fig. 8 includes: At least one processor 801, memory 802, at least one network interface 804 and user interface 803.In mobile terminal 800 Various components are coupled by bus system 805.It is understood that bus system 805 is for realizing the company between these components Connect letter.Bus system 805 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But It is that various buses are all designated as bus system 805 in fig. 8 for the sake of clear explanation.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 802 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 8011 and application program 8012.
Wherein, operating system 8011 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 8012 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8012.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application The program or instruction stored in program 8012, processor 801 are used for: the pulse of the first voice data of monitoring main microphon acquisition Whether the amplitude of modulation signals is greater than the first preset value;If the pulse code modulation of first voice data at a moment The amplitude of signal is greater than the first preset value, obtains the second voice number that at least one described secondary microphone acquires at the moment According to;First voice data of second speech data replacement synchronization is transmitted as upstream voice data.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801. Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 802, processor 801 reads the information in memory 802, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 801 is also used to: record main microphon and at least one secondary microphone acquisition voice data when Between, and the acquisition time of the second speech data based on record, at least one secondary microphone is obtained in a moment acquisition Second speech data.
Optionally, processor 801 is also used to: obtaining multiple voice data that multiple secondary microphones acquire at the moment; The amplitude of strobe pulse modulation signals is less than the second preset value in the multiple voice data and pulse code modulation is believed Number the maximum voice data of amplitude, second preset value be less than first preset value;By the arteries and veins of the voice data of selection The amplitude for rushing modulation signals is amplified to third preset value, obtains the second speech data, and the third preset value is greater than First preset value.
Optionally, processor 801 is also used to: the voice data acquired to main microphon and secondary microphone carries out analog gain Processing;Analog-to-digital conversion process is carried out to the voice data for carrying out analog gain processing, obtains main microphon and secondary microphone acquisition Voice data pulse code modulation signal;The pulse code for the voice data that the main microphon and secondary microphone are acquired Modulated signal is stored respectively into corresponding buffer.
Mobile terminal 800 can be realized each process that mobile terminal 500 is realized in previous embodiment, to avoid repeating, Which is not described herein again.
Mobile terminal 800 provided by the embodiment of the present invention can effectively eliminate the distortion situation of upstream voice data, be promoted The quality of upstream voice data, use feeling of the enhancing user for mobile terminal.
Fig. 9 is the structural schematic diagram of the mobile terminal 900 of another embodiment of the present invention.Specifically, the mobile end in Fig. 9 End 900 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted Computer etc..
Mobile terminal 900 in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input Unit 930, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) module 980 and electricity Source 990.
Wherein, input unit 930 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 900 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 931.Touch panel 931, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 931 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 931 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 960 is given again, and can be received order that processor 960 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 931.In addition to touch panel 931, input unit 930 can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 940 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 900.Display unit 940 may include display panel 941, optionally, can use LCD or organic hair The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that touch panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device 960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 960 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 921, and calling storage Data in second memory 922 execute the various functions and processing data of mobile terminal 900, thus to mobile terminal 900 Carry out integral monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/ Or the data in the second memory 922, processor 960 are used for: the pulse of the first voice data of monitoring main microphon acquisition Whether the amplitude of modulation signals is greater than the first preset value;If the pulse code modulation of first voice data at a moment The amplitude of signal is greater than the first preset value, obtains the second voice number that at least one described secondary microphone acquires at the moment According to;First voice data of second speech data replacement synchronization is transmitted as upstream voice data.
Optionally, processor 960 is also used to: record main microphon and at least one secondary microphone acquisition voice data when Between, and the acquisition time of the second speech data based on record, at least one secondary microphone is obtained in a moment acquisition Second speech data.
Optionally, processor 960 is also used to: obtaining multiple voice data that multiple secondary microphones acquire at the moment; The amplitude of strobe pulse modulation signals is less than the second preset value in the multiple voice data and pulse code modulation is believed Number the maximum voice data of amplitude, second preset value be less than first preset value;By the arteries and veins of the voice data of selection The amplitude for rushing modulation signals is amplified to third preset value, obtains the second speech data, and the third preset value is greater than First preset value.
Optionally, processor 960 is also used to: the voice data acquired to main microphon and secondary microphone carries out analog gain Processing;Analog-to-digital conversion process is carried out to the voice data for carrying out analog gain processing, obtains main microphon and secondary microphone acquisition Voice data pulse code modulation signal;The pulse code for the voice data that the main microphon and secondary microphone are acquired Modulated signal is stored respectively into corresponding buffer.
Mobile terminal 900 can be realized each process that mobile terminal 500 is realized in previous embodiment, to avoid repeating, Which is not described herein again.
As it can be seen that mobile terminal 900 provided by the embodiment of the present invention can effectively eliminate the distortion situation of upstream voice data, Promote the quality of upstream voice data, use feeling of the enhancing user for mobile terminal.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of method of determining upstream voice data is applied to mobile terminal, which is characterized in that the mobile terminal includes using In the main microphon and at least one secondary microphone of the voice data that acquisition sound source generates, the main microphon is in mobile terminal Setting positional distance described in the distance of sound source be less than at least one described secondary microphone in the setting positional distance of mobile terminal The distance of the sound source has a distance between the main microphon and at least one described secondary microphone;The described method includes:
Whether the amplitude of the pulse code modulation signal of the first voice data of monitoring main microphon acquisition is greater than the first preset value;
If the amplitude of the pulse code modulation signal of the first voice data described in a moment is greater than the first preset value, acquisition is described extremely The second speech data that a few secondary microphone acquires at the moment;
First voice data of second speech data replacement synchronization is transmitted as upstream voice data.
2. the method as described in claim 1, which is characterized in that in the first voice data that the monitoring main microphon acquires Before the step of whether amplitude of pulse code modulation signal is greater than the first preset value further include:
Record the time of the main microphon and at least one described secondary microphone acquisition voice data;
The step of second speech data that at least one secondary microphone described in the acquisition acquired at the moment includes:
The acquisition time of the second speech data based on record obtains at least one described secondary microphone and adopts at the moment The second speech data of collection.
3. the method as described in claim 1, which is characterized in that described if in the mobile terminal including multiple secondary microphones The step of obtaining the second speech data that at least one described secondary microphone acquired at the moment include:
Obtain multiple voice data that multiple secondary microphones acquire at the moment;
The amplitude of strobe pulse modulation signals is less than the second preset value and pulse code tune in the multiple voice data The maximum voice data of the amplitude of signal processed, second preset value are less than first preset value;
The amplitude of the pulse code modulation signal of the voice data of selection is amplified to third preset value, obtains second voice Data, the third preset value are greater than first preset value.
4. the method as described in claim 1, which is characterized in that in the first voice data that the monitoring main microphon acquires Before the step of whether amplitude of pulse code modulation signal is greater than the first preset value, further includes:
The voice data acquired to main microphon and secondary microphone carries out analog gain processing;
To carry out analog gain processing voice data carry out analog-to-digital conversion process, obtain main microphon and secondary microphone acquisition The pulse code modulation signal of voice data;
The pulse code modulation signal for the voice data that the main microphon and secondary microphone acquire is stored respectively to corresponding In buffer.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes one for acquiring the voice data of sound source generation Main microphon and at least one secondary microphone, the distance of main microphon sound source described in the setting positional distance of mobile terminal Less than at least one described secondary microphone mobile terminal setting positional distance described in sound source distance, the main microphon with There is a distance between at least one described secondary microphone;The mobile terminal further include:
Whether the amplitude of monitoring modular, the pulse code modulation signal of the first voice data for monitoring main microphon acquisition is big In the first preset value;
Module is obtained, is preset if the amplitude for the pulse code modulation signal of the first voice data described in a moment is greater than first Value obtains the second speech data that at least one described secondary microphone acquires at the moment;
Transmission module, for using the first voice data of second speech data replacement synchronization as upstream voice data It is transmitted.
6. mobile terminal as claimed in claim 5, which is characterized in that further include:
Timing module, for recording the time of the main microphon and at least one described secondary microphone acquisition voice data;
The acquisition time for obtaining the second speech data of the module based on record obtains at least one described secondary microphone In the second speech data of moment acquisition.
7. mobile terminal as claimed in claim 5, which is characterized in that include multiple secondary microphones, institute in the mobile terminal Stating acquisition module includes:
Acquiring unit, the multiple voice data acquired for obtaining multiple secondary microphones at the moment;
Selecting unit, the amplitude for the strobe pulse modulation signals in the multiple voice data is less than the second preset value And the maximum voice data of amplitude of pulse code modulation signal, second preset value are less than first preset value;
Amplifying unit, the amplitude of the pulse code modulation signal of the voice data for selecting the selecting unit are amplified to Three preset values, obtain the second speech data, and the third preset value is greater than first preset value.
8. mobile terminal as claimed in claim 5, which is characterized in that further include:
Analog gain module carries out analog gain processing for the voice data to main microphon and secondary microphone acquisition;
Analog-to-digital conversion module obtains main wheat for carrying out analog-to-digital conversion to the voice data after the analog gain resume module The pulse code modulation signal of gram wind and the voice data of secondary microphone acquisition;
Buffer, the pulse code modulation letter of the voice data for storing the main microphon and secondary microphone acquisition respectively Number.
CN201610798983.7A 2016-08-31 2016-08-31 A kind of method and mobile terminal of determining upstream voice data Active CN106385489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610798983.7A CN106385489B (en) 2016-08-31 2016-08-31 A kind of method and mobile terminal of determining upstream voice data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610798983.7A CN106385489B (en) 2016-08-31 2016-08-31 A kind of method and mobile terminal of determining upstream voice data

Publications (2)

Publication Number Publication Date
CN106385489A CN106385489A (en) 2017-02-08
CN106385489B true CN106385489B (en) 2019-01-15

Family

ID=57937908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610798983.7A Active CN106385489B (en) 2016-08-31 2016-08-31 A kind of method and mobile terminal of determining upstream voice data

Country Status (1)

Country Link
CN (1) CN106385489B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109121042B (en) * 2018-07-26 2020-12-08 Oppo广东移动通信有限公司 Voice data processing method and related product
CN112584293B (en) * 2018-07-26 2022-04-08 Oppo广东移动通信有限公司 Microphone hole blockage detection method and related product
CN111432160A (en) * 2020-04-01 2020-07-17 广州市百果园信息技术有限公司 Method, device, server and storage medium for realizing multi-person call
CN113992783A (en) * 2021-11-05 2022-01-28 珠海格力电器股份有限公司 Network communication method, device, storage medium and user equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447771A (en) * 2008-12-24 2009-06-03 北京中星微电子有限公司 Method and system for automatically controlling gains
CN101771913A (en) * 2009-09-28 2010-07-07 瑞声声学科技(深圳)有限公司 Method for controlling bass sound reproduction of audio frequency signal and method
JP2012074976A (en) * 2010-09-29 2012-04-12 Nec Casio Mobile Communications Ltd Mobile terminal, mobile system, and warning method
KR20130064243A (en) * 2011-12-08 2013-06-18 삼성전자주식회사 Method and apparatus for processing audio in mobile terminal
CN105679356A (en) * 2014-11-17 2016-06-15 中兴通讯股份有限公司 Recording method, device and terminal
CN105702264A (en) * 2015-12-30 2016-06-22 努比亚技术有限公司 Audio processing device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447771A (en) * 2008-12-24 2009-06-03 北京中星微电子有限公司 Method and system for automatically controlling gains
CN101771913A (en) * 2009-09-28 2010-07-07 瑞声声学科技(深圳)有限公司 Method for controlling bass sound reproduction of audio frequency signal and method
JP2012074976A (en) * 2010-09-29 2012-04-12 Nec Casio Mobile Communications Ltd Mobile terminal, mobile system, and warning method
KR20130064243A (en) * 2011-12-08 2013-06-18 삼성전자주식회사 Method and apparatus for processing audio in mobile terminal
CN105679356A (en) * 2014-11-17 2016-06-15 中兴通讯股份有限公司 Recording method, device and terminal
CN105702264A (en) * 2015-12-30 2016-06-22 努比亚技术有限公司 Audio processing device and method

Also Published As

Publication number Publication date
CN106385489A (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN106303804B (en) A kind of control method and mobile terminal of microphone
CN107369459B (en) A kind of audio-frequency processing method and mobile terminal
CN106385489B (en) A kind of method and mobile terminal of determining upstream voice data
US10522164B2 (en) Method and device for improving audio processing performance
CN106341535B (en) A kind of audio play control method and mobile terminal
CN106504777B (en) A kind of processing method and mobile terminal of recording data
CN107071119B (en) A kind of sound removing method and mobile terminal
CN106357871A (en) Voice amplifying method and mobile terminal
CN106205580B (en) A kind of audio data processing method and terminal
US20110291930A1 (en) Electronic device with touch input function and touch input method thereof
CN106101909B (en) A kind of method and mobile terminal of earphone noise reduction
CN105827853B (en) A kind of output control method and mobile terminal of the outer playback amount of terminal
US20110270426A1 (en) Apparatus and method for adjusting for input latency in an electronic device
CN107623776A (en) A kind of method for controlling volume, system and mobile terminal
CN107743279B (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN106714038B (en) A kind of control method and mobile terminal of sound intensity
EP3067891A1 (en) Sound processing method and terminal device
CN107450883B (en) A kind of audio data processing method, device and mobile terminal
CN106255000A (en) A kind of audio signal sample method and mobile terminal
CN107833579A (en) Noise cancellation method, device and computer-readable recording medium
CN110493691A (en) Abnormal sound detection method, device and electronic equipment
CN108492837B (en) Method, device and storage medium for detecting audio burst white noise
CN109901836A (en) Display methods, device and the client device of information flow
CN110086941B (en) Voice playing method and device and terminal equipment
CN107071127A (en) A kind of way of recording and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant