CN107369459B - A kind of audio-frequency processing method and mobile terminal - Google Patents

A kind of audio-frequency processing method and mobile terminal Download PDF

Info

Publication number
CN107369459B
CN107369459B CN201710756286.XA CN201710756286A CN107369459B CN 107369459 B CN107369459 B CN 107369459B CN 201710756286 A CN201710756286 A CN 201710756286A CN 107369459 B CN107369459 B CN 107369459B
Authority
CN
China
Prior art keywords
screen
audio signal
audio
mobile terminal
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
CN201710756286.XA
Other languages
Chinese (zh)
Other versions
CN107369459A (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 CN201710756286.XA priority Critical patent/CN107369459B/en
Publication of CN107369459A publication Critical patent/CN107369459A/en
Application granted granted Critical
Publication of CN107369459B publication Critical patent/CN107369459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques 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
    • G10L21/0208Noise filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/58Anti-side-tone circuits
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of audio-frequency processing method and mobile terminal, mobile terminal has at least two screens, this method comprises: detecting that the first screen of mobile terminal and the second screen are in folded state, and mobile terminal is in when conversing, and obtains the audio signal that the first audio player on the first screen receives;According to audio signal, generates an interference and eliminate audio signal;Audio signal is eliminated in the second audio player plays interference controlled on the second screen of mobile terminal, can prevent user speech dialog context from revealing, and guarantees the safety of user speech call and the call privacy of user, while improving the call experience of user.

Description

A kind of audio-frequency processing method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of audio-frequency processing methods and mobile terminal.
Background technique
With the popularization of intelligent terminals, user is also more and more using the scene of intelligent terminal.In different scenes, use Requirement of the family to individual privacy is also higher and higher.In order to protect user's communication privacy, the mode of uplink, downlink noise reduction is generallyd use Guarantee compared with can satisfy requirement of the user to In Call under small volume.
Wherein, call uplink principle of noise reduction are as follows: multi-microphone is detected by amplitude, the phase etc. to sound, difference Efficient voice signal and ambient noise signal, and ambient noise signal is eliminated.
Call downlink principle of noise reduction are as follows: ambient noise is examined by the way that the microphone near receiver is arranged in It surveys, the signal that will test carries out signal processing in mobile terminal internal processor, achievees the effect that downlink noise reduction.
(usage scenarios such as elevator, meeting room) are currently in more quiet enclosed environment in user, from receiver Hear that the sound of speaking of other side is also easy to produce sound leakage, the interior of call is easy to be heard by people around, it is difficult to guarantee that user is hidden It is private.Noise reduction mode in the prior art can not guarantee the communication effect of user while noise reduction, improve the call body of user It tests.
Summary of the invention
The embodiment of the present invention provides a kind of audio-frequency processing method and mobile terminal, easy to solve dialog context in the prior art It is heard by people around, so that dialog context is revealed, it is difficult to guarantee the problem of user's communication privacy and user's communication are experienced.
In a first aspect, the embodiment of the present invention provides a kind of audio-frequency processing method, applied to the shifting at least two screens Dynamic terminal, comprising:
Detect that the first screen of mobile terminal and the second screen are in folded state, and mobile terminal is in when conversing, Obtain the audio signal that the first audio player on the first screen receives;
According to audio signal, generates an interference and eliminate audio signal;
Audio signal is eliminated in the second audio player plays interference controlled on the second screen of mobile terminal.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, including at least two screens, comprising:
Module is obtained, the first screen and the second screen for detecting mobile terminal are in folded state, and mobile whole When end is in call, the audio signal that the first audio player on the first screen receives is obtained;
Processing module, for generating an interference and eliminating audio signal according to audio signal;
Audio is eliminated in control module, the second audio player plays interference on the second screen for controlling mobile terminal Signal.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal and include: memory, processor and be stored in storage On device and the computer program that can run on a processor, processor realize above-mentioned audio processing side when executing computer program Step in method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, the program realize the step in above-mentioned audio-frequency processing method when being executed by processor.
The beneficial effect of technical solution of the embodiment of the present invention includes at least:
Technical solution of the present invention, by being at folded state and mobile terminal at least two screens of mobile terminal When call, the audio signal received is obtained, interference is generated according to audio signal and eliminates audio signal, is played in audio signal When control interference eliminate audio signal play, with prevent user speech dialog context reveal, guarantee user speech call safety Property and user call privacy, while improve user call experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 shows audio-frequency processing method schematic diagrames provided in an embodiment of the present invention;
Fig. 2 indicates the screen diagrams of the mobile terminal of the embodiment of the present invention;
The audio processing flow diagram one of Fig. 3 expression embodiment of the present invention;
The audio processing flow diagram two of Fig. 4 expression embodiment of the present invention;
The audio processing flow diagram three of Fig. 5 expression embodiment of the present invention;
The mobile terminal schematic diagram of Fig. 6 expression embodiment of the present invention;
The mobile terminal block diagram one of Fig. 7 expression embodiment of the present invention;
Fig. 8 shows the mobile terminal block diagrams two of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of audio-frequency processing method, applied to the mobile terminal at least two screens, such as Shown in Fig. 1, comprising:
Step 101, the first screen for detecting mobile terminal and the second screen are in folded state, and mobile terminal is in When call, the audio signal that the first audio player on the first screen receives is obtained.
The mobile terminal of application of the embodiment of the present invention includes at least two screens, as shown in Fig. 2, including for mobile terminal The schematic diagram of one screen and the second screen, wherein the first audio player 203 is provided on the first screen 201, the second screen 202 On be provided with the second audio player 204.First screen 201 and the second screen 202, which fold, to be connected, and the first screen 201 and the For angular range between two screens 202 between 0~360 degree, the angle between the first screen 201 and the second screen 202 is 0 When spending, the first screen 201 is contacted with the display interface of the second screen 202, between the first screen 201 and the second screen 202 When angle is 360 degree, the display interface of the first screen 201 and the second screen 202 is away from each other.
Wherein, detect that the first screen of mobile terminal and the second screen are in folded state, and mobile terminal is in logical When words, the process for obtaining the audio signal that the first audio player on the first screen receives includes:
By the infrared sensor being set on the first screen, detect that the first screen and the second screen are in rugosity State, and mobile terminal is in when conversing, and obtains audio signal;Or according to the capacitance difference formed between mobile terminal and user, Determine that the first screen and the second screen are in folded state, and mobile terminal is in when conversing, and obtains audio signal.
It is provided with infrared sensor in the first screen, when mobile terminal is on call, is needed through infrared biography Sensor emits infrared signal;When not receiving the infrared signal of the second screen feedback within a preset time, determine the first screen with Second screen is in folded state, at this time available audio signal;Wherein the first screen and the second screen, which fold, connects, the When one screen and the second screen are in folding and mobile terminal on call, the angle between the first screen and the second screen It is less than or equal to 360 degree greater than 180 degree.
In the case where mobile terminal is on call, the infrared sensor in the first screen is sent out infrared signal, at this time User and the first screen contact.If receiving the infrared signal that the second screen is fed back after obtaining infrared signal within a preset time When, show that the angle of the first screen and the second screen is greater than 0 degree less than or equal to 180 degree, if not receiving the in preset time When the infrared signal of two screen feedbacks, then prove that the angle of the first screen and the second screen is greater than 180 less than or equal to 360 degree. When not receiving the infrared signal of the second screen feedback within a preset time, it can determine that mobile terminal is in fold at this time and lead to Speech phase.Wherein preset time here also could alternatively be pre-determined distance, and preset time and pre-determined distance both correspond to one Range.User obtains the audio content of call by the first audio player on the first screen.
Wherein, according to the capacitance difference formed between mobile terminal and user, determine that the first screen and the second screen are in folding Overlapping state, and mobile terminal includes: in the step of when conversing, obtaining audio signal
Whether in the case where mobile terminal is on call, detecting between the first screen and the second screen and user has capacitor Difference;When there is capacitance difference between the first screen and user, determine that the first screen and the second screen are in folded state, and obtain Audio signal;Wherein the first screen and the second screen, which fold, connects, and is in folding and movement eventually in the first screen and the second screen When holding on call, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
User can obtain audio-frequency information by the first audio player on the first screen in talking state, can also be with Audio-frequency information is obtained by the second audio player on the second screen, is passed through on the first screen in the embodiment of the present invention with user The first audio player obtain audio-frequency information for be illustrated.
Under talking state, detecting has capacitance difference between the first screen and user, between the second screen and user not When with capacitance difference, determine user and the first screen contact, not with the second screen contact, between the first screen and the second screen Angle is greater than 180 degree and is less than or equal to 360 degree, it can determines that the first screen and the second screen are in and folds talking state.This User obtains dialog context by the first audio player on the first screen in inventive embodiments.It is in and folds in mobile terminal When talking state, the audio signal that the first audio player on the first screen receives is obtained.
Step 102, according to audio signal, generate an interference and eliminate audio signal.
After obtaining audio signal, needs to generate interference according to audio signal and eliminate audio signal, wherein generating interference The process for eliminating audio signal includes two kinds, is described in detail separately below.
For the first generates the case where audio signal is eliminated in interference, after obtaining audio signal, audio is believed Number it is converted into electric signal;The audio processor of audio signal transmission after conversion to mobile terminal is subjected to amplitude and phase tune It is whole, it obtains equal with audio signal amplitude, opposite in phase interference and eliminates audio signal.
Wherein, when audio signal being carried out conversion processing, audio signal at this time is voice signal, is needed by being set to Audio signal is converted the identifiable electric signal of audio processor by the microphone of first audio player side.Then by conversion Electric signal transmission to audio processor, audio processor passes through the gain module in audio processor after obtaining electric signal Amplitude is carried out to the audio signal after conversion to zoom in or out adjusting, obtains adjustment signal;Pass through the lock in audio processor Phase ring or delayer carry out phase adjustment to adjustment signal, obtain interference and eliminate audio signal.
As shown in Fig. 2, the position on the first screen 201 close to the first audio player 203 is provided with microphone 205, Microphone 205 detects the audio signal that the first audio player 203 receives, and converting audio processor for audio signal can The electric signal of identification, then by electric signal transmission to audio processor.
Audio processor carries out range-adjusting by gain module to the signal received, i.e., real by adjusting gain module Zooming in or out for existing signal amplitude, obtains adjustment signal.After obtaining adjustment signal, by adjustment signal by gain module Being transmitted to phaselocked loop, perhaps delayer carries out phase adjustment in phaselocked loop or delayer, determines the signal after being adjusted Audio signal is eliminated for interference.Interference at this time eliminates that audio signal is equal with the amplitude of audio signal, opposite in phase.
It should be noted that believing after the step of converting electric signal for audio signal, and by the audio after conversion Before number being transmitted to the step of the audio processor of mobile terminal carries out amplitude and phase adjustment, this method further include:
The volume value of audio signal after conversion is compared with default volume threshold;Audio signal after conversion When volume value is greater than default volume threshold, the audio signal transmission after conversion to audio processor is subjected to amplitude and phase tune It is whole;When the volume value of audio signal after conversion is less than default volume threshold, audio signal is passed through into the first audio player Directly play.
Specifically, microphone is after obtaining audio signal and by audio signal converting electric signal, after needing to convert The volume value of audio signal be compared with default volume threshold, if being not above default volume threshold, be not required at this time It generates interference and eliminates audio signal, can directly play out.It is being more than default volume threshold, directly play will cause at this time The leakage of voice content needs to be sent to audio processor and carries out amplitude and phase adjusted, obtains interference and eliminates audio signal.
For the case where eliminating audio signal is interfered in second of generation, after obtaining audio signal, basis is needed Audio signal calls pre-stored noise signal to eliminate audio signal as interference.
After obtaining interference by any one of above two mode and eliminating audio signal, step 103 is executed.
Audio signal is eliminated in step 103, the second audio player plays interference controlled on the second screen of mobile terminal.
For audio signal is eliminated in interference equal with the amplitude of audio signal, opposite in phase, while playing audio Audio signal is eliminated in signal and interference, so that the first audio player is offseted with the sound field that the second audio player generates, In, audio signal by the first audio player plays, eliminate audio signal and pass through the second audio player plays by interference;Its In, the first screen and the second screen are folded and are connected, and are in folding in the first screen and the second screen and mobile terminal is in call When state, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
Specifically, audio signal is passed through the first audio on the first screen when playing out by audio player Interference is eliminated audio signal by the second audio player progress on the second screen while played by player, is playing Cheng Zhong, audio signal and interference eliminate audio signal and generate sound field, since the amplitude phase of audio and audio signal is eliminated in interference Deng, opposite in phase, therefore the sound field that two signals generate can be offset or weaken, to prevent user speech dialog context from revealing, Guarantee the safety of user speech call and the call privacy of user, while improving the call experience of user.
For audio signal is eliminated in the interference that noise signal generates, in the first audio player plays audio signal Meanwhile being interfered by the second audio player plays and eliminating audio signal, it will be believed by the audio of the first audio player plays It number is covered;Wherein the first screen and the second screen, which fold, connects, and is in folding and movement in the first screen and the second screen When terminal is on call, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
First audio player plays out the first audio signal, at the same time, the second audio player plays noise Audio signal is eliminated in the interference that signal generates, and in this case, when user's communication, surrounding population can obtain interference and eliminate audio Signal, and then guarantee the safety of user speech call.Wherein noise signal can be pre-stored in audio processor, needed When be directly called.
In the embodiment of the present invention, for audio signal is eliminated in interference equal with audio signal amplitude, opposite in phase, Corresponding audio processing process is as shown in Figure 3:
Whether step 301, detection mobile terminal are in folding talking state, are in mobile terminal and fold talking state When, step 302 is executed, it is no to then follow the steps 305.
Step 302 is handled by microphone acquisition audio signal.
Step 303, by microphone treated signal is sent to audio processor processing, generate and audio signal amplitude phase Audio signal is eliminated in interference Deng, opposite in phase.
Step 304, by audio signal by the first audio player on the first screen, audio signal eliminated into interference lead to The second audio player crossed on the second screen is carried out while being played, and carries out sound field counteracting.
Step 305 terminates process.
In the embodiment of the present invention, for audio signal is eliminated in interference equal with audio signal amplitude, opposite in phase, When needing the volume of audio signal compared with default volume threshold, corresponding audio processing process is as shown in Figure 4:
Whether step 401, detection mobile terminal are in folding talking state, are in mobile terminal and fold talking state When, step 402 is executed, it is no to then follow the steps 406.
Step 402 is handled by microphone acquisition audio signal.
Whether step 403, the volume of judgement treated audio signal are greater than default volume threshold, are being greater than default volume When threshold value, step 404 is executed, it is no to then follow the steps 406.
Step 404, by microphone treated signal is sent to audio processor processing, generate and audio signal amplitude phase Audio signal is eliminated in interference Deng, opposite in phase.
Step 405, by audio signal by the first audio player on the first screen, audio signal eliminated into interference lead to The second audio player crossed on the second screen is carried out while being played, and carries out sound field counteracting.
Step 406 directly plays audio signal by the first audio processor.
In the embodiment of the present invention, for noise signal generates interference elimination audio signal, corresponding audio processing stream Journey is as shown in Figure 5:
Whether step 501, detection mobile terminal are in folding talking state, are in mobile terminal and fold talking state When, step 502 is executed, it is no to then follow the steps 504.
Step 502, according to audio signal, call pre-stored noise signal to eliminate audio signal as interference.
Step 503, while the first audio player plays audio signal, pass through the second audio player plays interfere Audio signal is eliminated, will be covered by the audio signal of the first audio player plays.
Step 504 terminates process.
The embodiment of the present invention is in folded state by least two screens in mobile terminal and mobile terminal is in When call, the audio signal received is obtained, interference is generated according to audio signal and eliminates audio signal, when audio signal plays Control interference is eliminated audio signal and is played, and to prevent user speech dialog context from revealing, guarantees the safety of user speech call And the call privacy of user, while improving the call experience of user.
The embodiment of the present invention also provides a kind of mobile terminal, including at least two screens, as shown in Figure 6, comprising:
Module 10 is obtained, the first screen and the second screen for detecting mobile terminal are in folded state, and mobile When terminal is in call, the audio signal that the first audio player on the first screen receives is obtained;
Processing module 20, for generating an interference and eliminating audio signal according to audio signal;
Sound is eliminated in control module 30, the second audio player plays interference on the second screen for controlling mobile terminal Frequency signal.
Wherein, obtaining module 10 includes:
First acquisition submodule 11 detects the first screen for the infrared sensor by being set on the first screen It is in folded state with the second screen, and mobile terminal is in when conversing, and obtains audio signal;Or
Second acquisition submodule 12, for determining the first screen according to the capacitance difference formed between mobile terminal and user It is in folded state with the second screen, and mobile terminal is in when conversing, and obtains audio signal.
Wherein, the first acquisition submodule 11 includes:
Transmitting unit 111, for emitting infrared signal by infrared sensor in the case where mobile terminal is on call;
First acquisition unit 112 when for not receiving the infrared signal of the second screen feedback within a preset time, determines First screen and the second screen are in folded state, and obtain audio signal;
Wherein the first screen and the second screen, which fold, connects, and is in folding and mobile terminal in the first screen and the second screen When on call, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
Wherein, the second acquisition submodule 12 includes:
Detection unit 121, for detecting the first screen and the second screen and user in the case where mobile terminal is on call Between whether have capacitance difference;
Second acquisition unit 122 determines the first screen and the when for having capacitance difference between the first screen and user Two screens are in folded state, and obtain audio signal;
Wherein the first screen and the second screen, which fold, connects, and is in folding and mobile terminal in the first screen and the second screen When on call, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
Wherein, processing module 20 includes:
Submodule 21 is converted, for converting electric signal for audio signal;
Submodule 22 is handled, the audio processor for the audio signal transmission after converting to the mobile terminal carries out Amplitude and phase adjustment obtain equal with audio signal amplitude, opposite in phase interference and eliminate audio signal.
Wherein, control module 30 is further used for:
Audio signal is eliminated in playing audio signal and interference simultaneously, so that the first audio player and the second audio player The sound field of generation offsets, wherein audio signal by the first audio player plays, eliminate audio signal and pass through second by interference Audio player plays;Wherein, the first screen and the second screen, which fold, connects, the first screen and the second screen be in folding and When mobile terminal is on call, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
Wherein, processing submodule 22 includes:
Unit 221 is adjusted, for carrying out amplitude to the audio signal after conversion by the gain module in audio processor Zoom in or out adjusting, obtains adjustment signal;
Third acquiring unit 222, for being carried out by phaselocked loop in audio processor or delayer to adjustment signal Phase adjustment obtains interference and eliminates audio signal.
Wherein, processing module 20 further include:
Comparative sub-module 23, for handling submodule after audio signal is converted electric signal by conversion submodule 21 Before the audio processor of audio signal transmission after conversion to mobile terminal is carried out amplitude and phase adjustment by 22, after conversion The volume value of audio signal be compared with default volume threshold;
Control submodule 24, when the volume value for the audio signal after conversion is greater than default volume threshold, at control It manages submodule 22 and the audio signal transmission after conversion to audio processor is subjected to amplitude and phase adjustment;
Submodule 25 is played, when the volume value for the audio signal after conversion is less than default volume threshold, by audio Signal is directly played by the first audio player.
Wherein, processing module 20 is further used for:
According to audio signal, pre-stored noise signal is called to eliminate audio signal as interference.
Wherein, control module 30 is further used for:
While the first audio player plays audio signal, is interfered by the second audio player plays and eliminate audio Signal;
Wherein the first screen and the second screen, which fold, connects, and is in folding and mobile terminal in the first screen and the second screen When on call, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
The embodiment of the present invention also provides a kind of mobile terminal, comprising: memory, processor and storage are on a memory and can The computer program run on a processor, processor realize the step in above-mentioned audio-frequency processing method when executing computer program Suddenly.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program The step in above-mentioned audio-frequency processing method is realized when being executed by processor.
The embodiment of the present invention is in folded state by least two screens in mobile terminal and mobile terminal is in When call, the audio signal received is obtained, interference is generated according to audio signal and eliminates audio signal, when audio signal plays Control interference is eliminated audio signal and is played, and to prevent user speech dialog context from revealing, guarantees the safety of user speech call And the call privacy of user, while improving the call experience of user.
Fig. 7 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in Fig. 7 includes: at least One processor 701, memory 702, at least one network interface 704, microphone 706, audio processor 707 and other users Interface 703.Various components in mobile terminal 700 are coupled by bus system 705.It is understood that bus system 705 is used Connection communication between these components of realization.Bus system 705 further includes power bus, control in addition to including data/address bus Bus and status signal bus in addition processed.But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 7. Wherein mobile terminal 700 has at least two screens, corresponds to an audio player on each screen, sets on an at least screen It is equipped with microphone 706, wherein microphone 706 is set near audio player.Include with mobile terminal in the embodiment of the present invention It is illustrated for first screen and the second screen, wherein the first audio player is provided on the first screen, on the second screen It is provided with the second audio player, the side of the first audio player on the first screen is provided with microphone 706.
Wherein, user interface 703 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 702 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 (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 702 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 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 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 7022 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 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 are used for: being detected at the first screen and the second screen of mobile terminal In folded state, and mobile terminal is in when conversing, and obtains the audio letter that the first audio player on the first screen receives Number;According to audio signal, generates an interference and eliminate audio signal;The second audio controlled on the second screen of mobile terminal plays Device plays interference and eliminates audio signal.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 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 701 or the instruction of software form.Above-mentioned processing Device 701 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 702, processor 701 reads the information in memory 702, 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 herein described 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, it is in folded state in the first screen and the second screen for detecting mobile terminal, and at mobile terminal When call, the process for the audio signal that the first audio player on the first screen receives is obtained, processor 701 is also used to It executes following steps: by the infrared sensor being set on the first screen, detecting that the first screen and the second screen are in folding Overlapping state, and mobile terminal is in when conversing, and obtains audio signal;Or according to the capacitor formed between mobile terminal and user Difference determines that the first screen and the second screen are in folded state, and mobile terminal is in when conversing, and obtains audio signal.
Optionally, by the infrared sensor being set on the first screen, detect that the first screen is in the second screen Folded state, and mobile terminal is in when conversing, and obtains the process of audio signal, processor 701 is also used to execute following steps: In the case where mobile terminal is on call, infrared signal is emitted by infrared sensor;Do not receive second within a preset time When the infrared signal of screen feedback, determine that the first screen and the second screen are in folded state, and obtain audio signal;Wherein One screen and the second screen, which fold, to be connected, and is in folding with the second screen in the first screen and mobile terminal is on call When, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
Optionally, according to the capacitance difference formed between mobile terminal and user, determine that the first screen is in the second screen Folded state, and mobile terminal is in when conversing, and obtains the process of audio signal, processor 701 is also used to execute following steps: Whether in the case where mobile terminal is on call, detecting between the first screen and the second screen and user has capacitance difference;? It when there is capacitance difference between one screen and user, determines that the first screen and the second screen are in folded state, and obtains audio letter Number;Wherein the first screen and the second screen, which fold, connects, and is in folding with the second screen in the first screen and mobile terminal is in When talking state, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.The embodiment of the present invention Middle user obtains dialog context by the first audio player on the first screen.
Optionally, according to audio signal, when generating an interference elimination audio signal, processor 701 is also used to execute as follows Step: audio signal is converted electric signal by control microphone 706;By the sound of the audio signal transmission after conversion to mobile terminal Frequency processor 707 carries out amplitude and phase adjustment, obtains equal with audio signal amplitude, opposite in phase interference and eliminates audio letter Number.
Optionally, audio signal is eliminated in the second audio player plays interference controlled on the second screen of mobile terminal When, processor 701 is also used to execute following steps: while audio signal is eliminated in playing audio signal and interference, so that the first sound Frequency player is offseted with the sound field that the second audio player generates, wherein and audio signal passes through the first audio player plays, Interference eliminates audio signal and passes through the second audio player plays;Wherein, the first screen and the second screen, which fold, connects, first When screen and the second screen are in folding and mobile terminal on call, the angle between the first screen and the second screen is big It is less than or equal to 360 degree in 180 degree.
Optionally, the audio processor 707 of the audio signal transmission after conversion to mobile terminal is subjected to amplitude and phase Adjustment, when obtaining equal with audio signal amplitude, opposite in phase interference elimination audio signal, processor 701 is also used to execute Following steps: amplitude is carried out to the audio signal after conversion by the gain module in audio processor 707 and is zoomed in or out It adjusts, obtains adjustment signal;Phase tune is carried out to adjustment signal by phaselocked loop in audio processor 707 or delayer It is whole, it obtains interference and eliminates audio signal.
Optionally, after the step of converting electric signal for audio signal, and extremely by the audio signal transmission after conversion Before the audio processor 707 of mobile terminal carries out the step of amplitude and phase adjustment, processor 701 is also used to execute following step Rapid: the volume value of the audio signal after conversion is compared by control microphone 706 with default volume threshold;Sound after conversion When the volume value of frequency signal is greater than default volume threshold, the audio signal transmission after conversion to audio processor 707 is subjected to width Value and phase adjustment;When the volume value of audio signal after conversion is less than default volume threshold, processor 701 is by audio signal It is directly played by the first audio player.
Optionally, according to audio signal, when generating an interference elimination audio signal, processor 701 is also used to execute as follows Step: according to audio signal, pre-stored noise signal is called to eliminate audio signal as interference.
Optionally, audio signal is eliminated in the second audio player plays interference controlled on the second screen of mobile terminal When, processor 701 is also used to execute following steps: while the first audio player plays audio signal, passing through the second sound Audio signal is eliminated in the interference of frequency player plays;Wherein the first screen and the second screen, which fold, connects, in the first screen and second When screen is in folding and mobile terminal on call, it is small that the angle between the first screen and the second screen is greater than 180 degree In or equal to 360 degree.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
In this way, being obtained when being in folded state and mobile terminal by least two screens in mobile terminal and being in call The audio signal received is taken, interference is generated according to audio signal and eliminates audio signal, the control interference when audio signal plays It eliminates audio signal to play, to prevent user speech dialog context from revealing, guarantees safety and the user of user speech call Call privacy, while improve user call experience.
Fig. 8 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 8 800 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric Brain etc..
Mobile terminal 800 in Fig. 8 includes radio frequency (Radio Frequency, RF) circuit 810, memory 820, input Unit 830, display unit 840, microphone 850, processor 860, audio processor 870, WiFi (Wireless Fidelity) Module 880 and power supply 890.Wherein mobile terminal 800 has at least two screens, corresponds to an audio on each screen and plays Device is provided with microphone 850 on an at least screen, and wherein microphone 850 is set near audio player.
It is illustrated so that mobile terminal includes the first screen and the second screen as an example in the embodiment of the present invention, wherein the first screen It is provided with the first audio player on curtain, the second audio player, the first audio on the first screen are provided on the second screen The side of player is provided with microphone 850.
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 831.Touch panel 831, 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 831 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 831 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 860 is given again, and can be received order that processor 860 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 831.In addition to touch panel 831, input unit 830 can also include other input equipments 832, other input equipments 832 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 840 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 800.Display unit 840 may include display panel 841, optionally, can use LCD or organic hair The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 841.
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device 860 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 860 is the control centre of mobile terminal 800, 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 821, and calling storage Data in second memory 822 execute the various functions and processing data of mobile terminal 800, thus to mobile terminal 800 Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/ Or the data in the second memory 822, processor 860 are used for: being detected at the first screen and the second screen of mobile terminal In folded state, and mobile terminal is in when conversing, and obtains the audio letter that the first audio player on the first screen receives Number;According to audio signal, generates an interference and eliminate audio signal;The second audio controlled on the second screen of mobile terminal plays Device plays interference and eliminates audio signal.
Optionally, it is in folded state in the first screen and the second screen for detecting mobile terminal, and at mobile terminal When call, the process for the audio signal that the first audio player on the first screen receives is obtained, processor 860 is also used to It executes following steps: by the infrared sensor being set on the first screen, detecting that the first screen and the second screen are in folding Overlapping state, and mobile terminal is in when conversing, and obtains audio signal;Or according to the capacitor formed between mobile terminal and user Difference determines that the first screen and the second screen are in folded state, and mobile terminal is in when conversing, and obtains audio signal.
Optionally, by the infrared sensor being set on the first screen, detect that the first screen is in the second screen Folded state, and mobile terminal is in when conversing, and obtains the process of audio signal, processor 860 is also used to execute following steps: In the case where mobile terminal is on call, infrared signal is emitted by infrared sensor;Do not receive second within a preset time When the infrared signal of screen feedback, determine that the first screen and the second screen are in folded state, and obtain audio signal;Wherein One screen and the second screen, which fold, to be connected, and is in folding with the second screen in the first screen and mobile terminal is on call When, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.
Optionally, according to the capacitance difference formed between mobile terminal and user, determine that the first screen is in the second screen Folded state, and mobile terminal is in when conversing, and obtains the process of audio signal, processor 860 is also used to execute following steps: Whether in the case where mobile terminal is on call, detecting between the first screen and the second screen and user has capacitance difference;? It when there is capacitance difference between one screen and user, determines that the first screen and the second screen are in folded state, and obtains audio letter Number;Wherein the first screen and the second screen, which fold, connects, and is in folding with the second screen in the first screen and mobile terminal is in When talking state, the angle between the first screen and the second screen is greater than 180 degree and is less than or equal to 360 degree.The embodiment of the present invention Middle user obtains dialog context by the first audio player on the first screen.
Optionally, according to audio signal, when generating an interference elimination audio signal, processor 860 is also used to execute as follows Step: audio signal is converted electric signal by control microphone 850;By the sound of the audio signal transmission after conversion to mobile terminal Frequency processor 870 carries out amplitude and phase adjustment, obtains equal with audio signal amplitude, opposite in phase interference and eliminates audio letter Number.
Optionally, audio signal is eliminated in the second audio player plays interference controlled on the second screen of mobile terminal When, processor 860 is also used to execute following steps: while audio signal is eliminated in playing audio signal and interference, so that the first sound Frequency player is offseted with the sound field that the second audio player generates, wherein and audio signal passes through the first audio player plays, Interference eliminates audio signal and passes through the second audio player plays;Wherein, the first screen and the second screen, which fold, connects, first When screen and the second screen are in folding and mobile terminal on call, the angle between the first screen and the second screen is big It is less than or equal to 360 degree in 180 degree.
Optionally, the audio processor 870 of the audio signal transmission after conversion to mobile terminal is subjected to amplitude and phase Adjustment, when obtaining equal with audio signal amplitude, opposite in phase interference elimination audio signal, processor 860 is also used to execute Following steps: amplitude is carried out to the audio signal after conversion by the gain module in audio processor 870 and is zoomed in or out It adjusts, obtains adjustment signal;Phase tune is carried out to adjustment signal by phaselocked loop in audio processor 870 or delayer It is whole, it obtains interference and eliminates audio signal.
Optionally, after the step of converting electric signal for audio signal, and extremely by the audio signal transmission after conversion Before the audio processor 870 of mobile terminal carries out the step of amplitude and phase adjustment, processor 860 is also used to execute following step Rapid: the volume value of the audio signal after conversion is compared by control microphone 850 with default volume threshold;Sound after conversion When the volume value of frequency signal is greater than default volume threshold, the audio signal transmission after conversion to audio processor 870 is subjected to width Value and phase adjustment;When the volume value of audio signal after conversion is less than default volume threshold, processor 860 is by audio signal It is directly played by the first audio player.
Optionally, according to audio signal, when generating an interference elimination audio signal, processor 860 is also used to execute as follows Step: according to audio signal, pre-stored noise signal is called to eliminate audio signal as interference.
Optionally, audio signal is eliminated in the second audio player plays interference controlled on the second screen of mobile terminal When, processor 860 is also used to execute following steps: while the first audio player plays audio signal, passing through the second sound Audio signal is eliminated in the interference of frequency player plays;Wherein the first screen and the second screen, which fold, connects, in the first screen and second When screen is in folding and mobile terminal on call, it is small that the angle between the first screen and the second screen is greater than 180 degree In or equal to 360 degree.
In this way, being obtained when being in folded state and mobile terminal by least two screens in mobile terminal and being in call The audio signal received is taken, interference is generated according to audio signal and eliminates audio signal, the control interference when audio signal plays It eliminates audio signal to play, to prevent user speech dialog context from revealing, guarantees safety and the user of user speech call Call privacy, while improve user call experience.
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.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
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.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist In protection scope of the present invention.

Claims (16)

1. a kind of audio-frequency processing method, applied to the mobile terminal at least two screens characterized by comprising
Detect that the first screen of mobile terminal and the second screen are in folded state, and the mobile terminal is in when conversing, Obtain the audio signal that the first audio player on first screen receives;
According to the audio signal, generates an interference and eliminate audio signal;
It controls interference described in the second audio player plays on the second screen of the mobile terminal and eliminates audio signal;
According to the audio signal, generating the step of audio signal is eliminated in an interference includes:
Electric signal is converted by the audio signal;
The audio processor of the audio signal transmission after conversion to the mobile terminal is subjected to amplitude and phase adjustment, is obtained Audio signal is eliminated to interference equal with the audio signal amplitude, opposite in phase;
After described the step of converting electric signal for the audio signal, and extremely by the audio signal transmission after conversion Before the audio processor of the mobile terminal carries out the step of amplitude and phase adjustment, the method also includes:
The volume value of the audio signal after conversion is compared with default volume threshold;
When the volume value of the audio signal after conversion is greater than default volume threshold, the audio signal after conversion is passed It transports to the audio processor and carries out amplitude and phase adjustment;
When the volume value of the audio signal after conversion is less than default volume threshold, the audio signal is passed through described the One audio player directly plays;
The audio processor of the audio signal transmission after conversion to the mobile terminal is subjected to amplitude and phase adjustment, is obtained Include: to the step of interference equal with the audio signal amplitude, opposite in phase elimination audio signal
Amplitude is carried out to the audio signal after conversion by the gain module in the audio processor to zoom in or out It adjusts, obtains adjustment signal;
Phase adjustment is carried out to the adjustment signal by phaselocked loop in the audio processor or delayer, is obtained described Audio signal is eliminated in interference.
2. audio-frequency processing method according to claim 1, which is characterized in that detect the first screen and of mobile terminal Two screens are in folded state, and the mobile terminal is in when conversing, and the first audio obtained on first screen plays The step of audio signal that device receives includes:
By the infrared sensor being set on first screen, detect that first screen is in second screen Folded state, and the mobile terminal is in when conversing, and obtains the audio signal;Or
According to the capacitance difference formed between the mobile terminal and user, determine that first screen is in second screen Folded state, and the mobile terminal is in when conversing, and obtains the audio signal.
3. audio-frequency processing method according to claim 2, which is characterized in that red on first screen by being set to Outer sensor detects that first screen and second screen are in folded state, and the mobile terminal is in call When, the step of obtaining the audio signal includes:
In the case where the mobile terminal is on call, infrared signal is emitted by the infrared sensor;
When not receiving the infrared signal of second screen feedback within a preset time, first screen and described the are determined Two screens are in folded state, and obtain the audio signal;
Wherein first screen and second screen, which fold, connects, and is in folding in first screen and second screen When folded and described mobile terminal is on call, the angle between first screen and second screen is greater than 180 degree Less than or equal to 360 degree.
4. audio-frequency processing method according to claim 2, which is characterized in that according to shape between the mobile terminal and user At capacitance difference, determine first screen and second screen be in folded state, and the mobile terminal is in and converses When, the step of obtaining the audio signal includes:
In the case where the mobile terminal is on call, detect between first screen and second screen and user whether With capacitance difference;
When there is capacitance difference between first screen and user, determine that first screen and second screen are in folding Overlapping state, and obtain the audio signal;
Wherein first screen and second screen, which fold, connects, and is in folding in first screen and second screen When folded and described mobile terminal is on call, the angle between first screen and second screen is greater than 180 degree Less than or equal to 360 degree.
5. audio-frequency processing method according to claim 1, which is characterized in that control on the second screen of the mobile terminal The second audio player plays described in interference eliminate audio signal the step of include:
The audio signal and the interference are played simultaneously and eliminates audio signal, so that first audio player and described the The sound field that two audio players generate offsets, wherein the audio signal is described by first audio player plays Interference eliminates audio signal and passes through second audio player plays;
Wherein, first screen and second screen, which fold, connects, and is in first screen and second screen It folds and when the mobile terminal is on call, angle between first screen and second screen is greater than 180 Degree is less than or equal to 360 degree.
6. audio-frequency processing method according to claim 1, which is characterized in that according to the audio signal, generate an interference Eliminate audio signal the step of include:
According to the audio signal, pre-stored noise signal is called to eliminate audio signal as interference.
7. audio-frequency processing method according to claim 6, which is characterized in that control on the second screen of the mobile terminal The second audio player plays described in interference eliminate audio signal the step of include:
While the audio signal described in first audio player plays, by described in second audio player plays Audio signal is eliminated in interference;
Wherein first screen and second screen, which fold, connects, and is in folding in first screen and second screen When folded and described mobile terminal is on call, the angle between first screen and second screen is greater than 180 degree Less than or equal to 360 degree.
8. a kind of mobile terminal, including at least two screens characterized by comprising
Module is obtained, the first screen and the second screen for detecting mobile terminal are in folded state, and described mobile whole When end is in call, the audio signal that the first audio player on first screen receives is obtained;
Processing module, for generating an interference and eliminating audio signal according to the audio signal;
Control module is interfered described in the second audio player plays on the second screen for controlling the mobile terminal and is eliminated Audio signal;
The processing module includes:
Submodule is converted, for converting electric signal for the audio signal;
Submodule is handled, the audio processor for the audio signal transmission after converting to the mobile terminal carries out width Value and phase adjustment obtain equal with the audio signal amplitude, opposite in phase interference and eliminate audio signal;
The processing module further include:
Comparative sub-module, for after the audio signal is converted electric signal by the conversion submodule, the processing to be sub Module by the audio processor of the audio signal transmission after conversion to the mobile terminal carry out amplitude and phase adjustment it Before, the volume value of the audio signal after conversion is compared with default volume threshold;
Control submodule, when the volume value for the audio signal after conversion is greater than default volume threshold, described in control It handles submodule and the audio signal transmission after conversion to audio processor is subjected to amplitude and phase adjustment;
Submodule is played, when the volume value for the audio signal after conversion is less than default volume threshold, by the sound Frequency signal is directly played by first audio player;
The processing submodule includes:
Unit is adjusted, for carrying out amplitude to the audio signal after conversion by the gain module in the audio processor Zoom in or out adjusting, obtains adjustment signal;
Third acquiring unit, for being carried out by phaselocked loop in the audio processor or delayer to the adjustment signal Phase adjustment obtains the interference and eliminates audio signal.
9. mobile terminal according to claim 8, which is characterized in that the acquisition module includes:
First acquisition submodule detects first screen for the infrared sensor by being set on first screen Curtain is in folded state with second screen, and the mobile terminal is in when conversing, and obtains the audio signal;Or
Second acquisition submodule, for determining first screen according to the capacitance difference formed between the mobile terminal and user Curtain is in folded state with second screen, and the mobile terminal is in when conversing, and obtains the audio signal.
10. mobile terminal according to claim 9, which is characterized in that first acquisition submodule includes:
Transmitting unit, for emitting infrared signal by the infrared sensor in the case where the mobile terminal is on call;
First acquisition unit determines institute when for not receiving the infrared signal of second screen feedback within a preset time It states the first screen and second screen is in folded state, and obtain the audio signal;
Wherein first screen and second screen, which fold, connects, and is in folding in first screen and second screen When folded and described mobile terminal is on call, the angle between first screen and second screen is greater than 180 degree Less than or equal to 360 degree.
11. mobile terminal according to claim 9, which is characterized in that second acquisition submodule includes:
Detection unit, for detecting first screen and second screen in the case where the mobile terminal is on call Whether there is capacitance difference between user;
Second acquisition unit, between first screen and user have capacitance difference when, determine first screen with Second screen is in folded state, and obtains the audio signal;
Wherein first screen and second screen, which fold, connects, and is in folding in first screen and second screen When folded and described mobile terminal is on call, the angle between first screen and second screen is greater than 180 degree Less than or equal to 360 degree.
12. mobile terminal according to claim 8, which is characterized in that the control module is further used for:
The audio signal and the interference are played simultaneously and eliminates audio signal, so that first audio player and described the The sound field that two audio players generate offsets, wherein the audio signal is described by first audio player plays Interference eliminates audio signal and passes through second audio player plays;
Wherein, first screen and second screen, which fold, connects, and is in first screen and second screen It folds and when the mobile terminal is on call, angle between first screen and second screen is greater than 180 Degree is less than or equal to 360 degree.
13. mobile terminal according to claim 8, which is characterized in that the processing module is further used for:
According to the audio signal, pre-stored noise signal is called to eliminate audio signal as interference.
14. mobile terminal according to claim 13, which is characterized in that the control module is further used for:
While the audio signal described in first audio player plays, by described in second audio player plays Audio signal is eliminated in interference;
Wherein first screen and second screen, which fold, connects, and is in folding in first screen and second screen When folded and described mobile terminal is on call, the angle between first screen and second screen is greater than 180 degree Less than or equal to 360 degree.
15. a kind of mobile terminal characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation, the processor are realized as described in any one of claim 1~7 when executing the computer program Audio-frequency processing method in step.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step in audio-frequency processing method as described in any one of claims 1 to 7 is realized when execution.
CN201710756286.XA 2017-08-29 2017-08-29 A kind of audio-frequency processing method and mobile terminal Active CN107369459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710756286.XA CN107369459B (en) 2017-08-29 2017-08-29 A kind of audio-frequency processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710756286.XA CN107369459B (en) 2017-08-29 2017-08-29 A kind of audio-frequency processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107369459A CN107369459A (en) 2017-11-21
CN107369459B true CN107369459B (en) 2019-04-12

Family

ID=60310459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710756286.XA Active CN107369459B (en) 2017-08-29 2017-08-29 A kind of audio-frequency processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107369459B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040350A (en) * 2018-06-08 2018-12-18 Oppo广东移动通信有限公司 Electronic equipment and its control method
CN110874203A (en) * 2018-09-04 2020-03-10 中兴通讯股份有限公司 Screen sounding controller, method, device, terminal and storage medium
CN109686369A (en) * 2018-12-21 2019-04-26 秒针信息技术有限公司 Audio-frequency processing method and device
CN115334185A (en) * 2019-06-20 2022-11-11 华为技术有限公司 Electronic equipment, signal processing method and device
CN110944078B (en) * 2019-11-29 2021-07-06 维沃移动通信有限公司 Electronic device
CN111161753B (en) * 2020-01-03 2022-08-05 上海交通大学 Safe voice interaction method and system based on intelligent terminal
CN111641755B (en) * 2020-05-29 2021-06-29 维沃移动通信有限公司 Signal output control method and device and electronic equipment
CN111782174A (en) * 2020-06-30 2020-10-16 联想(北京)有限公司 Electronic equipment
CN117714583A (en) * 2022-09-08 2024-03-15 北京荣耀终端有限公司 Electronic equipment, and method and device for determining parameters of electronic equipment
CN117119089A (en) * 2023-03-06 2023-11-24 荣耀终端有限公司 Foldable electronic equipment and leakage cancellation method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101547639B1 (en) * 2009-05-22 2015-08-27 삼성전자 주식회사 Apparatus and Method for sound focusing
CN203014919U (en) * 2013-01-24 2013-06-19 广东欧珀移动通信有限公司 Foldable double-screen cell phone
US9369801B2 (en) * 2014-01-24 2016-06-14 Sony Corporation Wireless speaker system with noise cancelation
CN104238833B (en) * 2014-09-03 2017-02-15 京东方科技集团股份有限公司 Flexible display
CN105676958B (en) * 2015-12-29 2018-07-06 广东欧珀移动通信有限公司 A kind of terminal with flexible screen
CN105528034A (en) * 2015-12-29 2016-04-27 广东欧珀移动通信有限公司 Terminal
CN106101350B (en) * 2016-05-31 2019-05-17 维沃移动通信有限公司 A kind of mobile terminal and its call method
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN106973159B (en) * 2017-03-24 2019-02-15 东莞市步步高通信软件有限公司 A kind of foreign matter detecting method and mobile terminal
CN107071119B (en) * 2017-04-26 2019-10-18 维沃移动通信有限公司 A kind of sound removing method and mobile terminal

Also Published As

Publication number Publication date
CN107369459A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN107369459B (en) A kind of audio-frequency processing method and mobile terminal
CN106303804B (en) A kind of control method and mobile terminal of microphone
CN106341535B (en) A kind of audio play control method and mobile terminal
CN106686238B (en) A kind of setting method and terminal of terminal antenna transmission power
CN106101909B (en) A kind of method and mobile terminal of earphone noise reduction
CN107071119B (en) A kind of sound removing method and mobile terminal
CN107071174B (en) A kind of method of speech processing and mobile terminal
CN105657173B (en) Volume adjusting method, device and mobile terminal
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
CN105827849A (en) Method for adjusting sound effect and mobile terminal
CN106357871A (en) Voice amplifying method and mobile terminal
CN107743279B (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN107506167B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN106447836A (en) Access control terminal binding method and related equipment
CN106412282B (en) A kind of real-time messages phonetic prompt method and mobile terminal
CN109412704A (en) Electromagnetic interference control method and Related product
CN106162478B (en) Microphone preferred method and device
CN108766457A (en) Acoustic signal processing method, device, electronic equipment and storage medium
CN107819922B (en) A kind of relaying method of adjustment, wireless headset and the mobile terminal of wireless headset
CN106255000A (en) A kind of audio signal sample method and mobile terminal
CN108924417A (en) Filming control method and Related product
CN106412671B (en) A kind of video broadcasting method and mobile terminal
CN106101409A (en) A kind of mobile terminal and control method
CN105812976A (en) Earphone, method for adjusting the position of microphone on earphone, and a terminal
CN105607738B (en) Determine the method and device of one hand pattern

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