A kind of method and device generating broadcasting logic material
Technical field
The present invention relates to play-back technology field, particularly to a kind of method and device generating broadcasting logic material.
Background technology
In existing play-back technology, usually play program according to following several ways:
1, second time period plays program.It is often necessary to different access point and going out in the second time period of program is play
Point, for example, TV play may comprise complete head, run-out theme song process in first time period is play, in the second time
During section is play, then directly start playing out from plot, piece caudal flexure does not also broadcast.
2, advertisement constant pitch purpose is intercutted.In TV play or other columns, need to break for commercialsy.For example, at one 45
In minute TV play, intercut 30 minute at an advertisement at 15 minutes and respectively, then need to broadcast TV play in three times, first
Secondary broadcast 0 to 15 minutes, broadcasts first paragraph advertisement afterwards, broadcasts 15 to 30 minutes for second, broadcasts second segment advertisement afterwards, finally broadcast
Go out 30 to 45 minutes.So need to broadcast this TV play program three times, each reproduction time was respectively with the end time:
(0,15), (15,30), (30,45).
3, when second time period plays program it is also desirable to break for commercialsy, and when breaking for commercialsy, advertisement is in the second time
Spot when spot during section broadcasting program and first time period are play or broadcasted before second time period is play is inconsistent,
Therefore, when program broadcasts it is necessary to set the in and out point of program again.
And prior art is in the in and out point arranging broadcast items and commercial breaks, it is that program segments are uploaded to
In video server, such as, a TV play in 45 minutes is segmented into three sections, adds advertisement before every section of TV play, carry out
Broadcast.
And applicant, during carrying out the application, finds that prior art at least has one of problems with:
1, program segments are played out, when same program is when needing to carry out different segmentation different broadcast times,
Same program will be carried out with different two kind segmented mode even multiple segmented modes, segmentation task is complicated, wordy.
2, program segments are played out, needs when program broadcasts to upload much different segmentation broadcast ways, upload
Amount is very heavy, and wastes video server memory space.
Content of the invention
In view of this, the present invention provides a kind of method and device generating broadcasting logic material, in order to solve existing skill
There is segmentation task in art complicated, wordy and upper carrying capacity is very heavy, and waste the technology such as video server memory space and ask
Topic.
On the one hand, the present invention passes through an embodiment of the application, provides a kind of method generating broadcasting logic material,
Apply in performance broadcasting system, including:
Obtain at least one physics material;
Generate at least one logic material for each physics material at least one physics material described, described at least one
In logic material, each logic material includes the metadata information for playing at least one physics material described, described metadata
At least include in information:Logic access point and logic go out a little;
At least one logic material is corresponded to based on each physics material at least one physics material described, generates at least one
Individual broadcasting logic material.
On the other hand, the present invention passes through a kind of dress generating broadcasting logic material of another embodiment offer of the application
Put, apply in performance broadcasting system, including:
Obtain module, for obtaining at least one physics material;
First generation module, for generating at least one logic for each physics material at least one physics material described
Material, at least one logic material described, each logic material includes the first number for playing at least one physics material described
It is believed that breath, at least include in described metadata information:Logic access point and logic go out a little;
Second generation module, patrols for corresponding at least one based on each physics material at least one physics material described
Collect material, generate at least one broadcasting logic material.
One or more of technique scheme technical scheme, has the following technical effect that or advantage:
First, pass through using on the basis of physics material, generate one or more logic material, and to this or
The technical scheme that multiple logic material are processed, can not be processed to physics material it is not required that entering to physics material
Row segment processing, has technique effect simple to operate.
2nd, pass through using on the basis of based on physics material, generate one or more logic material, and to this
Or multiple logic material are processed, the technological prevention that also upload logic material plays out when playing, upload a thing
Reason material can correspond to multiple different broadcast modes, have upload simply, and compound mode is flexible and changeable, and can save
The technique effect of video server memory space.
Brief description
Fig. 1 is a kind of method flow diagram generating broadcasting logic material in the embodiment of the present application;
Fig. 2 is the schematic diagram of the first situation generating broadcasting logic material in the embodiment of the present application;
Fig. 3 A is the signal generating one of the second situation of broadcasting logic material situation in the embodiment of the present application
Figure;
Fig. 3 B is the signal generating one of the second situation of broadcasting logic material situation in the embodiment of the present application
Figure;
Fig. 3 C is the signal generating one of the second situation of broadcasting logic material situation in the embodiment of the present application
Figure;
Fig. 4 is the schematic diagram of the third situation generating broadcasting logic material in the embodiment of the present application;
Fig. 5 is a kind of schematic device generating broadcasting logic material in the embodiment of the present application.
Specific embodiment
In order to avoid the complexity of staged operation, and upper carrying capacity is heavy, and wastes video server memory space
Technical problem, the embodiment of the present invention propose a kind of generate broadcasting logic material method and device, with reference to explanation
Book accompanying drawing is realized principle, specific implementation process and its beneficial effect that should be able to reach is carried out to the main of the embodiment of the present invention
Detailed elaboration.
When playing program, have a broadcast job order, broadcast control program video server can be controlled to decode this broadcast and appoint
Business is single, is then broadcasted, and broadcasts the metadata information in job order with broadcast items, takes in video including every program
Sign (ID) in business device, airtime, logic access point, logic go out a little etc., and broadcast program can control video server solution afterwards
Code passage, according to airtime, controls program to go out a broadcast in logic access point to logic.
And program, when being broadcasted, has the material of broadcast:
Physics material:The video data file using when program broadcasts.The general lattice specifying by broadcast video server
Formula, is present on video server.For example, the video file of certain TV play.
Logic material:In actual broadcast, broadcast control program and carry out generally according to the associated description information of physics material
Broadcast, this information is generally present in certain log file, read by the program of broadcast, according to this information, control video clothes
Physics material on business device is broadcasted.This description information, physics material has been done certain correction by reality.For example, increase
Logic access point, logic go out the information such as a little.Physics material after revising is just logic material.
The such as one section program of 45 minutes, does not need when second time period is play to broadcast head and run-out, then in this thing
Manage the head of material and piece portion inserts logic access point respectively and logic goes out a little, in actual play, will logically enter
Point starts playing out, and logically goes out an end and plays.
Embodiment one:
With reference to Fig. 1, there is provided a kind of method of generation broadcasting logic material, apply in performance broadcasting system, including:
S101, obtains at least one physics material.
S102, generates at least one logic material for each physics material at least one physics material described, described extremely
In a few logic material, each logic material includes the metadata information for playing at least one physics material described, described
At least include in metadata information:Logic access point and logic go out a little.
S103, corresponds at least one logic material based on each physics material at least one physics material described, generates
At least one broadcasting logic material.
For S102, generate at least one logic material for each physics material at least one physics material described,
During implementing, can according to physics material quantity number, and play demand, formed a lot of combine, below this enforcement
Example will provide three kinds of specific examples, and what step S102 to be described implements process.
The first:
When at least one physics material described in S102 is a physics material, such as:One section TV play, this section TV play is led to
Head, positive and three parts of run-out often can be included, generally when playing the different time periods, such as first time period is play
When, broadcasting demand is:By the head of this section TV play, positive and run-out three are partly all play, and corresponding first time period is broadcast
Play demand when putting, the first logic material can be generated for this section TV play, the first logic access point of the first logic material is
The starting point of this section TV play, the first logic goes out the terminal being a little this section TV play;And when second time period is play, play and need
Ask for:Only play the positive of this section TV play, corresponding second time period plays demand when playing, can generate for this section TV play
Second logic material, the second logic access point of the second logic material is the starting point of this section TV play positive, and the second logic goes out and is a little
Terminal for this section TV play positive.
When only need to carry out first time period broadcasting it is not necessary to second time period play when, just by this section TV play generation
First logic material, and without generating the second logic material, the access point of the first logic material is the starting point of this section TV play, and the
One logic material go out the terminal being a little this section TV play.
This section TV play can be generated one or more logic material, and these are patrolled by the different broadcasting demand of correspondence
Volume material can be one or multiple, and when generating multiple logic material, these logic material can be identical, also may be used
To differ.
After generating logic material, this logic material has multiple use, such as can be by the first logic element of above-mentioned generation
Material and the second logic material add program playing list, so that performance broadcasting system plays out to physics material;Can also be by
The combination of these logic material forms new physics material and examines it is also possible to call this logic material.
With reference to Fig. 2, can intuitively clearly see the time span of the first logic material and the second logic material, in program
Carry out just playing the first logic material when first time period is play, corresponding second time period is play demand when playing and just play second
Logic material.
It should be noted that it is suitable for playing run-out or need broadcasting run-out for needing broadcasting head not need
Situations such as head must not be play.
Second:
When at least one physics material described in S102 is a physics material, this physics material can be cut into multiple
This physics material is such as cut into continuous logic material by situation, and such as the logic access point of i-th logic material is the i-th -1
The logic of logic material goes out a little, and the logic of i-th logic material goes out a little logic access point for i+1 logic material;Or i-th
The logic access point of individual logic material between the logic access point of the i-th -1 logic material and logic go out a little, i+1 logic material
Logic access point between the logic access point of i-th logic material and logic go out a little;Or the logic as i-th logic material enters
O'clock after the logic of the i-th -1 logic material goes out a little, the logic of i-th logic material goes out a little in i+1 logic material
Before logic access point.Above-mentioned i is the integer more than or equal to 1.
This several situation will be with following citing description:
When at least one physics material described in S102 is a physics material, such as one section TV play, and should playing
It will usually break for commercialsy when TV play is played to the regular hour during section TV play, such as it is being played to 15 minutes
When intercut one section of advertisement, intercut one section of advertisement when being played to 30 minutes, then based on above-mentioned condition, for this TV
Acute generation at least two logic material, generate three logic material for this TV play in this citing, wherein, with reference to Fig. 3 A,
The logic access point of the first logic material and logic go out a little respectively (0,15), and the logic access point of the second logic material and logic go out a little
It is respectively (15,30), the logic access point of the 3rd logic material and logic go out a little respectively (30,45).
When playing this TV play, above three logic material is added program playing list, for performance broadcasting system
This TV play is played out.
Logic access point according to the first logic material plays TV play, when playing to 15 minutes, just stops playing
And break for commercialsy, after advertisement finishes, the logic access point further according to the second logic material commenced play out from 15 minutes, broadcast
Put to stopping when 30 minutes playing, intercut second segment advertisement, after second segment advertisement insertion finishes, patrol further according to the 3rd
The logic access point collecting material plays TV play, until play going out a little to the logic of the 3rd logic material, broadcasting terminates.
And above three logic material is in addition to for playing, can be also used for combining formed new physics material or
Examine for calling.
In addition to the above, also there is a kind of situation, when playing this section TV play, can commence play out at every section
When, play a bit of content play before first, then play this section of content, be such as divided into three to patrol this section TV play
Collect material, wherein, with reference to Fig. 3 B, the logic access point of the first logic material and logic go out a little respectively (0,15), the second logic element
The logic access point of material and logic go out a little respectively (13,30), and the logic access point of the 3rd logic material and logic go out a little to be respectively
(28,45).
When playing this section TV play, above three logic material is added program playing list, so that program plays system
System plays out to this TV play it is possible to add advertisement, i.e. patrolling according to the first logic material between three sections of logic material
Collect access point and play TV play, when playing to 15 minutes, just stop playing and breaking for commercialsy, finish it in advertisement
Afterwards, the logic access point further according to the second logic material commenced play out from 13 minutes, that is, last in related broadcasting first logic material
The content of two minutes playing, allows user understand the story of a play or opera before TV play, plays to stopping when 30 minutes playing, intercut
Second segment advertisement, after second segment advertisement insertion finishes, further according to the 3rd logic material logic access point from the beginning of 28 minutes
Play TV play, until play going out a little to the logic of the 3rd logic material, broadcasting terminates.
In addition to for playing, this logic material can be also used for combining and forms new physics material or be used for calling
Examine.
It is also possible to one section of physics material is generated as discontinuous logic material in addition to above-mentioned two situations, such as one
The section news material of 45 minutes, including three parts, is entertainment newses when 0~15 minute, when 15~30 minutes is
Political news, are financial and economic news when 30~45 minutes.
Entertainment newses and financial and economic news is needed only to, without political news, therefore, based on above-mentioned bar when broadcasting
Part, this news material is generated two logic material, and wherein, with reference to Fig. 3 C, the logic access point of the first logic material and logic go out
Point is respectively (0,15), corresponding entertainment newses part;The logic access point of the second logic material and logic go out and be a little respectively (30,
45), corresponding financial and economic news part.
When playing this news material, above-mentioned two logic material is added program playing list, so that program plays system
System plays out to this TV play it is possible to add advertisement between two sections of news, that is, after playing entertainment newses, intercuts
One section of advertisement, after advertisement plays, then plays financial and economic news.
In addition to for playing, this logic material can be also used for combining and forms new physics material or be used for adjusting
With examining.
It should be noted that three kinds of situations described herein are merely to illustrate and explain the present invention, it is not used to limit this
Bright, above-mentioned three kinds of situations can be carried out combination of two according to practical situation or combine together by the present invention completely, these combinations
Should also be as being contained within protection scope of the present invention.
The third:
When at least one physics material described in S102 is two physics materials, such as one section TV play, one section of propaganda film.
For example we when this TV play is played to 15 minutes, will intercut the upper part of propaganda film, TV play play to
When 30 minutes, intercut the lower part of propaganda film, then, when playing out, be that TV play generates at least one logic material, for example
Generate three logic material for this TV play.
Generate at least one logic material for this propaganda film, be, for example, that this propaganda film generates two logic material.
According to certain rule, at two logic material of three logic material of TV play and propaganda film
Reason, generates a broadcasting logic material, so that performance broadcasting system plays out to TV play and propaganda film.
And according to certain rule, that is, the TV play pre-setting and the compound mode of propaganda film, exist as described above
When TV play is played to 15 minutes, intercut the upper part of propaganda film, when TV play was play to 30 minutes, intercut under propaganda film
Part, is processed to TV play and propaganda film according to this rule.
With reference to Fig. 4, it is the mode that this two physics materials are combined.
And except TV play and propaganda film are combined into a broadcasting logic material in advance, can also be with commercial breaks
Form, will advertise that piece is regarded advertisement insertion and entered in TV play to play out.
Embodiment two:
With reference to Fig. 5, it is a kind of device generating broadcasting logic material, apply in performance broadcasting system, including:
Obtain module 501, for obtaining at least one physics material.
First generation module 502, for generating at least one for each physics material at least one physics material described
Logic material, at least one logic material described, each logic material is included for playing at least one physics material described
Metadata information, at least include in described metadata information:Logic access point and logic go out a little.
When described in obtaining module, at least one physics material is a physics material, described first generation module
502 specifically for generating the first logic material and the second logic material for described physics material, wherein, the of the first logic material
One logic access point and the first logic go out a little between very first time length be described physics material length actual time;Second logic
The second time span between second logic access point of material and the second logic go out a little is shorter than length described actual time.
When described in obtaining module, at least one physics material is a physics material, described first generation module
502 specifically for generating at least two logic material for described physics material, and wherein, each of at least two logic material are patrolled
Volume material has a logic access point and logic goes out a little.
When the first physics material and the second physics material, described first generation module 502 is specifically for for described first thing
Reason material generates at least one logic material;It is additionally operable to generate at least one logic material for described second physics material.
Second generation module 503, for based on each physics material at least one physics material described corresponding at least
Individual logic material, generates at least one broadcasting logic material.
By one or more embodiments of the invention, it is possible to achieve following technique effect:
1, the present invention, by one or more embodiments, on the basis of physics material, generates one or more logic
Material, and the technical scheme that this one or more logic material is processed, can not be processed to physics material,
Do not need to carry out segment processing to physics material, there is technique effect simple to operate.
2, the present invention, by one or more embodiments, on the basis of based on physics material, generates one or more
Logic material, and this one or more logic material is processed, also upload logic material plays out when playing
Technological prevention, uploads a physics material and can correspond to multiple different broadcast modes, has upload simply, and compound mode spirit
Work is changeable, and can save the technique effect of video server memory space.
Obviously, those skilled in the art can carry out various changes and modification without deviating from the present invention's to the present invention
Spirit and scope.So, if these modifications of the present invention and modification belong to the model of the claims in the present invention and its equivalent technologies
Within enclosing, then the present invention is also intended to comprise these changes and modification.