CN106126160A - A kind of effect adjusting method and user terminal - Google Patents

A kind of effect adjusting method and user terminal Download PDF

Info

Publication number
CN106126160A
CN106126160A CN201610437111.8A CN201610437111A CN106126160A CN 106126160 A CN106126160 A CN 106126160A CN 201610437111 A CN201610437111 A CN 201610437111A CN 106126160 A CN106126160 A CN 106126160A
Authority
CN
China
Prior art keywords
type
multimedia file
file
sound effect
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
CN201610437111.8A
Other languages
Chinese (zh)
Other versions
CN106126160B (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 CN201610437111.8A priority Critical patent/CN106126160B/en
Publication of CN106126160A publication Critical patent/CN106126160A/en
Application granted granted Critical
Publication of CN106126160B publication Critical patent/CN106126160B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • 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)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of effect adjusting method and user terminal, wherein, the method includes: obtain the target physical address of multimedia file to be played, and described target physical address is the actual address that described multimedia file stores in the user terminal;The type of described multimedia file is determined according to described target physical address;According to the type of described multimedia file, and the file type preset and the corresponding relation of sound effect parameters, obtain the target sound effect parameters that the type of described multimedia file is corresponding;Described multimedia file is exported according to described target sound effect parameters.Implement the embodiment of the present invention, it is possible to the type for different multimedia files arranges suitable audio automatically, improves the convenience of operation, and is effectively improved Consumer's Experience and auditory effect.

Description

A kind of effect adjusting method and user terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of effect adjusting method and user terminal.
Background technology
Along with developing rapidly of terminal technology, the such as user terminal such as mobile phone, flat board has become people and has lived indispensable Ingredient.People are possible not only to utilize user terminal to carry out periodic traffic, it is also possible to carry out every amusement, as play game, Online, audio and video playing etc..At present, most of user terminals can support sound effect control function, user can according to self Demand manually carries out audio regulation.Once regulate complete, then user terminal will carry out multimedia file (such as sound with this sound effect parameters Video file) broadcasting until regulate next time.But, finding in actual applications, different multimedia files is to audio Requirement is different, uses a set of sound effect parameters to tend not to reach preferable effect when playing different file.Therefore, for The result of broadcast of satisfied different files, when carrying out the switching of different file, generally requires user and manually goes to reset conjunction Suitable sound effect parameters, in the case of switching frequent for multimedia file, can make complex operation and time-consuming.
Summary of the invention
The embodiment of the invention discloses a kind of effect adjusting method and user terminal, it is possible to for different multimedia files Type suitable audio is set automatically.
Embodiment of the present invention first aspect discloses a kind of effect adjusting method, including:
Obtaining the target physical address of multimedia file to be played, described target physical address is described multimedia file The actual address stored in the user terminal;
The type of described multimedia file is determined according to described target physical address;
According to the type of described multimedia file, and the file type preset and the corresponding relation of sound effect parameters, obtain The target sound effect parameters that the type of described multimedia file is corresponding;
Described multimedia file is exported according to described target sound effect parameters.
In conjunction with embodiment of the present invention first aspect, at the first possible embodiment of embodiment of the present invention first aspect In, the described type according to described multimedia file, and the corresponding relation of file type and the sound effect parameters preset, obtain institute Before stating the target sound effect parameters that the type of multimedia file is corresponding, described method also includes:
Judge that the type of described multimedia file is the most consistent with the type of history played file, described history played file The file play recently by described user terminal distance current time;
If the type of described multimedia file and the Type-Inconsistencies of described history played file, the then basis described in execution The type of described multimedia file, and the corresponding relation of file type and the sound effect parameters preset, obtain described multimedia literary composition The step of the target sound effect parameters that the type of part is corresponding.
In conjunction with the first possible embodiment of embodiment of the present invention first aspect, in embodiment of the present invention first aspect The possible embodiment of the second in, described method also includes:
If the type of described multimedia file is consistent with the type of described history played file, play literary composition according to described history The sound effect parameters of part exports described multimedia file.
In conjunction with the embodiment that the first or the second of embodiment of the present invention first aspect or first aspect are possible, at this In the third possible embodiment of inventive embodiments first aspect, the described type according to described multimedia file, and The file type preset and the corresponding relation of sound effect parameters, obtain the target sound effect parameters that the type of described multimedia file is corresponding Before, described method also includes:
Obtaining target state data, described target state data includes the positional information of described user terminal, described user Contextual model that the current system time of terminal, described user terminal are current and described user terminal are presently in the sound of environment At least one in value;
Wherein, the described type according to described multimedia file, and the file type preset is corresponding with sound effect parameters Relation, obtains the target sound effect parameters that the type of described multimedia file is corresponding, including:
According to the type of described multimedia file, and preset file type, status data is with sound effect parameters three's Corresponding relation, obtains the target sound effect parameters that the type of described multimedia file is corresponding.
In conjunction with the embodiment that the first or the second of embodiment of the present invention first aspect or first aspect are possible, at this In 4th kind of possible embodiment of inventive embodiments first aspect, the object of the multimedia file that described acquisition is to be played Before reason address, described method also includes:
Scanning described multimedia file, to obtain the attribute information of described multimedia file, described attribute information includes institute State physical address and the type of described multimedia file of multimedia file;
The attribute information of described multimedia file is stored to media information data base;
Wherein, the described type determining described multimedia file according to described target physical address, including:
According to described target physical address, inquire about relative with described target physical address from described media information data base The file type answered, and using described file type as the type of described multimedia file.
Embodiment of the present invention second aspect discloses a kind of user terminal, including:
First acquiring unit, for obtaining the target physical address of multimedia file to be played, described target physical ground Location is the actual address that described multimedia file stores in the user terminal;
Determine unit, for determining the type of described multimedia file according to described target physical address;
Second acquisition unit, for the type according to described multimedia file, and the file type preset is joined with audio The corresponding relation of number, obtains the target sound effect parameters that the type of described multimedia file is corresponding;
Output unit, for exporting described multimedia file according to described target sound effect parameters.
In conjunction with embodiment of the present invention second aspect, at the first possible embodiment of embodiment of the present invention second aspect In, described user terminal also includes:
Judging unit, at described second acquisition unit according to the type of described multimedia file, and the literary composition preset The corresponding relation of part type and sound effect parameters, before obtaining the target sound effect parameters that the type of described multimedia file is corresponding, sentences The type of disconnected described multimedia file is the most consistent with the type of history played file, and described history played file is described user The file that terminal distance current time is play recently;
Described second acquisition unit specifically for judging type and the institute of described multimedia file when described judging unit When stating the Type-Inconsistencies of history played file, according to the type of described multimedia file, and the file type preset and sound The corresponding relation of effect parameter, obtains the target sound effect parameters that the type of described multimedia file is corresponding.
In conjunction with the first possible embodiment of embodiment of the present invention second aspect, in embodiment of the present invention second aspect The possible embodiment of the second in, described output unit, be additionally operable to when described judging unit judges described multimedia literary composition When the type of part is consistent with the type of described history played file, export described according to the sound effect parameters of described history played file Multimedia file.
In conjunction with the embodiment that the first or the second of embodiment of the present invention second aspect or second aspect are possible, at this In the third possible embodiment of inventive embodiments second aspect, described user terminal also includes:
3rd acquiring unit, at described second acquisition unit according to the type of described multimedia file, and preset The corresponding relation of file type and sound effect parameters, obtain target sound effect parameters corresponding to the type of described multimedia file it Before, obtaining target state data, described target state data includes that the positional information of described user terminal, described user terminal are worked as Contextual model and described user terminal that front system time, described user terminal are current are presently in the volume value of environment At least one;
Described second acquisition unit is according to the type of described multimedia file, and the file type preset and sound effect parameters Corresponding relation, obtain the mode of target sound effect parameters corresponding to the type of described multimedia file particularly as follows:
Described second acquisition unit according to the type of described multimedia file, and preset file type, status data With the corresponding relation of sound effect parameters three, obtain the target sound effect parameters that the type of described multimedia file is corresponding.
In conjunction with the embodiment that the first or the second of embodiment of the present invention second aspect or second aspect are possible, at this In 4th kind of possible embodiment of inventive embodiments second aspect, described user terminal also includes:
Scanning element, for obtain at described first acquiring unit multimedia file to be played target physical address it Before, scan described multimedia file, to obtain the attribute information of described multimedia file, described attribute information includes described many matchmakers The physical address of body file and the type of described multimedia file;
Memory element, for storing the attribute information of described multimedia file to media information data base;
Described determine unit specifically for according to described target physical address, from described media information data base inquiry with The file type that described target physical address is corresponding, and using described file type as the type of described multimedia file.
In the embodiment of the present invention, before playing multimedia file, the target physical ground of this multimedia file can be obtained Location, and determine the type of this multimedia file according to this target physical address, can according to the type of this multimedia file, with And the corresponding relation of file type and the sound effect parameters preset, obtain the target audio ginseng corresponding to the type of this multimedia file Number, it is possible to play this multimedia file according to this target sound effect parameters.Visible, implement the embodiment of the present invention, can pass through Identify that the type of multimedia file obtains corresponding sound effect parameters such that it is able to automatic for different types of multimedia file Suitable audio is set, improves the convenience of operation, and be effectively improved Consumer's Experience and auditory effect.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of effect adjusting method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of effect adjusting method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of the embodiment of the present invention another user terminal disclosed.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
The embodiment of the invention discloses a kind of effect adjusting method and user terminal, can be by identifying multimedia file Type obtains corresponding sound effect parameters such that it is able to automatically arrange suitable audio for different types of multimedia file, Improve the convenience of operation, and be effectively improved Consumer's Experience and auditory effect.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of effect adjusting method disclosed in the embodiment of the present invention.Such as Fig. 1 institute Showing, this effect adjusting method may comprise steps of:
101, the target physical address of multimedia file to be played is obtained.
In the embodiment of the present invention, user terminal, before playing multimedia file, can obtain this multimedia to be played The target physical address of file, wherein, this multimedia file can include image file, audio file, video file etc., here Primary concern is that audio file and video file.Target physical address can be that this multimedia file stores in the user terminal Time actual address, i.e. the actual storage address of this multimedia file.
In the embodiment of the present invention, user terminal can include that cell phone, panel computer, palm PC, individual digital help Reason (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), all kinds of ends such as multimedia player (such as MP3, CD player etc.), Intelligent worn device (such as intelligent watch, Intelligent bracelet etc.) End, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, this multimedia file stores in the user terminal, so that user terminal can directly be read Take the target physical address of this multimedia file.Optionally, user terminal can first obtain the file name of this multimedia file, Remove to travel through the memory space of whole user terminal further according to this document title, the file location corresponding to obtain this document title Location, is the target physical address of this multimedia file.Such as, the form of expression of the target physical address of multimedia file is " C: Download test.mp3 ", then show the Download file that this multimedia file is stored in the C dish of user terminal Under folder, and file name is test, and suffix name (or extension name) is .mp3.
102, the type of this multimedia file is determined according to this target physical address.
In the embodiment of the present invention, when after the target physical address obtaining multimedia file to be played, can be according to this mesh Mark physical address determines the type of this multimedia file.The type of multimedia file can be roughly divided into image type, audio frequency Type and video type, further, audio types can be further subdivided into the types such as WAV, MP3, WMA, MID, AAC;Depending on Frequently type can be further subdivided into the types such as AVI, MPEG, ASF, SWF, WMV, MP4.
In the embodiment of the present invention, the target physical address of multimedia file can be as accurate as the filename of this multimedia file Claim and suffix, therefore can resolve this suffix and immediately arrive at the type of this multimedia file.In addition it is also possible to pre-set each Individual physical address and the corresponding relation of file type, thus from this corresponding relation, obtain out the target physical of this multimedia file File type corresponding to address.
As the optional embodiment of one, obtain the target physical of multimedia file to be played in execution step 101 Before address, the method described by Fig. 1 can also comprise the following steps:
11) scanning this multimedia file, to obtain the attribute information of this multimedia file, this attribute information includes this many matchmakers The physical address of body file and the type of this multimedia file;
12) attribute information of this multimedia file is stored to media information data base;
Wherein, step 102 determines that according to this target physical address the detailed description of the invention of type of this multimedia file can To comprise the following steps:
13) according to this target physical address, inquire about corresponding with this target physical address from this media information data base File type, and using this document type as the type of this multimedia file.
In this embodiment, this multimedia file can be entered by user terminal when storing each multimedia file Row scanning, to obtain the attribute information of this multimedia file, this attribute information is except including this multimedia file physically Outside location and file type, it is also possible to include but not limited to the file name of this multimedia file, file size, file size (as File duration), the information such as file format.
In this embodiment, user terminal can be by after the attribute information association of each multimedia file scanned Storing to media information data base, this media information data base may be used for storing the genus of the multimedia file in user terminal Property information.When getting the target physical address of multimedia file, this media information data base can be retrieved, to look for To the file type corresponding with this target physical address, then this document type is the type of this multimedia file.
103, according to the type of this multimedia file, and the corresponding relation of file type and the sound effect parameters preset, obtain Take the target sound effect parameters that the type of this multimedia file is corresponding.
In the embodiment of the present invention, different file types can be pre-set in the user terminal corresponding with sound effect parameters Relation, sound effect parameters corresponding to different file types can be different.After determining the type of multimedia file, can be from advance If file type with the corresponding relation of sound effect parameters obtains the sound effect parameters corresponding with the type of this multimedia file, then This sound effect parameters is the target sound effect parameters of this multimedia file.
In the embodiment of the present invention, sound effect parameters can include but not limited to that volume value, audio style are (such as primary sound, rock and roll, Gu Allusion quotation, popular, jazz etc.), scene mode (such as music hall pattern, room mode, headset mode, KTV pattern etc.), three-dimensional At least one in the information such as sound, mono-/bis-sound channel.Volume value can be regulated, by audio equalizer by volume controller Regulate the information such as audio style, scene mode.
104, this multimedia file is exported according to this target sound effect parameters.
In the embodiment of the present invention, when, after the target sound effect parameters that the type getting multimedia file is corresponding, can being somebody's turn to do The sound effect parameters of multimedia file is set to this target sound effect parameters, and plays this multimedia literary composition according to this target sound effect parameters Part, can improve the result of broadcast of this multimedia file.
In the method described by Fig. 1, before playing multimedia file, the object of this multimedia file can be obtained Reason address, and the type of this multimedia file is determined according to this target physical address, can be according to the class of this multimedia file Type, and the corresponding relation of file type and the sound effect parameters preset, obtain the target corresponding to the type of this multimedia file Sound effect parameters, it is possible to play this multimedia file according to this target sound effect parameters.By implementing the method described by Fig. 1, Corresponding sound effect parameters can be obtained such that it is able to for different types of multimedia by the type identifying multimedia file File arranges suitable audio automatically, improves the convenience of operation, and is effectively improved Consumer's Experience and auditory effect.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of effect adjusting method disclosed in the embodiment of the present invention.Such as Fig. 2 Shown in, this effect adjusting method may comprise steps of:
201, the target physical address of multimedia file to be played is obtained.
In the embodiment of the present invention, target physical address can be this multimedia file reality when storing in the user terminal The actual storage address of address, i.e. this multimedia file.User terminal can directly read the target physical of this multimedia file Address, such as, user terminal can first obtain the file name of this multimedia file, goes to travel through whole further according to this document title The memory space of user terminal, the file address corresponding to obtain this document title, it is the target of this multimedia file Physical address.Additionally, user terminal can also first obtain the broadcast address of this multimedia file, then reconvert becomes corresponding thing Reason address.
As the optional embodiment of one, step 201 obtains the target physical address of multimedia file to be played Detailed description of the invention may comprise steps of:
20) preset function is utilized to obtain the broadcast address of multimedia file to be played;
21) according to the mapping ruler of the broadcast address preset with physical address, the broadcast address of this multimedia file is turned Change the physical address of correspondence into, and using this physical address as the target physical address of this multimedia file.
In this embodiment, user terminal, can be by MediaPlayer interface before playing multimedia file Setdatasource function obtain the broadcast address of this multimedia file, wherein, preset function can be this Setdatasource function.Broadcast address and two kinds of addresses that the form of expression is different that physical address is multimedia file, both Between have a set of fixing mapping ruler, and broadcast address is one to one with physical address, and i.e. one broadcast address is unique A corresponding physical address.According to default mapping ruler, this multimedia that can will be got by setdatasource function The broadcast address of file becomes corresponding physical address, then this physical address is the target physical ground of this multimedia file Location.
202, the type of this multimedia file is determined according to this target physical address.
In the embodiment of the present invention, according to the target physical address of multimedia file, user terminal can directly determine that these are many The type of media file, such as, target physical address is " C: Download test.mp3 ", can parse this target physical The suffix .mp3 of file in address, thus show that this multimedia file is audio types, and form is MP3.In addition it is also possible to Multimedia file storage time, it is scanned by user terminal, with obtain the physical address of this multimedia file, file type, File name, file size, file size, file format etc. information, and store to media information after these information association In data base, so that user terminal can be according to the target physical address of multimedia file, in this media information data base Retrieve the file type corresponding to this target physical address, thus obtain the type of this multimedia file.
203, judge that the type of this multimedia file is the most consistent with the type of history played file, the most then perform step Rapid 206;If it is not, then perform step 204.
In the embodiment of the present invention, when, after the type getting multimedia file, this multimedia file being determined whether Type the most consistent with the type of history played file, wherein, this history played file can be in user terminal distance work as The locally stored multimedia file once play before the file that the front time is play recently, i.e. user terminal.
204, according to the type of this multimedia file, and the corresponding relation of file type and the sound effect parameters preset, obtain Take the target sound effect parameters that the type of this multimedia file is corresponding.
In the embodiment of the present invention, when the type of this multimedia file (is such as waited to broadcast with the Type-Inconsistencies of history played file The multimedia file put is audio file, and history played file is video file) time, this multimedia type institute can be obtained right The target sound effect parameters answered.The corresponding relation of different file types and sound effect parameters can be pre-set in the user terminal, Sound effect parameters corresponding to different file types can be different.Concrete, file type that user terminal can be preset from this with The corresponding relation of sound effect parameters obtains the sound effect parameters corresponding with the type of this multimedia file, and using this sound effect parameters as The target sound effect parameters of this multimedia file.In other words, when type and the type of history played file of this multimedia file Time inconsistent, user terminal carries out audio regulation, and the sound effect parameters of this history played file switches to this target sound effect parameters.
205, this multimedia file is exported according to this target sound effect parameters.
206, this multimedia file is exported according to the sound effect parameters of this history played file.
In the embodiment of the present invention, when the type of this multimedia file is consistent with the type of history played file (as to be played The type of multimedia file be MP3, the type of history played file is also MP3) time, now user terminal can be without from advance If file type with the corresponding relation of sound effect parameters obtains the sound effect parameters corresponding with the type of this multimedia file, only need The sound effect parameters of this multimedia file is set to the sound effect parameters of this history played file, and with this history played file Sound effect parameters carry out the broadcasting of this multimedia file.In other words, literary composition is play when the type of this multimedia file with history When the type of part is consistent, user terminal can be without carrying out audio regulation, to reduce unnecessary operation.
As the optional embodiment of one, when user terminal receives user, the target audio of this multimedia file is joined During the instruction that number is modified, user terminal responds this instruction, updates this target sound effect parameters;And can be by the mesh after this renewal Mark sound effect parameters stores to the corresponding relation of default file type and sound effect parameters, in updating in this corresponding relation Hold, the target sound effect parameters after this renewal is substituted original target sound effect parameters.
As the optional embodiment of one, before performing step 204, the method described by Fig. 2 can also include with Lower step:
22) target state data is obtained;
Wherein, step 204 is according to the type of this multimedia file, and the file type preset is corresponding with sound effect parameters Relation, the detailed description of the invention obtaining target sound effect parameters corresponding to the type of this multimedia file may comprise steps of:
23) according to the type of this multimedia file, and file type, status data and the sound effect parameters three preset Corresponding relation, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
In this embodiment, target state data can include but not limited to the positional information of user terminal, user eventually The current contextual model of current system time, user terminal and user terminal is held to be presently in the volume value of environment extremely Few one.
In this embodiment, the positional information of user terminal can be the positional information that user terminal is currently located ground, Can be to be obtained by the GPS (Global Positioning System, global positioning system) in user terminal, it is possible to Being to be obtained by architecture, it is also possible to being to be positioned by Wi-Fi to obtain etc., the embodiment of the present invention is not construed as limiting. The current positional information of user terminal can by be with latitude and longitude coordinates in the way of embody, it is also possible to be concrete actual address, Provinces and cities, street, number etc. as residing for terminal.The positional information of user terminal can also be user terminal historical act frequency The highest positional information corresponding to geographical position, can add up in Preset Time (as in January, in one week, in one day etc.) The user terminal movable number of times in each geographical position and/or Active duration, and acquisition activity number of times is at most and/or Active duration The positional information in the longest geographical position.The positional information of user terminal can be a concrete position, it is also possible to be one Position range, the embodiment of the present invention is not construed as limiting.The current system time of user terminal can be that user terminal currently exports Time, such as 8:30,19:00.The current contextual model of user terminal can include but not limited to mode standard, conference model, fly Row mode, silent mode etc..User terminal is presently in the volume value of environment and is the loudness of environmental noise, and unit can be Decibel, can be acquired by the mike of user terminal and assess.
As the optional embodiment of one, when this target state data includes the positional information of user terminal, step 23) according to the type of this multimedia file, and preset file type, status data corresponding with sound effect parameters three pass System, the detailed description of the invention obtaining target sound effect parameters corresponding to the type of this multimedia file may comprise steps of:
24) according to the type of this multimedia file, and the three of file type, positional information and the sound effect parameters preset Corresponding relation, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
In this embodiment, the sound effect parameters of correspondence can be different under different positional informationes for identical file type, Such as, user be in and office play identical file type multimedia file time sound effect parameters could be arranged to difference 's.By implementing this embodiment, further combined with the position considering user terminal on the basis of file fingerprint Information, can make sound effect parameters change along with the difference of positional information so that sound effect parameters is more suitable for user, more human nature Changing, audio is better.
As the optional embodiment of one, when this target state data includes the current system time of user terminal, Step 23) according to the type of this multimedia file, and file type, the status data preset are corresponding with sound effect parameters three's Relation, the detailed description of the invention obtaining target sound effect parameters corresponding to the type of this multimedia file may comprise steps of:
25) preset time range belonging to the system time that user terminal is current is determined;
26) according to the type of this multimedia file, and file type, time range and the sound effect parameters three preset Corresponding relation, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
In this embodiment, the sound effect parameters of correspondence can be different under different time range for identical file type, Such as, user the morning 8:00~11:00 and evening 21:00~24:00 play identical file type multimedia file time pair The sound effect parameters answered could be arranged to different, or, user plays many matchmakers of identical file type on day off and working day Sound effect parameters corresponding during body file could be arranged to different.By implementing this embodiment, at file fingerprint On the basis of further combined with considering the system time of user terminal, sound effect parameters change over time can be made and change, Making sound effect parameters be more suitable for user, more hommization, audio is better.
As the optional embodiment of one, when this target state data includes the current contextual model of user terminal, Step 23) according to the type of this multimedia file, and file type, the status data preset are corresponding with sound effect parameters three's Relation, the detailed description of the invention obtaining target sound effect parameters corresponding to the type of this multimedia file may comprise steps of:
27) according to the type of this multimedia file, and file type, contextual model and the sound effect parameters three preset Corresponding relation, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
In this embodiment, the sound effect parameters of correspondence can be different under different contextual models for identical file type, Such as, same type of multimedia file could be arranged to different in the sound effect parameters that mode standard is corresponding with conference model. By implementing this embodiment, further combined with the sight mould considering user terminal on the basis of file fingerprint Formula, can make sound effect parameters change along with the difference of contextual model so that sound effect parameters is more suitable for user, more human nature Changing, audio is better.
As the optional embodiment of one, when this target state data includes that user terminal is presently in the volume of environment During value, step 23) according to the type of this multimedia file, and file type, status data and the sound effect parameters three preset Corresponding relation, the detailed description of the invention obtaining target sound effect parameters corresponding to the type of this multimedia file can include following Step:
28) determine that user terminal is presently in the default volume range belonging to the volume value of environment;
29) according to the type of this multimedia file, and file type, volume range and the sound effect parameters three preset Corresponding relation, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
In this embodiment, the sound effect parameters of correspondence can be different under different volume ranges for identical file type, Such as, same type of multimedia file is that 0~20 decibel of sound effect parameters corresponding with 20~40 decibels can at ambient sound value Different to be set to.By implementing this embodiment, on the basis of file fingerprint further combined with considering outside Boundary's ambient sound value, can make sound effect parameters change along with the difference of ambient sound value so that sound effect parameters is more suitable for using Family, more hommization, audio is better.
It is understood that except taking the positional information of user terminal recited above into consideration, user terminal is worked as Before system time, the currently employed contextual model of user terminal, user terminal be presently in outside the information such as volume value of environment, The information such as the electricity that it is also conceivable to the loudspeaker parameters of user terminal, user terminal.Furthermore, it is possible to be its in above-mentioned information Middle a kind of type with multimedia file is combined, it is also possible to be combination and the multimedia file of much information in above-mentioned information Type is combined, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, by implementing the method described by Fig. 2, can be come by the type identifying multimedia file Obtain corresponding sound effect parameters such that it is able to suitable audio is set automatically for different types of multimedia file, improve behaviour The convenience made, and it is effectively improved Consumer's Experience and auditory effect.Further, it is also possible to take the position letter of user terminal into consideration At least one information in breath, system time, contextual model and ambient sound value etc., optimizes sound effect parameters so that sound further Effect parameter is more applicable for user, and more hommization, audio is better.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of user terminal disclosed in the embodiment of the present invention, may be used for holding Effect adjusting method disclosed in the row embodiment of the present invention.As it is shown on figure 3, this user terminal may include that
First acquiring unit 301, for obtaining the target physical address of multimedia file to be played.
In the embodiment of the present invention, target physical address can be this multimedia file reality when storing in the user terminal The actual storage address of address, i.e. this multimedia file.
Determine unit 302, for determining the type of this multimedia file according to this target physical address.
In the embodiment of the present invention, the type of multimedia file can be roughly divided into image type, audio types and video class Type, further, audio types can be further subdivided into the types such as WAV, MP3, WMA, MID, AAC;Video type can be entered One step is subdivided into the types such as AVI, MPEG, ASF, SWF, WMV, MP4.
Second acquisition unit 303, for the type according to this multimedia file, and the file type preset is joined with audio The corresponding relation of number, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
In the embodiment of the present invention, different file types can be pre-set in the user terminal corresponding with sound effect parameters Relation, sound effect parameters corresponding to different file types can be different.Second acquisition unit 303 can be from default file type The sound effect parameters corresponding with the type of this multimedia file with acquisition in the corresponding relation of sound effect parameters, then this sound effect parameters is i.e. Target sound effect parameters for this multimedia file.Sound effect parameters can include but not limited to volume value, audio style (as primary sound, Rock and roll, allusion, popular, jazz etc.), scene mode is (such as music hall pattern, room mode, headset mode, KTV pattern etc. Deng), at least one in the information such as stereo, mono-/bis-sound channel.Volume value can be regulated by volume controller, pass through sound Effect equalizer regulates the information such as audio style, scene mode.
Output unit 304, for exporting this multimedia file according to this target sound effect parameters.
In the embodiment of the present invention, the sound effect parameters of this multimedia file can be set to this target sound by output unit 304 Effect parameter, and play this multimedia file according to this target sound effect parameters.
As the optional embodiment of one, seeing also Fig. 4, Fig. 4 is another kind of disclosed in the embodiment of the present invention using The structural representation of family terminal, may be used for performing effect adjusting method disclosed in the embodiment of the present invention.Wherein, shown in Fig. 4 User terminal is to optimize further to obtain on the basis of the user terminal shown in Fig. 3.With the user terminal phase shown in Fig. 3 Ratio, the user terminal shown in Fig. 4 can also include:
Judging unit 305, at second acquisition unit 303 according to the type of this multimedia file, and the literary composition preset The corresponding relation of part type and sound effect parameters, before obtaining the target sound effect parameters that the type of this multimedia file is corresponding, it is judged that The type of this multimedia file is the most consistent with the type of history played file;Wherein, this history played file can be user The file that in terminal, distance current time is play recently.
Correspondingly, second acquisition unit 303 specifically may be used for when judging unit 305 judges the class of this multimedia file During the Type-Inconsistencies of type and history played file, according to the type of this multimedia file, and the file type preset and sound The corresponding relation of effect parameter, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
As the optional embodiment of one, output unit 304, it is also possible to for judging that these are many when judging unit 305 When the type of media file is consistent with the type of history played file, export this many matchmakers according to the sound effect parameters of history played file Body file.
As the optional embodiment of one, the user terminal shown in Fig. 4 can also include:
3rd acquiring unit 306, at described second acquisition unit according to the type of described multimedia file, and in advance If the corresponding relation of file type and sound effect parameters, obtain target sound effect parameters corresponding to the type of described multimedia file it Before, obtain target state data.
Wherein, this target state data can include but not limited to that the positional information of user terminal, user terminal are current In contextual model that system time, user terminal are current and the user terminal volume value being presently in environment etc. at least one Kind.
Correspondingly, second acquisition unit 303 is according to the type of this multimedia file, and the file type preset and audio The corresponding relation of parameter, the detailed description of the invention obtaining target sound effect parameters corresponding to the type of this multimedia file can be:
Second acquisition unit 303 is according to the type of this multimedia file, and file type, status data and the sound preset The corresponding relation of effect parameter three, obtains the target sound effect parameters that the type of this multimedia file is corresponding.
Seeing also Fig. 5, Fig. 5 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention, permissible For performing effect adjusting method disclosed in the embodiment of the present invention.Wherein, the user terminal shown in Fig. 5 is in the use shown in Fig. 4 On the basis of the terminal of family, further optimization obtains.Compared with the user terminal shown in Fig. 4, the user terminal shown in Fig. 5 also may be used To include:
Scanning element 307, for obtaining the target physical address of multimedia file to be played at the first acquiring unit 301 Before, scan this multimedia file, to obtain the attribute information of this multimedia file.
Wherein, this attribute information can include physical address and the file type of this multimedia file, further, it is also possible to bag Include but be not limited to the letters such as the file name of this multimedia file, file size, file size (such as file duration), file format Breath.
Memory element 308, for storing the attribute information of this multimedia file to media information data base.
Correspondingly, determine that unit 302 specifically may be used for according to this target physical address, from this media information data base Inquire about the file type corresponding with this target physical address, and using this document type as the type of this multimedia file.
In the embodiment of the present invention, by implementing the user terminal shown in Fig. 3 to Fig. 5, can be by identifying multimedia file Type obtain corresponding sound effect parameters such that it is able to for different types of multimedia file, suitable sound is set automatically Effect, improves the convenience of operation, and is effectively improved Consumer's Experience and auditory effect.Further, it is also possible to take user terminal into consideration Positional information, system time, contextual model and ambient sound value etc. at least one information, optimize further audio ginseng Number so that sound effect parameters is more applicable for user, more hommization, and audio is better.
Referring to Fig. 6, Fig. 6 is the structural representation of another kind of user terminal disclosed in the embodiment of the present invention, may be used for Perform effect adjusting method disclosed in the embodiment of the present invention.As shown in Figure 6, this user terminal 600 may include that at least one Reason device 601, at least one input equipment 602, at least one output device 603, memorizer 604 assembly such as grade.Wherein, these assemblies Can be communicatively coupled by one or more bus 605.It will be understood by those skilled in the art that the user shown in Fig. 6 The structure of terminal is not intended that the restriction to the embodiment of the present invention, and it both can be busbar network, it is also possible to be hub-and-spoke configuration, Can also include that ratio illustrates more or less of parts, or combine some parts, or different parts are arranged.Wherein:
In the embodiment of the present invention, processor 601 is the control centre of user terminal, utilizes various interface and connection whole The various piece of individual user terminal, is stored in the program in memorizer 604 and/or module by running or performing, and calls It is stored in the data in memorizer 604, to perform the various functions of user terminal and to process data.Processor 601 can be by collecting Become circuit (Integrated Circuit is called for short IC) composition, such as, can be made up of the IC of single encapsulation, it is also possible to by even Meet many identical functions or the encapsulation IC of difference in functionality and form.For example, processor 601 can only include central processing unit (Central Processing Unit is called for short CPU), it is also possible to be CPU, digital signal processor (Digital Signal Processor, is called for short DSP), graphic process unit (Graphic Processing Unit, be called for short GPU) and various control chip Combination.In embodiments of the present invention, CPU can be single arithmetic core, it is also possible to include multioperation core.
In the embodiment of the present invention, input equipment 602 can include the touch screen of standard, keyboard etc., it is also possible to includes wired Interface, wave point etc., may be used for realizing between user and user terminal 600 is mutual.
In the embodiment of the present invention, output device 603 can include display screen, speaker etc., it is also possible to include line interface, Wave point etc..
In the embodiment of the present invention, memorizer 604 can be used for storing application program and module, processor 601, input equipment 602 and output device 603 by calling storage application program in the memory 604 and module, thus perform user eventually The various functions of end is applied and is realized data and processes.Memorizer 604 mainly includes program storage area and data storage area, its In, program storage area can store the application program etc. needed for operating system, at least one function;Data storage area can store basis The data etc. that the use of user terminal is created.In embodiments of the present invention, operating system can be android system, iOS system System or Windows operating system etc..
In the user terminal shown in Fig. 6, processor 601 calls storage application program in the memory 604, is used for holding The following operation of row:
Obtain the target physical address of multimedia file to be played, this target physical address be this multimedia file with The actual address of storage in family terminal 600;
The type of this multimedia file is determined according to this target physical address;
According to the file type preset stored in the type of this multimedia file, and memorizer 604 and sound effect parameters Corresponding relation, obtain the target sound effect parameters that the type of this multimedia file is corresponding;
Trigger output device 603 and export this multimedia file according to this target sound effect parameters.
As the optional embodiment of one, processor 601 obtains the target physical address of multimedia file to be played Detailed description of the invention can be:
Preset function is utilized to obtain the broadcast address of multimedia file to be played;
According to the mapping ruler of default broadcast address Yu physical address, the broadcast address of this multimedia file is converted into Corresponding physical address, and using this physical address as the target physical address of this multimedia file.
As the optional embodiment of one, processor 601 is in the type according to this multimedia file, and memorizer In 604, the file type preset of storage and the corresponding relation of sound effect parameters, obtain the mesh that the type of this multimedia file is corresponding Before mark sound effect parameters, it is also possible to call storage application program in the memory 604, and perform following operation:
Judging that the type of this multimedia file is the most consistent with the type of history played file, this history played file is for using The file that family terminal 600 is play recently apart from current time;
If the type of this multimedia file and the Type-Inconsistencies of history played file, then trigger processor 601 and perform institute The type according to this multimedia file stated, and file type and the sound effect parameters preset of storage right in memorizer 604 Should be related to, obtain the operation of target sound effect parameters corresponding to the type of this multimedia file.
As the optional embodiment of one, processor 601 may call upon storage application journey in the memory 604 Sequence, and perform following operation:
If judging, the type of this multimedia file is consistent with the type of history played file, triggers output device 603 This multimedia file is exported according to the sound effect parameters of history played file.
As the optional embodiment of one, processor 601 is in the type according to this multimedia file, and memorizer In 604, the file type preset of storage and the corresponding relation of sound effect parameters, obtain the mesh that the type of this multimedia file is corresponding Before mark sound effect parameters, it is also possible to call storage application program in the memory 604, and perform following operation:
Obtaining target state data, this target state data can include but not limited to the positional information of user terminal, use Contextual model that the current system time of family terminal, user terminal are current and user terminal are presently in the volume value etc. of environment In at least one;
Wherein, the literary composition preset that processor 601 stores in the type according to this multimedia file, and memorizer 604 The corresponding relation of part type and sound effect parameters, obtains being embodied as of target sound effect parameters corresponding to the type of this multimedia file Mode can be:
According to the type of this multimedia file, and file type, the status data preset are right with sound effect parameters three's Should be related to, obtain the target sound effect parameters that the type of this multimedia file is corresponding.
As the optional embodiment of one, processor 601 is on the target physical ground obtaining multimedia file to be played Before location, it is also possible to call storage application program in the memory 604, and perform following operation:
Scanning this multimedia file, to obtain the attribute information of this multimedia file, this attribute information includes this multimedia The physical address of file and the type of this multimedia file;
The attribute information of this multimedia file is stored in the media information data base to memorizer 604;
Wherein, processor 601 determines the detailed description of the invention of type of this multimedia file according to this target physical address Can be:
According to this target physical address, from this media information data base, inquire about the literary composition corresponding with this target physical address Part type, and using this document type as the type of this multimedia file.
Specifically, the user terminal introduced in the embodiment of the present invention can be implemented the present invention and combine the sound that Fig. 1 or Fig. 2 introduces Part or all of flow process in effect control method embodiment.
In the embodiment of the present invention, by implementing the user terminal shown in Fig. 6, can be by identifying the type of multimedia file Obtain corresponding sound effect parameters such that it is able to suitable audio is set automatically for different types of multimedia file, improve The convenience of operation, and it is effectively improved Consumer's Experience and auditory effect.Further, it is also possible to take the position letter of user terminal into consideration At least one information in breath, system time, contextual model and ambient sound value etc., optimizes sound effect parameters so that sound further Effect parameter is more applicable for user, and more hommization, audio is better.
Refer to the structural representation that Fig. 7, Fig. 7 are the embodiment of the present invention another user terminals disclosed, may be used for Perform effect adjusting method disclosed in the embodiment of the present invention.As it is shown in fig. 7, for convenience of description, illustrate only real with the present invention Executing the part that example is relevant, concrete ins and outs do not disclose, and refer to embodiment of the present invention method part.This user terminal is permissible All kinds of ends such as including mobile phone, panel computer, palm PC, PDA, MID, multimedia player, Intelligent worn device, car-mounted terminal End, as a example by user terminal is as mobile phone:
Fig. 7 be illustrated that to the embodiment of the present invention disclosed in the schematic diagram of part-structure of the relevant mobile phone of user terminal. With reference to Fig. 7, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 710, memorizer 720, input block 730, display list Unit 740, sensor 750, voicefrequency circuit 760, Wireless Fidelity (Wireless Fidelity, WiFi) module 770, processor The parts such as 780 and power supply 790.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 is not intended that opponent The restriction of machine, can include that ratio illustrates more or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 7 each component parts of mobile phone carried out concrete introduction:
RF circuit 710 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station After downlink information receives, process to processor 780;It addition, be sent to base station by designing up data.Generally, RF circuit 710 Include but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 710 can also be communicated with network and other equipment by radio communication. Above-mentioned radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (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..
Memorizer 720 can be used for storing software program and module, and processor 780 is stored in memorizer 720 by operation Software program and module, thus perform mobile phone various functions application and data process.Memorizer 720 can mainly include Storage program area and storage data field, wherein, storage program area can store the application journey needed for operating system, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store what the use according to mobile phone was created Data (such as voice data, phone directory etc.) etc..Additionally, memorizer 720 can include high-speed random access memory, it is also possible to Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state Part.
Input block 730 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with And function controls relevant key signals input.Specifically, input block 730 can include that contact panel 731 and other inputs set Standby 732.Contact panel 731, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses Any applicable object such as finger, stylus or adnexa operation on contact panel 731 or near contact panel 731), and root Corresponding attachment means is driven according to formula set in advance.Optionally, contact panel 731 can include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinates, then give processor 780, and order that processor 780 sends can be received and performed.Furthermore, it is possible to use electricity The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 731.Except contact panel 731, input Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but not limited to secondary or physical bond One or more in dish, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 740 can be used for the various of the information that inputted by user of display or the information being supplied to user and mobile phone Menu.Display unit 740 can include display floater 741, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure aobvious Show panel 741.Further, contact panel 731 can cover display floater 741, when contact panel 731 detects thereon or attached After near touch operation, send processor 780 to determine the type of touch event, with preprocessor 780 according to touch event Type corresponding visual output is provided on display floater 741.Although in the figure 7, contact panel 731 and display floater 741 It is to realize input and the input function of mobile phone as two independent parts, but in some embodiments it is possible to by touch-control Panel 731 is integrated with display floater 741 and realizes input and the output function of mobile phone.
Mobile phone may also include at least one sensor 750, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater 741, proximity transducer can cut out display floater 741 when mobile phone moves in one's ear And/or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity time static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Also may be used as mobile phone Other sensors such as the gyroscope of configuration, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 760, speaker 761, microphone 762 can provide the audio interface between user and mobile phone.Audio-frequency electric The signal of telecommunication after the voice data conversion that road 760 can will receive, is transferred to speaker 761, speaker 761 is converted to sound Signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 762, voicefrequency circuit 760 turn after receiving It is changed to voice data, then after voice data output processor 780 is processed, through RF circuit 710 to be sent to such as another mobile phone, Or voice data is exported to memorizer 720 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 770 Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 7 shows WiFi module 770, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely Omit in the scope of the essence becoming invention.
Processor 780 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, logical Cross operation or perform to be stored in the software program in memorizer 720 and/or module, and calling and be stored in memorizer 720 Data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 780 can wrap Include one or more processing unit;Preferably, processor 780 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 780.
Mobile phone also includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply 790 can be by electricity Management system is logically contiguous with processor 780, thus realizes management charging, electric discharge and power consumption by power-supply management system The functions such as management.
Although not shown in Fig. 7, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In embodiments of the present invention, the processor 780 included by this user terminal also has the process of corresponding previous embodiment The function of device 601, does not repeats them here.
Module in all embodiments of the invention or submodule, can pass through universal integrated circuit, such as CPU, or pass through ASIC (Application Specific Integrated Circuit, special IC) realizes.
It should be noted that for each embodiment of the method aforesaid, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, and the present invention is not limited by described sequence of movement, because of For according to the application, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should Knowing, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this Shen Please be necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in certain embodiment Part, may refer to the associated description of other embodiments.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit or subelement in embodiment of the present invention user terminal can merge according to actual needs, divide and delete Subtract.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, described program can be stored in a computer read/write memory medium In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory, is called for short RAM) etc..
Above effect adjusting method a kind of disclosed in the embodiment of the present invention and user terminal are described in detail, herein In apply specific case principle and the embodiment of the present invention be set forth, the explanation of above example is only intended to side Assistant solves method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the think of of the present invention Thinking, the most all will change, in sum, it is right that this specification content should not be construed as The restriction of the present invention.

Claims (10)

1. an effect adjusting method, it is characterised in that including:
Obtain the target physical address of multimedia file to be played, described target physical address be described multimedia file with The actual address of storage in the terminal of family;
The type of described multimedia file is determined according to described target physical address;
According to the type of described multimedia file, and the file type preset and the corresponding relation of sound effect parameters, obtain described The target sound effect parameters that the type of multimedia file is corresponding;
Described multimedia file is exported according to described target sound effect parameters.
Method the most according to claim 1, it is characterised in that the described type according to described multimedia file, and in advance If the corresponding relation of file type and sound effect parameters, obtain target sound effect parameters corresponding to the type of described multimedia file it Before, described method also includes:
Judging that the type of described multimedia file is the most consistent with the type of history played file, described history played file is institute State the file that user terminal distance current time is play recently;
If the Type-Inconsistencies of the type of described multimedia file and described history played file, then perform described according to described The type of multimedia file, and the corresponding relation of file type and the sound effect parameters preset, obtain described multimedia file The step of the target sound effect parameters that type is corresponding.
Method the most according to claim 2, it is characterised in that described method also includes:
If the type of described multimedia file is consistent with the type of described history played file, according to described history played file Sound effect parameters exports described multimedia file.
4. according to the method described in any one of claims 1 to 3, it is characterised in that the described class according to described multimedia file Type, and the corresponding relation of file type and the sound effect parameters preset, obtain the target that the type of described multimedia file is corresponding Before sound effect parameters, described method also includes:
Obtaining target state data, described target state data includes the positional information of described user terminal, described user terminal Contextual model that current system time, described user terminal are current and described user terminal are presently in the volume value of environment In at least one;
Wherein, the described type according to described multimedia file, and the corresponding relation of file type and the sound effect parameters preset, Obtain the target sound effect parameters that the type of described multimedia file is corresponding, including:
According to the type of described multimedia file, and file type, the status data preset are corresponding with sound effect parameters three's Relation, obtains the target sound effect parameters that the type of described multimedia file is corresponding.
5. according to the method described in any one of claims 1 to 3, it is characterised in that the multimedia file that described acquisition is to be played Target physical address before, described method also includes:
Scanning described multimedia file, to obtain the attribute information of described multimedia file, described attribute information includes described many The physical address of media file and the type of described multimedia file;
The attribute information of described multimedia file is stored to media information data base;
Wherein, the described type determining described multimedia file according to described target physical address, including:
According to described target physical address, inquire about corresponding with described target physical address from described media information data base File type, and using described file type as the type of described multimedia file.
6. a user terminal, it is characterised in that including:
First acquiring unit, for obtaining the target physical address of multimedia file to be played, described target physical address is The actual address that described multimedia file stores in the user terminal;
Determine unit, for determining the type of described multimedia file according to described target physical address;
Second acquisition unit, for according to the type of described multimedia file, and the file type preset and sound effect parameters Corresponding relation, obtains the target sound effect parameters that the type of described multimedia file is corresponding;
Output unit, for exporting described multimedia file according to described target sound effect parameters.
User terminal the most according to claim 6, it is characterised in that described user terminal also includes:
Judging unit, at described second acquisition unit according to the type of described multimedia file, and files classes preset The corresponding relation of type and sound effect parameters, before obtaining the target sound effect parameters that the type of described multimedia file is corresponding, it is judged that institute The type stating multimedia file is the most consistent with the type of history played file, and described history played file is described user terminal The file that distance current time is play recently;
Described second acquisition unit is gone through with described specifically for the type judging described multimedia file when described judging unit During the Type-Inconsistencies of history played file, according to the type of described multimedia file, and the file type preset is joined with audio The corresponding relation of number, obtains the target sound effect parameters that the type of described multimedia file is corresponding.
User terminal the most according to claim 7, it is characterised in that
Described output unit, is additionally operable to when described judging unit judges that the type of described multimedia file is play with described history When the type of file is consistent, export described multimedia file according to the sound effect parameters of described history played file.
9. according to the user terminal described in any one of claim 6~8, it is characterised in that described user terminal also includes:
3rd acquiring unit, at described second acquisition unit according to the type of described multimedia file, and the literary composition preset The corresponding relation of part type and sound effect parameters, before obtaining the target sound effect parameters that the type of described multimedia file is corresponding, obtains Taking target state data, described target state data includes that the positional information of described user terminal, described user terminal are current Contextual model and described user terminal that system time, described user terminal are current are presently in the volume value of environment extremely Few one;
Described second acquisition unit is according to the type of described multimedia file, and the file type preset and sound effect parameters is right Should be related to, obtain the mode of target sound effect parameters corresponding to the type of described multimedia file particularly as follows:
Described second acquisition unit is according to the type of described multimedia file, and file type, status data and the sound preset The corresponding relation of effect parameter three, obtains the target sound effect parameters that the type of described multimedia file is corresponding.
10. according to the user terminal described in any one of claim 6~8, it is characterised in that described user terminal also includes:
Scanning element, before obtain the target physical address of multimedia file to be played at described first acquiring unit, Scanning described multimedia file, to obtain the attribute information of described multimedia file, described attribute information includes described multimedia The physical address of file and the type of described multimedia file;
Memory element, for storing the attribute information of described multimedia file to media information data base;
Described determine unit specifically for according to described target physical address, from described media information data base, inquiry is with described The file type that target physical address is corresponding, and using described file type as the type of described multimedia file.
CN201610437111.8A 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal Expired - Fee Related CN106126160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610437111.8A CN106126160B (en) 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610437111.8A CN106126160B (en) 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal

Publications (2)

Publication Number Publication Date
CN106126160A true CN106126160A (en) 2016-11-16
CN106126160B CN106126160B (en) 2019-10-25

Family

ID=57471107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610437111.8A Expired - Fee Related CN106126160B (en) 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal

Country Status (1)

Country Link
CN (1) CN106126160B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658219A (en) * 2016-12-29 2017-05-10 微鲸科技有限公司 Sound setting method and system
CN107885482A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Audio frequency playing method, device, storage medium and electronic equipment
CN109120991A (en) * 2017-06-26 2019-01-01 中国电信股份有限公司 Method, apparatus and set-top box for dynamic regulation video volume
CN110764731A (en) * 2019-10-24 2020-02-07 北京声智科技有限公司 Multimedia file playing control method, intelligent terminal and server
CN113360682A (en) * 2021-05-21 2021-09-07 青岛海尔空调器有限总公司 Information processing method and device
CN113473220A (en) * 2021-06-28 2021-10-01 海信视像科技股份有限公司 Automatic sound effect starting method and display equipment
CN115134675A (en) * 2021-03-26 2022-09-30 北京小米移动软件有限公司 Sound output method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475682A (en) * 2012-06-07 2013-12-25 华为技术有限公司 File transfer method and file transfer equipment
CN103927146A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Sound effect self-adapting method and device
CN104485121A (en) * 2014-11-24 2015-04-01 惠州Tcl移动通信有限公司 Method and system for automatically setting sound effect parameters

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475682A (en) * 2012-06-07 2013-12-25 华为技术有限公司 File transfer method and file transfer equipment
CN103927146A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Sound effect self-adapting method and device
CN104485121A (en) * 2014-11-24 2015-04-01 惠州Tcl移动通信有限公司 Method and system for automatically setting sound effect parameters

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658219A (en) * 2016-12-29 2017-05-10 微鲸科技有限公司 Sound setting method and system
CN109120991A (en) * 2017-06-26 2019-01-01 中国电信股份有限公司 Method, apparatus and set-top box for dynamic regulation video volume
CN107885482A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Audio frequency playing method, device, storage medium and electronic equipment
CN110764731A (en) * 2019-10-24 2020-02-07 北京声智科技有限公司 Multimedia file playing control method, intelligent terminal and server
CN115134675A (en) * 2021-03-26 2022-09-30 北京小米移动软件有限公司 Sound output method and device, electronic equipment and storage medium
CN113360682A (en) * 2021-05-21 2021-09-07 青岛海尔空调器有限总公司 Information processing method and device
CN113360682B (en) * 2021-05-21 2023-03-21 青岛海尔空调器有限总公司 Information processing method and device
CN113473220A (en) * 2021-06-28 2021-10-01 海信视像科技股份有限公司 Automatic sound effect starting method and display equipment

Also Published As

Publication number Publication date
CN106126160B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN106126160A (en) A kind of effect adjusting method and user terminal
CN105955700A (en) Sound effect adjusting method and user terminal
CN105872253A (en) Live broadcast sound processing method and mobile terminal
CN104426919A (en) Page sharing method, device and system
CN106506437B (en) Audio data processing method and device
CN106126174A (en) The control method of a kind of scene audio and electronic equipment
CN105606117A (en) Navigation prompting method and navigation prompting apparatus
CN106170034A (en) A kind of sound effect treatment method and mobile terminal
CN107786714B (en) Sound control method, apparatus and system based on vehicle-mounted multimedia equipment
CN104954159A (en) Network information statistics method and device
CN106126675A (en) A kind of method of recommendation of audio, Apparatus and system
CN105959482A (en) Scene sound effect control method and electronic device
CN106095385A (en) A kind of audio method to set up and mobile terminal
CN107707642A (en) Brush amount terminal determines method and device
CN103533127A (en) Call control method of terminal and terminal
CN106980654B (en) Road condition updating method, device and computer equipment
CN106303605A (en) A kind of methods, devices and systems sent a notification message
CN103699577B (en) A kind of page display accelerated method, device and mobile terminal
CN106231382A (en) A kind of advertising pictures player method and terminal unit
CN106126170A (en) The audio method to set up of a kind of terminal and terminal
CN108323236A (en) A kind of exchange method and terminal
CN106682189A (en) Filename display method and device
CN104135504A (en) An application-based service providing method, device and system
CN106057213A (en) Method and apparatus for displaying voice pitch data
CN105976849A (en) Method and apparatus for playing audio data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191025

CF01 Termination of patent right due to non-payment of annual fee