CN102611716A - Method and device for transmitting media file - Google Patents

Method and device for transmitting media file Download PDF

Info

Publication number
CN102611716A
CN102611716A CN2011100218671A CN201110021867A CN102611716A CN 102611716 A CN102611716 A CN 102611716A CN 2011100218671 A CN2011100218671 A CN 2011100218671A CN 201110021867 A CN201110021867 A CN 201110021867A CN 102611716 A CN102611716 A CN 102611716A
Authority
CN
China
Prior art keywords
media content
data cell
media
appear
medium
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
CN2011100218671A
Other languages
Chinese (zh)
Other versions
CN102611716B (en
Inventor
赵志杰
约翰·奥斯特曼
张少波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110021867.1A priority Critical patent/CN102611716B/en
Publication of CN102611716A publication Critical patent/CN102611716A/en
Application granted granted Critical
Publication of CN102611716B publication Critical patent/CN102611716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method for generating media presentation description file. The method comprises determining a media content needing repeated presentation in the media presentation process; generating a first data unit including a media content metadata for describing the first presented media content, which includes the media content needing repeated presentation; generating a second data unit including a media index tag to describe the repeatedly represented media content, the media index tag being used for indexing the media content in the first data unit to acquire the repeatedly represented media content; and combining the first data unit and the second data unit to obtain the media presentation description file. According to the embodiment of the invention, the method can reduce the size of the media representation description file by using the media index tag in the second data unit to index the media content in the first data unit so as to obtain the media content needing repeated representation.

Description

A kind of method of transmission medium file and device
Technical field
The present invention relates to a kind of network media transmission technology, particularly a kind of method of transmission medium file and device.
Background technology
In the adaptive media transmission system, for the variation that adapts to the network bandwidth with add extra media fragment flexibly, a media file is dividing in continuous in time and nonoverlapping media fragment usually.These media fragments are stored on the server, and these media fragments can be received the end independent access.Receiving terminal can be selected the media fragment of different editions (speed, resolution, visual angle etc.) according to the actual state of network or receiving terminal, and can between different media fragments, switch transmission according to the variation of the network bandwidth or the situation of receiving terminal.A media fragment possibly belong to unit's media file of beginning, also possibly be the new media fragment that in the media delivery process, adds, and generates the advertising segment that the back adds like the service provider at unit's beginning file.Advertising media's fragment of these addings may repeatedly be reused appearance during complete media services.In addition, in news broadcast, the media fragment of some hot news and accident also can be reused broadcast in the regular hour section.These media fragments that repeat to occur are reused transmission on network, with taking limited Internet resources, reduce the systematic function of adaptive media and user's Quality of experience.
Summary of the invention
The embodiment of the invention provides generation method that a kind of medium present description document and device, media file acquisition methods and device, media file transmission system, and medium present the data structure of description document.
A kind of medium present the generation method of description document, and it may further comprise the steps:
Confirm to present the media content that need repeat to appear in the process at medium;
Generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Generate second data cell, said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
Described first data cell and second data cell composition medium are presented description document.
A kind of acquisition methods of media file, it may further comprise the steps:
Receiving media presents description document;
Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear;
Media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell.
A kind of medium present the description document generating apparatus, and it comprises:
A kind of medium present the description document generating apparatus, it is characterized in that comprising:
Content identifier module repeats the media content that appears in order to confirm to appear at medium in the process;
The data cell generation module, in order to generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Described data cell generation module, also in order to generating second data cell, said second data cell comprises the media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
File generating module is in order to present described first data cell and second data cell composition medium in description document.
A kind of media file deriving means, it comprises:
Receiver module presents description document in order to receiving media; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear; And
The media content acquisition module obtains the media content that need repeat to appear in the described media content of first data cell in order to the media index sign through second data cell.
A kind of transmission system of media file, it comprises:
Receiving terminal presents description document in order to receiving media; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear; Media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell;
Server is in order to confirm presenting the media content that need repeat to appear in the process at medium; Generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Generate second data cell, said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear; Described first data cell and second data cell are formed medium present description document, and send said medium and present description document.
A kind of data structure that presents description document in order to the medium of setting up transmission relation at receiving terminal and server end end; Wherein, Said data structure comprises first data cell and second data cell; Said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said second data cell comprises media index sign, the said media content that repeats to appear in order to description; Said media index sign is used for the media content of said first data cell of index to obtain the media content that said needs repeat to appear, and the receiving terminal of said media file can obtain the media content that said needs repeat to appear through the medium institute tendering knowledge in said second data cell.
The medium that the embodiment of the invention provides present generation method and device, media file acquisition methods and device, the media file transmission system of description document; And medium present the data structure of description document; Thereby the media content that identifies the media content acquisition in index first data cell to repeat to occur through the media index in second data cell; Thereby can avoid in said second data cell, repeating to put down in writing the metadata of the media content that need repeat to appear; Thereby can guarantee to reduce the size that medium present description document when medium present the integrality of description document, present description document shared Internet resources in transmission course thereby further save at medium.
Description of drawings
Fig. 1 is the sketch map that a kind of medium that the embodiment of the invention provides present the description document data structure;
Fig. 2 is the generation method flow diagram that a kind of medium that the embodiment of the invention provides present description document;
Fig. 3 is the generation method flow diagram that a kind of medium that another embodiment of the present invention provides present description document;
Fig. 4 is the media file acquisition methods flow chart that the embodiment of the invention provides;
Fig. 5 is the media file acquisition methods flow chart that another embodiment of the present invention provides;
Fig. 6 is the module map that medium that the embodiment of the invention provides present the description document generating apparatus;
Fig. 7 is the module map that medium that another embodiment of the present invention provides present the description document generating apparatus;
Fig. 8 is the module map of the media file deriving means that provides of the embodiment of the invention;
Fig. 9 is the module map of the media file deriving means that provides of another embodiment of the present invention;
Figure 10 be the embodiment of the invention provide the module map of media file transmission system;
Embodiment
The embodiment of the invention provides a kind of medium to present description document in order to set up transmission relation at receiving terminal and server end end; Said data structure comprises first data cell and second data cell; Said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said second data cell comprises media index sign, the said media content that repeats to appear in order to description; Said media index sign is used for the media content of said first data cell of index to obtain the media content that said needs repeat to appear, and the receiving terminal of said media file can obtain the media content that said needs repeat to appear through the medium institute tendering knowledge in said second data cell.
The medium that the embodiment of the invention provides present description document; Thereby the media content that identifies the media content acquisition in index first data cell to repeat to occur through the media index in second data cell; Thereby can avoid in said second data cell, repeating to put down in writing the metadata of the media content that need repeat to appear; Thereby can guarantee to reduce the size that medium present description document when medium present the integrality of description document, present description document shared Internet resources in transmission course thereby further save at medium.
Below in conjunction with accompanying drawing and specific embodiment the embodiment of the invention is elaborated.
See also Fig. 1; A kind of medium present the data structure sketch map of description document 100; It is in order to describe the information list of a plurality of media content segments that constitute a complete media program that these medium present description document 100; These medium present description document 100 and supply receiving terminal to select the media content segments that meets the demands through definition and the relevant information of media program, such as having specific code check, the media file fragments of resolution or language and audio frequency.Medium present the information that description document 100 also comprises the access media content fragment usually, and the information of these access media content fragments has been arranged, and receiving terminal just can visit some media content segments through uniform resource locator.Because the unit of media program file beginning data volume is very big, therefore the unit's beginning data through the direct transmission medium program file of network will occupy a large amount of memory spaces and need very high transmission bandwidth, cause huge resource consumption.For can be under existing Internet resources condition, give receiving terminal through using rational resource with the instantaneous transmission of media program file, in the prior art will the media program file compress, transmit after the cutting; Wherein, the main purpose of compression is to reduce the data volume of media program file, is convenient to transmission; Media file after the compression is cut into a plurality of compressed media contents fragments again; After so whole media program file being divided into a plurality of undersized media content segments compressed packages; Just can adopt the mode of stream constantly to be transferred to receiving terminal the media content compressed package through traditional network; Receiving terminal is received after the said media content compressed package, it temporarily is stored in the buffer memory, when the buffering certain hour after/or the buffering in data reach a certain amount of after; The media content compressed package that receiving terminal/receiving terminal just can decompress received; After extracting corresponding media content segments, and carry out appearing/playing of medium after adopting suitable decoding instrument with the media content decoding, the media content segments of being watched will be deleted from buffer memory; Thereby discharge spatial cache to obtain new media content compressed package, can realize just that in this way online in real time watches media program.The stream transmission of this media file need be set up correct file transfer relation at receiving terminal and server end (in order to the server of compressed media file and distribution compressed package); This just need provide medium to present description document 100; Common medium present description document 100 and include a plurality of data cells; Described a plurality of meta-data unit includes some total attributes; Like compress mode, coded system, copyright information etc., and some particular attributes, like beginning and ending time, position etc.; These total attributes and particular attribute all are to use so that receiving terminal can obtain corresponding media content, and the media content that can adopt correct decompression, decoding process to come decompress(ion), decoding and broadcast to obtain.Although presenting in the description document 100 the various attributes of definition, existing medium can make the receiving terminal that transfers to that the media content compressed package can be correctly orderly; But development along with the network media; The variation of media program is found that existing medium appear and is comprised some redundant informations in the description document 100 often, as the same media content that repeats to appear; Owing to present the attribute that description document 100 comprised and can't discern the same media content of reusing through existing medium; Thereby this not only makes the data volume that causes medium to present description document 100 self bigger, and the buffer time when causing receiving terminal to watch stream matchmaker program is longer, the identical media content of transmission that also need repeat through network simultaneously; Thereby caused waste of network resources, and the reduction of efficiency of transmission.Therefore, the embodiment of the invention provides a kind of medium to present description document 100, thereby addresses the above problem.
The medium that the embodiment of the invention provided appear in the description document 100; This medium mark is stated and is comprised a plurality of data cells 110 in the file 100; Said data cell 110 is in order to describing the media content in the different time scope, and described data cell 110 presents sequencing in the process according to described media content at medium and is recorded in described medium and appears in the description document 100.
Each described data cell 110 comprises:
The alternative data description portion 112 that is provided with; In order to store the medium metadata medium metadata of described media content; Supply receiving terminal to obtain this described media content of data description portion, thereby realize appearing of media content according to the content in the described data description portion; And
Media content mark part 114, in order to the storing media content sign, said media content sign is in order to the described media content in unique identification data unit.Be appreciated that; Described data description portion 112 and media content mark part 114 only are to understand for ease that described medium present the concrete structure of description document 100 and the title of certain data segment of fictionalizing; The data segment of not representing described medium to appear in the description document 100 necessarily has such as the above-mentioned data description portion 112 or the title of media content mark part 114; In other words; The data segment that is comprised in said data description portion 112, the media content mark part 114 can be according to certain specific sequence arrangement, and does not need it to give a title.
Described data description portion 112 is in order to the characteristic of storing media content, like the metadata of media content, memory location, reproduction time.The described characteristic that is stored in the media content in the said data description portion 112 is to describe the data of media content and environment thereof, and standard, general describing method and gopher is provided for that distribute, various contents of media files and media content segments set.Particularly, the characteristic of described media content can be described memory location, the reproduction time of corresponding media file, attributes such as compression ratio, resolution, code check composition.In the medium transmission system in order to satisfy different customer demands and to adapt to different bandwidth constraints; With complete media program through overcompression and along its appear/the reproduction time axle cuts into a plurality of media content compressed packages; And give each some attribute of media content compressed package; These attribute is used to supply server and receiving terminal identification, and obtains these content compression bags, and these media content compressed packages are transferred to receiving terminal through continuous transmission manner on network; Simultaneously each content compression bag also can be according to according to different resolution, and code check is prepared a plurality of versions in order to be suitable for different user's requests; Above-described a plurality of media content compressed package has constituted a media content resource storehouse; When the user sends a media program request; Server end will be according to the dynamic media content of meeting customer need that disposes of client's demand; This media content is the set of a plurality of media content segments; Said server extract said a plurality of media content segments characteristics/properties and be combined into medium and present description document and be handed down to receiving terminal, receiving terminal just can obtain required medium metadata according to the content that said medium appear in the data description portion of description document.
Described media content mark part 114 identifies in order to storing media content.Media content in the described media content mark part 114 identifies the described media content of data cell that comprises this media content mark part 116 in order to unique identification, that is, the data cell of describing different media contents has different media content signs.It should be noted that; Because it is different that the different described media contents of data cell presents the sequential or the order that appear in the process at medium; Therefore; In order not distinguish, the described media content of described in embodiments of the present invention data cell does not comprise that describing media content appears/reproduction time or order.
The medium that the embodiment of the invention provides appear in the description document, and described data cell 110 is divided into first data cell 130 and second data cell 150 is described.Wherein,
Wherein, described first data cell 130 comprises the metadata of media content, and the metadata store of this media content is in the data description portion 132 of described first data cell 130, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Said second data cell 150 comprises media index sign, and this concordance list is known and can be stored in the data description portion 152 of described second data cell 150, the said media content that repeats to appear in order to description; Said media index sign is used for the media content of said first data cell of index to obtain the media content that said needs repeat to appear, and the receiving terminal of said media file can obtain the media content that said needs repeat to appear through the medium institute tendering knowledge in said second data cell.
Be provided with the media content sign in the media content mark part 134,154 in first data cell 130 and second data cell 150; Wherein, Be appreciated that; Described media content sign can be used as the key value in the index sign in said second data cell 150, makes between second data cell 150 and first data cell 130 and sets up corresponding relation.In addition; It should be noted that; First data cell 130 described herein and second data cell 150 are construed as representative and describe the media data units of the media content that appears first and describe the data cell that presents identical media content once more, should above-mentioned statement be interpreted as to be confined to the data cell that described medium present the media content that the data cell that only comprises the media content that a description is repeated to appear in the description document and description repeat to appear.
The medium that the embodiment of the invention provides present description document 100; Thereby the media content that identifies the media content acquisition in index first data cell 130 to repeat to occur through the media index in second data cell 150; Thereby can avoid in said second data cell 150, repeating to put down in writing the metadata of the media content that need repeat to appear; Thereby can guarantee to reduce the size that medium present description document 100 when medium present the integrality of description document 100, present description document 100 shared Internet resources in transmission course thereby further save at medium.
Further; When presenting description document 100 through above-mentioned medium after receiving terminal and server are set up transmission relation; To appear at medium and repeat in the process to appear in order to let receiving terminal can discern the described media content segments of which data cell, the media content segments that repeats to appear narrated resource shared in the process to reduce at media content thereby store this; The medium that embodiment provided by the invention provides appear and also comprise an alternative duplicate-identifier of adding in the data cell 110 of description document 100; The duplicate-identifier that selectivity described in the present embodiment is added can be stored in one and reuse in the mark part 116; Whether whether the said identifier of reusing comprises the described media content of this data cell of reusing identifier in order to sign and can appear at medium and repeat in the process to appear, promptly can be reused.For example, if the said identifier of reusing is False/Null, represent then that said data cell 110 described media contents appear at medium can not repeat in the process to appear; If the said identifiers of reusing of reusing in the mark part 116 are True, represent then that said data cell 110 described media contents appear in the process at medium to appear with repeating.
Particularly; Also comprise in first data cell 130 and reuse mark part 136; The said mark part 136 of reusing is reused identifier in order to storage; The described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell, so that said receiving terminal is stored the media content that said needs repeat to appear according to the said identifier of reusing.Reuse the setting of indications through this; Just can appear from these medium and identify first data cell, 130 described media contents the description document 100 and will be reused, but so that receiving terminal can be stored to the position that the receiving terminal fast speed is got with described first media content that data cell is described according to the described identifier of reusing, like local disk; High-speed cache; In the storage card, so as subsequent media appear need present identical media content in the process in, directly transfer the media content of having stored; And no longer need download from the media server end through network, to save Internet resources.For instance, in the playing process of media program, media program provider tends in program, repeatedly insert identical advertisement; These advertisement content are identical, the asynchronism(-nization) that just occurs, in this case; Reusing in first data cell 130 of the description advertisement part that occurs first are provided with the identifier of reusing that an expression reuses in the mark part 136; For example, adopt following form: Repeat:True, receiving terminal will be reused identifier according to this and stored the ad content that will be reused; And when follow-up reusing, directly call the ad content of having stored, to avoid obtaining through media server once more the advertisement of same content.
Present the attribute that increase expression first data cell 130 described media contents will be reused in the description document 100 at medium; Promptly reuse identifier; Through the described identifier of reusing, just can identify the media content of being reused, and when obtaining this media content that will be reused, just can store the media content that this quilt is reused; And in follow-up reuse process, directly call reuse and the media content that stored of this quilt; Thereby thereby avoid causing waste of network resources through the identical media content of transmission that network repeats, with the raising network transmission efficiency, and the customer experience quality of receiving terminal.
In addition; The data cell that description repeats to appear in some cases; Also can be considered to appear first, in this case, in second data cell 150 in the embodiment of the invention; The said identifier of reusing need be set equally make receiving terminal know that the media content described in this second data cell 150 will be appeared, the described identifier of reusing is set at one and reuses in the mark part 156.In addition; Reusing identifier and can also make receiving terminal can be informed in whole medium to appear in the process in said second data cell 150; Identical media content will be appeared several times; Whether will be with decision with being stored in local media content deletion to discharge local memory space; Particularly; With the medium presentative time is reference, and the identifier of reusing of second data cell 150 of the media content that last description repeats to appear representes that the described media content of this second data cell 150 will can not repeat to appear, and other identifiers of reusing of describing second data cell 150 of the identical media content that repeats to appear second data cell 150 of the media content that repeats to appear except that described last description represent that all the described media content of this second data cell 150 will repeat to appear.
The generation method that the embodiment of the invention also provides a kind of medium to present description document, it may further comprise the steps:
Confirm to present the media content that need repeat to appear in the process at medium;
Generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Generate second data cell, said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
Described first data cell and second data cell composition medium are presented description document.
The medium that the embodiment of the invention provides present the generation method of description document; Thereby the media content that identifies the media content acquisition in index first data cell to repeat to occur through the media index in second data cell; Thereby can avoid in said second data cell, repeating to put down in writing the metadata of the media content that need repeat to appear; Thereby can guarantee to reduce the size that medium present description document when medium present the integrality of description document, present description document shared Internet resources in transmission course thereby further save at medium.
Below in conjunction with accompanying drawing and specific embodiment the embodiment of the invention is elaborated.
See also Fig. 2, a kind of medium that another embodiment of the present invention provides present the generation method 200 of description document, and it may further comprise the steps:
201, confirm to present the media content that need repeat to appear in the process at medium;
In this step; Since media program provider can be in same media program when making media program inserting as identical media content repeatedly; Like advertisement, media content that these periodically insert and other partial content continuous distribution on time shaft in the media program have constituted the complete programme content with certain time length.This complete programme content is under the framework of now distributed storage; Often be stored in a plurality of different address; When server is received the demand of obtaining corresponding media program; Just will be from a plurality of different memory addresss just be that the positional information at media content segments content place and the various attribute informations of media content collect medium metadata the most with a plurality of media program fragments, and be that the making medium that next step is carried out in the basis present description document with these medium metadata.When the making medium present description document; Or server needs and will identify presenting the media content that will repeat to appear in the process at this media program according to the content of the content medium metadata of media program, presents description document thereby how decision becomes medium with these former data organizations of describing media content.
202, generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
In this step, the former data of the media content that appears are first put down in writing according to certain form, thereby generated first data cell, include the metadata of media content in this first data cell.Include media content that need repeat to appear and the media content that need not repeat to appear in the said media content.
203, generate second data cell, said second data cell comprises the media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
Generate second data cell in this step; Include media index sign in this second data cell, what the media content that this media index sign main purpose is to identify described in this second data cell is, corresponding to which first data cell; Therefore; Described index sign, the said media content that repeats to appear in order to description, and can index media content in said first data cell to obtain the said media content that repeats to appear.
Further; Server also can be provided with identical media content sign in first data cell of describing same media content and the content identification portion in second data cell; Thereby represent that the media content of describing in described first data cell and second data cell is identical, this media content identifier can make up said index sign as key value.Here; It should be noted that each corresponding medium metadata all has the title of oneself when server is collected the corresponding medium voxel data of media content segments; But the title to the medium metadata of using same media content is not necessarily identical; Because media program title when adopting distributed storage tends to produce change, therefore; Here need give describe identical media content first data cell give identical media content sign with second data cell, set up corresponding relation thereby the index that between first data cell and second data cell, identifies structure through said media content identifies; Owing to describe identical media content; Metadata in second data cell so; The metadata that just is stored in the media description portion of second data cell has not just needed duplicate record, and is designated index through described media content and just can obtains the content that is omitted in second media data units, therefore; Guaranteed promptly that medium present the integrality of description document, also reduced the data volume that medium present description document.
204, described first data cell and second data cell composition medium are presented description document.
In this step, generate first data cell, second data cell being documented in the file of certain form, can be to arrange described first data cell and second data cell according to the time sequencing that medium appear in the process in the process of record.
The medium that the embodiment of the invention provides present the generation method of description document; Thereby the media content that identifies the media content acquisition in index first data cell to repeat to occur through the media index in second data cell; Thereby can avoid in said second data cell, repeating to put down in writing the metadata of the media content that need repeat to appear; Thereby can guarantee to reduce the size that medium present description document when medium present the integrality of description document, present description document shared Internet resources in transmission course thereby further save at medium.
See also Fig. 3, further, it is further comprising the steps of that a kind of medium that the embodiment of the invention provides present the generation method 200 of description document:
205, identifier is reused in setting in said first data cell; The described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell, so that said receiving terminal is stored the media content that said needs repeat to appear according to the said identifier of reusing.
The purpose of this step is to supply receiving terminal to appear from these medium to identify first data cell, 130 described media contents the description document 100 and will be reused; So that but receiving terminal can be stored to the position that the receiving terminal fast speed is got according to described first media content that data cell is described of reusing the identifier general, thereby the position that in the process of reusing the endosome content, can store fast obtains.
The acquisition methods of a kind of media file that another embodiment of the present invention provides, it may further comprise the steps:
Receiving media presents description document;
Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear;
Media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell.
In the acquisition methods of the media file that the embodiment of the invention provides; Thereby the medium that obtained present the media content that identifies the media content acquisition in index first data cell to repeat to occur through the media index in second data cell in the description document; Thereby can avoid in said second data cell, repeating to put down in writing the metadata of the media content that need repeat to appear; Thereby can guarantee to reduce the size that medium present description document when medium present the integrality of description document, present description document shared Internet resources in transmission course thereby further save at medium.
Further; Said media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell and comprised: the media index through second data cell identifies the metadata of obtaining the media content that need repeat to appear in the described media content of first data cell, obtains the media content that said needs repeat to appear according to said metadata.
Further, state first data cell and comprise and reuse identifier that the described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell; Accordingly, described medium acquisition methods also comprises;
Accordingly, the acquisition methods of a kind of media file provided by the invention also comprises:
According to the memory address that identifier will leave correspondence according to the media content that repeats to appear that the metadata of the media content in this first data cell is obtained in of reusing of said first data cell, set up the index relative of said memory address and said media index sign;
Correspondingly, said media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell and is comprised:
According to the said memory address of media index identification index of second data cell, obtain the media content that said needs repeat to appear according to said memory address.
Also reuse the media content that identifier makes the storage of receiving terminal identification needs in the acquisition methods of the media file that the embodiment of the invention provides through appearing at medium to be provided with in the description document; Thereby obtaining when medium present the media content that repeats in the process to appear and need not obtain corresponding media content through network; Get final product and only need call the media content of having stored; So; Just the data traffic in the media file transmission course be can reduce, thereby adaptive media systematic function and user experience quality improved.Provide detailed description below in conjunction with accompanying drawing.
See also Fig. 4, the acquisition methods 300 of a kind of media file that another embodiment of the present invention provides, this media file acquisition methods 300 is realized in the media system that is made up of server end, receiving terminal and transmission network.
301, receiving media presents description document; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear;
302, obtain the media content that need repeat to appear in the described media content of first data cell through the media index sign of second data cell.
In this step; Receiving terminal just can obtain corresponding media content according to the content that medium present description document after obtaining said medium to present description document; Because medium appear and have comprised a plurality of data cells that are applicable to heterogeneous networks situation and user's request in the description document; Therefore, receiving terminal can select appropriate data cell to obtain corresponding media content according to self networks situation and user's request.For example; When network state comparatively block up, can watch continuous media program in order to guarantee receiving terminal, receiving terminal just can select compression ratio bigger; The smaller data cell of data content is used as target and obtains corresponding media content; Then can select compression ratio less when network condition is comparatively unobstructed, data content is more, and programme content data cell more clearly is used as the media content that target is obtained correspondence.In the process of obtaining the described media content of second data cell; Can indicate through index in said second data cell and obtain the media content that need repeat to appear in the described content of first data cell, thereby need not present the metadata that repeats to put down in writing the media content that need repeat to appear in the description document at described medium; To reduce the data volume that medium present description document, present the buffer time in the process thereby shorten at media content, meanwhile can also reduce medium and present description document needed Internet resources in transmission course.
Further, said first data cell comprises reuses identifier, and the described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell;
Accordingly, see also Fig. 5, the acquisition methods of a kind of media file provided by the invention also comprises:
303,, set up the index relative of said memory address and said media index sign according to the memory address that identifier will leave correspondence according to the media content that repeats to appear that the metadata of the media content in this first data cell is obtained in of reusing of said first data cell;
In this step; In the described media content of said first data cell of storage; Set up corresponding relation between memory address that will stored said media content and the index of said second data cell sign; That is can be that mode through indexed links is with setting up linking relationship between the memory address of the described media content of said first data cell and the described index sign;
Correspondingly, step 302 is: according to the said memory address of media index identification index of second data cell, obtain the media content that said needs repeat to appear according to said memory address.
In this step; Because the corresponding relation of having set up between the memory address of the media content of the index of said second data cell sign and first data cell; When obtaining the described media content of second data cell; Just can directly obtain the memory address of media content, and obtain the required media content that repeats to appear in the said memory address of young woman in village according to described index sign.
In this process; Receiving terminal will be stored the described media content of this first data cell according to the identifier of reusing in first data cell; And when obtaining the described media content of second data cell; Be designated index with described index and find the media content of having stored, thereby can reduce the data traffic in the media file transmission course, thereby improve adaptive media systematic function and user experience quality.
See also Fig. 6; The generating apparatus 500 that the embodiment of the invention provides a kind of medium to present description document; The generating apparatus 500 that these medium present description document is to be used to realize above-mentioned method; Can be that this device 500 comprises that it comprises at a web medium server or independent equipment and media server cooperating:
Content identifier module 510 repeats the media content that appears in order to confirm to appear at medium in the process;
Data cell generation module 520, in order to generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Described data cell generation module 520, also in order to generating second data cell, said second data cell comprises the media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
And file generating module 530, in order to described first data cell and second data cell composition medium are presented description document.
Further, see also Fig. 7, said medium present description document generating apparatus 500 and also comprise sending module 540, send to receiving terminal in order to described medium are presented description document;
Correspondingly; Described data cell generation module 520 is also reused identifier in order in said first data cell, to be provided with; The described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell, so that said receiving terminal is stored the media content that said needs repeat to appear according to the said identifier of reusing.
The realization mechanism of generation method that realization mechanism and the medium that the embodiment of the invention provides that the medium that the embodiment of the invention provides present the generating apparatus 500 of description document present description document is identical; And can reach same technique effect; For brevity, incite somebody to action not superfluous once more stating.
See also Fig. 8; Further embodiment of this invention provides a kind of deriving means 600 of media file; The deriving means 600 of this media file is to be used to realize above-mentioned method, can be that this device 600 comprises at a web medium server or independent equipment and media server cooperating:
Receiver module 610 presents description document in order to receiving media; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear;
Media content acquisition module 620 obtains the media content that need repeat to appear in the described media content of first data cell in order to the media index sign through second data cell.
Further; Said media content acquisition module 620; In order to obtain the metadata of the media content that need repeat to appear in the described media content of first data cell through the media index sign of second data cell, obtain the media content that said needs repeat to appear according to said metadata.
Further, said first data cell comprises reuses identifier, and the described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell; Accordingly, see also Fig. 9, described media file deriving means also comprises:
Memory module 630; According to the memory address that identifier will leave correspondence according to the media content that repeats to appear that the metadata of the media content in this first data cell is obtained in of reusing of said first data cell, set up the index relative of said memory address and said media index sign; Correspondingly, said media content acquisition module in order to the said memory address of media index identification index according to second data cell, obtains the media content that said needs repeat to appear according to said memory address.
The realization mechanism of the deriving means 600 of the media file that the embodiment of the invention provides is identical with the realization mechanism of the media file acquisition methods that the embodiment of the invention provides, and can reach same technique effect, for brevity, incites somebody to action not superfluous once more stating.
See also Figure 10; Further embodiment of this invention provides a kind of transmission system 800 of media file; This document transmission system 800 is to comprise receiving terminal 810 and the server 820 that connects through network, and this system also is the method for describing among the said method embodiment in order to realize.Wherein,
Said receiving terminal 810 presents description document in order to receiving media; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear; Media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell;
Described server 820 is in order to confirm presenting the media content that need repeat to appear in the process at medium; Generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Generate second data cell, said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear; Described first data cell and second data cell are formed medium present description document, and send said medium and present description document.
Through the description of above execution mode, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product, and this computer software product is stored in the storage medium that can read, like the floppy disk of computer; Hard disk or CD etc.; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.

Claims (13)

1. medium present the generation method of description document, it is characterized in that may further comprise the steps:
Confirm to present the media content that need repeat to appear in the process at medium;
Generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Generate second data cell, said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
Described first data cell and second data cell composition medium are presented description document.
2. medium as claimed in claim 1 present the generation method of description document, it is characterized in that said method also comprises: said medium are presented description document send to receiving terminal;
Correspondingly; In said first data cell, be provided with and reuse identifier; The described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell, so that said receiving terminal is stored the media content that said needs repeat to appear according to the said identifier of reusing.
3. the acquisition methods of a media file is characterized in that may further comprise the steps:
Receiving media presents description document;
Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear;
Media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell.
4. media file acquisition methods as claimed in claim 3 is characterized in that: said first data cell comprises reuses identifier, and the described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell; Accordingly, described medium acquisition methods also comprises:
According to the memory address that identifier will leave correspondence according to the media content that repeats to appear that the metadata of the media content in this first data cell is obtained in of reusing of said first data cell, set up the index relative of said memory address and said media index sign;
Correspondingly, said media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell and is comprised:
According to the said memory address of media index identification index of second data cell, obtain the media content that said needs repeat to appear according to said memory address.
5. media file acquisition methods as claimed in claim 3; It is characterized in that: said media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell and comprised: the media index through second data cell identifies the metadata of obtaining the media content that need repeat to appear in the described media content of first data cell, obtains the media content that said needs repeat to appear according to said metadata.
6. medium present the description document generating apparatus, it is characterized in that comprising:
Content identifier module repeats the media content that appears in order to confirm to appear at medium in the process;
The data cell generation module, in order to generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear;
Described data cell generation module, also in order to generating second data cell, said second data cell comprises the media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear;
File generating module is in order to present described first data cell and second data cell composition medium in description document.
7. a kind of medium as claimed in claim 6 present the description document generating apparatus, it is characterized in that also comprising:
Sending module sends to receiving terminal in order to described medium are presented description document;
Correspondingly; Described data cell generation module is also reused identifier in order in said first data cell, to be provided with; The described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell, so that said receiving terminal is stored the media content that said needs repeat to appear according to the said identifier of reusing.
8. media file deriving means is characterized in that comprising:
Receiver module presents description document in order to receiving media; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear; And
The media content acquisition module obtains the media content that need repeat to appear in the described media content of first data cell in order to the media index sign through second data cell.
9. media file deriving means as claimed in claim 8 is characterized in that, said first data cell comprises reuses identifier, and the described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell; Accordingly, described media file deriving means also comprises:
Memory module; According to the memory address that identifier will leave correspondence according to the media content that repeats to appear that the metadata of the media content in this first data cell is obtained in of reusing of said first data cell, set up the index relative of said memory address and said media index sign; Correspondingly, said media content acquisition module in order to the said memory address of media index identification index according to second data cell, obtains the media content that said needs repeat to appear according to said memory address.
10. media file deriving means as claimed in claim 8; It is characterized in that; Said media content acquisition module; In order to obtain the metadata of the media content that need repeat to appear in the described media content of first data cell through the media index sign of second data cell, obtain the media content that said needs repeat to appear according to said metadata.
11. the transmission system of a media file is characterized in that comprising:
Receiving terminal presents description document in order to receiving media; Said medium appear and comprise first data cell in the description document, and said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said medium appear and also comprise second data cell in the description document, and said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the media content that said needs repeat to appear; Media index sign through second data cell is obtained the media content that need repeat to appear in the described media content of first data cell;
Server is in order to confirm presenting the media content that need repeat to appear in the process at medium; Generate first data cell, said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Generate second data cell, said second data cell comprises media index sign, the said media content that repeats to appear in order to description; The media content that said media index sign is used for said first data cell of index is to obtain the said media content that repeats to appear; Described first data cell and second data cell are formed medium present description document, and send said medium and present description document.
12. data structure that presents description document in order to the medium of setting up transmission relation at receiving terminal and server end end; It is characterized in that: said data structure comprises first data cell and second data cell; Said first data cell comprises the metadata of media content, in order to describe the media content that appears first; Said media content comprises the media content that said needs repeat to appear; Said second data cell comprises media index sign, the said media content that repeats to appear in order to description; Said media index sign is used for the media content of said first data cell of index to obtain the media content that said needs repeat to appear, and the receiving terminal of said media file can obtain the media content that said needs repeat to appear through the medium institute tendering knowledge in said second data cell.
13. medium as claimed in claim 12 present description document; It is characterized in that: comprise in said first data cell and reuse identifier; The described identifier of reusing is used to identify the media content that need repeat to appear described in said first data cell, so that said receiving terminal is stored the media content that said needs repeat to appear according to the said identifier of reusing.
CN201110021867.1A 2011-01-19 2011-01-19 Method, device and system for transmitting media file Active CN102611716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110021867.1A CN102611716B (en) 2011-01-19 2011-01-19 Method, device and system for transmitting media file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110021867.1A CN102611716B (en) 2011-01-19 2011-01-19 Method, device and system for transmitting media file

Publications (2)

Publication Number Publication Date
CN102611716A true CN102611716A (en) 2012-07-25
CN102611716B CN102611716B (en) 2015-05-06

Family

ID=46528869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110021867.1A Active CN102611716B (en) 2011-01-19 2011-01-19 Method, device and system for transmitting media file

Country Status (1)

Country Link
CN (1) CN102611716B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866882A (en) * 2012-08-28 2013-01-09 厦门亿联网络技术股份有限公司 Media file playing method under resource-constrained condition
CN105933934A (en) * 2016-03-30 2016-09-07 维沃移动通信有限公司 Multimedia information transmission method and mobile terminal
CN109275007A (en) * 2018-09-30 2019-01-25 联想(北京)有限公司 A kind of processing method and electronic equipment
CN110941845A (en) * 2019-12-13 2020-03-31 北京锐安科技有限公司 File acquisition method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061369A1 (en) * 2001-09-24 2003-03-27 Emre Aksu Processing of multimedia data
CN1607832A (en) * 2003-10-15 2005-04-20 微软公司 Inferring information about media stream objects
US20070094231A1 (en) * 2003-06-05 2007-04-26 Kim Du-Ii Method of efficiently managing multimedia content and storage medium storing therein multimedia content using the same
CN101075894A (en) * 2007-07-09 2007-11-21 中兴通讯股份有限公司 Method for repeating multi-medium broadcasting/packet broadcasting service
CN101359996A (en) * 2007-08-02 2009-02-04 华为技术有限公司 Media service presenting method, communication system and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061369A1 (en) * 2001-09-24 2003-03-27 Emre Aksu Processing of multimedia data
US20070094231A1 (en) * 2003-06-05 2007-04-26 Kim Du-Ii Method of efficiently managing multimedia content and storage medium storing therein multimedia content using the same
CN1607832A (en) * 2003-10-15 2005-04-20 微软公司 Inferring information about media stream objects
CN101075894A (en) * 2007-07-09 2007-11-21 中兴通讯股份有限公司 Method for repeating multi-medium broadcasting/packet broadcasting service
CN101359996A (en) * 2007-08-02 2009-02-04 华为技术有限公司 Media service presenting method, communication system and related equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866882A (en) * 2012-08-28 2013-01-09 厦门亿联网络技术股份有限公司 Media file playing method under resource-constrained condition
CN105933934A (en) * 2016-03-30 2016-09-07 维沃移动通信有限公司 Multimedia information transmission method and mobile terminal
CN109275007A (en) * 2018-09-30 2019-01-25 联想(北京)有限公司 A kind of processing method and electronic equipment
CN110941845A (en) * 2019-12-13 2020-03-31 北京锐安科技有限公司 File acquisition method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN102611716B (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN105610954B (en) Media information processing method and system
CN104572952B (en) The recognition methods of live multimedia file and device
CN102055717A (en) Quick playing method, terminal and server
CN101677325B (en) Method, device and system for publishing media description information and acquiring media
CN104967862A (en) Video storage method and device, and video searching method and device
CN105049287A (en) Log processing method and log processing devices
CN102217313B (en) Method, device and system for resetting and extracting media data in fragments
CN104506493A (en) HLS content source returning and caching realization method
CN103164525B (en) WEB application dissemination method and device
CN103531218B (en) A kind of online multimedia file editing method and system
US8422786B2 (en) Analyzing documents using stored templates
CN104348714A (en) Mobile terminal, server and friend-based application program recommendation method
CN104580310A (en) Log processing method and server
CN100383794C (en) Searching method, holding method and searching system for dictionary-like data
CN102611716B (en) Method, device and system for transmitting media file
CN102402542A (en) Video tagging method and system
US20140164574A1 (en) Method and System for Downloading a Font File
WO2021068891A1 (en) Method, system, electronic device, and storage medium for storing and collecting temperature data
CN104412605A (en) Transmission device, information processing method, program, reception device, and application linking system
CN113873288A (en) Method and device for generating playback in live broadcast process
CN104978671A (en) New advertisement push method and apparatus
KR20050117827A (en) Method and apparatus of processing slide show data in dab
CN107395377B (en) Broadcast list pushing method
CN105095216A (en) Data assembling method and device and resource communication system
CN105704215A (en) File sharing system and corresponding file sending and receiving method and device

Legal Events

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