CN102761524B - A kind of Streaming Media storage, player method and corresponding system - Google Patents

A kind of Streaming Media storage, player method and corresponding system Download PDF

Info

Publication number
CN102761524B
CN102761524B CN201110107459.8A CN201110107459A CN102761524B CN 102761524 B CN102761524 B CN 102761524B CN 201110107459 A CN201110107459 A CN 201110107459A CN 102761524 B CN102761524 B CN 102761524B
Authority
CN
China
Prior art keywords
sub
segmentation
data frame
information
segment index
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.)
Expired - Fee Related
Application number
CN201110107459.8A
Other languages
Chinese (zh)
Other versions
CN102761524A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110107459.8A priority Critical patent/CN102761524B/en
Priority to PCT/CN2012/072606 priority patent/WO2012146098A1/en
Publication of CN102761524A publication Critical patent/CN102761524A/en
Application granted granted Critical
Publication of CN102761524B publication Critical patent/CN102761524B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of storage of Streaming Media, player method and corresponding system, the storage and broadcasting of Streaming Media are realized based on DVB Tier, user is obtained when the broadcasting related to special-effect mode is carried out and expect consistent effect.The storage method includes:Streaming media server is segmented when media content is preserved to media content, and each segmentation includes one or more sub- segmentations, and streaming media server is every height segmentation sub- segment index atom of generation, and sub- segment index atom includes:Number of samples information, sample offset information, sampling length information and sampling time information.The storage system includes sectioning and sub- segment index atom generation device.Using the inventive method, the data frame starting and ending position for needing to play can be quickly navigated to, both save network traffics, the stand-by period in user's playing process is greatly reduced again, improve the experience of user.

Description

A kind of Streaming Media storage, player method and corresponding system
Technical field
The present invention relates to MultiMedia Field, particularly a kind of Streaming Media storage, player method and corresponding system.
Background technology
Traditional streaming media service is based on RTSP (Real Time Streaming Protocol, real-time streaming transport association View)/RTP (Real-time Transport Protocol, RTP).But because RTSP/RTP is passing through anti- The shortcomings of wall with flues has problem, develops based on HTTP (HyperText Transfer Protocol, hypertext biography for nearly 2 years Defeated agreement) streaming media service, i.e. HTTP Streaming (stream) business be provided.In MPEG (Moving Pictures Experts Group, dynamic image expert group) it is referred to as DASH (Dynamic Adaptive Streaming in normal structure Over HTTP, the dynamic self-adapting stream based on HTTP).In recent years, broadcasting service and mobile service start gradually Fusion, different content of multimedia and business are in different transmission over networks.For the MPEG2-TS (MPEG2 transmission stream) for broadcasting On the internet using also relatively broad.Equally, MPEG2-TS is also employed in DASH business.
Because http protocol substantially belongs to text transfer protocol, real-time streaming media is not appropriate for.For the ease of Direct playing and playback (for time-shift service) and the function of being seen when downloading are realized, is generally physically or logically being divided into programme content Many subsections, as described in Figure 1.Media representation describes (MPD, Media Presentation Description, Huo Chengjie Mesh concordance list) information such as index of the program index table comprising partitioning, one or more points of each downloads of media file Section is played out, and then carries out decoding broadcasting to the data downloaded.But for fast forwarding and fast rewinding function, it is common practice to according to MPD downloads corresponding segmentation, then plays out to finding corresponding frame in segmental file again.So client will be downloaded very Unnecessary data, have a strong impact on the fluency of broadcasting and take the network bandwidth.
In current technology, conventional way is to define segment index atom, when special-effect mode is done, for example, is existed When F.F., client removes access critical frame according to the address information of the key frame recorded in segmented index, fast so as to reach The effect entered.But this method is exactly that F.F. multiple does not conform to the actual conditions in the presence of a fatal defect, especially in key frame In the case of sparse, F.F. effect is had than larger gap with desired effects.
A kind of new DVB Tier framework (Digital defined in the Appendix D of ETSI 101154 Video Broadcasting Tier framework, DVB rank framework).Will be each when Video coding Individual data frame is divided into multiple tier (rank) according to dependence situation, and data frame tier high relies on the low data frames of tier.But Under the framework of DVB Tier, how the broadcasting related to special-effect mode is carried out according to tier frameworks and do not defined also.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of Streaming Media storage, player method and corresponding system, based on DVB Tier realizes the storage and broadcasting of Streaming Media, user is obtained when the broadcasting related to special-effect mode is carried out and expects one The effect of cause.
In order to solve the above technical problems, the invention provides a kind of Streaming Media storage method, including:
Streaming media server is segmented when media content is preserved to the media content, and each segmentation includes one Or many height segmentations, the streaming media server is every height segmentation sub- segment index atom of generation, and preserves the sub- segmentation Index atom, the sub- segment index atom includes:Number of samples information, sample offset information, sampling length information and adopt Sample temporal information.
Further, in the sub- segment index atom:
The number of samples information, the number for representing the sample data frames that each rank is indexed in current son segmentation;
The sample offset information, the storage starting for representing each sample data frames being indexed in current son segmentation Skew of the address relative to the current sub- segmentation first address;
The sampling length information, the storage for representing each sample data frames being indexed in current son segmentation is long Degree;
The sampling time information, for representing each is indexed in current son segmentation sample data frames relative to described The time migration of first sample data frames in current son segmentation.
Further, digit identification information is also included in the sub- segment index atom, it is used to represent that sample offset is believed Breath and the current required digit of sampling length information.
In order to solve the above technical problems, present invention also offers a kind of flow media playing method, including:
When in any one in following scene, terminal is according to the sub- segment index atom downloaded from streaming media server Content downloading data frame, and play the data frame of download:Enter the scene of special-effect mode from normal play mode, from stunt mould Formula enters the scene of normal play mode, the scene of demand mode is positioned into time shift;The sub- segment index atom includes:Adopt Sample number information, sample offset information, sampling length information and sampling time information.
Further, the terminal from normal play mode enter special-effect mode in when, the terminal according to from flow matchmaker The step of content downloading data frame of the sub- segment index atom that body server is downloaded, includes:
Terminal is received into after the order of special-effect mode, determines initial data frame;
The terminal describes the address information of segmented index in (MPD) to the stream matchmaker according to the advance media representation downloaded Son where body server request downloads the initial data frame is segmented the affiliated segmented index being segmented, from the segmented index Obtain the sub- segment index atom of the sub- segmentation;
The terminal determines the highest level of data frame to be played in the sub- segmentation under current special-effect mode, and traversal is described Sub- segment index atom, search after the initial data frame, and rank less than the highest level be indexed adopt Sample data frame, according to the sample data frames being indexed for finding sampling time information progressive download described in find by rope The sample data frames drawn.
Further, the initial data frame is first data frame after current data frame and that rank is minimum.
Further, the terminal from special-effect mode enter normal play mode in when, the terminal according to from flow matchmaker The step of content downloading data frame of the sub- segment index atom that body server is downloaded, includes:
After the terminal receives the order for exiting special-effect mode, in sub- segment index atom search current data frame it The minimum sample data frames being indexed of rear rank, what is be indexed according to record in the sub- segment index atom adopts The sample offset information and sampling length information of sample data frame, to streaming media server request download data frame and its afterwards Data frame.
Further, the terminal enter time shift positioning demand mode scene in when, the terminal according to from flow matchmaker The step of content downloading data frame of the sub- segment index atom that body server is downloaded, includes:
Terminal is received into after the order of time shift positioning demand mode, and time correspondence is determined according to the time shift program request time Son segmentation, the address information according to segmented index in advance media representation description (MPD) downloaded is to the streaming media service The segmented index of the segmentation is downloaded in device request, and the sub- segment index atom of the sub- segmentation is obtained from the segmented index;
Travel through the sub- segment index atom, search that after the time shift program request time and rank is minimum and be indexed Sample data frames, according to the sample offset information and sampling length of the sample data frames recorded in the sub- segment index atom Information, data frame to streaming media server request download sample data frames and its afterwards.
In order to solve the above technical problems, present invention also offers a kind of Storage System for Stream Media, including sectioning and Sub- segment index atom generation device, wherein:
The sectioning, for when media content is preserved, being segmented to the media content, each segmentation includes One or more sub- segmentations;
The sub- segment index atom generation device, for being every height segmentation sub- segment index atom of generation, and preserves The sub- segment index atom, the sub- segment index atom includes:Number of samples information, sample offset information, sampling length Information and sampling time information, wherein:
The number of samples information, the number for representing the sample data frames that each rank is indexed in current son segmentation;
The sample offset information, the storage starting for representing each sample data frames being indexed in current son segmentation Skew of the address relative to the current sub- segmentation first address;
The sampling length information, the storage for representing each sample data frames being indexed in current son segmentation is long Degree;
The sampling time information, for representing each is indexed in current son segmentation sample data frames relative to described The time migration of first sample data frames in current son segmentation.
Further, digit identification information is also included in the sub- segment index atom, it is used to represent that sample offset is believed Breath and the current required digit of sampling length information.
In order to solve the above technical problems, present invention also offers a kind of stream media play system, positioned at end side, including under Carry and put and playing device, wherein:
The download apparatus, for the carrier segment index atom under streaming media server, and for the end When in any one in following scene, according to the content downloading data frame of the sub- segment index atom downloaded:From normally broadcasting Mode playback enters the scene of special-effect mode, the scene of normal play mode is entered from special-effect mode, program request mould is positioned into time shift The scene of formula;The sub- segment index atom includes:Number of samples information, sample offset information, sampling length information and adopt Sample temporal information;
The playing device, for and play the data frame of download.
Further, the download apparatus includes determining that initial data frame module, the first sub- segment index atom obtain mould Block and downloading data frame module, wherein:
The determination initial data frame module, special-effect mode is entered for being in from normal play mode in the terminal During scene, receiving into after the order of special-effect mode, determining initial data frame;
The first sub- segment index atom acquisition module, for according in media representation description (MPD) downloaded in advance Son where the address information of segmented index downloads from the initial data frame to streaming media server request is segmented affiliated segmentation Segmented index, obtains the sub- segment index atom of the sub- segmentation from the segmented index;
The downloading data frame module, for determining under current special-effect mode that data frame to be played is most in the sub- segmentation It is high-level, the sub- segment index atom is traveled through, search after the initial data frame, and rank is less than the superlative degree Other sample data frames being indexed, and it is suitable for the sampling time information according to the sample data frames being indexed for finding The sample data frames being indexed found described in sequence download.
Further, the initial data frame is first data frame after current data frame and that rank is minimum.
Further, the download apparatus includes searching modul, the first download module, wherein:
The searching modul, for being in the terminal during scene from special-effect mode into normal play mode, After receiving the order for exiting special-effect mode, the minimum quilt of rank after current data frame is searched in the sub- segment index atom The sample data frames of index;
First download module, for the hits being indexed according to record in the sub- segment index atom According to the sample offset information and sampling length information of frame, the sampling being indexed for finding is downloaded to streaming media server request Data frame and its data frame afterwards.
Further, the download apparatus includes the second sub- segment index atom acquisition module, the second download module, its In:
The second sub- segment index atom acquisition module, for being in the field that time shift positions demand mode in the terminal When in scape, receiving into after the order of time shift positioning demand mode, determining that the time is corresponding according to the time shift program request time Son segmentation, the address information according to segmented index in advance media representation description (MPD) downloaded is to the streaming media server The segmented index of the segmentation is downloaded in request, and the sub- segment index atom of the sub- segmentation is obtained from the segmented index;
Second download module, for traveling through the sub- segment index atom, search it is after the time shift program request time and The minimum sample data frames being indexed of rank, according to the sampling of the sample data frames recorded in the sub- segment index atom Offset information and sampling length information, data to streaming media server request download sample data frames and its afterwards Frame.
Using embodiment of the present invention methods described, grasped for F.F., rewind of TS (transport stream) file etc. under DASH scenes Make, the whole segmentation without downloading file, and only download the data frame for needing to play, i.e., can quickly navigate to needs what is played Data frame starting and ending position, both saves network traffics, and the stand-by period in user's playing process is greatly reduced again, while Nor affect between various special-effect modes, and taking over seamlessly between normal mode and special-effect mode, greatly improve user Experience.
Brief description of the drawings
Fig. 1 is that F.F. takes frame schematic diagram under tier frameworks;
Fig. 2 is the flow chart in the embodiment of the present invention using the ssix atoms at suitable temperatures F.F.s for defining of the invention;
Fig. 3 is the flow chart that the embodiment of the present invention turns normal play using the ssix atoms at suitable temperatures F.F.s of present invention definition;
Fig. 4 is flow chart of the embodiment of the present invention using the ssix atoms at suitable temperatures time shift positioning playings of present invention definition.
Specific embodiment
In order to solve the above-mentioned technical problem, invention defines sub- segment index atom, including:Number of samples information, adopt Sample offset information, sampling length information and sampling time information, wherein:
1) number of samples information, the number for representing the sample data frames that each rank is indexed in current son segmentation;
2) sample offset information, the storage starting point for representing each sample data frames being indexed in current son segmentation Skew of the location relative to current sub- segmentation first address;
3) sampling length information, the memory length for representing each sample data frames being indexed in current son segmentation;
4) sampling time information, for representing each is indexed in current son segmentation sample data frames relative to current son The time migration of first sample data frames in segmentation.
By providing number of samples information, streaming media server can be that every frame setting index can also be every several frame index One frame, implements more flexibly, particularly when several frames one are indexed, it is possible to reduce expense, such as one 24fps, the electricity of 144 minutes Shadow, complete special-effect mode index (indexes of an i.e. all frames) expense is 1.6Mbytes, if every frame of 4 frame index one, will Reduce the expense of 406Kb.
In addition to aforementioned four information, digit identification information, mark letter can also be included in the sub- segment index atom Cease for representing sample offset information and the current required digit of sampling length information.The digit identification information can be easily Bit number (16 or 32) shared by control sample offset and sampling length, can further reduce the network bandwidth.
Generally, streaming media server is segmented when media content is preserved to the media content, and each segmentation includes One or more sub- segmentations, the streaming media server is every height segmentation sub- segment index atom of generation, and preserves the son point Segment index atom, the sub- segment index atom includes:Number of samples information, sample offset information, sampling length information and adopt Sample temporal information.Preferably, may also include digit identification information in the sub- segment index atom.
Above-mentioned media content is to be supplied to streaming media server by content supplier.
It is any one in following scene after streaming media server is generated and preserves the sub- segment index atom of media content When in kind, terminal plays download according to the content downloading data frame of the sub- segment index atom downloaded from streaming media server Data frame:From normal play mode into the scene of special-effect mode, from special-effect mode into the scene of normal play mode, enter Enter the scene that time shift anchor point broadcasts pattern.
● terminal enters when in special-effect mode from normal play mode, specifically includes:
A1, terminal receives the order of entrance special-effect mode (such as:Fast forward and fast reverse) after, determine initial data frame;
A2, according to the address information of segmented index in advance media representation description (MPD) downloaded, (such as URL believes terminal Breath) to the segmented index being segmented belonging to son segmentation where the streaming media server request download initial data frame, from institute State the sub- segment index atom that the sub- segmentation is obtained in segmented index;
Initial data frame is preferably first data frame after current data frame and that rank is minimum, because rank is minimum Data frame is independent of any other data frame.
A3, the terminal determines the highest level of data frame to be played in the sub- segmentation under current special-effect mode, traversal The sub- segment index atom, searches after the initial data frame, and rank being indexed less than the highest level Sample data frames, according to the sample data frames being indexed for finding sampling time information progressive download described in find The sample data frames being indexed.
When determining the highest level of data frame to be played, being the parameter according to current special-effect mode determines, specifically, The highest level of frame to be played in the true stator-sectional of multiple according to fast forward and fast reverse.
● terminal enters when in normal play mode from special-effect mode, specifically includes:
After the terminal receives the order for exiting special-effect mode, in sub- segment index atom search current data frame it The minimum sample data frames being indexed of rear rank, what is be indexed according to record in the sub- segment index atom adopts The sample offset information and sampling length information of sample data frame, to streaming media server request download data frame and its afterwards Data frame.
Current data frame refers to the data frame for receiving and being played when exiting trick mode commands.
Above-mentioned sub- segment index atom is that the terminal is downloaded in special-effect mode.
Preferably, terminal can also continue to current special effects mode play in search procedure, that is, keep fast forward and fast reverse State.
● terminal enters when in time shift positioning demand mode, specifically includes:
C1, terminal is received into after the order of time shift positioning demand mode, and the time is determined according to the time shift program request time The corresponding sub- segmentation of point, the address information according to segmented index in advance media representation description (MPD) downloaded is to the stream matchmaker Body server request downloads the segmented index of segmentation where the sub- segmentation, and the sub- segmentation is obtained from the segmented index Sub- segment index atom;
Determine that the time point corresponding segmentation includes according to the time shift program request time:Calculate when representing of time shift program request time Between (relative time), found according to MPD where this represents the time son segmentation.
C2, travels through the sub- segment index atom, searches that after the time shift program request time and rank is minimum by rope The sample data frames drawn, sample offset information and sampling according to the sample data frames recorded in the sub- segment index atom Length information, data frame to streaming media server request download sample data frames and its afterwards.
It is right below in conjunction with the accompanying drawings and the specific embodiments to make the object, technical solutions and advantages of the present invention clearer The present invention is described in detail.
Embodiment 1
The present embodiment using using MPEG2-TS as being said as a example by the media file storage format on streaming media server Bright, streaming media server carries out logic section to media file, each partitioning correspondence one segmented index, partitioning and Segmented index has URL in MPD, i.e., can have access to each by MPD is segmented and its segmented index.Included in segmented index Sidx box (segment index atom) and ssix box (sub- segment index atom).
In the present embodiment, ssix atoms are defined as follows:
Wherein, bolded section is new content, and the semantic interpretation of new field is as follows:
num_samples:That is number of samples information, it is indicated that belong to the number of the sample data frames being indexed of rank j;
bytes_in_unit:That is digit identification information, it is indicated that skew and length are represented with 16 or with 32 tables Show, its value is units of bytes, in this implementation, as units of bytes=0, represent 32 tables of skew and length Show;
Preferably, the digit that the sample_offset_short takes can also be extended by bytes_in_unit, can It is calculated by units of units of bytes, i.e., the digit that sample offset information takes is equal to sample_ offset_short*bytes_in_unit;Similarly, the digit that sample offset length information takes is equal to sample_size_ short*bytes_in_unit。
sample_offset:The sample offset information represented with 32, it is indicated that from be indexed sample data frames S [i, j, K] skew of the storage initial address relative to sub- segmentation first address;
sample_size:The sampling length information represented with 32, it is indicated that the sample data frames S's [i, j, k] being indexed Memory length, i.e. size shared by the sampled data content frame.
sample_offset_short:The sample offset information represented with 16, it is indicated that the sample data frames S being indexed Skew of the storage initial address of [i, j, k] relative to sub- segmentation i first address
sample_size_short:The sampling length information represented with 16, it is indicated that be indexed sample data frames S [i, J, k] memory length;
sample_time:That is sampling time information, it is indicated that the sample data frames S [i, j, k] being indexed is relative to sub- segmentation The time migration of first sample data frames in j, the unit of timebase of the time migration with storage in sidx atoms is consistent.
Embodiment 2
The present embodiment is the example entered in special-effect mode from normal play mode, is said by F.F. of special-effect mode It is bright.As described in Figure 2, including:
Step 201, terminal receives the order into fast-forward mode, and all data frames to be played are determined according to F.F. multiple Highest level;
Referring to Fig. 1, the highest level in data frame to be played can be determined according to F.F. multiple.
Step 202, continues normal play until being played to the data frame S1 of lowest level, the son point where obtaining the S1 frames Segmentation belonging to section;
Step 203, downloads the corresponding segmented index of the segmentation, parses the index and obtains sub- segment index atom;
Step 204, judges whether the later all data frames less than highest level of S1 frames are downloaded in the sub- segmentation Terminal, if it is, performing step 208, otherwise performs step 205;
Step 205, the sequencing according to the sampling time obtains the offset information and length information of next frame data;
Step 206, the frame is asked according to the offset information and length information terminal that obtain to streaming media server;
Step 207, decoding terminals simultaneously show the frame, return to step 204;
Step 208, moves on to next segmentation for meeting F.F. multiple, return to step 203.
Lookup to data frame can be accelerated using the above method.Above-mentioned flow is only a kind of citing, people in the art Member can provide other and realize flow according to present inventive concept.
Embodiment 3
The present embodiment is the example entered in normal play mode from special-effect mode, is said by F.F. of special-effect mode It is bright.As described in Figure 3, including:
Step 301, receive the order that F.F. turns normal play;
Last data frame when step 302, acquisition F.F.;
Whether step 303, the rank for judging the frame are 1, if it is, jumping to 305, otherwise, jump to step 304;
Step 304, obtains the information of next sample data frames being indexed in sub- segment index atom;
Step 305, obtains the offset information and length information of the frame in sub- segment index atom;
Step 306, all data frames of the segmentation for asking (to include the frame) after the frame to streaming media server;
Step 307, the data frame that terminal normal play is downloaded;
Step 308, during next segmentation, downloads all of segment data;
Step 309, normal play.
Above-mentioned flow is only a kind of citing, and those skilled in the art can provide other and realize flow according to present inventive concept.
Embodiment 4
The present embodiment is into the example in time shift positioning demand mode.As described in Figure 4.Live in this example is only regarded Frequency flows, i.e., only one of which track in code stream.Including:
Step 401, receive into time shift positioning demand mode order after, obtain the time shift program request time;
Step 402, judge whether the time shift program request time is UTC (universal time), if it is, step 404 is jumped to, Otherwise jump to step 403;
Step 403, the time shift program request time is switched into UTC time;
Step 404, since MPD obtain TS files UTC;
Step 405, calculate the time shift program request time represents time, i.e. time migration;
Step 406, the starting sample time of each segmentation recorded in traversal MPD, calculates the broadcast point falls at which In segmentation;
Step 407, obtains the URL of the corresponding segmented index of the segmentation from MPD, and downloads the segmented index, from segmentation Sub- segment index atom is obtained in index;
Step 408, travels through sub- segment index atom, find rank for 1 and reproduction time be more than or equal to time shift program request when Between data frame;
Step 409, obtains the offset information and length information of the frame in sub- segment index atom, after downloading the frame (including the frame) all of data frame;
Step 410, the data that normal play is downloaded;
Step 411, next segmentation is downloaded whole segment data and switchs to normal play flow.
Above-mentioned flow is only a kind of citing, and those skilled in the art can provide other and realize flow according to present inventive concept.
The present invention is applied to local broadcasting, online free online multimedium file carries out the various scenes such as multiple-limb broadcasting.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program Related hardware is completed, and described program can be stored in computer-readable recording medium, such as read-only storage, disk or CD Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly Ground, each module/unit in above-described embodiment can be realized in the form of hardware, it would however also be possible to employ the shape of software function module Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly, the present invention can also have other various embodiments, ripe in the case of without departing substantially from spirit of the invention and its essence Know those skilled in the art and work as and various corresponding changes and deformation, but these corresponding changes and change can be made according to the present invention Shape should all belong to the protection domain of appended claims of the invention.

Claims (10)

1. a kind of flow media playing method, is applied to the dynamic self-adapting stream DASH based on HTTP, including:
Streaming media server is segmented when media content is preserved to the media content, and each segmentation includes one or many Height is segmented, and the streaming media server is every height segmentation sub- segment index atom of generation, and preserves the sub- segmented index Atom;When in any one in following scene, terminal is according to the sub- segment index atom downloaded from streaming media server Content downloading data frame, and play the data frame of download:Enter the scene of special-effect mode from normal play mode, from special-effect mode Scene into normal play mode, the scene into time shift positioning demand mode;The sub- segment index atom includes:Sampling Number information, sample offset information, sampling length information, sampling time information and digit identification information;
The number of samples information, the number for representing the sample data frames that each rank is indexed in current son segmentation;
The sample offset information, the storage initial address for representing each sample data frames being indexed in current son segmentation Relative to the skew of the current sub- segmentation first address;
The sampling length information, the memory length for representing each sample data frames being indexed in current son segmentation;
The sampling time information, it is current relative to described for representing the sample data frames that each is indexed in current son segmentation The time migration of first sample data frames in son segmentation;
The digit identification information, for represent sample offset information and sampling length information it is current needed for digit.
2. the method for claim 1, it is characterised in that
, when entering in special-effect mode from normal play mode, the terminal is according to downloading from streaming media server for the terminal The step of content downloading data frame of sub- segment index atom, includes:
Terminal is received into after the order of special-effect mode, determines initial data frame;
The terminal describes the address information of segmented index in MPD to the streaming media service according to the advance media representation downloaded The segmented index of segmentation, obtains institute from the segmented index belonging to son segmentation where the device request download initial data frame State the sub- segment index atom of sub- segmentation;
The terminal determines the highest level of data frame to be played in the sub- segmentation under current special-effect mode, travels through the son point Segment index atom, searches after the initial data frame, and rank is less than the hits being indexed of the highest level According to frame, according to the sample data frames being indexed for finding sampling time information progressive download described in find be indexed Sample data frames.
3. method as claimed in claim 2, it is characterised in that
The initial data frame is first data frame after current data frame and that rank is minimum.
4. the method for claim 1, it is characterised in that
, when entering in normal play mode from special-effect mode, the terminal is according to downloading from streaming media server for the terminal The step of content downloading data frame of sub- segment index atom, includes:
After the terminal receives the order for exiting special-effect mode, after lookup current data frame in sub- segment index atom The minimum sample data frames being indexed of rank, the hits being indexed according to record in the sub- segment index atom According to the sample offset information and sampling length information of frame, data to streaming media server request download data frame and its afterwards Frame.
5. the method for claim 1, it is characterised in that
When the terminal is in the scene for entering time shift positioning demand mode, the terminal is according to downloading from streaming media server The step of content downloading data frame of sub- segment index atom, includes:
Terminal is received into after the order of time shift positioning demand mode, and the time corresponding son is determined according to the time shift program request time Segmentation, asks according to the address information that the advance media representation downloaded describes segmented index in MPD to the streaming media server The segmented index of the segmentation is downloaded, the sub- segment index atom of the sub- segmentation is obtained from the segmented index;
Travel through the sub- segment index atom, the sampling being indexed after the lookup time shift program request time and that rank is minimum Data frame, sample offset information and the sampling length letter according to the sample data frames recorded in the sub- segment index atom Breath, data frame to streaming media server request download sample data frames and its afterwards.
6. a kind of stream media play system, is applied to the dynamic self-adapting stream DASH based on HTTP, including segmentation Device, sub- segment index atom generation device, download apparatus and playing device, wherein:
The sectioning, for when media content is preserved, being segmented to the media content, each segmentation includes one Or many height segmentations;
The sub- segment index atom generation device, for being every height segmentation sub- segment index atom of generation, and preserves described Sub- segment index atom;
The download apparatus, for the carrier segment index atom under streaming media server, and is in following field for terminal When in any one in scape, according to the content downloading data frame of the sub- segment index atom downloaded:Enter from normal play mode The scene for entering special-effect mode, the scene that normal play mode is entered from special-effect mode, the scene that demand mode is positioned into time shift; The sub- segment index atom includes:Number of samples information, sample offset information, sampling length information, sampling time information with And digit identification information;
The playing device, for and play the data frame of download;The number of samples information, in representing that current son is segmented The number of the sample data frames that each rank is indexed;
The sample offset information, the storage initial address for representing each sample data frames being indexed in current son segmentation Relative to the skew of the current sub- segmentation first address;
The sampling length information, the memory length for representing each sample data frames being indexed in current son segmentation;
The sampling time information, it is current relative to described for representing the sample data frames that each is indexed in current son segmentation The time migration of first sample data frames in son segmentation;
Digit identification information, for represent sample offset information and sampling length information it is current needed for digit.
7. system as claimed in claim 6, it is characterised in that
The download apparatus includes determining initial data frame module, the first sub- segment index atom acquisition module and downloading data Frame module, wherein:
The determination initial data frame module, the scene of special-effect mode is entered for being in the terminal from normal play mode When, receiving into after the order of special-effect mode, determine initial data frame;
The first sub- segment index atom acquisition module, for describing to be segmented rope in MPD according to the media representation downloaded in advance The address information drawn is segmented the segmentation rope of affiliated segmentation to the son where the streaming media server request download initial data frame Draw, the sub- segment index atom of the sub- segmentation is obtained from the segmented index;
The downloading data frame module, the superlative degree for determining data frame to be played in the sub- segmentation under current special-effect mode Not, the sub- segment index atom is traveled through, is searched after the initial data frame, and rank is less than the highest level The sample data frames being indexed, and under the sampling time information order according to the sample data frames being indexed for finding The sample data frames being indexed found described in carrying.
8. system as claimed in claim 6, it is characterised in that
Initial data frame is first data frame after current data frame and that rank is minimum.
9. system as claimed in claim 6, it is characterised in that
The download apparatus includes searching modul, the first download module, wherein:
The searching modul, for when the terminal is in and enters the scene of normal play mode from special-effect mode, receiving After to the order for exiting special-effect mode, search that the rank after current data frame is minimum to be indexed in the sub- segment index atom Sample data frames;
First download module, for the sample data frames being indexed according to record in the sub- segment index atom Sample offset information and sampling length information, download the sampled data being indexed that finds to streaming media server request Frame and its data frame afterwards.
10. system as claimed in claim 6, it is characterised in that
The download apparatus includes the second sub- segment index atom acquisition module, the second download module, wherein:
The second sub- segment index atom acquisition module, for being in the scene of time shift positioning demand mode in the terminal When, receiving into after the order of time shift positioning demand mode, the time corresponding son point is determined according to the time shift program request time Section, under the address information for describing segmented index in MPD according to the advance media representation downloaded is asked to the streaming media server The segmented index of the segmentation is carried, the sub- segment index atom of the sub- segmentation is obtained from the segmented index;
Second download module, for traveling through the sub- segment index atom, after the lookup time shift program request time and rank The minimum sample data frames being indexed, according to the sample offset of the sample data frames recorded in the sub- segment index atom Information and sampling length information, data frame to streaming media server request download sample data frames and its afterwards.
CN201110107459.8A 2011-04-27 2011-04-27 A kind of Streaming Media storage, player method and corresponding system Expired - Fee Related CN102761524B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110107459.8A CN102761524B (en) 2011-04-27 2011-04-27 A kind of Streaming Media storage, player method and corresponding system
PCT/CN2012/072606 WO2012146098A1 (en) 2011-04-27 2012-03-20 Method and corresponding system for storing and playing streaming media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110107459.8A CN102761524B (en) 2011-04-27 2011-04-27 A kind of Streaming Media storage, player method and corresponding system

Publications (2)

Publication Number Publication Date
CN102761524A CN102761524A (en) 2012-10-31
CN102761524B true CN102761524B (en) 2017-06-23

Family

ID=47055846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110107459.8A Expired - Fee Related CN102761524B (en) 2011-04-27 2011-04-27 A kind of Streaming Media storage, player method and corresponding system

Country Status (2)

Country Link
CN (1) CN102761524B (en)
WO (1) WO2012146098A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942216B (en) * 2013-01-21 2017-12-29 中国科学院声学研究所 A kind of index information storage, querying method and storage system based on sparse parsing
CN104424236B (en) * 2013-08-26 2018-12-07 腾讯科技(深圳)有限公司 Storage method and device in data acquisition
CN103974147A (en) * 2014-03-07 2014-08-06 北京邮电大学 MPEG (moving picture experts group)-DASH protocol based online video playing control system with code rate switch control and static abstract technology
CN106612462B (en) * 2015-10-26 2021-02-19 中兴通讯股份有限公司 Fast forward and fast backward processing method and terminal
CN106658045A (en) * 2015-10-29 2017-05-10 阿里巴巴集团控股有限公司 Cloud storage and cloud download methods for multimedia data and related devices
CN106686036A (en) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 Multimedia data downloading method and system, client and server
CN110971978B (en) * 2018-09-28 2021-12-28 浙江宇视科技有限公司 Video playing method and device
WO2020183053A1 (en) 2019-03-14 2020-09-17 Nokia Technologies Oy Method and apparatus for late binding in media content
CN113141522B (en) * 2020-01-17 2022-09-20 北京达佳互联信息技术有限公司 Resource transmission method, device, computer equipment and storage medium
CN114189490B (en) * 2021-11-26 2023-03-31 广州市百果园信息技术有限公司 User list processing method, system, electronic equipment and storage medium
CN114363304B (en) * 2021-12-27 2024-04-19 浪潮通信技术有限公司 RTP video stream storage and playing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193273A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 A storage and playing method for real time multimedia image information
CN101388909A (en) * 2008-10-14 2009-03-18 中兴通讯股份有限公司 P2P play-on-demand system and service method
CN101621386A (en) * 2008-07-01 2010-01-06 华为技术有限公司 Method, system and equipment for saving bandwidth of content network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193273A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 A storage and playing method for real time multimedia image information
CN101621386A (en) * 2008-07-01 2010-01-06 华为技术有限公司 Method, system and equipment for saving bandwidth of content network
CN101388909A (en) * 2008-10-14 2009-03-18 中兴通讯股份有限公司 P2P play-on-demand system and service method

Also Published As

Publication number Publication date
CN102761524A (en) 2012-10-31
WO2012146098A1 (en) 2012-11-01

Similar Documents

Publication Publication Date Title
CN102761524B (en) A kind of Streaming Media storage, player method and corresponding system
CN105916058B (en) A kind of streaming media buffer playback method, device and display equipment
US8510375B2 (en) Apparatus and methods for time mapping media segments in streaming media files
CN102025956B (en) Processing method, device and system for fast forward and fast backward playing of network stream media
US20170085933A1 (en) Advertising detection in adaptive bitrate streaming
CN107231581B (en) Method and system for video playing and streaming media playing control server
WO2012096372A1 (en) Content reproduction device, content reproduction method, delivery system, content reproduction program, recording medium, and data structure
CN106231348B (en) A kind of back method of GOP data, device and system
CN102487458A (en) Method for broadcasting and processing TS (Transport Stream) document and device thereof
CN110198494B (en) Video playing method, device, equipment and storage medium
CN110351594A (en) System and method for managing adjacent channel in adaptive streaming environment
CN106658226B (en) Playing method and device
JP2007295038A (en) Moving video reproducer and reproduction method
KR20190021250A (en) Methods and systems for providing audio content during trick-play playback
CN107071549A (en) Many player fast switch over method, device and storage medium under single decoder
US8509599B2 (en) Recording and reproducing apparatus, recording and reproducing method and program
CN104918108A (en) Video accurate positioning device and method based on HLS (HTTP Live Streaming) protocol
EP2712203A1 (en) Method and system for enhancing redistributed audio / video content
CN102340705B (en) System and method for obtaining key frame
JP4165134B2 (en) Information reproducing apparatus, information reproducing method, and information reproducing system
KR20090017027A (en) Method for creating and reproducing media metadata based on media object and apparatus thereof
CN101340570B (en) Method for realizing redirection when playing stream media
US20100070644A1 (en) Apparatus and method for time-shift service based on multimedia information, apparatus for reproducing multimedia using the same
CN103501457B (en) The method and apparatus that a kind of program is play
EP3193508B1 (en) Distribution device and information device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170623

Termination date: 20200427