CN103493502B - The method and apparatus of transmission Streaming Media - Google Patents
The method and apparatus of transmission Streaming Media Download PDFInfo
- Publication number
- CN103493502B CN103493502B CN201180002115.9A CN201180002115A CN103493502B CN 103493502 B CN103493502 B CN 103493502B CN 201180002115 A CN201180002115 A CN 201180002115A CN 103493502 B CN103493502 B CN 103493502B
- Authority
- CN
- China
- Prior art keywords
- fragment
- index
- media
- index fragment
- positional information
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title abstract description 24
- 238000003860 storage Methods 0.000 claims abstract description 88
- 230000000875 corresponding Effects 0.000 claims abstract description 64
- 239000002965 rope Substances 0.000 claims description 7
- 238000000034 method Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000001808 coupling Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000032696 parturition Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Abstract
The method and apparatus that the invention provides transmission Streaming Media.The method includes: generate at least one index fragment, and this at least one index fragment includes the index information of at least one media fragment, and this at least one index fragment is independent of at least one media fragment described;The create-rule of the storage positional information according at least one index fragment corresponding to this, generates storage positional information of at least one index fragment corresponding to this;The storage position that this storage positional information is corresponding stores this at least one index fragment, in order to client is from this at least one index fragment of this storage position acquisition.The embodiment of the present invention by providing the index information of media fragment independent of the index fragment of media fragment so that client obtains index fragment as required, thus decreases unnecessary data transmission, saves bandwidth.
Description
Technical field
The present embodiments relate to the communications field, and more particularly, to transmission Streaming Media method and
Equipment.
Background technology
Streaming media service is developed rapidly along with the universal of the Internet, the form base that one of which is important
In the streaming media service of HTTP (HyperText Transfer Protocol, HTML (Hypertext Markup Language)), just
Becoming the trend of development.
In streaming media service based on HTTP, content (such as, is divided according to different coding parameters
Resolution) it is encoded to the version of multiple different speed, it is referred to as encoding expression (representation).Coding
Express and be divided into some media fragments along time orientation.Media fragment is the data sheet of HTTP transmission
Position, can pass through URL (Uniform Resource Locator, URL) and visit uniquely
Ask.First client obtains media presentation description (Media Presentation Description, MPD)
File, it is a meta data file, it is provided that how client accesses the information of media fragment.Then
Client is according to the information in media presentation description file, by constantly obtaining and processing media fragment
Realize streaming media service.When available bandwidth changes, client correspondingly selects higher or more low rate
Coding express media fragment, with adapt to change bandwidth.
The index information of media fragment provides the metadata of media fragment.Metadata of overall importance includes: matchmaker
The start presentation time of body fragment, presentative time length, instruction media fragment time in media are expressed
Position etc.;The metadata of locality includes: which has can in the time span of media fragment, media fragment
With the subsegment (subsegment) accessed, subsegment position how, whether subsegment comprises media weight
Random access points (Stream Access Point, SAP), the time location etc. of random access points.Media sheet
The switching that the index information of section is expressed for coding is critically important, and client is to encoding the decoding and process expressed
Can only be from the beginning of random access points, it is therefore necessary to find in the media fragment that new coding is expressed one with
Machine access point, and the download that old coding is expressed to last till, with decoding, the time that this random access points is corresponding.
Setting of 3GPP (3rd Generation Partnership Project, third generation partner program)
In meter, the index information of media fragment is saved in media fragment indexing units, is of media fragment
Point.The index information of media fragment transmits together with the other guide of media fragment, and this is not in love in institute
Condition all necessity, unnecessary data transmission and bandwidth waste can be caused.Because only that switching coding is expressed
Or carry out timi requirement operation (seeking), just need the index information of media fragment, otherwise have only to
Order request download the media fragment during same coding is expressed and without the index information of media fragment.
Summary of the invention
The method and apparatus embodiments providing transmission Streaming Media, it is possible to reduce unnecessary data
Transmission.
On the one hand, it is provided that a kind of method transmitting Streaming Media, including: generate at least one index fragment,
This at least one index fragment includes the index information of at least one media fragment, and this at least one index
Fragment is independent of this at least one media fragment;According to storage position of at least one index fragment corresponding to this
The create-rule of confidence breath, generates storage positional information of at least one index fragment corresponding to this;At this
This at least one index fragment is stored, in order to client is from this on the storage position that storage positional information is corresponding
This at least one index fragment of storage position acquisition.
On the other hand, it is provided that a kind of method transmitting Streaming Media, including: obtain corresponding at least one
The create-rule of the storage positional information of index fragment, this at least one index fragment includes at least one matchmaker
The index information of body fragment, and this at least one index fragment is independent of this at least one media fragment;Root
According to this create-rule, generate storage positional information of at least one index fragment corresponding to this;From this storage
This at least one index fragment of storage position acquisition that positional information is corresponding.
On the other hand, it is provided that a kind of equipment for transmitting Streaming Media, including: the first generation module,
For generating at least one index fragment, this at least one index fragment includes at least one media fragment
Index information, and this at least one index fragment is independent of this at least one media fragment;Second generates mould
Block, for the create-rule of the storage positional information according at least one index fragment corresponding to this, generates
Storage positional information of at least one index fragment corresponding to this;Memory module, in this storage position
This at least one index fragment is stored, in order to client is from this storage position on the storage position that information is corresponding
Obtain this at least one index fragment.
On the other hand, it is provided that a kind of equipment for transmitting Streaming Media, including: the first acquisition module,
For obtaining the create-rule of the storage positional information corresponding at least one index fragment, this at least one
Index fragment includes the index information of at least one media fragment, and this at least one index fragment independent of
This at least one media fragment;Generation module, for according to this create-rule, generates corresponding to this at least
The storage positional information of one index fragment;Second acquisition module, for corresponding from this storage positional information
Storage position acquisition this at least one index fragment.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment or existing skill
In art description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below
It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creation
Property work on the premise of, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the system schematic configuration diagram that can apply the embodiment of the present invention.
Fig. 2 is the indicative flowchart of the method transmitting Streaming Media according to an embodiment of the invention.
Fig. 3 is the indicative flowchart of the method transmitting Streaming Media according to an embodiment of the invention.
Fig. 4 is the indicative flowchart of the method for transmission Streaming Media according to another embodiment of the present invention.
Fig. 5 is the indicative flowchart of the process of transmission Streaming Media according to another embodiment of the present invention.
Fig. 6 A-Fig. 6 C is index fragment according to embodiments of the present invention and the signal of media fragment corresponding relation
Figure.
Fig. 7 is the schematic diagram of Streaming Media switching/location according to embodiments of the present invention.
Fig. 8 is the block diagram of the equipment for transmitting Streaming Media of one embodiment of the invention.
Fig. 9 is the block diagram of the equipment for transmitting Streaming Media of another embodiment of the present invention.
Figure 10 is the block diagram of the equipment for transmitting Streaming Media of one embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment be a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Fig. 1 is the system schematic configuration diagram that can apply the embodiment of the present invention.This system 100 can include service
End 110 and client 120a, 120b, 120c, 120d and 120e etc. (hereinafter collectively referred to as client 120).
Service end 110 may include but be not limited to streaming media server, and client 120 may include but be not limited to
Mobile phone 120a, portable computer 120b, personal digital assistant (PDA) 120c, portable game
Gaming machine 120d and portable multimedia machine 120e.Service end 110 shown in Fig. 1 and client 120
The most schematically, the scope of the present invention is not constituted by the particular type of service end 110 and client 120
Limit.
Service end 110 stored stream media data and media presentation description file, wherein stream medium data is permissible
Being audio stream, video flowing etc., media presentation description file is meta data file, it is provided that client how
Access the information of media fragment.First client 120 obtains media presentation description file, according to media in
Now describing the information in file, client 120 constantly obtains and processes media fragment and realizes streaming media service.
Fig. 2 is the indicative flowchart of the method transmitting Streaming Media according to an embodiment of the invention.Figure
The method of 2 is performed by service end (such as, the service end 110 in Fig. 1).
210, generate at least one index fragment, this at least one index fragment includes at least one media sheet
The index information of section, and this at least one index fragment is independent of this at least one media fragment.
Alternatively, as another embodiment, this at least one media fragment may belong to a coding and expresses,
Or may belong to multiple coding expression.
Alternatively, as another embodiment, this at least one index fragment is continuous print in time, tool
There is continuous print sequence number.
Alternatively, as an embodiment, this index fragment also includes at least one of the following: this is extremely
The mark that coding belonging to a few media fragment is expressed, the mark of this at least one media fragment, this is extremely
The mark of the sub-piece in a few media fragment.
220, according to the create-rule of the storage positional information of at least one index fragment corresponding to this, generate
Storage positional information of at least one index fragment corresponding to this.
Alternatively, as an embodiment, service end can set up at least one index fragment corresponding to this
The create-rule of storage positional information, but the embodiment of the present invention is not restricted, it is also possible to set by other
For setting up this create-rule, or this create-rule can be preset in service end.
Alternatively, as another embodiment, this create-rule can be indicated by URL template, this
Bright embodiment is not restricted, and this create-rule can be indicated by other any mode.
230, the storage position that this storage positional information is corresponding stores this at least one index fragment, with
Just client is from this at least one index fragment of this storage position acquisition.
Alternatively, as an embodiment, service end can receive this client, and for this, at least one indexes
The request of the particular index fragment in fragment, carries the storage corresponding to this particular index fragment in this request
Positional information, and send this particular index fragment to this client.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Fig. 3 is the indicative flowchart of the method transmitting Streaming Media according to an embodiment of the invention.Figure
The method of 3 is performed by client (such as, the client 120 in Fig. 1).
310, obtain the create-rule of the storage positional information corresponding at least one index fragment, this is at least
One index fragment includes the index information of at least one media fragment, and this at least one index fragment is only
Stand on this at least one media fragment.
Alternatively, as an embodiment, client can obtain media presentation description file, these media
Present description file and carry this create-rule.
Alternatively, as another embodiment, this create-rule is indicated by URL template.
Alternatively, as another embodiment, this at least one media fragment may belong to a coding and expresses,
Or may belong to multiple coding expression.
Alternatively, as another embodiment, this at least one index fragment is continuous print in time, tool
There is continuous print sequence number.
Alternatively, as another embodiment, this at least one index fragment also include following at least one
Individual: the mark that the coding belonging to this at least one media fragment is expressed, the mark of this at least one media fragment
Know, the mark of the sub-piece in this at least one media fragment.
320, according to this create-rule, generate storage positional information of at least one index fragment corresponding to this.
Such as, in the case of create-rule is indicated by URL template, the storage position generated
Information can be URL.
330, from this at least one index fragment of storage position acquisition that this storage positional information is corresponding.
Alternatively, as an embodiment, client can send at least one index for this to service end
The request of the particular index fragment in fragment, carries the storage corresponding to this particular index fragment in this request
Positional information, and receive this particular index fragment from this service end.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Below in conjunction with object lesson, it is described more fully embodiments of the invention.Fig. 4 is according to this
The indicative flowchart of the method for the transmission Streaming Media of another bright embodiment.The method of Fig. 4 is by service end
(such as, the service end 110 in Fig. 1) performs.In the diagram, with URL template instruction index fragment
Storage positional information create-rule as a example by illustrate.
410, generate at least one index fragment, this at least one index fragment includes at least one media sheet
The index information of section, and this at least one index fragment is independent of this at least one media fragment.
420, according to URL template, generate the URL of this at least one index fragment.
430, storage position corresponding for this URL stores this at least one index fragment, in order to client
Hold from this at least one index fragment of this storage position acquisition.
Alternatively, as an embodiment, service end can receive this client, and for this, at least one indexes
The request of the particular index fragment in fragment, carries the URL corresponding to this particular index fragment in this request,
And send this particular index fragment to this client.
440, generate media presentation description file, this media presentation description file carries URL template, with
Just client generates the URL of index fragment according to this URL template.
Alternatively, as an embodiment, this media presentation description file also portability index fragment time
Between length.If the time span of index fragment is consistent with the time span of media fragment, the most only need
The time span of media fragment to be described in media presentation description file, and index fragment can be omitted
Time span.
Should be understood that the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, each process
Execution sequence should determine with its function and internal logic, and should be to the implementation process of the embodiment of the present invention
Constitute any restriction.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Fig. 5 is the indicative flowchart of the process of transmission Streaming Media according to another embodiment of the present invention.
501, service end generates at least one index fragment, and described index fragment includes at least one media sheet
The index information of section, and described index fragment is independent of described media fragment.
Such as, index fragment can be continuous in time, has continuous print sequence number and regular hour length.
Such as the serial number 1 of first index fragment, second is 2, is incremented by successively.Each index fragment describes one
The index information of at least one media fragment that one or more codings are expressed in individual time range.
Index fragment can structurally have many levels: encodes expression, media fragment, sub-piece, can
The mark expressed with the coding included belonging to this at least one media fragment, this at least one media fragment
The mark of the sub-piece in mark or this at least one media fragment.Such as, if index fragment provides only
The index information of one media fragment of one coding expression, then can simplify in structure accordingly, as
The level that coding is expressed, media fragment is corresponding can be removed.
502, service end sets up the generation rule of the storage positional information corresponding at least one index fragment described
Then.
The embodiment of the present invention is not limited to be set up this create-rule by service end, it is also possible to build otherwise
This create-rule vertical.
503, according to create-rule, generate the storage positional information corresponding at least one index fragment described.
In the case of storage positional information uses URL form, this create-rule can pass through URL mould
Plate indicates.Time range and its sequence number that index fragment covers are one to one, can be mutual
Derive, as long as the sequence number of index of reference fragment substitutes the index element in URL template, it is possible to indexed
The URL of fragment.
Such as, this URL template can be a character string, wherein comprises alternative parameter.Such as,
" http://abc.example.com/media/indexsegment<index>.idx ", wherein<index>represents rope
The alternatives of leader section sequence number, as long as the sequence number of index of reference fragment substitutes this, it is possible to generate index pieces
The URL of section.
504, service end is storage at least one index pieces described on the storage position that storage positional information is corresponding
Section.
505, service end generate media presentation description file, this media presentation description file carries described in extremely
The create-rule of the storage positional information of a few index fragment.
Such as, in the case of create-rule is indicated by URL template, can be by URL template
It is included in media presentation description file, is expressed as the attribute item in media presentation description file.
Further, it is also possible in media presentation description file by dominant or implicit in the way of indicate index
The time span of fragment.If the time span of index fragment is consistent with the time span of media fragment,
Then have only to illustrate the time span of media fragment in media presentation description file, and index fragment time
Between length can omit.
As previously mentioned, the index information comprised in index fragment may come from one or more and compiles
The media fragment that code table reaches, correspondingly index fragment template is expressed corresponding to one or more coding, this
One corresponding relation is reflected in index fragment template position in media presentation description file.Such as: media
Present description file and comprise aggregation units RepresentationSet that some codings are expressed, if the latter comprises again
Dry coding is expressed with unit R epresentation, and the URL template of index fragment is with attribute item
@indexSegmentUrlIndex represents, the time span of index fragment is fixing, with attribute item
@indexDuration represents, if they belong to a coding expresses unit, is i.e. that this coding expresses list
The attribute item of the subelement that the attribute item of unit or this coding are expressed, then this index fragment template is the most corresponding
Express in this coding;If they belong to represent the unit of the set of some coding expression
RepresentationSet, then all of coding during it is gathered corresponding to this is expressed.
506, client obtains media presentation description file from service end.
Alternatively, client obtains media presentation description file from service end, is not limited by HTTP's
GET operates, it is also possible to obtained by alternate manners such as broadcast, mails.
Although it should be noted that in the embodiment of Fig. 5, client obtains media presentation description file from service end,
But the embodiment of the present invention is not limited to this, client can also obtain media presentation description literary composition from other equipment
Part.
507, client, according to the create-rule carried in media presentation description file, generates index fragment
Storage positional information.
Such as, media presentation description file is gone back the time span of portability index fragment.Client also may be used
According to the create-rule carried in media presentation description file and the time span of index fragment, to generate rope
The storage positional information of leader section.If the time span of the time span of index fragment and media fragment is
Consistent, then have only to illustrate the time span of media fragment in media presentation description file, and permissible
Omit the time span of index fragment.
Such as, this create-rule can be indicated by URL template, then generate method
Similar with the method in 503, in order to avoid repeating, it is not described in detail.
508, client is to service end request index fragment.
Such as, when switching coding expression or client location operation because of the change of transmission bandwidth, client
To service end request index fragment.In client in the request that service end sends, it is carried in step 507
The storage positional information of middle generation.
509, the index fragment that client is asked by service end is sent to client.
Should be understood that the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, each process
Execution sequence should determine with its function and internal logic, and should be to the implementation process of the embodiment of the present invention
Constitute any restriction.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Fig. 6 A-Fig. 6 C is index fragment according to embodiments of the present invention and the signal of media fragment corresponding relation
Figure.
Time span indexDuration of index fragment is identical, the time of last index fragment
Length makes an exception, and is likely less than normal time span.The index fragment of serial number i is relative to the reference time
Initial time be (i-1) * indexDuration, the end time is i*indexDuration.For last
Individual index fragment, its end time is the end time of media presentation.
Alternatively, as an embodiment, owing to index fragment comprises the media expressed from multiple codings
The index information of fragment, the time span of the media fragment that each coding is expressed may be different, therefore index
The time boundary of fragment and the time boundary of media fragment are not necessarily alignment, some media fragment part
Fall into index fragment time range, index fragment only record these media fragments fall index fragment time
The index information of the part in the range of between.Such as, in fig. 6, coding expression A includes media fragment
Seg#1、Seg#2、Seg#3、……、Seg#n.Coding express B include media fragment Seg#1, Seg#2,
Seg#3、……、Seg#k.Index expression includes indexing fragment Index Seg#1, Index Seg#2, Index
Seg#3、……、Index Seg#n.Index fragment 1 includes media fragment Seg (A, 1), Seg (B, 1)
With the index information of Seg (B, 2), wherein Seg (X, the i-th media fragment during i) presentation code expresses X.
N, k are positive integer.
Alternatively, as in another embodiment, as shown in Figure 6B, coding expresses A and coding expresses B
Include media fragment Seg#1, Seg#2, Seg#3 ..., Seg#n respectively.Index expression includes index
Fragment Index Seg#1, Index Seg#2, Index Seg#3 ..., Index Seg#n.Coding is expressed
Media fragment be time unifying, index fragment time span identical with a media clip lengths,
Index fragment comprises the index information of a media fragment of identical time range during each coding is expressed, this
The border of sample index fragment and indexed media fragment is alignment.N is positive integer.
But it is a requirement the highest that the media fragment that different coding is expressed aligns in time, is not total
Disclosure satisfy that.Alternatively, as another embodiment, as shown in Figure 6 C, coding expression A includes media
Fragment Seg#1, Seg#2, Seg#3 ..., Seg#n.Index expression include index fragment Index Seg#1,
Index Seg#2、Index Seg#3、……、Index Seg#n.Index fragment only comprises a coding schedule
The index information of the media fragment reached, the time span of index fragment is long equal to the time of media fragment
Degree, does not the most require that the media fragment that different codings is expressed is time unifying.N is positive integer.
Alternatively, as another embodiment, index fragment can be expressed for a coding, comprise
From the information of multiple media fragments that a coding is expressed, the time span of index fragment is indexed
The time span sum of multiple media fragments.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
Fig. 7 is the schematic diagram of Streaming Media switching/timi requirement according to embodiments of the present invention.
Such as, the create-rule of the storage positional information of index fragment is indicated by URL template.Visitor
Family end, according to the corresponding parameter of this template, generates the URL of this index fragment.
When carrying out switching or the timi requirement operation that coding is expressed, client request covers the appointment time
Index fragment, obtain the information of random access points in corresponding media fragment and the information of subsegment, determine
Switching time and anchor point accurately.
Such as, as it is shown in fig. 7, client expresses A from coding is switched to coding expression B, twIt is to determine
The time switched over, to find as far as possible near t in coding expresses BwAccess point.Client is looked for
To comprising this time location twIndex fragment, its serial number i, the URL of generation obtains corresponding index
Fragment, searches the random access points meeting condition.Due to the uncertainty of random access points position, if
Suitable random access points is not found, it may be necessary to access adjacent index fragment in index fragment i,
As indexed fragment i-1 or index fragment i+1.The most in this embodiment, find coding expression B's
Having a suitable random access points in the subsegment of media fragment MS#j, its time is ts, at tsCompile
The switching that code table reaches.Client request coding is expressed in A until time point tsData;Request coding schedule
Reach in the media fragment j of B from tsThe data started and follow-up media fragment;Client is persistently play
Coding expresses A until time ts, then commence play out coding and express the media data of B, complete switching.
Therefore, the embodiment of the present invention by providing the rope of media fragment independent of the index fragment of media fragment
Fuse ceases, only when switching or execution timi requirement operation, and just request index fragment, it may be determined that accurately
Switching time and anchor point, complete switching or timi requirement, it is to avoid the data that transmission is unnecessary.
Fig. 8 is the block diagram of the equipment for transmitting Streaming Media of one embodiment of the invention.The equipment of Fig. 8
One example of 800 is service end (for example, it may be the service end 110 in Fig. 1).This equipment 800
Including the first generation module the 810, second generation module 820 and memory module 830.
First generation module 810 generates at least one index fragment, this at least one index fragment include to
The index information of a few media fragment, and this at least one index fragment is independent of these at least one media
Fragment.Second generation module 820 is according to the storage positional information of at least one index fragment corresponding to this
Create-rule, generates storage positional information of at least one index fragment corresponding to this.Memory module 830
The storage position that this storage positional information is corresponding stores this at least one index fragment, in order to client
From this at least one index fragment of this storage position acquisition.Typically, this memory module is a HTTP
Server.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Fig. 9 is the block diagram of the equipment for transmitting Streaming Media of another embodiment of the present invention.Fig. 9 will be omitted
The detailed description of same or analogous parts with Fig. 8, the equipment 900 of Fig. 9 is different with the equipment of Fig. 8
Part is, equipment 900 can also include receiver module 840 and sending module 850.Receiver module 840
The request of this client particular index fragment for this at least one index fragment, this request can be received
In carry the storage positional information corresponding to this particular index fragment.Sending module 850 can be to this client
Send this particular index fragment.
Alternatively, as another embodiment, equipment 900 also includes setting up module 860, and it is right to be used for setting up
Should in this at least one index fragment storage positional information create-rule.
Alternatively, as another embodiment, equipment 900 also includes the 3rd generation module 870, is used for giving birth to
Becoming media presentation description file, this media presentation description file carries described create-rule.
Other functions of equipment 800 and equipment 900 and operation can refer to above figure 2, Fig. 4 and Fig. 5
Embodiment of the method relates to the process of service end, for avoiding repeating, is not described in detail.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Figure 10 is the block diagram of the equipment for transmitting Streaming Media of one embodiment of the invention.Figure 10 sets
One example of standby 1000 is client (for example, it may be the client 120 in Fig. 1).This equipment
1000 include the first acquisition module 1010, generation module 1020 and the second acquisition module 1030.
First acquisition module 1010 obtains the life of the storage positional information corresponding at least one index fragment
Becoming rule, this at least one index fragment includes the index information of at least one media fragment, and this is at least
One index fragment is independent of this at least one media fragment.Generation module 1020 according to this create-rule,
Generate storage positional information of at least one index fragment corresponding to this.Second acquisition module 1030, from this
This at least one index fragment of storage position acquisition that storage positional information is corresponding.
Other functions of equipment 1000 and operation can refer to the embodiment of the method for above figure 3, Fig. 5 and Fig. 7
In relate to the process of client, for avoiding repeating, be not described in detail.Such as, the first acquisition module 1010
Can obtain media presentation description file, this media presentation description file carries this create-rule.Second obtains
Module 1030 can asking to the particular index fragment that service end sends for this at least one index fragment
Ask, this request is carried the storage positional information corresponding to this particular index fragment, and receives from these clothes
This particular index fragment of business end.
The embodiment of the present invention is believed by providing the index of media fragment independent of the index fragment of media fragment
Breath so that client obtains index fragment as required, thus decreases unnecessary data transmission, joint
Save bandwidth.
It addition, the embodiment of the present invention can not change the form of media fragment, existing content prepares equipment
Can be continuing with, and existing coding expression can be continuing with, thus save improvement cost.This
Outward, the embodiment of the present invention may also allow for more metadata and is encapsulated in index fragment, thus improves biography
Defeated efficiency.
Those of ordinary skill in the art are it is to be appreciated that combine each of the embodiments described herein description
The unit of example and algorithm steps, it is possible to electronic hardware or computer software and the knot of electronic hardware
Incompatible realization.These functions perform with hardware or software mode actually, depend on the spy of technical scheme
Fixed application and design constraint.Professional and technical personnel can use not Tongfang to each specifically should being used for
Method realizes described function, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches
The specific works process of system, device and the unit stated, is referred to the correspondence in preceding method embodiment
Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and
Method, can realize by another way.Such as, device embodiment described above is only shown
Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing
There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another
System, or some features can ignore, or do not perform.Another point, shown or discussed each other
Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.
If described function realizes and as independent production marketing or use using the form of SFU software functional unit
Time, can be stored in a computer read/write memory medium.Based on such understanding, the present invention's
Part or the part of this technical scheme that prior art is contributed by technical scheme the most in other words can
Embodying with the form with software product, this computer software product is stored in a storage medium,
Including some instructions with so that computer equipment (can be personal computer, server, or
The network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforesaid
Storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can
To store the medium of program code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
In this, any those familiar with the art, can be easily in the technical scope that the invention discloses
Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention
Scope should described be as the criterion with scope of the claims.
Claims (18)
1. the method transmitting Streaming Media, it is characterised in that including:
Generating at least one index fragment, at least one index fragment described includes at least one media fragment
Index information, and described at least one index fragment independent of at least one media fragment described;
According to the create-rule of the storage positional information corresponding at least one index fragment described, it is right to generate
The storage positional information of at least one index fragment described in Ying Yu;
Storage at least one index fragment described on the storage position that described storage positional information is corresponding, with
Just client is from least one index fragment described in described storage position acquisition;
Receive the request for the particular index fragment at least one index fragment described of the described client,
Carrying the storage positional information corresponding to described particular index fragment in described request, described storage position is believed
Breath generates according to described create-rule for described client;
Described particular index fragment is sent to described client.
2. the method for claim 1, it is characterised in that also include:
Set up the create-rule storing positional information corresponding at least one index fragment described.
3. method as claimed in claim 1 or 2, it is characterised in that also include:
Generating media presentation description file, described media presentation description file carries described create-rule.
4. method as claimed in claim 1 or 2, it is characterised in that described create-rule is by unified
Resource locator template indicates.
5. method as claimed in claim 1 or 2, it is characterised in that at least one media fragment described
Belong to a coding to express, or belong to multiple coding expression.
6. method as claimed in claim 1 or 2, it is characterised in that at least one index fragment described
It is continuous print in time, there is continuous print sequence number.
7. method as claimed in claim 1 or 2, it is characterised in that at least one index fragment described
Also include at least one of the following: the mark that the coding belonging at least one media fragment described is expressed,
The mark of at least one media fragment described, the mark of the sub-piece at least one media fragment described.
8. the method transmitting Streaming Media, it is characterised in that including:
Obtain corresponding at least one index fragment storage positional information create-rule, described at least one
Individual index fragment includes the index information of at least one media fragment, and at least one index fragment described is only
Stand at least one media fragment described;
According to described create-rule, generate the storage positional information corresponding at least one index fragment described;
The request for the particular index fragment at least one index fragment described, institute is sent to service end
State the storage positional information carried in request corresponding to described particular index fragment;
Receive the described particular index fragment from described service end.
9. method as claimed in claim 8, it is characterised in that described acquisition is corresponding at least one rope
The create-rule of the storage positional information of leader section, including:
Obtaining media presentation description file, described media presentation description file carries described create-rule.
10. method as claimed in claim 8, it is characterised in that described create-rule is provided by unified
Source location symbol template indicates.
11. methods as described in any one of claim 8-10, it is characterised in that at least one matchmaker described
Body fragment belongs to a coding and expresses, or belongs to multiple coding expression.
12. methods as described in any one of claim 8-10, it is characterised in that at least one rope described
Leader section is continuous print in time, has continuous print sequence number.
13. methods as described in any one of claim 8-10, it is characterised in that at least one rope described
Leader section also includes: belonging at least one media fragment described coding express mark, and/or described extremely
The mark of a few media fragment, and/or the mark of the sub-piece at least one media fragment described.
14. 1 kinds for transmitting the equipment of Streaming Media, it is characterised in that including:
First generation module, is used for generating at least one index fragment, at least one index fragment bag described
Include the index information of at least one media fragment, and at least one index fragment described independent of described at least
One media fragment;
Second generation module, for according to the storage positional information corresponding at least one index fragment described
Create-rule, generate corresponding to described at least one index fragment storage positional information;
Memory module, for described in storage on the storage position that described storage positional information is corresponding at least one
Individual index fragment, in order to client is from least one index fragment described in described storage position acquisition;
Receiver module, for receiving described client for the specific rope at least one index fragment described
The request of leader section, carries the storage positional information corresponding to described particular index fragment in described request,
Described storage positional information is that described client generates according to described create-rule;
Sending module, for sending described particular index fragment to described client.
15. equipment as claimed in claim 14, it is characterised in that also include:
Set up module, for setting up the life of the storage positional information corresponding at least one index fragment described
Become rule.
16. equipment as claimed in claim 15, it is characterised in that also include:
3rd generation module, is used for generating media presentation description file, and described media presentation description file is taken
Carry described create-rule.
17. 1 kinds for transmitting the equipment of Streaming Media, it is characterised in that including:
First acquisition module, for obtaining the life of the storage positional information corresponding at least one index fragment
Rule, at least one index fragment described is become to include the index information of at least one media fragment, and described
At least one index fragment is independent of at least one media fragment described;
Generation module, for according to described create-rule, generates corresponding at least one index fragment described
Storage positional information;
Second acquisition module, for service end send for described at least one index fragment in specific
The request of index fragment, carries the storage positional information corresponding to described particular index fragment in described request,
Receive the described particular index fragment from described service end.
18. equipment as claimed in claim 17, it is characterised in that the first acquisition module is specifically for obtaining
Taking media presentation description file, described media presentation description file carries described create-rule.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/080449 WO2012162995A1 (en) | 2011-09-30 | 2011-09-30 | Method and device for transmitting stream media |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103493502A CN103493502A (en) | 2014-01-01 |
CN103493502B true CN103493502B (en) | 2016-11-30 |
Family
ID=
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002008948A2 (en) * | 2000-07-24 | 2002-01-31 | Vivcom, Inc. | System and method for indexing, searching, identifying, and editing portions of electronic multimedia files |
CN1784898A (en) * | 2002-12-24 | 2006-06-07 | Lg电子有限公司 | Video reproduction apparatus and intelligent skip method therefor |
CN101141627A (en) * | 2007-10-23 | 2008-03-12 | 深圳市迅雷网络技术有限公司 | Storage system and method of stream media file |
CN101552800A (en) * | 2008-04-01 | 2009-10-07 | 华为技术有限公司 | Method, device and system for providing media content |
CN101656094A (en) * | 2009-09-25 | 2010-02-24 | 杭州华三通信技术有限公司 | Data storage method and storage device |
CN101951412A (en) * | 2010-10-15 | 2011-01-19 | 上海交通大学 | Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof |
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002008948A2 (en) * | 2000-07-24 | 2002-01-31 | Vivcom, Inc. | System and method for indexing, searching, identifying, and editing portions of electronic multimedia files |
CN1784898A (en) * | 2002-12-24 | 2006-06-07 | Lg电子有限公司 | Video reproduction apparatus and intelligent skip method therefor |
CN101141627A (en) * | 2007-10-23 | 2008-03-12 | 深圳市迅雷网络技术有限公司 | Storage system and method of stream media file |
CN101552800A (en) * | 2008-04-01 | 2009-10-07 | 华为技术有限公司 | Method, device and system for providing media content |
CN101656094A (en) * | 2009-09-25 | 2010-02-24 | 杭州华三通信技术有限公司 | Data storage method and storage device |
CN101951412A (en) * | 2010-10-15 | 2011-01-19 | 上海交通大学 | Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof |
Non-Patent Citations (1)
Title |
---|
Information technology-MPEG systems technologies-Part 6: Dynamic adaptive streaming over HTTP (DASH);ISO copyright office;《SC 29/WG 11 N 11930: Study text of ISO/IEC DIS 23001-6 DASH, URL: http://www.3gpp.org/ftp/tsg_sa/WG4_CODEC/TSGS4_65/Docs/S4-110643.zip (29n119893.doc)》;20110806;1-109 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2753045B1 (en) | Method and device for transmitting stream media | |
CN105302903B (en) | Searching method, device, system and search result sequencing foundation determination method | |
CN105630977B (en) | Application program recommended method, apparatus and system | |
CN103944944B (en) | Method, electronic equipment and the system of sharing web page link | |
CN104967862A (en) | Video storage method and device, and video searching method and device | |
CN104980809A (en) | Barrage processing method and apparatus | |
CN104937583A (en) | Method and apparatus for performing adaptive streaming on media contents | |
KR20140088114A (en) | Media content voting, ranking, and playing system | |
CN102193999A (en) | Method and device for sequencing search results | |
KR20190035502A (en) | How to provide content creation services through ai-based content matching and its content creation server | |
US20170201563A1 (en) | Video data providing method, video playback method, device, and system | |
CN106227834A (en) | The recommendation method and device of multimedia resource | |
CN109862100B (en) | Method and device for pushing information | |
CN107665237B (en) | Data structure classification device, and unstructured data publishing and subscribing system and method | |
WO2016000507A1 (en) | Traffic-saving mode search service method, server, client and system | |
CN102043825A (en) | Motion picture providing apparatus, motion picture providing method, and program | |
CN103440243A (en) | Teaching resource recommendation method and device thereof | |
CN109978642A (en) | A kind of information recommendation method, device and communication equipment | |
CN106781753A (en) | A kind of training system suitable for different mobile terminal | |
CN102811167B (en) | Method and apparatus for the network based on hierarchical name structure | |
CN100365619C (en) | A method for playing multimedia data and a system of enabling the method | |
CN106254908B (en) | Multimedia resource playing method and device | |
EP2775703B1 (en) | Method and apparatus for managing crowd sourced content creation | |
CN103493502B (en) | The method and apparatus of transmission Streaming Media | |
CA3078190A1 (en) | Apparatus and method for automatic generation of croudsourced news media from captured contents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |