CN101465146A - Method and equipment for playing media file - Google Patents

Method and equipment for playing media file Download PDF

Info

Publication number
CN101465146A
CN101465146A CNA2007101798752A CN200710179875A CN101465146A CN 101465146 A CN101465146 A CN 101465146A CN A2007101798752 A CNA2007101798752 A CN A2007101798752A CN 200710179875 A CN200710179875 A CN 200710179875A CN 101465146 A CN101465146 A CN 101465146A
Authority
CN
China
Prior art keywords
playlist
media file
playing
media
broadcast attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101798752A
Other languages
Chinese (zh)
Other versions
CN101465146B (en
Inventor
伍军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2007101798752A priority Critical patent/CN101465146B/en
Publication of CN101465146A publication Critical patent/CN101465146A/en
Application granted granted Critical
Publication of CN101465146B publication Critical patent/CN101465146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the media playing field, and provides a method and a device for playing a media file. The method comprises the following steps: opening a first playing list in a media player, and then according to a user's demands, selecting random media files from the playing list to set up a new second playing list for repeating the playing process; setting the frequency of the repetition of each media file in the second playing list as the playing attribute of the second playing list; and playing the media files in accordance with the playing attribute of the second playing list. By adopting the method and the device provided by the invention, the user can set the attribute of a media playing file according to necessity. Meanwhile, as the second playing list occupies no space dedicated for the first playing list, the purpose of saving storage space can be achieved.

Description

The method and apparatus of playing media file
Technical field
The present invention relates to media play field, more specifically, relate to a kind of method and apparatus of playing media file.
Background technology
Along with the raising of development of technology and people's living standard, various Digital Medias playback equipment is popularized gradually, and people also often are used for working and learning with them when appreciating various Digital Medias with these equipment.But the repeat playing function of existing media player such as Windows Media Player, can only be that an individual files or whole playlist in the tabulation are carried out repeat playing, can't optionally carry out repeat playing at the part of media (song) in these tabulations, also not possess the function that allows the user that broadcasting time freely is set according to its needs.In a word, the present design of media player on the repeat playing function makes the user use very inconvenience as foreign language studying or the like under many circumstances.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus of playing media file, make the user can have the virtual playlist of different recurring rule characteristics according to the requirements set of oneself.
According to an aspect of the present invention, a kind of method of playing media file has been proposed, comprise:, form second a new playlist according to the media file that user's needs are chosen arbitrarily in the described playlist at first playlist of in media player, having opened; Set the broadcast attribute of the multiplicity of each media file in described second playlist as second playlist; And the broadcast attribute that is had according to described second playlist comes playing media file.
Preferably, described second playlist is a virtual playlist, only is present in the internal memory, does not take the storage space of described first playlist.
Preferably, the multiplicity of each media file in setting described second playlist as the step of the broadcast attribute of second playlist before or before the described broadcast attribute that is had according to described second playlist comes the step of playing media file, also comprise the repetitive mode of setting described second playlist;
Preferably, described repetitive mode is the repetitive mode that sequential loop, backward circulation, unordered circulation or user set.
Preferably, described second playlist is presented in the described first playlist page, demonstrates second playlist by the sign different with described first playlist.Wherein said sign can be color, font, icon prefix, icon suffix and combination thereof.
Preferably, described second playlist is presented in the new playlist page.
Preferably, described second playlist is stored as the 3rd a new playlist again, described the 3rd new playlist has the broadcast attribute identical with described second playlist.Number of times is put in the broadcasting time that wherein said broadcast attribute can be a media file, the replay of the gross weight of playlist.
Preferably, the attribute in described second playlist is the broadcast attribute of media file segment.
Preferably, described media file comprises audio file, video file.
According to another aspect of the present invention, a kind of playback of media files equipment (400) has also been proposed, comprise: selected cell (402), be used for first playlist opened at media player at one, choose media file in described first playlist arbitrarily according to user's needs and form second a new playlist and be used for repeat playing work; Control module (404), the multiplicity of each media file that is used for setting described second playlist is as the broadcast attribute of second playlist; And broadcast unit (408), the broadcast attribute that is had according to described second playlist comes playing media file.
Preferably, described second playlist is a virtual playlist, only is present in the internal memory, does not take the storage space of storage unit.
Beneficial effect of the present invention is: the user is after media player is opened a playlist, the song of required repeat playing can be chosen in tabulation directly and broadcasting time is separately set up an interim virtual playlist, make things convenient for the user to play various media files according to different needs, simultaneously, can save resource (storage space) owing to allow the user only when needs are set up fixedly playlist, just to set up tabulation.
Description of drawings
According to following description in conjunction with the accompanying drawings, the advantage of the present invention easy to understand that will become, wherein:
Fig. 1 has proposed the process flow diagram of the method according to this invention;
Fig. 2 shows the process flow diagram according to the example 1 of the method for the embodiment of the invention;
Fig. 3 shows the process flow diagram according to the example 2 of the method for the embodiment of the invention; And
Fig. 4 shows the schematic block diagram of the equipment that produces according to playlist of the present invention.
Embodiment
Provide detailed reference to embodiments of the invention now.For explaining that the present invention will be described with reference to the drawings following embodiment.
Describe the method for playing media file in detail according to the present invention below with reference to Fig. 1, said method comprising the steps of:, form new second playlist (S12) according to the media file that user's needs are chosen arbitrarily in described first playlist at first playlist of in media player, having opened; Set the broadcast attribute (S14) of the multiplicity of each media file in described second playlist as second playlist; And the broadcast attribute that is had according to described second playlist comes playing media file (S16).
Wherein, described second playlist can be a virtual playlist, only is present in the internal memory, does not take the storage space of described first playlist.The multiplicity of each media file in setting described second playlist as the step (S14) of the broadcast attribute of second playlist before or the step (S16) of coming playing media file at the described broadcast attribute that is had according to described second playlist before, also comprise the repetitive mode of setting described second playlist.
Described repetitive mode can be the repetitive mode that sequential loop, backward circulation, unordered circulation or user set.Described second playlist can be presented in the first playlist page, demonstrate second playlist by the sign different (for example: color, font, icon prefix, icon suffix or the like) with first playlist; Second playlist can also be presented in the new playlist page, described new playlist has the various broadcast attributes identical with described virtual playlist.Wherein said sign can be color, font, icon prefix, icon suffix and combination thereof.Described second playlist can also be presented in the new playlist page.Described second playlist can also be stored as again the 3rd a new playlist, described the 3rd new playlist has the broadcast attribute identical with described second playlist.Number of times or the like is put in the broadcasting time that described broadcast attribute can be a media file, the replay of the gross weight of playlist.Broadcast attribute in described second playlist can be the broadcast attribute of media file segment.Wherein said media file can comprise audio file, video file etc.Like this, can keep the broadcast attribute of in method, setting with using easily by copying to according to the described method of the embodiment of the invention in the other machine according to the embodiment of the invention.
Below with reference to Fig. 2 example is according to an embodiment of the invention described in further detail.With reference to figure 2, at first, open an existing playlist.Does then prompting need to be provided with the repeat playing number of times? if unwanted words are then play according to the former setting option of playlist; The repeat playing number of times is set if desired, then chooses the media file that needs repeat playing.Does next prompting need to be provided with broadcasting time? if do not need to be provided with broadcasting time, then show the song and/or the broadcasting time of selected repeat playing, and then carry out repeat playing according to setting; Set broadcasting time if desired, then set broadcasting time at independent song or at selected song respectively.After setting is finished, show the song and/or the broadcasting time of selected repeat playing, and then carry out repeat playing according to setting.In described setting up procedure, except multiplicity and repetitive mode are set, can also be provided with such as play mode, play style, other play attributes.
Fig. 3 shows the broadcast example according to the method for the embodiment of the invention.As shown in Figure 3, at first, the song sum S, the gross weight that read in the virtual playlist are counted N (default value of N is 0) again.Judge then whether N equals 0.If N equals 0, N is set at N=-1, illustrate and carrying out the last of total broadcasting time; If N is not equal to 0, N is set at N=N-1, reduce total circulation of playing.Then carry out the inside of whole playlist and play circulation.Play in the circulation in the inside of described virtual playlist: at first, song pointer m=1, n=1, the song sum of setting playlist are S; Then, read the repeat playing number of times (n) of song in the tabulation; Then, counter n=n-1 is set, progressively finishing the broadcasting time of setting, up to finishing this just (being n=0) till the broadcasting time in play list; Then, song list pointer m=m+1 begins to play the next song in the described virtual playlist.Repeat above-mentioned inner loop playing process, till the song list pointer is greater than S.At this moment, judge whether N equals-1.If N=-1 illustrates that whole virtual playlist also needs to play once again, therefore enter the inner loop playing process; If N is not equal to-1, a kind of situation is that total playing process does not finish, and neither play for the last time simultaneously, and N successively decreases so, proceeds inner loop and plays; Another kind of situation is n=0, and repeat playing finishes so, has realized the broadcast of the play content (song) that virtual playlist that the user sets sets.
Explain according to a further aspect of the invention a kind of playback of media files equipment 400 in further detail below with reference to Fig. 4.Described playback of media files equipment 400 comprises: selected cell 402, be used for first playlist opened at media player at one, form second a new playlist according to the media file that user's needs are chosen arbitrarily in described first playlist; Control module 404, the multiplicity of each media file that is used for setting described second playlist is as the broadcast attribute of second playlist; And broadcast unit 408, the broadcast attribute that is had according to described second playlist comes playing media file.
Wherein, described second playlist is a virtual playlist, only is present in the internal memory, does not take the storage space of storage unit.Further, described storage space is the storage space of the storage unit that comprises in addition of described playback of media files equipment 400.
Wherein, described broadcast unit 408 can be the media player in the operation system of software, also can be hardware apparatus for media playing, for example MP3 player, CD Player etc.In addition, described each component unit can be integrated on the chip, as a control assembly of MP3, CD Player etc.
Pass through method and apparatus according to the invention, the user is after media player is opened a playlist, can directly in tabulation, choose the song of required repeat playing and broadcasting time separately thereof and set up an interim virtual playlist, make things convenient for the user to play various media files according to different needs as second playlist.Simultaneously, can save resource (storage space) owing to allow the user only when needs are set up fixedly playlist, just to set up tabulation.In addition, because can be according to the required broadcast attribute of setting media file of user, method and apparatus according to the invention is having application preferably aspect medium appreciations (comprising Voice ﹠ Video) and the language learning.
Although illustrated and described some embodiments of the present invention, but those of ordinary skills are to be understood that, under the situation that does not break away from claims and the principle and scope of the present invention that equivalent limited thereof, can in to above embodiment, make variation.

Claims (13)

1. the method for a playing media file is characterized in that, comprising:
At first playlist of in media player, having opened, form second a new playlist according to the media file that user's needs are chosen arbitrarily in described first playlist;
Set the broadcast attribute of the multiplicity of each media file in described second playlist as second playlist; And
The broadcast attribute that is had according to described second playlist comes playing media file.
2. method according to claim 1 is characterized in that, described second playlist is a virtual playlist, only is present in the internal memory, does not take the storage space of described first playlist.
3. method according to claim 1, it is characterized in that, the multiplicity of each media file in setting described second playlist as the step of the broadcast attribute of second playlist before or before the described broadcast attribute that is had according to described second playlist comes the step of playing media file, also comprise the repetitive mode of setting described second playlist.
4. method according to claim 3 is characterized in that, described repetitive mode is the repetitive mode that sequential loop, backward circulation, unordered circulation or user set.
5. method according to claim 1 is characterized in that, described second playlist is presented in the described first playlist page, demonstrates second playlist by the sign different with described first playlist.
6. method according to claim 5 is characterized in that, described sign is color, font, icon prefix, icon suffix and combination thereof.
7. method according to claim 1 is characterized in that, described second playlist is presented in the new playlist page.
8. method according to claim 1 is characterized in that, described second playlist is stored as the 3rd a new playlist again, and described the 3rd new playlist has the broadcast attribute identical with described second playlist.
9. method according to claim 8 is characterized in that, number of times is put in the broadcasting time that described broadcast attribute is a media file, the replay of the gross weight of playlist.
10. method according to claim 1 is characterized in that, the broadcast attribute in described second playlist is the broadcast attribute of media file segment.
11. method according to claim 1 is characterized in that, described media file comprises audio file, video file.
12. a playback of media files equipment is characterized in that, comprising:
Selected cell is used for first playlist opened at media player at one, forms second a new playlist according to the media file that user's needs are chosen arbitrarily in described first playlist;
Control module, the multiplicity of each media file that is used for setting described second playlist is as the broadcast attribute of second playlist; And
Broadcast unit, the broadcast attribute that is had according to described second playlist comes playing media file.
13. playback of media files equipment according to claim 12 is characterized in that, described second playlist is a virtual playlist, only is present in the internal memory, does not take the storage space of storage unit.
CN2007101798752A 2007-12-19 2007-12-19 Method and equipment for playing media file Active CN101465146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101798752A CN101465146B (en) 2007-12-19 2007-12-19 Method and equipment for playing media file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101798752A CN101465146B (en) 2007-12-19 2007-12-19 Method and equipment for playing media file

Publications (2)

Publication Number Publication Date
CN101465146A true CN101465146A (en) 2009-06-24
CN101465146B CN101465146B (en) 2012-06-06

Family

ID=40805678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101798752A Active CN101465146B (en) 2007-12-19 2007-12-19 Method and equipment for playing media file

Country Status (1)

Country Link
CN (1) CN101465146B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102842317A (en) * 2011-06-20 2012-12-26 腾讯科技(深圳)有限公司 Multimedia playing method and player
CN103400591A (en) * 2013-08-12 2013-11-20 深圳市金立通信设备有限公司 Method and device for playing multimedia
CN103871433A (en) * 2012-12-10 2014-06-18 联想(北京)有限公司 Control method and electronic device
CN105096990A (en) * 2015-07-29 2015-11-25 广东欧珀移动通信有限公司 Group play control method and terminal of play system
WO2015180067A1 (en) * 2014-05-28 2015-12-03 华为技术有限公司 Method and terminal for playing media
CN107092460A (en) * 2017-04-19 2017-08-25 维沃移动通信有限公司 A kind of playback of songs method and mobile terminal
CN116796018A (en) * 2023-06-30 2023-09-22 荣耀终端有限公司 Song playing method and related device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4419879B2 (en) * 2005-03-17 2010-02-24 ソニー株式会社 Information processing system
CN100352277C (en) * 2005-06-03 2007-11-28 上海惠晨信息技术有限公司 Resource allocation method for system of playing and controlling media dispatched through dynamic preengage
CN1967520A (en) * 2005-11-15 2007-05-23 英业达股份有限公司 Random playing system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102842317A (en) * 2011-06-20 2012-12-26 腾讯科技(深圳)有限公司 Multimedia playing method and player
CN102842317B (en) * 2011-06-20 2016-04-13 腾讯科技(深圳)有限公司 Multi-medium play method and player
CN103871433A (en) * 2012-12-10 2014-06-18 联想(北京)有限公司 Control method and electronic device
CN103871433B (en) * 2012-12-10 2019-11-26 联想(北京)有限公司 A kind of control method and electronic equipment
CN103400591A (en) * 2013-08-12 2013-11-20 深圳市金立通信设备有限公司 Method and device for playing multimedia
WO2015180067A1 (en) * 2014-05-28 2015-12-03 华为技术有限公司 Method and terminal for playing media
US10540074B2 (en) 2014-05-28 2020-01-21 Huawei Technologies Co., Ltd. Method and terminal for playing media
CN105096990A (en) * 2015-07-29 2015-11-25 广东欧珀移动通信有限公司 Group play control method and terminal of play system
CN107092460A (en) * 2017-04-19 2017-08-25 维沃移动通信有限公司 A kind of playback of songs method and mobile terminal
CN116796018A (en) * 2023-06-30 2023-09-22 荣耀终端有限公司 Song playing method and related device

Also Published As

Publication number Publication date
CN101465146B (en) 2012-06-06

Similar Documents

Publication Publication Date Title
CN101465146B (en) Method and equipment for playing media file
JP4623390B2 (en) Playback apparatus, playback method, and playback program
US9418662B2 (en) Method, apparatus and computer program product for providing compound models for speech recognition adaptation
US20070100481A1 (en) System and method for organizing information
US20090177300A1 (en) Methods and apparatus for altering audio output signals
US7930329B2 (en) System, method and medium browsing media content using meta data
US8457322B2 (en) Information processing apparatus, information processing method, and program
CN100468388C (en) Play list generation system and method
RU2008150843A (en) GRAPHIC DISPLAY
CN101377946B (en) Medium play method and terminal
US8015212B2 (en) Reproduction method, reproduction apparatus, and recording medium
CN103973955A (en) Information processing method and electronic device
CN109657091A (en) State rendering method, device, equipment and the storage medium of interactive voice equipment
CN105868400A (en) Recorded sound information processing method and recorded sound information processing device
US20090132591A1 (en) Method and system for displaying and accessing music data files
US6678661B1 (en) Method and system of audio highlighting during audio edit functions
US9817829B2 (en) Systems and methods for prioritizing textual metadata
CN109346081A (en) A kind of sound control method, device, equipment and storage medium
CN1979464A (en) Method for realizing playing according to request of user in digital media player
CN106231395A (en) Control method for playing back and media player
JP2009076158A (en) Contents reproducing device, user interface optimizing method, and user interface optimizing program
CN110069657A (en) A kind of interactive music order method, device and terminal
CN104869233A (en) Recording method
CN101621633A (en) Image editing system and method
CN110109645A (en) A kind of interactive music audition method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant