CN103369400A - System, method and device for sharing digital television program - Google Patents
System, method and device for sharing digital television program Download PDFInfo
- Publication number
- CN103369400A CN103369400A CN2013102678560A CN201310267856A CN103369400A CN 103369400 A CN103369400 A CN 103369400A CN 2013102678560 A CN2013102678560 A CN 2013102678560A CN 201310267856 A CN201310267856 A CN 201310267856A CN 103369400 A CN103369400 A CN 103369400A
- Authority
- CN
- China
- Prior art keywords
- terminal equipment
- tuning resource
- top box
- tuning
- resource
- 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.)
- Pending
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a system, method and device for sharing a digital television program and relates to the technical field of communication. The system, method and device for sharing the digital television program are invented in order to enable a user to share the digital television program on terminal equipment except a television connected with a set top box. The system comprises the set top box and at least one terminal equipment, wherein the set top box can be connected with the at least one terminal equipment by a network. The method for sharing the digital television program comprises the following steps of establishing a network connection between the set top box and the terminal equipment and receiving a tuning resource query command of the terminal equipment, wherein the tuning resource query command is used for querying whether an available tuning resource used for the terminal equipment exists or not; receiving a playing request and a playing parameter of the digital television program when the condition that the available tuning resource exists currently is determined, and acquiring transport stream (TS) data of the digital television program according to the playing request and the playing parameter by using the available tuning resource of the terminal equipment and sending the TS data to the terminal equipment so as to enable the terminal equipment to play the digital television program. The system, method and device for sharing the digital television program provided by the invention can be used for the implementation technique of digital television program sharing.
Description
Technical field
The present invention relates to communication technical field, relate in particular to system, method and device that a kind of digital television program is shared.
Background technology
Along with the development of technology, terminal equipment is more and more, and intercrossing more and more appears in the service application between the various terminal equipment.
In the prior art, the user generally watches digital television program by the television set that is connected with set-top box.Set-top box connecting TV machine and outside source obtain digital television signal from outside source such as wire cable, satellite antenna, broadband network and terrestrial broadcasting etc., and are translated into television content, and show at television set.
Yet in certain spatial dimension, in family, accommodation etc., except television set, the user may have multiple terminal equipment.A lot of users are satisfied only to watch digital television program by the television set of junctor top box, in the urgent need to enjoying digital television program at other-end equipment.Therefore, how making the user enjoy TV programme at the terminal equipment except the television set of junctor top box is the problem that needs solve.
Summary of the invention
The invention provides system, method and device that a kind of digital television program is shared, can enjoy TV programme at the terminal equipment except the television set of junctor top box.
A first aspect of the present invention provides a kind of digital television program shared system, and this system comprises:
Set-top box and at least one terminal equipment, described set-top box can be connected with described at least one terminal equipment by network; Wherein:
Described set-top box is used for:
Set up network connection with described terminal equipment;
Receive the tuning resource query instruction that described terminal equipment sends, described tuning resource query instruction is used for inquiry and whether has the tuning resource that described terminal equipment can be used;
According to the tuning resource query instruction of described reception, determine the current tuning resource that described terminal equipment can be used that whether has;
Current when having the tuning resource that described terminal equipment can use when determining, receive playing request and the play parameter of the digital television program that described terminal equipment sends;
According to described playing request and play parameter, use the transport stream TS data of the described digital television program of tuning resource acquisition that described terminal equipment can use;
Send described TS data to described terminal equipment, so that described terminal equipment is play described digital television program;
Described terminal equipment is used for:
Set up network connection with set-top box;
Send the resource query instruction to described set-top box, described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
When the described set-top box of described inquiry has available tuning resource, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Receive the described TS data that described set-top box sends;
Described TS data are carried out virtual tune to be processed;
According to the TS data after the described virtual tune processing, play described digital television program.
A second aspect of the present invention provides a kind of shared method of digital television program, and the method comprises:
Set-top box and terminal equipment are set up network connection;
Described set-top box receives the tuning resource query instruction that described terminal equipment sends, and described tuning resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
According to the tuning resource query instruction of described reception, described set-top box is determined the current tuning resource that described terminal equipment can be used that whether has;
Determine currently when having the tuning resource that described terminal equipment can use when described set-top box, described set-top box receives playing request and the play parameter of the digital television program that described terminal equipment sends;
Described set-top box is according to described playing request and play parameter, uses transport stream TS (Transport Stream, the transport stream) data of the described digital television program of tuning resource acquisition that described terminal equipment can use;
Described set-top box sends described TS data to described terminal equipment, so that described terminal equipment is play described digital television program.
In the possible implementation of the first of second aspect:
In described tuning resource query instruction according to described reception, described set-top box determine current whether have the tuning resource that described terminal equipment can use after, described method also comprises:
Described set-top box sends tuning resource state information to described terminal equipment, and described tuning resource state information has indicated described set-top box whether to have the tuning resource that described terminal equipment can be used;
Describedly determine currently when having the tuning resource that described terminal equipment can use when described set-top box, playing request and play parameter that described set-top box receives the digital television program that described terminal equipment sends comprise:
When described tuning resource state information indication had the tuning resource that described terminal equipment can use, described set-top box received playing request and the play parameter of the digital television program that described terminal equipment sends.
In conjunction with the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second of second aspect:
Described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described set-top box is according to the tuning resource query instruction of described reception, determine the current tuning resource that described terminal equipment can be used that whether has, and send tuning resource state information to described terminal equipment, described tuning resource state information indicated described set-top box whether have described terminal equipment can with tuning resource comprise:
Described set-top box is determined the current idle tuning resource that whether has according to the tuning resource query instruction of described reception;
If described set-top box is determined the current idle tuning resource that has, send tuning resource state information to described terminal equipment, described tuning resource state information indicates described set-top box to have idle tuning resource;
If described set-top box is determined the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
If described set-top box is determined the described priority that has been assigned the other-end equipment of tuning resource and is lower than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can take.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect:
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for having distributed to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment; The other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
If determine the current idle tuning resource that do not have in described set-top box, after whether definite priority that has been assigned the other-end equipment of tuning resource was lower than described terminal equipment, described method also comprised:
If the definite priority that has been assigned the other-end equipment of tuning resource of described set-top box is not less than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can share.
In conjunction with any one implementation in above-mentioned each possible implementation of second aspect or second aspect, in the 4th kind of possible implementation of second aspect:
Obtain the transport stream TS data of described digital television program in described set-top box after, before described set-top box sent described TS data to described terminal equipment, described method also comprised:
Described set-top box is encrypted processing to the described TS data of obtaining;
Described set-top box sends described TS data to described terminal equipment and comprises:
Described set-top box sends TS data after the described encryption to described terminal equipment.
A third aspect of the present invention provides a kind of shared method of digital television program, and the method comprises:
Terminal equipment and set-top box are set up network connection;
Described terminal equipment sends the resource query instruction to described set-top box, and described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
When the described set-top box of described inquiry has available tuning resource, described terminal equipment sends the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Described terminal equipment receives the TS data of the described digital television program of described set-top box transmission;
Described terminal equipment carries out virtual tune to described TS data to be processed;
TS data after described terminal equipment is processed according to described virtual tune are play described digital television program.
In the possible implementation of the first of the third aspect:
After described terminal equipment sent the resource query instruction to described set-top box, described method also comprised:
Described terminal equipment receives the tuning resource state information that described set-top box sends, and described resource state information has indicated described set-top box whether to have the tuning resource that described terminal equipment can be used;
When described described set-top box when described inquiry had available tuning resource, described terminal equipment comprised to playing request and the definite play parameter of process virtual tune that described set-top box sends digital television program:
When described tuning resource state information indicated described set-top box to have available tuning resource, described terminal equipment sent the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, in the possible implementation of the second of the third aspect:
Described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described terminal equipment receives the tuning resource state information that described set-top box sends, described resource state information indicated described set-top box whether have described terminal equipment can with tuning resource comprise:
Described terminal equipment receives the tuning resource state information that described set-top box sends, and described tuning resource state information indicates described set-top box to have the tuning resource that idle tuning resource or described terminal equipment can take;
If described tuning resource state information indicates described set-top box to have the tuning resource that described terminal equipment can take, to the playing request of described set-top box transmission digital television program and before through the definite play parameter of virtual tune, described method also comprises at described terminal equipment:
Send apply for information to the user, inquire whether described user takies the tuning resource that described terminal equipment can take;
Receive user's tuning resource occupation order, described tuning resource occupation order indicates described terminal equipment whether to take the tuning resource that described terminal equipment can take;
Described terminal equipment comprises to playing request and the definite play parameter of process virtual tune that described set-top box sends digital television program:
When described tuning resource occupation order indicates described terminal equipment to take the tuning resource that described terminal equipment can take, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation of the third aspect:
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for to distribute to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment, and the other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
Described terminal equipment receives the tuning resource state information that described set-top box sends, described resource state information indicated described set-top box whether have described terminal equipment can with tuning resource comprise:
Described terminal equipment receives the tuning resource state information that described set-top box sends, and described tuning resource state information indicates described set-top box to have the tuning resource that described terminal equipment can share;
To the playing request of described set-top box transmission digital television program and before through the definite play parameter of virtual tune, described method also comprises at described terminal equipment:
Send apply for information to the user, inquire whether described user shares the tuning resource that described terminal equipment can share;
Receive user's tuning resource sharing order, described tuning resource occupation order indicates described terminal equipment whether to share the tuning resource that described terminal equipment can share;
Described terminal equipment comprises to playing request and the definite play parameter of process virtual tune that described set-top box sends digital television program:
When described tuning resource sharing order indicates described terminal equipment to share the tuning resource that described terminal equipment can share, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
In conjunction with any one implementation in above-mentioned each possible implementation of the third aspect or the third aspect, in the 4th kind of possible implementation of the third aspect, the TS data of described reception have been passed through the encryption of described set-top box;
Described TS data are carried out before virtual tune processes described, described method also comprises:
TS data to described reception are decrypted processing;
Describedly described TS data are carried out virtual tune process and to comprise:
TS data after the described decryption processing are carried out virtual tune to be processed.
A fourth aspect of the present invention provides a kind of set-top box, and this set-top box comprises:
Linkage unit is used for setting up network connection with terminal equipment;
Receiving element is used for receiving the tuning resource query instruction that described terminal equipment sends, and described tuning resource query instruction is used for inquiry and whether has the tuning resource that described terminal equipment can be used;
Determining unit is used for the tuning resource query instruction according to described reception, and described set-top box is determined the current tuning resource that described terminal equipment can be used that whether has;
Described receiving element also is used for when determining current when having the tuning resource that described terminal equipment can use, and receives playing request and the play parameter of the digital television program of described terminal equipment transmission;
Acquiring unit is used for the playing request and the play parameter that receive according to described receiving element, uses the transport stream TS data of the described digital television program of tuning resource acquisition that described terminal equipment can use;
Transmitting element is used for sending described TS data to described terminal equipment, so that described terminal equipment is play described digital television program.
In the possible implementation of the first of fourth aspect:
Described receiving element specifically is used for:
When described tuning resource state information indication had the tuning resource that described terminal equipment can use, described set-top box received playing request and the play parameter of the digital television program that described terminal equipment sends;
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second of fourth aspect:
Described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described determining unit specifically is used for:
According to the tuning resource query instruction that described receiving element receives, determine the current idle tuning resource that whether has;
If determine the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
Described transmitting element specifically is used for:
If described determining unit is determined the current idle tuning resource that has, send tuning resource state information to described terminal equipment, described tuning resource state information indicates described set-top box to have idle tuning resource;
If determine the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
If described determining unit is determined the described priority that has been assigned the other-end equipment of tuning resource and is lower than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can take.
In conjunction with the possible implementation of the second of fourth aspect, in the third possible implementation of fourth aspect:
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for having distributed to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment; The other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
Described transmitting element also is used for:
If the definite priority that has been assigned the other-end equipment of tuning resource of described determining unit is not less than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can share.
In conjunction with any one implementation in above-mentioned each possible implementation of fourth aspect or fourth aspect, in the 4th kind of possible implementation of fourth aspect, described set-top box also comprises:
Ciphering unit is used for the described TS data of obtaining are encrypted processing;
Described transmitting element specifically is used for:
Send TS data after the described encryption to described terminal equipment.
A fifth aspect of the present invention provides a kind of terminal equipment, and this terminal equipment comprises:
Linkage unit is used for setting up network connection with set-top box;
Transmitting element is used for sending the resource query instruction to described set-top box, and described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
Tuning processor, be used for when the described set-top box of described inquiry has available tuning resource, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Receiving element is used for receiving the described TS data that described set-top box sends;
Described tuning processor also is used for, and described TS data is carried out virtual tune process;
Player is used for playing described digital television program according to the TS data after the described virtual tune processing.
In the possible implementation of the first aspect the 5th:
Described receiving element also is used for, and receives the tuning resource state information that described set-top box sends, and described resource state information has indicated described set-top box whether to have available tuning resource;
Described tuning preparation implement body is used for:
Tuning resource state information according to described receiving element reception, when described tuning resource state information indicates described set-top box to have available tuning resource, send the playing request of described digital television program and the play parameter of determining through virtual tune to described set-top box.
In conjunction with the possible implementation of the first of the 5th aspect or the 5th aspect, in the possible implementation of the second aspect the 5th:
Described available tuning resource comprises the tuning resource that idle tuning resource and terminal equipment can take, and the tuning resource that described terminal equipment can take is for distributing to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described receiving element specifically is used for:
Receive the tuning resource state information that described set-top box sends, described tuning resource state information indicates described set-top box to have the tuning resource that idle tuning resource or described terminal equipment can take;
Described terminal equipment also comprises:
Man-machine interaction unit, be used for sending apply for information to the user, inquire whether described user takies the tuning resource that described terminal equipment can take, described receiving element also is used for, receive user's tuning resource occupation order, described tuning resource occupation order indicates described terminal equipment whether to take the tuning resource that described terminal equipment can take;
Described tuning preparation implement body is used for:
When described tuning resource occupation order indicates described terminal equipment to take the tuning resource that described terminal equipment can take, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
In conjunction with the possible implementation of the second of the 5th aspect, in the possible implementation of the third aspect the 5th:
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for having distributed to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment;
Described receiving element specifically is used for:
Receive the tuning resource state information that described set-top box sends, described tuning resource state information indicates described set-top box to have the tuning resource that described terminal equipment can share;
Described man-machine interaction unit also is used for, send apply for information to the user, inquire whether described user shares the tuning resource that described terminal equipment can share, receive user's tuning resource sharing order, described tuning resource occupation order indicates described terminal equipment whether to share the tuning resource that described terminal equipment can share;
Described tuning preparation implement body is used for:
When described tuning resource sharing order indicates described terminal equipment to share the tuning resource that described terminal equipment can share, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
In conjunction with any one implementation in above-mentioned each possible implementation of the 5th aspect or the 5th aspect, in the 4th kind of possible implementation aspect the 5th, the TS data that described receiving element receives have been passed through the encryption of described set-top box;
Described terminal equipment also comprises decryption unit, is used for the TS data of described reception are decrypted processing;
Described tuning preparation implement body is used for:
TS data after the described decryption processing are carried out virtual tune to be processed.
System, method and device that digital television program provided by the invention is shared, after set-top box and terminal equipment were set up network connection, terminal equipment sent the resource query instruction to set-top box and whether has a tuning resource that described terminal equipment can be used to determine that set-top box is current; Next, terminal equipment sends playing request and the play parameter of digital television program to set-top box, so that set-top box is obtained the TS data of digital television program; Set-top box sends this TS data to terminal equipment after obtaining the TS data of digital television program; Terminal equipment receives and these TS data is carried out virtual tune process, and according to the TS data after the virtual tune processing, plays digital television program at terminal equipment.So, the user just can enjoy TV programme at the terminal equipment except the television set of junctor top box; On the other hand, process because terminal equipment carries out virtual tune to the TS data, need to the entity digital TV tuner be installed at terminal equipment, thereby effectively reduce cost.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use was done a simply introduction during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of schematic flow sheet of the shared method of the digital television program that Fig. 1 provides for the embodiment of the invention;
The another kind of schematic flow sheet of the shared method of the digital television program that Fig. 2 provides for the embodiment of the invention;
The another kind of schematic flow sheet of the shared method of the digital television program that Fig. 3 provides for the embodiment of the invention;
A kind of structural representation of the set-top box that Fig. 4 provides for the embodiment of the invention;
The another kind of structural representation of the set-top box that Fig. 5 provides for the embodiment of the invention;
A kind of structural representation of the terminal equipment that Fig. 6 provides for the embodiment of the invention;
The another kind of structural representation of the terminal equipment that Fig. 7 provides for the embodiment of the invention;
The another kind of structural representation of the terminal equipment that Fig. 8 provides for the embodiment of the invention;
The another kind of structural representation of the set-top box that Fig. 9 provides for the embodiment of the invention;
The another kind of structural representation of the terminal equipment that Figure 10 provides for the embodiment of the invention;
A kind of system architecture schematic diagram of the digital television program shared system that Figure 11 provides for the embodiment of the invention.
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.
The embodiment of the invention provides a kind of shared method of digital television program, is carried out by set-top box, and as shown in Figure 1, the method may further comprise the steps:
S11, set-top box and terminal equipment are set up network connection.
In this step, the mode that set-top box and terminal equipment are set up network connection comprises automatically to be set up network connection and set up network connection under user command triggers.For example, after terminal equipment was just opened, this terminal equipment sent network connecting request from the trend set-top box, thereby sets up network connection with set-top box; Again for example, the user assigns the instruction of setting up network connection with set-top box to terminal equipment, and terminal equipment and set-top box are set up network connection.
For example, when user's opening terminal apparatus, on the display screen of terminal equipment, automatically demonstrate information, for example be " whether connecting with set-top box ", after the user confirms to connect, terminal equipment sends connection request to set-top box, and set-top box is returned response message to terminal equipment, thereby so that set-top box and terminal equipment are set up network connection.
Set up the mode of network connection about set-top box and terminal equipment, be not construed as limiting in the present invention.
Need to prove, in this step, that sets up between set-top box and the terminal equipment is connected to network connection, the network that uses between set-top box and the terminal equipment can be cable network, for example, IP (Internet Protocol, iso-ip Internetworking protocol ISO-IP) network, it also can be wireless network, for example, WiFi (Wireless Fidelity, Wireless Fidelity) network, the technical staff is the network connection between selector top box and the terminal equipment as the case may be, is not specifically limited in the present invention.
S12, the tuning resource query instruction that the set-top box receiving terminal apparatus sends, described tuning resource query instruction are used for the enquiry machine top box and whether have the tuning resource that terminal equipment can be used.
At first need to prove, set-top box needs digital TV tuner to obtain the TS data of digital television program, and usually, each digital TV tuner only can obtain the TS data of the digital television program of a channel.In the embodiment of the invention, the digital TV tuner in the set-top box is called tuning resource, is provided with a plurality of digital TV tuners in the set-top box, be i.e. the tuning resource of many groups.
In a set-top box, the number of digital TV tuner is limited, and namely tuning resource is limited.Be subject to the restriction of tuning resource, if the same time, a plurality of terminal equipments are wanted to play digital television program by set-top box, the insufficient situation of tuning resource of set-top box may occur.
For this situation, after set-top box and terminal equipment are set up network connection, terminal equipment at first sends tuning resource query instruction to set-top box, and described tuning resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used.
S13, according to the tuning resource query instruction that receives, set-top box is determined the current tuning resource that terminal equipment can be used that whether has.
In this step, set-top box is according to the tuning resource query instruction that receives, determine the current tuning resource that terminal equipment can be used that whether has, and in one embodiment of the invention, can be according to the result who determines, send tuning resource state information to terminal equipment, this tuning resource state information has indicated set-top box whether to have the tuning resource that described terminal equipment can be used.If tuning resource state information has indicated set-top box not have the tuning resource that terminal equipment can be used, the user can resend playing request and parameter to terminal equipment, again to inquire whether have available tuning resource at present, perhaps, the user abandons playing TV programme at this terminal equipment.
S14, when set-top box determine current when having the tuning resource that terminal equipment can use, playing request and the play parameter of the digital television program that the set-top box receiving terminal apparatus sends.
In this step, when set-top box is determined the current tuning resource that terminal equipment can be used that has, when the user starts the digital television program playing function of terminal equipment, set-top box will receive this playing request and play parameter, namely, terminal equipment informs that by this playing request and play parameter STB terminal equipment asks the digital television program of playing, for example, this playing request and parameter are used for informing the digital television program of set-top box users appointment broadcast, usually can comprise the parameters such as channel of the digital television program channel of user selection.
In one embodiment of the invention, result that can be definite according to tuning resource query instruction, send tuning resource state information to terminal equipment, if tuning resource state information has indicated set-top box to have the tuning resource that terminal equipment can be used, terminal equipment will send playing request, have in the indication of tuning resource state information in the situation of the tuning resource that terminal equipment can use, set-top box receives playing request and the parameter of the digital television program that terminal equipment sends.
S15, set-top box is according to playing request and play parameter, uses the TS data of the tuning resource acquisition digital television program that terminal equipment can use.
In this step, concrete, set-top box is according to playing request and play parameter, the channel of corresponding digital television program in locking playing request and the play parameter, carrying out the digital television protocol stack switches, and obtain the TS data from this digital television protocol stack, and from these TS data, filter the audio, video data of non-current channel, keep complete PSI (Program Specific Information, the special information of program)/SI (Service Information, business information) audio, video data of data and current channel, thus get access to the TS data of digital television program corresponding to playing request and play parameter.
Be understandable that, if do not specify out the TV programme that will play of user selection in playing request and the parameter, set-top box can be according to the TS data that set in advance the digital television program channel that obtains acquiescence, and set-top box can also be obtained the TS data of the last digital television program channel of playing of this terminal.
Need to prove, set-top box is obtained the mode of the TS data of digital television program can be same as the prior art, is not described further here.
S16, set-top box sends the TS data that it obtains to terminal equipment, so that terminal equipment is play digital television program.
After terminal equipment receives these TS data, will be according to this TS data playback digital television program.
The method that the digital television program that the embodiment of the invention provides is shared, after set-top box and terminal equipment were set up network connection, terminal equipment sent the resource query instruction to set-top box and whether has a tuning resource that described terminal equipment can be used so that definite set-top box is current; Next, terminal equipment sends playing request and the parameter of digital television program to set-top box, so that set-top box is obtained the TS data of digital television program; Set-top box sends this TS data to terminal equipment after obtaining the TS data of digital television program, so that terminal equipment is according to this TS data playback digital television program.Therefore, the user can realize sharing digital television program at the terminal equipment except the television set of junctor top box.
Optionally, in order to guarantee the fail safe of transfer of data, in one embodiment of the invention, obtain the transport stream TS data of digital television program in step S13 set-top box after, before step S14 set-top box sent the TS data to terminal equipment, the method was further comprising the steps of:
Set-top box is encrypted processing to the TS data of obtaining;
In this case, step S14 set-top box comprises to terminal equipment transmission TS data:
Set-top box sends TS data after the encryption to terminal equipment.
Be understandable that, set-top box before sending these data, need to be carried out caching process to these TS data usually after the TS data of obtaining are encrypted processing, and set-top box sends the data of buffer memory to terminal equipment afterwards.
Be understandable that, in one embodiment of the invention, terminal equipment can with tuning resource be the tuning resource of current free time of set-top box.
Further, for the tuning resource that solves on the set-top box inadequate, can not effectively guarantee the problem that terminal equipment can the normal play digital television program, a kind of priority scheduling strategy of tuning resource is provided in the embodiment of the invention, below this priority policy is elaborated:
At first, for each can watch that the terminal equipment of digital television program arranges a priority by set-top box, the priority of each terminal equipment can be identical or different, for example, according to grade from high to low, priority can be divided into franchise priority, limit priority, inferior high priority, normal priority, inferior low priority, lowest priority etc., and the present invention is not construed as limiting at this.
When the tuning resource query instruction that receives certain terminal equipment, whether set-top box will at first inquire about available free tuning resource, if current do not have an idle tuning resource, set-top box will be according to the priority of this terminal equipment, and whether inquiry has the tuning resource that the other-end equipment except idle tuning resource can be used.
In this case, terminal equipment can with tuning resource can comprise idle tuning resource, also comprise at least a in the tuning resource that tuning resource that terminal equipment can take and terminal equipment can share.Wherein, the tuning resource that terminal equipment can take is for distributing to the tuning resource that priority is lower than the other-end equipment of this terminal equipment, the tuning resource that terminal equipment can share is for to distribute to the tuning resource that priority is not less than the other-end equipment of this terminal equipment, and the other-end equipment that described priority is not less than this terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of this terminal equipment.
In one embodiment of the invention, terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and terminal equipment can take.Terminal device prioritizes is used idle frequency modulation resource, if without idle frequency modulation resource, terminal equipment can take other of priority that priority is lower than it and distribute the frequency modulation resource of the terminal equipment of tuning resource, has distributed the frequency modulation resource of the terminal equipment of tuning resource but cannot take other of priority that priority is higher than it.Suppose to be provided with franchise priority, the tuning resource that the terminal equipment of franchise priority distributes cannot be shared by other-end equipment.
In one embodiment of the invention, terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and terminal equipment can share.Terminal device prioritizes is used idle frequency modulation resource, if without idle frequency modulation resource, terminal equipment can share other of priority that priority is not less than it and distribute the frequency modulation resource of the terminal equipment of tuning resource.Need to prove, if and other have distributed the terminal equipment of tuning resource to share the frequency modulation resource, that terminal equipment is play is that it shares, distributed the digital television program of the current broadcast of terminal equipment of tuning resource, and the program that can not affect this terminal equipment that has distributed tuning resource is play.
In one embodiment of the invention, terminal equipment can with tuning resource comprise the tuning resource that tuning resource that idle tuning resource, terminal equipment can take and terminal equipment can share.Terminal device prioritizes is used idle frequency modulation resource, if without idle frequency modulation resource, terminal device prioritizes is used the frequency modulation resource that can take, if can sharing other of priority that priority is not less than it, the tuning resource that can not take, terminal equipment distributed the frequency modulation resource of the terminal equipment of tuning resource.
Based on above-mentioned priority policy, the embodiment of the invention is illustrated.
In one embodiment of the invention:
Described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take;
After set-top box receives tuning resource query instruction, according to the tuning resource query instruction of described reception, determine the current idle tuning resource that whether has;
If described set-top box is determined the current idle tuning resource that has, send tuning resource state information to described terminal equipment, described tuning resource state information indicates described set-top box to have idle tuning resource;
If described set-top box is determined the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
If described set-top box is determined the described priority that has been assigned the other-end equipment of tuning resource and is lower than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can take.Optionally, at this moment, described tuning resource state information can also refer to illustrate the tuning resource concrete which other-end equipment distributes can be occupied.
Concrete, in the situation that set-top box is determined the current idle tuning resource that do not have, the priority of the relatively new terminal equipment (being the transmitting terminal of tuning resource query instruction) that adds and be assigned the priority of the other-end equipment of tuning resource, if set-top box determines to be assigned the priority that the priority of at least one terminal equipment in the terminal equipment of tuning resource is lower than the terminal equipment that new adding plays, then set-top box just sends tuning resource state information to terminal equipment, this tuning resource state information has been indicated has the tuning resource that terminal equipment can take, and the terminal equipment that new adding is play is known can take the TS data that the tuning resource of any one in above-mentioned at least one terminal equipment is obtained digital television program.
Further, in one embodiment of the invention, described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share.
At this moment, if set-top box is determined the current idle tuning resource that do not have, and definite priority that has been assigned the other-end equipment of tuning resource is not less than terminal equipment, send tuning resource state information to terminal equipment, described tuning resource state information indication has the tuning resource that terminal equipment can share.Optionally, at this moment, described tuning resource state information can also refer to illustrate the tuning resource concrete which other-end equipment distributes and can share.
Concrete, in the situation that set-top box is determined the current idle tuning resource that do not have, the relatively newer priority that adds the priority of the terminal equipment of playing and be assigned the other-end equipment of tuning resource, if the definite priority that has been assigned the terminal equipment of tuning resource of set-top box is not less than the priority of the terminal equipment of new adding broadcast, then set-top box sends tuning resource state information to terminal equipment, this tuning resource state information has been indicated has the tuning resource that this terminal equipment can share, thereby the new terminal equipment that adds is followed the terminal equipment that is shared and is watched same digital television program.
It will be appreciated that, terminal equipment specifically takies or shares which tuning resource can be that set-top box is that it is determined, also can be that the user selects by terminal equipment.
It is to be noted, set-top box may not have the tuning resource that terminal equipment can be used, for example, can in set-top box, arrange the other-end equipment that do not allow priority not to be higher than to be assigned tuning resource, the new terminal equipment that adds shares the tuning resource of other-end equipment, like this, in the situation that set-top box does not have idle tuning resource, then set-top box does not have the tuning resource that the terminal equipment of new adding can be used; Again for example, can in set-top box, arrange and not allow the new terminal equipment that adds to share the tuning resource of the other-end equipment that is assigned tuning resource that is provided with a certain priority (such as franchise priority), like this, in the situation that set-top box does not have idle tuning resource, be franchise priority if be assigned the other-end equipment of tuning resource in the set-top box, then set-top box does not have the tuning resource that the terminal equipment of new adding can be used.Above two kinds of situations only are to illustrate set-top box may not have the tuning resource that terminal equipment can be used, and are not limited in the present invention above-mentioned two situations, and the present invention is not construed as limiting at this.At this moment, set-top box will be informed terminal equipment by tuning resource state information.
Need to prove do not have in set-top box in the situation of the tuning resource that terminal equipment can use, the new terminal equipment that adds can select retry to wait for available tuning resource, for example, again sends the available resources query statement to set-top box; Perhaps select to close network connection, abandon playing TV programme, the present invention is not construed as limiting at this.
Need to prove, the present invention is not construed as limiting the quantity of the tuning resource that can be provided with in the set-top box, also the quantity of the terminal equipment that is connected with set-top box is not construed as limiting simultaneously.
Corresponding with method shown in Figure 1, the embodiment of the invention also provides a kind of shared method of digital television program, is carried out by terminal equipment, and as shown in Figure 2, the method may further comprise the steps:
S21, terminal equipment and set-top box are set up network connection.
In this step, as previously mentioned, the mode that terminal equipment and set-top box are set up network connection can adopt sets up network connection automatically, also can adopt under user command triggers and set up network connection.For example, when user's opening terminal apparatus, on the display screen of terminal equipment, automatically demonstrate information, for example be " whether connecting with set-top box ", after the user confirms to connect, terminal equipment sends connection request to set-top box, and set-top box is returned response message to terminal equipment, thereby so that terminal equipment and set-top box are set up network connection.
S22, terminal equipment sends the resource query instruction to set-top box, and described resource query instruction is used for the enquiry machine top box and whether has the tuning resource that terminal equipment can be used.
At first need to prove owing to being provided with a plurality of digital TV tuners in the set-top box, namely organize tuning resource, in a set-top box, the number of digital TV tuner is limited more, and namely tuning resource is limited.Be subject to the restriction of tuning resource, if the same time, a plurality of terminal equipments are wanted to play digital television program by set-top box, the insufficient situation of tuning resource of set-top box may occur.
In this step, concrete, after terminal equipment and set-top box were set up network connection, at first, terminal equipment sent the resource query instruction to set-top box, and this resource query instruction is used for the enquiry machine top box and whether has the tuning resource that terminal equipment can be used; Then, set-top box is according to the tuning resource query instruction that receives, determine the current tuning resource that terminal equipment can be used that whether has, and according to the result who determines, send tuning resource state information to terminal equipment, be the tuning resource state information that the terminal equipment receiving set up box sends, this resource state information has indicated set-top box whether to have the tuning resource that terminal equipment can be used.
Next, terminal equipment is according to the tuning resource state information that receives, if tuning resource state information has indicated set-top box not have the tuning resource that terminal equipment can be used, the user can resend playing request and play parameter to terminal equipment, again to inquire whether have available tuning resource at present, perhaps, the user abandons playing TV programme at this terminal equipment.
S23, when the set-top box of inquiry had available tuning resource, terminal equipment sent the playing request of digital television program and the play parameter of determining through virtual tune to set-top box, so that set-top box is obtained the TS data of digital television program.
In this step, concrete, when the described set-top box of inquiring about has available tuning resource, when the user started the digital television program playing function of terminal equipment, terminal equipment sent the playing request of digital television program and the play parameter of determining through virtual tune to set-top box.Wherein, pass through the definite play parameter of virtual tune and refer to, the tuning processor in the terminal equipment is determined the play parameter that set-top box need to arrange according to the playing request of the digital television program of terminal equipment.Wherein, play parameter can comprise the television channel number of control command, request broadcast etc.Then, the play parameter that set-top box is determined according to tuning processor arranges, and after arranging, set-top box can be obtained the TS data of digital television program.
S24, the TS data of the digital television program that the terminal equipment receiving set up box sends.
S25, terminal equipment carry out virtual tune to the TS data to be processed.
In this step, virtual tune is processed and is referred to, the input and output of the tuning processor simulation entity digital TV tuner in the terminal equipment are to be used for the process of transmission TS data, the entity digital TV tuner is identical in its process and the prior art, and therefore not to repeat here.
Need to prove, digital television protocol stack in the terminal equipment the is multiplexing digital television protocol stack of set-top box end, and the digital television protocol stack in the terminal equipment docks with the tuning processor that the realization virtual tune of terminal equipment is processed, digital television protocol stack in the set-top box docks with the entity digital tuner of set-top box, thereby, so that the digital TV tuner of the tuning processor of terminal equipment and set-top box end provides identical interface, therefore, tuning processor in the terminal equipment can be simulated the operation of entity digital TV tuner, determine on the one hand the play parameter of the digital television program that request is play, and send this play parameter to set-top box, so that set-top box arranges according to play parameter, then obtain the TS data of digital television program; To transmit from the TS data that set-top box receives on the other hand.Like this, tuning processor substitutes and has realized the function of entity digital TV tuner, thereby has reduced cost.
TS data after S26, terminal equipment process according to virtual tune are play digital television program.
In this step, concrete, the TS data after terminal equipment is processed virtual tune are input in the video player of terminal equipment and play digital television program.
The method that the digital television program that the embodiment of the invention provides is shared, after set-top box and terminal equipment were set up network connection, terminal equipment sent the resource query instruction to set-top box and whether has a tuning resource that described terminal equipment can be used so that definite set-top box is current; Next, terminal equipment sends playing request and the parameter of digital television program to set-top box, so that set-top box is obtained the TS data of digital television program; Set-top box sends this TS data to terminal equipment after obtaining the TS data of digital television program; Terminal equipment receives and these TS data is carried out virtual tune process, and according to the TS data after the virtual tune processing, plays digital television program at terminal equipment.Therefore, the user can enjoy TV programme at the terminal equipment except the television set of junctor top box.So, the user just can enjoy TV programme at the terminal equipment except the television set of junctor top box; On the other hand, process because terminal equipment carries out virtual tune to the TS data, need to the entity digital TV tuner be installed at terminal equipment, thereby effectively reduce cost.
Optionally, in one embodiment of the invention, in the TS data that step S23 terminal equipment receiving set up box sends, the TS data of described reception have been passed through the encryption of set-top box; Therefore, step S24 carried out the virtual tune processing to the TS data before, the method was further comprising the steps of:
The TS data that receive are decrypted processing;
In this case, step S24 carries out virtual tune to the TS data and processes and to comprise:
TS data after the decryption processing are carried out virtual tune to be processed.
Concrete, terminal equipment receives the TS data that send after the set-top box encryption, and then terminal equipment is decrypted processing to the TS data that receive, and the virtual tune after the decryption processing is processed.
Be understandable that, in one embodiment of the invention, terminal equipment can with tuning resource be the tuning resource of current free time of set-top box.
Based on previously described set-top box end priority policy, in one embodiment of the invention, terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and terminal equipment can take.
Wherein, the terminal equipment tuning resource that can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment.Therefore, the tuning resource state information that the terminal equipment receiving set up box sends, whether this tuning resource state information indication set-top box has idle tuning resource or has the tuning resource that terminal equipment can take;
In this case, if tuning resource state information indication set-top box has the tuning resource that terminal equipment can take, before terminal equipment sends the playing request and parameter of digital television program to set-top box, also need terminal equipment to send apply for information to the user, the inquiry user tuning resource whether occupied terminal equipment can take;
Then, the user sends tuning resource occupation order to terminal equipment, it is the tuning resource occupation order that terminal equipment receives the user, whether this tuning resource occupation order indicating terminal equipment takies the tuning resource that described terminal equipment can take, when tuning resource that the described terminal equipment of tuning resource occupation order indicating terminal hold facility can take, send playing request and the parameter of digital television program to set-top box.
For example, in the situation of the tuning resource of many groups in the tuning resource that terminal equipment can take, can be in the following ways: the tuning resource information that set-top box selects one of them to take sends to this terminal equipment, this terminal equipment sends apply for information to the user, whether the inquiry user takies this tuning resource, the user sends tuning resource occupation instruction to this terminal equipment subsequently, when tuning this tuning resource of resource occupation order indicating terminal hold facility, send playing request and the parameter of digital television program to set-top box; Can also be in the following ways: set-top box sends to this terminal equipment with all tuning resource informations that terminal equipment can take, this terminal equipment sends apply for information to the user, whether the inquiry user takies tuning resource, and take which tuning resource in the tuning resource information of all tuning resource informations of described transmission, the user sends tuning resource occupation instruction to this terminal equipment subsequently, when tuning this tuning resource of resource occupation order indicating terminal hold facility, send playing request and the parameter of digital television program to set-top box.How to take tuning resource about terminal equipment, the present invention is not specifically limited.
Further, in one embodiment of the invention, terminal equipment can with tuning resource also comprise the tuning resource that terminal equipment can share.
Wherein, the tuning resource that terminal equipment can share is for to distribute to the tuning resource that priority is not less than the other-end equipment of this terminal equipment, and the other-end equipment that described priority is not less than this terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of this terminal equipment.At this moment, the tuning resource state information that this terminal equipment receiving set up box sends, described resource state information indication set-top box has the tuning resource that terminal equipment can share;
In this case, before terminal equipment sent the playing request and parameter of digital television program to set-top box, terminal equipment sent apply for information to the user, the inquiry user tuning resource whether common terminal equipment can share;
The user sends tuning resource sharing order to terminal equipment, and namely terminal equipment receives user's tuning resource sharing order, this tuning resource occupation order indicating terminal equipment tuning resource whether common terminal equipment can share;
Thereby, when the tuning resource that tuning resource sharing order indicating terminal equipment common terminal equipment can share, send playing request and the parameter of digital television program to set-top box.
It will be appreciated that, which tuning resource terminal equipment specifically shares can be that set-top box is that it is determined, also can be that the user selects by terminal equipment, and the occupancy mode that its shared mode can be is not with reference to the foregoing done restriction in the present invention.
For those skilled in the art better understand the technical scheme that digital television program that the embodiment of the invention provides is shared method, be elaborated below by the shared method of specific embodiment to digital television program provided by the invention.
As shown in Figure 3, the shared method of the digital television program of the present embodiment may further comprise the steps:
Phase I: network connection stage
10, behind user's opening terminal apparatus A, require terminal equipment A to set up network connection, in order to watch digital television program.
11, terminal equipment A sends the network connection instruction to set-top box, so that set-top box and terminal equipment are set up network connection.
12, set-top box is obtained the network connection state of terminal equipment A, and to set up network connection with terminal equipment, after the network connection success, set-top box sends the successful connection instruction to terminal equipment A.
13, the network connection of terminal equipment A receiving set up box success instruction.
Second stage: inquire about the available tuning resource stage
20, after the network connection success, the user starts the broadcast digital television program.
21, terminal equipment A sends tuning resource query instruction to set-top box before playing digital television program.
22, set-top box is determined the current tuning resource that terminal equipment A can use that whether has according to the tuning resource query instruction that receives.
Wherein, terminal equipment A can with tuning resource comprise the tuning resource that tuning resource that idle tuning resource, this terminal equipment can take and this terminal equipment can share, wherein, the tuning resource that terminal equipment A can take is for distributing to the tuning resource that priority is lower than the other-end equipment of terminal equipment A, and the tuning resource that terminal equipment A can share is for distributing to the tuning resource that priority is not less than the other-end equipment of terminal equipment A.
If set-top box is determined the current available tuning resource that has, turn to step 23; If set-top box is determined the current available tuning resource that do not have, then carry out following a few small step:
22-1, set-top box send the current available tuning resource that do not have to terminal equipment A;
22-2, terminal equipment A receiving set up box current do not have available tuning resource, and sends prompting " do not have resource, whether retry " to the user;
22-3, user be according to the information of terminal equipment A, selects retry or abandon playing.
23, set-top box sends the tuning resource state information of determining to terminal equipment A, and this tuning resource state information has indicated set-top box to have the tuning resource that terminal equipment A can use.
Concrete, set-top box have terminal equipment A can with tuning resource comprise following three kinds of situations:
One if set-top box is determined the current idle tuning resource that has, sends tuning resource state information to the terminal equipment A of new adding, and this tuning resource state information has indicated set-top box to have idle tuning resource;
They are two years old, if set-top box is determined the current idle tuning resource that do not have, and whether definite priority that has been assigned the other-end equipment of tuning resource is lower than the terminal equipment A of new adding, if the definite priority that has been assigned the other-end equipment of tuning resource of set-top box is lower than the terminal equipment A of new adding, just send tuning resource state information to terminal equipment A, this tuning resource state information has been indicated has the tuning resource that this terminal equipment can take;
They are three years old, if set-top box is determined the current idle tuning resource that do not have, and definite priority that has been assigned the other-end equipment of tuning resource is not less than terminal equipment A, just send tuning resource state information to terminal equipment A, this tuning resource state information indication has the tuning resource that this terminal equipment can share.
24, the tuning resource state information of determining of terminal equipment A receiving set up box transmission.
Phase III: play the digital television program stage
30, terminal equipment A sends playing request and the play parameter of digital television program to set-top box, and wherein play parameter comprises the television channel number that request is play.
31, set-top box is obtained the TS data of digital television program according to playing request and parameter, and sends this TS data to terminal equipment A.
Concrete, at first, the digital television protocol stack that arranges in the set-top box switches, locks channel corresponding to this digital television program, and obtains TS data corresponding to this digital television program; Then, through to after TS data encryption, the caching process, the TS data after the terminal equipment A transmission processing.
32, the TS data of terminal equipment A receiving set up box transmission, and these TS data are carried out virtual tune process, the data after processing according to virtual tune, A plays digital television program at terminal equipment.
Concrete, terminal equipment A carries out buffer memory and decryption processing to the TS data first after the TS data that receiving set up box sends, then carry out virtual tune and process, and the TS data after processing is sent on the player of terminal equipment A and plays digital television program.
Corresponding with preceding method, embodiments of the invention also provide a kind of set-top box 20, as shown in Figure 4, comprising:
Receiving element 202 is used for receiving the tuning resource query instruction that described terminal equipment sends, and described tuning resource query instruction is used for inquiry and whether has the tuning resource that described terminal equipment can be used;
Determining unit 203 is used for the tuning resource query instruction according to described receiving element 202 receptions, determines the current tuning resource that described terminal equipment can be used that whether has;
Receiving element 202 also is used for when determining current when having the tuning resource that described terminal equipment can use, playing request and the play parameter of the digital television program of receiving terminal apparatus transmission;
Acquiring unit 204 is used for the playing request and the play parameter that receive according to described receiving element 202, uses the transport stream TS data of the tuning resource acquisition digital television program that described terminal equipment can use;
Transmitting element 205 is used for sending the TS data to terminal equipment, so that this terminal equipment is play digital television program.
The set-top box 20 that the digital television program that the embodiment of the invention provides is shared, after linkage unit 201 is set up network connection, according to the tuning resource query instruction that receiving element 202 receives, determining unit 203 is determined the current tuning resource that described terminal equipment can be used that whether has; Playing request and the parameter of the digital television program that also receives according to receiving element 202, acquiring unit 204 obtains the TS data of digital television program, and then transmitting element 205 sends the TS data to terminal equipment, so that this terminal equipment is play digital television program.As can be seen from above, on the one hand, the user can realize sharing digital television program at the terminal equipment except the television set of junctor top box; On the other hand, in terminal equipment, be provided with the virtual bench that replaces the entity digital TV tuner, be used for sharing the function of the digital television program that set-top box obtains, thereby effectively reduce cost.
Optionally, in one embodiment of the invention,
Transmitting element 205 also is used for sending tuning resource state information to described terminal equipment, and this tuning resource state information has indicated set-top box whether to have the tuning resource that described terminal equipment can be used;
In this case, receiving element 202 specifically is used for:
When the indication of tuning resource state information has the tuning resource that terminal equipment can use, receive playing request and the parameter of the digital television program that described terminal equipment sends.
Further, in one embodiment of the invention, terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
In this case, determining unit 203 specifically is used for:
According to the tuning resource query instruction that receiving element 202 receives, determine the current idle tuning resource that whether has;
If determine the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
Transmitting element 205 specifically is used for:
If determining unit 203 is determined the current idle tuning resource that has, transmitting element 205 sends tuning resource state information to terminal equipment, and this tuning resource state information indication set-top box 20 has idle tuning resource;
If determining unit 203 is determined the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
And then, if determining unit 203 definite priority that have been assigned the other-end equipment of tuning resource are lower than terminal equipment, send tuning resource state information to this terminal equipment, this tuning resource state information indication has the tuning resource that this terminal equipment can take.
Further, in one embodiment of the invention, terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, wherein, the terminal equipment tuning resource that can share is for having distributed to the tuning resource that priority is not less than the other-end equipment of described terminal equipment; The other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
In this case, transmitting element 205 also is used for, if determining unit 203 definite priority that have been assigned the other-end equipment of tuning resource are not less than described terminal equipment, send tuning resource state information to described terminal equipment, this tuning resource state information indication has the tuning resource that described terminal equipment can share.
Optionally, in one embodiment of the invention, as shown in Figure 5, set-top box 20 also comprises:
Ciphering unit 206 is used for the TS data of obtaining are encrypted processing;
Transmitting element 205 specifically is used for:
Send TS data after the encryption to terminal equipment.
Corresponding with preceding method, embodiments of the invention also provide a kind of terminal equipment 30, and as shown in Figure 6, terminal equipment 30 comprises:
Transmitting element 302 is used for sending the resource query instruction to described set-top box, and described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
Receiving element 304 is used for the TS data that receiving set up box sends;
The terminal equipment 30 that the digital television program that the embodiment of the invention provides is shared, after linkage unit 301 and set-top box are set up network connection, transmitting element 302, send the resource query instruction to set-top box, when the set-top box of inquiry had available tuning resource, tuning processor 303 sent playing request and the play parameter of digital television program to set-top box; Then, the TS data that receiving element 304 receiving set up box send, the TS data after player 305 is processed according to tuning processor 303 are play digital television program.As can be seen from above, on the one hand, the user can realize sharing digital television program at the terminal equipment except the television set of junctor top box; On the other hand, in terminal equipment, be provided with the virtual bench that replaces the entity digital TV tuner, be used for sharing the function of the digital television program that set-top box obtains, thereby effectively reduce cost.
Optionally, in one embodiment of the invention, receiving element 304 also is used for, the tuning resource state information that receiving set up box sends, and this resource state information has indicated set-top box whether to have available tuning resource;
In this case, tuning processor 303 specifically is used for:
According to the tuning resource state information that receiving element 304 receives, when tuning resource state information indication set-top box had available tuning resource, terminal equipment sent the playing request of digital television program and the play parameter of determining through virtual tune to set-top box.
Further, in one embodiment of the invention, as shown in Figure 7, terminal equipment 30 can with tuning resource comprise the tuning resource that idle tuning resource and terminal equipment can take, the tuning resource that terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
In this case, receiving element 304 specifically is used for:
The tuning resource state information that receiving set up box sends, this tuning resource state information indication set-top box have the tuning resource that idle tuning resource or terminal equipment 30 can take;
Man-machine interaction unit 306, be used for sending apply for information to the user, inquire the described user tuning resource whether occupied terminal equipment can take, receiving element 304 also is used for, receive user's tuning resource occupation order, whether this tuning resource occupation order indicating terminal equipment 30 takies the tuning resource that described terminal equipment 30 can take;
When tuning resource occupation order indicates described terminal equipment 30 to take the tuning resource that described terminal equipment 30 can take, send the playing request of digital television program and the play parameter of determining through virtual tune to set-top box.
Further, in one embodiment of the invention, terminal equipment 30 can with tuning resource also comprise the tuning resource that terminal equipment 30 can share, the tuning resource that terminal equipment 30 can share is for having distributed to the tuning resource that priority is not less than the other-end equipment of this terminal equipment;
In this case, receiving element 304 specifically is used for:
The tuning resource state information that receiving set up box sends, this tuning resource state information indication set-top box has the tuning resource that terminal equipment 30 can share;
Man-machine interaction unit 306 also is used for, send apply for information to the user, the inquiry user tuning resource whether common terminal equipment 30 can share, receive user's tuning resource sharing order, whether this tuning resource occupation order indicating terminal equipment 30 shares the tuning resource that described terminal equipment can share;
Transmitting element 302 specifically is used for:
When the tuning resource that tuning resource sharing order indicating terminal equipment 30 shared described terminal equipments can share, send playing request and the play parameter of digital television program to set-top box.
Optionally, in one embodiment of the invention, as shown in Figure 8, the TS data that receiving element 304 receives have been passed through the encryption of set-top box;
TS data after the decryption processing are carried out virtual tune to be processed.
Figure 9 shows that the another kind of embodiment of set-top box provided by the invention, as shown in Figure 9, the set-top box 40 that the present embodiment provides comprises processor 401, memory 402, communication interface 403 and bus 404.Processor 401, memory 402 are connected by bus 404 connections and are finished mutual communication with communication interface.Described bus 404 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture is referred to as EISA) bus etc.Described bus 404 can be divided into address bus, data/address bus, control bus etc.For ease of expression, only represent with a thick line among Fig. 9, but do not represent only to have the bus of a bus or a type.Wherein:
Memory 402 is used for the stores executable programs code, and this program code comprises computer-managed instruction.Memory 402 may comprise the high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Set up network connection with terminal equipment;
Receive the tuning resource query instruction that described terminal equipment sends, described tuning resource query instruction is used for inquiry and whether has the tuning resource that described terminal equipment can be used;
According to the tuning resource query instruction of described reception, determine the current tuning resource that described terminal equipment can be used that whether has;
Current when having the tuning resource that described terminal equipment can use when determining, playing request and the play parameter of the digital television program that receiving terminal apparatus sends;
According to playing request and play parameter, use the transport stream TS data of the tuning resource acquisition digital television program that described terminal equipment can use;
Send the TS data to terminal equipment, so that terminal equipment is play digital television program.
Wherein, processor 401 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuits of the embodiment of the invention.
It should be noted that, above-mentioned processor 401 also can be used for carrying out other flow processs among the said method embodiment except having above-mentioned functions, do not repeat them here.
Also it should be noted that, the division of each functional unit can referring to the embodiment of aforementioned set-top box, not repeat them here in the processor 401.
Figure 10 shows that the another kind of embodiment of terminal equipment provided by the invention, as shown in figure 10, the terminal equipment 50 that the present embodiment provides comprises processor 501, memory 502, communication interface 503 and bus 504.Processor 501, memory 502 are connected by bus 504 connections and are finished mutual communication with communication interface.Described bus 504 can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture is referred to as EISA) bus etc.Described bus 504 can be divided into address bus, data/address bus, control bus etc.For ease of expression, only represent with a thick line among Figure 10, but do not represent only to have the bus of a bus or a type.Wherein:
Memory 502 is used for the stores executable programs code, and this program code comprises computer-managed instruction.Memory 502 may comprise the high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.
Set up network connection with set-top box;
Send the resource query instruction to described set-top box, described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
When the described set-top box of described inquiry has available tuning resource, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Receive the TS data of the described digital television program of described set-top box transmission;
Described TS data are carried out virtual tune to be processed;
According to the TS data after the described virtual tune processing, play described digital television program.
Wherein, processor 501 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuits of the embodiment of the invention.
It should be noted that, above-mentioned processor 501 also can be used for carrying out other flow processs among the said method embodiment except having above-mentioned functions, do not repeat them here.
Also it should be noted that, the division of each functional unit can referring to the embodiment of aforesaid device, not repeat them here in the processor 501.
Accordingly, the embodiment of the invention also provides a kind of digital television program shared system 60, and as shown in figure 11, this system comprises:
Set-top box 20 and at least one terminal equipment 30, wherein, terminal equipment comprises tuning processor 304, set-top box 20 can be connected with at least one terminal equipment 30 by network;
Wherein:
Set-top box 20 is used for:
Set up network connection with terminal equipment 30;
The tuning resource query instruction that receiving terminal apparatus 30 sends, this tuning resource query instruction are used for inquiry and whether have the tuning resource that terminal equipment 30 can be used;
According to the tuning resource query instruction that receives, determine the current tuning resource that terminal equipment 30 can be used that whether has;
Current when having the tuning resource that terminal equipment 30 can use when determining, playing request and the play parameter of the digital television program that receiving terminal apparatus 30 sends;
According to playing request and play parameter, the transport stream TS data of the tuning resource acquisition digital television program that use terminal equipment 30 can be used;
Send described TS data to terminal equipment 30, so that described terminal equipment 30 is play described digital television program;
Set up network connection with set-top box 20;
Send the resource query instruction to set-top box 20, this resource query instruction is used for the enquiry machine top box and whether has the tuning resource that terminal equipment can be used;
When set-top box 20 has available tuning resource, send the playing request of digital television program and the play parameter of determining through virtual tune to set-top box 20, so that described set-top box 20 is obtained the TS data of described digital television program;
The described TS data that receiving set up box 20 sends;
Described TS data are carried out virtual tune to be processed;
According to the TS data after the described virtual tune processing, play digital television program.
Optionally, in one embodiment of the invention, terminal equipment can be any one in the terminal equipments such as PC, pad, mobile phone, panel computer, Digital Television, and the present invention is not construed as limiting at this.
The system that the digital television program of the embodiment of the invention is shared, after set-top box and terminal equipment were set up network connection, terminal equipment sent the resource query instruction to set-top box and whether has a tuning resource that described terminal equipment can be used so that definite set-top box is current; Next, terminal equipment sends playing request and the parameter of digital television program to set-top box, so that set-top box is obtained the TS data of digital television program; Set-top box sends this TS data to terminal equipment after obtaining the TS data of digital television program; Terminal equipment receives and these TS data is carried out virtual tune process, and according to the TS data after the virtual tune processing, plays digital television program at terminal equipment.As can be seen from above, on the one hand, the user can enjoy TV programme at the terminal equipment except the television set of junctor top box; On the other hand, in terminal equipment, be provided with the virtual bench that replaces the entity digital TV tuner, be used for sharing the function of the digital television program that set-top box obtains, thereby effectively reduce cost.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses is difference with other embodiment.Especially, for device embodiment, because its basic simlarity is in embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method.
It should be noted that, device embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of the present embodiment scheme.In addition, in the device embodiment accompanying drawing provided by the invention, the annexation between the module represents to have communication connection between them, specifically can be implemented as one or more communication bus or holding wire.Those of ordinary skills namely can understand and implement in the situation that do not pay creative work.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly comprise that application-specific integrated circuit (ASIC), dedicated cpu, private memory, special-purpose components and parts etc. realize by specialized hardware.Generally speaking, all functions of being finished by computer program can realize with corresponding hardware at an easy rate, and, be used for realizing that the particular hardware structure of same function also can be diversified, such as analog circuit, digital circuit or special circuit etc.But software program realizes it being better execution mode under the more susceptible for the purpose of the present invention condition.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computer, USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.
Claims (21)
1. a digital television program shared system is characterized in that, comprising:
Set-top box and at least one terminal equipment, described set-top box can be connected with described at least one terminal equipment by network; Wherein:
Described set-top box is used for:
Set up network connection with described terminal equipment;
Receive the tuning resource query instruction that described terminal equipment sends, described tuning resource query instruction is used for inquiry and whether has the tuning resource that described terminal equipment can be used;
According to the tuning resource query instruction of described reception, determine the current tuning resource that described terminal equipment can be used that whether has;
Current when having the tuning resource that described terminal equipment can use when determining, receive playing request and the play parameter of the digital television program that described terminal equipment sends;
According to described playing request and play parameter, use the transport stream TS data of the described digital television program of tuning resource acquisition that described terminal equipment can use;
Send described TS data to described terminal equipment, so that described terminal equipment is play described digital television program;
Described terminal equipment is used for:
Set up network connection with set-top box;
Send the resource query instruction to described set-top box, described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
When the described set-top box of described inquiry has available tuning resource, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Receive the described TS data that described set-top box sends;
Described TS data are carried out virtual tune to be processed;
According to the TS data after the described virtual tune processing, play described digital television program.
2. the shared method of a digital television program is characterized in that, comprising:
Set-top box and terminal equipment are set up network connection;
Described set-top box receives the tuning resource query instruction that described terminal equipment sends, and described tuning resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
According to the tuning resource query instruction of described reception, described set-top box is determined the current tuning resource that described terminal equipment can be used that whether has;
Determine currently when having the tuning resource that described terminal equipment can use when described set-top box, described set-top box receives playing request and the play parameter of the digital television program that described terminal equipment sends;
Described set-top box is according to described playing request and play parameter, uses the transport stream TS data of the described digital television program of tuning resource acquisition that described terminal equipment can use;
Described set-top box sends described TS data to described terminal equipment, so that described terminal equipment is play described digital television program.
3. method according to claim 2 is characterized in that, in described tuning resource query instruction according to described reception, described set-top box determine current whether have the tuning resource that described terminal equipment can use after, described method also comprises:
Described set-top box sends tuning resource state information to described terminal equipment, and described tuning resource state information has indicated described set-top box whether to have the tuning resource that described terminal equipment can be used;
Describedly determine currently when having the tuning resource that described terminal equipment can use when described set-top box, playing request and play parameter that described set-top box receives the digital television program that described terminal equipment sends comprise:
When described tuning resource state information indication had the tuning resource that described terminal equipment can use, described set-top box received playing request and the play parameter of the digital television program that described terminal equipment sends.
4. according to claim 2 or 3 described methods, it is characterized in that,
Described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described set-top box is according to the tuning resource query instruction of described reception, determine the current tuning resource that described terminal equipment can be used that whether has, and send tuning resource state information to described terminal equipment, described tuning resource state information indicated described set-top box whether have described terminal equipment can with tuning resource comprise:
Described set-top box is determined the current idle tuning resource that whether has according to the tuning resource query instruction of described reception;
If described set-top box is determined the current idle tuning resource that has, send tuning resource state information to described terminal equipment, described tuning resource state information indicates described set-top box to have idle tuning resource;
If described set-top box is determined the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
If described set-top box is determined the described priority that has been assigned the other-end equipment of tuning resource and is lower than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can take.
5. method according to claim 4 is characterized in that,
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for having distributed to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment; The other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
If determine the current idle tuning resource that do not have in described set-top box, after whether definite priority that has been assigned the other-end equipment of tuning resource was lower than described terminal equipment, described method also comprised:
If the definite priority that has been assigned the other-end equipment of tuning resource of described set-top box is not less than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can share.
6. according to claim 2 to 5 each described methods, it is characterized in that, obtain the transport stream TS data of described digital television program in described set-top box after, before described set-top box sent described TS data to described terminal equipment, described method also comprised:
Described set-top box is encrypted processing to the described TS data of obtaining;
Described set-top box sends described TS data to described terminal equipment and comprises:
Described set-top box sends TS data after the described encryption to described terminal equipment.
7. the shared method of a digital television program is characterized in that, comprising:
Terminal equipment and set-top box are set up network connection;
Described terminal equipment sends the resource query instruction to described set-top box, and described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
When the described set-top box of described inquiry has available tuning resource, described terminal equipment sends the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Described terminal equipment receives the TS data of the described digital television program of described set-top box transmission;
Described terminal equipment carries out virtual tune to described TS data to be processed;
TS data after described terminal equipment is processed according to described virtual tune are play described digital television program.
8. method according to claim 7 is characterized in that, after described terminal equipment sent the resource query instruction to described set-top box, described method also comprised:
Described terminal equipment receives the tuning resource state information that described set-top box sends, and described resource state information has indicated described set-top box whether to have the tuning resource that described terminal equipment can be used;
When described described set-top box when described inquiry had available tuning resource, described terminal equipment comprised to playing request and the definite play parameter of process virtual tune that described set-top box sends digital television program:
When described tuning resource state information indicated described set-top box to have available tuning resource, described terminal equipment sent the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
9. according to claim 7 or 8 described methods, it is characterized in that,
Described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described terminal equipment receives the tuning resource state information that described set-top box sends, described resource state information indicated described set-top box whether have described terminal equipment can with tuning resource comprise:
Described terminal equipment receives the tuning resource state information that described set-top box sends, and described tuning resource state information indicates described set-top box to have the tuning resource that idle tuning resource or described terminal equipment can take;
If described tuning resource state information indicates described set-top box to have the tuning resource that described terminal equipment can take, before the play parameter that described terminal equipment is determined to playing request and the virtual tune of described set-top box transmission digital television program, described method also comprises:
Send apply for information to the user, inquire whether described user takies the tuning resource that described terminal equipment can take;
Receive user's tuning resource occupation order, described tuning resource occupation order indicates described terminal equipment whether to take the tuning resource that described terminal equipment can take;
Described terminal equipment comprises to playing request and the definite play parameter of process virtual tune that described set-top box sends digital television program:
When described tuning resource occupation order indicates described terminal equipment to take the tuning resource that described terminal equipment can take, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
10. method according to claim 9 is characterized in that,
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for to distribute to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment, and the other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
Described terminal equipment receives the tuning resource state information that described set-top box sends, described resource state information indicated described set-top box whether have described terminal equipment can with tuning resource comprise:
Described terminal equipment receives the tuning resource state information that described set-top box sends, and described tuning resource state information indicates described set-top box to have the tuning resource that described terminal equipment can share;
To the playing request of described set-top box transmission digital television program and before through the definite play parameter of virtual tune, described method also comprises at described terminal equipment:
Send apply for information to the user, inquire whether described user shares the tuning resource that described terminal equipment can share;
Receive user's tuning resource sharing order, described tuning resource occupation order indicates described terminal equipment whether to share the tuning resource that described terminal equipment can share;
Described terminal equipment comprises to playing request and the definite play parameter of process virtual tune that described set-top box sends digital television program:
When described tuning resource sharing order indicates described terminal equipment to share the tuning resource that described terminal equipment can share, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
11. to 10 each described methods, it is characterized in that according to claim 7,
The TS data of described reception have been passed through the encryption of described set-top box;
Described TS data are carried out before virtual tune processes described, described method also comprises:
TS data to described reception are decrypted processing;
Describedly described TS data are carried out virtual tune process and to comprise:
TS data after the described decryption processing are carried out virtual tune to be processed.
12. a set-top box is characterized in that, comprising:
Linkage unit is used for setting up network connection with terminal equipment;
Receiving element is used for receiving the tuning resource query instruction that described terminal equipment sends, and described tuning resource query instruction is used for inquiry and whether has the tuning resource that described terminal equipment can be used;
Determining unit is used for the tuning resource query instruction according to described reception, determines the current tuning resource that described terminal equipment can be used that whether has;
Described receiving element also is used for when determining current when having the tuning resource that described terminal equipment can use, and receives playing request and the play parameter of the digital television program of described terminal equipment transmission;
Acquiring unit is used for the playing request and the play parameter that receive according to described receiving element, uses the transport stream TS data of the described digital television program of tuning resource acquisition that described terminal equipment can use;
Transmitting element is used for sending described TS data to described terminal equipment, so that described terminal equipment is play described digital television program.
13. set-top box according to claim 12 is characterized in that,
Described transmitting element also is used for sending tuning resource state information to described terminal equipment, and described tuning resource state information has indicated described set-top box whether to have the tuning resource that described terminal equipment can be used;
Described receiving element specifically is used for:
When described tuning resource state information indication has the tuning resource that described terminal equipment can use, receive playing request and the play parameter of the digital television program that described terminal equipment sends.
14. according to claim 12 or 13 described set-top box, it is characterized in that, described terminal equipment can with tuning resource comprise the tuning resource that idle tuning resource and described terminal equipment can take, the tuning resource that described terminal equipment can take is for having distributed to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described determining unit specifically is used for:
According to the tuning resource query instruction that described receiving element receives, determine the current idle tuning resource that whether has;
If determine the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
Described transmitting element specifically is used for:
If described determining unit is determined the current idle tuning resource that has, send tuning resource state information to described terminal equipment, described tuning resource state information indicates described set-top box to have idle tuning resource;
If described determining unit is determined the current idle tuning resource that do not have, whether definite priority that has been assigned the other-end equipment of tuning resource is lower than described terminal equipment;
If described determining unit is determined the described priority that has been assigned the other-end equipment of tuning resource and is lower than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can take.
15. set-top box according to claim 14, it is characterized in that, described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for having distributed to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment; The other-end equipment that described priority is not less than described terminal equipment comprises that priority is higher than and/or is equal to the other-end equipment of described terminal equipment;
Described transmitting element also is used for:
If the definite priority that has been assigned the other-end equipment of tuning resource of described determining unit is not less than described terminal equipment, send tuning resource state information to described terminal equipment, described tuning resource state information indication has the tuning resource that described terminal equipment can share.
16. to 15 each described set-top box, it is characterized in that according to claim 12, described set-top box also comprises:
Ciphering unit is used for the described TS data of obtaining are encrypted processing;
Described transmitting element specifically is used for:
Send TS data after the described encryption to described terminal equipment.
17. a terminal equipment is characterized in that, comprising:
Linkage unit is used for setting up network connection with set-top box;
Transmitting element is used for sending the resource query instruction to described set-top box, and described resource query instruction is used for inquiring about described set-top box and whether has the tuning resource that described terminal equipment can be used;
Tuning processor, be used for when the described set-top box of described inquiry has available tuning resource, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box, so that described set-top box is obtained the TS data of described digital television program;
Receiving element is used for receiving the described TS data that described set-top box sends;
Described tuning processor also is used for, and described TS data is carried out virtual tune process;
Player is used for playing described digital television program according to the TS data after the described virtual tune processing.
18. terminal equipment according to claim 17 is characterized in that,
Described receiving element also is used for, and receives the tuning resource state information that described set-top box sends, and described resource state information has indicated described set-top box whether to have available tuning resource;
Described tuning preparation implement body is used for:
When described tuning resource state information indicates described set-top box to have available tuning resource, send the playing request of described digital television program and the play parameter of determining through virtual tune to described set-top box.
19. according to claim 17 or 18 described terminal equipments, it is characterized in that,
Described available tuning resource comprises the tuning resource that idle tuning resource and terminal equipment can take, and the tuning resource that described terminal equipment can take is for distributing to the tuning resource that priority is lower than the other-end equipment of described terminal equipment;
Described receiving element specifically is used for:
Receive the tuning resource state information that described set-top box sends, described tuning resource state information indicates described set-top box to have the tuning resource that idle tuning resource or described terminal equipment can take;
Described terminal equipment also comprises:
Man-machine interaction unit, be used for sending apply for information to the user, inquire whether described user takies the tuning resource that described terminal equipment can take, described receiving element also is used for, receive user's tuning resource occupation order, described tuning resource occupation order indicates described terminal equipment whether to take the tuning resource that described terminal equipment can take;
Described tuning preparation implement body is used for:
When described tuning resource occupation order indicates described terminal equipment to take the tuning resource that described terminal equipment can take, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
20. terminal equipment according to claim 19 is characterized in that,
Described terminal equipment can with tuning resource also comprise the tuning resource that described terminal equipment can share, the tuning resource that described terminal equipment can share is for having distributed to the tuning resource that priority is not less than the described other-end equipment of described terminal equipment;
Described receiving element specifically is used for:
Receive the tuning resource state information that described set-top box sends, described tuning resource state information indicates described set-top box to have the tuning resource that described terminal equipment can share;
Described man-machine interaction unit also is used for, send apply for information to the user, inquire whether described user shares the tuning resource that described terminal equipment can share, receive user's tuning resource sharing order, described tuning resource occupation order indicates described terminal equipment whether to share the tuning resource that described terminal equipment can share;
Described tuning preparation implement body is used for:
When described tuning resource sharing order indicates described terminal equipment to share the tuning resource that described terminal equipment can share, send the playing request of digital television program and the play parameter of determining through virtual tune to described set-top box.
21. to 20 each described terminal equipments, it is characterized in that according to claim 17,
The TS data that described receiving element receives have been passed through the encryption of described set-top box;
Described terminal equipment also comprises decryption unit, is used for the TS data that described receiving element receives are decrypted processing;
Described tuning preparation implement body is used for:
TS data after the described decryption processing are carried out virtual tune to be processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102678560A CN103369400A (en) | 2013-06-28 | 2013-06-28 | System, method and device for sharing digital television program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102678560A CN103369400A (en) | 2013-06-28 | 2013-06-28 | System, method and device for sharing digital television program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103369400A true CN103369400A (en) | 2013-10-23 |
Family
ID=49369773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102678560A Pending CN103369400A (en) | 2013-06-28 | 2013-06-28 | System, method and device for sharing digital television program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103369400A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105245944A (en) * | 2015-09-29 | 2016-01-13 | 深圳市九洲电器有限公司 | DVB (Digital Video Broadcasting)-based multi-terminal program playing method and system, set top box and mobile terminal |
CN105516789A (en) * | 2015-12-31 | 2016-04-20 | 武汉亿播科技有限公司 | Data-sharing system and method based on set top box |
CN111050206A (en) * | 2018-10-12 | 2020-04-21 | 深圳市茁壮网络股份有限公司 | Method and device for acquiring video and audio data |
CN111866555A (en) * | 2020-07-24 | 2020-10-30 | 展讯半导体(南京)有限公司 | Digital television resource management method, system, electronic device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272325A (en) * | 2008-05-06 | 2008-09-24 | 广州飞瑞敖电子科技有限公司 | Family wireless interconnected broadcast base station |
CN101361055A (en) * | 2006-01-17 | 2009-02-04 | 微软公司 | Virtual tuner management |
US20110013091A1 (en) * | 2009-07-20 | 2011-01-20 | Samsung Electronics Co. Ltd. | Tuner control method and apparatus for broadcast reception system |
CN103024523A (en) * | 2012-12-07 | 2013-04-03 | 康佳集团股份有限公司 | Method and system for sharing television programs based on set top box (STB) |
-
2013
- 2013-06-28 CN CN2013102678560A patent/CN103369400A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101361055A (en) * | 2006-01-17 | 2009-02-04 | 微软公司 | Virtual tuner management |
CN101272325A (en) * | 2008-05-06 | 2008-09-24 | 广州飞瑞敖电子科技有限公司 | Family wireless interconnected broadcast base station |
US20110013091A1 (en) * | 2009-07-20 | 2011-01-20 | Samsung Electronics Co. Ltd. | Tuner control method and apparatus for broadcast reception system |
CN103024523A (en) * | 2012-12-07 | 2013-04-03 | 康佳集团股份有限公司 | Method and system for sharing television programs based on set top box (STB) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105245944A (en) * | 2015-09-29 | 2016-01-13 | 深圳市九洲电器有限公司 | DVB (Digital Video Broadcasting)-based multi-terminal program playing method and system, set top box and mobile terminal |
WO2017054620A1 (en) * | 2015-09-29 | 2017-04-06 | 深圳市九洲电器有限公司 | Dvb-based multi-terminal program playing method and system, set top box and mobile terminal |
CN105516789A (en) * | 2015-12-31 | 2016-04-20 | 武汉亿播科技有限公司 | Data-sharing system and method based on set top box |
CN111050206A (en) * | 2018-10-12 | 2020-04-21 | 深圳市茁壮网络股份有限公司 | Method and device for acquiring video and audio data |
CN111866555A (en) * | 2020-07-24 | 2020-10-30 | 展讯半导体(南京)有限公司 | Digital television resource management method, system, electronic device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101174846B (en) | Method for playback of broadcast data in receiver | |
WO2008016733A2 (en) | Multi-representation media event handoff | |
US20090282448A1 (en) | Set top box and parameter setting method | |
CN103702235A (en) | Data processing method and system for content delivery network | |
JP2006512854A (en) | Sharing radio frequency interface resources | |
CN103369400A (en) | System, method and device for sharing digital television program | |
CN104601589A (en) | Method of accessing broadcast television system, terminal and network side server | |
CN101252674B (en) | Network system, server apparatus, terminal apparatus, display method of content guide | |
US20220182730A1 (en) | Methods and apparatus for selectively obscuring a rendering of a media stream | |
CN104365111A (en) | Method for providing interlocking application in Android platform-based receiver | |
US20150163204A1 (en) | Digital content access control | |
CN102362505A (en) | Shared planner | |
CN109379607B (en) | Channel playing method, device and medium | |
JP5452583B2 (en) | Providing data application for digital broadcasting | |
CN102821166A (en) | Method, apparatus and system for multimedia data communication | |
US20150020124A1 (en) | Method and apparatus for providing broadcast contents | |
CN104202625A (en) | Method and device for processing media file | |
CN101715645B (en) | Method of providing digital TV application | |
CN108289240A (en) | Method, terminal and the computer-readable medium of DTV fast channel switching | |
US9813663B2 (en) | Handling requests when available channel selectors are in use | |
CN108259962B (en) | Program switching method, set top box and storage medium | |
US9769415B1 (en) | Bandwidth optimized channel surfing and interface thereof | |
CN114270810B (en) | Receiving device, receiving method, and non-volatile storage medium | |
CN113170223B (en) | Broadcaster application remote key processing | |
KR100912839B1 (en) | Apparatus for Recording of Broadcast Data and Method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131023 |
|
RJ01 | Rejection of invention patent application after publication |