CN106126160B - 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
CN106126160B
CN106126160B CN201610437111.8A CN201610437111A CN106126160B CN 106126160 B CN106126160 B CN 106126160B CN 201610437111 A CN201610437111 A CN 201610437111A CN 106126160 B CN106126160 B CN 106126160B
Authority
CN
China
Prior art keywords
type
multimedia file
file
physical address
sound effect
Prior art date
Application number
CN201610437111.8A
Other languages
Chinese (zh)
Other versions
CN106126160A (en
Inventor
李亚军
甘高亭
杨海
涂广
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
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

Links

Classifications

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

Abstract

The embodiment of the invention discloses a kind of effect adjusting method and user terminals, wherein this method comprises: obtaining the target physical address of multimedia file to be played, the target physical address is the actual address that the multimedia file stores in the user terminal;The type of the multimedia file is determined according to the target physical address;According to the corresponding relationship of the type of the multimedia file and preset file type and sound effect parameters, the corresponding target sound effect parameters of type of the multimedia file are obtained;The multimedia file is exported according to the target sound effect parameters.Implement the embodiment of the present invention, suitable audio can be set for the type of different multimedia files automatically, improve the convenience of operation, and be effectively improved user experience and auditory effect.

Description

A kind of effect adjusting method and user terminal

Technical field

The present invention relates to electronic technology field more particularly to a kind of effect adjusting methods and user terminal.

Background technique

With the rapid development of terminal technology, the user terminals such as mobile phone, plate have become indispensable for people's lives Component part.People not only can use user terminal and carry out periodic traffic, can also carry out every amusement, such as object for appreciation game, Online, audio and video playing etc..Currently, most users terminal can support sound effect control function, user can according to itself Demand carries out audio adjusting manually.Once adjusting finishes, then user terminal will carry out multimedia file (such as sound with the sound effect parameters Video file) broadcasting until adjust next time.However, finding in practical applications, different multimedia files is to audio It is required that be it is different, tend not to reach preferable effect when playing different files using a set of sound effect parameters.Therefore, it is The result of broadcast for meeting different files generally requires the manual duplicate removal of user conjunction is newly arranged when carrying out the switching of different files Suitable sound effect parameters, for multimedia file frequent switching in the case where, can make cumbersome and time-consuming.

Summary of the invention

The embodiment of the invention discloses a kind of effect adjusting method and user terminals, can be directed to different multimedia files Type suitable audio is set automatically.

First aspect of the embodiment of the present invention discloses a kind of effect adjusting method, comprising:

The target physical address of multimedia file to be played is obtained, the target physical address is the multimedia file The actual address stored in the user terminal;

The type of the multimedia file is determined according to the target physical address;

According to the corresponding relationship of the type of the multimedia file and preset file type and sound effect parameters, obtain The corresponding target sound effect parameters of the type of the multimedia file;

The multimedia file is exported according to the target sound effect parameters.

In conjunction with the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible embodiment In, it is described according to the type of the multimedia file and the corresponding relationship of preset file type and sound effect parameters, obtain institute Before the corresponding target sound effect parameters of type for stating multimedia file, the method also includes:

Whether the type for judging the multimedia file is consistent with the type of history played file, the history played file The file played recently by the user terminal apart from current time;

If the Type-Inconsistencies of the type of the multimedia file and the history played file, the basis is executed The corresponding relationship of the type of the multimedia file and preset file type and sound effect parameters obtains the multimedia text The step of type of part corresponding target sound effect parameters.

In conjunction with the first possible embodiment of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention Second of possible embodiment in, the method also includes:

If the type of the multimedia file is consistent with the type of the history played file, text is played according to the history The sound effect parameters of part export the multimedia file.

In conjunction with the first or second of possible embodiment of first aspect of the embodiment of the present invention or first aspect, at this In the third possible embodiment of inventive embodiments first aspect, the type according to the multimedia file, and The corresponding relationship of preset file type and sound effect parameters obtains the corresponding target sound effect parameters of type of the multimedia file Before, the method also includes:

Target state data is obtained, the target state data includes the location information of the user terminal, the user The sound of the current contextual model of the current system time of terminal, the user terminal and the user terminal current environment At least one of magnitude;

Wherein, described corresponding with sound effect parameters according to the type of the multimedia file and preset file type Relationship obtains the corresponding target sound effect parameters of type of the multimedia file, comprising:

According to the type of the multimedia file and preset file type, status data and sound effect parameters three Corresponding relationship obtains the corresponding target sound effect parameters of type of the multimedia file.

In conjunction with the first or second of possible embodiment of first aspect of the embodiment of the present invention or first aspect, at this In 4th kind of possible embodiment of inventive embodiments first aspect, the object for obtaining multimedia file to be played Before managing address, the method also includes:

The multimedia file is scanned, to obtain the attribute information of the multimedia file, the attribute information includes institute State the physical address of multimedia file and the type of the multimedia file;

The attribute information of the multimedia file is stored into media information database;

Wherein, the type that the multimedia file is determined according to the target physical address, comprising:

According to the target physical address, inquired from the media information database opposite with the target physical address The file type answered, and using the file type as the type of the multimedia file.

Second aspect of the embodiment of the present invention discloses a kind of user terminal, comprising:

First acquisition unit, for obtaining the target physical address of multimedia file to be played, the target physical Location is the actual address that the multimedia file stores in the user terminal;

Determination unit, for determining the type of the multimedia file according to the target physical address;

Second acquisition unit, for being joined according to the type of the multimedia file and preset file type and audio Several corresponding relationships obtains the corresponding target sound effect parameters of type of the multimedia file;

Output unit, for exporting the multimedia file according to the target sound effect parameters.

In conjunction with second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect of the embodiment of the present invention In, the user terminal further include:

Judging unit, in type of the second acquisition unit according to the multimedia file and preset text The corresponding relationship of part type and sound effect parameters before the corresponding target sound effect parameters of type for obtaining the multimedia file, is sentenced Break the multimedia file type it is whether consistent with the type of history played file, the history played file be the user The file that terminal is played recently apart from current time;

The second acquisition unit is specifically used for judging type and the institute of the multimedia file when the judging unit When stating the Type-Inconsistencies of history played file, according to the type of the multimedia file and preset file type and sound The corresponding relationship for imitating parameter, obtains the corresponding target sound effect parameters of type of the multimedia file.

In conjunction with the first possible embodiment of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention Second of possible embodiment in, the output unit is also used to judge multimedia text when the judging unit When the type of part is consistent with the type of the history played file, according to the output of the sound effect parameters of the history played file Multimedia file.

In conjunction with the first or second of possible embodiment of second aspect of the embodiment of the present invention or second aspect, at this In the third possible embodiment of inventive embodiments second aspect, the user terminal further include:

Third acquiring unit, for the type in the second acquisition unit according to the multimedia file, and it is default File type and sound effect parameters corresponding relationship, obtain the multimedia file the corresponding target sound effect parameters of type it Before, target state data is obtained, the target state data includes that the location information of the user terminal, the user terminal are worked as In the volume value of preceding system time, the user terminal current contextual model and the user terminal current environment At least one;

The second acquisition unit is according to the type of the multimedia file and preset file type and sound effect parameters Corresponding relationship, obtain the mode of the corresponding target sound effect parameters of type of the multimedia file specifically:

The second acquisition unit is according to the type and preset file type, status data of the multimedia file With the corresponding relationship of sound effect parameters three, the corresponding target sound effect parameters of type of the multimedia file are obtained.

In conjunction with the first or second of possible embodiment of second aspect of the embodiment of the present invention or second aspect, at this In 4th kind of possible embodiment of inventive embodiments second aspect, the user terminal further include:

Scanning element, for obtained in the first acquisition unit multimedia file to be played target physical address it Before, the multimedia file is scanned, to obtain the attribute information of the multimedia file, the attribute information includes more matchmakers The type of the physical address of body file and the multimedia file;

Storage unit, for storing the attribute information of the multimedia file into media information database;

The determination unit is specifically used for according to the target physical address, from the media information database inquiry with The corresponding file type of the target physical address, and using the file type as the type of the multimedia file.

In the embodiment of the present invention, before playing multimedia file, the target physical of the available multimedia file Location, and determine according to the target physical address type of the multimedia file, can according to the type of the multimedia file, with And the corresponding relationship of preset file type and sound effect parameters, obtain the ginseng of target audio corresponding to the type of the multimedia file Number, and the multimedia file can be played according to the target sound effect parameters.As it can be seen that implementing the embodiment of the present invention, can pass through The type of multimedia file is identified to obtain corresponding sound effect parameters, so as to automatic for different types of multimedia file Suitable audio is set, the convenience of operation is improved, and is effectively improved user experience and auditory effect.

Detailed description of the invention

It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.

Fig. 1 is a kind of flow diagram of effect adjusting method disclosed by the embodiments of the present invention;

Fig. 2 is the flow diagram of another effect adjusting method disclosed by the embodiments of the present invention;

Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;

Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;

Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;

Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;

Fig. 7 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.

Specific embodiment

Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.

The embodiment of the invention discloses a kind of effect adjusting method and user terminals, can pass through identification multimedia file Type obtains corresponding sound effect parameters, so as to be arranged suitable audio automatically for different types of multimedia file, The convenience of operation is improved, and is effectively improved user experience and auditory effect.It is described in detail separately below.

Referring to Fig. 1, Fig. 1 is a kind of flow diagram of effect adjusting method disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, which 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 is before playing multimedia file, the available multimedia to be played The target physical address of file, wherein the multimedia file may include image file, audio file, video file etc., here Primary concern is that audio file and video file.Target physical address can store in the user terminal for the multimedia file When actual address, i.e. the actual storage address of the multimedia file.

In the embodiment of the present invention, user terminal may include that cell phone, tablet computer, palm PC, individual digital help Manage (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), all kinds of ends such as multimedia player (such as MP3, CD player), intelligent wearable device (such as smartwatch, Intelligent bracelet) End, the embodiment of the present invention are not construed as limiting.

In the embodiment of the present invention, which is stored in the user terminal, so that user terminal can directly be read Take the target physical address of the multimedia file.Optionally, user terminal can first obtain the file name of the multimedia file, Remove to traverse the memory space of entire user terminal, further according to this document title to obtain the corresponding file location of this document title Location, the as target physical address of the multimedia file.For example, the form of expression of the target physical address of multimedia file is " C: Download test.mp3 ", then show the Download file that the multimedia file is stored in the C disk of user terminal Under folder, and file name is test, and suffix name (or extension name) is .mp3.

102, the type of the multimedia file is determined according to the target physical address.

It, can be according to the mesh after obtaining the target physical address of multimedia file to be played in the embodiment of the present invention Mark physical address determines the type of the multimedia file.The type of multimedia file can be roughly divided into image type, audio Type and video type, further, audio types can be further subdivided into the types such as WAV, MP3, WMA, MID, AAC;Depending on Frequency 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 the multimedia file Title and suffix, therefore can parse the type that the suffix immediately arrives at the multimedia file.In addition it is also possible to preset each The corresponding relationship of a physical address and file type, to obtain out the target physical of the multimedia file from the corresponding relationship File type corresponding to address.

As an alternative embodiment, obtaining the target physical of multimedia file to be played in execution step 101 Before address, method described in Fig. 1 can with the following steps are included:

11) multimedia file is scanned, to obtain the attribute information of the multimedia file, which includes more matchmakers The physical address of body file and the type of the multimedia file;

12) attribute information of the multimedia file is stored into media information database;

Wherein, step 102 determines that the specific embodiment of type of the multimedia file can according to the target physical address With the following steps are included:

13) it according to the target physical address, is inquired from the media information database corresponding with the target physical address File type, and using this document type as the type of the multimedia file.

In this embodiment, user terminal can when storing each multimedia file, to the multimedia file into Row scanning, to obtain the attribute information of the multimedia file, the attribute information except may include the multimedia file physically Outside location and file type, can also include but is not limited to the file name, file size, file size of the multimedia file (such as File duration), the information such as file format.

In this embodiment, after the attribute information of each multimedia file scanned can be associated with by user terminal It stores into media information database, which can be used for storing the category of the multimedia file in user terminal Property information.When getting the target physical address of multimedia file, which can be retrieved, to look for To file type corresponding with the target physical address, then this document type is the type of the multimedia file.

103, it according to the corresponding relationship of the type of the multimedia file and preset file type and sound effect parameters, obtains Take the corresponding target sound effect parameters of the type of the multimedia file.

In the embodiment of the present invention, it is corresponding with sound effect parameters that different file types can be preset in the user terminal Relationship, the corresponding sound effect parameters of different file types can be different.It, can be from pre- after determining the type of multimedia file If file type with corresponding with the type of multimedia file sound effect parameters are obtained in the corresponding relationship of sound effect parameters, then The sound effect parameters are the target sound effect parameters of the multimedia file.

In the embodiment of the present invention, sound effect parameters can include but is not limited to volume value, audio style (such as primary sound, rock and roll, Gu Allusion quotation, prevalence, jazz etc.), it is scene mode (such as music hall mode, room mode, headset mode, KTV mode), three-dimensional At least one of information such as sound, mono-/bis-sound channel.Volume value can be adjusted by volume controller, pass through audio balanced device To adjust the information such as audio style, scene mode.

104, the multimedia file is exported according to the target sound effect parameters.

It, can should after the type for getting multimedia file corresponding target sound effect parameters in the embodiment of the present invention The sound effect parameters of multimedia file are set as the target sound effect parameters, and multimedia text is played according to the target sound effect parameters The result of broadcast of the multimedia file can be improved in part.

In the method depicted in fig. 1, before playing multimedia file, the object of the available multimedia file Address is managed, and determines the type of the multimedia file according to the target physical address, it can be according to the class of the multimedia file The corresponding relationship of type and preset file type and sound effect parameters obtains target corresponding to the type of the multimedia file Sound effect parameters, and the multimedia file can be played according to the target sound effect parameters.By implementing method described in Fig. 1, Corresponding sound effect parameters can be obtained by identifying the type of multimedia file, so as to be directed to different types of multimedia Suitable audio is arranged in file automatically, improves the convenience of operation, and is effectively improved user experience and auditory effect.

Referring to Fig. 2, Fig. 2 is the flow diagram of another effect adjusting method disclosed by the embodiments of the present invention.Such as Fig. 2 Shown, which may comprise steps of:

201, the target physical address of multimedia file to be played is obtained.

Reality in the embodiment of the present invention, when target physical address can store in the user terminal for the multimedia file Address, i.e. the actual storage address of the multimedia file.The target physical of the multimedia file can be read directly in user terminal Address goes traversal entire for example, user terminal can first obtain the file name of the multimedia file further according to this document title The memory space of user terminal, to obtain the corresponding file address of this document title, the as target of the multimedia file Physical address.In addition, user terminal can also first obtain the broadcast address of the multimedia file, then reconvert is at corresponding object Manage address.

As an alternative embodiment, step 201 obtains the target physical address of multimedia file to be played Specific embodiment may comprise steps of:

20) broadcast address of multimedia file to be played is obtained using preset function;

21) according to the mapping ruler of preset broadcast address and physical address, the broadcast address of the multimedia file is turned Change corresponding physical address into, and using the physical address as the target physical address of the multimedia file.

In this embodiment, user terminal, can be by MediaPlayer interface before playing multimedia file Setdatasource function obtain the broadcast address of the multimedia file, wherein preset function can be for should Setdatasource function.The broadcast address address different with two kinds of forms of expression that physical address is multimedia file, the two Between have the mapping ruler of a set of fixation, and broadcast address and physical address be it is one-to-one, i.e., a broadcast address is unique A corresponding physical address.According to preset mapping ruler, the multimedia that can will be got by setdatasource function The broadcast address mapping of file becomes corresponding physical address, then the physical address is the target physical of the multimedia file Location.

202, the type of the multimedia file is determined according to the target physical address.

In the embodiment of the present invention, it is more that user terminal can directly determine out this according to the target physical address of multimedia file The type of media file can be parsed out the target physical for example, target physical address is " C: Download test.mp3 " The suffix .mp3 of file in address, to show that the multimedia file is audio types, and format is MP3.In addition it is also possible to When multimedia file stores, user terminal is scanned it, with obtain the physical address of the multimedia file, file type, File name, file size, file size, file format etc. information, and will store after these information associations to media information In database, so that user terminal can be according to the target physical address of multimedia file, in the media information database File type corresponding to the target physical address is retrieved, to obtain the type of the multimedia file.

203, whether the type for judging the multimedia file is consistent with the type of history played file, if so, executing step Rapid 206;If it is not, thening follow the steps 204.

In the embodiment of the present invention, after getting the type of multimedia file, the multimedia file can be further judged Type it is whether consistent with the type of history played file, wherein the history played file can be worked as distance in user terminal The file that the preceding time is played recently, i.e., the multimedia file being locally stored once played before user terminal.

204, it according to the corresponding relationship of the type of the multimedia file and preset file type and sound effect parameters, obtains Take the corresponding target sound effect parameters of the type of the multimedia file.

In the embodiment of the present invention, when the type of the multimedia file and the Type-Inconsistencies of history played file are (such as wait broadcast The multimedia file put is audio file, and history played file is video file) when, the available multimedia type institute is right The target sound effect parameters answered.The corresponding relationship of different file type and sound effect parameters can be preset in the user terminal, The corresponding sound effect parameters of different file types can be different.Specifically, user terminal can from the preset file type with Obtain corresponding with the type of multimedia file sound effect parameters in the corresponding relationship of sound effect parameters, and using the sound effect parameters as The target sound effect parameters of the multimedia file.In other words, when the type of the type of the multimedia file and history played file When inconsistent, user terminal carries out audio adjusting, and the sound effect parameters of the history played file are switched to the target sound effect parameters.

205, the multimedia file is exported according to the target sound effect parameters.

206, the multimedia file is exported according to the sound effect parameters of the history played file.

In the embodiment of the present invention, when the type of the multimedia file is consistent with the type of history played file (such as to be played Multimedia file type be MP3, the type of history played file is also MP3) when, user terminal may not need from pre- at this time If file type and sound effect parameters corresponding relationship in obtain corresponding with the type of multimedia file sound effect parameters, only need Set the sound effect parameters of the multimedia file to the sound effect parameters of the history played file, and with the history played file Sound effect parameters carry out the broadcasting of the multimedia file.In other words, when the type of the multimedia file and history play text When the type of part is consistent, user terminal, which may not need, carries out audio adjusting, to reduce unnecessary operation.

As an alternative embodiment, joining when user terminal receives user to the target audio of the multimedia file When the instruction that number is modified, user terminal responds the instruction, updates the target sound effect parameters;And it can be by the updated mesh Mark sound effect parameters are stored into the corresponding relationship of preset file type and sound effect parameters, to update in the corresponding relationship Hold, which is substituted into original target sound effect parameters.

As an alternative embodiment, before executing step 204, method described in Fig. 2 can also include with Lower step:

22) target state data is obtained;

Wherein, step 204 is corresponding with sound effect parameters according to the type of the multimedia file and preset file type Relationship, the specific embodiment for obtaining the corresponding target sound effect parameters of type of the multimedia file may comprise steps of:

23) according to the type of the multimedia file and preset file type, status data and sound effect parameters three Corresponding relationship obtains the corresponding target sound effect parameters of type of the multimedia file.

In this embodiment, target state data can include but is not limited to the location information of user terminal, user's end In the volume value of the contextual model and user terminal current environment of holding current system time, user terminal current extremely Few one kind.

In this embodiment, the location information of user terminal can be the location information that user terminal is currently located ground, It can be through the GPS (Global Positioning System, global positioning system) in user terminal and obtain, it can also Being obtained by base station location, it can also be through Wi-Fi positioning and obtain etc., the embodiment of the present invention is not construed as limiting. The current location information of user terminal, which can be in a manner of latitude and longitude coordinates, to be embodied, and specific actual address is also possible to, Provinces and cities, street as locating for terminal, number etc..The location information of user terminal is also possible to user terminal historical act frequency Location information corresponding to highest geographical location can count within a preset time (in such as January, in one week, in one day) User terminal each geographical location number of activities and/or Active duration, and obtain number of activities at most and/or Active duration The location information in longest geographical location.The location information of user terminal can be a specific position, be also possible to one Position range, the embodiment of the present invention are not construed as limiting.The current system time of user terminal can be what user terminal currently exported Time, such as 8:30,19:00.The current contextual model of user terminal can include but is not limited to mode standard, conference model, fly Row mode, silent mode etc..The volume value of user terminal current environment is the loudness of environmental noise, and unit can be Decibel, can be acquired and be assessed by the microphone of user terminal.

As an alternative embodiment, when the target state data includes the location information of user terminal, step 23) it is closed according to the type of the multimedia file and preset file type, status data are corresponding with sound effect parameters three System, the specific embodiment for obtaining the corresponding target sound effect parameters of type of the multimedia file may comprise steps of:

24) according to the three of the type of the multimedia file and preset file type, location information and sound effect parameters Corresponding relationship obtains the corresponding target sound effect parameters of type of the multimedia file.

In this embodiment, corresponding sound effect parameters can be different under different location informations for same file type, For example, user is in and the sound effect parameters when office plays the multimedia file of same file type can be set to difference 's.By implementing the embodiment, further combined with the position for considering user terminal on the basis of file fingerprint Information can be such that sound effect parameters change with the difference of location information, so that sound effect parameters are more suitable for user, more human nature Change, audio better effect.

As an alternative embodiment, when the target state data includes the current system time of user terminal, Step 23) is corresponding with sound effect parameters three's according to the type of the multimedia file and preset file type, status data Relationship, the specific embodiment for obtaining the corresponding target sound effect parameters of type of the multimedia file may comprise steps of:

25) preset time range belonging to the current system time of user terminal is determined;

26) according to the type of the multimedia file and preset file type, time range and sound effect parameters three Corresponding relationship obtains the corresponding target sound effect parameters of type of the multimedia file.

In this embodiment, corresponding sound effect parameters can be different under range in different times for same file type, For example, user is when playing the multimedia file of same file type in morning 8:00~11:00 and evening 21:00~24:00 pair The sound effect parameters answered can be set to it is different, alternatively, user plays more matchmakers of same file type on day off and working day Corresponding sound effect parameters can be set to different when body file.By implementing the embodiment, in file fingerprint On the basis of further combined with the system time for considering user terminal, sound effect parameters can be made to change with the variation of time, So that sound effect parameters are more suitable for user, more humanized, audio better effect.

As an alternative embodiment, when the target state data includes the current contextual model of user terminal, Step 23) is corresponding with sound effect parameters three's according to the type of the multimedia file and preset file type, status data Relationship, the specific embodiment for obtaining the corresponding target sound effect parameters of type of the multimedia file may comprise steps of:

27) according to the type of the multimedia file and preset file type, contextual model and sound effect parameters three Corresponding relationship obtains the corresponding target sound effect parameters of type of the multimedia file.

In this embodiment, corresponding sound effect parameters can be different under different contextual models for same file type, For example, same type of multimedia file can be set in mode standard and the corresponding sound effect parameters of conference model it is different. By implementing the embodiment, further combined with the scene mould for considering user terminal on the basis of file fingerprint Formula can be such that sound effect parameters change with the difference of contextual model, so that sound effect parameters are more suitable for user, more human nature Change, audio better effect.

As an alternative embodiment, when the target state data includes the volume of user terminal current environment When value, step 23) is according to the type and preset file type of the multimedia file, status data and sound effect parameters three Corresponding relationship, it may include following for obtaining the specific embodiment of the corresponding target sound effect parameters of type of the multimedia file Step:

28) default volume range belonging to the volume value of user terminal current environment is determined;

29) according to the type of the multimedia file and preset file type, volume range and sound effect parameters three Corresponding relationship obtains the corresponding target sound effect parameters of type of the multimedia file.

In this embodiment, corresponding sound effect parameters can be different under different volume ranges for same file type, For example, same type of multimedia file is that 0~20 decibel and 20~40 decibels of corresponding sound effect parameters can in ambient sound magnitude To be set as different.It is outer further combined with considering on the basis of file fingerprint by implementing the embodiment Boundary's ambient sound magnitude, can be such that sound effect parameters change with the difference of ambient sound magnitude so that sound effect parameters more suitable for Family, more humanized, audio better effect.

It is understood that in addition to location information, the user terminal that can take user terminal recited above into consideration are worked as The currently employed contextual model of preceding system time, user terminal, user terminal current environment the information such as volume value outside, It is also conceivable to the information such as electricity of the loudspeaker parameters of user terminal, user terminal.Furthermore, it is possible to be its in above- mentioned information In conjunction with a kind of middle type with multimedia file, it is also possible to combination and the multimedia file of the 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 method described in Fig. 2, can by identify multimedia file type come Corresponding sound effect parameters are obtained, so as to which suitable audio is arranged automatically for different types of multimedia file, improve behaviour The convenience of work, and it is effectively improved user experience and auditory effect.Further, it is also possible to take the position letter of user terminal into consideration At least one of breath, system time, contextual model and ambient sound magnitude etc. information, advanced optimizes sound effect parameters, so that sound Effect parameter is more applicable for user, more humanized, audio better effect.

Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, can be used for holding Row effect adjusting method disclosed by the embodiments of the present invention.As shown in figure 3, the user terminal may include:

First acquisition unit 301, for obtaining the target physical address of multimedia file to be played.

Reality in the embodiment of the present invention, when target physical address can store in the user terminal for the multimedia file Address, i.e. the actual storage address of the multimedia file.

Determination unit 302, for determining the type of the multimedia file according to the 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 into One step is subdivided into the types such as AVI, MPEG, ASF, SWF, WMV, MP4.

Second acquisition unit 303, for being joined according to the type of the multimedia file and preset file type and audio Several corresponding relationships obtains the corresponding target sound effect parameters of type of the multimedia file.

In the embodiment of the present invention, it is corresponding with sound effect parameters that different file types can be preset in the user terminal Relationship, the corresponding sound effect parameters of different file types can be different.Second acquisition unit 303 can be from preset file type With corresponding with the type of multimedia file sound effect parameters are obtained in the corresponding relationship of sound effect parameters, then the sound effect parameters are For the target sound effect parameters of the multimedia file.Sound effect parameters can include but is not limited to volume value, audio style (such as primary sound, Rock and roll, allusion, prevalence, jazz etc.), scene mode (such as music hall mode, room mode, headset mode, KTV mode Deng), at least one of information such as stereo, mono-/bis-sound channel.Volume value can be adjusted by volume controller, pass through sound Balanced device is imitated to adjust the information such as audio style, scene mode.

Output unit 304, for exporting the multimedia file according to the target sound effect parameters.

In the embodiment of the present invention, output unit 304 can set the target sound for the sound effect parameters of the multimedia file Parameter is imitated, and plays the multimedia file according to the target sound effect parameters.

As an alternative embodiment, referring to Figure 4 together, Fig. 4 is another use disclosed by the embodiments of the present invention The structural schematic diagram of family terminal can be used for executing effect adjusting method disclosed by the embodiments of the present invention.Wherein, shown in Fig. 4 User terminal is advanced optimized on the basis of user terminal shown in Fig. 3.With user terminal phase shown in Fig. 3 Than user terminal shown in Fig. 4 can also include:

Judging unit 305, in type of the second acquisition unit 303 according to the multimedia file and preset text The corresponding relationship of part type and sound effect parameters, before the corresponding target sound effect parameters of type for obtaining the multimedia file, judgement Whether the type of the multimedia file is consistent with the type of history played file;Wherein, which can be user The file played recently in terminal apart from current time.

Correspondingly, second acquisition unit 303 specifically can be used for judging the class of the multimedia file when judging unit 305 When the Type-Inconsistencies of type and history played file, according to the type of the multimedia file and preset file type and sound The corresponding relationship for imitating parameter, obtains the corresponding target sound effect parameters of type of the multimedia file.

As an alternative embodiment, output unit 304, can be also used for judging that this is more when judging unit 305 When the type of media file is consistent with the type of history played file, more matchmakers are exported according to the sound effect parameters of history played file Body file.

As an alternative embodiment, user terminal shown in Fig. 4 can also include:

Third acquiring unit 306, for the type in the second acquisition unit according to the multimedia file, and it is pre- If file type and sound effect parameters corresponding relationship, obtain the multimedia file the corresponding target sound effect parameters of type it Before, obtain target state data.

Wherein, which it is current to can include but is not limited to the location information of user terminal, user terminal At least one in the current contextual model of system time, user terminal and the volume value of user terminal current environment etc. Kind.

Correspondingly, second acquisition unit 303 is according to the type of the multimedia file and preset file type and audio The corresponding relationship of parameter, the specific embodiment for obtaining the corresponding target sound effect parameters of type of the multimedia file can be with are as follows:

Second acquisition unit 303 is according to the type and preset file type, status data and sound of the multimedia file The corresponding relationship for imitating parameter three, obtains the corresponding target sound effect parameters of type of the multimedia file.

It, can be with please refer to fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention For executing effect adjusting method disclosed by the embodiments of the present invention.Wherein, user terminal shown in fig. 5 is use shown in Fig. 4 It is advanced optimized on the basis of the terminal of family.Compared with user terminal shown in Fig. 4, user terminal shown in fig. 5 may be used also To include:

Scanning element 307, for obtaining the target physical address of multimedia file to be played in first acquisition unit 301 Before, the multimedia file is scanned, to obtain the attribute information of the multimedia file.

Wherein, which may include the physical address and file type of the multimedia file, further, it is also possible to wrap Include but be not limited to the file name, file size, file size (such as file duration) of the multimedia file, file format letter Breath.

Storage unit 308, for storing the attribute information of the multimedia file into media information database.

Correspondingly, determination unit 302 specifically can be used for according to the target physical address, from the media information database File type corresponding with the target physical address is inquired, and using this document type as the type of the multimedia file.

It, can be by identifying multimedia file by implementing Fig. 3 to user terminal shown in fig. 5 in the embodiment of the present invention Type obtain corresponding sound effect parameters, so as to be arranged suitable sound automatically for different types of multimedia file Effect, improves the convenience of operation, and be effectively improved user experience and auditory effect.Further, it is also possible to take user terminal into consideration At least one of location information, system time, contextual model and ambient sound magnitude etc. information, advanced optimize audio ginseng Number, so that sound effect parameters are more applicable for user, more humanized, audio better effect.

Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, can be used for Execute effect adjusting method disclosed by the embodiments of the present invention.As shown in fig. 6, the user terminal 600 may include: at least one Manage the components such as device 601, at least one input unit 602, at least one output device 603, memory 604.Wherein, these components It can be communicatively coupled by one or more bus 605.It will be understood by those skilled in the art that user shown in Fig. 6 The structure of terminal does not constitute the restriction to the embodiment of the present invention, it is also possible to hub-and-spoke configuration either busbar network, It can also include perhaps combining certain components or different component layouts than illustrating more or fewer components.Wherein:

In the embodiment of the present invention, processor 601 is the control centre of user terminal, whole using various interfaces and connection The various pieces of a user terminal, by running or executing the program and/or module that are stored in memory 604, and calling The data being stored in memory 604, to execute the various functions and processing data of user terminal.Processor 601 can be by collecting It is formed at circuit (Integrated Circuit, abbreviation IC), such as the IC that can be encapsulated by single is formed, it can also be by even It meets the encapsulation IC of more identical functions or different function and forms.For example, processor 601 can only include central processing unit (Central Processing Unit, abbreviation CPU) is also possible to CPU, digital signal processor (Digital Signal Processor, abbreviation DSP), graphics processor (Graphic Processing Unit, abbreviation GPU) and various control chips Combination.In embodiments of the present invention, CPU can be single operation core, also may include multioperation core.

In the embodiment of the present invention, it also may include wired that input unit 602, which may include the touch screen of standard, keyboard etc., Interface, wireless interface etc. can be used to implement the interaction between user and user terminal 600.

In the embodiment of the present invention, output device 603 may include display screen, loudspeaker etc., also may include wireline interface, Wireless interface etc..

In the embodiment of the present invention, memory 604 can be used for storing application program and module, processor 601, input unit 602 and output device 603 by calling storage application program and module in the memory 604, thereby executing user's end The various function applications and realization data processing at end.Memory 604 mainly include program storage area and data storage area, In, program storage area can application program needed for storage program area, at least one function etc.;Data storage area can store basis User terminal uses created data etc..In embodiments of the present invention, operating system can be android system, iOS system System or Windows operating system etc..

In user terminal shown in Fig. 6, processor 601 calls the application program of storage in the memory 604, for holding The following operation of row:

Obtain the target physical address of multimedia file to be played, the target physical address be the multimedia file with The actual address stored in family terminal 600;

The type of the multimedia file is determined according to the target physical address;

According to the preset file type and sound effect parameters stored in the type of the multimedia file and memory 604 Corresponding relationship, obtain the corresponding target sound effect parameters of type of the multimedia file;

It triggers output device 603 and exports the multimedia file according to the target sound effect parameters.

As an alternative embodiment, processor 601 obtains the target physical address of multimedia file to be played Specific embodiment can be with are as follows:

The broadcast address of multimedia file to be played is obtained using preset function;

According to the mapping ruler of preset broadcast address and physical address, the broadcast address of the multimedia file is converted into Corresponding physical address, and using the physical address as the target physical address of the multimedia file.

As an alternative embodiment, processor 601 is in the type and memory according to the multimedia file The corresponding relationship of the preset file type and sound effect parameters that store in 604 obtains the corresponding mesh of type of the multimedia file Before marking sound effect parameters, the application program of storage in the memory 604 may call upon, and execute following operation:

Whether the type for judging the multimedia file is consistent with the type of history played file, which is to use The file that family terminal 600 is played recently apart from current time;

If the Type-Inconsistencies of the type of the multimedia file and history played file, triggers processor 601 and execute institute Pair of the preset file type and sound effect parameters that are stored in the type and memory 604 according to the multimedia file stated It should be related to, obtain the operation of the corresponding target sound effect parameters of type of the multimedia file.

As an alternative embodiment, processor 601 may call upon the application journey of storage in the memory 604 Sequence, and execute following operation:

If judging, the type of the multimedia file is consistent with the type of history played file, triggers output device 603 The multimedia file is exported according to the sound effect parameters of history played file.

As an alternative embodiment, processor 601 is in the type and memory according to the multimedia file The corresponding relationship of the preset file type and sound effect parameters that store in 604 obtains the corresponding mesh of type of the multimedia file Before marking sound effect parameters, the application program of storage in the memory 604 may call upon, and execute following operation:

Target state data is obtained, which can include but is not limited to the location information of user terminal, uses The current contextual model of the current system time of family terminal, user terminal and the volume value of user terminal current environment etc. At least one of;

Wherein, the preset text that processor 601 stores in the type and memory 604 according to the multimedia file The corresponding relationship of part type and sound effect parameters obtains the specific implementation of the corresponding target sound effect parameters of type of the multimedia file Mode can be with are as follows:

According to pair of the type of the multimedia file and preset file type, status data and sound effect parameters three It should be related to, obtain the corresponding target sound effect parameters of type of the multimedia file.

As an alternative embodiment, processor 601 is with obtaining the target physical of multimedia file to be played Before location, the application program of storage in the memory 604 may call upon, and execute following operation:

The multimedia file is scanned, to obtain the attribute information of the multimedia file, which includes the multimedia The physical address of file and the type of the multimedia file;

The attribute information of the multimedia file is stored in the media information database into memory 604;

Wherein, processor 601 determines the specific embodiment of the type of the multimedia file according to the target physical address It can be with are as follows:

According to the target physical address, text corresponding with the target physical address is inquired from the media information database Part type, and using this document type as the type of the multimedia file.

Specifically, the sound that the present invention combines Fig. 1 or Fig. 2 introduction can be implemented in the user terminal introduced in the embodiment of the present invention Process some or all of in effect adjusting method embodiment.

In the embodiment of the present invention, by implementing user terminal shown in fig. 6, the type of identification multimedia file can be passed through Corresponding sound effect parameters are obtained, so as to be arranged suitable audio automatically for different types of multimedia file, are improved The convenience of operation, and it is effectively improved user experience and auditory effect.Further, it is also possible to take the position letter of user terminal into consideration At least one of breath, system time, contextual model and ambient sound magnitude etc. information, advanced optimizes sound effect parameters, so that sound Effect parameter is more applicable for user, more humanized, audio better effect.

Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, can be used for Execute effect adjusting method disclosed by the embodiments of the present invention.As shown in fig. 7, for ease of description, illustrating only and present invention reality The relevant part of example is applied, it is disclosed by specific technical details, please refer to present invention method part.The user terminal can be with Including all kinds of ends such as mobile phone, tablet computer, palm PC, PDA, MID, multimedia player, intelligent wearable device, car-mounted terminal End, by taking user terminal is mobile phone as an example:

Fig. 7 shows the schematic diagram of the part-structure of mobile phone relevant to user terminal disclosed by the embodiments of the present invention. With reference to Fig. 7, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display list First 740, sensor 750, voicefrequency circuit 760, Wireless Fidelity (Wireless Fidelity, WiFi) module 770, processor The components such as 780 and power supply 790.It will be understood by those skilled in the art that handset structure shown in Fig. 7 does not constitute opponent The restriction of machine may include perhaps combining certain components or different component layouts than illustrating more or fewer components.

It is specifically introduced below with reference to each component parts of the Fig. 7 to mobile phone:

RF circuit 710 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 780;In addition, the data for designing uplink are sent to base station.In general, RF circuit 710 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 710 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (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 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 720 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 720 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.

Input unit 730 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 730 may include that touch panel 731 and other inputs are set Standby 732.Touch panel 731, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 731 or near touch panel 731), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 731 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 780, and can receive order that processor 780 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.

Display unit 740 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 741.Further, touch panel 731 can cover display panel 741, when touch panel 731 detect it is on it or attached After close touch operation, processor 780 is sent to determine the type of touch event, is followed by subsequent processing device 780 according to touch event Type corresponding visual output is provided on display panel 741.Although in Fig. 7, touch panel 731 and display panel 741 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 731 and display panel 741 are integrated and that realizes mobile phone output and input function.

Mobile phone may also include at least one sensor 750, 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 panel 741, proximity sensor can close display panel 741 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.

Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 761, be converted to sound by loudspeaker 761 by road 760 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 762, is turned after being received by voicefrequency circuit 760 It is changed to audio data, then by after the processing of audio data output processor 780, such as another mobile phone is sent to through RF circuit 710, Or audio data is exported to memory 720 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 770 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown WiFi module 770, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.

Processor 780 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 720, and call and be stored in memory 720 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 780 can wrap Include one or more processing units;Preferably, processor 780 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 780.

Mobile phone further includes the power supply 790 (such as battery) powered to all parts, it is preferred that power supply 790 can pass through electricity Management system and processor 780 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.

Although being not shown in Fig. 7, mobile phone can also include camera, bluetooth module etc., and details are not described herein.

In embodiments of the present invention, processor 780 included by the user terminal also has corresponding previous embodiment processing The function of device 601, details are not described herein.

Module or submodule in all embodiments of the invention, can be by universal integrated circuit, such as CPU, or passes through ASIC (Application Specific Integrated Circuit, specific integrated circuit) Lai Shixian.

It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned The combination of actions of column, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because For according to the application, certain some step be can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this Shen It please be necessary.

In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, reference can be made to the related descriptions of other embodiments.

The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.

Unit or sub-unit in user terminal of the embodiment of the present invention can be merged according to actual needs, divides and be deleted Subtract.

Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..

A kind of effect adjusting method disclosed by the embodiments of the present invention and user terminal are described in detail above, herein In apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to sides Assistant solves method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (8)

1. a kind of effect adjusting method characterized by comprising
Obtain the target physical address of multimedia file to be played, the target physical address be the multimedia file with The actual address stored in the terminal of family;Wherein, the target physical address for obtaining multimedia file to be played, comprising: benefit The broadcast address of multimedia file to be played is obtained with preset function;According to the mapping of preset broadcast address and physical address The broadcast address of the multimedia file to be played is converted into corresponding physical address by rule, and by the physical address Target physical address as the multimedia file to be played;
The type of the multimedia file is determined according to the target physical address, comprising: from each pre-set physics File type corresponding to the target physical address of the multimedia file is obtained out in the corresponding relationship of address and file type;
Target state data is obtained, the target state data includes the location information of the user terminal, the user terminal The volume value of current system time, the user terminal current contextual model and the user terminal current environment At least one of;
According to the type of the multimedia file, the target state data and preset file type, status data and sound The corresponding relationship of parameter three is imitated, the corresponding target sound effect parameters of type for obtaining the multimedia file wherein, work as target-like When state data are terminal current system time, according to time range belonging to the current system time of terminal, same file Corresponding sound effect parameters are different under range in different times for type;
The multimedia file is exported according to the target sound effect parameters.
2. the method according to claim 1, wherein the type according to the multimedia file, and it is pre- If file type and sound effect parameters corresponding relationship, obtain the multimedia file the corresponding target sound effect parameters of type it Before, the method also includes:
Whether the type for judging the multimedia file is consistent with the type of history played file, and the history played file is institute State the file that user terminal is played recently apart from current time;
If the Type-Inconsistencies of the type of the multimedia file and the history played file, described in execution according to The corresponding relationship of the type of multimedia file and preset file type and sound effect parameters obtains the multimedia file The step of type corresponding target sound effect parameters.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the type of the multimedia file is consistent with the type of the history played file, according to the history played file Sound effect parameters export the multimedia file.
4. described in any item methods according to claim 1~3, which is characterized in that described to obtain multimedia file to be played Target physical address before, the method also includes:
The multimedia file is scanned, to obtain the attribute information of the multimedia file, the attribute information includes described more The type of the physical address of media file and the multimedia file;
The attribute information of the multimedia file is stored into media information database;
Wherein, the type that the multimedia file is determined according to the target physical address, comprising:
According to the target physical address, inquired from the media information database corresponding with the target physical address File type, and using the file type as the type of the multimedia file.
5. a kind of user terminal characterized by comprising
First acquisition unit, for obtaining the target physical address of multimedia file to be played, the target physical address is The actual address that the multimedia file stores in the user terminal;Wherein, the first acquisition unit is specifically used for using pre- If function obtains the broadcast address of multimedia file to be played, and is advised according to the mapping of preset broadcast address and physical address Then, the broadcast address of the multimedia file to be played is converted into corresponding physical address, and the physical address is made For the target physical address of the multimedia file to be played;
Determination unit, for determining the type of the multimedia file according to the target physical address, wherein described determining single Member specifically obtains out the mesh of the multimedia file from each pre-set physical address and the corresponding relationship of file type Mark file type corresponding to physical address;
Third acquiring unit, for obtaining target state data, the target state data includes the position of the user terminal The current system time of information, the user terminal, the current contextual model of the user terminal and the user terminal are worked as At least one of the volume value of preceding local environment;
Second acquisition unit, for according to the type of the multimedia file, the target state data and preset file The corresponding relationship of type, status data and sound effect parameters three obtains the corresponding target audio of type of the multimedia file Parameter;Wherein, when target state data is the current system time of terminal, according to belonging to the current system time of terminal Time range, corresponding sound effect parameters are different under range in different times for same file type;
Output unit, for exporting the multimedia file according to the target sound effect parameters.
6. user terminal according to claim 5, which is characterized in that the user terminal further include:
Judging unit, in type of the second acquisition unit according to the multimedia file and preset files classes The corresponding relationship of type and sound effect parameters before the corresponding target sound effect parameters of type for obtaining the multimedia file, judges institute Whether the type for stating multimedia file is consistent with the type of history played file, and the history played file is the user terminal The file played recently apart from current time;
The second acquisition unit is specifically used for judging that the type of the multimedia file is gone through with described when the judging unit When the Type-Inconsistencies of history played file, joined according to the type of the multimedia file and preset file type and audio Several corresponding relationships obtains the corresponding target sound effect parameters of type of the multimedia file.
7. user terminal according to claim 6, which is characterized in that
The output unit is also used to judge that the type of the multimedia file and the history play when the judging unit When the type of file is consistent, the multimedia file is exported according to the sound effect parameters of the history played file.
8. according to the described in any item user terminals of claim 5~7, which is characterized in that the user terminal further include:
Scanning element, before the target physical address for obtaining multimedia file to be played in the first acquisition unit, The multimedia file is scanned, to obtain the attribute information of the multimedia file, the attribute information includes the multimedia The type of the physical address of file and the multimedia file;
Storage unit, for storing the attribute information of the multimedia file into media information database;
The determination unit is specifically used for according to the target physical address, from the media information database inquiry with it is described The corresponding file type of target physical address, and using the file type as the type of the multimedia file.
CN201610437111.8A 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal 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 CN106126160A (en) 2016-11-16
CN106126160B true CN106126160B (en) 2019-10-25

Family

ID=57471107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610437111.8A 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)

Families Citing this family (1)

* 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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475682B (en) * 2012-06-07 2017-02-08 华为技术有限公司 File transfer method and file transfer equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102474701A (en) Mobile terminal and operation method for the same
JP2015534693A (en) Desktop display method, apparatus, terminal, program, and recording medium
AU2010279768B2 (en) Portable terminal reflecting user's environment and method for operating the same
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
CN103578474B (en) A kind of sound control method, device and equipment
CN103400508A (en) Method, device and terminal for outputting guidance information of parking places
WO2016107501A1 (en) Intelligent device control method and device
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
CN104427083B (en) The method and apparatus for adjusting volume
CN106575142A (en) Multi-device sensor subsystem joint optimization
CN105005457B (en) Geographical location methods of exhibiting and device
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
US9813860B2 (en) Geo-fencing based location detection method and electronic device
CN105580394B (en) The method and apparatus that message push and message are shown
CN103501485B (en) Push the method, apparatus and terminal device of application
WO2015010466A1 (en) Information display method and apparatus, and mobile terminal
CN105872253A (en) Live broadcast sound processing method and mobile terminal
CN104780415B (en) Method for broadcasting multimedia file and device
WO2016173398A1 (en) Patch video playing method and terminal, and video server
CN104571787B (en) A kind of message display method and communication terminal
CN102880953A (en) Method and device for schedule management
CN103458277B (en) A kind of method and apparatus operating direct broadcast band program
CN105208458B (en) Virtual screen methods of exhibiting and device
CN106126159B (en) A kind of audio stream processing method and mobile terminal
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone

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
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant