CN105959483B - A kind of audio stream processing method and mobile terminal - Google Patents
A kind of audio stream processing method and mobile terminal Download PDFInfo
- Publication number
- CN105959483B CN105959483B CN201610438869.3A CN201610438869A CN105959483B CN 105959483 B CN105959483 B CN 105959483B CN 201610438869 A CN201610438869 A CN 201610438869A CN 105959483 B CN105959483 B CN 105959483B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- audio
- sound effect
- effect parameters
- application
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management 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:When the system time for detecting mobile terminal is in default audio and sets the period, the mapping relations between period and the application of the mobile terminal are set according to the audio to prestore, determine that the system time corresponds to intended application;Loaded in the running memory of the mobile terminal and sound effect parameters are referred to corresponding to the intended application;When the default audio sets and detects the broadcasting control instruction for audio stream in the period, judge whether the application for playing the audio stream is the intended application;If so, then read from the running memory it is described refer to sound effect parameters, configure the sound effect parameters of the audio stream and refer to sound effect parameters to be described, and play the audio stream.The embodiment of the present invention is advantageous to be lifted the fluency of the audio stream broadcasting of mobile terminal, memory optimization resource management, lifts Consumer's Experience.
Description
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
With becoming increasingly popular for the mobile terminal communication product such as mobile phone, mobile terminal is increasingly becoming indispensable in people's life
Few means of communication, wherein, the voice data playing function of mobile terminal is referred to as one of the most frequently used basic function of people.
In the audio effect processing technology of current mobile terminal, manufacturer typically can be according to the type configuration system of mobile terminal
Audio pattern, signal processing algorithm and audio signal processing circuit is coordinated to play the audio stream of types of applications, but due to mobile whole
Hold audio stream plays when be sound effect parameters corresponding to real-time loading system audio pattern, and load audio frequency parameter operation take compared with
More memory sources, this causes mobile terminal to only have the operation that less free memory resource performs audio stream plays, easily made
Into low memory, so as to which audio stream playing process is not smooth enough, Caton phenomenon easily occurs, Consumer's Experience is influenceed.
The content of the invention
The embodiments of the invention provide a kind of audio stream processing method and mobile terminal, to lift the audio of mobile terminal
The fluency of stream broadcasting, memory optimization resource management, lift Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of audio stream processing method, including:
When the system time for detecting mobile terminal is in default audio and sets the period, when being set according to the audio to prestore
Mapping relations between section and the application of the mobile terminal, determine that the system time corresponds to intended application;
Loaded in the running memory of the mobile terminal and sound effect parameters are referred to corresponding to the intended application;
When the default audio sets and detects the broadcasting control instruction for audio stream in the period, judge to be used to play
Whether the application of the audio stream is the intended application;
If so, the sound effect parameters for referring to sound effect parameters, configuring the audio stream are then read from the running memory
Sound effect parameters are referred to be described, and play the audio stream.
As can be seen that the side relative to the ability real-time loading sound effect parameters in audio stream plays of mobile terminal in the prior art
Case, loading refer to sound effect parameters to mobile terminal in running memory in advance, and is detecting the audio stream that is directed to intended application
In the case that the application of broadcasting control instruction and audio stream plays is intended application, reads from running memory and join with reference to audio
Number, the sound effect parameters for configuring mobile terminal are with reference to sound effect parameters, and audio stream plays.Avoid in audio stream in playing process
In, the loading operation committed memory resource quilt of the sound effect parameters of mobile terminal, so as to be advantageous to lift the audio stream of mobile terminal
The fluency of broadcasting, memory optimization resource management, lift Consumer's Experience.
With reference in a first aspect, in some possible implementations, it is described in the running memory of the mobile terminal plus
Carry and refer to sound effect parameters corresponding to the intended application, including:
Judge whether the mobile terminal has created application level sound effect parameters corresponding to the intended application;
If so, the application level sound effect parameters are loaded in the running memory of the mobile terminal.
It is described to judge whether the mobile terminal creates with reference in a first aspect, in some possible implementations
Before stating application level sound effect parameters corresponding to intended application, methods described also includes:
Obtain user and be directed to the application level sound effect parameters that the intended application is set.
With reference in a first aspect, in some possible implementations, methods described also includes:
If judging, the mobile terminal has not created application level sound effect parameters corresponding to the intended application, described
The global sound effect parameters of the mobile terminal are loaded in the running memory of mobile terminal.
It is described at the system time for detecting mobile terminal with reference in a first aspect, in some possible implementations
Before when default audio sets the period, methods described also includes:
The N number of audio for obtaining the mobile terminal plays record, and the audio, which plays record, includes answering for audio stream plays
With the reproduction time with the audio stream, N is the integer more than 1;
The reproduction time of the audio stream in record is played according to N number of audio, determines M audio of the mobile terminal
Period is set, and M is the positive integer less than N;
The audio broadcasting record that each audio sets the period to be included in period is set according to the M audio, it is determined that
Each described audio sets in the period and uses duration either frequency of use or access times highest application;
Described according to determination uses duration or frequency of use highest application, and the audio ginseng of corresponding audio stream
Number, the mapping relations established between the audio setting period and the application.
With reference in a first aspect, in some possible implementations, the sound effect parameters 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.
In addition, optional, in some possible implementations, the detection is directed to the broadcasting control instruction of audio stream,
Including:
When detecting the first selection operation for the audio stream of the mobile terminal, output includes the intended application
Player choose interface;
When detecting the second selection operation of the intended application chosen for the player in interface, pin is generated
Broadcasting control instruction to the audio stream.
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 a kind of unit composition frame chart of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 6 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.Based on the 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, mobile terminal is when the system time for detecting mobile terminal is in default audio and sets the period, according to pre-
The audio deposited sets the mapping relations between period and the application of the mobile terminal, determines that the system time corresponds to target
Using;
Wherein, it for example can be 7 points to 8 points of morning that the default audio, which sets the period, 8 points of morning to 9 thirty, noon 12
O'clock to 1 thirty, etc..The intended application for example can be talk application, audio and video playing application, recording application etc..
S102, the mobile terminal loads in the running memory of the mobile terminal to be referred to corresponding to the intended application
Sound effect parameters;
Wherein, the internal memory of the mobile terminal includes running memory and inoperative internal memory, and the running memory refers to move
The internal memory of terminal operating application, also referred to as random access memory ram, inoperative internal memory are the internal memories for data storage, also referred to as
Read only memory ROM, such as the ROM that capacity is 8G, that is, possess the inoperative internal memories of 8G memory spaces.
Wherein, the sound effect parameters specifically include following at least one:
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.
In some embodiments of the invention, the mobile terminal loads the target in the running memory of the mobile terminal
It is using the corresponding implementation with reference to sound effect parameters:
The acquisition for mobile terminal user is directed to the application level sound effect parameters that the intended application is set.Wherein, apply
Level sound effect parameters tool refers to the sound effect parameters that user is set for some specific application, and mobile terminal uses the application plays sound
Audio when frequency flows is audio corresponding to the sound effect parameters set.
The mobile terminal judges whether the mobile terminal has created application level audio corresponding to the intended application
Parameter;
If so, the mobile terminal loads the application level sound effect parameters in the running memory of the mobile terminal.
If judging, the mobile terminal has not created application level sound effect parameters corresponding to the intended application, described
The global sound effect parameters of the mobile terminal are loaded in the running memory of mobile terminal.
S103, the mobile terminal set in the default audio and detect that the broadcasting control for audio stream refers in the period
When making, judge whether the application for playing the audio stream is the intended application;
Wherein, the control instruction that plays for example can be that mobile terminal is detecting the audio stream for intended application
Generated in the case of selection operation.Specifically, realization of the mobile terminal detection for the broadcasting control instruction of audio stream
Mode be for:
When detecting the first selection operation for the audio stream of the mobile terminal, output includes the mobile terminal
The player of the intended application chooses interface;
The mobile terminal is chosen when detect the intended application chosen for the player in interface second
During operation, broadcasting control instruction of the generation for the audio stream.
The audio stream for example can be prompt tone, background sound, song, conversation voice etc..
S104, the mobile terminal if so, then read from the running memory it is described refer to sound effect parameters, described in configuration
The sound effect parameters of audio stream refer to sound effect parameters to be described, and play the audio stream.
As can be seen that the side relative to the ability real-time loading sound effect parameters in audio stream plays of mobile terminal in the prior art
Case, loading refer to sound effect parameters to mobile terminal in running memory in advance, and is detecting the audio stream that is directed to intended application
In the case that the application of broadcasting control instruction and audio stream plays is intended application, reads from running memory and join with reference to audio
Number, the sound effect parameters for configuring mobile terminal are with reference to sound effect parameters, and audio stream plays.Avoid in audio stream in playing process
In, the loading operation committed memory resource quilt of the sound effect parameters of mobile terminal, so as to be advantageous to lift the audio stream of mobile terminal
The fluency of broadcasting, memory optimization resource management, lift Consumer's Experience.
Optionally, in some embodiments of the invention, the mobile terminal is in the system time for detecting mobile terminal
Before during the default audio setting period, following operate also is performed:
N number of audio of mobile terminal described in the acquisition for mobile terminal plays record, and the audio, which plays record, to be included broadcasting
The application of audio stream and the reproduction time of the audio stream are put, N is the integer more than 1;
The mobile terminal plays the reproduction time of the audio stream in record according to N number of audio, determines the movement
M audio of terminal sets the period, and M is the positive integer less than N;
The mobile terminal sets the audio that each audio setting period is included in the period to broadcast according to the M audio
Record is put, either frequency of use or access times highest should using duration it is determined that each described audio was set in the period
With;
The mobile terminal uses duration or frequency of use highest application, and corresponding sound according to the described of determination
The sound effect parameters of frequency stream, the mapping relations established between the audio setting period and the application.
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, mobile terminal is when the system time for detecting mobile terminal is in default audio and sets the period, according to pre-
The audio deposited sets the mapping relations between period and the application of the mobile terminal, determines that the system time corresponds to target
Using;
S202, the acquisition for mobile terminal user are directed to the application level sound effect parameters that the intended application is set.
S203, the mobile terminal judge whether the mobile terminal has created application level corresponding to the intended application
Sound effect parameters;
S204, if so, the mobile terminal loads the application level audio in the running memory of the mobile terminal
Parameter.
S205, the mobile terminal set in the default audio and detect that the broadcasting control for audio stream refers in the period
When making, judge whether the application for playing the audio stream is the intended application;
S206, if so, then the mobile terminal read from the running memory it is described refer to sound effect parameters, described in configuration
The sound effect parameters of audio stream refer to sound effect parameters to be described, and play the audio stream.
As can be seen that the side relative to the ability real-time loading sound effect parameters in audio stream plays of mobile terminal in the prior art
Case, loading refer to sound effect parameters to mobile terminal in running memory in advance, and is detecting the audio stream that is directed to intended application
In the case that the application of broadcasting control instruction and audio stream plays is intended application, reads from running memory and join with reference to audio
Number, the sound effect parameters for configuring mobile terminal are with reference to sound effect parameters, and audio stream plays.Avoid in audio stream in playing process
In, the loading operation committed memory resource quilt of the sound effect parameters of mobile terminal, so as to be advantageous to lift the audio stream of mobile terminal
The fluency of broadcasting, memory optimization resource management, lift 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, mobile terminal is when the system time for detecting mobile terminal is in default audio and sets the period, according to pre-
The audio deposited sets the mapping relations between period and the application of the mobile terminal, determines that the system time corresponds to target
Using;
S302, the acquisition for mobile terminal user are directed to the application level sound effect parameters that the intended application is set.
S303, the mobile terminal judge whether the mobile terminal has created application level corresponding to the intended application
Sound effect parameters;
S304, if judging, the mobile terminal has not created application level sound effect parameters corresponding to the intended application,
The global sound effect parameters of the mobile terminal are then loaded in the running memory of the mobile terminal;
S305, the mobile terminal set in the default audio and detect that the broadcasting control for audio stream refers in the period
When making, judge whether the application for playing the audio stream is the intended application;
S306, if so, then the mobile terminal read from the running memory it is described refer to sound effect parameters, described in configuration
The sound effect parameters of audio stream refer to sound effect parameters to be described, and play the audio stream.
As can be seen that the side relative to the ability real-time loading sound effect parameters in audio stream plays of mobile terminal in the prior art
Case, loading refer to sound effect parameters to mobile terminal in running memory in advance, and is detecting the audio stream that is directed to intended application
In the case that the application of broadcasting control instruction and audio stream plays is intended application, reads from running memory and join with reference to audio
Number, the sound effect parameters for configuring mobile terminal are with reference to sound effect parameters, and audio stream plays.Avoid in audio stream in playing process
In, the loading operation committed memory resource quilt of the sound effect parameters of mobile terminal, so as to be advantageous to lift the audio stream of mobile terminal
The fluency of broadcasting, memory optimization resource management, lift 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.As shown in figure 4, the mobile terminal can include intended application determining unit 401, parameter loading unit 402, judge list
Member 403 and playing control unit 404, wherein:
The intended application determining unit 401, set for being in default audio in the system time for detecting mobile terminal
When putting the period, the mapping relations between period and the application of the mobile terminal are set according to the audio to prestore, determine the system
The system time corresponds to intended application;
The parameter loading unit 402, for loading the intended application pair in the running memory of the mobile terminal
The reference sound effect parameters answered;
The judging unit 403, for setting the broadcasting control detected in the period for audio stream in the default audio
During system instruction, judge whether the application for playing the audio stream is the intended application;
The playing control unit 404, for if so, then read from the running memory it is described refer to sound effect parameters,
The sound effect parameters for configuring the audio stream refer to sound effect parameters to be described, and play the audio stream.
Optionally, the parameter loading unit 402 is used for:
Judge whether the mobile terminal has created application level sound effect parameters corresponding to the intended application;
If so, the application level sound effect parameters are loaded in the running memory of the mobile terminal.
Optionally, the mobile terminal also includes:
Parameter acquiring unit, for judging whether the mobile terminal has created the intended application in the judging unit
Before corresponding application level sound effect parameters, obtain user and be directed to the application level sound effect parameters that the intended application is set.
Optionally, the parameter loading unit 402 is additionally operable to:
If judging, the mobile terminal has not created application level sound effect parameters corresponding to the intended application, described
The global sound effect parameters of the mobile terminal are loaded in the running memory of mobile terminal.
Optionally, the mobile terminal also includes:
Record acquiring unit is played, for detecting the system time of mobile terminal in the intended application determining unit
Before when setting the period in default audio, the N number of audio for obtaining the mobile terminal plays record, and the audio plays record
The reproduction time of application and the audio stream including audio stream plays, N are the integer more than 1;
Period determining unit is set, for playing the reproduction time of the audio stream in record according to N number of audio, it is determined that
M audio of the mobile terminal sets the period, and M is the positive integer less than N;
Using determining unit, for setting each audio in the period to set what the period was included according to the M audio
Audio plays record, it is determined that each described audio, which is set, uses duration either frequency of use or access times highest in the period
Application;
Relation establishes unit, for using duration or frequency of use highest application according to the described of determination, and it is right
The sound effect parameters for the audio stream answered, the mapping relations established between the audio setting period and the application.
Optionally, it is described to include at least one of following parameter with reference to sound effect parameters:
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 mobile terminal that the function of the loading of above-mentioned parameter loading unit 401 sound effect parameters can be as shown in Figure 5
, specifically can be by processor 101 by calling the executable program code in memory 102, in mobile terminal to realize
Sound effect parameters are loaded in running memory.
As can be seen that the side relative to the ability real-time loading sound effect parameters in audio stream plays of mobile terminal in the prior art
Case, loading refer to sound effect parameters to mobile terminal in running memory in advance, and is detecting the audio stream that is directed to intended application
In the case that the application of broadcasting control instruction and audio stream plays is intended application, reads from running memory and join with reference to audio
Number, the sound effect parameters for configuring mobile terminal are with reference to sound effect parameters, and audio stream plays.Avoid in audio stream in playing process
In, the loading operation committed memory resource quilt of the sound effect parameters of mobile terminal, so as to be advantageous to lift the audio stream of mobile terminal
The fluency of broadcasting, memory optimization resource management, lift Consumer's Experience.
The embodiment of the present invention additionally provides another mobile terminal, as shown in figure 5, 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 is when the system time for detecting mobile terminal is in default audio and sets the period, according to pre-
The audio deposited sets the mapping relations between period and the application of the mobile terminal, determines that the system time corresponds to target
Using;
The processor 101 loads in the running memory of the mobile terminal refers to audio corresponding to the intended application
Parameter;
The processor 101 sets the broadcasting control instruction detected in the period for audio stream in the default audio
When, judge whether the application for playing the audio stream is the intended application;
If so, then the processor 101 read from the running memory it is described refer to sound effect parameters, configure the audio
The sound effect parameters of stream refer to sound effect parameters to be described, and play the audio stream.
As can be seen that the side relative to the ability real-time loading sound effect parameters in audio stream plays of mobile terminal in the prior art
Case, loading refer to sound effect parameters to mobile terminal in running memory in advance, and is detecting the audio stream that is directed to intended application
In the case that the application of broadcasting control instruction and audio stream plays is intended application, reads from running memory and join with reference to audio
Number, the sound effect parameters for configuring mobile terminal are with reference to sound effect parameters, and audio stream plays.Avoid in audio stream in playing process
In, the loading operation committed memory resource quilt of the sound effect parameters of mobile terminal, so as to be advantageous to lift the audio stream of mobile terminal
The fluency of broadcasting, memory optimization resource management, lift Consumer's Experience.
The embodiment of the present invention additionally provides another mobile terminal, as shown in fig. 6, 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. 6 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. 6 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. 6 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. 6:
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 global sound effect parameters, application level sound effect parameters etc.) etc..In addition, memory 920 can be included at a high speed at random
Access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other
Volatile solid-state part.
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 figure 6, 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
Electric signal after the voice data received conversion can be transferred to loudspeaker 961, sound is converted to by loudspeaker 961 by road 960
Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960
Voice data is changed to, then after voice data playback process device 980 is handled, through RF circuits 910 to be sent to such as another mobile phone,
Or voice data is played 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. 6 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.
In embodiment shown in earlier figures 1, Fig. 2 and Fig. 3, each step method flow can the structure based on the mobile phone it is real
It is existing.
In embodiment shown in earlier figures 4, 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 (12)
- A kind of 1. audio stream processing method, it is characterised in that including:When the system time for detecting mobile terminal is in default audio and sets the period, according to the audio to prestore set the period with Mapping relations between the application of the mobile terminal, determine that the system time corresponds to intended application;Loaded in the running memory of the mobile terminal and sound effect parameters are referred to corresponding to the intended application;When the default audio sets and detects the broadcasting control instruction for audio stream in the period, judge described for playing Whether the application of audio stream is the intended application;If so, then read from the running memory it is described refer to sound effect parameters, the sound effect parameters for configuring the audio stream are institute State and refer to sound effect parameters, and play the audio stream;Wherein, described loaded in the running memory of the mobile terminal refers to sound effect parameters corresponding to the intended application, bag Include:Judge whether the mobile terminal has created application level sound effect parameters corresponding to the intended application;If so, the application level sound effect parameters are loaded in the running memory of the mobile terminal.
- 2. according to the method for claim 1, it is characterised in that described to judge whether the mobile terminal has created the mesh Before application level sound effect parameters corresponding to mark application, methods described also includes:Obtain user and be directed to the application level sound effect parameters that the intended application is set.
- 3. according to the method for claim 1, it is characterised in that methods described also includes:If judging, the mobile terminal has not created application level sound effect parameters corresponding to the intended application, the movement The global sound effect parameters of the mobile terminal are loaded in the running memory of terminal.
- 4. according to the method described in claim any one of 1-3, it is characterised in that described when detecting the system of mobile terminal Between in default audio the period is set when before, methods described also includes:The N number of audio for obtaining the mobile terminal plays record, the audio play record include the applications of audio stream plays with The reproduction time of the audio stream, N are the integer more than 1;The reproduction time of the audio stream in record is played according to N number of audio, determines that M audio of the mobile terminal is set Period, M are the positive integer less than N;The audio broadcasting record that each audio sets the period to be included in period is set according to the M audio, it is determined that described Each audio sets in the period and uses duration either frequency of use or access times highest application;Described according to determination uses duration or frequency of use highest application, and the sound effect parameters of corresponding audio stream, The mapping relations established between the audio setting period and the application.
- 5. according to the method for claim 1, it is characterised in that described to include with reference to sound effect parameters 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 Parameter, high pitch equilibrium EQ_Treble parameters, noise gate Noise_Gate parameters.
- A kind of 6. mobile terminal, it is characterised in that including:Intended application determining unit, when for being in default audio in the system time for detecting mobile terminal, the period is set, root The mapping relations between period and the application of the mobile terminal are set according to the audio to prestore, determine that the system time corresponds to Intended application;Parameter loading unit, audio is referred to corresponding to the intended application for being loaded in the running memory of the mobile terminal Parameter;Judging unit, for when the default audio sets and detects the broadcasting control instruction for audio stream in the period, sentencing Whether the application broken for playing the audio stream is the intended application;Playing control unit, for if so, then read from the running memory it is described refer to sound effect parameters, configure the audio The sound effect parameters of stream refer to sound effect parameters to be described, and play the audio stream;Wherein, the parameter loading unit is used for:Judge whether the mobile terminal has created application level sound effect parameters corresponding to the intended application;If so, the application level sound effect parameters are loaded in the running memory of the mobile terminal.
- 7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:Parameter acquiring unit, it is corresponding for judging whether the mobile terminal has created the intended application in the judging unit Application level sound effect parameters before, obtain user be directed to the intended application set application level sound effect parameters.
- 8. mobile terminal according to claim 6, it is characterised in that the parameter loading unit is additionally operable to:If judging, the mobile terminal has not created application level sound effect parameters corresponding to the intended application, the movement The global sound effect parameters of the mobile terminal are loaded in the running memory of terminal.
- 9. according to the mobile terminal described in claim any one of 6-8, it is characterised in that the mobile terminal also includes:Record acquiring unit is played, for being in the intended application determining unit in the system time for detecting mobile terminal Before during the default audio setting period, the N number of audio for obtaining the mobile terminal plays record, and the audio, which plays record, to be included The application of audio stream plays and the reproduction time of the audio stream, N are the integer more than 1;Period determining unit is set, for playing the reproduction time of the audio stream in record according to N number of audio, it is determined that described M audio of mobile terminal sets the period, and M is the positive integer less than N;Using determining unit, for setting the audio that each audio sets the period to be included in the period according to the M audio Record is played, either frequency of use or access times highest should using duration it is determined that each described audio was set in the period With;Relation establishes unit, for using duration or frequency of use highest application according to the described of determination, and it is corresponding The sound effect parameters of audio stream, the mapping relations established between the audio setting period and the application.
- 10. mobile terminal according to claim 6, it is characterised in that described to include with reference to sound effect parameters in following parameter 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.
- A kind of 11. 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-5 is any Method described by.
- A kind of 12. computer-readable memory, it is characterised in that the computer-readable memory has program stored therein, wherein, institute Program is stated to be used to instruct related hardware to perform the method as described by claim any one of 1-5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610438869.3A CN105959483B (en) | 2016-06-16 | 2016-06-16 | A kind of audio stream processing method and mobile terminal |
CN201810077886.8A CN108377290B (en) | 2016-06-16 | 2016-06-16 | Audio stream processing method, mobile terminal and medium product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610438869.3A CN105959483B (en) | 2016-06-16 | 2016-06-16 | A kind of audio stream processing method and mobile terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810077886.8A Division CN108377290B (en) | 2016-06-16 | 2016-06-16 | Audio stream processing method, mobile terminal and medium product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105959483A CN105959483A (en) | 2016-09-21 |
CN105959483B true CN105959483B (en) | 2018-02-27 |
Family
ID=56906013
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610438869.3A Expired - Fee Related CN105959483B (en) | 2016-06-16 | 2016-06-16 | A kind of audio stream processing method and mobile terminal |
CN201810077886.8A Active CN108377290B (en) | 2016-06-16 | 2016-06-16 | Audio stream processing method, mobile terminal and medium product |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810077886.8A Active CN108377290B (en) | 2016-06-16 | 2016-06-16 | Audio stream processing method, mobile terminal and medium product |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN105959483B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108377290A (en) * | 2016-06-16 | 2018-08-07 | 广东欧珀移动通信有限公司 | A kind of audio stream processing method and mobile terminal and medium product |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354471A (en) * | 2016-09-29 | 2017-01-25 | 北京小米移动软件有限公司 | Method and device for audio play control and electronic device |
CN108664278A (en) * | 2017-03-27 | 2018-10-16 | 上海传英信息技术有限公司 | Start the method and device of audio for communication terminal application module |
CN107197101B (en) * | 2017-06-23 | 2020-12-29 | 努比亚技术有限公司 | Audio adjusting method, mobile terminal and computer readable storage medium |
CN109271128A (en) * | 2018-09-04 | 2019-01-25 | Oppo广东移动通信有限公司 | Audio setting method, device, electronic equipment and storage medium |
CN114546325A (en) * | 2020-11-24 | 2022-05-27 | 华为技术有限公司 | Audio processing method, electronic device and readable storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI237793B (en) * | 2004-03-12 | 2005-08-11 | Abit Comp Corp | Method for automatically changing configured values of hardware in computer system in accordance with executing application program |
CN100421152C (en) * | 2004-07-30 | 2008-09-24 | 英业达股份有限公司 | Sound control system and method |
US9189252B2 (en) * | 2011-12-30 | 2015-11-17 | Microsoft Technology Licensing, Llc | Context-based device action prediction |
KR20150006614A (en) * | 2013-07-09 | 2015-01-19 | 에스케이하이닉스 주식회사 | Data storage device and operating method thereof |
CN103646656B (en) * | 2013-11-29 | 2016-05-04 | 腾讯科技(成都)有限公司 | Sound effect treatment method, device, plugin manager and audio plug-in unit |
CN105022297B (en) * | 2015-07-09 | 2017-10-31 | 广东欧珀移动通信有限公司 | A kind of sound box parameter collocation method, mobile terminal |
CN105426218A (en) * | 2015-12-10 | 2016-03-23 | 小米科技有限责任公司 | Method and device for controlling audio playing |
CN105959483B (en) * | 2016-06-16 | 2018-02-27 | 广东欧珀移动通信有限公司 | A kind of audio stream processing method and mobile terminal |
-
2016
- 2016-06-16 CN CN201610438869.3A patent/CN105959483B/en not_active Expired - Fee Related
- 2016-06-16 CN CN201810077886.8A patent/CN108377290B/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108377290A (en) * | 2016-06-16 | 2018-08-07 | 广东欧珀移动通信有限公司 | A kind of audio stream processing method and mobile terminal and medium product |
CN108377290B (en) * | 2016-06-16 | 2021-06-01 | Oppo广东移动通信有限公司 | Audio stream processing method, mobile terminal and medium product |
Also Published As
Publication number | Publication date |
---|---|
CN108377290B (en) | 2021-06-01 |
CN105959483A (en) | 2016-09-21 |
CN108377290A (en) | 2018-08-07 |
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 | |
CN105959483B (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 | |
CN106126165B (en) | A kind of audio stream processing method and mobile terminal | |
CN106055408B (en) | A kind of application control method and mobile terminal | |
CN106775562A (en) | The method and device of audio frequency parameter treatment | |
CN110633067B (en) | Sound effect parameter adjusting method and mobile terminal | |
CN106095386A (en) | The method to set up of a kind of sound effect parameters and mobile terminal | |
CN105933537B (en) | A kind of volume processing method and user terminal | |
CN106095385A (en) | A kind of audio method to set up and mobile terminal | |
CN107707642A (en) | Brush amount terminal determines method and device | |
CN106407359A (en) | Image playing method and mobile terminal | |
CN106066814B (en) | A kind of application control method and mobile terminal | |
CN107222644A (en) | Incoming call blocking method, device and mobile terminal | |
CN107205091A (en) | Call control method and related product | |
CN106293389B (en) | A kind of self-defined picture method to set up and mobile terminal | |
CN106024034B (en) | A kind of method and terminal of adjustment audio | |
CN106534589A (en) | Mobile terminal control method and mobile terminal | |
CN106550143A (en) | A kind of mode switching method and mobile terminal | |
CN106250136B (en) | A kind of screen locking magazine player method and mobile terminal | |
CN106791152B (en) | A kind of communication means and mobile terminal | |
CN107168716A (en) | Application control method and related product | |
CN106354820A (en) | Picture playing method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
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. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180227 |