CN103956175A - Playing method and equipment of multi-media files - Google Patents

Playing method and equipment of multi-media files Download PDF

Info

Publication number
CN103956175A
CN103956175A CN201410159145.6A CN201410159145A CN103956175A CN 103956175 A CN103956175 A CN 103956175A CN 201410159145 A CN201410159145 A CN 201410159145A CN 103956175 A CN103956175 A CN 103956175A
Authority
CN
China
Prior art keywords
video
file system
slicing files
file
player
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
CN201410159145.6A
Other languages
Chinese (zh)
Other versions
CN103956175B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410159145.6A priority Critical patent/CN103956175B/en
Publication of CN103956175A publication Critical patent/CN103956175A/en
Application granted granted Critical
Publication of CN103956175B publication Critical patent/CN103956175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a playing method of multi-media files. The method comprises the steps that a player receives the path of video to be played, and a list file of the video is obtained according to the path; the player determines a network playing standard technical protocol followed by the list file of the video, and according to the network playing standard technical protocol, a used file system is determined; the player mounts and starts the file system, a downloader is indicated to download fragmentation files of the video, and the fragmentation files of the video are stored to storage equipment through the file system; and the player obtains fragmentation files at a target position from the fragmentation files of the video stored in the file system, and the fragmentation files at the target position are played. The invention further discloses playing equipment. The playing method and the equipment have the advantages that the management burden during video playing by the player can be lowered, and the user experience of video playing by the player is improved.

Description

A kind of player method of multimedia file and playback equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of player method and playback equipment of multimedia file.
Background technology
Current universal along with internet, the audio and video resources on internet is also along with becoming increasingly abundant; While is along with handheld device is universal and intelligent, and the lifting of network speed, more user is play internet video or is watched the programme televised live on internet by computer, hand-held intelligent terminal, and the Play Technique for Multimedia that is meanwhile applicable to netcast is also ripe gradually.The development of the current Play Technique for Multimedia along with netcast, the multimedia video play-back technology based on file fragmentation and the realization of listed files form is also day by day universal.
In prior art, video playback based on file fragmentation and listed files form is mainly that audio-video document is sliced into file fragmentation, by listing file form, the file fragmentation of audio-video document is offered to user's player, player downloads listing file is also resolved, extract each file fragmentation in information such as the position of server end storage and the durations of each file fragmentation, download file burst one by one, and carry out file data reduction and broadcasting in this locality.Player needs download, parsing, managing listings file and audio-video document, and along with increasing of burst number, it is more complicated that file management will become, and the difficulty of player management document becomes more increases, and when player plays video file, task is heavy.If player also needs to find by listing file the slicing files of seek impact point while having broadcasting to jump (seek) operation in playing, again downloading data, buffering and broadcasting, in this process, first player needs to know the slicing files title at impact point place, after downloading to appointment burst, repeatedly search in burst inside, the impact point that finds wanted seek to arrive, and need to consider burst border, realization flow complexity, length consuming time; When the video file data of having play are reviewed simultaneously, need to again download, the broadcasting of video file data may be limited to network state, and waste flow.In prior art, if when player has broadcasting limit, limit recording function, player also needs to manage simultaneously to be play path and records path, become a hard work by player management document, so increase the power consumption of player plays audio frequency and video, the user who has reduced player plays audio frequency and video experiences.
Summary of the invention
The embodiment of the present invention provides a kind of player method and playback equipment of multimedia file, player can obtain the listing file of video to be played, by the slicing files of downloader foradownloaded video, and by file system, the slicing files of video is managed, can improve the slicing files quality of video, administrative burden while reducing player plays video, has strengthened user's experience effect of player plays video.
Embodiment of the present invention first aspect provides a kind of player method of multimedia file, and it can comprise:
Player receives the path of video to be played, obtains the listing file of described video according to described path;
Described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines the file system using according to described netcast standard technique agreement;
Described player carry is also enabled described file system, and instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device;
Described player obtains the slicing files of target location from the slicing files of the described video of described file system storage, and the slicing files of described target location is play.
In conjunction with first aspect, in the possible implementation of the first, described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines comprise the file system using according to described netcast standard technique agreement:
Described player determines according to the path of the listing file that obtains described video the netcast standard technique agreement that the listing file of described video is deferred to;
File system corresponding to described netcast standard technique agreement is defined as to the file system using;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
In conjunction with first aspect, in the possible implementation of the second, described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines comprise the file system using according to described netcast standard technique agreement:
Described player determines according to the path of the listing file that obtains described video the netcast standard technique agreement that the listing file of described video is deferred to;
Described player is the netcast standard technique agreement of specifying by the protocol conversion of described netcast standard technique by the protocol conversion layer of described netcast standard technique agreement, and the file system corresponding to netcast standard technique agreement of described appointment is defined as to the file system using;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
In conjunction with the possible implementation of first aspect the first or the possible implementation of first aspect the second, in the third possible implementation, described netcast standard technique agreement, comprising: in HTTP live streaming media HLS agreement, level and smooth streaming SmoothStreaming agreement at least one;
Described file system comprises file system corresponding to described HLS agreement, in file system corresponding to described SmoothStreaming agreement at least one.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described instruction downloader is downloaded the slicing files of described video, comprising:
The information of the play position of described described video to be played is sent to described downloader by described player, indicates described downloader to start to download the slicing files of described video from described play position;
Wherein, the information of the play position of described video comprises: at least one information in start time, starting position, burst number, slicing files title.
In conjunction with the third possible implementation of first aspect, in the 5th kind of possible implementation, described instruction downloader is downloaded the slicing files of described video, comprising:
Described player reads described video to be played to described file system, and by described file system, the Data Position information of the video reading is sent to described downloader, indicates described downloader to download the slicing files of described video to be played.
In conjunction with the 4th kind of possible implementation of first aspect or the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, describedly by described file system, the slicing files of described video is stored to memory device, comprising:
By described file system, the slicing files of described video is stored to the memory location of specifying in described memory device; Or
By described file system, the slicing files of described video is stored to described memory device at random.
In conjunction with first aspect in the 6th kind of possible implementation of first aspect any, in the 7th kind of possible implementation, described by described file system, the slicing files of described video is stored to memory device after, described method also comprises:
Distribute descriptor by the described abstract data for the continuous space of logic of slicing files that are stored in the described video in described memory device, so that follow-up described player reads the slicing files of described video file according to the data in described space by the position of described file system.
In conjunction with the 7th kind of possible implementation of first aspect, in the 8th kind of possible implementation, described file system is specially managing physical disk, or a file in existing file system on managing physical disk.
Embodiment of the present invention second aspect provides a kind of playback equipment, and it can comprise:
Acquisition module, for receiving the path of video to be played, obtains the listing file of described video according to described path;
Determination module, the netcast standard technique agreement that the listing file of the described video getting for definite described acquisition module is deferred to, determines the file system using according to described netcast standard technique agreement;
Processing module, for carry and enable the described file system that described determination module is determined, instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device;
Playing module, obtains the slicing files of target location for the slicing files of the described video from described file system storage, and the slicing files of described target location is play.
In conjunction with second aspect, in the possible implementation of the first, described determination module, comprising:
The first determining unit, the netcast standard technique agreement of determining that for obtain the path of the listing file of described video according to described acquisition module the listing file of described video is deferred to;
The second determining unit, is defined as the file system using for file system corresponding to described netcast standard technique agreement that described the first determining unit is determined;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
In conjunction with first aspect, in the possible implementation of the second, described determination module, comprising:
The 3rd determining unit, the netcast standard technique agreement of determining that for obtain the path of the listing file of described video according to described acquisition module the listing file of described video is deferred to;
The 4th determining unit, be the netcast standard technique agreement of specifying by the protocol conversion of described netcast standard technique for the protocol conversion layer by the definite described netcast standard technique agreement of described the 3rd determining unit, and the file system corresponding to netcast standard technique agreement of described appointment be defined as to the file system using;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
In the possible implementation of second aspect the first or the possible implementation of second aspect the second, in the third possible implementation, described netcast standard technique agreement, comprising: in HTTP live streaming media HLS agreement, level and smooth streaming SmoothStreaming agreement at least one;
Described file system comprises file system corresponding to described HLS agreement, in file system corresponding to described SmoothStreaming agreement at least one.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described processing module, specifically for:
The information of the play position of described described video to be played is sent to described downloader, indicate described downloader to start to download the slicing files of described video from described play position;
Wherein, the information of the play position of described video comprises: at least one information in start time, starting position, burst number, slicing files title.
In conjunction with the third possible implementation of second aspect, in the 5th kind of possible implementation, described processing module, specifically for:
Read described video to be played to described file system, and by described file system, the Data Position information of the video reading is sent to described downloader, indicate described downloader to download the slicing files of described video to be played.
In conjunction with the 4th kind of possible implementation of second aspect or the 5th kind of possible implementation of fourth aspect, in the 6th kind of possible implementation, described processing module is stored to memory device by described file system by the slicing files of described video, comprising:
By described file system, the slicing files of described video is stored to the memory location of specifying in described memory device; Or
By described file system, the slicing files of described video is stored to described memory device at random.
In conjunction with second aspect in the 6th kind of possible implementation of second aspect any, in the 7th kind of possible implementation, described playback equipment, also comprises:
Abstract module, for after described processing module is stored to memory device by described file system by the slicing files of described video, distribute descriptor by the described abstract data for the continuous space of logic of slicing files that are stored in the described video in described memory device, so that follow-up described player reads the slicing files of described video file according to the data in described space by the position of described file system.
In conjunction with the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation, described file system is specially managing physical disk, or a file in existing file system on managing physical disk.
In embodiments of the present invention, player can obtain according to the path of the video to be played receiving the listing file of video, determine the file system using according to the listing file of video, and then the slicing files of the video of downloading by file system management downloader, player can directly read the slicing files of video from file system, slicing files to video is play, can download higher-quality video slicing file and be stored in memory device by file system by downloader, can be user high-quality video is provided, by the slicing files of downloader foradownloaded video and by the slicing files of file system management video, can reduce the burden of player plays video, simplify the realization of player, the user who has strengthened the broadcasting of video file experiences.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the first embodiment schematic flow sheet of the player method of the multimedia file that provides of the embodiment of the present invention;
Fig. 2 is the second embodiment schematic flow sheet of the player method of the multimedia file that provides of the embodiment of the present invention;
Fig. 3 is the first example structure schematic diagram of the playback equipment that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of the determination module in the first embodiment of the playback equipment that provides of the embodiment of the present invention;
Fig. 5 is the second example structure schematic diagram of the playback equipment that provides of the embodiment of the present invention.
Embodiment
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, playback equipment described in the embodiment of the present invention is specifically as follows multimedia play equipment, specifically can comprise: mobile phone, panel computer, notebook computer, hand-hold multimedia terminals etc. have the equipment of multimedia file or multi-media player function; In addition, playback equipment described in the embodiment of the present invention can also be the player software operating on the equipment such as above-mentioned mobile phone, panel computer, notebook computer, specifically can be player plug-in unit on player software or the browser on notebook computer etc.; More or, playback equipment described in the embodiment of the present invention can also be equipment or the software of identification, scanning or the information extraction with multimedia file or Streaming Media, the embodiment of the present invention does not limit the concrete form of playback equipment, above-mentioned playback equipment is only for example, and non exhaustive, including but not limited to the said equipment.
Referring to Fig. 1, it is the first embodiment schematic flow sheet of the player method of the multimedia file that provides of the embodiment of the present invention.The player method of the multimedia file described in the present embodiment, comprises step:
S101, player receives the path of video to be played, obtains the listing file of described video according to described path.
S102, described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines the file system using according to described netcast standard technique agreement.
Player described in the embodiment of the present invention can be the player software on the playback equipments such as mobile phone, also can be the player plug-in unit of the browser on playback equipments such as operating in mobile phone etc., be example by the player software taking on mobile phone below, the player method of the multimedia file described in the embodiment of the present invention is specifically described.In specific implementation, video file described in the embodiment of the present invention specifically can be the one in multimedia file, the player method of the multimedia file described in the embodiment of the present invention is also applicable to the broadcasting of the multimedia files such as audio file, be example by the broadcasting taking video file below, the player method of the multimedia file described in the embodiment of the present invention is specifically described.
In some feasible embodiments, can by the player application on mobile phone by user wish play video (, video to be played) path (, URL(uniform resource locator) (Uniform Resource Locator, URL)) send to player, after player receives the path of video to be played, can, by above-mentioned path (URL) accesses network, obtain the listing file of above-mentioned video according to above-mentioned URL.Concrete, can be by the network data acquisition module of player inside directly according to above-mentioned URL accesses network when player obtains the listing file of video, obtain corresponding listing file, also the position that can specify from above-mentioned URL by the downloader in mobile phone downloads to player buffering, does not limit at this.Wherein, the information of each slicing files that has comprised above-mentioned video in the listing file of above-mentioned video, comprise the information such as burst number, burst title or the burst duration of each slicing files, player can be according to the information of each slicing files of the listing file of above-mentioned video or above-mentioned video.In specific implementation, after player acquires the listing file of video to be played, can determine the netcast standard technique agreement that the listing file of above-mentioned video is deferred to according to the listing file of above-mentioned video, concrete, player can be resolved the listing file of above-mentioned video by the resolver on mobile phone, with the netcast standard technique agreement of determining that the listing file of above-mentioned video is deferred to.In specific implementation, after player has determined by resolver the netcast standard technique agreement that the listing file of video to be played defers to, file system corresponding to netcast standard technique agreement that listing file of above-mentioned video can be deferred to is defined as the file system using, and file system corresponding to netcast standard technique agreement that the listing file of above-mentioned video can be deferred to is chosen to be the file system of the slicing files for managing above-mentioned video.In specific implementation, netcast standard technique agreement described in the embodiment of the present invention can comprise: HTTP live streaming media (HTTP Live Streaming, HLS) agreement, level and smooth streaming (SmoothStreaming) agreement etc., concrete, the netcast standard technique agreement that can defer to due to the listing file of video can comprise multiple, so in order to support better the broadcasting of the video of deferring to different netcast standard technique agreements, can in mobile phone, set multiple file system, every kind of corresponding a kind of netcast standard technique agreement of file system, , file system described in the embodiment of the present invention can comprise: the file system that HLS agreement is corresponding, also can comprise file system that SmoothStreaming agreement is corresponding etc., quantity or the type of the file system that the embodiment of the present invention manages the slicing files of support video do not limit, the netcast standard technique agreement that can defer to according to video is specifically selected.
S103, described player carry is also enabled described file system, and instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device.
S104, described player obtains the slicing files of target location from the slicing files of the described video of described file system storage, and the slicing files of described target location is play.
In some feasible embodiments, player is identified for the file system of slicing files of managing video according to the listing file of video after, can carry and enable above-mentioned file system and create local data buffering, concrete, can indicate downloader to download the slicing files of above-mentioned video, and by described file system, the slicing files of described video is stored to memory device.In specific implementation, the downloader described in the embodiment of the present invention specifically can be the built-in download module of player, also can be the download module (, the downloader of player outside in mobile phone) of player outside.In specific implementation, player carry and enable above-mentioned file system after, can read video to be played to above-mentioned file system, by file system, the Data Position of the video reading is sent to downloader, concrete, player reads to file system after the data of video, and the Data Position that file system can read player sends downloader to, and the Data Position that instruction downloader reads according to above-mentioned player is downloaded the slicing files of video to be played.After downloader is downloaded the slicing files of video to be played according to the Data Position of player instruction, the slicing files of the video of download can be sent to file system, by file system, the slicing files of above-mentioned video is stored to memory device, the data of the video that file system can be downloaded downloader manage.
In some feasible embodiments, after downloader downloads the slicing files of video to be played, the slicing files of the video that file system can be downloaded downloader manages,, file system can be stored to the slicing files of video corresponding position in memory device, the data that player can read required target location by file system (, the slicing files of target location), player reads the slicing files of the video of target location and can the slicing files of above-mentioned target location be resolved and be play afterwards.
In embodiments of the present invention, after player acquires the path of video to be played, addressable network, obtain the listing file of above-mentioned video, determine according to listing file the netcast standard technique agreement that the listing file of above-mentioned video is deferred to, and according to the definite file system using of definite netcast standard technique agreement, and then the slicing files of the video of downloader being downloaded by file system manages, by file system, the slicing files of video is stored in memory device, player can directly read the data such as the slicing files of target location from file system, and then the slicing files of target location is play.That is, in embodiments of the present invention, player is without the slicing files of foradownloaded video voluntarily, the slicing files of managing video, and the burden while having reduced player plays video, has simplified the realization of player; Simultaneously, when player plays video described in the embodiment of the present invention, can pass through the slicing files of downloader foradownloaded video, and the slicing files of the video of downloader being downloaded by file system is stored to memory device, video can be recorded, direct reading out data from file system in the time that player is wanted displaying video, can realize playing while recording of video, improve user's experience effect of video playback.
Referring to Fig. 2, it is the second embodiment schematic flow sheet of the player method of the multimedia file that provides of the embodiment of the present invention.The player method of multimedia file described in this example, comprises step:
S201, player receives the path of video to be played, obtains the listing file of described video according to described path.
S202, described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines the file system using according to described netcast standard technique agreement.
Player described in the embodiment of the present invention can be the player software on the playback equipments such as mobile phone, also can be the player plug-in unit of the browser on playback equipments such as operating in mobile phone etc., be example by the player software taking on mobile phone below, the player method of the multimedia file described in the embodiment of the present invention is specifically described.In specific implementation, the video file described in the embodiment of the present invention specifically can be the one in multimedia file, and the player method of the multimedia file described in the embodiment of the present invention is also applicable to the player method of the multimedia files such as audio file.
In some feasible embodiments, can by the player application on mobile phone by user wish play video (, video to be played) path (, URL) send to player, after player receives the path of video to be played, can, by above-mentioned path (URL) accesses network, obtain the listing file of above-mentioned video according to above-mentioned URL.Concrete, can be by the network data acquisition module of player inside directly according to above-mentioned URL accesses network when player obtains the listing file of video, obtain corresponding listing file, also the position that can specify from above-mentioned URL by the downloader in mobile phone downloads to player buffering, does not limit at this.Wherein, the information of each slicing files that has comprised above-mentioned video in the listing file of above-mentioned video, specifically can comprise the information such as burst number, burst title or the burst duration of each slicing files, player can be known according to the listing file of above-mentioned video the information of each slicing files of above-mentioned video.In specific implementation, after player acquires the listing file of video to be played, can determine the netcast standard technique agreement that the listing file of above-mentioned video is deferred to according to the listing file of above-mentioned video, concrete, player can be resolved the listing file of above-mentioned video by the resolver on mobile phone, with the netcast standard technique agreement of determining that the listing file of above-mentioned video is deferred to.In specific implementation, after player has determined by resolver the netcast standard technique agreement that the listing file of video to be played defers to, file system corresponding to netcast standard technique agreement that listing file of above-mentioned video can be deferred to is defined as the file system using, and file system corresponding to netcast standard technique agreement that the listing file of above-mentioned video can be deferred to is chosen to be the file system of the slicing files for managing above-mentioned video.In specific implementation, netcast standard technique agreement described in the embodiment of the present invention can comprise: HLS agreement, SmoothStreaming agreement etc., concrete, the netcast standard technique agreement that can defer to due to the listing file of video can comprise multiple, so in order to support better the broadcasting of the video of deferring to different netcast standard technique agreements, can in mobile phone, set multiple file system, every kind of corresponding a kind of netcast standard technique agreement of file system, , file system described in the embodiment of the present invention can comprise: the file system that HLS agreement is corresponding, also can comprise file system that SmoothStreaming agreement is corresponding etc., quantity or the type of the file system that the embodiment of the present invention manages the slicing files of support video do not limit, the netcast standard technique agreement that can defer to according to video is specifically selected.
In some feasible embodiments, the embodiment of the present invention except setting file system corresponding to multiple network playing standard technical protocol in mobile phone, defer to outside the broadcasting of listing file of different netcast standard technique agreements with support, also can, by the conversion of different netcast standard technique agreements, support the broadcasting of the listing file of deferring to different netcast standard technique agreements by same file system.Concrete, after player determines according to the path of the listing file of video to be played the netcast standard technique agreement that the listing file of video defers to, the netcast standard technique protocol conversion that the protocol conversion layer of the netcast standard technique agreement that can defer to by the listing file of video is deferred to the listing file of above-mentioned video is the netcast standard technique agreement (being netcast standard technique agreement corresponding to file system built-in in mobile phone) of specifying, and by the right file system of netcast standard technique agreement of above-mentioned appointment be defined as use file system (being chosen to be the file system for the slicing files of managing video by the file system of content in mobile phone)., when the netcast standard technique agreement of supporting when the file system in mobile phone is general netcast standard technique agreement, after player has been determined the netcast standard technique agreement that the listing file of video to be played defers to, can pass through the protocol conversion layer of this netcast standard technique agreement self, be the netcast standard technique agreement that in mobile phone, existing file system is supported by this netcast standard technique protocol conversion, the netcast standard technique protocol conversion that the listing file of the video to be played receiving by player is deferred to is general netcast standard technique agreement.For example, in the time having had the file system that realizes support HLS agreement in the system of mobile phone, if when the netcast standard technique agreement that the listing file of the video to be played that player gets is deferred to is SmoothStreaming agreement, can the code stream of SmoothStreaming agreement be converted to the type that file system corresponding to HLS agreement can be identified by the protocol conversion layer of SmoothStreaming agreement, make file system corresponding to existing HLS agreement in mobile phone can support the listing file of above-mentioned video to be played, and then can manage the slicing files of video to be played by file system corresponding to above-mentioned HLS agreement, not only expand the implementation method of multiple network playing standard technical protocol, also expand the listing file of the supported video of existing file system in cell phone system, the user who has improved player plays video experiences, burden while having reduced player plays video.
S203, described player carry is also enabled described file system.
S204, the information of the play position of described described video to be played is sent to described downloader by described player, indicates described downloader to start to download the slicing files of described video frequency program from described play position.
S205, is stored to the slicing files of described video by described file system the memory location of specifying in memory device.
S206, described player obtains the slicing files of target location from the slicing files of the described video of described file system storage, and the slicing files of described target location is play.
In some feasible embodiments, player is identified for the file system of slicing files of managing video according to the listing file of video after, can carry and enable above-mentioned file system and create local data buffering, concrete, can indicate downloader to download the slicing files of above-mentioned video, and by described file system, the slicing files of described video is stored to memory device.In specific implementation, the downloader described in the embodiment of the present invention specifically can be the built-in download module of player, also can be the download module (, the downloader of player outside in mobile phone) of player outside.In specific implementation, player carry and enable above-mentioned file system after, can read video to be played to above-mentioned file system, by file system, the Data Position of the video reading is sent to downloader, concrete, player reads to file system after the data of video, and the Data Position that file system can read according to current player sends downloader to, and the Data Position that instruction downloader reads according to above-mentioned player is downloaded the slicing files of video to be played.
In some feasible embodiments, when player instruction downloader is downloaded the slicing files of video to be played, also the information of the play position of above-mentioned video to be played directly can be sent to downloader, the play position that instruction downloader is specified from above-mentioned player starts the slicing files of foradownloaded video, wherein, the play position of above-mentioned video can comprise: the start time, starting position, burst number, slicing files title etc., , the start time that downloader can be specified according to player, starting position, burst number, the information such as slicing files title start the slicing files of foradownloaded video.After downloader is downloaded the slicing files of video to be played according to the Data Position of player instruction, the slicing files of the video of download can be sent to file system, by file system, the slicing files of above-mentioned video is stored to memory device, the data of the video that file system can be downloaded downloader manage.In embodiments of the present invention, in the time that network condition is better, downloader can make full use of the network bandwidth and locally buffered space, high-quality slicing files is downloaded in file system in advance, in order to player use, when player Seek to downloaded data time, can directly from local system, obtain data, downloader is without accesses network again, current downloading data.
In some feasible embodiments, after downloader downloads the slicing files of video to be played, the slicing files of the video that file system can be downloaded downloader manages, and the slicing files of video can be stored to corresponding position in memory device.In embodiments of the present invention, when the slicing files of the above-mentioned video that player is downloaded downloader by file system manages, file system can be stored to the slicing files of above-mentioned video in memory device at random, or the slicing files of above-mentioned video is stored to the memory location of specifying in memory device,, file system can be stored to memory location continuous in memory device by the slicing files of video, also the slicing files of video can be stored to discontinuous memory location in memory device.In the time that file system is stored to the slicing files of video in memory device discontinuous memory location, file system is stored to the slicing files of video in memory device after discontinuous memory location, also can distribute descriptor by abstract the slicing files that is stored in the video in the memory device data for the continuous space of logic by the position of file system, be the data in the continuous space of logic by the discontinuous data abstraction of physics.File system is after the data in the continuous space of logic to the discontinuous data abstraction of physics, the data that player obtains are continuous video files, what be that player obtains is complete video, but not the video slicing of different memory locations, player can be convenient as playing local file, obtains the data of wanting whenever and wherever possible.In embodiments of the present invention, file system specifically can be managing physical disk, the data storage of file system can be the data that are directly stored in the physical location on physical disk, above-mentioned file system also can be a file in the above-mentioned existing file system of managing physical disk, and the data storage of file system can be for being stored in the file system based on file based on alternative document system creation.Wherein, the file system based on file and the difference of listing file are that using method is different, and it is different that player obtains the mode of video file.When player obtains video file by file system, can use the file operation (the such as operation such as fopen (), fread ()) of standard to open a buffer culture, do not need player to realize the management of multifile and repeatedly open multiple slicing files, when player obtains video file by listing file, need the position of multiple slicing files of knowing respectively video, open respectively multiple slicing files of video.In embodiments of the present invention, when multiple slicing files are stored in file system, file layout can be versatile and flexible, can be the form storage with a file, distribute descriptor to carry out association by multiple positions of file system, also can be stored as multiple files, finally be presented as the complete entirety that comprises multiple burst contents.
In specific implementation, after the slicing files of the video that player is downloaded downloader by file system manages and stores, the data that player can read required target location by file system (, the slicing files of target location), player reads the slicing files of target location and can the slicing files of above-mentioned target location be resolved and be play afterwards.
In embodiments of the present invention, after player acquires the path of video to be played, addressable network obtains the listing file of above-mentioned video, determine according to listing file the netcast standard technique agreement that the listing file of above-mentioned video is deferred to, and according to the definite file system using of definite netcast standard technique agreement, and then the slicing files of the video of downloader being downloaded by file system manages, the slicing files of video is stored in memory device, player can directly read the data such as the slicing files of target location from file system, and then the slicing files of video is play.That is, in embodiments of the present invention, player is without the slicing files of foradownloaded video voluntarily, the slicing files of managing video, and the burden while having reduced player plays video, has simplified the realization of player; The embodiment of the present invention can be passed through the slicing files of downloader foradownloaded video simultaneously, and the slicing files of the video of downloader being downloaded by file system is stored to memory device, video can be recorded, direct reading out data from file system in the time that player is wanted displaying video, can realize playing while recording of video, improve user's experience effect of video playback.The embodiment of the present invention also can network enabled playing standard technical protocol expansion, can simplify the realization of player plays video, downloader also can utilize network state to download the slicing files of high-quality video, can be player higher-quality video file is provided, the user who improves player plays video experiences.
Referring to Fig. 3, it is the first example structure schematic diagram of the playback equipment that provides of the embodiment of the present invention.Playback equipment described in the present embodiment, comprising:
Acquisition module 10, for receiving the path of video to be played, obtains the listing file of described video according to described path.
Determination module 20, the netcast standard technique agreement that the listing file of the described video getting for definite described acquisition module is deferred to, determines the file system using according to described netcast standard technique agreement.
Processing module 30, for carry and enable the described file system wound that described determination module is determined, instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device.
Playing module 40, obtains the slicing files of target location for the slicing files of the described video from described file system storage, and the slicing files of described target location is play.
In some feasible embodiments, above-mentioned determination module 20(is as Fig. 4), comprising:
The first determining unit 21, the netcast standard technique agreement of determining that for obtain the path of the listing file of described video according to described acquisition module the listing file of described video is deferred to.
The second determining unit 22, is defined as the file system using for file system corresponding to described netcast standard technique agreement that described the first determining unit is determined.
In specific implementation, playback equipment described in the embodiment of the present invention specifically can be player, mobile phone, notebook computer etc. and has the equipment of multimedia file or stream media playing function, player described in the embodiment of the present invention can be the player software on the playback equipments such as mobile phone, also can be the player plug-in unit of the browser on playback equipments such as operating in mobile phone etc., be example by the player software taking on mobile phone below, the playback equipment described in the embodiment of the present invention is specifically described.In specific implementation, playback equipment can be used for the broadcasting of video file described in the embodiment of the present invention, also can be used for the broadcasting of the multimedia files such as audio file.
In some feasible embodiments, can by the player application on mobile phone by user wish play video (, video to be played) path (, URL(uniform resource locator) (Uniform Resource Locator, URL)) send to player, after the acquisition module 10 of player receives the path of video to be played, can, by above-mentioned path (URL) accesses network, obtain the listing file of above-mentioned video according to above-mentioned URL.Concrete, can be by the network data acquisition module of player inside directly according to above-mentioned URL accesses network when the acquisition module 10 of player obtains the listing file of video, obtain corresponding listing file, also the position that can specify from above-mentioned URL by the downloader in mobile phone downloads to player buffering, does not limit at this.Wherein, the information of each slicing files that has comprised above-mentioned video in the listing file of above-mentioned video, specifically can comprise the information such as burst number, burst title or the burst duration of each slicing files, player can be known according to the listing file of above-mentioned video the information of each slicing files of above-mentioned video.In specific implementation, after the acquisition module 10 of player acquires the listing file of video to be played, the listing file of 20 videos that can get according to above-mentioned acquisition module 10 of determination module is determined the netcast standard technique agreement that the listing file of above-mentioned video is deferred to, concrete, the first determining unit 21 in determination module 20 can be resolved the listing file of above-mentioned video by the resolver in mobile phone, with the netcast standard technique agreement of determining that the listing file of above-mentioned video is deferred to.In specific implementation, after the first determining unit 21 of determination module 20 has determined by resolver the netcast standard technique agreement that the listing file of video to be played defers to, file system corresponding to netcast standard technique agreement that the second 22 of determining units can be deferred to the listing file of above-mentioned video is defined as the file system using, and file system corresponding to netcast standard technique agreement that the second determining unit 22 can be deferred to the listing file of above-mentioned video is chosen to be the file system of the slicing files for managing above-mentioned video.In specific implementation, netcast standard technique agreement described in the embodiment of the present invention can comprise: HLS agreement, SmoothStreaming agreement etc., concrete, the netcast standard technique agreement that can defer to due to the listing file of video can comprise multiple, so in order to support better the broadcasting of the video of deferring to different netcast standard technique agreements, can in mobile phone, set multiple file system, every kind of corresponding a kind of netcast standard technique agreement of file system, , file system described in the embodiment of the present invention can comprise: the file system that HLS agreement is corresponding, also can comprise file system that SmoothStreaming agreement is corresponding etc., quantity or the type of the file system that the embodiment of the present invention manages the slicing files of support video do not limit, the netcast standard technique agreement that can defer to according to video is specifically selected.
In some feasible embodiments, the determination module 20 of player is identified for the file system of slicing files of managing video according to the listing file of video after, 30 of processing modules can carries and are enabled above-mentioned file system and create local data buffering, concrete, can indicate downloader to download the slicing files of above-mentioned video, and by described file system, the slicing files of described video is stored to memory device.In specific implementation, the downloader described in the embodiment of the present invention specifically can be the built-in download module of player, also can be the download module (, the downloader of player outside in mobile phone) of player outside.In specific implementation, processing module 30 carries of player and enable above-mentioned file system after, 40 of playing modules can read video to be played to above-mentioned file system, and by file system, the Data Position of the video reading is sent to downloader, concrete, the playing module 40 of player reads to file system after the data of video, 30 Data Positions that can current player can be read by file system of processing module send downloader to, and the Data Position that instruction downloader reads according to above-mentioned player is downloaded the slicing files of video to be played.After the Data Position that downloader is indicated according to the processing module 30 of player is downloaded the slicing files of video to be played, the slicing files of the video of download can be sent to file system, by file system, the slicing files of above-mentioned video is stored to memory device, the data of the video that file system can be downloaded downloader manage.
In some feasible embodiments, after downloader downloads the slicing files of video to be played, the slicing files of the video that file system can be downloaded downloader manages, the slicing files of video can be stored to corresponding position in memory device, the data that the playing module 40 of player can read required target location by file system (, the slicing files of target location), playing module 40 reads the slicing files of target location and can the slicing files of above-mentioned target location be resolved and be play afterwards.
In embodiments of the present invention, after player acquires the path of video to be played, addressable network obtains the listing file of above-mentioned video, determine according to listing file the netcast standard technique agreement that the listing file of above-mentioned video is deferred to, and according to the definite file system using of definite netcast standard technique agreement, and then the slicing files of the video of downloader being downloaded by file system manages, the slicing files of video is stored in memory device, player can directly read the data such as the slicing files of target location from file system, and then the slicing files of target location is play.That is, in embodiments of the present invention, player is without the slicing files of foradownloaded video voluntarily, the slicing files of managing video, and the burden while having reduced player plays video, has simplified the realization of player; The embodiment of the present invention can be passed through the slicing files of downloader foradownloaded video simultaneously, and the slicing files of the video of downloader being downloaded by file system is stored to memory device, video can be recorded, direct reading out data from file system in the time that player is wanted displaying video, can realize playing while recording of video, improve user's experience effect of video playback.
Referring to Fig. 5, it is the second example structure schematic diagram of the playback equipment that provides of the embodiment of the present invention.Playback equipment described in the present embodiment, comprising:
Acquisition module 10, for receiving the path of video to be played, obtains the listing file of described video according to described path.
Determination module 50, the netcast standard technique agreement that the listing file of the described video getting for definite described acquisition module is deferred to, determines the file system using according to described netcast standard technique agreement.
Processing module 60, for carry and enable the described file system that described determination module is determined, instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device.
Playing module 40, obtains the slicing files of target location for the slicing files of the described video from described file system storage, and the slicing files of described target location is play.
In some feasible embodiments, above-mentioned determination module, comprising:
The 3rd determining unit 51, the netcast standard technique agreement of determining that for obtain the path of the listing file of described video according to described acquisition module the listing file of described video is deferred to.
The 4th determining unit 52, be the netcast standard technique agreement of specifying by the protocol conversion of described netcast standard technique for the protocol conversion layer by the definite described netcast standard technique agreement of described the 3rd determining unit, and the file system corresponding to netcast standard technique agreement of described appointment be defined as to the file system using.
In some feasible embodiments, above-mentioned processing module 60, specifically for:
The information of the play position of described described video to be played is sent to described downloader, indicate described downloader to start to download the slicing files of described video from described play position.
In some feasible embodiments, the playback equipment described in the present invention is above-mentioned, also comprises:
Abstract module 70, for after described processing module is stored to memory device by described file system by the slicing files of described video, distribute descriptor by the described abstract data for the continuous space of logic of slicing files that are stored in the described video in described memory device, so that follow-up described player reads the slicing files of described video file according to the data in described space by the position of described file system.
In specific implementation, playback equipment described in the embodiment of the present invention specifically can be player, mobile phone, notebook computer etc. and has the equipment of multimedia file or stream media playing function, player described in the embodiment of the present invention can be the player software on the playback equipments such as mobile phone, also can be the player plug-in unit of the browser on playback equipments such as operating in mobile phone etc., be example by the player software taking on mobile phone below, the playback equipment described in the embodiment of the present invention is specifically described.In specific implementation, the playback equipment described in the embodiment of the present invention can be used for the broadcasting of video file, also can be used for the broadcasting of the multimedia files such as audio file.
In some feasible embodiments, can by the player application on mobile phone by user wish play video (, video to be played) path (, URL) send to player, after the acquisition module 10 of player receives the path of video to be played, can, by above-mentioned path (URL) accesses network, obtain the listing file of above-mentioned video according to above-mentioned URL.Concrete, can be by the network data acquisition module of player inside directly according to above-mentioned URL accesses network when acquisition module 10 obtains the listing file of video, obtain corresponding listing file, also the position that can specify from above-mentioned URL by the downloader in mobile phone downloads to player buffering, does not limit at this.Wherein, the information of each slicing files that has comprised above-mentioned video in the listing file of above-mentioned video, specifically can comprise the information such as burst number, burst title or the burst duration of each slicing files, player can be known according to the listing file of above-mentioned video the information of each slicing files of above-mentioned video.In specific implementation, after the acquisition module 10 of player acquires the listing file of video to be played, 50 of determination modules can be determined the netcast standard technique agreement that the listing file of above-mentioned video is deferred to according to the listing file of above-mentioned video, concrete, the 3rd determining unit 51 of determination module 50 can be resolved the listing file of above-mentioned video by the resolver on mobile phone, with the netcast standard technique agreement of determining that the listing file of above-mentioned video is deferred to.In specific implementation, after the 3rd determining unit 51 has determined by resolver the netcast standard technique agreement that the listing file of video to be played defers to, file system corresponding to netcast standard technique agreement that the 4th 52 of determining units can be deferred to the listing file of above-mentioned video is defined as the file system using, and file system corresponding to netcast standard technique agreement that determination module 50 can be deferred to the listing file of above-mentioned video is chosen to be the file system of the slicing files for managing above-mentioned video.In specific implementation, netcast standard technique agreement described in the embodiment of the present invention can comprise: HLS agreement, SmoothStreaming agreement etc., concrete, the netcast standard technique agreement that can defer to due to the listing file of video can comprise multiple, so in order to support better the broadcasting of the video of deferring to different netcast standard technique agreements, can in mobile phone, set multiple file system, every kind of corresponding a kind of netcast standard technique agreement of file system, , file system described in the embodiment of the present invention can comprise: the file system that HLS agreement is corresponding, also can comprise file system that SmoothStreaming agreement is corresponding etc., quantity or the type of the file system that the embodiment of the present invention manages the slicing files of support video do not limit, the netcast standard technique agreement that can defer to according to video is specifically selected.
In some feasible embodiments, the embodiment of the present invention except setting file system corresponding to multiple network playing standard technical protocol in mobile phone, defer to outside the broadcasting of listing file of different netcast standard technique agreements with support, also can, by the conversion of different netcast standard technique agreements, support the broadcasting of the listing file of deferring to different netcast standard technique agreements by same file system.Concrete, after the 3rd determining unit 51 of determination module 50 determines according to the path of the listing file of video to be played the netcast standard technique agreement that the listing file of video defers to, the netcast standard technique protocol conversion that the protocol conversion layer of the netcast standard technique agreement that the 4th 52 of determining units can be deferred to by the listing file of video is deferred to the listing file of above-mentioned video is the netcast standard technique agreement (being netcast standard technique agreement corresponding to file system built-in in mobile phone) of specifying, and by the right file system of netcast standard technique agreement of above-mentioned appointment be defined as use file system (being chosen to be the file system for the slicing files of managing video by the file system of content in mobile phone)., when the netcast standard technique agreement of supporting when the file system on mobile phone is general netcast standard technique agreement, after the 3rd determining unit 51 of determination module 50 has been determined the netcast standard technique agreement that the listing file of video to be played defers to, can pass through the protocol conversion layer of this netcast standard technique agreement self, be the netcast standard technique agreement that in mobile phone, existing file system is supported by this netcast standard technique protocol conversion, the netcast standard technique protocol conversion that the listing file of the video to be played receiving by player is deferred to is general netcast standard technique agreement, file system that the 4th 52 of determining units can be defined as above-mentioned general file system corresponding to netcast standard technique agreement the using file system of the slicing files of managing video (for).For example, in the time having had the file system that realizes support HLS agreement in the system of mobile phone, if when the netcast standard technique agreement that the listing file of the video to be played that player gets is deferred to is SmoothStreaming agreement, can the code stream of SmoothStreaming agreement be converted to the type that file system corresponding to HLS agreement can be identified by the protocol conversion layer of SmoothStreaming agreement, make file system corresponding to existing HLS agreement in mobile phone can support the listing file of above-mentioned video to be played, and then can manage the slicing files of video to be played by file system corresponding to above-mentioned HLS agreement, not only expand the implementation method of multiple network playing standard technical protocol, also expand the listing file of the supported video of existing file system in cell phone system, the user who has improved player plays video experiences, burden while having reduced player plays video.
In some feasible embodiments, the determination module 50 of player is identified for the file system of slicing files of managing video according to the listing file of video after, 60 of processing modules can carries and are enabled above-mentioned file system and create local data buffering, concrete, can indicate downloader to download the slicing files of above-mentioned video, and by described file system, the slicing files of described video is stored to memory device.In specific implementation, the downloader described in the embodiment of the present invention specifically can be the built-in download module of player, also can be the download module (, the downloader of player outside in mobile phone) of player outside.In specific implementation, processing module 60 carries and enable above-mentioned file system after, 40 of playing modules can read video to be played to above-mentioned file system, the Data Position of the video that processing module 60 can read playing module 40 by file system sends to downloader, concrete, playing module 40 reads to file system after the data of video, the Data Position that processing module 60 can read current player by file system sends downloader to, and the Data Position that instruction downloader reads according to above-mentioned player is downloaded the slicing files of video to be played.
In some feasible embodiments, when processing module 60 indicates downloader to download the slicing files of video to be played, also the information of the play position of above-mentioned video to be played directly can be sent to downloader, the play position that instruction downloader is specified from above-mentioned player starts the slicing files of foradownloaded video, wherein, the play position of above-mentioned video can comprise: the start time, starting position, burst number, slicing files title etc., , the start time that downloader can be specified according to player, starting position, burst number, the information such as slicing files title start the slicing files of foradownloaded video.After downloader is downloaded the slicing files of video to be played according to the Data Position of player instruction, the slicing files of the video of download can be sent to file system, by file system, the slicing files of above-mentioned video is stored to memory device, the data of the video that file system can be downloaded downloader manage.In embodiments of the present invention, in the time that network condition is better, downloader can make full use of the network bandwidth and locally buffered space, high-quality slicing files is downloaded in file system in advance, in order to player use, when player Seek to downloaded data time, can directly from local system, obtain data, downloader is without accesses network again, current downloading data.
In some feasible embodiments, after downloader downloads the slicing files of video to be played, the slicing files of the video that file system can be downloaded downloader manages, and the slicing files of video can be stored to corresponding position in memory device.In embodiments of the present invention, when the slicing files of the above-mentioned video that player is downloaded downloader by file system manages, file system can be stored to the slicing files of above-mentioned video in memory device at random, or the slicing files of above-mentioned video is stored to the memory location of specifying in memory device,, file system can be stored to memory location continuous in memory device by the slicing files of video, also the slicing files of video can be stored to discontinuous memory location in memory device.In the time that file system is stored to the slicing files of video in memory device discontinuous memory location, file system is stored to the slicing files of video in memory device after discontinuous memory location, abstract module 70 can distribute descriptor by abstract the slicing files that is stored in the video in the memory device data for the continuous space of logic by the position of file system, is the data in the continuous space of logic by the discontinuous data abstraction of physics.Abstract module 70 is after the data in the continuous space of logic by discontinuous physics in file system data abstraction, the data that player obtains are continuous video files, what be that player obtains is complete video, but not the video slicing of different memory locations, player can be convenient as playing local file, obtains the data of wanting whenever and wherever possible.In embodiments of the present invention, file system specifically can be managing physical disk, the data storage of file system can be the data that are directly stored in the physical location on physical disk, above-mentioned file system also can be a file in the above-mentioned existing file system of managing physical disk, and the data storage of file system can be for being stored in the file system based on file based on alternative document system creation.Wherein, the file system based on file and the difference of listing file are that using method is different, and it is different that player obtains the mode of video file.When player obtains video file by file system, can use the file operation (the such as operation such as fopen (), fread ()) of standard to open a buffer culture, do not need player to realize the management of multifile and repeatedly open multiple slicing files, when player obtains video file by listing file, need the position of multiple slicing files of knowing respectively video, open respectively multiple slicing files of video.In embodiments of the present invention, when multiple slicing files are stored in file system, file layout can be versatile and flexible, can be the form storage with a file, distribute descriptor to carry out association by multiple positions of file system, also can be stored as multiple files, finally be presented as the complete entirety that comprises multiple burst contents.
In specific implementation, after the slicing files of the video that player is downloaded downloader by file system manages and stores, play data that 40 of Mocha coffees can read required target location by file system (, the slicing files of target location), playing module 40 reads the slicing files of target location and can the slicing files of above-mentioned target location be resolved and be play afterwards.
In embodiments of the present invention, after player acquires the path of video to be played, addressable network obtains the listing file of above-mentioned video, determine according to listing file the netcast standard technique agreement that the listing file of above-mentioned video is deferred to, and according to the definite file system using of definite netcast standard technique agreement, and then the slicing files of the video of downloader being downloaded by file system manages, the slicing files of video is stored in memory device, player can directly read the data such as the slicing files of target location from file system, and then the slicing files of target location is play.That is, in embodiments of the present invention, player is without the slicing files of foradownloaded video voluntarily, the slicing files of managing video, and the burden while having reduced player plays video, has simplified the realization of player; The embodiment of the present invention can be passed through the slicing files of downloader foradownloaded video simultaneously, and the slicing files of the video of downloader being downloaded by file system is stored to memory device, video can be recorded, direct reading out data from file system in the time that player is wanted displaying video, can realize playing while recording of video, improve user's experience effect of video playback.The embodiment of the present invention also can network enabled playing standard technical protocol expansion, can simplify the realization of player plays video, downloader also can utilize network state to download the slicing files of high-quality video, can be player higher-quality video file is provided, the user who improves player plays video experiences.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (18)

1. a player method for multimedia file, is characterized in that, comprising:
Player receives the path of video to be played, obtains the listing file of described video according to described path;
Described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines the file system using according to described netcast standard technique agreement;
Described player carry is also enabled described file system, and instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device;
Described player obtains the slicing files of target location from the slicing files of the described video of described file system storage, and the slicing files of described target location is play.
2. the method for claim 1, is characterized in that, described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines comprise the file system using according to described netcast standard technique agreement:
Described player determines according to the path of the listing file that obtains described video the netcast standard technique agreement that the listing file of described video is deferred to;
File system corresponding to described netcast standard technique agreement is defined as to the file system using;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
3. the method for claim 1, is characterized in that, described player is determined the netcast standard technique agreement that the listing file of described video is deferred to, and determines comprise the file system using according to described netcast standard technique agreement:
Described player determines according to the path of the listing file that obtains described video the netcast standard technique agreement that the listing file of described video is deferred to;
Described player is the netcast standard technique agreement of specifying by the protocol conversion of described netcast standard technique by the protocol conversion layer of described netcast standard technique agreement, and the file system corresponding to netcast standard technique agreement of described appointment is defined as to the file system using;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
4. method as claimed in claim 2 or claim 3, is characterized in that, described netcast standard technique agreement, comprising: in HTTP live streaming media HLS agreement, level and smooth streaming SmoothStreaming agreement at least one;
Described file system comprises file system corresponding to described HLS agreement, in file system corresponding to described SmoothStreaming agreement at least one.
5. method as claimed in claim 4, is characterized in that, described instruction downloader is downloaded the slicing files of described video, comprising:
The information of the play position of described described video to be played is sent to described downloader by described player, indicates described downloader to start to download the slicing files of described video from described play position;
Wherein, the information of the play position of described video comprises: at least one information in start time, starting position, burst number, slicing files title.
6. method as claimed in claim 4, is characterized in that, described instruction downloader is downloaded the slicing files of described video, comprising:
Described player reads described video to be played to described file system, and by described file system, the Data Position information of the video reading is sent to described downloader, indicates described downloader to download the slicing files of described video to be played.
7. the method as described in claim 5 or 6, is characterized in that, describedly by described file system, the slicing files of described video is stored to memory device, comprising:
By described file system, the slicing files of described video is stored to the memory location of specifying in described memory device; Or
By described file system, the slicing files of described video is stored to described memory device at random.
8. the method as described in claim 1-7 any one, is characterized in that, described by described file system, the slicing files of described video is stored to memory device after, described method also comprises:
Distribute descriptor by the described abstract data for the continuous space of logic of slicing files that are stored in the described video in described memory device, so that follow-up described player reads the slicing files of described video file according to the data in described space by the position of described file system.
9. method as claimed in claim 8, is characterized in that, described file system is specially managing physical disk, or a file in existing file system on managing physical disk.
10. a playback equipment, is characterized in that, comprising:
Acquisition module, for receiving the path of video to be played, obtains the listing file of described video according to described path;
Determination module, the netcast standard technique agreement that the listing file of the described video getting for definite described acquisition module is deferred to, determines the file system using according to described netcast standard technique agreement;
Processing module, for carry and enable the described file system that described determination module is determined, instruction downloader is downloaded the slicing files of described video, and by described file system, the slicing files of described video is stored to memory device;
Playing module, obtains the slicing files of target location for the slicing files of the described video from described file system storage, and the slicing files of described target location is play.
11. playback equipments as claimed in claim 10, is characterized in that, described determination module, comprising:
The first determining unit, the netcast standard technique agreement of determining that for obtain the path of the listing file of described video according to described acquisition module the listing file of described video is deferred to;
The second determining unit, is defined as the file system using for file system corresponding to described netcast standard technique agreement that described the first determining unit is determined;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
12. playback equipments as claimed in claim 10, is characterized in that, described determination module, comprising:
The 3rd determining unit, the netcast standard technique agreement of determining that for obtain the path of the listing file of described video according to described acquisition module the listing file of described video is deferred to;
The 4th determining unit, be the netcast standard technique agreement of specifying by the protocol conversion of described netcast standard technique for the protocol conversion layer by the definite described netcast standard technique agreement of described the 3rd determining unit, and the file system corresponding to netcast standard technique agreement of described appointment be defined as to the file system using;
Wherein, the file system of described use is specially the file system of the slicing files for managing described video.
13. playback equipments as described in claim 11 or 12, is characterized in that, described netcast standard technique agreement, comprising: in HTTP live streaming media HLS agreement, level and smooth streaming SmoothStreaming agreement at least one;
Described file system comprises file system corresponding to described HLS agreement, in file system corresponding to described SmoothStreaming agreement at least one.
14. playback equipments as claimed in claim 13, is characterized in that, described processing module, specifically for:
The information of the play position of described described video to be played is sent to described downloader, indicate described downloader to start to download the slicing files of described video from described play position;
Wherein, the information of the play position of described video comprises: at least one information in start time, starting position, burst number, slicing files title.
15. playback equipments as claimed in claim 13, is characterized in that, described processing module, specifically for:
Read described video to be played to described file system, and by described file system, the Data Position information of the video reading is sent to described downloader, indicate described downloader to download the slicing files of described video to be played.
16. playback equipments as described in claims 14 or 15, is characterized in that, described processing module is stored to memory device by described file system by the slicing files of described video, comprising:
By described file system, the slicing files of described video is stored to the memory location of specifying in described memory device; Or
By described file system, the slicing files of described video is stored to described memory device at random.
17. methods as described in claim 10-16 any one, is characterized in that, described playback equipment, also comprises:
Abstract module, for after described processing module is stored to memory device by described file system by the slicing files of described video, distribute descriptor by the described abstract data for the continuous space of logic of slicing files that are stored in the described video in described memory device, so that follow-up described player reads the slicing files of described video file according to the data in described space by the position of described file system.
18. playback equipments as claimed in claim 17, is characterized in that, described file system is specially managing physical disk, or a file in existing file system on managing physical disk.
CN201410159145.6A 2014-04-18 2014-04-18 Playing method and equipment of multi-media files Active CN103956175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410159145.6A CN103956175B (en) 2014-04-18 2014-04-18 Playing method and equipment of multi-media files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410159145.6A CN103956175B (en) 2014-04-18 2014-04-18 Playing method and equipment of multi-media files

Publications (2)

Publication Number Publication Date
CN103956175A true CN103956175A (en) 2014-07-30
CN103956175B CN103956175B (en) 2017-04-26

Family

ID=51333441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410159145.6A Active CN103956175B (en) 2014-04-18 2014-04-18 Playing method and equipment of multi-media files

Country Status (1)

Country Link
CN (1) CN103956175B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780455A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Digital file play control method and mobile terminal
CN105812893A (en) * 2014-12-29 2016-07-27 深圳Tcl数字技术有限公司 Method and system for playing page video
CN106550263A (en) * 2015-09-16 2017-03-29 深圳市腾讯计算机系统有限公司 Media playing method and device
CN106789956A (en) * 2016-12-01 2017-05-31 武汉市烽视威科技有限公司 A kind of P2P order methods and system based on HLS
CN107071548A (en) * 2017-04-20 2017-08-18 北京搜狐新媒体信息技术有限公司 A kind of method for processing video frequency and system
CN107888949A (en) * 2016-09-29 2018-04-06 法乐第(北京)网络科技有限公司 A kind of method and apparatus for downloading audio-video document in advance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196781A (en) * 2003-12-30 2005-07-21 Samsung Electronics Co Ltd Method for processing file of sub-memory in portable terminal equipment
CN102282825A (en) * 2010-12-14 2011-12-14 华为技术有限公司 Method and device for streaming media to request address mapping and cache nodes in content delivery network
CN102769787A (en) * 2012-08-02 2012-11-07 中兴通讯股份有限公司 Time shifting method and time shifting equipment of mobile phone terminal channel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005196781A (en) * 2003-12-30 2005-07-21 Samsung Electronics Co Ltd Method for processing file of sub-memory in portable terminal equipment
CN102282825A (en) * 2010-12-14 2011-12-14 华为技术有限公司 Method and device for streaming media to request address mapping and cache nodes in content delivery network
CN102769787A (en) * 2012-08-02 2012-11-07 中兴通讯股份有限公司 Time shifting method and time shifting equipment of mobile phone terminal channel

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812893A (en) * 2014-12-29 2016-07-27 深圳Tcl数字技术有限公司 Method and system for playing page video
CN105812893B (en) * 2014-12-29 2019-07-26 深圳Tcl数字技术有限公司 Method and system for playing page video
CN104780455A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Digital file play control method and mobile terminal
CN104780455B (en) * 2015-03-20 2017-08-25 广东欧珀移动通信有限公司 A kind of digital document control method for playing back and mobile terminal
CN106550263A (en) * 2015-09-16 2017-03-29 深圳市腾讯计算机系统有限公司 Media playing method and device
CN107888949A (en) * 2016-09-29 2018-04-06 法乐第(北京)网络科技有限公司 A kind of method and apparatus for downloading audio-video document in advance
CN106789956A (en) * 2016-12-01 2017-05-31 武汉市烽视威科技有限公司 A kind of P2P order methods and system based on HLS
CN106789956B (en) * 2016-12-01 2019-10-25 武汉市烽视威科技有限公司 A kind of P2P order method and system based on HLS
CN107071548A (en) * 2017-04-20 2017-08-18 北京搜狐新媒体信息技术有限公司 A kind of method for processing video frequency and system

Also Published As

Publication number Publication date
CN103956175B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN103956175A (en) Playing method and equipment of multi-media files
CN102130936B (en) Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
JP6088439B2 (en) Apparatus and method for storing and playing back content in multimedia streaming system
JP5088550B2 (en) Electronic device, reproduction method and program
CN102594915B (en) Browser-based media play system and method
CN104244079A (en) Video download method and device
CN105025345A (en) Method and device for recording live program
CN103546774A (en) Method and system for realizing seamless access to media file
CN110401858B (en) Video playing method and device, electronic equipment and storage medium
CN102761524A (en) Steaming media storage and playing method and corresponding system
CN105100912A (en) Streaming media processing method and streaming media processing apparatus
CN103065662A (en) Method and system for continuous broadcasting of media resources in device
US20100191755A1 (en) Method and apparatus for managing contents by using content tag
CN103716573A (en) Video playback method and device
CN101505395A (en) System and method for sharing data of digital television receiving terminal
CN103648021B (en) The method that network video file is played from USB storage device
CN101459976B (en) Method, equipment and system for stream media playing control
CN103402137A (en) Application push method, mobile terminal and digital television (TV) receiving end
CN105263035A (en) Audio and video on demand method and system
CN111869225B (en) Information processing apparatus, information processing method, and non-transitory computer readable storage medium
CN101926170A (en) Content recording control method for peers, and device therefor
CN107124646B (en) Mobile intelligent terminal video recording system and method thereof
KR101947186B1 (en) Content reproduction method and system
KR20150110858A (en) An advertisement displaying method and a video player
JP2006067255A (en) System, server and program for automatic video recording of television broadcast program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant