CN108377290A - A kind of audio stream processing method and mobile terminal and medium product - Google Patents

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

Info

Publication number
CN108377290A
CN108377290A CN201810077886.8A CN201810077886A CN108377290A CN 108377290 A CN108377290 A CN 108377290A CN 201810077886 A CN201810077886 A CN 201810077886A CN 108377290 A CN108377290 A CN 108377290A
Authority
CN
China
Prior art keywords
mobile terminal
audio
sound effect
application
effect 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.)
Granted
Application number
CN201810077886.8A
Other languages
Chinese (zh)
Other versions
CN108377290B (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 CN201810077886.8A priority Critical patent/CN108377290B/en
Publication of CN108377290A publication Critical patent/CN108377290A/en
Application granted granted Critical
Publication of CN108377290B publication Critical patent/CN108377290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of audio stream processing method and mobile terminals, including:When the system time for detecting mobile terminal is in default audio and the period is arranged, according to the mapping relations between the audio setting period to prestore and the application of the mobile terminal, determine that the system time corresponds to intended application;It is corresponding with reference to sound effect parameters that the intended application is loaded in the running memory of the mobile terminal;When detecting the broadcasting control instruction for audio stream within the default audio setting period, judge whether the application for playing the audio stream is the intended application;If so, read from the running memory it is described refer to sound effect parameters, the sound effect parameters for configuring the audio stream be it is described refer to sound effect parameters, and play the audio stream.The embodiment of the present invention is conducive to be promoted the fluency of the audio stream broadcasting of mobile terminal, and memory optimization resource management promotes user experience.

Description

A kind of audio stream processing method and mobile terminal and medium product
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 and medium Product.
Background technology
With becoming increasingly popular for the mobile terminal communications product such as mobile phone, mobile terminal is increasingly becoming indispensable in people's life Few means of communication, wherein the audio data playing function of mobile terminal is known as one of most common basic function of people.
In the audio effect processing technology of current mobile terminal, manufacturer generally can be according to the type configuration system of mobile terminal Audio pattern coordinates signal processing algorithm and audio signal processing circuit to play the audio stream of types of applications, but due to mobile whole Hold audio stream plays when be the corresponding sound effect parameters of real-time loading system audio pattern, and load audio frequency parameter operation occupy compared with More memory sources, this makes mobile terminal only have the operation that less free memory resource executes audio stream plays, is easy to make At low memory user experience is influenced to which audio stream playing process is not smooth enough, is susceptible to Caton phenomenon.
Invention content
An embodiment of the present invention provides a kind of audio stream processing method and mobile terminals, to promote the audio of mobile terminal The fluency of stream broadcasting, memory optimization resource management promote user 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 the period is arranged, when being arranged 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;
It is corresponding with reference to sound effect parameters that the intended application is loaded in the running memory of the mobile terminal;
When detecting the broadcasting control instruction for audio stream within the default audio setting period, judge for playing Whether the application of the audio stream is the intended application;
If so, read from the running memory it is described refer to sound effect parameters, configure the sound effect parameters of the audio stream Sound effect parameters are referred to be described, and play the audio stream.
The side of mobile terminal ability real-time loading sound effect parameters in audio stream plays in can be seen that compared with the existing technology Case, the mobile terminal load in running memory in advance refers to sound effect parameters, and is detecting the audio stream for being directed to intended application In the case of the application of control instruction and audio stream plays is played as 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.It avoids in audio stream in playing process In, the load of the sound effect parameters of mobile terminal operates committed memory resource quilt, to be conducive to promote the audio stream of mobile terminal The fluency of broadcasting, memory optimization resource management promote user experience.
With reference to first aspect, described to add in the running memory of the mobile terminal in some possible realization methods It is corresponding with reference to sound effect parameters to carry the intended application, including:
Judge whether the mobile terminal has created the corresponding application level sound effect parameters of the intended application;
If so, loading the application level sound effect parameters in the running memory of the mobile terminal.
With reference to first aspect, described to judge whether the mobile terminal creates in some possible realization methods Before stating the corresponding application level sound effect parameters of intended application, the method further includes:
Obtain the application level sound effect parameters that user is directed to intended application setting.
With reference to first aspect, in some possible realization methods, the method further includes:
If judging, the mobile terminal has not created the corresponding application level sound effect parameters of the intended application, described The global sound effect parameters of the mobile terminal are loaded in the running memory of mobile terminal.
With reference to first aspect, described at the system time for detecting mobile terminal in some possible realization methods Before when the period is arranged in default audio, the method further includes:
The N number of audio for obtaining the mobile terminal plays record, and it includes answering for audio stream plays that the audio, which plays record, With the reproduction time with the audio stream, N is the integer more than 1;
The reproduction time that 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 that each audio setting period is included in the period is set according to the M audio and plays record, is determined Duration either frequency of use or the highest application of access times is used in each audio setting period;
Joined according to the determining use duration or the audio of the highest application of frequency of use and corresponding audio stream Number establishes the mapping relations between the audio setting period and the application.
With reference to first aspect, in some possible realization methods, the sound effect parameters include 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 realization methods, 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 for choosing the intended application in interface for the player, needle is generated To the broadcasting control instruction of the audio stream.
Second aspect, an embodiment of the present invention provides a kind of mobile terminal, the mobile terminal includes function module, described Function module is for some or all of executing described in first aspect either method of the embodiment of the present invention step.
The third aspect, an embodiment of the present invention provides a kind of mobile terminals, including:
Processor, memory, communication interface and communication bus, the processor, the memory and the communication interface It is connected by the communication bus and completes mutual communication;
The memory is stored with executable program code, and the communication interface is for wirelessly communicating;
The processor is used to call the executable program code in the memory, executes the embodiment of the present invention the Step some or all of described in one side either method.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of audio stream processing method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another audio stream processing method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another audio stream processing method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of unit composition frame chart of mobile terminal disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing 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 and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing 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 by the embodiments of the present invention, below to this hair Bright embodiment describes in detail.
Referring to Fig. 1, Fig. 1 is that an embodiment of the present invention provides a kind of audio stream processing methods, as shown, this audio stream Processing method includes:
S101, mobile terminal is when the system time for detecting mobile terminal is in default audio and the period is arranged, according to pre- Mapping relations between the audio setting period deposited and the application of the mobile terminal, determine that the system time corresponds to target Using;
Wherein, the default audio setting period for example can be 7 points to 8 points of morning, 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 load the corresponding reference of the intended application in the running memory of the mobile terminal Sound effect parameters;
Wherein, the memory of the mobile terminal includes running memory and inoperative memory, and the running memory refers to movement The memory of terminal operating application, also referred to as random access memory ram, inoperative memory are the memories for storing data, also referred to as Read only memory ROM possesses the inoperative memory of 8G memory spaces such as the ROM that capacity is 8G.
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 realization method with reference to sound effect parameters:
The acquisition for mobile terminal user is directed to the application level sound effect parameters of intended application setting.Wherein, it applies Level sound effect parameters tool refers to the sound effect parameters that user is some specific application setting, and mobile terminal uses the application plays sound Audio when frequency flows is the corresponding audio of sound effect parameters being arranged.
The mobile terminal judges whether the mobile terminal has created the corresponding application level audio of 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 the corresponding application level sound effect parameters of 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 detect that the broadcasting control for audio stream refers within the default audio setting period When enabling, 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 It is 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 When operation, the broadcasting control instruction for the audio stream is generated.
The audio stream for example can be prompt tone, background sound, song, conversation voice etc..
S104, the mobile terminal if so, 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.
The side of mobile terminal ability real-time loading sound effect parameters in audio stream plays in can be seen that compared with the existing technology Case, the mobile terminal load in running memory in advance refers to sound effect parameters, and is detecting the audio stream for being directed to intended application In the case of the application of control instruction and audio stream plays is played as 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.It avoids in audio stream in playing process In, the load of the sound effect parameters of mobile terminal operates committed memory resource quilt, to be conducive to promote the audio stream of mobile terminal The fluency of broadcasting, memory optimization resource management promote user experience.
Optionally, in some embodiments of the invention, the mobile terminal is in the system time for detecting mobile terminal Before when the default audio setting period, following operation is also executed:
N number of audio of mobile terminal described in the acquisition for mobile terminal plays record, and it includes broadcasting that the audio, which plays record, The reproduction time of the application and the audio stream of audio stream is 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 The period is arranged in M audio of terminal, and M is the positive integer less than N;
The mobile terminal is arranged the audio that each audio setting period is included in the period according to the M audio and broadcasts It puts record, determines in each audio setting period using duration either frequency of use or access times are highest answers With;
The mobile terminal is according to the determining use duration or the highest application of frequency of use and corresponding sound The sound effect parameters of frequency stream establish the mapping relations between the audio setting period and the application.
It is consistent with above-mentioned embodiment shown in FIG. 1, referring to Fig. 2, Fig. 2 is another sound provided in an embodiment of the present invention The flow diagram of frequency method for stream processing.As shown, this audio stream processing method includes:
S201, mobile terminal is when the system time for detecting mobile terminal is in default audio and the period is arranged, according to pre- Mapping relations between the audio setting period deposited and the application of the mobile terminal, determine that the system time corresponds to target Using;
S202, the acquisition for mobile terminal user are directed to the application level sound effect parameters of intended application setting.
S203, the mobile terminal judge whether the mobile terminal has created the corresponding application level of 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 detect that the broadcasting control for audio stream refers within the default audio setting period When enabling, judge whether the application for playing the audio stream is the intended application;
S206, if so, 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.
The side of mobile terminal ability real-time loading sound effect parameters in audio stream plays in can be seen that compared with the existing technology Case, the mobile terminal load in running memory in advance refers to sound effect parameters, and is detecting the audio stream for being directed to intended application In the case of the application of control instruction and audio stream plays is played as 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.It avoids in audio stream in playing process In, the load of the sound effect parameters of mobile terminal operates committed memory resource quilt, to be conducive to promote the audio stream of mobile terminal The fluency of broadcasting, memory optimization resource management promote user experience.
It is consistent with above-mentioned Fig. 1 and embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is provided in an embodiment of the present invention another A kind of flow diagram of audio stream processing method.As shown, this audio stream processing method includes:
S301, mobile terminal is when the system time for detecting mobile terminal is in default audio and the period is arranged, according to pre- Mapping relations between the audio setting period deposited and the application of the mobile terminal, determine that the system time corresponds to target Using;
S302, the acquisition for mobile terminal user are directed to the application level sound effect parameters of intended application setting.
S303, the mobile terminal judge whether the mobile terminal has created the corresponding application level of the intended application Sound effect parameters;
S304, if judging, the mobile terminal has not created the corresponding application level sound effect parameters of 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 detect that the broadcasting control for audio stream refers within the default audio setting period When enabling, judge whether the application for playing the audio stream is the intended application;
S306, if so, 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.
The side of mobile terminal ability real-time loading sound effect parameters in audio stream plays in can be seen that compared with the existing technology Case, the mobile terminal load in running memory in advance refers to sound effect parameters, and is detecting the audio stream for being directed to intended application In the case of the application of control instruction and audio stream plays is played as 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.It avoids in audio stream in playing process In, the load of the sound effect parameters of mobile terminal operates committed memory resource quilt, to be conducive to promote the audio stream of mobile terminal The fluency of broadcasting, memory optimization resource management promote user experience.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing the method for the present invention embodiment Method.As shown in figure 4, the mobile terminal may include intended application determination unit 401, parameter loading unit 402, judge list Member 403 and playing control unit 404, wherein:
The intended application determination unit 401 is set for being in default audio in the system time for detecting mobile terminal When setting the period, according to the mapping relations between the audio setting period to prestore and the application of the mobile terminal, the system is determined 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 detecting the broadcasting control for audio stream within the default audio setting period When system instruction, judge whether the application for playing the audio stream is the intended application;
The playing control unit 404, for if so, read from the running memory it is described refer to sound effect parameters, It configures the sound effect parameters of the audio stream and refers 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 the corresponding application level sound effect parameters of the intended application;
If so, loading the application level sound effect parameters in the running memory of the mobile terminal.
Optionally, the mobile terminal further 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, the application level sound effect parameters that user is directed to intended application setting are obtained.
Optionally, the parameter loading unit 402 is additionally operable to:
If judging, the mobile terminal has not created the corresponding application level sound effect parameters of 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 further includes:
Play record acquiring unit, in the intended application determination unit in the system time for detecting mobile terminal Before when the period is arranged 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 determination unit is set, and the reproduction time for playing the audio stream in record according to N number of audio determines The period is arranged in M audio of the mobile terminal, and M is the positive integer less than N;
Using determination unit, for being included according to each audio setting period in the M audio setting period Audio broadcasting record determines in each audio setting period and uses duration either frequency of use or access times highest Application;
Relationship establishes unit, for according to determining described using duration or the highest application of frequency of use and right The sound effect parameters for the audio stream answered establish the mapping relations between the audio setting period and the application.
Optionally, the reference sound effect parameters include 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.
It should be noted that mobile terminal described in apparatus of the present invention embodiment is presented in the form of functional unit. Term " unit " used herein above should be understood as meaning as widest as possible, for realizing function described by each " unit " Object for example can be integrated circuit ASIC, single circuit, the processing for executing one or more softwares or firmware program Device (shared, dedicated 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 load of above-mentioned parameter loading unit 401 sound effect parameters can be as shown in Figure 5 It realizes, it specifically can be by processor 101 by calling the executable program code in memory 102, in mobile terminal Sound effect parameters are loaded in running memory.
The side of mobile terminal ability real-time loading sound effect parameters in audio stream plays in can be seen that compared with the existing technology Case, the mobile terminal load in running memory in advance refers to sound effect parameters, and is detecting the audio stream for being directed to intended application In the case of the application of control instruction and audio stream plays is played as 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.It avoids in audio stream in playing process In, the load of the sound effect parameters of mobile terminal operates committed memory resource quilt, to be conducive to promote the audio stream of mobile terminal The fluency of broadcasting, memory optimization resource management promote user 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;The wireless communication that processor 101 passes through communication interface 103 control and External cell net; Communication interface 103 include but 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, executable program code is stored in memory 102, which being capable of bootstrap processor The audio stream processing method specifically disclosed in 101 execution the method for the present invention embodiments, includes the following steps:
The processor 101 is when the system time for detecting mobile terminal is in default audio and the period is arranged, according to pre- Mapping relations between the audio setting period deposited and the application of the mobile terminal, determine that the system time corresponds to target Using;
It is corresponding with reference to audio that the processor 101 loads the intended application in the running memory of the mobile terminal Parameter;
The processor 101 detects the broadcasting control instruction for audio stream within the default audio setting period When, judge whether the application for playing the audio stream is the intended application;
If so, 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.
The side of mobile terminal ability real-time loading sound effect parameters in audio stream plays in can be seen that compared with the existing technology Case, the mobile terminal load in running memory in advance refers to sound effect parameters, and is detecting the audio stream for being directed to intended application In the case of the application of control instruction and audio stream plays is played as 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.It avoids in audio stream in playing process In, the load of the sound effect parameters of mobile terminal operates committed memory resource quilt, to be conducive to promote the audio stream of mobile terminal The fluency of broadcasting, memory optimization resource management promote user 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 relevant part of the embodiment of the present invention, particular technique details do not disclose, please refer to present invention method part.The movement Terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking mobile terminal is mobile phone as an example:
Fig. 6 shows the block diagram with the part-structure of the relevant mobile phone of 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 unit 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the equal components of power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 6 is not constituted to mobile phone It limits, may include either combining certain components or different components arrangement than illustrating more or fewer components.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
RF circuits 910 can be used for sending and receiving for information.In general, RF circuits 910 include but not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless 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 it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (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 storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, to execute various function application and the data processing of mobile phone.Memory 920 can include mainly 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 loads function, audio stream playing function etc.) etc.;Storage data field can be stored 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 may include that high speed is 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 unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition module 931 and other are defeated Enter equipment 932.Fingerprint recognition module 931 can acquire the finger print data of user on it.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 For 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.In addition to fingerprint recognition mould Group 931, input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 may include but not The one kind being limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, liquid crystal display (Liquid Crystal may be used Display, LCD), the forms 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 to realize mobile phone as two independent components Input and input function, but it is 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 sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity sensor can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions the big of (generally three axis) acceleration It is small, size and the direction of gravity are can detect that when static, can be used to identify 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 sensor, details are not described herein.
Voicefrequency circuit 960, loud speaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric The transformed electric signal of the audio data received can be transferred to loud speaker 961 by road 960, and sound is converted to by loud speaker 961 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 It is changed to audio data, then by after the processing of audio data playback process device 980, through RF circuits 910 to be sent to such as another mobile phone, Or audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 6 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can not change as needed completely Become in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, 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 answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In earlier figures 1, Fig. 2 and embodiment shown in Fig. 3, each step method flow can the structure based on the mobile phone it is real It is existing.
In aforementioned embodiment shown in Fig. 4, each unit function can be realized based on the structure of the mobile phone.
The embodiment of the present invention also provides a kind of computer storage media, wherein the computer storage media can be stored with journey Sequence, the program include some or all of any type audio stream processing method described in above method embodiment step when executing Suddenly.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, 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, it all emphasizes particularly on different fields to the description of each embodiment, there is no 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, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, 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 may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, 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 sells or use as independent product When, it can be stored in a computer-readable access to memory.Based on this understanding, technical scheme of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
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 It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory May include:Flash disk, read-only memory (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 expounded, and the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the 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 place, in conclusion the content of the present specification should not be construed as limiting the invention.

Claims (14)

1. a kind of audio stream processing method, which is characterized in that including:
When the system time for detecting mobile terminal is in default audio and the period is arranged, according to the audio setting period to prestore with Mapping relations between the application of the mobile terminal determine that the system time corresponds to intended application;
It is corresponding with reference to sound effect parameters that the intended application is loaded in the running memory of the mobile terminal;
When detecting the broadcasting control instruction for audio stream within the default audio setting period, judge described for playing Whether the application of audio stream is the intended application;
If so, read from the running memory it is described refer to sound effect parameters, configure the sound effect parameters of the audio stream as institute It states and refers to sound effect parameters, and play the audio stream.
2. according to the method described in claim 1, it is characterized in that, described load institute in the running memory of the mobile terminal It is corresponding with reference to sound effect parameters to state intended application, including:
Judge whether the mobile terminal has created the corresponding application level sound effect parameters of the intended application;
If so, loading the application level sound effect parameters in the running memory of the mobile terminal.
3. according to the method described in claim 2, it is characterized in that, described judge whether the mobile terminal has created the mesh Before the corresponding application level sound effect parameters of mark application, the method further includes:
Obtain the application level sound effect parameters that user is directed to intended application setting.
4. according to the method described in claim 2, it is characterized in that, the method further includes:
If judging, the mobile terminal has not created the corresponding application level sound effect parameters of the intended application, the movement The global sound effect parameters of the mobile terminal are loaded in the running memory of terminal.
5. according to claim 1-4 any one of them methods, which is characterized in that described in the system for detecting mobile terminal Between when in default audio, the period is set before, the method further includes:
The N number of audio for obtaining the mobile terminal plays record, the audio play record include audio stream plays application with The reproduction time of the audio stream, N are the integer more than 1;
The reproduction time that the audio stream in record is played according to N number of audio determines the M audio setting of the mobile terminal Period, M are the positive integer less than N;
According to the M audio be arranged the period in each audio setting the period included audio play record, determine described in Each audio, which was arranged in the period, uses duration either frequency of use or the highest application of access times;
According to it is determining it is described use duration or the sound effect parameters of the highest application of frequency of use and corresponding audio stream, Establish the mapping relations between the audio setting period and the application.
6. the method according to any one of claims 1 and 2, which is characterized in that the reference sound effect parameters include 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.
7. a kind of mobile terminal, which is characterized in that including:
Intended application determination unit, for when the system time for detecting mobile terminal is in default audio and the period is arranged, root According to the mapping relations between the audio setting period to prestore and the application of the mobile terminal, determine that the system time corresponds to Intended application;
Parameter loading unit, for being loaded in the running memory of the mobile terminal, the intended application is corresponding to refer to audio Parameter;
Judging unit is sentenced when for detecting the broadcasting control instruction for audio stream within the default audio setting period Whether the application broken for playing the audio stream is the intended application;
Playing control unit, for if so, 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.
8. mobile terminal according to claim 7, which is characterized in that the parameter loading unit is used for:
Judge whether the mobile terminal has created the corresponding application level sound effect parameters of the intended application;
If so, loading the application level sound effect parameters in the running memory of the mobile terminal.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further includes:
Parameter acquiring unit, for judging whether the mobile terminal has created the intended application and corresponded in the judging unit Application level sound effect parameters before, obtain user be directed to the intended application setting application level sound effect parameters.
10. mobile terminal according to claim 8, which is characterized in that the parameter loading unit is additionally operable to:
If judging, the mobile terminal has not created the corresponding application level sound effect parameters of the intended application, the movement The global sound effect parameters of the mobile terminal are loaded in the running memory of terminal.
11. according to claim 7-10 any one of them mobile terminals, which is characterized in that the mobile terminal further includes:
Record acquiring unit is played, for being in the system time for detecting mobile terminal in the intended application determination unit Before when the default audio setting period, the N number of audio for obtaining the mobile terminal plays record, and the audio plays record and includes The reproduction time of the application of audio stream plays and the audio stream, N are the integer more than 1;
Period determination unit is set, the reproduction time for playing the audio stream in record according to the N number of audio, determine described in The period is arranged in M audio of mobile terminal, and M is the positive integer less than N;
Using determination unit, for the audio that each audio setting period is included in the period to be arranged according to the M audio Record is played, is determined in each audio setting period using duration either frequency of use or access times are highest answers With;
Relationship establishes unit, for according to determining described using duration or the highest application of frequency of use and corresponding The sound effect parameters of audio stream establish the mapping relations between the audio setting period and the application.
12. according to claim 7 or 8 any one of them mobile terminals, which is characterized in that it is described with reference to sound effect parameters include with At least one of lower parameter:
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.
13. a kind of mobile terminal, which is characterized 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 is stored with executable program code, and the communication interface is for wirelessly communicating;
The processor is used to call the executable program code in the memory, executes as claim 1-6 is any Method described in.
14. a kind of computer-readable memory, which is characterized in that the computer-readable memory has program stored therein, wherein institute Program is stated for instructing related hardware to execute the method as described in claim any one of 1-6.
CN201810077886.8A 2016-06-16 2016-06-16 Audio stream processing method, mobile terminal and medium product Active CN108377290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810077886.8A CN108377290B (en) 2016-06-16 2016-06-16 Audio stream processing method, mobile terminal and medium product

Applications Claiming Priority (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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610438869.3A Division CN105959483B (en) 2016-06-16 2016-06-16 A kind of audio stream processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108377290A true CN108377290A (en) 2018-08-07
CN108377290B CN108377290B (en) 2021-06-01

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 Before (1)

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

Country Status (1)

Country Link
CN (2) CN105959483B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271128A (en) * 2018-09-04 2019-01-25 Oppo广东移动通信有限公司 Audio setting method, device, electronic equipment and storage medium
CN111782865A (en) * 2020-06-23 2020-10-16 腾讯音乐娱乐科技(深圳)有限公司 Audio information processing method and device and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959483B (en) * 2016-06-16 2018-02-27 广东欧珀移动通信有限公司 A kind of audio stream processing method and mobile terminal
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
CN114546325B (en) * 2020-11-24 2024-04-16 华为技术有限公司 Audio processing method, electronic device, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728234A (en) * 2004-07-30 2006-02-01 英业达股份有限公司 Sound control system and method
CN103077224A (en) * 2011-12-30 2013-05-01 微软公司 Method and system for forecasting motion of device based on context
US20150019794A1 (en) * 2013-07-09 2015-01-15 SK Hynix Inc. Data storage device and operating method thereof
CN105022297A (en) * 2015-07-09 2015-11-04 广东欧珀移动通信有限公司 Sound box parameter configuration method, mobile terminal, server and system
CN105959483B (en) * 2016-06-16 2018-02-27 广东欧珀移动通信有限公司 A kind of audio stream processing method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
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
CN103646656B (en) * 2013-11-29 2016-05-04 腾讯科技(成都)有限公司 Sound effect treatment method, device, plugin manager and audio plug-in unit
CN105426218A (en) * 2015-12-10 2016-03-23 小米科技有限责任公司 Method and device for controlling audio playing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728234A (en) * 2004-07-30 2006-02-01 英业达股份有限公司 Sound control system and method
CN103077224A (en) * 2011-12-30 2013-05-01 微软公司 Method and system for forecasting motion of device based on context
US20150019794A1 (en) * 2013-07-09 2015-01-15 SK Hynix Inc. Data storage device and operating method thereof
CN105022297A (en) * 2015-07-09 2015-11-04 广东欧珀移动通信有限公司 Sound box parameter configuration method, mobile terminal, server and system
CN105959483B (en) * 2016-06-16 2018-02-27 广东欧珀移动通信有限公司 A kind of audio stream processing method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271128A (en) * 2018-09-04 2019-01-25 Oppo广东移动通信有限公司 Audio setting method, device, electronic equipment and storage medium
CN111782865A (en) * 2020-06-23 2020-10-16 腾讯音乐娱乐科技(深圳)有限公司 Audio information processing method and device and storage medium

Also Published As

Publication number Publication date
CN108377290B (en) 2021-06-01
CN105959483B (en) 2018-02-27
CN105959483A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN106155623B (en) A kind of audio collocation method, system and relevant device
CN105959483B (en) A kind of audio stream processing method and mobile terminal
CN106126159B (en) A kind of audio stream processing method and mobile terminal
CN106126175B (en) A kind of adjusting method and mobile terminal of sound effect parameters
CN106126172B (en) A kind of sound effect treatment method and mobile terminal
CN106775562A (en) The method and device of audio frequency parameter treatment
CN105933537B (en) A kind of volume processing method and user terminal
CN106126165B (en) A kind of audio stream processing method and mobile terminal
CN106095386A (en) The method to set up of a kind of sound effect parameters and mobile terminal
CN107707642B (en) Brush amount terminal determines method and device
CN106413070B (en) A kind of power regulating method, mobile terminal and computer readable storage medium
CN110430592A (en) Network control method and Related product
CN106095387A (en) The audio method to set up of a kind of terminal and terminal
CN106095385A (en) A kind of audio method to set up and mobile terminal
CN106453909B (en) A kind of power regulating method and mobile terminal
CN106407359A (en) Image playing method and mobile terminal
CN108037874B (en) Screenshotss method and Related product
CN106227542A (en) A kind of screen locking magazine content is play and mobile terminal
CN106293389B (en) A kind of self-defined picture method to set up and mobile terminal
CN106791152B (en) A kind of communication means and mobile terminal
CN106250136B (en) A kind of screen locking magazine player method and mobile terminal
CN106354820A (en) Picture playing method and mobile terminal
CN106572176B (en) A kind of data transmission method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

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

Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province

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

GR01 Patent grant
GR01 Patent grant