CN106231065A - A kind of audio variation and terminal - Google Patents

A kind of audio variation and terminal Download PDF

Info

Publication number
CN106231065A
CN106231065A CN201610549892.XA CN201610549892A CN106231065A CN 106231065 A CN106231065 A CN 106231065A CN 201610549892 A CN201610549892 A CN 201610549892A CN 106231065 A CN106231065 A CN 106231065A
Authority
CN
China
Prior art keywords
audio
ephemeral data
input information
database
module
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.)
Granted
Application number
CN201610549892.XA
Other languages
Chinese (zh)
Other versions
CN106231065B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610549892.XA priority Critical patent/CN106231065B/en
Publication of CN106231065A publication Critical patent/CN106231065A/en
Application granted granted Critical
Publication of CN106231065B publication Critical patent/CN106231065B/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
    • 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/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of audio variation and terminal, the method includes: receive input information;According to input information, the audio database ephemeral data in amendment caching, and according to the audio configuration parameter that audio database ephemeral data comprises, the bottom identification information that audio database ephemeral data is corresponding is set;Read the audio database ephemeral data in caching, change audio according to the bottom identification information of audio database ephemeral data and correspondence thereof.The present invention is by modifying to the audio database ephemeral data in caching, it is achieved that in the case of restarting, change audio in real time, improves fast spending and degree of convenience of change audio.

Description

A kind of audio variation and terminal
Technical field
The present invention relates to audio signal processing technique field, particularly relate to a kind of audio variation and terminal.
Background technology
During the use of mobile terminal, in order to improve speech quality, mobile terminal uses noise reduction technology to eliminate call Background noise interference in environment.Specifically, mobile terminal would generally use the technology of similar data base, makes in noise reduction process Audio gain module and the parameter of various algorithm processing module store, in order to the tune when carrying out audio work With.
In current techniques, during the use of mobile terminal, if desired change audio, it usually needs read corresponding number According to library file, obtaining the audio configuration parameter in this database file and restart audio active thread, this audio configuration parameter is Can come into force, and then change audio.Owing to needs restart audio active thread, this brings bigger inconvenience to user.Such as, when with When family is in communication process, if needing to adjust audio, just can only dropped calls.Therefore, the mode of current change audio The most perfect, fast spend and degree of convenience is poor.
Summary of the invention
Present invention is primarily targeted at a kind of audio variation of proposition and terminal, it is intended to solve prior art change Fast spending and defect that degree of convenience is poor of audio.
For achieving the above object, a kind of audio variation that the present invention provides, including:
Receive input information;
According to described input information, revise the audio database ephemeral data in caching, and interim according to audio database The audio configuration parameter that packet contains, arranges the bottom identification information that audio database ephemeral data is corresponding;
Read the audio database ephemeral data in caching, according to the audio database ephemeral data read and correspondence thereof Bottom identification information change audio.
Additionally, for achieving the above object, the present invention also proposes a kind of terminal, including:
Receiver module, is used for receiving input information;
Modified module, for according to described input information, the audio database ephemeral data in amendment caching;
Module is set, for the audio configuration parameter comprised according to audio database ephemeral data, audio database is set The bottom identification information that ephemeral data is corresponding;
Read module, for reading the audio database ephemeral data in caching;
More new module, changes audio for the bottom identification information according to audio database ephemeral data and correspondence thereof.
The audio variation of present invention proposition and terminal, by carrying out the audio database ephemeral data in caching Amendment, it is achieved that in the case of restarting, change audio in real time, improves the quick of change audio and spends and convenient Degree.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a kind of audio variation flow chart in first embodiment of the invention;
Fig. 4 is a kind of audio variation flow chart in second embodiment of the invention;
Fig. 5 is a kind of audio variation flow chart in third embodiment of the invention;
Fig. 6 is the structural representation of a kind of terminal in fourth embodiment of the invention;
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use is used for The suffix of such as " module ", " parts " or " unit " of expression element is only for the explanation of the beneficially present invention, and itself is not There is specific meaning.Therefore, " module " can mixedly use with " parts ".
Terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as mobile phone, Smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP are (portable Multimedia player), the mobile terminal of guider etc. and the fixed terminal of such as numeral TV, desk computer etc.. Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for mobile purpose Outside element, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user's input Unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that be not required for implementing all groups illustrated Part.Can alternatively implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system Or the radio communication between network.Such as, wireless communication unit can include broadcast reception module 111, mobile communication module 112, at least one in wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcasting management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send Broadcast singal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information And send it to the server of terminal.Broadcast singal can include that TV broadcast singal, radio signals, data are broadcasted Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be with the electronics of DMB (DMB) Program guide (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast Receiver module 111 can be broadcasted by using various types of broadcast systems to receive signal.Especially, broadcast reception module 111 Can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video wide Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for extensively Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcast reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals to base station (such as, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Positional information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 calculates from three or more satellites Range information and correct time information and for the Information application triangulation calculated, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, the method use three being used for calculating position and temporal information is defended Star and by using the position and the error of temporal information that other satellite correction calculates.Additionally, GPS module 115 Velocity information can be calculated by Continuous plus current location information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He Mike 1220, the camera 121 static map to being obtained by image capture apparatus in Video Capture pattern or image capture mode The view data of sheet or video processes.Picture frame after process may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memorizer 160 (or other storage medium) or carry out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the structure of mobile terminal.Mike 122 can be at telephone relation mould Formula, logging mode, speech recognition mode etc. operational mode receives sound (voice data) via mike, and can be by Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model For can be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 can implement all kinds Noise eliminate (or suppression) algorithm with the noise eliminating (or suppression) and producing during receiving and send audio signal or Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal Orientation, the acceleration or deceleration of mobile terminal 100 of 100 move and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense This sliding-type phone opens or cuts out.It addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include that proximity transducer 1410 will combine below This is described by touch screen.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100
Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charging Device) port, wired or wireless FPDP, memory card port, for connecting, to have the port of device of identification module, audio frequency defeated Enter/export (I/O) port, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses The various information of mobile terminal 100 and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber can be included Identification module (USIM) etc..It addition, the device (hereinafter referred to as " identifying device ") with identification module can take smart card Form, therefore, identify device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 can And from the input (such as, data message, electric power etc.) of external device (ED) the input received is transferred to for reception One or more elements in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner Go out signal (such as, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100 During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show image and/or the image of reception of capture, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode, Time under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memorizer 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide with mobile The audio frequency output (such as, call signal receives sound, message sink sound etc.) that the specific function that terminal 100 performs is relevant. Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typical event is permissible Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit 153 can provide output with the generation of notification event in a different manner.Such as, alarm unit 153 can be with the form of vibration Output is provided, when receiving calling, message or some other entrance communication (incoming communication), alarm list Unit 153 can provide sense of touch output (that is, vibration) to notify to user.By providing such sense of touch to export, even if When the mobile phone of user is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 is also The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or it is so structured that with control Device 180 processed separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or figure Sheet is drawn input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language Implementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any Line and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, communication system use Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face relates to cdma communication system, but such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link. If back haul link can construct according to any one in the interface that Ganji knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or the sky of sensing specific direction Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception Antenna covers.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 295 100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences the broadcast that reception is sent by BT295 as shown in Figure 1 Signal.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals At least one in 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1 Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks of Technology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
As it is shown on figure 3, first embodiment of the invention proposes a kind of audio variation, including:
Step 301, receives input information.
Wherein, input information is the information that user passes through user input unit 130 input of terminal, can be that user triggers The key assignments of one or more buttons.Such as, the double Home key value pressed of user, or, user presses simultaneously Home key value and volume key assignments.
Step 302, according to input information, revises the audio database ephemeral data in caching, and according to audio database The audio configuration parameter that ephemeral data comprises, arranges the bottom identification information that audio database ephemeral data is corresponding.
Wherein, audio database ephemeral data is the data reading caching from default audio database file, bag Include multiple audio configuration parameter.Can preserve multiple audio database file in terminal, each audio database file correspondence is not Same audio, comprises different audio configuration parameters.Audio database file can be ACDB (Audio Calibration Data Base, audio alignment data base) file, correspondingly, audio database ephemeral data is ACDB ephemeral data.With high pass As a example by development platform, this platform uses FluenceV5 algorithm to carry out noise reduction process, and in hand-held call, FluenceV5 algorithm leads to Too much microphone denoising, can not only filter steady statue noise, also very good to the filtration result of nonstationary noise, almost can be by except wheat Sound outside gram wind near-end voice all filters totally so that callee can clearly hear the voice of calling party. Up to a hundred audio configuration parameters are comprised, such as convergence time, noise reduction suppression degree and echo suppression journey in FluenceV5 algoritic module Degree etc..According to call scene and the difference of passage, it will usually generating multiple ACDB file, each ACDB file is used for storing one Audio configuration parameter under call scene and passage, such as, audio configuration parameter during hand-held call, audio during hand-free call Configuration parameter and by earphone converse time audio configuration parameter etc..When needs use certain audio configuration parameter, it is right to read The ACDB file answered after restarting audio active thread, this audio configuration parameter will come into force, thus changes audio.Special at some Under different scene, user wants to change audio in real time under conditions of not dropped calls process.Such as, calling party and callee Under noise reduction environment during call, callee can only hear the voice of calling party, and can't hear the background sound in call environment, as Really calling party wishes that callee can hear other sound in addition to voice, such as, the background music of western-style restaurant, road temporarily Sound, the sound in sea and the sound of musical instrument of traveling of getting on the car.
For achieving the above object, in this step, the configuration file can preset according to input information inquiry, obtain and input Buffer address that information is corresponding and parameter value;The audio configuration that will be positioned in audio database ephemeral data on above-mentioned buffer address Parameter modification is the parameter value corresponding with input information, and arranges the bottom identification information that audio database ephemeral data is corresponding.
Wherein, the configuration file preset can be one or more configuration file, and different input information is corresponding different Buffer address and parameter value, bottom identification information includes device identification (Device ID) and block identification (Block IDs), equipment Identifying the passage corresponding with the audio configuration parameter in audio database ephemeral data corresponding, block identification faces with audio database Time data in the configuration of the audio belonging to audio configuration parameter module corresponding, the corresponding different device identification of different passage, The different audio corresponding different block identifications of configuration module.Such as, the passage that audio database ephemeral data is corresponding can be hands Hold passage, earphone passage, or hands-free passage, the configuration of the audio belonging to audio configuration parameter in audio database ephemeral data Module can be noise reduction module, frequency response module, DRC (Dynamic Range Compress, dynamic range compression) module and IIR (Infinite Impulse Response, endless impulse response) module etc..
Step 303, reads the audio database ephemeral data in caching, according to the audio database ephemeral data read And the bottom identification information change audio of correspondence.
In this step, the audio configuration parameter that can be comprised according to the audio database ephemeral data read and with The bottom identification information change audio that audio database ephemeral data is corresponding.
First embodiment of the invention is by modifying to the audio database ephemeral data in caching, it is achieved that without weight In the case of opening, audio is changed in real time, improve fast spending and degree of convenience of change audio.
As shown in Figure 4, second embodiment of the invention proposes a kind of audio variation, including:
Step 401, receives input information.
Wherein, input information can be the key assignments of one or more buttons that user triggers.Such as, user is in certain scene Under need send ambient sound time, user is double presses Home key;When sound that user receives is stuffy, press simultaneously Home key and volume key.
Step 402, according to input information inquiry the first configuration file, obtains the audio configuration parameter corresponding with input information And parameter value.
Wherein, the first configuration file includes input information, audio configuration parameter and parameter value, and different input information is corresponding Different audio configuration parameters and parameter value.
Such as, input information is the double Home key value pressed of user, by inquiring about the first configuration file, gets Audio configuration parameter be Mode, tuning_mode and AF_limit, parameter value is 0x0A 32,0x00 7C and 0x5B 00.
Step 403, inquires about the second configuration file according to the audio configuration parameter corresponding with input information, obtains and joins with audio Put the buffer address that parameter is corresponding.
Wherein, the second configuration file includes audio configuration parameter, buffer address and supplemental characteristic type, and different audios is joined Put the different buffer address that parameter is corresponding.
Such as, the audio configuration parameter corresponding with input information is Mode, tuning_mode and AF_limit, by looking into Asking the second configuration file, the buffer address got is 0-1,2-3 and 16-17.
Step 404, according to the buffer address got, by audio configuration parameter corresponding in audio database ephemeral data It is revised as the parameter value corresponding with input information.
Specifically, by calling system bottom function, the audio configuration parameter that will be located on the buffer address that gets is repaiied Change the parameter value corresponding with input information into.
Such as, the buffer address got is 0-1,2-3 and 16-17, and audio configuration parameter is Mode, tuning_mode And AF_limit, parameter value is 0x0A 32,0x00 7C and 0x5B 00, and the audio configuration parameter Mode that will be located in 0-1 is revised as 0x0A 32, the audio configuration parameter tuning_mode that will be located in 2-3 are revised as 0x00 7C, will be located in the audio configuration of 16-17 Parameter AF_limit is revised as 0x5B 00.
Step 405, the audio configuration parameter comprised according to audio database ephemeral data, audio database nonce is set According to corresponding bottom identification information.
Wherein, bottom identification information includes device identification and block identification, device identification and audio database ephemeral data pair The passage answered is corresponding, and block identification configures module phase with the audio belonging to the audio configuration parameter in audio database ephemeral data Correspondence, the corresponding different device identification of different passages, the different audio corresponding different block identifications of configuration module.Such as, sound Frequently the passage that data base's ephemeral data is corresponding can be hand-held passage, earphone passage, or hands-free passage, and audio database is interim The configuration module of the audio belonging to audio configuration parameter in data can be noise reduction module, frequency response module, DRC module and IIR mould Block etc..
Step 406, reads the audio database ephemeral data in caching, according to audio database ephemeral data and correspondence thereof Bottom identification information change audio.
Specifically, the audio configuration parameter that can be comprised according to the audio database ephemeral data read and and sound Frequently the bottom identification information change audio that data base's ephemeral data is corresponding.Such as, adjust gain, switch frequency response, switch noise reduction, open Close DRC etc..
Second embodiment of the invention, by inquiring about the first configuration file and the second configuration file, obtains corresponding with input information Amendment demand, and according to amendment demand, to caching in audio database ephemeral data modify, it is achieved that without restarting In the case of, audio is changed in real time, improves fast spending and degree of convenience of change audio.
As it is shown in figure 5, third embodiment of the invention proposes a kind of audio variation, including:
Step 501, receives input information.
Wherein, input information can be the key assignments of one or more buttons that user triggers.Such as, user is in certain scene Under need send ambient sound time, user is double presses Home key;When sound that user receives is stuffy, press simultaneously Home key and volume key.
Step 502, according to input information, the audio database ephemeral data in amendment caching.
Specifically, by calling system bottom function, the audio that the audio database ephemeral data in caching is comprised Configuration parameter is revised as the parameter value corresponding with input information.
Such as, input information is the double Home key value pressed of user, correspondingly, by the audio database in caching Audio configuration parameter Mode, tuning_mode and AF_limit that ephemeral data is comprised are respectively modified as 0x0A 32,0x00 7C and 0x5B 00.
Step 503, the audio configuration parameter comprised according to audio database ephemeral data, audio database nonce is set According to corresponding bottom identification information.
Wherein, bottom identification information includes device identification and block identification, device identification and audio database ephemeral data pair The passage answered is corresponding, and block identification configures module phase with the audio belonging to the audio configuration parameter in audio database ephemeral data Correspondence, the corresponding different device identification of different passages, the different audio corresponding different block identifications of configuration module.Such as, sound Frequently the passage that data base's ephemeral data is corresponding can be hand-held passage, earphone passage, or hands-free passage, and audio database is interim The configuration module of the audio belonging to audio configuration parameter in data can be noise reduction module, frequency response module, DRC module and IIR mould Block etc..
Step 504, reads the audio database ephemeral data in caching, according to audio database ephemeral data and correspondence thereof Bottom identification information change audio.
Specifically, the audio configuration parameter that can be comprised according to the audio database ephemeral data read and and sound Frequently the bottom identification information change audio that data base's ephemeral data is corresponding.Such as, adjust gain, switch frequency response, switch noise reduction, open Close DRC etc..
Step 505, after closing present video thread, empties the audio database ephemeral data in caching.
Third embodiment of the invention is by modifying to the audio database ephemeral data in caching, it is achieved that without weight In the case of opening, audio is changed in real time, improve fast spending and degree of convenience of change audio, and due to the sound in caching Frequently data base's ephemeral data can be cleared after present video active threads is closed, and the audio after change is in present video active line Journey lost efficacy after closing, not under the influence of the audio of an audio active thread.
The present invention further provides a kind of terminal.
It is that fourth embodiment of the invention proposes a kind of terminal with reference to Fig. 6, Fig. 6, including:
Receiver module 610, is used for receiving input information.
Wherein, input information can be the key assignments of one or more buttons that user triggers.Such as, user is double presses Under Home key value, or, Home key value that user presses simultaneously and volume key assignments.
Modified module 620, for according to input information, the audio database ephemeral data in amendment caching.
Wherein, modified module 620, including:
Obtain submodule, for the configuration file preset according to input information inquiry, obtain delay corresponding with input information Deposit address and parameter value.
Wherein, the configuration file preset includes the first configuration file and the second configuration file;First configuration file includes defeated Enter information, audio configuration parameter and parameter value, the corresponding different audio configuration parameter of different input information and parameter value;Second Configuration file includes audio configuration parameter, buffer address and supplemental characteristic type, the difference that different audio configuration parameters is corresponding Buffer address.
Correspondingly, obtain submodule, specifically for according to input information inquiry the first configuration file, obtaining and input information Corresponding audio configuration parameter and parameter value;The second configuration file is inquired about according to the audio configuration parameter corresponding with input information, Obtain the buffer address corresponding with audio configuration parameter.
Amendment submodule, for obtaining being positioned in audio database ephemeral data on the buffer address that submodule obtains Audio configuration parameter is revised as the parameter value corresponding with input information.
Module 630 is set, for the audio configuration parameter comprised according to audio database ephemeral data, voice data is set The bottom identification information that storehouse ephemeral data is corresponding.
Wherein, bottom identification information includes in device identification and block identification, device identification and audio database ephemeral data Passage corresponding to audio configuration parameter corresponding, belonging to block identification and the audio configuration parameter in audio database ephemeral data Audio configuration module corresponding, the corresponding different device identification of different passage, different audio configuration module correspondences is different Block identification.Such as, the passage that audio database ephemeral data is corresponding can be hand-held passage, earphone passage, or hands-free logical Road, the configuration module of the audio belonging to audio configuration parameter in audio database ephemeral data can be noise reduction module, frequency response mould Block, DRC module and IIR module etc..
Read module 640, for reading the audio database ephemeral data in caching.
More new module 650, changes audio for the bottom identification information according to audio database ephemeral data and correspondence thereof.
Further, above-mentioned terminal, also include:
Empty module, for, after closing present video thread, emptying the audio database ephemeral data in caching.
Modified module 620 in second embodiment of the invention, by inquiring about the first configuration file and the second configuration file, obtains Take the amendment demand corresponding with input information, and according to amendment demand, the audio database ephemeral data in caching is repaiied Change, it is possible in the case of without restarting, audio changed in real time, and empty module and closing after present video thread, Empty the audio database ephemeral data in caching so that the audio after change lost efficacy after present video active threads is closed, The audio of an audio active thread under the influence of not, improves fast spending and degree of convenience of change audio.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. an audio variation, it is characterised in that including:
Receive input information;
According to described input information, revise the audio database ephemeral data in caching, and according to audio database ephemeral data The audio configuration parameter comprised, arranges the bottom identification information that audio database ephemeral data is corresponding;
Read the audio database ephemeral data in caching, according to the audio database ephemeral data read and the bottom of correspondence thereof Identification information change audio.
2. the method for claim 1, it is characterised in that described according to input information, the voice data in amendment caching Storehouse ephemeral data, including:
The configuration file preset according to described input information inquiry, obtains the buffer address corresponding with described input information and parameter Value;
The audio configuration parameter being positioned on described buffer address in described audio database ephemeral data is revised as defeated with described Enter the parameter value that information is corresponding.
3. method as claimed in claim 2, it is characterised in that described default configuration file includes the first configuration file and the Two configuration files;
The described configuration file preset according to input information inquiry, obtains the buffer address corresponding with described input information and parameter Value, including:
According to described input information inquiry the first configuration file, obtain the audio configuration parameter corresponding with described input information and ginseng Numerical value;
Inquire about the second configuration file according to the audio configuration parameter corresponding with described input information, obtain and described audio configuration ginseng The buffer address that number is corresponding.
4. the method for claim 1, it is characterised in that described bottom identification information includes device identification and block identification, The described device identification passage corresponding with the audio configuration parameter in described audio database ephemeral data is corresponding, described piece of mark Know corresponding with the audio configuration module belonging to the audio configuration parameter in described audio database ephemeral data.
5. the method for claim 1, it is characterised in that described according to the audio database ephemeral data and right read After the bottom identification information change audio answered, also include:
After closing present video thread, empty the audio database ephemeral data in caching.
6. a terminal, it is characterised in that including:
Receiver module, is used for receiving input information;
Modified module, for according to described input information, the audio database ephemeral data in amendment caching;
Module is set, for the audio configuration parameter comprised according to audio database ephemeral data, it is interim that audio database is set The bottom identification information that data are corresponding;
Read module, for reading the audio database ephemeral data in caching;
More new module, changes audio for the bottom identification information according to audio database ephemeral data and correspondence thereof.
7. terminal as claimed in claim 6, it is characterised in that described modified module, including:
Obtain submodule, for the configuration file preset according to described input information inquiry, obtain corresponding with described input information Buffer address and parameter value;
Amendment submodule, the audio configuration parameter amendment being positioned on described buffer address in described audio database ephemeral data For the parameter value corresponding with input information.
8. terminal as claimed in claim 7, it is characterised in that described default configuration file includes the first configuration file and the Two configuration files;
Described acquisition submodule, specifically for according to the first configuration file described in described input information inquiry, obtains defeated with described Enter audio configuration parameter corresponding to information and parameter value;According to the audio configuration parameter inquiry corresponding with described input information Second configuration file, obtains the buffer address corresponding with described audio configuration parameter.
9. terminal as claimed in claim 6, it is characterised in that described bottom identification information includes device identification and block identification, The described device identification passage corresponding with the audio configuration parameter in described audio database ephemeral data is corresponding, described piece of mark Know corresponding with the audio configuration module belonging to the audio configuration parameter in described audio database ephemeral data.
10. terminal as claimed in claim 6, it is characterised in that also include:
Empty module, for, after closing present video thread, emptying the audio database ephemeral data in caching.
CN201610549892.XA 2016-07-13 2016-07-13 A kind of audio variation and terminal Active CN106231065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610549892.XA CN106231065B (en) 2016-07-13 2016-07-13 A kind of audio variation and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610549892.XA CN106231065B (en) 2016-07-13 2016-07-13 A kind of audio variation and terminal

Publications (2)

Publication Number Publication Date
CN106231065A true CN106231065A (en) 2016-12-14
CN106231065B CN106231065B (en) 2019-06-21

Family

ID=57519857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610549892.XA Active CN106231065B (en) 2016-07-13 2016-07-13 A kind of audio variation and terminal

Country Status (1)

Country Link
CN (1) CN106231065B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005002255A1 (en) * 2003-06-27 2005-01-06 Jin-Ho Lee Method of providing background sound from personal portable terminal during communication
CN104811540A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Mobile terminal and sound setting method and device for voice communication of mobile terminal
CN104951514A (en) * 2015-05-28 2015-09-30 努比亚技术有限公司 Audio playing method and device
CN104967949A (en) * 2015-06-26 2015-10-07 努比亚技术有限公司 Sound effect adjusting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005002255A1 (en) * 2003-06-27 2005-01-06 Jin-Ho Lee Method of providing background sound from personal portable terminal during communication
CN104811540A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Mobile terminal and sound setting method and device for voice communication of mobile terminal
CN104951514A (en) * 2015-05-28 2015-09-30 努比亚技术有限公司 Audio playing method and device
CN104967949A (en) * 2015-06-26 2015-10-07 努比亚技术有限公司 Sound effect adjusting method and device

Also Published As

Publication number Publication date
CN106231065B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN104967717B (en) Noise-reduction method under terminal speech interactive mode and device
CN105100892A (en) Video playing device and method
CN105763732B (en) A kind of mobile terminal and the method for controlling volume
CN106598457B (en) A kind of sound control method for playing back, device and terminal
CN106155694A (en) A kind of application and the display packing and device applied of attending to anything else
CN106155695A (en) The removing control device and method of background application
CN106227414A (en) Application icon bulk management method and device
CN105187521A (en) Service processing device and method
CN104853088A (en) Method for rapidly focusing a photographing mobile terminal and mobile terminal
CN105187664A (en) Control device and method for audio output equipment
CN106909681A (en) A kind of information processing method and its device
CN106254617B (en) A kind of mobile terminal and control method
CN106101455A (en) Page jump management method, device and terminal
CN105430258A (en) Method and device for taking self-timer group photos
CN104661095A (en) Audio and video data recommendation method and system
CN104658535A (en) Voice control method and device
CN105120070A (en) Methods and terminal for playing music during call
CN106550133A (en) Calling identification device and method
CN106412328A (en) Method and device for obtaining user feedback information
CN106160687A (en) A kind of volume adjustment device and method, relevant device
CN105208201A (en) Recording realization method and device
CN105049916A (en) Video recording method and device
CN105100407A (en) Method and device for automatically remarking contact
CN104780260A (en) Method for controlling volume of mobile terminal and mobile terminal
CN106254522A (en) A kind of based terminal system, method and terminal

Legal Events

Date Code Title Description
C06 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