CN102740156B - Program playback realization method for set-top box, set-top box, server and system - Google Patents

Program playback realization method for set-top box, set-top box, server and system Download PDF

Info

Publication number
CN102740156B
CN102740156B CN201110089714.0A CN201110089714A CN102740156B CN 102740156 B CN102740156 B CN 102740156B CN 201110089714 A CN201110089714 A CN 201110089714A CN 102740156 B CN102740156 B CN 102740156B
Authority
CN
China
Prior art keywords
program
playback
channel
delay time
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110089714.0A
Other languages
Chinese (zh)
Other versions
CN102740156A (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201110089714.0A priority Critical patent/CN102740156B/en
Publication of CN102740156A publication Critical patent/CN102740156A/en
Application granted granted Critical
Publication of CN102740156B publication Critical patent/CN102740156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a program playback realization method for a set-top box, comprising the following steps: a set-top box acquires a playback program of a current channel when detecting a current channel look back request sent by a user; the set-top box acquires a broadcast frequency point of a playback program packet of the current channel corresponding to the request playback delay time from a playback program list according to a request playback delay time input by the user; and the set-top box locks the broadcast frequency point, acquires the playback program packet broadcast by a front-end server at the frequency point, and starts a decoder to broadcast a program corresponding to the playback program packet. The embodiment of the invention further discloses a set-top box, a front-end server and a system. By adopting the program playback realization method for a set-top box, the set-top box, the front-end server and the system, the function of program playback can be realized in a unidirectional set-top box without recording or storing program data according to the playback program list sent by the front-end server and the playback program packet broadcast at a corresponding frequency point.

Description

A kind of programme replay implementation method, Set Top Box, server and system of Set Top Box
Technical field
The present invention relates to Set Top Box playback field, relate in particular to a kind of programme replay implementation method, Set Top Box, server and system of Set Top Box.
Background technology
As everyone knows, it is broadcast type that TV programme is play, and the program having broadcasted is gone for ever.So we must immediately watch, otherwise will miss program.Particularly, for the highlight of some hot broadcasts, we have often missed the good opportunity of watching because be busy with one's work, and this kind of situation allows people feel unfortunate unavoidably.Yet had programme replay function, we just can keep synchronizeing watching TV programme that we like with TV station's reproduction time, and can the some time section after it plays out select to watch.Because programme replay function makes user, from passive, become initiatively, can bring brand-new experience to user.Therefore, for some excellent programs, playback business can become each user's free time prime time of TV station, has improved program audience rating, has all brought immeasurable market value to radio and TV operator, TV station, radio, TV and film industries.
Conventionally, mostly to require Set Top Box be bi-directional type in the realization of programme replay function.This Set Top Box not only can get programme information from the program of front end server broadcast, can also send the instruction of control programme replay according to user's the forward end server that needs, to obtain front-end server, to this Set Top Box, send corresponding one programme information broadcasting to realize programme replay function.
At present, although the cable TV of China has had number with digital cable customers necessarily, the Set Top Box major part that these digital cable customers are used is one-way set-top box.The coming years, the road that China Digital TV is universal to be determined to walk substantially " whole conversion ", and turn over is given Set Top Box by operator to user exactly, cost consideration based on front end environment and terminal equipment, operator still can major part select the one-way set-top box to front end environment requires simply, performance configuration is lower.Therefore, how on one-way set-top box, to realize programme replay function, undoubtedly user and operation commercial city are had to great practical significance.
Current can in one-way set-top box, realize programme replay and comprise: the method that realizes programme replay based on memory device, its concrete steps comprise: terminal set top box is when carrying out living broadcast of programs, start the recording function of current program, form with TS writes program data in real time in hard disk or internal memory and preserves, when user selects programme replay function, from hard disk or internal memory, search and read the program data of certain time period, realize programme replay.
Programme replay method based on memory device, need every Set Top Box hard disk of configuration or jumbo internal memory as the medium of playback program storage, will increase operation cost like this, and the time length of programme replay is subject to the space size restriction of memory device; , in the process of only playing at program, recorded meanwhile, just can carry out playback, user experiences and is affected.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of programme replay implementation method, Set Top Box, server and system of Set Top Box are provided, make the programme replay programme that Set Top Box can issue according to front-end server and the playback program of broadcasting at respective tones point grouping, do not need recording and storing program data just can in one-way set-top box, realize programme replay function.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of programme replay implementation method of Set Top Box, comprising:
When Set Top Box is reviewed request at the current channel that user's transmission detected, obtain the playback program list of described current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel;
According to the request playback delay time difference of user input, in described playback program list, obtain the frequency of broadcasting that the playback program of this request playback delay corresponding described current channel of the time difference divides into groups;
Described in locking, broadcast frequency, obtain the playback program of being broadcast by front-end server on this frequency and divide into groups, start decoder to play the described playback program corresponding program that divides into groups.
Wherein, the playback program list of described current channel is to get in the transport stream that issues at front-end server of described Set Top Box.
Wherein, when described Set Top Box is reviewed request at the current channel that user's transmission detected, the step of obtaining the playback program list of described current channel also comprises that front-end server carries out programme replay and broadcasts control step before, and it specifically comprises:
Front-end server is the selected program channel that needs playback in program source database, and by the channel of this program channel, and delay time lag and the maximum delay time difference that allows of setting this program channel add in the attribute information of this program channel;
According to each programm name of this program channel and plan broadcast thereof, generate programme televised live list constantly;
According to channel, programme televised live list, delay time lag and the frequency of broadcasting that the programme replay grouping of this program channel is arranged, generate playback program list;
This program channel is being carried out in live process, take described delay time lag as time of day, the program file of broadcasting is carried out to real-time mark and marker character is set;
The all programme televised live lists, the playback program list that generate are carried out multiplexing successively.
Wherein, at described front-end server, carry out, after programme replay Broadcast Control, also comprising: front-end server carries out programme replay and broadcasts step, and it specifically comprises:
Front-end server obtains the attribute information of current program channel of broadcasting, and determines according to the channel of described attribute information whether this program channel is programme replay channel;
If so, according to the delay time lag of this program channel in described attribute information and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of this program channel, start counter and start counting;
Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping;
When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is carried out multiplexing successively so that broadcast the broadcasting on frequency of programme replay grouping to this program channel setting.
Wherein, described playback program list is that the form of showing with Program Specific Information PSI is multiplexed in transport stream.
Correspondingly, the embodiment of the present invention also provides a kind of Set Top Box, comprising:
Playback program list acquisition module, for when the current channel that user's transmission detected is reviewed request, obtain the playback program list of described current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel;
Playback frequency chosen module, for according to the request playback delay time difference of user's input, obtains this corresponding playback delay time interval request playback delay time difference and broadcast frequency at described playback program list acquisition module in the playback program list obtaining;
Playing module, for locking the frequency of broadcasting that described playback frequency chosen module obtains, obtains the playback program grouping that on this frequency, front-end server is broadcast, and starts decoder and decode, and plays the described playback program corresponding program that divides into groups.
Wherein, described playback program list acquisition module is the playback program list that obtains described current channel in the transport stream issuing at front-end server.
Wherein, described playback frequency chosen module specifically comprises:
Extract submodule, for the playback program list obtaining from described playback program list acquisition module, extract the corresponding playback delay of the channel time interval and the corresponding frequency of broadcasting of described current channel;
Selected submodule, for determining the corresponding playback delay time interval described request playback delay time difference of user's input, and determines the corresponding frequency of broadcasting of this playback delay time interval.
Correspondingly, the embodiment of the present invention also provides a kind of front-end server of realizing programs of set-top box playback, comprises Broadcast Control unit, playback program administrative unit and program multiplexing unit, and wherein, described Broadcast Control unit specifically comprises:
Playback channel chosen module, for select the program channel that needs playback at program source database, by the channel of this program channel, and the delay time lag of this program channel of setting adds in the attribute information of this program channel with the maximum delay time difference that allows;
Programme televised live list generation module, for constantly generating programme televised live list according to each programm name of this program channel and plan broadcast thereof;
Playback program list generation module, generates playback program list for the programme televised live list generating according to the described delay time lag of the channel of this channel, setting, described programme televised live list generation module and the frequency of broadcasting that the programme replay grouping of this program channel is distributed;
Program file timesharing mark module, is carrying out in live process this program channel, take described delay time lag as time of day, and the program file of broadcasting is carried out to real-time mark and marker character is set;
Described playback program administrative unit specifically comprises:
Playback channel identification module, for obtaining the attribute information of current live program channel, and determines according to the channel of described attribute information whether this program channel is programme replay channel;
Playback program extraction module, for in definite result of playback channel identification module when being, according to the delay time lag of this program channel in described attribute information and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of this program channel, start counter and start counting;
Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping;
When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is sent to described program multiplexing unit successively;
Described program multiplexing unit, for multiplexing all playback program groupings, programme televised live list, playback program list.
Correspondingly, the embodiment of the present invention also provides a kind of programme replay of Set Top Box to realize system, comprising: front-end server as above-mentioned in claim and at least one above-mentioned Set Top Box.
Implement the embodiment of the present invention, there is following beneficial effect:
The present invention can carry out broadcasting of playback program by front-end server and control generation playback program list, and generate playback program grouping, realize program and postpone at times to broadcast mechanism, in the situation that not needing additionally to increase auxiliary device, in all kinds of Set Top Box, realize the method for programme replay, greatly reduce programme replay functional development and the needed cost of operation, met the particularly user of the one-way set-top box demand to programme replay business of most of Set Top Box on the market.
Accompanying drawing explanation
Fig. 1 is the structure composition schematic diagram that the programme replay of the Set Top Box of the embodiment of the present invention is realized system;
Fig. 2 is that the structure of front-end server in Fig. 1 forms schematic diagram;
Fig. 3 is that the structure of Set Top Box in Fig. 1 forms schematic diagram;
Fig. 4 is the programme replay implementation method first embodiment schematic flow sheet of Set Top Box of the present invention;
Fig. 5 is the programme replay implementation method second embodiment schematic flow sheet of Set Top Box of the present invention;
Fig. 6 is programme replay implementation method the 3rd embodiment schematic flow sheet of Set Top Box of the present invention;
Fig. 7 is the schematic flow sheet that the front-end server in Fig. 6 carries out programme replay Broadcast Control;
Fig. 8 is that the front-end server in Fig. 6 carries out the schematic flow sheet that programme replay is broadcast.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, that the structure that the programme replay of the Set Top Box of the embodiment of the present invention is realized system forms schematic diagram, this system comprises front-end server 1 and at least one Set Top Box, in figure, only identify Set Top Box 2, wherein, described front-end server 1 is mainly used in carrying out broadcasting of playback Play Control and playback program grouping.What 2 of described Set Top Box were mainly used in playback program grouping broadcasts searching and the broadcasting of playback program grouping of frequency.
Concrete, refer to Fig. 2, be that the structure of front-end server in Fig. 1 forms schematic diagram; Described front-end server 1 in the present embodiment is except comprising the program source generating unit of existing generation program source database, carry out the coding unit of audio/video coding, carry out outside the unit such as radiofrequency signal modulating unit of signal modulation, specifically also comprise: Broadcast Control unit 11, playback program administrative unit 12 and program multiplexing unit 13.
Wherein, described Broadcast Control unit 11 is mainly used in generating and comprises the channel that need to carry out the program channel of playback, the delay time lag that each program channel is set, programme televised live list and the playback program list of broadcasting frequency that the programme replay grouping of this program channel is distributed, 12 of described playback program administrative units are mainly used in completing after Broadcast Control operation in described Broadcast Control unit 11, generate corresponding playback program grouping, described program multiplexing unit 13 is mainly used in carrying out the multiplexing of Various types of data so that undertaken being handed down to Set Top Box 2 after signal modulation by radiofrequency signal adjustment unit.
Further, described Broadcast Control unit 11 specifically can comprise:
Playback channel chosen module 111, for select the program channel that needs playback at program source database, by the channel of this program channel, and the delay time lag of this program channel of setting adds in the attribute information of this program channel with the maximum delay time difference that allows.
Programme televised live list generation module 112, for constantly generating programme televised live list according to each programm name of this program channel and plan broadcast thereof.
Playback program list generation module 113, generates playback program list for the programme televised live list generating according to the described delay time lag of the channel of this channel, setting, described programme televised live list generation module 112 and the frequency of broadcasting that the programme replay grouping of this program channel is distributed.
Program file timesharing mark module 114, is carrying out in live process this program channel, and the described delay time lag of setting of take is time of day, and the program file of broadcasting is carried out to real-time mark and marker character is set.
Concrete, coding unit at front-end server 1 is transferred program file from program source database, and according to Digital Television DVB audio/video program compression standard, broadcast items is carried out after audio coding and Video coding, the playback channel chosen module 111 of Broadcast Control unit 11 is responsible for linking with the program source database of program source generating unit, and according to customer demand, the selected program channel that need to carry out playback, set the attribute of this program channel, the attribute of setting comprises the channel of this program channel, delay time lag when this program channel carries out playback and the maximum information such as delay time difference that allow.Wherein, the selected program channel that need to carry out playback comprises one or more.
Described programme televised live list generation module 112 is advised class grouping according to channel and program broadcast plan timetable by program file, and the moment of broadcasting according to each channel plan and corresponding programm name generation programme televised live list.Described playback program list generation module 113 is supported the channel of programme replay function, the information of programme televised live list simultaneously as required, and delay time lag and the frequency of broadcasting that the programme replay grouping of this program channel is distributed generate playback program list.Wherein, this is broadcast frequency and refers to: front-end server 1 give that the playback program grouping that generated by described playback program administrative unit 12 distributes maximum allow playback delay under the time difference corresponding one broadcast frequency.
Program file timesharing mark module 114 is controlled front-end server 1 in the live process of the program of respective program channel, take delay time lag as time of day, the program file of broadcasting is carried out to real-time mark by the period marker character is set, to facilitate described playback program administrative unit 12 when generating playback program grouping, can locate accurately and extract and postpone to play corresponding program file of period according to the marker character in file, thereby form the corresponding playback program grouping of each playback delay time difference.
Finally, the programme televised live list that described programme televised live list generation module 112 is generated, the playback program lists that described playback program list generation module 113 generates and the programme televised live of all direct broadcast bands of front-end server divide into groups to be sent to program multiplexing unit 13 carry out multiplexing, to undertaken being handed down to Set Top Box 2 after signal modulation by described radiofrequency signal modulating unit.
In described Broadcast Control unit 11, generated after playback program list, described front-end server 1 generates playback program by described playback program administrative unit 12 and divides into groups.Described playback program administrative unit 12 specifically comprises:
Playback channel identification module 121, for obtaining the attribute information of current live program channel, and determines according to the channel of described attribute information whether this program channel is programme replay channel.
Concrete, because the attribute of live program channel comprises the channel of respective program channel, and the delay time lag of this program channel of setting and the maximum delay time difference that allows, therefore, according to information included in attribute, can judge whether this live program channel is programme replay channel.
Playback program extraction module 122, for in definite result of playback channel identification module 121 when being, according to the delay time lag of this program channel in described attribute information and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of this program channel, start counter and start counting, as be initialized as " 0 ", by " 0 ", started to add up; Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping; When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is sent to described program multiplexing unit 13 successively to be carried out multiplexing, so that broadcast broadcasting on frequency of the programme replay grouping to this program channel setting, be convenient to broadcasting in attribute information and on frequency, broadcast this playback program grouping.
Referring to Fig. 3, is that the structure of Set Top Box in Fig. 1 forms schematic diagram again, and this Set Top Box is existing for receiving the receiver module of the remote control command that user sends by remote controller except comprising, also specifically comprises:
Playback program list acquisition module 21, for when the current channel that user's transmission detected is reviewed request, the transport stream issuing from front-end server 1, obtain the playback program list of current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel.
Playback frequency chosen module 22, for according to the request playback delay time difference of user's input, obtains this corresponding playback delay time interval request playback delay time difference and broadcast frequency at described playback program list acquisition module 21 in the playback program list obtaining.
Playing module 23, for locking the frequency of broadcasting that described playback frequency chosen module obtains, obtains the playback program grouping that on this frequency, front-end server is broadcast, and starts decoder and decode, and plays the described playback program corresponding program that divides into groups.
Concrete, Set Top Box receive the programme replay remote control command that user sends time the current channel that user sends detected and review request, the transport stream that playback program list acquisition module 21 just issues from front-end server 1, obtain the playback program list of current live program channel.Then, the playback delay time difference that described playback frequency chosen module 22 is inputted by remote controller according to user, in playback program list, find this corresponding playback delay time interval request playback delay time difference and broadcast frequency.Finally by playing module 23, at this, broadcast under frequency and to receive or to wait for and receive transport stream, obtain the playback program grouping in transport stream, and start decoder and decode, play the described playback program corresponding program that divides into groups.
Further, as shown in Figure 3, described playback frequency chosen module 22 specifically comprises:
Extract submodule 221, for the playback program list obtaining from described playback program list acquisition module 21, extract the corresponding playback delay of the channel time interval and the corresponding frequency of broadcasting of described current channel.
Selected submodule 222, for determining the corresponding playback delay time interval described request playback delay time difference of user's input, and determines the corresponding frequency of broadcasting of this playback delay time interval.
Concrete, in the playback program list obtaining due to playback program list acquisition module 21, include the channel of a plurality of program channels, and playback delay time interval corresponding with channel and broadcast frequency, therefore, can arrange and extract submodule 221 for extracting the corresponding playback delay of the channel time interval of described current channel from playback program list and broadcasting frequency, then by described selected submodule 222, determined the corresponding playback delay time interval described request playback delay time difference of user's input, and definite corresponding frequency of broadcasting of this playback delay time interval.
It should be noted that, in the present embodiment, described Set Top Box 2 is to obtain in the transport stream issuing at described front-end server 1 by described playback program list acquisition module 21, in the specific implementation, the playback program list acquisition module 21 of described Set Top Box 2 also can get the channel that comprises of current channel by other means, programme televised live list, delay time lag and the playback program list of broadcasting frequency that the programme replay grouping of the corresponding program channel of this channel is arranged, for example: user can manually input current channel as the channel that comprises BTV of BTV by remote controller in advance, programme televised live list, delay time lag and the playback program list of broadcasting frequency that the programme replay grouping of the corresponding program channel of this channel is arranged, and store in the memory device of described Set Top Box 2, so, 21 of described playback program list acquisition modules can be when detecting current channel that user sends by remote controller and review request, in described memory device, search the playback program list that current channel is BTV, and for example: user downloads to after the playback program list of BTV on the internet, by equipment such as USB flash disks, this playback program list is shifted and stored in the memory device of Set Top Box, so, when user reviews the program of BTV's (current channel) by remote controller to Set Top Box request, the playback program list of BTV can be searched and get to described playback program list acquisition module 21 from described memory device.Be understandable that, above-mentioned only for for example, other situations can similar analysis, is not repeated herein.
Description by above-described embodiment is known, and the present invention has the following advantages:
The present invention can carry out broadcasting of playback program by front-end server and control generation playback program list, and generate playback program grouping, realize program and postpone at times to broadcast mechanism, in the situation that not needing additionally to increase auxiliary device, in all kinds of Set Top Box, realize the method for programme replay, greatly reduce programme replay functional development and the needed cost of operation, met the particularly user of the one-way set-top box demand to programme replay business of most of Set Top Box on the market.
Below the programme replay implementation method of Set Top Box of the present invention is elaborated.
Referring to Fig. 4, is the programme replay implementation method first embodiment schematic flow sheet of Set Top Box of the present invention, and the method comprises:
S401: when Set Top Box is reviewed request at the current channel that user's transmission detected, obtain the playback program list of described current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel.
Concrete, the transport stream that the playback program list of described current channel can issue from front-end server, obtain, also can obtain by other means, for example: user can manually input current channel as the channel that comprises BTV of BTV by remote controller in advance, programme televised live list, delay time lag and the playback program list of broadcasting frequency that the programme replay grouping of the corresponding program channel of this channel is arranged, and store in the memory device of Set Top Box, so, described S401 can be when detecting current channel that user sends by remote controller and review request, in described memory device, search the playback program list that current channel is BTV.
Wherein, when the playback program list of described current channel be the transport stream issuing from front-end server, obtain time, described playback program list is generated by front-end server, concrete generative process can comprise:
Front-end server is according to each program channel in program database, and according to the selected program channel that need to carry out playback of customer demand, for these program channels are set attribute, these attributes comprise delay time lag and the maximum information such as the delay broadcasting time difference that allow when channel, each channel carry out playback; According to channel and program broadcast plan timetable, program file is advised to class grouping, and the moment of broadcasting according to each channel plan and corresponding programm name generation programme televised live list, support as required the channel designation of programme replay function, the information of programme televised live list and delay time lag generate playback program list, and the frequency of broadcasting that the playback program grouping for each program channel is distributed adds in this playback program list in the lump to simultaneously; Simultaneously, this front-end server is carrying out in live process program, take delay time lag as time of day, the program file of broadcasting is carried out to real-time mark by the period, to facilitate front-end server to locate accurately and extract and postpone to play corresponding program file of period according to the label symbol in file, thereby can form each program channel in playback delay corresponding playback program grouping under the time difference; Finally, the program multiplexing unit that all playback program groupings, programme televised live list, the playback program list that generate is sent to this front-end server carries out multiplexing.Certainly, also need the corresponding programme televised live grouping of live program to carry out in the lump multiplexing.
In addition, described playback program list is that the form of showing with Program Specific Information PSI is multiplexed in transport stream.
S402: according to the request playback delay time difference of user input, obtain the frequency of broadcasting that the playback program of this request playback delay corresponding described current channel of the time difference divides into groups in described playback program list.
S403: broadcast frequency described in locking, obtain the playback program of being broadcast by front-end server on this frequency and divide into groups, start decoder to play the described playback program corresponding program that divides into groups.
Wherein, described playback program grouping is issued by front-end server, and its generative process specifically comprises:
By front-end server, from the attribute information of the program of each direct broadcast band, judge successively whether each channel is the channel of supporting playback function, if certain channel is judged to be the channel of supporting playback function, be counter N of this channel initialization, for recording, control current channel, according to the delay time lag of setting, carry out playback and broadcast, when a delay time lag arrives, just counter N is increased to 1, and according to counter N value and the formed delay time difference of delay time lag, traversal queries file mark symbol successively, therefrom finding time offset is the top of file in N the time interval, and all program file segments of extraction after this marker character, along with playback delay is broadcast the passing backward of time, when playback duration interval N value being detected and reached the delay time lag of maximum permission playback and count, under the playback cycle, the generative process of the corresponding playback program grouping of all delay time lags has just represented, finally the corresponding playback program packetized file of each delay time lag being sent to program multiplexing unit successively carries out multiplexing.Along with the passing backward of programme televised live time, front-end server completes corresponding playback program grouping of next playback cycle generative process by ceaselessly repeating above-mentioned steps.Method has just formed the playback program grouping on whole time and space thus.
Concrete, after Set Top Box starts, receive in real time, detect the key information of user's input, whether the key-press input of judging user is programme replay function key, if, from current transmission stream, filter out the playback program list of current channel, and detect the channel attribute that the current selection of user is watched, by above-mentioned two kinds of information, determine current channel and whether support playback function, if supported, from the playback program list information of current channel, analyze and the playback program of definite current channel is grouped in each delay time difference and the place that front end broadcasts and broadcasts the corresponding relation between frequency, then, according to user's key-press input, calculate the delay time difference that user asks playback, according to delay time difference, just can determine the frequency of broadcasting at programme replay place that current delay time difference is corresponding, lock this frequency, set sound, video PID, start decoder, and programme replay request that can completing user.
Description by above-described embodiment is known, and the present invention has following beneficial effect:
The present invention can carry out broadcasting of playback program by front-end server and control generation playback program list, and generate playback program grouping, realize program and postpone at times to broadcast mechanism, in the situation that not needing additionally to increase auxiliary device, in all kinds of Set Top Box, realize the method for programme replay, greatly reduce programme replay functional development and the needed cost of operation, met the particularly user of the one-way set-top box demand to programme replay business of most of Set Top Box on the market.
Referring to Fig. 5, is the programme replay implementation method second embodiment schematic flow sheet of Set Top Box of the present invention again, and the method comprises:
S501: front-end server carries out programme replay and broadcasts control.This step specifically comprises:
Front-end server is the selected program channel that needs playback in program source database, and by the channel of this program channel, and delay time lag and the maximum delay time difference that allows of setting this program channel add in the attribute information of this program channel;
According to each programm name of this program channel and plan broadcast thereof, generate programme televised live list constantly;
According to channel, programme televised live list, delay time lag and the frequency of broadcasting that the programme replay grouping of this program channel is arranged, generate playback program list;
This program channel is being carried out in live process, take described delay time lag as time of day, the program file of broadcasting is carried out to real-time mark and marker character is set;
The all playback program groupings that generate, programme televised live list, playback program list and programme televised live grouping are sent to program multiplexing unit to be carried out multiplexing.
S502: front-end server carries out programme replay and broadcasts.This step specifically comprises:
Front-end server obtains the attribute information of current program channel of broadcasting, and determines according to the channel of described attribute information whether this program channel is programme replay channel;
If, according to the delay time lag of this program channel in described attribute information and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of this program channel, start counter and start counting, as be initialized as " 0 ", by " 0 ", started to add up;
Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping; Playback program grouping is corresponding with delay time lag, for example, when counter values is 5, is the 5th the corresponding playback program grouping of delay time lag.
When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is sent to program multiplexing unit successively and carries out multiplexing so that broadcast the broadcasting on frequency of programme replay grouping to this program channel setting.
S503: when Set Top Box is reviewed request at the current channel that user's transmission detected, the transport stream issuing from front-end server, obtain the playback program list of described current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel;
S504: Set Top Box is according to the request playback delay time difference of user input obtains the frequency of broadcasting that the playback program of this request playback delay corresponding described current channel of the time difference divides into groups in described playback program list;
S505: broadcast frequency described in Set Top Box locking, obtain the playback program of being broadcast by front-end server on this frequency and divide into groups, start decoder to play the described playback program corresponding program that divides into groups.
Description by above-described embodiment is known, and the present invention has following beneficial effect:
The present invention can carry out broadcasting of playback program by front-end server and control generation playback program list, and generate playback program grouping, realize program and postpone at times to broadcast mechanism, in the situation that not needing additionally to increase auxiliary device, in all kinds of Set Top Box, realize the method for programme replay, greatly reduce programme replay functional development and the needed cost of operation, met the particularly user of the one-way set-top box demand to programme replay business of most of Set Top Box on the market.
Referring to Fig. 6, is programme replay implementation method the 3rd embodiment schematic flow sheet of Set Top Box of the present invention again, and the method comprises:
S601: detect user key-press input message.
S602: determine whether programme replay function key.If carry out S603 while being judged as YES, otherwise continue to carry out this step.
S603: receive playback program list from current transport stream.This playback program list generates and issues while carrying out programme replay Broadcast Control operation by front-end server, and it comprises: channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel of supporting the program channel of playback function.
S604: the attribute of the channel that the current selection of detection user is watched.
S605: judge whether current channel is the channel of supporting playback.If so, carry out S606, otherwise, finish.
S606: each delay time lag during according to the analysis of playback program list definite current channel playback and broadcast the corresponding relation between frequency.
S607: input calculates the delay time difference that user asks playback according to user key-press.
S608: according to the delay time difference of request playback, find the frequency of broadcasting of corresponding playback program grouping in playback program list.
S609: lock this and broadcast frequency, set audio frequency and video Packet Identifier PID, and start broadcasting.Reception or wait receiving front-end server broadcast at this playback program grouping that frequency issues, and described playback program grouping is undertaken when programme replay is broadcast operation generating and issuing by front-end server.
Please also refer to Fig. 7, be the schematic flow sheet that the front-end server in Fig. 6 carries out programme replay Broadcast Control, the step that this front-end server carries out programme replay Broadcast Control comprises:
S701: link interview show source database.
S702: select and set the program channel number that needs playback.
S703: delay time lag and the maximum delay time difference that allows of setting playback channel.
S704: program source is divided into groups by channel and broadcast timetable.
S705: broadcast and generate programme televised live list constantly by the programm name under each channel and plan.
S706: by programme televised live list, the frequency of broadcasting of the delay time lag of setting and the playback that distributes for the playback program grouping of this program channel generates playback program list.
S707: take delay time lag as time of day, will need the program of program channel of playback by period real-time mark.
S708: by the programme televised live grouping of all program channels, programme televised live list, playback program list is sent to multiplexer and carries out multiplexing.
Please also refer to Fig. 8, be that the front-end server in Fig. 6 carries out the schematic flow sheet that programme replay is broadcast, this front-end server carries out the step that programme replay broadcasts and comprises:
S801: the attribute that reads each live program channel.The attribute of program channel comprises the channel of program channel, and delay time lag and the maximum delay time difference that allows of setting this program channel.
S802: the program channel that determines whether to carry out playback.If so, carry out S803, otherwise, finish.
S803: the counting N=0 in the initialization delay time interval, and calculate maximum time interval and count the maximum delay time difference/delay time lag that allows of M=.
S804: judge according to system time whether the next time interval arrives.If carry out S805, otherwise, continue to carry out this step.
S805: counting, N increases by 1.
S806: from programme televised live grouping, finding side-play amount is the marker character of N delay time lag, and extract the program file fragment after this marker character.
S807: according to all program file fragments of extracting, form programme replay grouping.
S808: judge whether N is greater than M.If not, carry out S804, otherwise, S809 carried out.
S809: the corresponding playback program grouping of each delay time lag is sent to multiplexer and carries out multiplexing.
Description by above-described embodiment is known, and the present invention has the following advantages:
The present invention can carry out broadcasting of playback program by front-end server and control generation playback program list, and generate playback program grouping, realize program and postpone at times to broadcast mechanism, in the situation that not needing additionally to increase auxiliary device, in all kinds of Set Top Box, realize the method for programme replay, greatly reduce programme replay functional development and the needed cost of operation, met the particularly user of the one-way set-top box demand to programme replay business of most of Set Top Box on the market.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (10)

1. a programme replay implementation method for Set Top Box, is characterized in that, comprising:
When Set Top Box is reviewed request at the current channel that user's transmission detected, obtain the playback program list of described current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel; Wherein, when frequency is broadcast in setting, according to the delay time lag of the described current channel in the attribute information of described current channel and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of described current channel, start counter and start counting; Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping; When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is carried out multiplexing successively so that play the broadcasting on frequency of programme replay grouping to described current channel;
According to the request playback delay time difference of user input, in described playback program list, obtain the frequency of broadcasting that the playback program of this request playback delay corresponding described current channel of the time difference divides into groups;
Described in locking, broadcast frequency, obtain the playback program of being broadcast by front-end server on this frequency and divide into groups, start decoder to play the described playback program corresponding program that divides into groups.
2. the method for claim 1, is characterized in that, the playback program list of described current channel is to get in the transport stream that issues at front-end server of described Set Top Box.
3. method as claimed in claim 2, it is characterized in that, when described Set Top Box is reviewed request at the current channel that user's transmission detected, the step of obtaining the playback program list of described current channel the transport stream issuing from front-end server also comprises that front-end server carries out programme replay and broadcasts control step before, and this step specifically comprises:
Front-end server is the selected program channel that needs playback in program source database, and by the channel of this program channel, and delay time lag and the maximum delay time difference that allows of setting this program channel add in the attribute information of this program channel;
According to each programm name of this program channel and plan broadcast thereof, generate programme televised live list constantly;
According to channel, programme televised live list, delay time lag and the frequency of broadcasting that the programme replay grouping of this program channel is arranged, generate playback program list;
This program channel is being carried out in live process, take described delay time lag as time of day, the program file of broadcasting is carried out to real-time mark and marker character is set;
Program grouping, programme televised live list, the playback program list of all direct broadcast bands that generate are carried out multiplexing successively.
4. method as claimed in claim 3, is characterized in that, carries out, after programme replay Broadcast Control, also comprising: front-end server carries out programme replay and broadcasts step, and this step specifically comprises at described front-end server:
Front-end server obtains the attribute information of current program channel of broadcasting, and determines according to the channel of described attribute information whether this program channel is programme replay channel;
If so, according to the delay time lag of this program channel in described attribute information and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of this program channel, start counter and start counting;
Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping;
When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is carried out multiplexing successively so that broadcast the broadcasting on frequency of programme replay grouping to this program channel setting.
5. method as claimed in claim 4, is characterized in that, described playback program list is that the form of showing with Program Specific Information PSI is multiplexed in transport stream.
6. a Set Top Box, is characterized in that, comprising:
Playback program list acquisition module, for when the current channel that user's transmission detected is reviewed request, obtain the playback program list of described current channel, described playback program list comprises channel, programme televised live list, delay time lag and the frequency of broadcasting to the programme replay grouping setting of the corresponding program channel of this channel; Wherein, when frequency is broadcast in setting, according to the delay time lag of the described current channel in the attribute information of described current channel and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of described current channel, start counter and start counting; Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping; When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is carried out multiplexing successively so that play the broadcasting on frequency of programme replay grouping to described current channel;
Playback frequency chosen module, for according to the request playback delay time difference of user's input, obtains this corresponding playback delay time interval request playback delay time difference and broadcast frequency at described playback program list acquisition module in the playback program list obtaining;
Playing module, for locking the frequency of broadcasting that described playback frequency chosen module obtains, obtains the playback program grouping that on this frequency, front-end server is broadcast, and starts decoder and decode, and plays the described playback program corresponding program that divides into groups.
7. Set Top Box as claimed in claim 6, is characterized in that, described playback program list acquisition module is the playback program list that obtains described current channel in the transport stream issuing at front-end server.
8. Set Top Box as claimed in claim 7, is characterized in that, described playback frequency chosen module specifically comprises:
Extract submodule, for the playback program list obtaining from described playback program list acquisition module, extract the corresponding playback delay of the channel time interval and the corresponding frequency of broadcasting thereof of described current channel;
Selected submodule, for determining the corresponding playback delay time interval described request playback delay time difference of user's input, and determines the corresponding frequency of broadcasting of this playback delay time interval.
9. a front-end server of realizing programs of set-top box playback, is characterized in that, comprises Broadcast Control unit, playback program administrative unit and program multiplexing unit, and wherein, described Broadcast Control unit specifically comprises:
Playback channel chosen module, for select the program channel that needs playback at program source database, by the channel of this program channel, and the delay time lag of this program channel of setting adds in the attribute information of this program channel with the maximum delay time difference that allows;
Programme televised live list generation module, for constantly generating programme televised live list according to each programm name of this program channel and plan broadcast thereof;
Playback program list generation module, generates playback program list for the programme televised live list generating according to the described delay time lag of the channel of this channel, setting, described programme televised live list generation module and the frequency of broadcasting that the programme replay grouping of this program channel is distributed;
Program file timesharing mark module, is carrying out in live process this program channel, take described delay time lag as time of day, and the program file of broadcasting is carried out to real-time mark and marker character is set;
Described playback program administrative unit specifically comprises:
Playback channel identification module, for obtaining the attribute information of current live program channel, and determines according to the channel of described attribute information whether this program channel is programme replay channel;
Playback program extraction module, for in definite result of playback channel identification module when being, according to the delay time lag of this program channel in described attribute information and the maximum delay time difference that allows, calculate maximum time interval number, and by the numerical value initialization that is the preset counter of this program channel, start counter and start counting;
Traversal queries program file marker character successively, therefrom finding time offset is the program file marker character of the corresponding delay time lag of numerical value of current counter, and extract the included fragment of this program file after this marker character, the fragment restructuring of extracting is formed to playback program grouping;
When the numerical value of counter reaches described maximum time interval and counts, the corresponding playback program grouping of each delay time lag is sent to described program multiplexing unit successively;
Described program multiplexing unit, for multiplexing all playback program groupings, programme televised live list, playback program list.
10. the programme replay of Set Top Box is realized a system, it is characterized in that, comprising: front-end server as claimed in claim 9 and at least one Set Top Box as described in claim 6 or 7.
CN201110089714.0A 2011-04-11 2011-04-11 Program playback realization method for set-top box, set-top box, server and system Active CN102740156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110089714.0A CN102740156B (en) 2011-04-11 2011-04-11 Program playback realization method for set-top box, set-top box, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110089714.0A CN102740156B (en) 2011-04-11 2011-04-11 Program playback realization method for set-top box, set-top box, server and system

Publications (2)

Publication Number Publication Date
CN102740156A CN102740156A (en) 2012-10-17
CN102740156B true CN102740156B (en) 2014-12-10

Family

ID=46994801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110089714.0A Active CN102740156B (en) 2011-04-11 2011-04-11 Program playback realization method for set-top box, set-top box, server and system

Country Status (1)

Country Link
CN (1) CN102740156B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763581A (en) * 2013-05-02 2014-04-30 乐视网信息技术(北京)股份有限公司 Method and system for achieving back view of live program
CN103561344A (en) * 2013-11-06 2014-02-05 玲珑视界科技(北京)有限公司 Interface display method for set-top box
CN103607637B (en) * 2013-11-29 2017-01-25 乐视网信息技术(北京)股份有限公司 Method and device for building program list and electronic equipment
CN103618963B (en) * 2013-12-10 2017-04-05 乐视网信息技术(北京)股份有限公司 Program look back method and device in intelligent television
CN104093065A (en) * 2014-06-13 2014-10-08 深圳市白板科技有限公司 Set top box connection playing method and system
FR3023665B1 (en) * 2014-07-08 2016-08-19 Sagemcom Documents Sas METHOD AND DEVICE FOR REMOTELY RECORDING VIDEO PROGRAMS.
CN107197382B (en) * 2017-05-05 2019-07-05 中广热点云科技有限公司 A kind of TV programme playback controls method
CN112131433B (en) * 2020-08-20 2021-10-29 贝壳找房(北京)科技有限公司 Interval counting query method and device
CN114786021B (en) * 2021-01-22 2024-04-05 青岛海信宽带多媒体技术有限公司 Method and device for controlling playing of live program based on intelligent set top box

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1374797A (en) * 2001-03-13 2002-10-16 Svod公司 Prestoraging multi programme with function of controlling playbacy by user
CN101202891A (en) * 2007-03-05 2008-06-18 深圳市同洲电子股份有限公司 Method and device for playing digital television program
CN101459809A (en) * 2008-11-26 2009-06-17 天柏宽带网络科技(北京)有限公司 Method and system for digital television program playing
CN101510994A (en) * 2009-03-04 2009-08-19 浪潮电子信息产业股份有限公司 Method for requesting unidirectional wired TV set-top box video back-transmitted by using mobile communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1374797A (en) * 2001-03-13 2002-10-16 Svod公司 Prestoraging multi programme with function of controlling playbacy by user
CN101202891A (en) * 2007-03-05 2008-06-18 深圳市同洲电子股份有限公司 Method and device for playing digital television program
CN101459809A (en) * 2008-11-26 2009-06-17 天柏宽带网络科技(北京)有限公司 Method and system for digital television program playing
CN101510994A (en) * 2009-03-04 2009-08-19 浪潮电子信息产业股份有限公司 Method for requesting unidirectional wired TV set-top box video back-transmitted by using mobile communication network

Also Published As

Publication number Publication date
CN102740156A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
CN102740156B (en) Program playback realization method for set-top box, set-top box, server and system
CN108702531B (en) Method and system for performing actions based on channel identification
JP5250129B2 (en) In-band data recognition and synchronization system
JP5715078B2 (en) Method and apparatus for creating and viewing customized multimedia segments
US8046808B2 (en) Communication of TV-Anytime CRIDs
CN102415095B (en) Record and present the digital video recorder of the program formed by the section of splicing
CN1988646B (en) Method and apparatus for displaying information about broadcasting contents
EP2763429B1 (en) Preview and playback method of video streams and system thereof
EP1645127B1 (en) Contents storage system, home server apparatus, information supply apparatus, integrated circuit, and program
CN105120321A (en) Video searching method, video storage method and related devices
EP2822288A1 (en) Method and apparatus for frame accurate advertisement insertion
CN100349228C (en) Method and device for recording or reproducing on storage medium
US9357246B2 (en) Systems, methods, apparatus, and articles of manufacture to identify times at which live media events are distributed
JP2004128779A (en) Broadcast system, recording apparatus, recording method, program, and record medium
CN101326584B (en) Method for identifying a document recorded by a display, selection of key images and an associated receptor
CN105704512A (en) Video capturing system and video capturing method thereof
CN103533400A (en) Method and system for realizing individualized time-shifted television
US11418826B2 (en) Content-modification system with supplemental content stitching feature
CN102783057A (en) Method and server for detecting a video program received by a user
CN105430479A (en) Video data on demand method and terminal set top box
JP2005176033A (en) Program for operating video receiving/reproducing apparatus, computer-readable storage medium recording this program, video receiving/reproducing apparatus and method thereof
JP2005176034A (en) Program for operating video receiving/reproducing apparatus, computer-readable storage medium recording the same, video receiving/reproducing apparatus and method thereof
CN101006713A (en) Method and apparatus for storing/delecting interactive applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHENZHEN SKYWORTH DIGITAL TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: SKY-WORTH DIGITAL TECHNOLOGY CO., LTD.;SHENZHEN CITY

CP01 Change in the name or title of a patent holder

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Patentee after: Shenzhen Skyworth Digital Technology Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A14, SKYWORTH

Patentee before: Shenzhen Skyworth Digital Technology Co., Ltd.