CN106155624A - 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
CN106155624A
CN106155624A CN201610440031.8A CN201610440031A CN106155624A CN 106155624 A CN106155624 A CN 106155624A CN 201610440031 A CN201610440031 A CN 201610440031A CN 106155624 A CN106155624 A CN 106155624A
Authority
CN
China
Prior art keywords
user terminal
state information
file
extension name
target
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.)
Pending
Application number
CN201610440031.8A
Other languages
Chinese (zh)
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 CN201610440031.8A priority Critical patent/CN106155624A/en
Publication of CN106155624A publication Critical patent/CN106155624A/en
Pending legal-status Critical Current

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

Abstract

The embodiment of the invention discloses a kind of effect adjusting method and user terminal, wherein, the method includes: obtain the file name of multimedia file to be played, and this document title includes target extension name;Obtain the current state information of user terminal;According to this target extension name, current state information and default extension name, status information and the corresponding relation of audio MODE, determine the target audio pattern corresponding with this target extension name and current state information;This multimedia file is exported according to this target audio pattern.Implement the embodiment of the present invention, it is possible to suitable audio is set automatically according to the extension name of multimedia file and the current state information of user terminal, improve simple operation, and be 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 with this audio pattern carry out multimedia file (as Sound, video file) broadcasting until regulate next time.But, find in actual applications, different types of multimedia file pair The requirement of audio is different, as audio file is different to the requirement of audio with video file, uses a set of audio pattern Tend not to reach identical effect when playing sound, video file.Therefore, in order to meet the result of broadcast of files in different types, When carrying out the switching of files in different types, generally require user and manually go to reset suitable audio pattern, for many matchmakers In the case of body file frequently switches, complex operation and time-consuming can be made.
Summary of the invention
The embodiment of the invention discloses a kind of effect adjusting method and user terminal, it is possible to according to the extension of multimedia file Name arranges suitable audio automatically, improves simple operation.
Embodiment of the present invention first aspect discloses a kind of effect adjusting method, including:
Obtaining the file name of multimedia file to be played, described file name includes target extension name;
Obtain the current state information of user terminal;
According to described target extension name, described current state information and default extension name, status information and audio mould The corresponding relation of formula three, determines the target audio pattern corresponding with described target extension name and described current state information;
Described multimedia file is exported according to described target audio pattern.
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 file destination title of the multimedia file that described acquisition is to be played, including:
Reading the physical address of multimedia file to be played, described physical address is that described multimedia file is whole user In end, the actual address of storage, comprises file name in described physical address;
Resolve described physical address, to obtain the described file name comprised in described physical address.
In conjunction with embodiment of the present invention first aspect, the embodiment that the second in embodiment of the present invention first aspect is possible In, described current state information includes the current system time of the positional information of described user terminal, described user terminal, described Contextual model and described user terminal that user terminal is current are presently at least one in the volume value of environment.
In conjunction with embodiment of the present invention first aspect, at the third possible embodiment of embodiment of the present invention first aspect In, described according to described target audio pattern export described multimedia file, including:
Judge that the described target audio pattern audio pattern the most current with described user terminal is consistent;
When the audio pattern that described target audio pattern is current with described user terminal is inconsistent, according to described target sound The audio pattern that user terminal described in effect mode tuning is current.
In conjunction with the first of embodiment of the present invention first aspect or first aspect to any one possible enforcement in the third Mode, in the 4th kind of possible embodiment of embodiment of the present invention first aspect, described according to described target extension name, institute State current state information and default extension name, status information and the corresponding relation of audio MODE, determine and described mesh Before the target audio pattern that mark extension name is corresponding with described current state information, described method also includes:
Judging that described target extension name is the most consistent with the extension name of history played file, described history played file is institute State the file that user terminal distance current time is play recently;
Judging that described current state information is the most consistent with historic state information, described historic state information is described user Status information during history played file described in terminal plays;
If described target extension name is consistent with the extension name of described history played file, and described current state information with Described historic state information is inconsistent, then perform described according to described target extension name, described current state information and pre- If extension name, the corresponding relation of status information and audio MODE, determine and described target extension name and described current shape The step of the target audio pattern that state information is corresponding;And,
If described target extension name is consistent with the extension name of described history played file, and described current state information with Described historic state information is consistent, then according to the audio pattern playing described history played file under described historic state information Export described multimedia file.
Embodiment of the present invention second aspect discloses a kind of user terminal, including:
First acquiring unit, for obtaining the file name of multimedia file to be played, described file name includes mesh Mark extension name;
Second acquisition unit, for obtaining the current state information of user terminal;
Determine unit, for according to described target extension name, described current state information and default extension name, state Information and the corresponding relation of audio MODE, determine the mesh corresponding with described target extension name and described current state information Mark with phonetic symbols effect pattern;
Output unit, for exporting described multimedia file according to described target audio pattern.
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 first acquiring unit includes:
Reading subelement, for reading the physical address of multimedia file to be played, described physical address is described many The actual address that media file stores in the user terminal, comprises file name in described physical address;
Resolve subelement, be used for resolving described physical address, to obtain the described filename comprised in described physical address Claim.
In conjunction with embodiment of the present invention second aspect, the embodiment that the second in embodiment of the present invention second aspect is possible In, described current state information includes the current system time of the positional information of described user terminal, described user terminal, described Contextual model and described user terminal that user terminal is current are presently at least one in the volume value of environment.
In conjunction with embodiment of the present invention second aspect, at the third possible embodiment of embodiment of the present invention second aspect In, described output unit includes:
Judgment sub-unit, for judging the audio pattern one that described target audio pattern is the most current with described user terminal Cause;
When described judgment sub-unit, regulon unit, for judging that described target audio pattern is worked as with described user terminal When front audio pattern is inconsistent, according to the audio pattern that user terminal described in described target audio mode tuning is current.
In conjunction with the first of embodiment of the present invention second aspect or second aspect to any one possible enforcement in the third Mode, in the 4th kind of possible embodiment of embodiment of the present invention second aspect, described user terminal also includes:
First judging unit, for judging that described target extension name is the most consistent with the extension name of history played file, institute State the file that history played file is play recently by described user terminal distance current time;
Second judging unit, is used for judging that described current state information is the most consistent with historic state information, described history Status information is status information during the described user terminal described history played file of broadcasting;
Described determine that unit is specifically for judging described target extension name and described history when described first judging unit The extension name of played file is consistent, and described second judging unit judges described current state information and described historic state When information is inconsistent, according to described target extension name, described current state information and default extension name, status information and sound The corresponding relation of effect MODE, determines the target audio mould corresponding with described target extension name and described current state information Formula;
Described output unit, is additionally operable to when described first judging unit judges that described target extension name is broadcast with described history The extension name putting file is consistent, and described second judging unit judges that described current state information is believed with described historic state When ceasing consistent, then export described many matchmakers according to the audio pattern playing described history played file under described historic state information Body file.
In the embodiment of the present invention, before playing multimedia file, the file name of this multimedia file can be obtained, should File name comprises target extension name, can obtain the current state information of user terminal, and according to this target extension name, current Status information and default extension name, status information and the corresponding relation of audio MODE, determine and extend with this target The target audio pattern that name is corresponding with current state information, it is possible to export this multimedia literary composition according to this target audio pattern Part.Visible, implement the embodiment of the present invention, can be according to the extension name of multimedia file and the current state information of user terminal Suitable audio is set automatically, improves simple 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 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, it is possible to according to the extension of multimedia file The current state information of name and user terminal arranges suitable audio automatically, improves simple operation, and is effectively improved use Family is experienced 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, obtaining the file name of multimedia file to be played, this document title includes target extension name.
In the embodiment of the present invention, user terminal, before playing multimedia file, can obtain this multimedia to be played The file name of file, wherein, this document title can comprise target extension name.Multimedia file can include image file, Audio file, video file etc., primary concern is that audio file and video file here.Wherein, the extension name of audio file Can be mp3, wav, wma, mid, aac etc., the extension name of video file can be avi, mpeg, asf, swf, wmv, mp4 Etc..Such as, as entitled " test.mp3 " of multimedia file, the then entitled mp3 of the extension of this multimedia file;Work as multimedia Entitled " next.avi " of file, the then entitled avi of the extension 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, multimedia file to be played both can be the multimedia literary composition prestored in user terminal Part, it is also possible to be the online online multimedia file play by user terminal.
As the optional embodiment of one, step 101 obtains the concrete of the file name of multimedia file to be played Embodiment may comprise steps of:
11) read the physical address of multimedia file to be played, this physical address comprises file name;
12) this physical address is resolved, to obtain the file name comprised in this physical address.
In this embodiment, when multimedia file to be played prestores in the user terminal, user terminal can To directly read the physical address of this multimedia file, wherein, this physical address is that this multimedia file is deposited in the user terminal The actual address of storage, i.e. the actual storage address of this multimedia file.
In this embodiment, the physical address of multimedia file can include the file name of this multimedia file, By resolving this physical address, the file name of this multimedia file can be drawn.Such as, the physical address of multimedia file The form of expression is " C: Download test.mp3 ", then show that this multimedia file is stored in the C dish of user terminal Under Download file, and parse its file name for " test.mp3 ", can show that extension is entitled by file name mp3。
As the optional embodiment of one, step 11) read physical address concrete of multimedia file to be played Embodiment may comprise steps of:
Preset function 11a) is utilized to obtain the broadcast address of multimedia file to be played;
11b) 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 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, i.e. can obtain the physical address of this multimedia file.
102, the current state information of user terminal is obtained.
In the embodiment of the present invention, the current state information of user terminal can include but not limited to the position letter of user terminal Contextual model that breath, the current system time of user terminal, user terminal are current and user terminal are presently in the sound of environment At least one in the information such as value.Optionally, can be with the current state information of user in real terminal, it is also possible to Mei Gete Fix time and obtain the current state information of user terminal.
In the embodiment of the present invention, 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. User terminal be currently located ground positional information can by be with latitude and longitude coordinates in the way of embody, it is also possible to be concrete reality Address, provinces and cities, street, number etc. as residing for user terminal.The positional information of user terminal can also be that user terminal is gone through The geographical position that history motion frequency is the highest, can add up in Preset Time (as in one month, in one week, in one day etc.) and use The family terminal movable number of times in each geographical position and/or Active duration, and at most or Active duration is the longest by movable number of times The positional information in geographical position is as the positional information of user terminal.The positional information of user terminal may refer to one specifically Location, it is also possible to being an address realm, the embodiment of the present invention is not construed as limiting.The current system time of user terminal can be user The time that terminal currently exports, such as 9:00,17:00 etc..The current contextual model of user terminal is that user terminal is currently employed Contextual model, can include but not limited to mode standard, conference model, offline mode etc..User terminal is presently in environment Volume value be the loudness of environmental noise, unit can be decibel, can be that user terminal utilizes mike to environmental noise It is acquired and assesses obtaining.
It is understood that step 101 can perform prior to step 102, step 101 can also after perform in step 102, Step 101 can also Tong Bu with step 102 perform, and the embodiment of the present invention is not construed as limiting.
103, according to this target extension name, current state information and default extension name, status information and audio pattern The corresponding relation of three, determines the target audio pattern corresponding with this target extension name and current state information.
In the embodiment of the present invention, when getting the target extension name of multimedia file to be played and the current of user terminal After status information, in the corresponding relation of extension name, status information and the audio MODE that can preset from user terminal, look into Look for and this target extension name and current state information corresponding audio pattern, and using this audio pattern as target audio pattern. In default extension name, the status information corresponding relation with audio MODE, same extension name is in different status informations The audio pattern of lower correspondence can be different, and the audio pattern of correspondence can be different under same status information for different extension name, Can also be identical.Such as, under same status information, the multimedia file extending entitled mp3 belongs to audio file, extends entitled The multimedia file of mp4 belongs to video file, therefore can will extend the multimedia file corresponding audio mould of entitled mp3 with mp4 Formula is set to different;And for example, the multimedia file extending entitled aac is audio file, therefore can by extend entitled mp3 and The multimedia file correspondence audio pattern of aac is set to different, it is also possible to be set to identical.
In the embodiment of the present invention, audio pattern 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.
As the optional embodiment of one, when the current state information of user terminal includes the positional information of user terminal Time, step 103 is according to this target extension name, current state information and default extension name, status information and audio pattern three The corresponding relation of person, determines the specific embodiment party of the target audio pattern corresponding with this target extension name and current state information Formula may comprise steps of:
13) according to this target extension name, the positional information of user terminal and default extension name, positional information and audio The corresponding relation of MODE, determines the target audio mould corresponding with the positional information of this target extension name and user terminal Formula.
In this embodiment, the audio pattern of correspondence can be different under different positional informationes for same extension name, example It is in such as, user or audio pattern when office plays the multimedia file of same extension name could be arranged to different. By implementing this embodiment, further combined with the position considering user terminal on the basis of the extension name of multimedia file Information, can make audio pattern change along with the difference of positional information so that play sound effect is more suitable for user, more human nature Changing, audio is better.
As the optional embodiment of one, when the current state information of user terminal includes the system that user terminal is current During the time, step 103 is according to this target extension name, current state information and default extension name, status information and audio mould The corresponding relation of formula three, determines the concrete real of the target audio pattern corresponding with this target extension name and current state information The mode of executing may comprise steps of:
14) preset time range residing for the system time that user terminal is current is determined;
15) according to this target extension name, preset time range and default extension name, time range and audio pattern three The corresponding relation of person, determines the target audio pattern corresponding with this target extension name and preset time range.
In this embodiment, the audio pattern of correspondence can be different under different time range for same extension name, example As, user's audio when the morning, 8:00~11:00 and 21:00~24:00 in evening play the multimedia file of same extension name Pattern could be arranged to different, or, user is when day off and working day play the multimedia file of same extension name pair The audio pattern answered could be arranged to different.By implementing this embodiment, on the basis of the extension name of multimedia file The system time current further combined with considering user terminal, can make the change over time of audio pattern and change, make Obtaining play sound effect and be more suitable for user, more hommization, audio is better.
As the optional embodiment of one, when the current state information of user terminal includes the sight that user terminal is current During pattern, step 103 is according to this target extension name, current state information and default extension name, status information and audio mould The corresponding relation of formula three, determines the concrete real of the target audio pattern corresponding with this target extension name and current state information The mode of executing may comprise steps of:
16) according to the current contextual model of this target extension name, user terminal and default extension name, contextual model with The corresponding relation of audio MODE, determines the target that the contextual model current with this target extension name and user terminal is corresponding Audio pattern.
In this embodiment, the audio pattern of correspondence can be different under different contextual models for same extension name, example As, the user terminal audio pattern when mode standard and conference model play the multimedia file of same extension name can be arranged For different.By implementing this embodiment, further combined with considering user on the basis of the extension name of multimedia file The contextual model that terminal is current, can make audio pattern change along with the change of contextual model so that play sound effect is more suitable for In user, more hommization, audio is better.
As the optional embodiment of one, when the current state information of user terminal includes that user terminal is presently in ring During the volume value in border, step 103 according to this target extension name, current state information and default extension name, status information with The corresponding relation of audio MODE, determines the target audio pattern corresponding with this target extension name and current state information Detailed description of the invention may comprise steps of:
17) determine that user terminal is presently in the default volume range residing for the volume value of environment;
18) according to this target extension name, volume range and default extension name, volume range and audio pattern three are preset The corresponding relation of person, determines the target audio pattern corresponding with this target extension name and default volume range.
In this embodiment, the audio pattern of correspondence can be different under different volume ranges for same extension name, example As, the multimedia file of same extension name is that 0~20 decibel of audio pattern corresponding with 20~40 decibels can at ambient sound value Different to be set to.By implementing this embodiment, further combined with consideration on the basis of the extension name of multimedia file User terminal is presently in the volume value of environment, can make the audio pattern change along with the difference of ambient sound value so that Play sound effect is more suitable for user, more hommization, and audio is better.
It is understood that in addition to can taking several status information recited above into consideration, it is also contemplated that user The mobile status that terminal is current, such as the information such as speed, acceleration, to judge that user terminal is in kinestate or static shape State, corresponding different audio pattern when different;In addition it is also possible to consider the loudspeaker parameters of user terminal, user The information such as the electricity of terminal, the embodiment of the present invention is not construed as limiting.
104, this multimedia file is exported according to this target audio pattern.
In the embodiment of the present invention, when the target extension name and the current state information of user terminal that get multimedia file After corresponding target audio pattern, the audio pattern of this multimedia file can be set to this target audio pattern and export, Such that it is able to improve the result of broadcast of this multimedia file.
Specifically, the detailed description of the invention that step 104 exports this multimedia file according to this target audio pattern can be wrapped Include following steps:
19) judge that this target audio pattern audio pattern the most current with user terminal is consistent;
20) when the audio pattern that this target audio pattern is current with user terminal is inconsistent, according to this target audio mould The audio pattern that formula regulation user terminal is current, and according to the audio pattern after regulation, this multimedia file is played out.
Wherein, when the audio pattern that this target audio pattern is current with user terminal is consistent, then without regulating audio mould Formula, and export this multimedia file with current audio pattern, it is possible to reduce unnecessary operation, improve operation just further Victory.
In the method described by Fig. 1, before playing multimedia file, the filename of this multimedia file can be obtained Claiming, this document title comprises target extension name, can obtain the current state information of user terminal, and extend according to this target Name, current state information and default extension name, status information and the corresponding relation of audio MODE, determine and this mesh The target audio pattern that mark extension name is corresponding with current state information, it is possible to export this many matchmakers according to this target audio pattern Body file.By implementing the method described by Fig. 1, it is possible to according to extension name and the current shape of user terminal of multimedia file State information arranges suitable audio automatically, improves simple 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, obtaining the file name of multimedia file to be played, this document title includes target extension name.
202, the current state information of user terminal is obtained.
In the embodiment of the present invention, the current state information of user terminal can include but not limited to the position letter of user terminal Contextual model that breath, the current system time of user terminal, user terminal are current and user terminal are presently in the sound of environment At least one in the information such as value.
It is understood that step 201 can perform prior to step 202, step 201 can also after perform in step 202, Step 201 can also Tong Bu with step 202 perform, and the embodiment of the present invention is not construed as limiting.
203, judge that this target extension name is the most consistent with the extension name of history played file, the most then perform step 204;If it is not, then perform step 205.
In the embodiment of the present invention, the file that this history played file is play recently by user terminal distance current time, The multimedia file i.e. once play before user terminal.
204, judge that current state information is the most consistent with historic state information, the most then perform step 207;If it is not, then Perform step 205.
In the embodiment of the present invention, this historic state information is user terminal state letter when playing this history played file Breath.
It is understood that step 203 can be first carried out judge the extension name of this target extension name and history played file Whether consistent, then perform step 204 and judge that current state information is the most consistent with historic state information;Step can also be first carried out 204 judge that current state information is the most consistent with historic state information, then perform step 203 and judge this target extension name and history The extension name of played file is the most consistent;Can be with step 203 and step 204 executed in parallel, the embodiment of the present invention is not construed as limiting.
205, according to this target extension name, current state information and default extension name, status information and audio pattern The corresponding relation of three, determines the target audio pattern corresponding with this target extension name and current state information.
In the embodiment of the present invention, when judging that this target extension name is consistent with the extension name of history played file, and judge to work as When front status information is inconsistent with historic state information, can be from default extension name, status information with audio MODE's In corresponding relation, determine the target audio pattern corresponding with this target extension name and current state information.Or, work as judgement This target extension name is inconsistent with the extension name of history played file, and judges that current state information is consistent with historic state information Time, can determine and this target extension name from default extension name, the status information corresponding relation with audio MODE The target audio pattern corresponding with current state information.Again or, when judging this target extension name and history played file Extension name is inconsistent, and judges when current state information and historic state information are the most inconsistent, can be from default extension name, shape State information, with the corresponding relation of audio MODE, determines the mesh corresponding with this target extension name and current state information Mark with phonetic symbols effect pattern.In other words, when this target extension name is inconsistent with the extension name of history played file, or current state information Time inconsistent with historic state information, all can be from the corresponding relation of default extension name, status information and audio MODE In, determine the target audio pattern corresponding with this target extension name and current state information.
206, this multimedia file is exported according to this target audio pattern.
207, this multimedia literary composition is exported according to the audio pattern playing this history played file under this historic state information Part.
In the embodiment of the present invention, when judging that this target extension name is consistent with the extension name of history played file, and judge to work as When front status information is the most consistent with historic state information, can be according to playing this history played file under this historic state information Audio pattern export this multimedia file such that it is able to reduce unnecessary operation, improve further the convenience of operation.
As the optional embodiment of one, when user terminal receives user's target audio mould to this multimedia file During the instruction that formula is modified, user terminal responds this instruction, updates this target audio pattern;And can be by the mesh after this renewal Mark with phonetic symbols effect pattern stores to default extension name, the status information corresponding relation with audio pattern, to update this corresponding relation In content, the target audio pattern after this renewal is substituted original target audio pattern.
In the embodiment of the present invention, by implementing the method described by Fig. 2, it is possible to according to the extension name of multimedia file and The current state information of user terminal arranges suitable audio automatically, improves simple operation, and is effectively improved Consumer's Experience And auditory effect.
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 file name of multimedia file to be played, this document title includes mesh Mark extension name.
Second acquisition unit 302, for obtaining the current state information of user terminal.
In the embodiment of the present invention, the current state information of user terminal can include but not limited to the position letter of user terminal Contextual model that breath, the current system time of user terminal, user terminal are current and user terminal are presently in the sound of environment At least one in the information such as value.
Determine unit 303, for according to this target extension name, current state information and default extension name, state letter Breath and the corresponding relation of audio MODE, determine the target audio mould corresponding with this target extension name and current state information Formula.
In the embodiment of the present invention, in default extension name, the status information corresponding relation with audio MODE, same The audio pattern of correspondence can be different under different status informations for extension name, and different extension name is right under same status information The audio pattern answered can be different, it is also possible to identical.Audio pattern can include but not limited to that volume value, audio style are (as former 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.
Output unit 304, for exporting this multimedia file according to this target audio pattern.
In the embodiment of the present invention, when determining that unit 303 determines the target extension name of multimedia file and user terminal After the target audio pattern that current state information is corresponding, the audio pattern of this multimedia file can be arranged by output unit 304 For this target audio pattern and export, such that it is able to improve the result of broadcast of this multimedia file.
Seeing also Fig. 4, Fig. 4 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. 4 is in the use shown in Fig. 3 On the basis of the terminal of family, further optimization obtains.Compared with the user terminal shown in Fig. 3, in the user terminal shown in Fig. 4 One acquiring unit 301 may include that
Read subelement 3011, for reading the physical address of multimedia file to be played, this physical address comprises File name;
Resolve subelement 3012, be used for resolving this physical address, to obtain the file name comprised in this physical address.
Wherein, this physical address is the actual address that this multimedia file stores in the user terminal.
As the optional embodiment of one, in the user terminal shown in Fig. 4, output unit 304 may include that
Judgment sub-unit 3041, for judging the audio pattern one that this target audio pattern is the most current with user terminal Cause;
When judgment sub-unit 3041, regulon unit 3042, for judging that this target audio pattern is current with user terminal Audio pattern inconsistent time, according to the audio pattern that this target audio mode tuning user terminal is current, and according to regulation after This multimedia file of audio mode playback.
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:
First judging unit 305, for judging that this target extension name is the most consistent with the extension name of history played file, should The file that history played file is play recently by user terminal distance current time;
Second judging unit 306, is used for judging that current state information is the most consistent with historic state information, this historic state Information is user terminal status information when playing this history played file;
Correspondingly, determine when the first judging unit 305, unit is specifically for judging that this target extension name is broadcast with this history The extension name putting file is consistent, and the second judging unit 306 judges that current state information differs with this historic state information During cause, right with audio MODE's according to this target extension name, current state information and default extension name, status information Should be related to, determine the target audio pattern corresponding with this target extension name and current state information;
Output unit 304, is additionally operable to when the first judging unit 305 judges this target extension name and this history played file Extension name consistent, and the second judging unit 306 judges when current state information is consistent with this historic state information, then root This multimedia file is exported according to the audio pattern playing this history played file under this historic state information.
In the embodiment of the present invention, by implementing the user terminal shown in Fig. 3 to Fig. 5, it is possible to according to the expansion of multimedia file The current state information of exhibition name and user terminal arranges suitable audio automatically, improves simple operation, and is effectively improved Consumer's Experience and auditory effect.
Refer to the structural representation that Fig. 6, Fig. 6 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 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 600 shown in Fig. 6, processor 601 calls storage application program in the memory 604, can For performing following operation:
Obtaining the file name of multimedia file to be played, this document title includes target extension name;
Obtain the current state information of user terminal 600;
According to the extension name preset of storage, state letter in this target extension name, current state information and memorizer 604 Breath and the corresponding relation of audio MODE, determine the target audio mould corresponding with this target extension name and current state information Formula;
Trigger output device 603 and export this multimedia file according to target audio pattern.
Wherein, the current state information of user terminal 600 can include but not limited to user terminal 600 positional information, Contextual model and user terminal 600 that the current system time of user terminal 600, user terminal 600 are current are presently in ring At least one in the information such as the volume value in border.
As the optional embodiment of one, processor 601 obtains the tool of the file name of multimedia file to be played Body embodiment can be:
Reading the physical address of multimedia file to be played, this physical address is that this multimedia file is at user terminal In 600, the actual address of storage, comprises file name in this physical address;
Resolve this physical address, to obtain the file name comprised in this physical address.
As the optional embodiment of one, processor 601 triggers output device 603 should according to the output of target audio pattern The detailed description of the invention of multimedia file can be:
Judge that this target audio pattern audio pattern the most current with user terminal 600 is consistent;
When the audio pattern that this target audio pattern is current with user terminal 600 is inconsistent, according to this target audio mould The formula regulation current audio pattern of user terminal 600, and triggering output device 603, to export this according to the audio pattern after regulation many Media file.
As the optional embodiment of one, processor 601 is according to this target extension name, current state information and deposit In reservoir 604, the extension name preset of storage, status information and the corresponding relation of audio MODE, determine and extend with this target Before the target audio pattern that name is corresponding with current state information, it is also possible to call storage application journey in the memory 604 Sequence, and perform following operation:
Judging that this target extension name is the most consistent with the extension name of history played file, this history played file is that user is whole The file that end 600 distance current time is play recently;
Judging that current state information is the most consistent with historic state information, this historic state information is that user terminal 600 is broadcast Put status information during this history played file;
If this target extension name is consistent with the extension name of history played file, and current state information and this historic state Information is inconsistent, then trigger processor 601 and perform described according to this target extension name, current state information and memorizer The extension name preset of storage, the corresponding relation of status information and audio MODE in 604, determine with this target extension name and The operation of the target audio pattern that current state information is corresponding;And,
If this target extension name is consistent with the extension name of this history played file, and current state information and this history shape State information is consistent, then trigger output device 603 according to the audio mould playing this history played file under this historic state information Formula exports this multimedia file.
In the embodiment of the present invention, by implementing the user terminal shown in Fig. 6, can according to the extension name of multimedia file with And the current state information of user terminal arranges suitable audio automatically, improve simple operation, and be effectively improved user's body Test and auditory effect.
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.
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 in embodiment of the present invention user terminal can merge according to actual needs, divides and delete.
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:
Obtaining the file name of multimedia file to be played, described file name includes target extension name;
Obtain the current state information of user terminal;
According to described target extension name, described current state information and default extension name, status information and audio pattern three The corresponding relation of person, determines the target audio pattern corresponding with described target extension name and described current state information;
Described multimedia file is exported according to described target audio pattern.
Method the most according to claim 1, it is characterised in that the file destination of the multimedia file that described acquisition is to be played Title, including:
Read the physical address of multimedia file to be played, described physical address be described multimedia file in the user terminal The actual address of storage, comprises file name in described physical address;
Resolve described physical address, to obtain the described file name comprised in described physical address.
Method the most according to claim 1, it is characterised in that described current state information includes the position of described user terminal Contextual model that confidence breath, the current system time of described user terminal, described user terminal are current and described user terminal It is presently at least one in the volume value of environment.
Method the most according to claim 1, it is characterised in that described according to the described target audio pattern described many matchmakers of output Body file, including:
Judge that the described target audio pattern audio pattern the most current with described user terminal is consistent;
When the audio pattern that described target audio pattern is current with described user terminal is inconsistent, according to described target audio mould Formula regulates the audio pattern that described user terminal is current.
5. according to the method according to any one of claim 1-4, it is characterised in that described according to described target extension name, institute State current state information and default extension name, status information and the corresponding relation of audio MODE, determine and described mesh Before the target audio pattern that mark extension name is corresponding with described current state information, described method also includes:
Judging that described target extension name is the most consistent with the extension name of history played file, described history played file is described use The file that family terminal distance current time is play recently;
Judging that described current state information is the most consistent with historic state information, described historic state information is described user terminal Play status information during described history played file;
If described target extension name is consistent with the extension name of described history played file, and described current state information is with described Historic state information is inconsistent, then perform described according to described target extension name, described current state information and default Extension name, status information and the corresponding relation of audio MODE, determine and believe with described target extension name and described current state The step of the target audio pattern that manner of breathing is corresponding;And,
If described target extension name is consistent with the extension name of described history played file, and described current state information is with described Historic state information is consistent, then according to the audio pattern output playing described history played file under described historic state information Described multimedia file.
6. a user terminal, it is characterised in that including:
First acquiring unit, for obtaining the file name of multimedia file to be played, described file name includes that target expands Exhibition name;
Second acquisition unit, for obtaining the current state information of user terminal;
Determine unit, for according to described target extension name, described current state information and default extension name, status information With the corresponding relation of audio MODE, determine the target sound corresponding with described target extension name and described current state information Effect pattern;
Output unit, for exporting described multimedia file according to described target audio pattern.
User terminal the most according to claim 6, it is characterised in that described first acquiring unit includes:
Reading subelement, for reading the physical address of multimedia file to be played, described physical address is described multimedia The actual address that file stores in the user terminal, comprises file name in described physical address;
Resolve subelement, be used for resolving described physical address, to obtain the described file name comprised in described physical address.
User terminal the most according to claim 6, it is characterised in that described current state information includes described user terminal Positional information, the current contextual model of the current system time of described user terminal, described user terminal and described user Terminal is presently at least one in the volume value of environment.
User terminal the most according to claim 6, it is characterised in that described output unit includes:
Judgment sub-unit is consistent for judging the described target audio pattern audio pattern the most current with described user terminal;
When described judgment sub-unit, regulon unit, for judging that described target audio pattern is current with described user terminal When audio pattern is inconsistent, according to the audio pattern that user terminal described in described target audio mode tuning is current.
10. according to the user terminal according to any one of claim 6-9, it is characterised in that described user terminal also includes:
First judging unit, for judging that described target extension name is the most consistent with the extension name of history played file, described in go through The file that history played file is play recently by described user terminal distance current time;
Second judging unit, is used for judging that described current state information is the most consistent with historic state information, described historic state Information is status information during the described user terminal described history played file of broadcasting;
Described determine when described first judging unit, unit is specifically for judging that described target extension name and described history are play The extension name of file is consistent, and described second judging unit judges described current state information and described historic state information Time inconsistent, according to described target extension name, described current state information and default extension name, status information and audio mould The corresponding relation of formula three, determines the target audio pattern corresponding with described target extension name and described current state information;
Described output unit, is additionally operable to when described first judging unit judges that described target extension name plays literary composition with described history The extension name of part is consistent, and described second judging unit judges described current state information and described historic state information one During cause, then export described multimedia literary composition according to the audio pattern playing described history played file under described historic state information Part.
CN201610440031.8A 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal Pending CN106155624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610440031.8A CN106155624A (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
CN201610440031.8A CN106155624A (en) 2016-06-16 2016-06-16 A kind of effect adjusting method and user terminal

Publications (1)

Publication Number Publication Date
CN106155624A true CN106155624A (en) 2016-11-23

Family

ID=57353285

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN106155624A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601170A (en) * 2020-05-21 2020-08-28 广州欢网科技有限责任公司 Advertisement playing method, device and system
CN111930990A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Method, system and terminal equipment for determining voice playing setting of electronic book

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063141A1 (en) * 2007-08-28 2009-03-05 Micro-Star Int'l Co., Ltd Apparatus And Method For Adjusting Prompt Voice Depending On Environment
CN103366779A (en) * 2012-04-10 2013-10-23 中兴通讯股份有限公司 Method and device for automatic setting of sound-effect parameters
CN104410748A (en) * 2014-10-17 2015-03-11 广东小天才科技有限公司 Method for adding background sound effect according to position of mobile terminal, and mobile terminal
CN104469670A (en) * 2014-10-22 2015-03-25 广东小天才科技有限公司 Method for switching sound effect mode based on position of mobile terminal and mobile terminal
CN104883642A (en) * 2015-03-27 2015-09-02 成都上生活网络科技有限公司 Sound effect adjustment method
CN104934048A (en) * 2015-06-24 2015-09-23 小米科技有限责任公司 Sound effect regulation method and device
CN105549947A (en) * 2015-12-21 2016-05-04 联想(北京)有限公司 Audio device control method and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063141A1 (en) * 2007-08-28 2009-03-05 Micro-Star Int'l Co., Ltd Apparatus And Method For Adjusting Prompt Voice Depending On Environment
CN103366779A (en) * 2012-04-10 2013-10-23 中兴通讯股份有限公司 Method and device for automatic setting of sound-effect parameters
CN104410748A (en) * 2014-10-17 2015-03-11 广东小天才科技有限公司 Method for adding background sound effect according to position of mobile terminal, and mobile terminal
CN104469670A (en) * 2014-10-22 2015-03-25 广东小天才科技有限公司 Method for switching sound effect mode based on position of mobile terminal and mobile terminal
CN104883642A (en) * 2015-03-27 2015-09-02 成都上生活网络科技有限公司 Sound effect adjustment method
CN104934048A (en) * 2015-06-24 2015-09-23 小米科技有限责任公司 Sound effect regulation method and device
CN105549947A (en) * 2015-12-21 2016-05-04 联想(北京)有限公司 Audio device control method and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930990A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Method, system and terminal equipment for determining voice playing setting of electronic book
CN111601170A (en) * 2020-05-21 2020-08-28 广州欢网科技有限责任公司 Advertisement playing method, device and system

Similar Documents

Publication Publication Date Title
CN111916039B (en) Music file processing method, device, terminal and storage medium
CN105117102B (en) Audio interface display methods and device
CN106095384B (en) A kind of effect adjusting method and user terminal
CN105955700A (en) Sound effect adjusting method and user terminal
CN106790940B (en) Recording method, recording playing method, device and terminal
KR20090029695A (en) Improved exercise data device, server, system and method
CN106126160B (en) A kind of effect adjusting method and user terminal
JP2021513819A (en) Video acquisition methods, devices, terminals and media
JP6071008B2 (en) Method and system for simulating a smart device user interface on a vehicle head unit
CN109947388A (en) The page broadcasts control method, device, electronic equipment and the storage medium of reading
CN101924833A (en) Terminal control method and terminal
CN102646037A (en) Menu display processing method and terminal device
CN107371102A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN108540815A (en) Multimedia content playback method, apparatus and system
US20220246135A1 (en) Information processing system, information processing method, and recording medium
CN113823250A (en) Audio playing method, device, terminal and storage medium
CN106155624A (en) A kind of effect adjusting method and user terminal
CN110418011A (en) Generate the method, apparatus and smart machine of prompt tone
JP7349139B2 (en) Game program, terminal device, method, and game system
CN114546325A (en) Audio processing method, electronic device and readable storage medium
CN112148248A (en) Online song room implementation method, electronic device and computer readable storage medium
CN110413182A (en) Information displaying method, device, medium and calculating equipment
CN114520950B (en) Audio output method, device, electronic equipment and readable storage medium
CN107943279A (en) Intelligent wearable device and method of work, the device with store function
CN113343022A (en) Song teaching method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication