CN102761524A - Steaming media storage and playing method and corresponding system - Google Patents

Steaming media storage and playing method and corresponding system Download PDF

Info

Publication number
CN102761524A
CN102761524A CN2011101074598A CN201110107459A CN102761524A CN 102761524 A CN102761524 A CN 102761524A CN 2011101074598 A CN2011101074598 A CN 2011101074598A CN 201110107459 A CN201110107459 A CN 201110107459A CN 102761524 A CN102761524 A CN 102761524A
Authority
CN
China
Prior art keywords
sub
segmentation
index
information
segmented 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.)
Granted
Application number
CN2011101074598A
Other languages
Chinese (zh)
Other versions
CN102761524B (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

Images

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 streaming media storage and playing method and a corresponding system, which are based on DVB (digital video broadcasting) Tier for realizing storage and playing of streaming media and can enable a user to get the effects which are consistent with expectation when the playing which is related to a stunt mode is performed. The storage method comprises the following steps of: segmenting media content by a streaming media server when the media content is stored, wherein each segment comprises one or more sub-segments; and generating a sub-segment index atom for each sub-segment by the streaming media server, wherein each sub-segment index atom comprises information of sampling number, sampling deviation information, sampling length information and sampling time information. The storage system comprises a segmenting device and a sub-segment index atom generation device. By adopting the method disclosed by the invention, start and end positions of a data frame to be played can be fast positioned, thereby not only saving network traffic, but also greatly reducing the waiting time of the user during the playing process and upgrading the experience of the user.

Description

A kind of Streaming Media storage, player method and corresponding system
Technical field
The present invention relates to the 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 protocol)/RTP's (Real-time Transport Protocol, RTP).But because RTSP/RTP is in shortcomings such as passing fire wall existing problems, developing based on HTTP (HyperText Transfer Protocol, HTTP) in nearly 2 years provides streaming media service, i.e. HTTP Streaming (stream) business.In MPEG (Moving Pictures Experts Group, dynamic image expert group) normal structure, be referred to as DASH (Dynamic Adaptive Streaming over HTTP is based on the dynamic self-adapting stream of HTTP).In recent years, broadcasting service and mobile service begin to merge gradually, and different content of multimedia transmits on various network with professional.The MPEG2-TS that is used to broadcast (MPEG2 MPTS) uses also comparatively extensive on the internet.Equally, MPEG2-TS also is applied on the DASH business.
Because http protocol belongs to text transfer protocol in essence, and be not suitable for real-time Streaming Media transmission.For the ease of realizing direct playing and playback (to time-shift service) and the function of seeing while downloading, common with programme content at physics or be divided into a lot of subsections in logic, of Fig. 1.Media representation is described (MPD; Media Presentation Description; Or claim program index table) this program index table comprises the information such as index of partitioning, and one or more segmentations of each downloads of media file are play, and then data downloaded are carried out decodes and plays.But for the fast forwarding and fast rewinding function, common way is to download corresponding segmentation according to MPD, and then in segmental file, finds corresponding frame to play.Client will be downloaded a lot of unnecessary data like this, has a strong impact on the fluency of broadcast and takies the network bandwidth.
In present technology, way commonly used is a definition segment index atom, and when doing special-effect mode, for example in F.F., client is removed the access critical frame according to the address information of the key frame that writes down in the segmented index, thereby reaches the effect of F.F..It is exactly that the F.F. multiple does not conform to the actual conditions that but there is a fatal defective in this method, and especially under the more sparse situation of key frame, F.F. effect and desired effects have bigger gap.
Defined a kind of new DVB Tier framework (Digital Video Broadcasting Tier framework, DVB rank framework) among the 101154 appendix D of ETSI.In video coding, each Frame is divided into a plurality of tier (rank) according to the dependence situation, the Frame that tier is high relies on the low Frame of tier.But under the framework of DVB Tier, how to carry out also not definition of the broadcast relevant with special-effect mode according to the tier framework.
Summary of the invention
The technical problem that the present invention will solve provides a kind of Streaming Media storage, player method and corresponding system, and storage and broadcast based on DVB Tier realizes Streaming Media can obtain and the effect of expecting unanimity the user when carrying out the broadcast relevant with special-effect mode.
For solving the problems of the technologies described above, the invention provides a kind of Streaming Media storage means, comprising:
Streaming media server is when preserving media content; Said media content is carried out segmentation; Each segmentation comprises one or more sub-segmentations; Said streaming media server generates sub-segmented index atom for each sub-segmentation, and preserves said sub-segmented index atom, and said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information.
Further, in the said sub-segmented index atom:
Said number of samples information is used for representing that current each rank of sub-segmentation is by the number of the sample data frames of index;
Said sample offset information, be used for representing current sub-segmentation each by of the skew of the storage initial address of the sample data frames of index with respect to said current sub-segmentation first address;
Said sampling length information, be used for representing current sub-segmentation each by the memory length of the sample data frames of index;
Said sampling time information, be used for representing current sub-segmentation each by of the time migration of the sample data frames of index with respect to first sample data frames in the said current sub-segmentation.
Further, also comprise the figure place identification information in the said sub-segmented index atom, it is used to represent sample offset information and the current required figure place of sampling length information.
For solving the problems of the technologies described above, the present invention also provides a kind of flow media playing method, comprising:
In the time of in following scene any one; The terminal is according to the content data download frame of the sub-segmented index atom of downloading from streaming media server, and broadcast data downloaded frame: from the scene of normal play mode entering special-effect mode, from the scene of special-effect mode entering normal play mode, the scene that gets into time shift location demand mode; Said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information.
Further, said terminal is when getting into the special-effect mode from normal play mode, and said terminal comprises according to the step of the content data download frame of the sub-segmented index atom of downloading from streaming media server:
The initial data frame is confirmed after receiving the order that gets into special-effect mode in the terminal;
Segmented index in (MPD) is described at said terminal according to the media representation of downloading in advance address information is downloaded segmented index from segmentation under the sub-segmentation at said initial data frame place to said streaming media server request obtains the sub-segmented index atom of said sub-segmentation from said segmented index;
The highest level of played data frame is confirmed to treat in the said sub-segmentation under the current special-effect mode in said terminal; Travel through said sub-segmented index atom; Search after said initial data frame; And rank less than said highest level by the sample data frames of index, according to the sampling time information sequence that finds by the sample data frames of index download said find by the sample data frames of index.
Further, said initial data frame is afterwards and the first Frame that rank is minimum of current data frame.
Further, said terminal is when getting into the normal play mode from special-effect mode, and said terminal comprises according to the step of the content data download frame of the sub-segmented index atom of downloading from streaming media server:
After said terminal receives the order of withdrawing from special-effect mode; In sub-segmented index atom, search rank after the current data frame minimum by the sample data frames of index; Said according to what write down in the said sub-segmented index atom by the sample offset information of the sample data frames of index and sampling length information, download this Frame and Frame afterwards thereof to the streaming media server request.
Further, said terminal is in the scene that gets into time shift location demand mode the time, and said terminal comprises according to the step of the content data download frame of the sub-segmented index atom of downloading from streaming media server:
After the terminal receives the order that gets into time shift location demand mode; Confirm the sub-segmentation of this time correspondence according to the time shift program request time; Describe the address information of segmented index in (MPD) according to the media representation of downloading in advance and download the segmented index of said segmentation, from said segmented index, obtain the sub-segmented index atom of said sub-segmentation to said streaming media server request;
Travel through said sub-segmented index atom; Search after the said time shift program request time and rank is minimum by the sample data frames of index; According to the sample offset information and the sampling length information of this sample data frames that writes down in the said sub-segmented index atom, download this sample data frames and Frame afterwards thereof to said streaming media server request.
For solving the problems of the technologies described above, the present invention also provides a kind of Streaming Media storage system, comprises sectioning and sub-segmented index atom generating apparatus, wherein:
Said sectioning is used for when preserving media content, said media content being carried out segmentation, and each segmentation comprises one or more sub-segmentations;
Said sub-segmented index atom generating apparatus; Be used to each sub-segmentation and generate sub-segmented index atom; And preserve said sub-segmented index atom, and said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information, wherein:
Said number of samples information is used for representing that current each rank of sub-segmentation is by the number of the sample data frames of index;
Said sample offset information, be used for representing current sub-segmentation each by of the skew of the storage initial address of the sample data frames of index with respect to said current sub-segmentation first address;
Said sampling length information, be used for representing current sub-segmentation each by the memory length of the sample data frames of index;
Said sampling time information, be used for representing current sub-segmentation each by of the time migration of the sample data frames of index with respect to first sample data frames in the said current sub-segmentation.
Further, also comprise the figure place identification information in the said sub-segmented index atom, it is used to represent sample offset information and the current required figure place of sampling length information.
For solving the problems of the technologies described above, the present invention also provides a kind of stream media play system, is positioned at end side, comprises download apparatus and playing device, wherein:
Said download apparatus; Be used for carrier segmented index atom under the streaming media server; And when being used for said terminal and being in any one of following scene, according to the content data download frame of the sub-segmented index atom of downloading: from normal play mode get into special-effect mode scene, get into the scene of normal play mode, the scene that gets into time shift location demand mode from special-effect mode; Said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information;
Said playing device is used for and plays the data downloaded frame.
Further, said download apparatus comprises confirms initial data frame module, first sub-segmented index atom acquisition module and the data download frame module, wherein:
Said definite initial data frame module is used for being at said terminal when normal play mode gets into the scene of special-effect mode, after receiving the order that gets into special-effect mode, confirms the initial data frame;
The said first sub-segmented index atom acquisition module; The segmented index of the address information that is used for describing (MPD) segmented index according to the media representation of downloading in advance segmentation under the sub-segmentation that said initial data frame belongs to is downloaded in the streaming media server request obtains the sub-segmented index atom of said sub-segmentation from said segmented index;
Said data download frame module; Be used for confirming that said sub-segmentation under the current special-effect mode treats the highest level of played data frame; Travel through said sub-segmented index atom; Search after said initial data frame, and rank less than said highest level by the sample data frames of index, and be used for according to the sampling time information sequence that finds by the sample data frames of index download said find by the sample data frames of index.
Further, said initial data frame is afterwards and the first Frame that rank is minimum of current data frame.
Further, said download apparatus comprises searches module, first download module, wherein:
The said module of searching; Be used for being in when special-effect mode gets into the scene of normal play mode at said terminal; After receiving the order of withdrawing from special-effect mode, in sub-segmented index atom, search rank after the current data frame minimum by the sample data frames of index;
Said first download module; Be used for according to said sub-segmented index atom write down said by the sample offset information of the sample data frames of index and sampling length information, to the streaming media server request download that this finds by the sample data frames of index and Frame afterwards thereof.
Further, said download apparatus comprises the second sub-segmented index atom acquisition module, second download module, wherein:
The said second sub-segmented index atom acquisition module; When being used for being in the scene of time shift location demand mode at said terminal; After receiving the order that gets into time shift location demand mode; Confirm the sub-segmentation that this is corresponding according to the time shift program request time time, describe the address information of segmented index in (MPD) according to the media representation of downloading in advance and download the segmented index of said segmentation, from said segmented index, obtain the sub-segmented index atom of said sub-segmentation to said streaming media server request;
Second download module; Be used to travel through said sub-segmented index atom; Search after the said time shift program request time and rank is minimum by the sample data frames of index; According to the sample offset information and the sampling length information of this sample data frames that writes down in the said sub-segmented index atom, download this sample data frames and Frame afterwards thereof to said streaming media server request.
Adopt the said method of the embodiment of the invention; For operations such as the F.F. of TS (MPTS) file under the DASH scene, rewind downs, need not the whole segmentation of file in download, and only download needs the Frame play; Promptly can navigate to the Frame starting and ending position that needs broadcast fast; Both saved network traffics, reduced the stand-by period in user's playing process again greatly, also do not influenced between the various special-effect modes simultaneously; And taking over seamlessly between normal mode and the special-effect mode, promoted user's experience greatly.
Description of drawings
Fig. 1 gets the frame sketch map for F.F. under the tier framework;
Fig. 2 is the flow chart that uses the ssix atoms at suitable temperatures F.F. of the present invention's definition in the embodiment of the invention;
The flow chart that Fig. 3 uses the ssix atoms at suitable temperatures F.F. of the present invention's definition to become a full member and often play for the embodiment of the invention;
Fig. 4 uses the flow chart of the ssix atoms at suitable temperatures time shift positioning playing of the present invention's definition for the embodiment of the invention.
Embodiment
In order to solve the problems of the technologies described above, the present invention has defined sub-segmented index atom, comprising: number of samples information, sample offset information, sampling length information and sampling time information, wherein:
1) number of samples information is used for representing that current each rank of sub-segmentation is by the number of the sample data frames of index;
2) sample offset information, be used for representing current sub-segmentation each by of the skew of the storage initial address of the sample data frames of index with respect to current sub-segmentation first address;
3) sampling length information, be used for representing current sub-segmentation each by the memory length of the sample data frames of index;
4) sampling time information, be used for representing current sub-segmentation each by of the time migration of the sample data frames of index with respect to first sample data frames in the current sub-segmentation.
Through number of samples information is provided, streaming media server can also can be implemented comparatively flexible whenever at a distance from a few frame index one frames for every frame is provided with index; Particularly when a few frame one index; Can reduce expense, for example 24fps, 144 minutes film, a complete special-effect mode index (i.e. the index of all frames) expense is 1.6Mbytes; If per 4 frame index, one frame is with the expense that reduces 406Kb.
Except above-mentioned four information, can also comprise the figure place identification information in this sub-segmented index atom, this identification information is used to represent sample offset information and the current required figure place of sampling length information.This figure place identification information can be controlled sample offset and the shared bit number (16 or 32) of sampling length easily, can further reduce the network bandwidth.
Usually; Streaming media server is when preserving media content; Said media content is carried out segmentation, and each segmentation comprises one or more sub-segmentations, and said streaming media server generates sub-segmented index atom for each sub-segmentation; And preserve this sub-segmented index atom, this sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information.Preferably, also can comprise the figure place identification information in this sub-segmented index atom.
Above-mentioned media content offers streaming media server by content supplier.
Behind the sub-segmented index atom of streaming media server generation and preservation media content; In the time of in following scene any one; The terminal is according to the content data download frame of the sub-segmented index atom of downloading from streaming media server, and broadcast data downloaded frame: from the scene of normal play mode entering special-effect mode, from the scene of special-effect mode entering normal play mode, the scene that gets into time shift location demand mode.
● when the terminal gets into the special-effect mode from normal play mode, specifically comprise:
A1, the initial data frame is confirmed after receiving the order (as: F.F. or rewind down) that gets into special-effect mode in the terminal;
A2; Segmented index in (MPD) is described at the terminal according to the media representation of downloading in advance address information (for example URL information) is downloaded the segmented index that said initial data frame belongs to segmentation under the sub-segmentation to said streaming media server request, from said segmented index, obtains the sub-segmented index atom of said sub-segmentation;
The initial data frame is preferably afterwards and the first Frame that rank is minimum of current data frame, because the minimum Frame of rank does not rely on any other Frame.
A3; The highest level of played data frame is confirmed to treat in the said sub-segmentation under the current special-effect mode in said terminal; Travel through said sub-segmented index atom; Search after said initial data frame, and rank less than said highest level by the sample data frames of index, according to the sampling time information sequence that finds by the sample data frames of index download said find by the sample data frames of index.
When confirming to treat the highest level of played data frame, be to confirm, particularly, confirm to wait to play in the sub-segmentation highest level of frame according to the multiple of F.F. or rewind down according to the parameter of current special-effect mode.
● when the terminal gets into the normal play mode from special-effect mode, specifically comprise:
After said terminal receives the order of withdrawing from special-effect mode; In sub-segmented index atom, search rank after the current data frame minimum by the sample data frames of index; Said according to what write down in the said sub-segmented index atom by the sample offset information of the sample data frames of index and sampling length information, download this Frame and Frame afterwards thereof to the streaming media server request.
Current data frame is meant receives the Frame of playing when withdrawing from trick mode commands.
Above-mentioned sub-segmented index atom is that download when special-effect mode at said terminal.
Preferably, current trick mode play can also be continued in the terminal in search procedure, promptly keeps F.F. or rewind down state.
● when the terminal gets in the demand mode of time shift location, specifically comprise:
C1; After the terminal receives the order that gets into time shift location demand mode; Confirm the sub-segmentation of this time point correspondence according to the time shift program request time; Describe the address information of segmented index in (MPD) according to the media representation of downloading in advance and download the segmented index of said sub-segmentation place segmentation, from said segmented index, obtain the sub-segmented index atom of said sub-segmentation to said streaming media server request;
Confirm that according to the time shift program request time the corresponding segmentation of this time point comprises: that calculates this time shift program request time represents the time (relative time), seeks the sub-segmentation that this represents the time place according to MPD.
C2; Travel through said sub-segmented index atom; Search after the said time shift program request time and rank is minimum by the sample data frames of index; According to the sample offset information and the sampling length information of this sample data frames that writes down in the said sub-segmented index atom, download this sample data frames and Frame afterwards thereof to said streaming media server request.
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment to describe the present invention below.
Embodiment 1
Present embodiment is that example describes to adopt MPEG2-TS as the media file storage form on the streaming media server; Streaming media server carries out logic section to media file; The corresponding segmented index of each partitioning; Partitioning and segmented index all have URL in MPD, promptly can have access to each segmentation and segmented index thereof through MPD.Comprise sidx box (segmented index atom) and ssix box (sub-segmented index atom) in the segmented index.
In the present embodiment, the definition of ssix atom is following:
Figure BDA0000057926710000101
Wherein, bolded section is a new content, and the semantic interpretation of new field is following:
Num_samples: i.e. number of samples information, point out to belong to rank j by the number of the sample data frames of index;
Bytes_in_unit: i.e. figure place identification information, point out that skew and length are with 16 bit representations or use 32 bit representations, its value is units of bytes, in this enforcement, when units of bytes=0, representes to squint and length is used 32 bit representations;
Preferably; Can also expand the figure place that this sample_offset_short takies through bytes_in_unit; Can be through being that unit calculates with units of bytes, promptly the figure place that takies of sample offset information equals sample_offset_short*bytes_in_unit; In like manner, the figure place that takies of sample offset length information equals sample_size_short*bytes_in_unit.
Sample_offset:, point out from by of the skew of the storage initial address of the sample data frames S of index [i, j, k] with respect to sub-segmentation first address with the sample offset information of 32 bit representations;
Sample_size:, point out by the memory length of the sample data frames S of index [i, j, k], i.e. the shared size of this sampled data content frame with the sampling length information of 32 bit representations.
Sample_offset_short:, point out by of the skew of the storage initial address of the sample data frames S of index [i, j, k] with respect to sub-segmentation i first address with the sample offset information of 16 bit representations
Sample_size_short:, point out by the memory length of the sample data frames S of index [i, j, k] with the sampling length information of 16 bit representations;
Sample_time: i.e. sampling time information, point out the time migration with respect to first sample data frames among the sub-segmentation j by the sample data frames S of index [i, j, k], this time migration is consistent with the unit of timebase in being stored in the sidx atom.
Embodiment 2
Present embodiment is to get into the example the special-effect mode from normal play mode, is that F.F. describes with the special-effect mode.Of Fig. 2, comprising:
Step 201, terminal receive the order that gets into fast-forward mode, confirm the highest level of the played data frame that remains according to the F.F. multiple;
Referring to Fig. 1, can confirm to treat the highest level in the played data frame according to the F.F. multiple.
Step 202 continues normal play up to being played to other Frame of lowermost level S1, obtains the affiliated segmentation of sub-segmentation at this S1 frame place;
Step 203 is downloaded the corresponding segmented index of this segmentation, resolves this index and obtains sub-segmented index atom;
Step 204 judges whether all later Frames less than highest level of S1 frame all download to the terminal in this sub-segmentation, if then execution in step 208, otherwise execution in step 205;
Step 205 is obtained the offset information and the length information of next frame data according to the sequencing in sampling time;
Step 206, according to the offset information that obtains and length information terminal to this frame of streaming media server request;
Step 207, decoding terminals also shows this frame, returns step 204;
Step 208 moves on to the segmentation that the next one meets the F.F. multiple, returns step 203.
Adopt said method can quicken searching to Frame.Above-mentioned flow process be merely a kind of for example, those skilled in the art can conceive according to the present invention and provide other realization flows.
Embodiment 3
Present embodiment is to get into the example the normal play mode from special-effect mode, is that F.F. describes with the special-effect mode.Of Fig. 3, comprising:
Step 301, receive the F.F. normal order of playing of becoming a full member;
Step 302, last Frame when obtaining F.F.;
Step 303, judge whether the rank of this frame is 1, if, then jump to 305, otherwise, jump to step 304;
Step 304 is obtained next by the information of the sample data frames of index in sub-segmented index atom;
Step 305 is obtained the offset information and the length information of this frame in sub-segmented index atom;
Step 306, all Frames of this segmentation that after this frame of streaming media server request, (comprises this frame);
Step 307, terminal normal play are downloaded the Frame that gets off;
When step 308, next segmentation, download all segment datas;
Step 309, normal play.
Above-mentioned flow process be merely a kind of for example, those skilled in the art can conceive according to the present invention and provide other realization flows.
Embodiment 4
Present embodiment is for getting into the example in the demand mode of time shift location.Of Fig. 4.Live in this instance has only video flowing, promptly has only a track in the code stream.Comprise:
Step 401, receive the order that gets into time shift location demand mode after, obtain the time shift program request time;
Step 402, judge whether the time shift program request time is UTC (universal time), if then jump to step 404, otherwise jump to step 403;
Step 403, transfer the time shift program request time to the UTC time;
Step 404 is obtained the beginning UTC of TS file from MPD;
Step 405 calculates time that represents of time shift program request time, i.e. the time skew;
Step 406 in the initial sampling time of each segmentation of writing down among the traversal MPD, calculates this broadcast point and drops in which segmentation;
Step 407 is obtained the URL of the corresponding segmented index of this segmentation, and is downloaded this segmented index from MPD, from segmented index, obtain sub-segmented index atom;
Step 408 travels through sub-segmented index atom, find rank be 1 and reproduction time more than or equal to the Frame of time shift program request time;
Step 409 is obtained the offset information and the length information of this frame in sub-segmented index atom, download (comprising this frame) all Frames after this frame;
Step 410, the normal play data downloaded;
Step 411, next segmentation are downloaded whole segment data and are transferred the normal play flow process to.
Above-mentioned flow process be merely a kind of for example, those skilled in the art can conceive according to the present invention and provide other realization flows.
The present invention is applicable to that local broadcast, online free online multimedium file carry out various scenes such as multiple-limb broadcast.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (15)

1. Streaming Media storage means comprises:
Streaming media server is when preserving media content; Said media content is carried out segmentation; Each segmentation comprises one or more sub-segmentations; Said streaming media server generates sub-segmented index atom for each sub-segmentation, and preserves said sub-segmented index atom, and said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information.
2. the method for claim 1 is characterized in that,
In the said sub-segmented index atom:
Said number of samples information is used for representing that current each rank of sub-segmentation is by the number of the sample data frames of index;
Said sample offset information, be used for representing current sub-segmentation each by of the skew of the storage initial address of the sample data frames of index with respect to said current sub-segmentation first address;
Said sampling length information, be used for representing current sub-segmentation each by the memory length of the sample data frames of index;
Said sampling time information, be used for representing current sub-segmentation each by of the time migration of the sample data frames of index with respect to first sample data frames in the said current sub-segmentation.
3. according to claim 1 or claim 2 method is characterized in that,
Also comprise the figure place identification information in the said sub-segmented index atom, it is used to represent sample offset information and the current required figure place of sampling length information.
4. flow media playing method comprises:
In the time of in following scene any one; The terminal is according to the content data download frame of the sub-segmented index atom of downloading from streaming media server, and broadcast data downloaded frame: from the scene of normal play mode entering special-effect mode, from the scene of special-effect mode entering normal play mode, the scene that gets into time shift location demand mode; Said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information.
5. method as claimed in claim 4 is characterized in that,
Said terminal is when getting into the special-effect mode from normal play mode, and said terminal comprises according to the step of the content data download frame of the sub-segmented index atom of downloading from streaming media server:
The initial data frame is confirmed after receiving the order that gets into special-effect mode in the terminal;
Segmented index in (MPD) is described at said terminal according to the media representation of downloading in advance address information is downloaded segmented index from segmentation under the sub-segmentation at said initial data frame place to said streaming media server request obtains the sub-segmented index atom of said sub-segmentation from said segmented index;
The highest level of played data frame is confirmed to treat in the said sub-segmentation under the current special-effect mode in said terminal; Travel through said sub-segmented index atom; Search after said initial data frame; And rank less than said highest level by the sample data frames of index, according to the sampling time information sequence that finds by the sample data frames of index download said find by the sample data frames of index.
6. method as claimed in claim 5 is characterized in that,
Said initial data frame is afterwards and the first Frame that rank is minimum of current data frame.
7. method as claimed in claim 4 is characterized in that,
Said terminal is when getting into the normal play mode from special-effect mode, and said terminal comprises according to the step of the content data download frame of the sub-segmented index atom of downloading from streaming media server:
After said terminal receives the order of withdrawing from special-effect mode; In sub-segmented index atom, search rank after the current data frame minimum by the sample data frames of index; Said according to what write down in the said sub-segmented index atom by the sample offset information of the sample data frames of index and sampling length information, download this Frame and Frame afterwards thereof to the streaming media server request.
8. method as claimed in claim 4 is characterized in that,
Said terminal is in the scene that gets into time shift location demand mode the time, and said terminal comprises according to the step of the content data download frame of the sub-segmented index atom of downloading from streaming media server:
After the terminal receives the order that gets into time shift location demand mode; Confirm the sub-segmentation of this time correspondence according to the time shift program request time; Describe the address information of segmented index in (MPD) according to the media representation of downloading in advance and download the segmented index of said segmentation, from said segmented index, obtain the sub-segmented index atom of said sub-segmentation to said streaming media server request;
Travel through said sub-segmented index atom; Search after the said time shift program request time and rank is minimum by the sample data frames of index; According to the sample offset information and the sampling length information of this sample data frames that writes down in the said sub-segmented index atom, download this sample data frames and Frame afterwards thereof to said streaming media server request.
9. a Streaming Media storage system comprises sectioning and sub-segmented index atom generating apparatus, wherein:
Said sectioning is used for when preserving media content, said media content being carried out segmentation, and each segmentation comprises one or more sub-segmentations;
Said sub-segmented index atom generating apparatus; Be used to each sub-segmentation and generate sub-segmented index atom; And preserve said sub-segmented index atom, and said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information, wherein:
Said number of samples information is used for representing that current each rank of sub-segmentation is by the number of the sample data frames of index;
Said sample offset information, be used for representing current sub-segmentation each by of the skew of the storage initial address of the sample data frames of index with respect to said current sub-segmentation first address;
Said sampling length information, be used for representing current sub-segmentation each by the memory length of the sample data frames of index;
Said sampling time information, be used for representing current sub-segmentation each by of the time migration of the sample data frames of index with respect to first sample data frames in the said current sub-segmentation.
10. system as claimed in claim 9 is characterized in that,
Also comprise the figure place identification information in the said sub-segmented index atom, it is used to represent sample offset information and the current required figure place of sampling length information.
11. a stream media play system is positioned at end side, comprises download apparatus and playing device, wherein:
Said download apparatus; Be used for carrier segmented index atom under the streaming media server; And when being used for said terminal and being in any one of following scene, according to the content data download frame of the sub-segmented index atom of downloading: from normal play mode get into special-effect mode scene, get into the scene of normal play mode, the scene that gets into time shift location demand mode from special-effect mode; Said sub-segmented index atom comprises: number of samples information, sample offset information, sampling length information and sampling time information;
Said playing device is used for and plays the data downloaded frame.
12. system as claimed in claim 11 is characterized in that,
Said download apparatus comprises confirms initial data frame module, first sub-segmented index atom acquisition module and the data download frame module, wherein:
Said definite initial data frame module is used for being at said terminal when normal play mode gets into the scene of special-effect mode, after receiving the order that gets into special-effect mode, confirms the initial data frame;
The said first sub-segmented index atom acquisition module; The segmented index of the address information that is used for describing (MPD) segmented index according to the media representation of downloading in advance segmentation under the sub-segmentation that said initial data frame belongs to is downloaded in the streaming media server request obtains the sub-segmented index atom of said sub-segmentation from said segmented index;
Said data download frame module; Be used for confirming that said sub-segmentation under the current special-effect mode treats the highest level of played data frame; Travel through said sub-segmented index atom; Search after said initial data frame, and rank less than said highest level by the sample data frames of index, and be used for according to the sampling time information sequence that finds by the sample data frames of index download said find by the sample data frames of index.
13. system as claimed in claim 11 is characterized in that,
Said initial data frame is afterwards and the first Frame that rank is minimum of current data frame.
14. system as claimed in claim 11 is characterized in that,
Said download apparatus comprises searches module, first download module, wherein:
The said module of searching; Be used for being in when special-effect mode gets into the scene of normal play mode at said terminal; After receiving the order of withdrawing from special-effect mode, in sub-segmented index atom, search rank after the current data frame minimum by the sample data frames of index;
Said first download module; Be used for according to said sub-segmented index atom write down said by the sample offset information of the sample data frames of index and sampling length information, to the streaming media server request download that this finds by the sample data frames of index and Frame afterwards thereof.
15. system as claimed in claim 11 is characterized in that,
Said download apparatus comprises the second sub-segmented index atom acquisition module, second download module, wherein:
The said second sub-segmented index atom acquisition module; When being used for being in the scene of time shift location demand mode at said terminal; After receiving the order that gets into time shift location demand mode; Confirm the sub-segmentation that this is corresponding according to the time shift program request time time, describe the address information of segmented index in (MPD) according to the media representation of downloading in advance and download the segmented index of said segmentation, from said segmented index, obtain the sub-segmented index atom of said sub-segmentation to said streaming media server request;
Second download module; Be used to travel through said sub-segmented index atom; Search after the said time shift program request time and rank is minimum by the sample data frames of index; According to the sample offset information and the sampling length information of this sample data frames that writes down in the said sub-segmented index atom, download this sample data frames and Frame afterwards thereof to said streaming media server request.
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 true CN102761524A (en) 2012-10-31
CN102761524B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942216A (en) * 2013-01-21 2014-07-23 中国科学院声学研究所 Index information storing and searching method and storing system based on sparse analysis
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
CN106612462A (en) * 2015-10-26 2017-05-03 中兴通讯股份有限公司 Fast-forward and fast-rewind 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
CN104424236B (en) * 2013-08-26 2018-12-07 腾讯科技(深圳)有限公司 Storage method and device in data acquisition
CN110971978A (en) * 2018-09-28 2020-04-07 浙江宇视科技有限公司 Video playing method and device
CN113574903A (en) * 2019-03-14 2021-10-29 诺基亚技术有限公司 Method and apparatus for late binding in media content
CN114189490A (en) * 2021-11-26 2022-03-15 广州市百果园信息技术有限公司 User list processing method, system, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113141522B (en) * 2020-01-17 2022-09-20 北京达佳互联信息技术有限公司 Resource transmission method, device, computer 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

Cited By (16)

* 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
CN103942216A (en) * 2013-01-21 2014-07-23 中国科学院声学研究所 Index information storing and searching method and storing system based on sparse analysis
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
CN106612462A (en) * 2015-10-26 2017-05-03 中兴通讯股份有限公司 Fast-forward and fast-rewind 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
WO2017080450A1 (en) * 2015-11-10 2017-05-18 中兴通讯股份有限公司 Multi-media data download method, client, server, system and storage medium
CN110971978A (en) * 2018-09-28 2020-04-07 浙江宇视科技有限公司 Video playing method and device
CN110971978B (en) * 2018-09-28 2021-12-28 浙江宇视科技有限公司 Video playing method and device
CN113574903A (en) * 2019-03-14 2021-10-29 诺基亚技术有限公司 Method and apparatus for late binding in media content
US11653054B2 (en) 2019-03-14 2023-05-16 Nokia Technologies Oy Method and apparatus for late binding in media content
CN113574903B (en) * 2019-03-14 2023-07-28 诺基亚技术有限公司 Method and apparatus for late binding in media content
CN114189490A (en) * 2021-11-26 2022-03-15 广州市百果园信息技术有限公司 User list processing method, system, electronic equipment and storage medium
CN114189490B (en) * 2021-11-26 2023-03-31 广州市百果园信息技术有限公司 User list processing method, system, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2012146098A1 (en) 2012-11-01
CN102761524B (en) 2017-06-23

Similar Documents

Publication Publication Date Title
CN102761524A (en) Steaming media storage and playing method and corresponding system
US9998775B2 (en) Enforcement of trick-play disablement in adaptive bit rate video content delivery
US9654815B2 (en) Advertising detection in adaptive bitrate streaming
CN105814900B (en) System and method for managing adjacent channel in adaptive streaming environment
US8510375B2 (en) Apparatus and methods for time mapping media segments in streaming media files
CN103826159B (en) The local offline player method and terminal of a kind of M3U8 format videos
JP5748765B2 (en) Streaming method and apparatus that operates by inserting other contents into main contents
US20140282262A1 (en) Devices and methods for providing navigation images associated with adaptive bit rate video content
CN105916058B (en) A kind of streaming media buffer playback method, device and display equipment
CN101415069B (en) Server and method for sending on-line play video
EP3425921A1 (en) Method and apparatus for transmitting and receiving adaptive streaming mechanism-based content
JP2016007026A (en) Method and apparatus for adaptive streaming using segmentation
CN102487458A (en) Method for broadcasting and processing TS (Transport Stream) document and device thereof
US20190373296A1 (en) Content streaming system and method
JP2008262686A (en) Method and device for recording broadcast data
US10136193B2 (en) Supporting trickplay of streaming DLNA multimedia by HLS access device
CN110198494B (en) Video playing method, device, equipment and storage medium
WO2007053957A1 (en) Transcoder for live streams and on demand media
CN102625193B (en) A method of realizing multimedia file network playing by virtue of auxiliary files
KR102085192B1 (en) Rendering time control
CN105409235A (en) File generation device and method, and content reproduction device and method
CN103956175A (en) Playing method and equipment of multi-media files
CN113301373A (en) Method and system for realizing live video broadcasting and playback
CN102340705B (en) System and method for obtaining key frame
US20170264685A1 (en) Distribution method, distribution request method, and information processing 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

Granted publication date: 20170623

Termination date: 20200427

CF01 Termination of patent right due to non-payment of annual fee