CN103248912A - Network television time shifting play method as well as network television system and device - Google Patents

Network television time shifting play method as well as network television system and device Download PDF

Info

Publication number
CN103248912A
CN103248912A CN2012100272702A CN201210027270A CN103248912A CN 103248912 A CN103248912 A CN 103248912A CN 2012100272702 A CN2012100272702 A CN 2012100272702A CN 201210027270 A CN201210027270 A CN 201210027270A CN 103248912 A CN103248912 A CN 103248912A
Authority
CN
China
Prior art keywords
burst
playlist
time
tabulation
time shift
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100272702A
Other languages
Chinese (zh)
Other versions
CN103248912B (en
Inventor
刘昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210027270.2A priority Critical patent/CN103248912B/en
Publication of CN103248912A publication Critical patent/CN103248912A/en
Application granted granted Critical
Publication of CN103248912B publication Critical patent/CN103248912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a network television time shifting play method as well as a network television system and device. A proxy player obtains a time shifting playlist from a time-shifting server and a live telecast playlist from a live telecast server, and generates a current time shifting window playlist; the current time shifting window playlist is provided to a player, so that the player can select a positioning segment from the current time shifting window playlist; when the positioning segment belongs to a live telecast segment, the proxy player obtains the live telecast segment which starts from the positioning segment and transmits the live telecast segment to the player; and when the positioning segment belongs to a time shifting segment, the proxy player obtains the time shifting segment which starts from the positioning segment and transmits the time shifting segment to the player. Through the network television time shifting play method as well as the network television system and device provided by the invention, the time shifting play efficiency can be improved.

Description

Web TV time shift player method, network television system and device
Technical field
The present invention relates to the video playback technology, relate in particular to a kind of Web TV time shift player method, network television system and device.
Background technology
Along with popularizing of broadband network and video website, The Application of Technology more and more widely for Web TV (being called for short WebTV).WebTV adopts HTTP dynamic code rate self adaptation (HTTP Live Streaming the is called for short HLS) agreement based on HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol is called for short HTTP) technology.
In existing HLS agreement, the method of carrying out net cast is: player uses URL(uniform resource locator) (Uniform Resource Locator, be called for short URL) to media server request playlist, media server returns playlist according to this URL to player.This playlist comprises the tabulation of 3 bursts arranging according to time sequencing of media file.According to above-mentioned existing HLS agreement, the method for video time shifting broadcasting comprises following two kinds.Method one: the user enters live operation, time shift operation or positioning action at every turn and reinitializes player, and after each initialization, for this player arranges new URL, media server returns the playlist that comprises 3 bursts of this URL appointment to player.Method two: when player is to media server request playlist each time, media server is formed playlist according to required time shift length with the burst of self storing, when providing playlist to player each time, media server directly returns current up-to-date playlist to player, and including from the current time time length of this time in the playlist that returns each time is whole bursts of required time shift length.
Adopt said method for the moment, the user enters live operation, time shift operation or positioning action at every turn all must reinitialize player, cause this procedure complexity, initialization time is long, and owing to cause blank screen in the initialization procedure, therefore the blank screen phenomenon appears in the employing method for a moment continually, thereby causes the efficient of time shifting broadcasting process low, weak effect.When adopting said method two, the length of each burst is generally 10 seconds in the former HLS agreement, player regularly obtains up-to-date playlist from media server according to the time interval of minute leaf length, existing HLS agreement can't be distinguished live TV state and time-shift playing state, media server returns the playlist of complete time shift length to player, and for the time shifting broadcasting process, time shift length is generally 1-2 hour, therefore this method has enlarged hundred times to the burst number that comprises in the playlist, thereby greatly consumed user's bandwidth, cause user's broadcast bandwidth deficiency, thereby cause the efficient of time shifting broadcasting process low, weak effect.
Summary of the invention
First aspect of the present invention provides a kind of Web TV time shift player method, in order to solve defective of the prior art, improves time shifting broadcasting efficient.
Another aspect of the present invention provides a kind of network television system, in order to solve defective of the prior art, improves time shifting broadcasting efficient.
Another aspect of the present invention provides a kind of broadcast agent apparatus, in order to solve defective of the prior art, improves time shifting broadcasting efficient.
Another aspect of the present invention provides a kind of time shift server, in order to solve defective of the prior art, improves time shifting broadcasting efficient.
First aspect of the present invention provides a kind of Web TV time shift player method, comprising:
Obtain the time shifting broadcasting tabulation from the time shift server, obtain the live play tabulation from direct broadcast server;
According to described time shifting broadcasting tabulation and the tabulation of described live play, generate current time shift window playlist;
Provide described current time shift window playlist to player, in described current time shift window playlist, select the location burst for described player;
When described location burst belongs to live burst, obtain from the live burst of described location burst and be transmitted to described player from described direct broadcast server;
When described location burst belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server.
Another aspect of the present invention provides a kind of network television system, comprising:
The time shift server is used for providing time shifting broadcasting tabulation and time-shifting fragment to the agent plays device;
Direct broadcast server is used for providing live play tabulation and live burst to the agent plays device;
Play agent apparatus, be used for generating current time shift window playlist and offering player according to described time shifting broadcasting tabulation and the tabulation of described live play; When the location burst of selecting when described player belongs to live burst, obtain from the live burst of described location burst and be transmitted to described player from described direct broadcast server; When the location burst of selecting when described player belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server;
Player is used for selecting the location burst at described current time shift window playlist, obtains live burst or time-shifting fragment that described broadcast agent apparatus is transmitted.Another aspect of the present invention provides a kind of broadcast agent apparatus, comprising:
First interactive unit is used for obtaining the time shifting broadcasting tabulation and obtaining the live play tabulation from direct broadcast server from the time shift server;
The playlist generation unit is used for generating current time shift window playlist according to described time shifting broadcasting tabulation and the tabulation of described live play;
Second interactive unit is used for providing described current time shift window playlist to player, selects the location burst for described player in described current time shift window playlist;
The burst retransmission unit, be used for when described location burst belongs to live burst obtaining from the live burst of described location burst and being transmitted to described player from described direct broadcast server, when described location burst belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server.
Another aspect of the present invention provides a kind of time shift server, comprising:
Playlist provides the unit, and being used for provides the time shifting broadcasting tabulation to playing agent apparatus, generates current time shift window playlist and offers player so that play agent apparatus, selects the location burst for player from described current time shift window playlist;
Burst provides the unit, and being used for provides from the time-shifting fragment of location burst, so that described broadcast agent apparatus is transmitted described time-shifting fragment to player to described broadcast agent apparatus when the location burst of player selection belongs to time-shifting fragment.
The technique effect of one aspect of the invention is: in above-mentioned Web TV time shift player method, when needs carry out time-shift service, obtain the time shifting broadcasting tabulation from the time shift server, time shifting broadcasting tabulation and live play tabulation combination are generated current time shift window playlist, player is selected the location burst according to this current time shift window playlist, thereby improves time shifting broadcasting efficient.
The technique effect of another aspect of the present invention is: in above-mentioned network television system, playing agent apparatus obtains the time shifting broadcasting tabulation and time shifting broadcasting tabulation and live play tabulation combination is generated current time shift window playlist from the time shift server, player is selected the location burst according to this current time shift window playlist, from improving time shifting broadcasting efficient.
The technique effect of another aspect of the present invention is: adopt above-mentioned broadcast agent apparatus, first interactive unit is obtained the time shifting broadcasting tabulation from the time shift server, the playlist generation unit generates current time shift window playlist with time shifting broadcasting tabulation and live play tabulation combination, second interactive unit provides current time shift window playlist and obtains the location burst that player is selected according to this current time shift window playlist to player, thereby can improve time shifting broadcasting efficient.
The technique effect of another aspect of the present invention is: in above-mentioned time shifting broadcasting device, playlist provides the unit to provide the time shifting broadcasting tabulation to playing agent apparatus, in order to play agent apparatus time shifting broadcasting tabulation and live play tabulation combination are generated current time shift window playlist, player is selected the location burst according to this current time shift window playlist, burst provides the unit to provide time-shifting fragment to playing agent apparatus, thereby can improve time shifting broadcasting efficient.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the Web TV time shift player method of the embodiment of the invention one;
Fig. 2 is the signaling process figure of the Web TV time shift player method of the embodiment of the invention two;
Fig. 3 is the structural representation of the network television system of the embodiment of the invention three;
Fig. 4 is the structural representation of the broadcast agent apparatus of the embodiment of the invention four;
Fig. 5 is the structural representation of the time shift server of the embodiment of the invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Existing network television system is made up of the player that is positioned at end side and the direct broadcast server that is positioned at network side.In following each embodiment of the present invention, in existing network television system, increase and play agent apparatus and time shift server.Wherein, play agent apparatus and be positioned at end side, be used for the information interaction between agent plays device and direct broadcast server and the time shift server.The time shift server is positioned at network side, is used for live content is recorded and stored, and the time shift service is provided.Direct broadcast server only is used for direct broadcast service is provided, and live content is not recorded and is stored.
Fig. 1 is the flow chart of the Web TV time shift player method of the embodiment of the invention one.As shown in Figure 1, this method comprises following process.
Step 101: play agent apparatus and obtain the time shifting broadcasting tabulation from the time shift server, obtain the live play tabulation from direct broadcast server.
Step 102: play agent apparatus according to time shifting broadcasting tabulation and live play tabulation, generate current time shift window playlist.Wherein, this time shift window playlist comprises the tabulation of burst of the time span correspondence of time shift window, obtains use for player.
Step 103: play agent apparatus and provide current time shift window playlist to player, in current time shift window playlist, select the location burst for player.
Step 104: when location burst when belonging to live burst, play agent apparatus and obtain from the live burst of location burst and be transmitted to described player from direct broadcast server; When location burst when belonging to time-shifting fragment, play agent apparatus and obtain from the time-shifting fragment of location burst and be transmitted to player from the time shift server.
In the embodiment of the invention one, when needs carry out time-shift service, obtain the time shifting broadcasting tabulation from the time shift server, time shifting broadcasting tabulation and live play tabulation combination are generated current time shift window playlist, player is selected the location burst according to this current time shift window playlist, thereby both needn't repeat the initialization player, also needn't in each live play tabulation, increase the burst number, and therefore can improve time shifting broadcasting efficient.
Fig. 2 is the signaling process figure of the Web TV time shift player method of the embodiment of the invention two.As shown in Figure 2, this method comprises following process.
Play agent apparatus and obtain the media index file from direct broadcast server, particularly, comprise step 201 and step 202.
Step 201: play agent apparatus and send media index file request message to direct broadcast server.
Step 202: direct broadcast server returns the media index file to playing agent apparatus.
In this step, direct broadcast server obtains media index file (for example index.m3u8 file), so that in subsequent step, when player is initiated request for the media index file, this media index file is sent to player.This media index file is used to indicate the various code checks that direct broadcast server is supported at current channel.
Play agent apparatus and obtain the time shifting broadcasting tabulation from the time shift server, particularly, comprise step 203 and step 204.
Step 203: play agent apparatus and send the time shifting broadcasting list request message to the time shift server.
Step 204: the time shift server returns the time shifting broadcasting tabulation to playing agent apparatus.
In this step, comprise the tabulation of burst of the time span correspondence of time shift window in the tabulation of this time shifting broadcasting.In the embodiment of the invention two, with the time span of each burst be 10 seconds be example, represent the burst that certain video frequency program began at 8 o'clock with No. 200 burst, then No. 201 burst is 8 o'clock bursts of beginning in 10 seconds again.With the current time be 10 o'clock, the time span of time shift window be 2 hours for example.Then in the case, the time shift window is 8 o'clock to 10 o'clock, and the time shift server is the tabulation of the burst from 8 o'clock to 10 o'clock correspondences, i.e. No. 200 to No. 919 burst to the time shifting broadcasting tabulation that the broadcast agent apparatus returns.
Play agent apparatus and obtain the live play tabulation from direct broadcast server, particularly, comprise step 205 and step 206.
Playing agent apparatus obtains the time shifting broadcasting tabulation and plays agent apparatus unrestricted from the execution sequence that direct broadcast server obtains the live play tabulation from the time shift server.In the embodiment of the invention two, only obtain the time shifting broadcasting tabulation from the time shift server earlier to play agent apparatus, and then obtain live play tabulation from direct broadcast server and illustrated for example, in other embodiment, also can obtain the live play tabulation from direct broadcast server earlier, and then obtain time shifting broadcasting from the time shift server and tabulate, perhaps obtain the live play tabulation and obtain the time shifting broadcasting tabulation from the time shift server from direct broadcast server simultaneously.
Step 205: play agent apparatus and send the live play list request message to direct broadcast server.
In this step, sent the live play list request message to direct broadcast server in 10 seconds to play agent apparatus again at 10 o'clock.
Step 206: direct broadcast server returns the live play tabulation to playing agent apparatus.
In this step, comprise the tabulation of the burst of default number in this live play tabulation.In the embodiment of the invention two, being 3 with above-mentioned default number is example, comprises 3 bursts that the time is up-to-date in the live play tabulation.Because in the step 205, play agent apparatus and sent the live play list request message to direct broadcast server in 10 seconds again at 10 o'clock, then in step 206, the live play tabulation that direct broadcast server returns is the tabulation that comprises No. 918, No. 919 and No. 920 burst.
Step 207: play agent apparatus according to live play tabulation and time shifting broadcasting tabulation, generate current time shift window playlist.
In this step, the concrete grammar that generates current time shift window playlist is: at first, play agent apparatus according to time sequencing splicing time shifting broadcasting tabulation and live play tabulation, then, play agent apparatus and from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, with total playlist of this moment as current time shift window playlist.Particularly, still with the time shifting broadcasting tabulation be No. 200 to the tabulation of No. 919 burst, and the live play tabulation is No. 918, the tabulation of No. 919 and No. 920 burst is example, at first, play agent apparatus according to time sequencing splicing time shifting broadcasting tabulation and live play tabulation, total playlist that splicing back obtains be No. 200 to the tabulation of No. 920 burst, then, play agent apparatus and from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, in above-mentioned instantiation, the time span of time shift window is 2 hours, in total playlist that the splicing back obtains, the burst from No. 200 to No. 920, time span than time shift window has exceeded 1 burst, therefore according to the time by old to new order, 1 the oldest burst of deletion the burst from No. 200 to No. 920, namely delete burst No. 200, finally obtaining current time shift window playlist is to comprise No. 201 to the playlist of No. 920 burst.
Particularly, after the burst that in determining current time shift window playlist, comprises, revise the initial burst sequence number of this current time shift window playlist, this sequence number is revised as the sequence number of the oldest burst of time of determining to be included in the current time shift window playlist.If this initial burst self does not have key parameter, then according to according to by the old previous burst of this initial burst during to new rank order, i.e. the burst of last deletion copies the key parameter of this burst to initial burst.For example, in above-mentioned instantiation, current time shift window playlist is to comprise No. 201 to the playlist of No. 920 burst, and then initial burst is No. 201 burst, and the initial burst sequence number of current time shift window playlist is revised as 201.Not having key parameter, No. 200 burst to have key parameter with No. 201 burst self is example, in the case, because No. 200 burst is deleted, No. 201 burst is as first burst, and then the key parameter with No. 200 burst copies to No. 201 burst.
Then, play agent apparatus and provide the media index file to player, particularly, comprise step 208 and step 209.
Step 208: player sends media index file request message to playing agent apparatus.
Step 209: play agent apparatus and return the media index file to player.
In this step, play agent apparatus and return the media index file that the broadcast agent apparatus obtains to player in step 202, determine to play code check for player according to this media index file.Particularly, player can obtain the various code checks that direct broadcast server is supported at current channel according to this media index file (for example index.m3u8 file), thereby player can be according to this media index file, from the various code checks of supporting, determine the broadcast code check of self, when determining to play code check, player can be selected with reference to the actual bandwidth ability of self.
Then, play agent apparatus and provide current time shift window playlist to player, in current time shift window playlist, select the location burst for player, particularly, comprise that step 210 is to step 212.
Step 210: player sends playlist request message to playing agent apparatus.
Step 211: play agent apparatus and return current time shift window playlist to player.
In this step, in above-mentioned instantiation, the current time shift window playlist that the broadcast agent apparatus returns to player is to comprise No. 201 to the playlist of No. 920 burst.
Step 212: player is selected the location burst in current time shift window playlist, sends location burst request message to playing agent apparatus.
In this step, player is selected according to current time shift window playlist, selects the location burst from this table.In above-mentioned instantiation, player is selected one as the location burst the burst from No. 201 to No. 920.
Step 213: the agent plays device judges whether the location burst belongs to the burst of up-to-date default number of time in the current time shift window playlist.
In this step, this default number is the number of the burst that comprises in the live play tabulation.If the judgment is Yes, then this location burst belongs to live burst, execution in step 214 after step 213.In this step, if the judgment is No, then this location burst belongs to time-shifting fragment, execution in step 215 after step 213.In above-mentioned instantiation, still being 3 with default number is example, and the location burst is that player is selected the burst from No. 201 to No. 920.If this location burst belongs to 3 up-to-date bursts of time, for example this location burst is No. 920 burst, No. 919 burst or No. 918 burst, and then this location burst belongs to live burst.If this location burst does not belong to 3 up-to-date bursts of time, for example this location burst is any one in No. 917 bursts of No. 201 burst to the, and then this location burst belongs to time-shifting fragment.
Step 214: play agent apparatus and obtain from the live burst of location burst from direct broadcast server.
After step 214, execution in step 216.
Step 215: play agent apparatus and obtain from the time-shifting fragment of location burst from the time shift server.
After step 215, execution in step 216.
Step 216: play agent apparatus and transmit burst to player.
In this step, particularly, play agent apparatus and transmit in the step 214 time-shifting fragment that obtains from the time shift server the live burst that obtains from direct broadcast server or the step 215 to player.In repeating process, play agent apparatus and adopt the mode that forwards data packets one by one, live burst or the time-shifting fragment that obtains do not carried out any buffer operation, thereby the local bandwidth calculation mistake of the player of avoiding buffer operation to cause further improves time shifting broadcasting efficient and accuracy.
Above-mentioned steps 201 to step 216 pair is carried out the processing procedure of time shifting broadcasting for the first time and is introduced.Wherein, in step 207, play agent apparatus according to after live play tabulation and the current time shift window playlist of time shifting broadcasting tabulation generation, this current time shift window playlist that generates in the first time shifting broadcasting process is stored.After finishing first time shifting broadcasting process, follow-up when carrying out time shifting broadcasting again, play agent apparatus and can obtain the time shifting broadcasting tabulation again, tabulate and only obtain new live play, the current time shift window playlist of new live play tabulation with storage spliced, forms new current time shift window playlist and the current time shift window playlist of storing is upgraded.
Particularly, after step 216, the detailed process of carrying out time shifting broadcasting again comprises:
Step 217: play agent apparatus and send the live play list request message to direct broadcast server.
Step 218: direct broadcast server returns new live play tabulation to playing agent apparatus.
Step 219: play agent apparatus according to new live play tabulation and the current time shift window playlist of storage, generate new current time shift window playlist, and the current time shift window playlist of updated stored.
In this step, the concrete grammar that generates new current time shift window playlist is: at first, play agent apparatus according to current time shift window playlist and the live play tabulation of time sequencing splicing storage, then, play agent apparatus and from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, with total playlist of this moment as new current time shift window playlist.
After playing the new current time shift window playlist of agent apparatus generation, the current time shift window playlist that the broadcast agent apparatus will be stored is updated to the new current time shift window playlist of generation.
Step 220: player sends playlist request message to playing agent apparatus.
Step 221: play agent apparatus and return new current time shift window playlist to player.
Step 222: player is selected the location burst in new current time shift window playlist, sends location burst request message to playing agent apparatus.
Step 223: the agent plays device judges whether the location burst belongs to the burst of up-to-date default number of time in the new current time shift window playlist.
If the judgment is Yes, then this location burst belongs to live burst, execution in step 224 after step 223.In this step, if the judgment is No, then this location burst belongs to time-shifting fragment, execution in step 225 after step 223.
Step 224: play agent apparatus and obtain from the live burst of location burst from direct broadcast server.
After step 224, execution in step 226.
Step 225: play agent apparatus and obtain from the time-shifting fragment of location burst from the time shift server.
After step 225, execution in step 226.
Step 226: play agent apparatus and transmit burst to player.
In the embodiment of the invention two, when first needs carry out time-shift service, play agent apparatus and obtain the time shifting broadcasting tabulation from the time shift server, time shifting broadcasting tabulation and live play tabulation combination are generated current time shift window playlist, player is selected the location burst according to this current time shift window playlist, play agent apparatus according to the position of location burst, obtain time-shifting fragment or obtain live burst from direct broadcast server from the time shift server, thereby both needn't repeat the initialization player, also needn't in each live play tabulation, increase the burst number, therefore can improve time shifting broadcasting efficient.And, current time shift window playlist to first generation is stored, when needing again to carry out time-shift service, only obtain new live play tabulation from direct broadcast server, generate new current time shift window playlist according to new live play tabulation and the current time shift window playlist of storage, and needn't repeat to obtain the time shifting broadcasting tabulation, processing mode is simple, therefore can further improve time shifting broadcasting efficient.And, by time shift server and direct broadcast server are set respectively, thereby needn't make amendment to existing direct broadcast server, by the broadcast agent apparatus is set, thereby needn't make amendment to player, and above-mentioned broadcast agent apparatus and above-mentioned time shift server, the reciprocal process of direct broadcast server and player meets existing network television system accepted standard agreement, thereby can compatible existing network side and terminal side equipment, and can be applied to flexible and convenient (the Certification Authority of different authentication mechanism, abbreviation CA) product of manufacturer or content distributing network (Content Delivery Network is called for short CDN) manufacturer.
In the invention described above embodiment one and the embodiment of the invention two, for using the browser of installing on computers to realize the situation of network TV business, above-mentioned broadcast agent apparatus can be used as a plug-in unit of this browser and realizes; Be installed in the situation of the application program realization network TV business on the smart mobile phone for use, when for example the user used the mobile phone of ipad, iphone, android system to use network TV business, above-mentioned broadcast agent apparatus can be used as an application program and realizes.
Fig. 3 is the structural representation of the network television system of the embodiment of the invention three.As shown in Figure 3, this system comprises: time shift server 31, direct broadcast server 32, broadcast agent apparatus 33 and player 34.
Wherein, time shift server 31 is used for providing time shifting broadcasting tabulation and time-shifting fragment to the agent plays device.Time shift server 31 is positioned at network side, live content is recorded and is stored, so that the time shift service to be provided.
Direct broadcast server 32 is used for providing live play tabulation and live burst to the agent plays device.Direct broadcast server 32 only is used for direct broadcast service is provided, and live content is not recorded and is stored.
Playing agent apparatus 33 is used for generating current time shift window playlist and offering player 34 according to time shifting broadcasting tabulation and live play tabulation, when the location burst of player 34 selections belongs to live burst, playing agent apparatus 33 obtains from the live burst of location burst and is transmitted to player 34 from direct broadcast server 32, when the location burst of selecting when player 34 belongs to time-shifting fragment, play agent apparatus 33 and obtain from the time-shifting fragment of location burst and be transmitted to player 34 from time shift server 31.Play agent apparatus 33 and be positioned at end side, the information interaction between agent plays device 34 and direct broadcast server 32 and the time shift server 31.
Player 34 is used for selecting the location burst at current time shift window playlist, obtains and plays live burst or the time-shifting fragment that agent apparatus 33 is transmitted.
On the basis of technique scheme, further, direct broadcast server 32 also is used for providing new live play tabulation and new live burst to agent plays device 33.Play agent apparatus 33 and also be used for the current time shift window playlist of storage, obtain new live play tabulation from direct broadcast server 32, according to the current time shift window playlist of storage and new live play tabulation, generate new current time shift window playlist and offer player 34.Player 34 also is used for selecting the location burst at new current time shift window playlist.
On the basis of technique scheme, particularly, comprise the tabulation of burst of the time span correspondence of time shift window in the time shifting broadcasting tabulation.Comprise the tabulation of the burst of default number in the live play tabulation.It is concrete for tabulating and the live play tabulation according to time sequencing splicing time shifting broadcasting to play agent apparatus 33, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, with total playlist of this moment as current time shift window playlist.Also concrete being used for spliced current time shift window playlist and new live play tabulation according to time sequencing to play agent apparatus 33, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, with total playlist as new current time shift window playlist.
On the basis of technique scheme, further, play agent apparatus 33 and be used for also judging whether the location burst belongs to the burst of up-to-date default number of current time shift window playlist time.If the location burst belongs to live burst; Otherwise the location burst belongs to time-shifting fragment.
On the basis of technique scheme, further, play agent apparatus 33 and also be used for obtaining the media index file and providing the media index file to player 34 from direct broadcast server 32, determine to play code check for player 34 according to the media index file.
In the technique scheme of the embodiment of the invention three, independently be set to example respectively with time shift server 31 and direct broadcast server 32, because the great majority of network television system are with needing to carry out the live play business per family, and only have a few users need carry out time shifting broadcasting, therefore with time shift server 31 and direct broadcast server 32 independent setting respectively, storage device is not set in direct broadcast server 32, only in time shift server 31, storage device is set, when direct broadcast server 32 carries out live play, the program of time shift server 31 synchronous recording live play, and be stored on the time shift server 31.For most of users' live play business, only adopt direct broadcast server 32 to realize; When the user need carry out the time shifting broadcasting business, adopt time shift server 31 to realize.Thereby by time shift server 31 and direct broadcast server 32 independently are set respectively, saved the performance cost of storing and recording, and saved the cost of manufacture of time shift server 31 and direct broadcast server 32 integral body.In other embodiment, also can time shift server 31 and direct broadcast server 32 is integrated, as media server, this media server has the function of above-mentioned time shift server 31 and direct broadcast server 32.In the technique scheme of the embodiment of the invention three, independently be set to the realization of different threads or software program with playing agent apparatus 33 respectively with player 34, in other embodiment, also can be arranged in a thread or the software program and realize playing agent apparatus 33 and player 34.
In the embodiment of the invention three, when needs carry out time-shift service, in network television system, play agent apparatus and obtain the time shifting broadcasting tabulation from the time shift server, time shifting broadcasting tabulation and live play tabulation combination are generated current time shift window playlist, player is selected the location burst according to this current time shift window playlist, thereby both needn't repeat the initialization player, also needn't in each live play tabulation, increase the burst number, so this network television system can improve time shifting broadcasting efficient.And, playing agent apparatus stores the current time shift window playlist of first generation, when needing again to carry out time-shift service, play agent apparatus and only obtain new live play tabulation from direct broadcast server, generate new current time shift window playlist according to new live play tabulation and the current time shift window playlist of storage, and needn't repeat to obtain the time shifting broadcasting tabulation, processing mode is simple, therefore further improves time shifting broadcasting efficient.
Fig. 4 is the structural representation of the broadcast agent apparatus of the embodiment of the invention four.As shown in Figure 4, this device comprises: first interactive unit 41, playlist generation unit 42, second interactive unit 43 and burst retransmission unit 44.
Wherein, first interactive unit 41 is used for obtaining the time shifting broadcasting tabulation and obtaining the live play tabulation from direct broadcast server from the time shift server.
Playlist generation unit 42 is used for playing agent apparatus according to time shifting broadcasting tabulation and live play tabulation, generates current time shift window playlist.
Second interactive unit 43 is used for providing current time shift window playlist to player, selects the location burst for player in current time shift window playlist.
Burst retransmission unit 44 is used for when the location burst belongs to live burst obtaining from the live burst of location burst and being transmitted to player from direct broadcast server, obtains from the time-shifting fragment of locating burst and is transmitted to above-mentioned player from the time shift server when the location burst belongs to time-shifting fragment.
On the basis of technique scheme, further, first interactive unit 41 also is used for obtaining new live play tabulation from direct broadcast server.Playlist generation unit 42 also is used for the current time shift window playlist of storage, according to the current time shift window playlist of storage and new live play tabulation, generates new current time shift window playlist.Second interactive unit 43 also is used for providing new current time shift window playlist to player, selects the location burst for player in new current time shift window playlist.
On the basis of technique scheme, particularly, comprise the tabulation of burst of the time span correspondence of time shift window in the time shifting broadcasting tabulation.Comprise the tabulation of the burst of default number in the live play tabulation.Playlist generation unit 42 is concrete for tabulating according to time sequencing splicing time shifting broadcasting tabulation and above-mentioned live play, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, with total playlist as current time shift window playlist.Also concrete being used for spliced current time shift window playlist and new live play tabulation according to time sequencing to playlist generation unit 42, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in total playlist is the time span of time shift window, with total playlist as described new current time shift window playlist.
On the basis of technique scheme, further, burst retransmission unit 44 is used for also judging whether the location burst belongs to the burst of up-to-date above-mentioned default number of current time shift window playlist time, if, the location burst belongs to live burst, otherwise the location burst belongs to time-shifting fragment.
On the basis of technique scheme, further, first interactive unit 41 also is used for obtaining the media index file from direct broadcast server.Second interactive unit 43 also is used for providing above-mentioned media index file to player, determines to play code check for this player according to this media index file.
In the embodiment of the invention four, when needs carry out time-shift service, play first interactive unit of agent apparatus and obtain the time shifting broadcasting tabulation from the time shift server, the playlist generation unit of playing agent apparatus generates current time shift window playlist with time shifting broadcasting tabulation and live play tabulation combination, second interactive unit provides current time shift window playlist to player, and obtain player according to the location burst of this current time shift window playlist selection, thereby both needn't repeat the initialization player, also needn't in each live play tabulation, increase the burst number, therefore can improve time shifting broadcasting efficient.And, playing the playlist generation unit of agent apparatus stores the current time shift window playlist of first generation, when needing again to carry out time-shift service, play first interactive unit of agent apparatus and only obtain new live play tabulation from direct broadcast server, the playlist generation unit generates new current time shift window playlist according to new live play tabulation and the current time shift window playlist of storage, and first interactive unit needn't repeat to obtain the time shifting broadcasting tabulation, processing mode is simple, and therefore this broadcast agent apparatus can further improve time shifting broadcasting efficient.
Fig. 5 is the structural representation of the time shift server of the embodiment of the invention five.As shown in Figure 5, this time shift server comprises: playlist provides unit 51 and burst that unit 52 is provided.
Wherein, playlist provides unit 51, be used for providing the time shifting broadcasting tabulation to playing agent apparatus, generate current time shift window playlist and offer player so that play agent apparatus, from above-mentioned current time shift window playlist, select the location burst for player;
Burst provides unit 52, and being used for provides from the time-shifting fragment of location burst, so that above-mentioned broadcast agent apparatus is transmitted above-mentioned time-shifting fragment to player to above-mentioned broadcast agent apparatus when the location burst of player selection belongs to time-shifting fragment.
In the embodiment of the invention five, the playlist of time shifting broadcasting device provides the unit to provide the time shifting broadcasting tabulation to playing agent apparatus, in order to play agent apparatus time shifting broadcasting tabulation and live play tabulation combination are generated current time shift window playlist, player is selected the location burst according to this current time shift window playlist, the burst of time shifting broadcasting device provides the unit to provide time-shifting fragment to playing agent apparatus, thereby both needn't repeat the initialization player, also needn't in each live play tabulation, increase the burst number, therefore can improve time shifting broadcasting efficient.
Need to prove: for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each method embodiment can be finished by the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program is carried out the step that comprises above-mentioned each method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although the present invention has been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (16)

1. a Web TV time shift player method is characterized in that, comprising:
Obtain the time shifting broadcasting tabulation from the time shift server, obtain the live play tabulation from direct broadcast server;
According to described time shifting broadcasting tabulation and the tabulation of described live play, generate current time shift window playlist;
Provide described current time shift window playlist to player, in described current time shift window playlist, select the location burst for described player;
When described location burst belongs to live burst, obtain from the live burst of described location burst and be transmitted to described player from described direct broadcast server;
When described location burst belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server.
2. method according to claim 1 is characterized in that,
Also comprise after the current time shift window of the described generation playlist: store described current time shift window playlist;
Describedly obtain from the live burst of described location burst and be transmitted to described player or obtain from the time-shifting fragment of described location burst and be transmitted to after the described player from described time shift server from described direct broadcast server, also comprise: obtain new live play tabulation from direct broadcast server; Described current time shift window playlist and the tabulation of described new live play according to storage generate new current time shift window playlist; Provide described new current time shift window playlist to player, in described new current time shift window playlist, select the location burst for described player; When described location burst belongs to live burst, obtain from the live burst of described location burst and be transmitted to described player from described direct broadcast server; When described location burst belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server.
3. method according to claim 2 is characterized in that,
Comprise the tabulation of burst of the time span correspondence of time shift window in the tabulation of described time shifting broadcasting;
Comprise the tabulation of the burst of default number in the described live play tabulation;
Described according to described time shifting broadcasting tabulation and the tabulation of described live play, generate current time shift window playlist and comprise: splice described time shifting broadcasting tabulation and the tabulation of described live play according to time sequencing; From total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in described total playlist is the time span of time shift window, with described total playlist as described current time shift window playlist;
Described described current time shift window playlist and the tabulation of described new live play according to storage generate new current time shift window playlist and comprise: splice described current time shift window playlist and the tabulation of described new live play according to time sequencing; From total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in described total playlist is the time span of time shift window, with described total playlist as described new current time shift window playlist.
4. according to any described method in the claim 1 to 3, it is characterized in that, when described player is selected the location burst in described current time shift window playlist after, also comprise:
Judge whether described location burst belongs to the burst of up-to-date described default number of time in the described current time shift window playlist;
If described location burst belongs to live burst;
Otherwise described location burst belongs to time-shifting fragment.
5. according to any described method in the claim 1 to 4, it is characterized in that,
Described obtain live play tabulation from direct broadcast server before, also comprise: obtain the media index file from direct broadcast server;
Described provide described current time shift window playlist to player before, also comprise: provide described media index file to described player, determine to play code check for described player according to described media index file.
6. a network television system is characterized in that, comprising:
The time shift server is used for providing time shifting broadcasting tabulation and time-shifting fragment to the agent plays device;
Direct broadcast server is used for providing live play tabulation and live burst to the agent plays device;
Play agent apparatus, be used for generating current time shift window playlist and offering player according to described time shifting broadcasting tabulation and the tabulation of described live play; When the location burst of selecting when described player belongs to live burst, obtain from the live burst of described location burst and be transmitted to described player from described direct broadcast server; When the location burst of selecting when described player belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server;
Player is used for selecting the location burst at described current time shift window playlist, obtains live burst or time-shifting fragment that described broadcast agent apparatus is transmitted.
7. system according to claim 6 is characterized in that,
Described direct broadcast server also is used for providing new live play tabulation and new live burst to the agent plays device;
Described broadcast agent apparatus also is used for the described current time shift window playlist of storage, obtain new live play tabulation from described direct broadcast server, described current time shift window playlist and the tabulation of described new live play according to storage generate new current time shift window playlist and offer described player.
8. system according to claim 7 is characterized in that,
Comprise the tabulation of burst of the time span correspondence of time shift window in the tabulation of described time shifting broadcasting;
Comprise the tabulation of the burst of default number in the described live play tabulation;
Described broadcast agent apparatus specifically is used for splicing described time shifting broadcasting tabulation and the tabulation of described live play according to time sequencing, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in described total playlist is the time span of time shift window, with described total playlist as described current time shift window playlist;
Described broadcast agent apparatus also specifically is used for splicing described current time shift window playlist and the tabulation of described new live play according to time sequencing, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in described total playlist is the time span of time shift window, with described total playlist as described new current time shift window playlist.
9. according to any described system in the claim 6 to 8, it is characterized in that,
Described broadcast agent apparatus also is used for judging whether described location burst belongs to the burst of up-to-date described default number of described current time shift window playlist time; If described location burst belongs to live burst; Otherwise described location burst belongs to time-shifting fragment.
10. according to any described system in the claim 6 to 9, it is characterized in that,
Described broadcast agent apparatus also is used for obtaining the media index file and providing described media index file to described player from described direct broadcast server, determines to play code check for described player according to described media index file.
11. play agent apparatus for one kind, it is characterized in that, comprising:
First interactive unit is used for obtaining the time shifting broadcasting tabulation and obtaining the live play tabulation from direct broadcast server from the time shift server;
The playlist generation unit is used for generating current time shift window playlist according to described time shifting broadcasting tabulation and the tabulation of described live play;
Second interactive unit is used for providing described current time shift window playlist to player, selects the location burst for described player in described current time shift window playlist;
The burst retransmission unit, be used for when described location burst belongs to live burst obtaining from the live burst of described location burst and being transmitted to described player from described direct broadcast server, when described location burst belongs to time-shifting fragment, obtain from the time-shifting fragment of described location burst and be transmitted to described player from described time shift server.
12. device according to claim 11 is characterized in that,
Described first interactive unit also is used for obtaining new live play tabulation from direct broadcast server;
Described playlist generation unit also is used for the described current time shift window playlist of storage, and described current time shift window playlist and the tabulation of described new live play according to storage generate new current time shift window playlist;
Described second interactive unit also is used for providing described new current time shift window playlist to player, selects the location burst for described player in described new current time shift window playlist.
13. device according to claim 12 is characterized in that,
Comprise the tabulation of burst of the time span correspondence of time shift window in the tabulation of described time shifting broadcasting;
Comprise the tabulation of the burst of default number in the described live play tabulation;
Described playlist generation unit specifically is used for splicing described time shifting broadcasting tabulation and the tabulation of described live play according to time sequencing, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in described total playlist is the time span of time shift window, with described total playlist as described current time shift window playlist;
Described playlist generation unit also specifically is used for splicing described current time shift window playlist and the tabulation of described new live play according to time sequencing, from total playlist that splicing obtains, one by one delete burst by old to new order according to the time, till the time span of the burst in described total playlist is the time span of time shift window, with described total playlist as described new current time shift window playlist.
14. according to any described device in the claim 11 to 13, it is characterized in that,
Described burst retransmission unit also is used for judging whether described location burst belongs to the burst of up-to-date described default number of described current time shift window playlist time, if, described location burst belongs to live burst, otherwise described location burst belongs to time-shifting fragment.
15. according to any described device in the claim 11 to 14, it is characterized in that,
Described first interactive unit also is used for obtaining the media index file from direct broadcast server;
Described second interactive unit also is used for providing described media index file to described player, determines to play code check for described player according to described media index file.
16. a time shift server is characterized in that, comprising:
Playlist provides the unit, and being used for provides the time shifting broadcasting tabulation to playing agent apparatus, generates current time shift window playlist and offers player so that play agent apparatus, selects the location burst for player from described current time shift window playlist;
Burst provides the unit, and being used for provides from the time-shifting fragment of location burst, so that described broadcast agent apparatus is transmitted described time-shifting fragment to player to described broadcast agent apparatus when the location burst of player selection belongs to time-shifting fragment.
CN201210027270.2A 2012-02-08 2012-02-08 Network television time shifting play method as well as network television system and device Active CN103248912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210027270.2A CN103248912B (en) 2012-02-08 2012-02-08 Network television time shifting play method as well as network television system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210027270.2A CN103248912B (en) 2012-02-08 2012-02-08 Network television time shifting play method as well as network television system and device

Publications (2)

Publication Number Publication Date
CN103248912A true CN103248912A (en) 2013-08-14
CN103248912B CN103248912B (en) 2017-04-26

Family

ID=48928100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210027270.2A Active CN103248912B (en) 2012-02-08 2012-02-08 Network television time shifting play method as well as network television system and device

Country Status (1)

Country Link
CN (1) CN103248912B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486636A (en) * 2014-12-30 2015-04-01 中科创达软件股份有限公司 Video clip cache method and system based on HLS protocol
CN105681913A (en) * 2016-01-12 2016-06-15 青岛海信电器股份有限公司 Multi-screen interaction method and device
CN106686471A (en) * 2015-11-06 2017-05-17 中国电信股份有限公司 Method and client for realizing network video live broadcast
CN107864382A (en) * 2017-10-24 2018-03-30 广东省南方数字电视无线传播有限公司 Video broadcasting method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420603A (en) * 2008-09-05 2009-04-29 中兴通讯股份有限公司 Method for implementing media distribution, positioning by segmented memory and stream media system thereof
WO2011136496A2 (en) * 2010-04-26 2011-11-03 Samsung Electronics Co., Ltd. Method and apparatus for playing live content

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420603A (en) * 2008-09-05 2009-04-29 中兴通讯股份有限公司 Method for implementing media distribution, positioning by segmented memory and stream media system thereof
WO2011136496A2 (en) * 2010-04-26 2011-11-03 Samsung Electronics Co., Ltd. Method and apparatus for playing live content

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SEONG YONG LIM等: "Advanced PVR Architecture with Segment-based Time-Shift", 《INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS》 *
徐良基等: "流媒体直播(时移)系统的设计", 《中国图像图形学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486636A (en) * 2014-12-30 2015-04-01 中科创达软件股份有限公司 Video clip cache method and system based on HLS protocol
CN106686471A (en) * 2015-11-06 2017-05-17 中国电信股份有限公司 Method and client for realizing network video live broadcast
CN105681913A (en) * 2016-01-12 2016-06-15 青岛海信电器股份有限公司 Multi-screen interaction method and device
CN105681913B (en) * 2016-01-12 2019-02-19 青岛海信电器股份有限公司 Multi-screen interaction method and device
CN107864382A (en) * 2017-10-24 2018-03-30 广东省南方数字电视无线传播有限公司 Video broadcasting method, device and system

Also Published As

Publication number Publication date
CN103248912B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
TWI581625B (en) Information transmitting method and system thereof
RU2632403C2 (en) Terminal device, server device, method of information processing, program and system of related application delivery
EP4080893A2 (en) System for video playback using a server generated manifest
CN101415069B (en) Server and method for sending on-line play video
CN104159132B (en) Video customizes the implementation method and device of service
CN102474594A (en) Systems and methods for managing content in real-time
JP2013509023A (en) Automatic media asset updates via online social networks
CN101467141A (en) Advertising transfer and playback on portable devices
CN102546781B (en) Course resource playing method and course resource playing system
CN105916030A (en) Method, device and system for recording breakpoint information of video on demand
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
US9294803B2 (en) Kiosk set-top-box
CN103248912A (en) Network television time shifting play method as well as network television system and device
KR20080063126A (en) Network system, server apparatus, terminal apparatus, display system of content guide, program for server apparatus, program for terminal apparatus
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
US9237363B2 (en) Dynamic injection of metadata into flash video
CN104954860A (en) Set-top box, electronic program server, multimedia system and data interaction method
CN106303754A (en) A kind of audio data play method and device
WO2016184288A1 (en) Advertisement putting method, device and system
CN114417055A (en) Video playing method and device, computer equipment and storage medium
WO2017014034A1 (en) Reception device, transmission device, and data processing method
US11032589B1 (en) Methods, systems, and media for ensuring consumption of portions of media content
KR20100021164A (en) Contents receiving apparatus obtaining application control information and method thereof
CN105007521A (en) Method and device for playing TS (Transport Stream) video
US11985367B2 (en) Methods, systems, and media for ensuring consumption of portions of media content

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