CN103747365B - Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream - Google Patents

Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream Download PDF

Info

Publication number
CN103747365B
CN103747365B CN201310547978.5A CN201310547978A CN103747365B CN 103747365 B CN103747365 B CN 103747365B CN 201310547978 A CN201310547978 A CN 201310547978A CN 103747365 B CN103747365 B CN 103747365B
Authority
CN
China
Prior art keywords
media content
burst
client
http
target
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
Application number
CN201310547978.5A
Other languages
Chinese (zh)
Other versions
CN103747365A (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 Cloud Computing 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 CN201310547978.5A priority Critical patent/CN103747365B/en
Priority claimed from CN2010102919455A external-priority patent/CN102137137B/en
Publication of CN103747365A publication Critical patent/CN103747365A/en
Application granted granted Critical
Publication of CN103747365B publication Critical patent/CN103747365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a method, a device and a system for dynamic inter-cut of media contents based on an HTTP (Hyper Text Transport Protocol) stream, which relate to the technical field of videos, and can realize the dynamic inter-cut of the individual media contents. The method for transmitting the dynamic media contents through the HTTP stream comprises the steps that a server side receives request information which carries user information and is sent by a client side; target media contents are selected from local-storage media contents according to the user information; and the target media contents are sent to the client side so as to be convenient for the client side to broadcast the contents. The embodiment of the invention is mainly applicable to the process of the dynamic inter-cut of the media contents, and the individualized inter-cut of the media contents can be realized when the client side watches programs through the HTTP stream.

Description

Media content dynamic inserting method, the apparatus and system flowed based on HTTP
Technical field
The present invention relates to video technique field, more particularly to a kind of dynamic inserting method of media content based on HTTP streams, Apparatus and system.
Background technology
At present, the dynamic of media content is intercutted can realize intercutting different media contents in program stream.For example, individual character Changing advertisement insertion can realize when user clicks on certain video, according to the customized information of user before video playback, depending on Frequency is played and terminates insertion personalized video advertisements, or stops playing program in video display process, inserts personalized advertisement Content, advertisement returns again to original program after terminating.
Prior art provides a kind of HTTP(Hypertext Transfer Protocol, HTML (Hypertext Markup Language)) Streaming technologies can realize advertisement insertion.One content of multimedia can be divided into using the HTTP Streaming Several media slicings, are transferred to client by http protocol afterwards.Above-mentioned content of multimedia divides all media for drawing The URL of burst(Uniform Resource Locator, URL)All pass through one(media Presentation description, media exhibition description)MPD file is describing.The structure of the MPD file such as Fig. 1 institutes Show, wherein, according to the sequencing of time shafts, a MPD is divided into one or more periods Period, wraps again in each Period Description information Representation containing different code checks, burst information Segmentinfo of each Representation is retouched The URL of several media slicings is stated.Client needs elder generation when content of multimedia is played using HTTP Streaming technologies The MPD file is asked, afterwards the URL request of each media slicing in the MPD file plays the content of media slicing.
Using existing HTTP Streaming technologies when the dynamic for realizing media content is intercutted, inserted with the dynamic of advertisement As a example by broadcasting, can be realized by the following two kinds mode:
Mode one:Respectively programme content is directly divided into into program burst in the encoder, directly divides ad content For advertisement burst, and slicing sequence is generated using program burst and advertisement burst.When client receives the MPD that server is issued After file, the slicing sequence described according to MPD file each burst one by one in the acquisition request slicing sequence.Work as client When the burst of request is program burst, the content of the program burst is played, what is now played is program;When dividing for client request When piece is advertisement burst, the content of the advertisement burst is played, what is now played is advertisement, so as to realize advertisement insertion.
Mode two:When server issues MPD file to client, program burst of the server in the MPD file description Insert after advertisement burst in sequence, be issued to client.After client is according to the insertion advertisement burst described in MPD file Slicing sequence acquisition request and plays each burst one by one.
The content of the invention
Embodiments of the invention provide a kind of media content dynamic inserting method, apparatus and system flowed based on HTTP, can To solve the problems, such as to realize that personalization is intercutted when media content passes through HTTP streaming.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of media content dynamic inserting method flowed based on HTTP, dynamic media content is by HTTP streaming, the party Method includes:
Receive the request message for carrying user profile that client sends;
Target media content is filtered out from locally stored media content according to the user profile;
The target media content is sent to the client, is played out in order to the client.
A kind of media content dynamic inserting method flowed based on HTTP, dynamic media content passes through HTTP streaming, including:
The request message for carrying user profile is sent to service end;
The media content matched with the user profile that the service end sends is received, and is played in the media Hold.
A kind of media content dynamic flowed based on HTTP intercuts device, and dynamic media content is by HTTP streaming, the dress Put including:
First receiving unit, for receiving the request message for carrying user profile of client transmission;
Screening unit, for being filtered out in target medium from locally stored media content according to the user profile Hold;
First transmitting element, for sending the target media content to the client, enters in order to the client Row is played.
Another kind intercuts device based on the media content dynamic of HTTP streams, and dynamic media content is by HTTP streaming, bag Include:
First transmitting element, for sending the request message for carrying user profile to service end;
First receiving unit, for receiving the media content matched with the user profile that the service end sends, And play the media content.
A kind of media content dynamic cut system flowed based on HTTP, including:
A kind of media content dynamic flowed based on HTTP as above intercuts device, for receiving taking for client transmission Request message with user profile;Filtered out in target medium from locally stored media content according to the user profile Hold;The target media content is sent to the client, is played out in order to the client;
Another kind of media content dynamic based on HTTP streams as above intercuts device, carries for sending to service end There is the request message of user profile;The media content matched with the user profile that the service end sends is received, and is broadcast Put the media content.
The embodiment of the present invention by described by above-mentioned technical proposal, when client is by HTTP stream viewing programs, client The media content that termination is received is drawn by service end according to user profile screening, because the user profile of different clients has There is the difference of personalization, so that the personalized digital media content for meeting respective demand that no user can receive.With In prior art when client is by HTTP stream viewing programs, all clients of the same program of program request seeing all be identical Media content compare, the embodiment of the present invention can cause all clients of the same program of program request to see to meet features Personalized dynamic media content, so as to solve prior art in cannot realize when media content passes through HTTP streaming The problem that property is intercutted, the personalization for realizing dynamic media content is intercutted.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation of MPD file in prior art;
Fig. 2 is a kind of flow chart of media content dynamic inserting method flowed based on HTTP provided in an embodiment of the present invention;
Fig. 3 is the flow process of another kind of media content dynamic inserting method based on HTTP streams provided in an embodiment of the present invention Figure;
Fig. 4 is that a kind of media content dynamic flowed based on HTTP that employing mode provided in an embodiment of the present invention is realized is inserted The flow chart of broadcasting method;
Fig. 5 is the media content dynamic that the another kind that employing mode provided in an embodiment of the present invention is realized is flowed based on HTTP The flow chart of inserting method;
Fig. 6 is also a kind of media content dynamic flowed based on HTTP that employing mode provided in an embodiment of the present invention is realized The flow chart of inserting method;
Fig. 7 is the media content dynamic side of intercutting flowed based on HTTP that employing mode provided in an embodiment of the present invention two is realized The flow chart of method;
Fig. 8 is the structure chart that a kind of media content dynamic flowed based on HTTP provided in an embodiment of the present invention intercuts device;
Fig. 9 is the service end structure chart that employing mode provided in an embodiment of the present invention is realized;
Figure 10 is the service end structure chart that employing mode provided in an embodiment of the present invention two is realized;
Figure 11 is the structure that another kind of media content dynamic based on HTTP streams provided in an embodiment of the present invention intercuts device Figure;
Figure 12 is the client terminal structure figure that employing mode provided in an embodiment of the present invention is realized;
Figure 13 is the client terminal structure figure that employing mode provided in an embodiment of the present invention two is realized.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Embodiment as shown in Figure 2 provides a kind of media content dynamic inserting method flowed based on HTTP, in the media Appearance is transmitted between service end and client using HTTP streams, describes the method from service end below, including:
201st, the request message for carrying user profile that client sends is received.
The user profile can be the mark of user, such as ID;Or the user profile can also be one Position that the name of the description information of complete user, such as user, sex, hobby, user are located etc..During practical application, The user profile can be described in the request message using xml forms, but be not limited to xml forms.
202nd, target media content is filtered out from locally stored media content according to the user profile.
Because existing service end has the function of being screened to media content, when service end receives user's letter During breath, it is possible to use the screening function itself having using the user profile as screening conditions, from locally stored media Target media content is filtered out in appearance.The target media content that this is filtered out matches with the user profile.
203rd, the target media content is sent to the client, play out in order to the client.
Embodiment as shown in Figure 3 provides a kind of media content dynamic inserting method flowed based on HTTP, in the media Appearance is transmitted between service end and client using HTTP streams, describes the method from client-side below, including:
301st, the request message for carrying user profile is sent to service end.
302nd, the media content matched with the user profile that the service end sends is received, and plays the media Content.
The media content dynamic inserting method flowed based on HTTP provided in an embodiment of the present invention, is received due to client Media content is that service end draws according to user profile screening, and the user profile of different clients has personalized difference It is different, so that no user can receive the dynamic media content for meeting respective demand.With work as client in prior art When end is by HTTP stream viewing programs, all clients of the same program of program request seeing all be identical dynamic media content phase Than the embodiment of the present invention can cause all clients of the same program of program request to see the personalization dynamic for meeting features Media content, so as to solve prior art in media content pass through HTTP streaming when cannot realize personalization intercut ask Topic, the personalization for realizing dynamic media content is intercutted.
When being embodied as, dynamic media content provided in an embodiment of the present invention includes:Advertisement, the trailer of program, program One of branching storyline or combination in any.
The media content dynamic inserting method flowed based on HTTP provided in an embodiment of the present invention can adopt the following two kinds reality Existing mode:
Mode one, service end inserts media content preset information in MPD file, after client request is to MPD file, When media content preset information is read, information and media content fragmenting on position are obtained to service end according to media content Media content request message is sent, user profile is carried in request, service end filters out target media content according to user profile. Afterwards, the burst address of target media content and/or content fragment are returned to into client, client is according to the target matchmaker for receiving The burst Address requests content fragment for holding in vivo or the content fragment for playing reception.
Mode two, client to service end sends MPD request messages, and the MPD request messages carry user profile.Clothes Business end carries out media content screening according to the user profile for receiving, and by the corresponding burst of the target media content for filtering out Location is inserted in MPD file, and afterwards, service end sends the MPD file to client.Client is according in the MPD file Burst address sequence ask burst content one by one, if request to program burst address, receive service end send section Mesh content is simultaneously played;If request is to the burst address of target media content, receives the burst of target media content and play.
Above two implementation is carried out separately below completely, introduce in detail.
Embodiment as shown in Figure 4 provides a kind of media content dynamic inserting method flowed based on HTTP, and the method is concrete Realize that personalized digital media content is intercutted using aforesaid way one, comprise the steps:
401st, after the MPD request messages that the client sends are received, transmission is inserted with media content preset information MPD file give the client.
The media content preset information may be located in Period, or under Period In Representation, or may be located in the Segmentinfo under the Representation under Period; The media content preset information includes:Media content obtains information, first media content fragmenting on position;
It should be noted that the media content obtains information identifying including media content on position.In the media Hold on position to identify for the acquisition information related to the media content on position.The first media content fragmenting is inserted Enter the insertion index that position can be insertion time or relative program burst.
During practical application, as shown in following table one, under the Segmentinfo in Representation under Period Increase media content preset information(Referring to the AdInfo in table one), the media content preset information may be located on Period, or may be alternatively located in the Representation under Period.The media content preset information includes three Attribute:Media content obtains information(Referring to the Ad-sourceURL in table one), first media content fragmenting insertion index(Referring to Ad-InsertIndex in table one), first media content fragmenting insert the time(Referring to the Ad-starttime in table one).
The first media content fragmenting insertion index(Referring to the Ad-InsertIndex in table one), for when program point When piece address is represented using UrlTemplate, program burst index value be equal to Ad-InsertIndex program burst it Front insertion media content, thus the value of the Ad-InsertIndex is in the initial value of program burst(Referring in table one startindex)And end value(Referring to the endindex in table one)Between.
The first media content fragmenting inserts the time(Referring to the Ad-starttime in table one), for when program burst When address is represented using UrlTemplate or Url, it is played in the time insertion media that Ad-starttime is represented in program Hold.If program burst address is represented using Url and AdInfo is located between Url and Ad-starttime is undefined, press Order according to AdInfo in Url carrys out the insertion moment of the first burst of presentation medium content;
Table one
402nd, client obtains the media that information transmission carries user profile according to the media content in above-mentioned MPD file The first request message of content.
For example, the description of the Period of media content preset information is carried in the MPD file that above-mentioned client is received It is expressed as follows;
It should be noted that in the SegmentInfo of above-mentioned Period, program burst address is described by url, example Such as,<url sourceurl=”www.example.com/program1.3gp”>Expression top line burst address,<url sourceurl=”www.example.com/program2.3gp”>Second program burst address of expression,<url sourceurl=”www.example.com/program3.3gp>Represent the 3rd program burst address, it is assumed that during each burst A length of 10s.Media content preset information is described by AdInfo, for example, http://www.example.com/Adselect/ 33 are used for presentation medium content obtaining information, wherein, http://www.example.com/Adselect presentation medium contents are obtained Take address, 33 presentation medium content on position mark.It is assumed that above-mentioned media content obtains address specifically may map to service The dynamic of media content processes file on end.
Client detect and process above-mentioned Period process it is as follows:The AdInfo in client detects above-mentioned Period When, can learn contain in above-mentioned Period media content preset information.Afterwards, client successively according to above-mentioned Period under Representation in SegmentInfo in burst address order successively to service end send fragment request.First According to above-mentioned program burst sequence of addresses to service end request program content fragment, server is returned in program burst client Hold.When the insertion time that Ad-starttime is represented is reached, user end to server sends the first request message of media content, User profile is carried in the first request message of above-mentioned media content.Above-mentioned user profile can be ID, or can also It is complete user description information, position that the name of such as user, sex, hobby, user are located etc..
In addition, if service end have recorded user description information, then only need in the first request message of above-mentioned media content ID is carried, now, the above-mentioned first request message of media content for obtaining information transmission according to media content can be with table Show as follows:
GET/Adselect/33/%userId%
Host:www.example.com
Wherein, media content obtains information and is made up of media content acquisition address and media content on position mark, on " www.example.com/Adselect " the presentation medium content obtaining address in message body is stated, " 33 " presentation medium content is inserted Enter station location marker, " userId " represents ID.
403rd, service end filters out target media content according to the user profile from locally stored media content.
Specifically, media content on position mark of the service end in the media content acquisition information obtains media Content on position information, the media content on position information includes the duration of media content on position and the matchmaker Hold the program of on position association in vivo.For example, the dynamic of the media content in service end processes file according in above-mentioned media Hold on position mark " 33 " and obtain media content on position information.
Afterwards, service end according to the user profile and the media content on position information from locally stored media Target media content is filtered out in content.The target media content matches with the user profile.
404th, service end sends the first response message of media content to client, the first response message bag of the media content Include all burst addresses of the target media content.
For example, the form of the first response message of the media content can be expressed as follows:
Wherein,<Url sourceURL="adseg-1.3gp"/>、<Url sourceURL="adseg-2.3gp"/>、< Url sourceURL="adseg-3.3gp"/>Represent all burst addresses of the target media content.The burst address Description scheme can be consistent with the SegmentInfo and its daughter element structure definition in existing MPD.
405th, client is received after the first response message of above-mentioned media content, after sending according to the burst address successively Continuous fragment request message.
If it should be noted that comprising initialization burst address in the first response message of above-mentioned media content, then need First to ask to initialize burst, otherwise directly according to burst address send request, concrete request process and existing program one by one Fragment request process is identical, will not be described here.
406th, service end sends and corresponding point of the burst address carried in successive fragment request to the client Piece content.
Further, as shown in figure 5, above-mentioned steps 404-406 may be replaced by the realization of following steps 404A-408A:
404A, service end send the first response message of media content to the client, the first response of the media content Message includes mark, burst number and first burst content of the target media content;
For example, the form of the first response message of the media content can be expressed as follows:
Wherein ... moof ... mfhd ... .tfra ... trun ... illustrates first burst content;segmentNumber Burst number is illustrated, contentIndex illustrates media content index;
405A, client are received after the first response message of above-mentioned media content, play the of the target media content One burst content.
406A, mark and burst index value that the target medium is carried according to media content acquisition information transmission Successive fragment request message.
For example, the structure of the successive fragment request message can be expressed as follows:
GET/Adselect/33/%Contentindex%/%index%
Host:www.example.com
Wherein, media content obtains information and is made up of media content acquisition address and media content on position mark, on " www.example.com/Adselect " the presentation medium content obtaining address in message body is stated, " 33 " presentation medium content is inserted Enter station location marker, " Contentindex " represents the mark of the target medium, come from the first response of 404A media contents and disappear Breath, " index " represents burst index value, and burst index value will not be more than burst number.
407A, service end send the burst content corresponding with the mark of the target medium and burst index value to described Client.
For example, following response message format can be specifically adopted to return the mark and burst index value phase of above-mentioned target medium Corresponding burst content:
Wherein, described " ... moof ... mfhd ... .tfra ... trun ... " represent the mark of above-mentioned target medium and divide The corresponding burst content of piece index value
The burst content received described in 408A, client terminal playing.
Above-mentioned 406A-408A is repeated afterwards, until the client gets all of above-mentioned target media content Burst.
Further, as shown in fig. 6, above-mentioned steps 404-406 may be replaced by the realization of following steps 404B-408B:
404B, the first response message of media content is sent to the client, the first response message bag of the media content Include first burst content of the target media content and the address of next burst.
For example, the form of the first response message of the media content can be expressed as follows:
Wherein, the encapsulation of next media content fragmenting address is realized by extension box in example, wherein urld is extension Box, the box is placed in moof, and by the address " http of a field description next one burst:// Www.adserver.com/file/adseg-2.3gp " represents the address of next media content fragmenting.
405B, client are received after the first response message of above-mentioned media content, play the of the target media content One burst content.
406B, the client send successive fragment request message according to the address of the next burst.
For example, the structure of the successive fragment request message can be expressed as follows:
GET file/adseg-2.3gp
Host:www.adserver.com
407B, service end send next burst response message, the next burst response message carry it is described under The address of one burst content and next one burst.First response in the next burst response message and above-mentioned 405B The form of message is identical.
The burst content received described in 408B, client terminal playing.Above-mentioned 406A-408A, Zhi Daosuo are repeated afterwards State all bursts that client gets above-mentioned target media content.
Further, media content preset information is carried in the MPD file that client is received in above-mentioned 402 In Period, program burst address is described by Url.During practical application, above-mentioned program burst address can also pass through UrlTemplate is described, and now media content preset information needs to define " Ad- when describing by AdInfo The value of InsertIndex ".For example:The description for carrying the Period of media content preset information is expressed as follows:
Wherein, program burst address is described by UrlTemplate in SegmentInfo, and media content obtains information and leads to Ad-sourceURL descriptions are crossed, wherein Ad-sourceURL is defined as http://www.example.com/Adselect/33, Ad-InsertIndex defines insertion index of the media content fragmenting in program burst, ad-InsertIndex as described above =3, user end to server need to first ask the programme content burst of index=1 and index=2, as ad-InsertIndex=3 Media content is asked again.
It should be noted that when program burst address is described using UrlTemplate, sending media content first Request message and process afterwards are identical with when program burst address is described using Url in above-mentioned 402, and here is no longer gone to live in the household of one's in-laws on getting married State.After client receives all burst contents of the target medium, start again please from 3 according to program burst index value Seek program burst content.
The dynamic inserting method of the as above media content based on HTTP streams is employing mode one realizing, lower mask When body introduces employing mode two, the process that personalized digital media content is intercutted is realized.As shown in fig. 7, the method includes:
701st, client sends user profile to service end by MPD request messages.
702nd, service end receives the MPD request messages, and according to the user profile target media content is filtered out.
703rd, service end is divided to the target media content, by the burst address of the target media content and section Mesh burst address is inserted in MPD file, and the MPD file of the burst address of target media content is inserted with described in sending to visitor Family end.
704th, client receives the MPD file, according in the MPD file burst address of target media content time Sequence sends one by one the request of target media content burst.
705th, when service end receives the request of target media content burst, the burst of corresponding target media content is sent To client.
It should be noted that the MPD file mentioned in 303 may also be inserted with program burst address, now client End can successively send burst according to the burst address of target media content in the MPD file and the order of program burst address please Ask, if client receives program burst, play the content of program burst;If receiving target media content burst, The content of media content fragmenting is then played, such that it is able to the dynamic inter cut of personalized media content during program stream broadcasting. Simultaneously because the target media content burst inserted in the MPD file that user receives in above-described embodiment is according to user profile What screening drew, thus, different users will receive different bursts, it is achieved thereby that personalized digital media content is intercutted.
Correspondingly, the embodiment of the present invention is also provided a kind of media content dynamic flowed based on HTTP and intercuts device, the device It is specifically as follows service end.As shown in figure 8, the device includes:First receiving unit 11, the transmitting element of screening unit 12 and first 13。
Wherein, the first receiving unit 11 is used to receive the request message for carrying user profile of client transmission;Screening Unit 12 is used to filter out target media content from locally stored media content according to the user profile;First sends single Unit 13 is used to send the target media content to the client.
Above-mentioned target media content includes:One of branching storyline of advertisement, the trailer of program or program is any Combination.
Further, as shown in figure 9, when described device realizes that personalized digital media content dynamic is intercutted using aforesaid way one When, the device also includes:Second receiving unit 14 and the second transmitting element 15.
Before the first receiving unit 11 receives the request message for carrying user profile that client sends, above-mentioned second Receiving unit 14 is used to receive the MPD request messages that the client sends, and second transmitting element 15 is used to send insertion There is the MPD file of media content preset information to the client.
It should be noted that the media content preset information may be located in the MPD file in Period or May be located in the Representation under Period or may be located on the Representation under Period Under Segmentinfo in.
The media content preset information includes:Media content obtains information, first media content fragmenting on position;Institute State the insertion index that first media content fragmenting on position can be insertion time or relative program burst.In the media Hold acquisition information to identify including media content on position.
The MPD file may refer to above-mentioned table one.
When using aforesaid way, for the moment, first receiving unit 11 is obtained specifically for receiving client according to media content What breath of winning the confidence sent carries the first request message of media content of user profile.
Now, when using aforesaid way for the moment,(It is not shown)The screening unit 12 includes:Acquisition module and screening mould Block;
Wherein, acquisition module, obtains for the media content on position mark in the media content acquisition information Take media content on position information, the media content on position information include the duration of media content on position and The program of the media content on position association;
Screening module, for according to the user profile and the media content on position information from locally stored matchmaker Target media content is filtered out in holding in vivo.
When using aforesaid way, for the moment, first transmitting element 13 includes following at least one module:First sends mould Block, the second sending module and the 3rd sending module.
Wherein, the first sending module, for sending the first response message of media content to the client, in the media Hold all burst addresses of the first response message including the target media content;The client is being received according to described point After the successive fragment request message that piece address sends, burst content corresponding with the burst address is sent to the client;
Second sending module, for sending the first response message of media content to the client, the media content is first Individual response message includes mark, burst number and first burst of the target media content;Receive the client by The successive fragment of the mark for carrying the target medium and burst index value that obtain information transmission according to the media content please After seeking message, the burst content corresponding with the mark of the target medium and burst index value is sent to the client;
3rd sending module, for sending the first response message of media content to the client, the media content is first Individual response message includes the address of first burst of the target media content and next burst;Receiving the client After holding the successive fragment request message sent according to the address of the next burst, successive fragment response message is sent, it is described Successive fragment response message carries the address of the next burst and next one burst.
Further, as shown in Figure 10, when described device realizes that personalized digital media content dynamic is inserted using aforesaid way two Sowing time, the device also includes:The transmitting element 17 of processing unit 16 and the 3rd.
The MPD request messages for carrying user profile that client sends are received in first receiving unit 11, it is described Screening unit 12 is filtered out after target media content, and processing unit 16 is used to insert the burst address of the target media content Enter in MPD file;3rd transmitting element 17 is used to send the MPD of the burst address for being inserted with the target media content File gives the client;
Receive what client sent according to the burst address of the target media content in first receiving unit 11 During fragment request, first transmitting element 13 is specifically for sending media content corresponding with the burst address to the visitor Family end.
It should be noted that the MPD file that the 3rd transmitting element 17 sends may also be inserted with program burst Address.Now if service end receives the fragment request that client sends according to program burst address, program burst is sent To client.
Embodiment as shown in figure 11 is provided a kind of media content dynamic flowed based on HTTP and intercuts device, and the device is concrete Can be client, the device includes:First transmitting element 21 and the first receiving unit 22.
Wherein, the first transmitting element 21 is used to be sent to service end the request message for carrying user profile;First receives Unit 22 is used to receive the media content matched with the user profile that the service end sends, and plays in the media Hold.
Further, when described device realizes that personalized dynamic media content is received using aforesaid way one, such as Figure 12 Shown, the device also includes:Second transmitting element 23 and the second receiving unit 24.
Before the request message for carrying user profile is sent to service end in first transmitting element 21, above-mentioned second Transmitting element 23 is used to send MPD request messages to the service end, and above-mentioned second receiving unit 24 is used to receive the service What end sent is inserted with the MPD file of media content preset information.
It should be noted that the media content preset information may be located in the MPD file in Period or May be located in the Representation under Period or may be located on the Representation under Period Under Segmentinfo in.The media content preset information includes:Media content obtains information, first media content point Piece on position;The first media content fragmenting on position can be the insertion rope of insertion time or relative program burst Draw.The media content obtains information and identifies including media content on position.
The MPD file may refer to above-mentioned table one.
Now, first transmitting element 21 is specifically for including that media content is preset detecting the MPD file During information, obtain information according to the media content in the media content preset information and carry user profile to service end transmission The first request message of media content.
(It is not shown)First receiving unit 22 includes following at least one module:First receiver module, second receive Module and the 3rd receiver module.
First receiver module, for receiving the first response message of media content that the service end sends, in the media Hold all burst addresses of the media content that first response message includes matching with the user profile;According to the burst Address to service end is sent after successive fragment request message, receives the burst content that the service end sends;
Second receiver module, for receiving the first response message of media content that the service end sends, in the media Hold mark, burst number and first burst of the media content that first response message includes matching with the user profile; Information is obtained according to the media content to send to service end after the mark and burst index value that carry the media content After continuous fragment request message, the burst content that the service end sends is received;
3rd receiver module, for receiving the first response message of media content that the service end sends, in the media Holding first response message includes the ground of first burst of the media content and next burst matched with the user profile Location;After the address according to the next burst sends successive fragment request message to service end, receive the service end and send out The successive fragment response message for sending, the successive fragment response message carries the next burst with next one burst Address, Linux kernel request and response, until getting all of media content fragmenting..
Further, when said apparatus realize that personalized dynamic media content is received using aforesaid way two, described the One transmitting element 21 carries the MPD request messages of user profile specifically for sending to service end;Now, as shown in figure 13, The device also includes:3rd receiving unit 25, for receiving being inserted with and the user profile phase for the service end transmission The MPD file of the burst address of the media content matched somebody with somebody;
Dividing according to the media content matched with the user profile is additionally operable in first transmitting element 21 Piece address sends media content fragmenting request, and first receiving unit 22 is specifically for receiving in the media that service end sends Hold.
It should be noted that the MPD file that the 3rd receiving unit 25 is received may also be inserted with program burst ground Location, now client can according to the order of the burst address of target media content in the MPD file and program burst address according to Secondary transmission fragment request, if client receives program burst, plays the content of program burst;If receiving target matchmaker Body content fragment, then play the content of media content fragmenting.
The media content dynamic flowed based on HTTP provided by above-described embodiment intercuts device, is received due to client Media content fragmenting is that service end draws according to user profile screening, and the user profile of different clients has personalization Difference, so that the content of the media content fragmenting for meeting respective demand that no user can receive.With existing skill In art when client is by HTTP stream viewing programs, all clients of the same program of program request seeing all be identical dynamic Media content is compared, and the embodiment of the present invention can cause all clients of the same program of program request to see to meet features Personalized dynamic media content, so as to solve media content pass through HTTP streaming when cannot realize personalization intercut ask Topic, the personalization for realizing dynamic media content is intercutted.
The embodiment of the present invention also provides a kind of media content dynamic cut system flowed based on HTTP, including:Such as Fig. 8-10 A kind of media content dynamic flowed based on HTTP shown in any one intercuts device and the another kind such as Figure 11-13 shown in any one The media content dynamic flowed based on HTTP intercuts device.
Wherein, a kind of media content dynamic flowed based on HTTP such as Fig. 8-10 shown in any one is intercutted device and is specially taken Business end, for receiving the request message for carrying user profile of client transmission;According to the user profile from locally stored Media content in filter out target media content;The target media content is sent to the client, in order to the visitor Family end plays out;
Client is specially as another kinds of the Figure 11-13 shown in any one intercuts device based on the media content dynamic of HTTP streams End, for sending the request message for carrying user profile to service end;Receive believing with the user for the service end transmission The media content of manner of breathing matching, and play the media content.
In the above-mentioned media content dynamic cut system flowed based on HTTP, because the media content that client is received is Service end draws according to user profile screening, and the user profile of different clients has personalized difference, so that What no user can receive meets the media content of respective demand.See when client is flowed by HTTP with prior art When seeing program, all clients of the same program of program request seeing all be that identical dynamic media content is compared, and the present invention is implemented Example can cause all clients of the same program of program request to see the personalized dynamic media content for meeting features, so as to Solve the problems, such as to realize that personalization is intercutted when media content passes through HTTP streaming, realize the individual of dynamic media content Property is intercutted.
The embodiment of the present invention is mainly used in media content dynamic and intercuts in processing procedure, when client is seen by HTTP streams When seeing program, it is possible to achieve the personalization of media content is intercutted.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to which by hardware, but in many cases the former is more preferably Embodiment.Based on such understanding, the portion that technical scheme substantially contributes in other words to prior art Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions use is so that a computer equipment(Can be personal computer, Server, or the network equipment etc.)Perform the method described in each embodiment of the invention.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.

Claims (15)

1. it is a kind of based on HTML (Hypertext Markup Language) HTTP flow media content dynamic inserting method, it is characterised in that dynamic media Content is included by HTTP streaming, the method:
Receive the MPD request messages for carrying user profile that client sends;
Target media content is filtered out from locally stored media content according to the user profile;
The burst address of the target media content is inserted in MPD file;
The MPD file of burst address of the target media content is inserted with described in sending to the client;
Receive the fragment request that client sends according to the burst address of the target media content;
Media content corresponding with the burst address is sent to the client, is played out in order to the client.
2. it is a kind of based on HTML (Hypertext Markup Language) HTTP flow media content dynamic inserting method, it is characterised in that dynamic media Content is included by HTTP streaming, the method:
The media exhibition for receiving client transmission describes MPD request messages;
Transmission is inserted with the MPD file of media content preset information to the client, and the media content preset information includes: Media content obtains information and first media content fragmenting on position;
Receive client and obtain the media content request message for carrying user profile that information sends according to media content;
Target media content is filtered out from locally stored media content according to the user profile;
The target media content is sent to the client, in order to the client according to the first media content fragmenting On position is played out.
3. it is according to claim 2 based on HTTP flow media content dynamic inserting method, it is characterised in that the media Content preset information be located at period Period in or in description information Representation under Period or Person is located in burst information Segmentinfo under the Representation under Period.
4. it is according to claim 2 based on HTTP flow media content dynamic inserting method, it is characterised in that it is described first Media content fragmenting on position can be the insertion index of insertion time or relative program burst.
5. it is according to claim 4 based on HTTP flow media content dynamic inserting method, it is characterised in that the media Content obtaining information is identified including media content on position.
6. it is according to claim 5 based on HTTP flow media content dynamic inserting method, it is characterised in that the basis The user profile filters out target media content from locally stored media content to be included:
Media content on position mark in the media content acquisition information obtains media content on position information, The media content on position information includes that the duration of media content on position is associated with the media content on position Program;
Mesh is filtered out from locally stored media content according to the user profile and the media content on position information Mark media content.
7. according to claim 4 or 5 based on HTTP flow media content dynamic inserting method, it is characterised in that it is described Send the target media content includes to the client:
The first response message of media content is sent to the client, the first response message of the media content includes the target All burst addresses of media content;Receiving in the subsequent media that the client sends one by one according to the burst address After holding fragment request message, burst content corresponding with the burst address is sent to the client;Or,
The first response message of media content is sent to the client, the first response message of the media content includes the target The mark of media content, burst number and first burst content;Obtain according to the media content the client is received Information send carry after the mark of the target medium and the successive fragment request message of burst index value, send with it is described The mark of the target medium burst content corresponding with burst index value gives the client;Or,
The first response message of media content is sent to the client, the first response message of the media content includes the target The address of first burst content of media content and next burst;The client is being received according to described next point After the fragment request message that the address of piece sends, next burst response message is sent, the next burst response message is taken Address with the next burst content He next one burst, Linux kernel request and response, until obtaining all of Media content fragmenting.
8. it is a kind of based on HTTP flow media content dynamic inserting method, it is characterised in that dynamic media content by HTTP flow Transmission, including:
The MPD request messages for carrying user profile are sent to service end;
The MPD for receiving the burst address for being inserted with the media content matched with the user profile that the service end sends is literary Part;
Burst address according to the media content matched with the user profile sends media content fragmenting request;
The media content matched with the user profile that service end sends is received, the media content is played.
9. a kind of media content dynamic flowed based on HTTP intercuts device, it is characterised in that dynamic media content is flowed by HTTP Transmission, the device includes:
First receiving unit, for receiving the MPD request messages for carrying user profile of client transmission;
Screening unit, for filtering out target media content from locally stored media content according to the user profile;
Insertion unit, for the burst address of the target media content to be inserted in MPD file;
First transmitting element, for sending the MPD file of the burst address for being inserted with the target media content to described Client;
Second receiving unit, for receiving the fragment request that client sends according to the burst address of the target media content;
Second transmitting element, for sending media content corresponding with the burst address to the client, in order to described Client is played out.
10. a kind of media content dynamic flowed based on HTTP intercuts device, it is characterised in that dynamic media content is flowed by HTTP Transmission, the device includes:
First receiving unit, the media for carrying user profile that information sends are obtained for receiving client according to media content The first request message of content;
Screening unit, for filtering out target media content from locally stored media content according to the user profile;
First transmitting element, for sending the target media content to the client, in order to the client according to head Individual media content fragmenting on position is played out;
Before above-mentioned first receiving unit receives the request message for carrying user profile that client sends, second receives single Unit, for receiving the MPD request messages that the client sends;Second transmitting element, is inserted with media content pre- for transmission The MPD file of confidence breath includes to the client, the media content preset information:Media content obtains information, first matchmaker Body content fragment on position.
The 11. media content dynamics flowed based on HTTP according to claim 10 intercut device, it is characterised in that the head Individual media content fragmenting on position can be the insertion index of insertion time or relative program burst.
The 12. media content dynamics flowed based on HTTP according to claim 11 intercut device, it is characterised in that the matchmaker Body content obtaining information is identified including media content on position.
The 13. media content dynamics flowed based on HTTP according to claim 12 intercut device, it is characterised in that the sieve Menu unit includes:
Acquisition module, for the media content on position mark in the media content acquisition information media content is obtained On position information, the media content on position information is included in the duration and the media of media content on position Hold the program of on position association;
Screening module, for according to the user profile and the media content on position information from locally stored media Target media content is filtered out in appearance.
The 14. media content dynamics flowed based on HTTP according to claim 11 or 12 intercut device, it is characterised in that institute The first transmitting element is stated including following at least one module:
First sending module, for sending the first response message of media content to the client, the first sound of the media content Message is answered to include all burst addresses of the target media content;Send out according to the burst address the client is received After the successive fragment request message sent, burst content corresponding with the burst address is sent to the client;
Second sending module, for sending the first response message of media content to the client, the first sound of the media content Message is answered to include mark, burst number and first burst of the target media content;The client is being received according to institute The successive fragment for stating the mark for carrying the target media content and burst index value that media content obtains information transmission please After seeking message, the burst content corresponding with the mark of the target media content and burst index value is sent to the client End;
3rd sending module, for sending the first response message of media content to the client, the first sound of the media content Message is answered to include first burst of the target media content and the address of next burst;Receive the client by After the successive fragment request message sent according to the address of the next burst, successive fragment response message is sent, it is described follow-up Burst response message carries the address of the next burst and next one burst.
A kind of 15. media content dynamics flowed based on HTTP intercut device, it is characterised in that dynamic media content is flowed by HTTP Transmission, including:
First transmitting element, for sending the MPD request messages for carrying user profile to service end;
3rd receiving unit, for receive that the service end sends the media content matched with the user profile is inserted with Burst address MPD file;
Second transmitting element, for sending media according to the burst address of the media content matched with the user profile Content fragment is asked;
First receiving unit, for receiving the media content matched with the user profile that the service end sends, and broadcasts Put the media content.
CN201310547978.5A 2010-09-17 2010-09-17 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream Active CN103747365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310547978.5A CN103747365B (en) 2010-09-17 2010-09-17 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102919455A CN102137137B (en) 2010-09-17 2010-09-17 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
CN201310547978.5A CN103747365B (en) 2010-09-17 2010-09-17 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2010102919455A Division CN102137137B (en) 2010-09-17 2010-09-17 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream

Publications (2)

Publication Number Publication Date
CN103747365A CN103747365A (en) 2014-04-23
CN103747365B true CN103747365B (en) 2017-04-26

Family

ID=50504347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310547978.5A Active CN103747365B (en) 2010-09-17 2010-09-17 Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream

Country Status (1)

Country Link
CN (1) CN103747365B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105207976B (en) * 2014-06-23 2018-12-07 北京大学 The multimedia messages of AVS-DASH system intercut control method, system and client
CN104935595B (en) * 2015-06-16 2019-10-15 华为技术有限公司 Content item polymerization and relevant apparatus and communication system
CN107040505B (en) * 2016-02-04 2021-01-26 中兴通讯股份有限公司 Media data transmission method and device
CN106209885B (en) * 2016-07-22 2019-02-05 腾讯科技(深圳)有限公司 Flow media playing method and relevant apparatus
MX2019005456A (en) * 2016-11-10 2019-08-12 Ericsson Telefon Ab L M Resource segmentation to improve delivery performance.
CN108574881B (en) * 2017-03-07 2020-08-25 华为技术有限公司 Projection type recommendation method, server and client
CN106851423B (en) * 2017-03-31 2018-10-19 腾讯科技(深圳)有限公司 Online Video playback method and relevant apparatus
US11310303B2 (en) * 2019-10-01 2022-04-19 Tencent America LLC Methods and apparatuses for dynamic adaptive streaming over HTTP

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127989A (en) * 2007-09-11 2008-02-20 中兴通讯股份有限公司 A method for supporting hypertext transmission stream media service of mobile phone
CN101561825A (en) * 2009-06-02 2009-10-21 北京迈朗世讯科技有限公司 Media technology platform system, data acquisition system and network content supplying method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204602A1 (en) * 2002-04-26 2003-10-30 Hudson Michael D. Mediated multi-source peer content delivery network architecture
ES2532202T3 (en) * 2003-08-29 2015-03-25 Opentv, Inc. System for dissemination and reception of targeted content

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127989A (en) * 2007-09-11 2008-02-20 中兴通讯股份有限公司 A method for supporting hypertext transmission stream media service of mobile phone
CN101561825A (en) * 2009-06-02 2009-10-21 北京迈朗世讯科技有限公司 Media technology platform system, data acquisition system and network content supplying method

Also Published As

Publication number Publication date
CN103747365A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN103747365B (en) Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
CN102137137B (en) Method, device and system for dynamic inter-cut of media contents based on HTTP (Hyper Text Transport Protocol) stream
US9854375B2 (en) Selection of coded next generation audio data for transport
CN101656755B (en) Method and device for transmitting and broadcasting advertising programs
US6064420A (en) Simulating two way connectivity for one way data streams for multiple parties
CN108495152B (en) Video live broadcast method and device, electronic equipment and medium
US8510851B2 (en) Method and apparatus for accessing content protected media streams
CN103650482B (en) Send and receive the method and its reception device of broadcast service
CN101969546A (en) Method and device for providing electric program, publishing and presenting advertisement
CN102685561A (en) Program carousel method and system, terminal equipment and program on-demand device
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN107534793A (en) Reception device, transmitting device and data processing method
CN108174264B (en) Synchronous lyric display method, system, device, medium and equipment
JP5495386B2 (en) Content reproduction method, content distribution apparatus, terminal and program for changing presentation method of advertisement information
CN105191303A (en) Method for processing video, terminal and server
CN101848367A (en) File-based video live webcasting method
KR102461599B1 (en) Reception device, reception method, transmission device, and transmission method
WO2015039477A1 (en) Information system, information delivery method and iptv system based on multi-screen interaction
JP2023082098A (en) Information processing device and information processing method
CN103313093B (en) Carry out method and the directory system of distributed video on demand
CN102223568B (en) System and method for playing advertisement
CN101221752B (en) Method, device and system for implementing personal karaoke OK service by IPTV system
KR101710452B1 (en) Method and apparatus for transmitting/receiving service discovery information in a multimedia transmission system
CN106537930A (en) Multi-media streaming service presentation method, relevant device and relevant system
JP2013077885A (en) Content transmission device, content reproduction device, and communication method of the same

Legal Events

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

Effective date of registration: 20220225

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right