Summary of the invention
For the above-mentioned defect of prior art, the embodiment of the present invention provides a kind of multimedia messages of AVS-DASH system to intercut control method, system and client.
One aspect of the present invention provides a kind of multimedia messages of AVS-DASH system to intercut control method, comprising:
Obtain media information fragment to be played from server, and the inquiry media information corresponding with described media information fragment describes from the media description file obtained in advance;
Know that if judge described media information comprises multithread property parameters in describing, then control according to described multithread property parameters the broadcasting intercutting stream in described media information fragment, wherein, described multithread property parameters specifically comprises: multithread intercut type, the inter cut time of multithread and multithread intercut the duration.
The present invention provides a kind of client on the other hand, comprising:
Processing module, for obtaining media information fragment to be played from server, and the inquiry media information corresponding with described media information fragment describes from the media description file obtained in advance;
Control module, if know that described media information comprises multithread property parameters in describing for judging, then control according to described multithread property parameters the broadcasting intercutting stream in described media information fragment, wherein, described multithread property parameters specifically comprises: multithread intercut type, the inter cut time of multithread and multithread intercut the duration.
Another aspect of the invention provides a kind of multimedia messages of AVS-DASH system to intercut control system, comprising:
Server, and above-mentioned client.
The multimedia messages of the AVS-DASH system that the embodiment of the present invention provides intercuts control method, system and client, media information fragment to be played is obtained from server by client, and the inquiry media information corresponding with media information fragment describes from the media description file obtained in advance, know that if judge media information comprises multithread property parameters in describing, type is intercutted then according to the multithread in multithread property parameters, the inter cut time of multithread and multithread intercut the broadcasting that the duration controls to intercut in media information fragment stream, thus in AVS-DASH system Transmitting of Multi-media Information mechanism basis on, achieve effective description and the control to comprising the multithread media information intercutting stream, improve the diversity of media traffic.
Embodiment
The multimedia messages of the AVS-DASH system that Fig. 1 provides for the embodiment of the present invention intercuts the flow chart of control method, and as shown in Figure 1, the method comprises:
Step 100, obtains media information fragment to be played from server, and the inquiry media information corresponding with described media information fragment describes from the media description file obtained in advance;
In AVS-DASH system, multimedia messages can be split as many little media information fragments store are on http server, each media information fragment can be made into the piecemeal sample of different code check, for covering different bandwidth conditions, the information such as organizational form, code check, resolution, web page address of all media information fragments, is all described by a media description file.It should be noted that multimedia messages comprises video information and audio-frequency information.
In the process that client is play multimedia messages, first the media description file corresponding with this multimedia messages obtained in advance is checked, media description file comprises initial time and the web page address of each cut media information fragment, and client obtains successively according to time sequencing and plays each media information fragment described in media description file.After client obtains media information fragment to be played from server, from media description file, inquire about the media information corresponding with this media information fragment describe.
Step 101, know that if judge described media information comprises multithread property parameters in describing, then control according to described multithread property parameters the broadcasting intercutting stream in described media information fragment, wherein, described multithread property parameters specifically comprises: multithread intercut type, the inter cut time of multithread and multithread intercut the duration.
The client query media information corresponding with this media information fragment describes, judge whether this media information comprises multithread property parameters in describing, particularly, multithread property parameters comprises: multithread intercut type type, the inter cut time offsetStart of multithread and multithread intercut duration duration, wherein, the type type that intercuts of multithread comprises: mode Default is intercutted in centre, mode Overlap is intercutted in covering, synchronously intercut mode Concurrent, the inter cut time offsetStart of multithread is the relative time based on this media information fragment period starting point, the duration duration that intercuts of multithread is that this intercuts the reproduction time of stream.Know that if judge this media information comprises multithread property parameters in describing, then this media information fragment is identified as comprising original media stream and the multithread media information fragment intercutting stream, thus controls according to the multithread property parameters of correspondence the broadcasting intercutting stream in this media information fragment.
Particularly, when the value of type is Default, the mode intercutted in the middle of adopting, client will at offsetStart plays break-in stream, after intercutting and spreading and put end, then continue to play original media stream, such as, in VoD program insertion of advertising from the breakpoint of original media stream; When the value of type is Overlap, adopt and cover the mode intercutted, client will at offsetStart plays break-in stream, after intercutting and spreading and put end, time point continuation broadcasting original media stream, such as the Live program insertion of advertising of inter cut time length is skipped again from original media stream; When the value of type is Concurrent, adopt the mode synchronously intercutted, client will at offsetStart plays break-in stream, and the broadcasting of original media stream still continues, unaffected.
The multimedia messages of the AVS-DASH system that the present embodiment provides intercuts control method, media information fragment to be played is obtained from server by client, and the inquiry media information corresponding with media information fragment describes from the media description file obtained in advance, know that if judge media information comprises multithread property parameters in describing, type is intercutted then according to the multithread in multithread property parameters, the inter cut time of multithread and multithread intercut the broadcasting that the duration controls to intercut in media information fragment stream, thus in AVS-DASH system Transmitting of Multi-media Information mechanism basis on, achieve effective description and the control to comprising the multithread media information intercutting stream, improve the diversity of media traffic.
The multimedia messages of another AVS-DASH system that Fig. 2 provides for the embodiment of the present invention intercuts the flow chart of control method, and as shown in Figure 2, the method comprises:
Step 200, the multimedia messages play command sent according to user is set up HTML (Hypertext Markup Language) HTTP with server and is connected, by obtaining media description file corresponding to the multimedia messages to be played with described user with the http session between described server;
In AVS-DASH system, multimedia messages can be that many little media information fragments store are on one or http server by the cutting of Web Video Service provider, each media information fragment can be made into the piecemeal sample of different code check, for covering different bandwidth conditions, the information such as organizational form, code check, resolution, web page address of all media information fragments, is all described by a media description file.It should be noted that multimedia messages comprises video information and audio-frequency information.When user sends multimedia messages play command to client, client is set up HTML (Hypertext Markup Language) HTTP according to the multimedia messages play command that user sends with server and is connected, after link foundation completes, by the media description file that the multimedia messages to be played with user with the http session acquisition between server is corresponding.
Step 201, according to the media information description of media information fragment multiple in described media description file and the network information parameter of client, obtain media information fragment to be played by http session, and the inquiry media information corresponding with described media information fragment describes from the media description file obtained in advance;
Client can obtain the media description file corresponding with the multimedia messages that user will watch and resolve, inquire about the media information corresponding with each media information fragment to describe, then client is according to the network information parameter of this locality, obtain media information fragment to be played by http session, network information parameter specifically comprises the informations parameter such as bandwidth conditions.After client obtains media information fragment to be played from server, from media description file, inquire about the media information corresponding with this media information fragment describe.
Step 202, knows that if judge described media information comprises multithread property parameters in describing, then inquire about the group generic attribute parameter in media information description, the video media information fragment and audio media information fragment with identical group of generic attribute parameter are divided into one group;
The client query media information corresponding with this media information fragment describes, judge whether this media information comprises multithread property parameters in describing, particularly, multithread property parameters comprises: multithread intercut type type, the inter cut time offsetStart of multithread and multithread intercut duration duration, wherein, the type type that intercuts of multithread comprises: mode Default is intercutted in centre, mode Overlap is intercutted in covering, synchronously intercut mode Concurrent, the inter cut time offsetStart of multithread is the relative time based on this media information fragment period starting point, the duration duration that intercuts of multithread is that this intercuts the reproduction time of stream.Know that if judge this media information comprises multithread property parameters in describing, then this media information fragment is identified as comprising original media stream and the multithread media information fragment intercutting stream, then inquire about the group generic attribute parameter in media information description, the video media information fragment and audio media information fragment with identical group of generic attribute parameter are divided into one group.
Step 203, control according to described multithread property parameters the broadcasting intercutting stream in every group in media information fragment, wherein, described multithread property parameters specifically comprises: multithread intercut type, the inter cut time of multithread and multithread intercut the duration.
Client controls according to multithread property parameters the broadcasting intercutting stream in every group in video media information fragment and audio media information fragment, particularly, when the value of type is Default, the mode intercutted in the middle of adopting, client will at offsetStart plays break-in stream, after intercutting and spreading and put end, then continue to play original media stream, such as, in VoD program insertion of advertising from the breakpoint of original media stream; When the value of type is Overlap, adopt and cover the mode intercutted, client will at offsetStart plays break-in stream, after intercutting and spreading and put end, time point continuation broadcasting original media stream, such as the Live program insertion of advertising of inter cut time length is skipped again from original media stream; When the value of type is Concurrent, adopt the mode synchronously intercutted, client will at offsetStart plays break-in stream, and the broadcasting of original media stream still continues, unaffected.
The multimedia messages of the AVS-DASH system that the present embodiment provides intercuts control method, media information fragment to be played is obtained by the http session between client and server, and the inquiry media information corresponding with media information fragment describes from the media description file obtained in advance, know that if judge media information comprises multithread property parameters in describing, then the video media information fragment and audio media information fragment with identical group of generic attribute parameter are divided into one group, then type is intercutted according to the multithread in multithread property parameters, the inter cut time of multithread and multithread intercut the broadcasting that the duration controls to intercut in media information fragment in every group stream, thus in AVS-DASH system Transmitting of Multi-media Information mechanism basis on, achieve effective description and the control to comprising the multithread media information intercutting stream, improve diversity and the flexibility of media traffic.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
The structural representation of the client that Fig. 3 provides for the embodiment of the present invention, as shown in Figure 3, this client comprises: processing module 11 and control module 12, wherein, processing module 11 is for obtaining media information fragment to be played from server, and the inquiry media information corresponding with described media information fragment describes from the media description file obtained in advance; If for judging, control module 12 knows that described media information comprises multithread property parameters in describing, then control according to described multithread property parameters the broadcasting intercutting stream in described media information fragment, wherein, described multithread property parameters specifically comprises: multithread intercut type, the inter cut time of multithread and multithread intercut the duration.
The function of each module and handling process in the client that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Further, processing module 11 also for:
The multimedia messages play command sent according to user is set up HTML (Hypertext Markup Language) HTTP with server and is connected; By obtaining media description file corresponding to the multimedia messages to be played with described user with the http session between described server.
Wherein, processing module 11 specifically for:
According to the media information description of media information fragment multiple in described media description file and the network information parameter of client, obtain media information fragment to be played by http session.
Based on above-described embodiment, further, control module 12 specifically for:
Inquire about the group generic attribute parameter in the description of described media information, the video media information fragment and audio media information fragment with identical group of generic attribute parameter are divided into one group, control according to described multithread property parameters the broadcasting intercutting stream in every group in media information fragment.
The function of each module and handling process in the client that the present embodiment provides, can see the embodiment of the method shown in above-mentioned Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
The multimedia messages of the AVS-DASH system that Fig. 4 provides for the embodiment of the present invention intercuts the structural representation of control system, as shown in Figure 4, this system comprises: server 1 and client 2, wherein, the client that client 2 can provide for the above embodiment of the present invention, server 1 can for the server mentioned in the above embodiment of the present invention.
The multimedia messages of the AVS-DASH system that the present embodiment provides intercuts function and the handling process of each module in control system, can see above-mentioned shown embodiment of the method, and it realizes principle and technique effect is similar, repeats no more herein.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.