Embodiment
Automatic editing method and the device of a kind of programme that the embodiment of the invention is provided below in conjunction with accompanying drawing are described in detail.
As shown in Figure 1, the automatic editing method of a kind of programme that provides for the embodiment of the invention, the method comprises:
101: obtain material attribute to be played and program and play paragraph properties; Described material attribute to be played comprises at least: a kind of in material reproduction time to be played, material broadcasting time to be played, material play category to be played, the material play mode to be played; Described program is play paragraph properties and comprised: program is play the reproduction time section of paragraph, the template that program is play paragraph.
Need to prove that the time that described program is play between paragraph and the paragraph is continuous.
Need to prove that also described material attribute to be played is to set in advance; For example: the classification of described material to be played comprises: regularly broadcast material, broadcast material for fixed time, broadcast at random material; Wherein, the play time that material need to be pointed out the fixed time airplay material is simultaneously broadcasted in described timing; Broadcast the broadcasting time that material need to be pointed out the fixed time airplay material simultaneously described fixed time.
102: play paragraph properties and described material attribute to be played according to described program, determine the material of playing in this program broadcast paragraph;
103: can't determine the material play in the described program broadcast paragraph, then display reminding information if play paragraph properties and described material attribute to be played according to program.
Based on above example, as shown in Figure 2, the specific implementation of the automatic editing method of the realization programme that provides for the embodiment of the invention; If when described material classification to be played is fixed time airplay material, shuffle material, and described material to be played is when being video segment, and the automatic editing method of described programme comprises:
201: obtain material attribute to be played and program and play paragraph properties; Described material attribute to be played comprises at least: a kind of in material reproduction time to be played, material broadcasting time to be played, material play category to be played, the material play mode to be played.Described program is play paragraph properties and comprised: program is play the reproduction time section of paragraph, the template that program is play paragraph.Concretely, obtain exactly the classification of material reproduction time to be played and material to be played, and the template of the reproduction time section of the play mode of material to be played and program broadcast paragraph and program broadcast paragraph.
Need to prove, before described step 201, also should comprise: described material attribute to be played and described program are set play paragraph properties.Concretely, being exactly the programme operator arranges each attribute of material to be played, and the time that program is play is divided into each program plays paragraph, and each is play paragraph properties arranges.
202: whether the play mode of judging described material to be played is complementary with the template that described program is play paragraph; For example: the play mode of described material to be played is video, needs then to judge whether the template of described program broadcast paragraph is the video playback template.If the play mode of described material to be played is consistent with the template that described program is play paragraph, think that then the play mode of described material to be played and the template that described program is play paragraph are complementary; Otherwise, then be not complementary.
203: be not complementary if the play mode of described material to be played and described program are play the template of paragraph, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played; Concretely, the template of exactly described program being play paragraph is adjusted into the state that is complementary with material play mode to be played; For example: the play mode of establishing material to be played is video, the template of then described program being play paragraph be adjusted into can displaying video template; Perhaps, the template of establishing described program broadcast paragraph is the picture playing template, and then the play mode with material to be played is the picture playing pattern.
204: be complementary if the play mode of described material to be played and described program are play the template of paragraph, continue then to judge that the reproduction time of described material to be played is whether in the reproduction time section of described program broadcast paragraph;
205: play in the paragraph if the reproduction time of described material to be played in described program is play the reproduction time section of paragraph, then adds described material to be played to described program;
206: if the reproduction time of described material to be played is not in described program is play the reproduction time section of paragraph, then the reproduction time section that described program is play paragraph is adjusted in prompting, perhaps the reproduction time of material to be played is adjusted in prompting, perhaps abandons the editing program list.
207: judging whether can whether the available free time period be play described shuffle material in described program is play the reproduction time section of paragraph;
208: play described shuffle material if described program is play in the reproduction time section of paragraph the available free time period, whether the play mode that then continues to judge described material to be played is complementary with the template of described program broadcast paragraph;
209: be not complementary if the play mode of described material to be played and described program are play the template of paragraph, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
210: be complementary if the play mode of described material to be played and described program are play the template of paragraph, then described shuffle material added to described program and play in the paragraph.
Based on above example, as shown in Figure 3, the specific implementation of the automatic editing method of the another kind of programme that provides for the embodiment of the invention; If when described material classification to be played comprises: when fixed time airplay material, fixed time playing material, shuffle material, the automatic editing method of described programme comprises:
301: obtain material attribute to be played and program and play paragraph properties; Described material attribute to be played comprises at least: a kind of in material reproduction time to be played, material broadcasting time to be played, material play category to be played, the material play mode to be played.Described program is play paragraph properties and comprised: program is play the reproduction time section of paragraph, the template that program is play paragraph.Concretely, the classification of obtaining exactly material reproduction time to be played, material to be played is that the play mode of fixed time airplay material, material to be played is video mode; The classification of material broadcasting time to be played, material to be played is video mode etc. for the play mode of fixed time playing material, material to be played.
Need to prove, also need to carry out before the step 301, described material attribute to be played and described program are set play paragraph properties.
302: whether the play mode of judging described material to be played is complementary with the template that described program is play paragraph; For example: the play mode of described material to be played is video, needs then to judge whether the template of described program broadcast paragraph is the video playback template.If the play mode of described material to be played is consistent with the template that described program is play paragraph, think that then the play mode of described material to be played and the template that described program is play paragraph are complementary; Otherwise, then be not complementary.
303: be not complementary if the play mode of described material to be played and described program are play the template of paragraph, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
304: be complementary if the play mode of described material to be played and described program are play the template of paragraph, continue then to judge that the reproduction time of described material to be played is whether in the reproduction time section of described program broadcast paragraph;
305: play in the paragraph if the reproduction time of described material to be played in described program is play the reproduction time section of paragraph, then adds described material to be played to described program;
306: if the reproduction time of described material to be played is not in described program is play the reproduction time section of paragraph, then the reproduction time section that described program is play paragraph is adjusted in prompting, perhaps the reproduction time of material to be played is adjusted in prompting, perhaps abandons the editing program list.
307: whether the play mode of judging described material to be played is complementary with the template that described program is play paragraph; Need to prove that this step is to have added program at the fixed time airplay material to play the material interpolation step of carrying out behind the paragraph; For example: the material described to be played of this step is fixed time playing material.
308: be not complementary if the play mode of described material to be played and described program are play the template of paragraph, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
309: be complementary if the play mode of described material to be played and described program are play the template of paragraph, judge then whether the broadcasting time of described material to be played can finish playing in the reproduction time section of described program broadcast paragraph;
310: if the broadcasting time of described material to be played can finish playing in the reproduction time section of described program broadcast paragraph, then described material to be played is added to described program and play in the paragraph;
311: if the broadcasting time of described material to be played can not finish playing in the reproduction time section of described program broadcast paragraph, then redefine described material to be played and play the number of times of playing in the paragraph at this program, and this material and the described broadcasting time that redefines are added in the described program broadcast paragraph.
312: judging whether can whether the available free time period be play described shuffle material in described program is play the reproduction time section of paragraph;
313: play described shuffle material if described program is play in the reproduction time section of paragraph the available free time period, whether the play mode that then continues to judge described material to be played is complementary with the template of described program broadcast paragraph;
314: be not complementary if the play mode of described material to be played and described program are play the template of paragraph, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
315: be complementary if the play mode of described material to be played and described program are play the template of paragraph, then described shuffle material added to described program and play in the paragraph.
316: according to described material attribute to be played, the material that described program is play in the paragraph sorts.Concretely, be exactly after above-mentioned each program is play material to be played in paragraph and all determined, then need described material to be played is carried out the sequence adjustment of playlist; Be specially: at first, the timing material in the playlist is joined play sequence in the paragraph; Then, the fixed time material in the playlist is added play sequence in order successively; Then, in the play sequence of fixed time material, search the same story whether continuous broadcast is arranged, if having, insert therein at random material, if do not have, material radom insertion at random.
Need to prove that the automatic editing method of described programme is according to first fixed time airplay material, fixed playing material again, the order of last shuffle material is carried out scheduling programs.Like this, can guarantee the reproduction time of fixed time airplay material, also can not affect the surely broadcasting time of time playing material.
As shown in Figure 4, the automatic editing device of a kind of programme that provides for the embodiment of the invention, this device comprises:
Information acquisition unit 401 is used for obtaining material attribute to be played and program is play paragraph properties; Wherein, described material attribute to be played comprises at least: a kind of in material reproduction time to be played, material broadcasting time to be played, material play category to be played, the material play mode to be played; Described program is play paragraph properties and comprised: program is play the reproduction time section of paragraph, the template that program is play paragraph.
Programme determining unit 402 is used for playing paragraph properties and described material attribute to be played according to described program, determines the material of playing in this program broadcast paragraph;
Information indicating unit 403 can't be determined the material that described program broadcast paragraph is play, then display reminding information if be used for according to program broadcast paragraph properties and described material attribute to be played.
Further, this device also comprises:
Setting unit 404 is used for that described material attribute to be played is set and described program is play paragraph properties.
Further, this device also comprises:
When described material classification to be played comprises the fixed time airplay material; Described programme determining unit 402 comprises:
Whether coupling subelement, the play mode that is used for judging described material to be played are complementary with the template that described program is play paragraph;
Adjust subelement, if the template of playing paragraph for play mode and the described program of described material to be played is not complementary, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
Judgment sub-unit if the template that the play mode that is used for described material to be played and described program are play paragraph is complementary, judges that then the reproduction time of described material to be played is whether in the reproduction time section of described program broadcast paragraph;
Add subelement, play in the paragraph if the reproduction time that is used for described material to be played in described program is play the reproduction time section of paragraph, then adds described material to be played to described program;
Described adjustment subelement, if also be used for the reproduction time of described material to be played not in described program is play the reproduction time section of paragraph, then the reproduction time section that described program is play paragraph is adjusted in prompting, and perhaps the reproduction time of material to be played is adjusted in prompting, perhaps abandons the editing program list.
And/or, when described material classification to be played comprises surely time playing material; Described programme determining unit also comprises:
Whether described coupling subelement, the play mode that also is used for judging described material to be played are complementary with the template that described program is play paragraph;
Described adjustment subelement, if the template of also playing paragraph for play mode and the described program of described material to be played is not complementary, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
Described judgment sub-unit if the template of also playing paragraph for play mode and the described program of described material to be played is complementary, judges then whether the broadcasting time of described material to be played can finish playing in the reproduction time section of described program broadcast paragraph;
Described interpolation subelement can finish playing in the reproduction time section of described program broadcast paragraph if also be used for the broadcasting time of described material to be played, then described material to be played is added to described program and plays in the paragraph;
Described adjustment subelement, if also being used for the broadcasting time of described material to be played can not finish playing in the reproduction time section of described program broadcast paragraph, then redefine described material to be played and play the number of times of playing in the paragraph at this program, and this material and the described broadcasting time that redefines are added in the described program broadcast paragraph.
And/or, when described material classification to be played comprises the shuffle material; Described programme determining unit also comprises:
Described judgment sub-unit, also being used for judging whether can whether the available free time period be play described shuffle material in described program is play the reproduction time section of paragraph;
Described coupling subelement is play in the reproduction time section of paragraph the available free time period and is play described shuffle material if also be used for described program, and whether the play mode that then continues to judge described material to be played is complementary with the template of described program broadcast paragraph;
Described adjustment subelement, if the template of also playing paragraph for play mode and the described program of described material to be played is not complementary, then the template that described program is play paragraph is adjusted in prompting, perhaps adjusts the play mode of material to be played;
Described interpolation subelement if the template of also playing paragraph for play mode and the described program of described material to be played is complementary, then adds described shuffle material to described program and plays in the paragraph.
Further, this device also comprises:
Sequencing unit 405 is used for according to described material attribute to be played, and the material that described program is play in the paragraph sorts.
The automatic editing method of a kind of programme that the embodiment of the invention provides and device are play paragraph properties by obtaining material attribute to be played and program; Play paragraph properties and described material attribute to be played according to described program, determine the material of playing in this program broadcast paragraph; Can't determine the material play in the described program broadcast paragraph, then display reminding information if play paragraph properties and described material attribute to be played according to program.Thereby so that programme realizes automatic editing, not only greatly reduce the waste of human resources, and improved the layout accuracy rate.
Through the above description of the embodiments, one of ordinary skill in the art will appreciate that: realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, comprise the step such as above-mentioned embodiment of the method, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.