CN106126165B - A kind of audio stream processing method and mobile terminal - Google Patents

A kind of audio stream processing method and mobile terminal Download PDF

Info

Publication number
CN106126165B
CN106126165B CN201610438747.4A CN201610438747A CN106126165B CN 106126165 B CN106126165 B CN 106126165B CN 201610438747 A CN201610438747 A CN 201610438747A CN 106126165 B CN106126165 B CN 106126165B
Authority
CN
China
Prior art keywords
audio
application
mobile terminal
type
parameters
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
CN201610438747.4A
Other languages
Chinese (zh)
Other versions
CN106126165A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610438747.4A priority Critical patent/CN106126165B/en
Publication of CN106126165A publication Critical patent/CN106126165A/en
Application granted granted Critical
Publication of CN106126165B publication Critical patent/CN106126165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The embodiment of the invention discloses a kind of audio stream processing method and mobile terminal, including:Obtain audio stream;It is determined that request exports the application of the audio stream, the audio types belonging to the application are obtained, the audio types include call type and play type;According to the mapping relations between the audio types and audio output mode to prestore, audio output mode corresponding to the audio types belonging to the application is determined;The audio stream is exported according to the audio output mode of the determination.The embodiment of the present invention is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.

Description

A kind of audio stream processing method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of audio stream processing method and mobile terminal.
Background technology
Mobile terminal transmission at present and the audio stream played are varied, and its source is also varied, such as from voice Call, music player, system plugin, game application etc..Enjoyed in order to which user can obtain the more comfortable sense of hearing when listening to audio By Developmental Engineer would generally set the global audio of system, but this set is for the overall situation, equal to all audio streams Indifference configures.
Some software applications in mobile terminal can be provided independently from possessing on audio, such as most of music players Balanced device (Equalizer, EQ) audio regulatory function, it is happy, popular, light that different music style selection rock and rolls, electronics can be directed to Soft to wait audio, the defects of by the regulation of the various different frequencies to signal to compensate loudspeaker and sound field, compensation and modification are each Kind sound source and other special roles, to obtain the sound effect more to suit the requirements.This mode is according to melody in player School or stylistic category set, it is necessary to add type label manually or manually select audio.
The content of the invention
The embodiments of the invention provide a kind of audio stream processing method and mobile terminal, to lift audio frequency of mobile terminal stream The convenience of processing and intelligent, lifting Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of audio stream processing method, including:
Obtain audio stream;
It is determined that request exports the application of the audio stream, the audio types belonging to the application, the audio types are obtained Including call type and play type;
According to the mapping relations between the audio types and audio output mode to prestore, the audio belonging to the application is determined Audio output mode corresponding to type;
The audio stream is exported according to the audio output mode of the determination.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
With reference in a first aspect, in some possible implementations, the audio types for call type application at least Including any one in applying below:Vt applications, voice call application;
It is described to be exported according to the audio output mode of the determination when audio types belonging to the application are call type The audio stream, including:
Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
With reference in a first aspect, in some possible implementations, the audio types is play the application of type at least Including any one in applying below:Video playback application, audio play application;
It is described to be exported according to the audio output mode of the determination when audio types belonging to the application are broadcasting type The audio stream, including:
Determine the second audio hardware and the combination of the second sound effect parameters of the mobile terminal corresponding to the call type, institute It is different from first audio hardware to state the second audio hardware;
Second audio hardware is configured according to second sound effect parameters combination, and exports the audio stream.
With reference in a first aspect, in some possible implementations, the audio types belonging to the application also include recording Type, the audio types comprise at least any one in applying below for the application of recording type:Video record application, sound Frequency records application;
It is described to be exported according to the audio output mode of the determination when audio types belonging to the application are recording type The audio stream, including:
Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
With reference in a first aspect, in some possible implementations, before the acquisition audio stream, methods described is also wrapped Include:
The audio types of application of the displaying comprising the mobile terminal set interface on a display screen;
The selection operation of the application is directed to according to user, the application is established and is closed with the mapping between the audio types System.
With reference in a first aspect, in some possible implementations, first sound effect parameters combine or second sound Imitating parameter combination includes at least one of following parameter:
Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_ Mid parameters, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
Second aspect, the embodiments of the invention provide a kind of mobile terminal, the mobile terminal includes functional module, described Functional module is used to perform the part or all of step described in first aspect either method of the embodiment of the present invention.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, including:
Processor, memory, communication interface and communication bus, the processor, the memory and the communication interface Connected by the communication bus and complete mutual communication;
The memory storage has executable program code, and the communication interface is used for radio communication;
The processor is used to call the executable program code in the memory, performs the embodiment of the present invention the Part or all of step described in one side either method.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of audio stream processing method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another audio stream processing method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another audio stream processing method disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another audio stream processing method disclosed in the embodiment of the present invention;
Fig. 5 is a kind of unit composition frame chart of mobile terminal disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to be best understood from a kind of audio stream processing method and mobile terminal disclosed in the embodiment of the present invention, below to this hair Bright embodiment describes in detail.
Referring to Fig. 1, Fig. 1 is the embodiments of the invention provide a kind of audio stream processing method, as illustrated, this audio stream Processing method includes:
S101, acquisition for mobile terminal audio stream;
Wherein, the type of the audio stream for example can be prompt tone, background sound, song, conversation voice etc., the audio stream Refer to the data signal that the pending source audio data of a frame are chosen in the pending data queue of mobile terminal local cache, on The length of one frame of digital signal, the present embodiment are not construed as limiting, and can be configured according to the application scenarios of reality.
S102, the mobile terminal determine that request exports the application of the audio stream, obtain the audio belonging to the application Type, the audio types include call type and play type;
Wherein, the audio types comprise at least any one in applying below for the application of call type:Video leads to Words application, voice call application;For example, the audio types can be specifically QQ applications, electricity for the application of call type Words application, etc..
The audio types comprise at least any one in applying below for the application of broadcasting type:Video playback should Application is played with, audio;For example, above-mentioned audio types can be for example music player, regard to play the application of type Frequency player, live application, etc..
S103, the mobile terminal according to the mapping relations between the audio types and audio output mode to prestore, it is determined that Audio output mode corresponding to audio types belonging to the application;
S104, the mobile terminal export the audio stream according to the audio output mode of the determination.
It is understood that above-mentioned mobile terminal exports the tool of the audio stream according to the audio output mode of the determination Body embodiment can be diversified.
In one embodiment, when the audio types belonging to the application are call type, above-mentioned mobile terminal is according to The embodiment that the audio output mode of determination exports the audio stream can be:
The mobile terminal determines the first audio hardware and the first sound of the mobile terminal corresponding to the call type Imitate parameter combination;First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
In another embodiment, the audio types belonging to the application are that above-mentioned mobile terminal is according to institute when playing type Stating the embodiment of the audio output mode output audio stream of determination can be:
The mobile terminal determines the second audio hardware and the second sound of the mobile terminal corresponding to the call type Parameter combination is imitated, second audio hardware is different from first audio hardware;Matched somebody with somebody according to second sound effect parameters combination Second audio hardware is put, and exports the audio stream.
In another embodiment, when the audio types belonging to the application are recording type, above-mentioned mobile terminal is according to institute Stating the embodiment of the audio output mode output audio stream of determination can be:
The mobile terminal determines the first audio hardware and the first sound of the mobile terminal corresponding to the call type Imitate parameter combination;First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
Wherein, the combination of the first sound effect parameters or second sound effect parameters combination include at least one in following parameter Kind:
Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_ Mid parameters, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
Wherein, the treatment effects such as echo, noise reduction process are partial in above-mentioned first sound effect parameters combination.Above-mentioned second audio Parameter combination is partial to the treatment effects such as noise reduction, atmosphere, simulation reverberation.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
Optionally, in some embodiments of the invention, before the acquisition for mobile terminal audio stream, following grasp also is performed Make:
The mobile terminal shows that the audio types of the application comprising the mobile terminal set interface on a display screen;
The mobile terminal is directed to the selection operation of the application according to user, establishes the application and the audio types Between mapping relations.
It is consistent with the embodiment shown in above-mentioned Fig. 1, referring to Fig. 2, Fig. 2 is another sound provided in an embodiment of the present invention The schematic flow sheet of frequency method for stream processing.As illustrated, this audio stream processing method includes:
S201, acquisition for mobile terminal audio stream;
S202, the mobile terminal determine that request exports the application of the audio stream, obtain the audio belonging to the application Type, the audio types include call type;
Wherein, the audio types comprise at least any one in applying below for the application of call type:Video leads to Words application, voice call application;
For example, the audio types can be specifically QQ applications, phone application, etc. for the application of call type.
S203, the mobile terminal according to the mapping relations between the audio types and audio output mode to prestore, it is determined that Audio output mode corresponding to audio types belonging to the application;
S204, the mobile terminal determine the first audio hardware and of the mobile terminal corresponding to the call type One sound effect parameters combine;
Wherein, the first audio frequency parameter combination includes at least one of following parameter:
Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_ Mid parameters, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
The treatment effects such as echo, noise reduction process are partial in above-mentioned first sound effect parameters combination.
S205, the mobile terminal configures first audio hardware according to first sound effect parameters combination, and exports The audio stream.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
It is consistent with the embodiment shown in above-mentioned Fig. 1 and Fig. 2, referring to Fig. 3, Fig. 3 is provided in an embodiment of the present invention another A kind of schematic flow sheet of audio stream processing method.As illustrated, this audio stream processing method includes:
S301, acquisition for mobile terminal audio stream;
S302, the mobile terminal determine that request exports the application of the audio stream, obtain the audio belonging to the application Type, the audio types are broadcasting type;
The audio types comprise at least any one in applying below for the application of broadcasting type:Video playback should Application is played with, audio;
For example, above-mentioned audio types for play type application for example can be music player, video player, Live application, etc..
S303, the mobile terminal according to the mapping relations between the audio types and audio output mode to prestore, it is determined that Audio output mode corresponding to audio types belonging to the application;
S304, the mobile terminal determine the second audio hardware and of the mobile terminal corresponding to the call type Two sound effect parameters combine, and second audio hardware is different from first audio hardware;
Wherein, the second audio frequency parameter combination includes at least one of following parameter:
Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_ Mid parameters, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
The treatment effects such as noise reduction, atmosphere, simulation reverberation are partial in above-mentioned second sound effect parameters combination.
S305, the mobile terminal configures second audio hardware according to second sound effect parameters combination, and exports The audio stream.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
It is consistent with the embodiment shown in above-mentioned Fig. 1 to Fig. 3, referring to Fig. 4, Fig. 4 is provided in an embodiment of the present invention another A kind of schematic flow sheet of audio stream processing method.As illustrated, this audio stream processing method includes:
S401, acquisition for mobile terminal audio stream;
S402, the mobile terminal determine that request exports the application of the audio stream, obtain the audio belonging to the application Type, the audio types are recording type;
The audio types comprise at least any one in applying below for the application of recording type:Video record should With, audio recording application;
S403, the mobile terminal according to the mapping relations between the audio types and audio output mode to prestore, it is determined that Audio output mode corresponding to audio types belonging to the application;
S404, the mobile terminal determine the first audio hardware and of the mobile terminal corresponding to the call type One sound effect parameters combine;
S405, the mobile terminal configures first audio hardware according to first sound effect parameters combination, and exports The audio stream.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is realized for performing the inventive method embodiment Method.Determined as shown in figure 5, the mobile terminal can include audio stream acquiring unit 501, type determining units 502, pattern Unit 503 and audio stream output unit 504, wherein:
The audio stream acquiring unit 501, for obtaining audio stream;
The type determining units 502, for determining that request exports the application of the audio stream, obtain belonging to the application Audio types, the audio types include call type and play type;
The pattern determining unit 503, for being closed according to the mapping between the audio types and audio output mode to prestore System, determines audio output mode corresponding to the audio types belonging to the application;
The audio stream output unit 504, for exporting the audio stream according to the audio output mode of the determination.
Optionally, the audio types comprise at least any one in applying below for the application of call type:Video Talk application, voice call application;
When audio types belonging to the application are call type, the audio stream output unit 504 is used for:
Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
Optionally, the audio types comprise at least any one in applying below for the application of broadcasting type:Video Play application, audio plays application;
Audio types belonging to the application are that the audio stream output unit 504 is used for when playing type:
Determine the second audio hardware and the combination of the second sound effect parameters of the mobile terminal corresponding to the call type, institute It is different from first audio hardware to state the second audio hardware;
Second audio hardware is configured according to second sound effect parameters combination, and exports the audio stream.
Optionally, the audio types belonging to the application also include recording type, and the audio types are recording type Using including at least any one in applying below:Video record application, audio recording application;
When audio types belonging to the application are recording type, the audio stream output unit 504 is used for:
Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
Optionally, the mobile terminal also includes:
Interface display unit, for before the audio stream acquiring unit obtains audio stream, displaying on a display screen to be wrapped The audio types of application containing the mobile terminal set interface;
Relation establishes unit, for being directed to the selection operation of the application according to user, establishes the application and the sound Mapping relations between frequency type.
Optionally, the combination of the first sound effect parameters or second sound effect parameters combination are included in following parameter at least It is a kind of:
Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_ Mid parameters, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
It should be noted that the mobile terminal described by apparatus of the present invention embodiment is presented in the form of functional unit. Term " unit " used herein above should be understood to implication as most wide as possible, for realizing function described by each " unit " Object for example can be integrated circuit ASIC, single circuit, for performing the processing of one or more softwares or firmware program Device (shared, special or chipset) and memory, combinational logic circuit, and/or other conjunctions for realizing above-mentioned function are provided Suitable component.
For example, the function of the above-mentioned type determining unit 402 can be as shown in Figure 6 mobile terminal realizes, specifically Can be by processor 101 by calling the executable program code in memory 102, it is determined that request exports the audio stream Using obtaining the audio types belonging to the application, the audio types include call type and play type.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
The embodiment of the present invention additionally provides another mobile terminal, as shown in fig. 6, including:Processor 101, memory 102, communication interface 103, communication bus 104;Wherein, processor 101, memory 102 and communication interface 103 pass through communication bus 104 connect and complete mutual communication;Processor 101 passes through the control of communication interface 103 and the radio communication of External cell net; Communication interface 103 include but is not limited to antenna, amplifier, transceiver, coupler, LNA (Low Noise Amplifier, it is low Noise amplifier), duplexer etc..Memory 102 includes following at least one:Random access memory (RAM), nonvolatile memory And external memory storage, executable program code is stored with memory 102, and the executable program code being capable of bootstrap processor The audio stream processing method specifically disclosed in 101 execution the inventive method embodiments, comprises the following steps:
The processor 101 obtains audio stream;
The processor 101 determines that request exports the application of the audio stream, obtains the audio types belonging to the application, The audio types include call type and play type;
The processor 101 is according to the mapping relations between the audio types and audio output mode to prestore, it is determined that described Using audio output mode corresponding to affiliated audio types;
The processor 101 exports the audio stream according to the audio output mode of the determination.
As can be seen that relative to adding class manually according to the school of melody or stylistic category in player in the prior art Type label or the scheme for manually selecting audio, mobile terminal provided in an embodiment of the present invention export answering for audio stream according to request Audio types determine audio output mode, and export audio stream according to audio output mode, so as to which different audios it is expected Audio stream distinguish output automatically, as the audio stream of call type has fine definition and high fidelity, play the audio of type Stream has stronger timing and telepresenc, is advantageous to be lifted the convenience of audio frequency of mobile terminal stream process and intelligent, lifting Consumer's Experience.
In addition, the executable program code stored in above-mentioned memory 102 is additionally operable to perform shown in above-mentioned Fig. 1 to Fig. 4 The correlation step of audio stream processing method.The step of audio stream as described in performing the audio output mode determined according to output Suddenly, etc..
The embodiment of the present invention additionally provides another mobile terminal, as shown in fig. 7, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details do not disclose, refer to present invention method part.The movement Terminal can be to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is mobile phone as an example:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 7 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 is not formed to mobile phone Limit, can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Each component parts of mobile phone is specifically introduced with reference to Fig. 7:
RF circuits 910 can be used for the reception and transmission of information.Generally, RF circuits 910 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is more Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 920 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (audio frequency parameter loading function, audio stream playing function etc.) etc.;Storage data field can store to be created according to using for mobile phone Data (such as sound effect parameters, using mapping relations between audio types etc.) etc..In addition, memory 920 can include High-speed random access memory, nonvolatile memory, for example, at least disk memory, a flash memories can also be included Part or other volatile solid-state parts.
Input block 930 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 930 may include fingerprint recognition module 931 and other are defeated Enter equipment 932.Fingerprint recognition module 931, user can be gathered in finger print data thereon.Optionally, fingerprint recognition module 931 can Including optical fingerprint module, capacitance type fingerprint module and RF-type fingerprint module.It is condenser type with fingerprint recognition module 931 Exemplified by fingerprint recognition module, specifically include induction electrode (abnormal induction electrode and normal induction electrode) and with the induction electrode The signal processing circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.) of connection.Except fingerprint recognition mould Group 931, input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can be included but not The one kind being limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. It is or a variety of.
Display unit 940 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although in the figure 7, fingerprint recognition module 931 and display screen 941 are the parts independent as two to realize mobile phone Input and input function, it is but in some embodiments it is possible to fingerprint recognition module 931 and display screen 941 is integrated and real The input of existing mobile phone and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity transducer can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions the big of (generally three axles) acceleration It is small, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Road 960 includes the first audio hardware and the second audio hardware, and first audio hardware or the second audio hardware will can receive Electric signal after voice data conversion, is transferred to loudspeaker 961, and being converted to voice signal by loudspeaker 961 plays;The opposing party The voice signal of collection is converted to electric signal by face, microphone 962, and voice data is converted to after being received by voicefrequency circuit 960, then After voice data playback process device 980 is handled, through RF circuits 910 to be sent to such as another mobile phone, or by voice data Play to memory 920 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 7 is shown WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
Earlier figures 1 into the embodiment shown in Fig. 4, each step method flow can based on the mobile phone structure realize.
In embodiment shown in earlier figures 5, each unit function can based on the mobile phone structure realize.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, the program include the part or all of step of any audio stream processing method described in the above method embodiment when performing Suddenly.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in summary, this specification content should not be construed as limiting the invention.

Claims (17)

  1. A kind of 1. audio stream processing method, it is characterised in that including:
    Obtain audio stream;
    It is determined that request exports the application of the audio stream, the audio types belonging to the application are obtained, the audio types include Call type and broadcasting type;
    According to the mapping relations between the audio types and audio output mode to prestore, the audio types belonging to the application are determined Corresponding audio output mode;
    The audio stream is exported according to the audio output mode of the determination;
    It is described to be included according to the audio output mode of the determination output audio stream:
    Determine the audio hardware of mobile terminal corresponding to the audio types and sound effect parameters combination;
    The audio hardware is configured according to sound effect parameters combination, and exports the audio stream;
    Wherein, audio types are that echo, noise reduction process treatment effect, sound are partial in sound effect parameters combination corresponding to call type Frequency type is partial to noise reduction, atmosphere, simulation reverberation effect to play sound effect parameters combination corresponding to type.
  2. 2. according to the method for claim 1, it is characterised in that the audio types comprise at least for the application of call type Any one in applying below:Vt applications, voice call application;
    It is described according to the output of the audio output mode of the determination when audio types belonging to the application are call type Audio stream, including:
    Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
    First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
  3. 3. according to the method for claim 1, it is characterised in that the audio types comprise at least to play the application of type Any one in applying below:Video playback application, audio play application;
    It is described according to the output of the audio output mode of the determination when audio types belonging to the application are broadcasting type Audio stream, including:
    Determine the second audio hardware and the combination of the second sound effect parameters of the mobile terminal corresponding to the call type, described the Two audio hardwares are different from the first audio hardware;
    Second audio hardware is configured according to second sound effect parameters combination, and exports the audio stream.
  4. 4. according to the method for claim 1, it is characterised in that the audio types belonging to the application also include recording class Type, the audio types comprise at least any one in applying below for the application of recording type:Video record application, audio Record application;
    It is described according to the output of the audio output mode of the determination when audio types belonging to the application are recording type Audio stream, including:
    Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
    First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
  5. 5. the method according to claim 2 or 4, it is characterised in that before the acquisition audio stream, methods described is also wrapped Include:
    The audio types of application of the displaying comprising the mobile terminal set interface on a display screen;
    The selection operation of the application is directed to according to user, establishes the application and the mapping relations between the audio types.
  6. 6. according to the method for claim 5, it is characterised in that the first sound effect parameters combination is included in following parameter It is at least one:
    Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_Mid Parameter, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
  7. 7. according to the method for claim 3, it is characterised in that before the acquisition audio stream, methods described also includes:
    The audio types of application of the displaying comprising the mobile terminal set interface on a display screen;
    The selection operation of the application is directed to according to user, establishes the application and the mapping relations between the audio types.
  8. 8. according to the method for claim 7, it is characterised in that the second sound effect parameters combination is included in following parameter It is at least one:
    Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_Mid Parameter, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
  9. A kind of 9. mobile terminal, it is characterised in that including:
    Audio stream acquiring unit, for obtaining audio stream;
    Type determining units, for determining that request exports the application of the audio stream, the audio types belonging to the application are obtained, The audio types include call type and play type;
    Pattern determining unit, the mapping relations between the audio types to be prestored for basis and audio output mode, it is determined that described Using audio output mode corresponding to affiliated audio types;
    Audio stream output unit, for exporting the audio stream according to the audio output mode of the determination;
    The audio stream output unit, is specifically used for:
    Determine the audio hardware of the mobile terminal corresponding to the audio types and sound effect parameters combination;
    The audio hardware is configured according to sound effect parameters combination, and exports the audio stream;
    Wherein, audio types are that echo, noise reduction process treatment effect, sound are partial in sound effect parameters combination corresponding to call type Frequency type is partial to noise reduction, atmosphere, simulation reverberation effect to play sound effect parameters combination corresponding to type.
  10. 10. mobile terminal according to claim 9, it is characterised in that the audio types for call type application extremely Any one few included in applying below:Vt applications, voice call application;
    When audio types belonging to the application are call type, the audio stream output unit is used for:
    Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
    First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
  11. 11. mobile terminal according to claim 9, it is characterised in that the audio types for play type application extremely Any one few included in applying below:Video playback application, audio play application;
    Audio types belonging to the application are that the audio stream output unit is used for when playing type:
    Determine the second audio hardware and the combination of the second sound effect parameters of the mobile terminal corresponding to the call type, described the Two audio hardwares are different from the first audio hardware;
    Second audio hardware is configured according to second sound effect parameters combination, and exports the audio stream.
  12. 12. mobile terminal according to claim 9, it is characterised in that the audio types belonging to the application also include record Sound type, the audio types comprise at least any one in applying below for the application of recording type:Video record application, Audio recording application;
    When audio types belonging to the application are recording type, the audio stream output unit is used for:
    Determine the first audio hardware and the combination of the first sound effect parameters of the mobile terminal corresponding to the call type;
    First audio hardware is configured according to first sound effect parameters combination, and exports the audio stream.
  13. 13. the mobile terminal according to claim 10 or 12, it is characterised in that the mobile terminal also includes:
    Interface display unit, for before the audio stream acquiring unit obtains audio stream, displaying on a display screen to include institute The audio types for stating the application of mobile terminal set interface;
    Relation establishes unit, for being directed to the selection operation of the application according to user, establishes the application and the audio class Mapping relations between type.
  14. 14. mobile terminal according to claim 13, it is characterised in that the first sound effect parameters combination includes following ginseng At least one of number:
    Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_Mid Parameter, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
  15. 15. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
    Interface display unit, for before the audio stream acquiring unit obtains audio stream, displaying on a display screen to include institute The audio types for stating the application of mobile terminal set interface;
    Relation establishes unit, for being directed to the selection operation of the application according to user, establishes the application and the audio class Mapping relations between type.
  16. 16. mobile terminal according to claim 15, it is characterised in that the second sound effect parameters combination includes following ginseng At least one of number:
    Compress Compress parameters, case connector analog Amp-Type parameters, bass equilibrium EQ_Bass parameters, middle pitch equilibrium EQ_Mid Parameter, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
  17. A kind of 17. mobile terminal, it is characterised in that including:
    Processor, memory, communication interface and communication bus, the processor, the memory and the communication interface pass through The communication bus connects and completes mutual communication;
    The memory storage has executable program code, and the communication interface is used for radio communication;
    The processor is used to call the executable program code in the memory, performs as claim 1-8 is any Method described by.
CN201610438747.4A 2016-06-16 2016-06-16 A kind of audio stream processing method and mobile terminal Active CN106126165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610438747.4A CN106126165B (en) 2016-06-16 2016-06-16 A kind of audio stream processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610438747.4A CN106126165B (en) 2016-06-16 2016-06-16 A kind of audio stream processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106126165A CN106126165A (en) 2016-11-16
CN106126165B true CN106126165B (en) 2018-01-23

Family

ID=57470877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610438747.4A Active CN106126165B (en) 2016-06-16 2016-06-16 A kind of audio stream processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106126165B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775562A (en) * 2016-12-09 2017-05-31 奇酷互联网络科技(深圳)有限公司 The method and device of audio frequency parameter treatment
CN108401065A (en) * 2017-02-08 2018-08-14 厦门雅迅网络股份有限公司 A kind of audio data transmission method and system
CN109218528B (en) * 2018-09-04 2021-03-02 Oppo广东移动通信有限公司 Sound effect processing method and device and electronic equipment
CN111050203B (en) * 2019-12-06 2022-06-14 腾讯科技(深圳)有限公司 Video processing method and device, video processing equipment and storage medium
CN113838471A (en) * 2021-08-10 2021-12-24 北京塞宾科技有限公司 Noise reduction method and system based on neural network, electronic device and storage medium
CN113938553B (en) * 2021-08-26 2023-04-07 明基智能科技(上海)有限公司 Audio equipment and sound effect adjusting method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006337468A (en) * 2005-05-31 2006-12-14 Brother Ind Ltd Device and program for speech synthesis
CN101594422A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Can select the portable terminal of audio signal output mode
JP2010187158A (en) * 2009-02-12 2010-08-26 Funai Electric Co Ltd Content processing device
CN102611961B (en) * 2011-01-20 2014-08-06 三星电子(中国)研发中心 Method and device for switching multi-channel audios of terminal
CN103366779A (en) * 2012-04-10 2013-10-23 中兴通讯股份有限公司 Method and device for automatic setting of sound-effect parameters

Also Published As

Publication number Publication date
CN106126165A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106155623B (en) A kind of audio collocation method, system and relevant device
CN106126159B (en) A kind of audio stream processing method and mobile terminal
CN106126165B (en) A kind of audio stream processing method and mobile terminal
CN106126172B (en) A kind of sound effect treatment method and mobile terminal
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN105959483B (en) A kind of audio stream processing method and mobile terminal
CN106775562A (en) The method and device of audio frequency parameter treatment
CN106126174B (en) A kind of control method and electronic equipment of scene audio
CN109041142A (en) Main earphone switching method and relevant device
CN109660911A (en) Recording sound effect treatment method, device, mobile terminal and storage medium
CN106413070B (en) A kind of power regulating method, mobile terminal and computer readable storage medium
CN106126175A (en) The control method of a kind of sound effect parameters and mobile terminal
CN107707642B (en) Brush amount terminal determines method and device
CN106095385A (en) A kind of audio method to set up and mobile terminal
CN107483731A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN106095387A (en) The audio method to set up of a kind of terminal and terminal
CN110210605A (en) Hardware operator matching process and Related product
CN105933537B (en) A kind of volume processing method and user terminal
CN106453909B (en) A kind of power regulating method and mobile terminal
CN106407359A (en) Image playing method and mobile terminal
CN106506834A (en) Add method, terminal and the system of background sound in call
CN107786714A (en) Sound control method, apparatus and system based on vehicle-mounted multimedia equipment
CN106126166B (en) A kind of method and terminal of audio effect processing
CN110365851A (en) Method of supplying power to and Related product
CN106231499A (en) A kind of audio Enhancement Method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder