Summary of the invention
The technical problem that the embodiment of the invention mainly solves is in digital TV field, terminal receives wired broadcasting network TV programme need to change set-top box, thereby increase the problem of cost, a kind of terminal realizing method, terminal and TV receiving system are provided, under the condition of not changing set-top box, terminal can receive wired broadcasting network TV programme, and then reduces cost.
For solving the problems of the technologies described above, the technical scheme that the embodiment of the invention adopts is:
A kind of method of playing the wired broadcasting TV at terminal is provided, comprise the steps: to set up with set-top-box server between be connected; After connecting, receive the wired broadcasting TV control command from remote controller; According to the corresponding channel program data of described control command selection from set-top-box server; Play selecteed program data at described terminal.
As the further improvement to the embodiment of the invention, set up described connection, receive described control command, obtain program data and play described program data by preassembled virtual client on described terminal.
As the further improvement to the embodiment of the invention, before the wired broadcasting TV control command step of described reception from remote controller, comprising: at the control command code of the described virtual client corresponding various channels of definition or setting.
As the further improvement to the embodiment of the invention, in the corresponding channel program data step of selecting according to described control command from set-top-box server, described virtual client goes to selected channel according to described control command; After going to described selected channel, obtain the broadcast label instructions of the extraneous terminal plays process of televising of record; According to the broadcast process in the described broadcast label instructions, the program data after described terminal continues to receive described broadcast process.
For solving the problems of the technologies described above, the embodiment of the invention also adopts the another one technical scheme:
A kind of terminal is provided, comprises: linkage unit, be used for to set up with set-top-box server between be connected; Receiving element is used for receiving the wired broadcasting TV control command from remote controller after connecting; Selected cell is used for according to the program data of described control command selection from set-top-box server; Broadcast unit is used for playing selecteed program data at described terminal.
As the further improvement to the embodiment of the invention, described linkage unit, selected cell, receiving element and broadcast unit are integrated into the virtual client end unit.
As the further improvement to the embodiment of the invention, described selected cell specifically is used for: described virtual client is gone to selected channel according to described control command; After going to described selected channel, obtain the broadcast label instructions of the extraneous terminal plays process of televising of record; According to the broadcast process in the described broadcast label instructions, the program data after described terminal continues to receive described broadcast process
For solving the problems of the technologies described above, the embodiment of the invention also adopts another technical scheme:
As the embodiment of the invention is further improved, described linkage unit, selected cell, receiving element and broadcast unit are integrated into the virtual client end unit.
For solving the problems of the technologies described above, the embodiment of the invention also adopts another technical scheme:
A kind of TV receiving system is provided, comprises: terminal, television terminal, set-top box and set-top-box server that virtual client is installed in advance; Described terminal connects set-top-box server by virtual client; Described set-top box connecting TV terminal also connects described set-top-box server; Wherein, described virtual client be used for to set up with set-top-box server between be connected, after connecting, receive the first control command from the wired broadcasting TV of the first remote controller, select to play program data after selected from the program data of set-top-box server and at described terminal according to described the first control command.
As the further improvement to the embodiment of the invention, described virtual client comprises the first sync cap, and described set-top box all comprises the second sync cap; When described the first sync cap and the second sync cap were all opened, described virtual client and set-top box adopted case mechanism to be registered to set-top-box server, and described virtual client and set-top box are by the current operation of the mutual synchronization counterpart of set-top-box server; When described the first sync cap was closed, described virtual client was from set-top-box server Logout Events mechanism, and described virtual client operates separately; When described the second sync cap was closed, described set-top box was from set-top-box server Logout Events mechanism, and described set-top box operates separately.
As the further improvement to the embodiment of the invention,
Also comprise signal server, mobile phone terminal; Described television terminal, terminal, mobile phone terminal are registered to described signal server, and obtain the difference code that is distributed by described signal server, and the default level of described difference code is followed successively by from high to low: television terminal, terminal, mobile phone terminal; When described terminal, mobile phone terminal are in same difference code rank, be arranged in order from high to low difference code rank according to the order to described signal server registration.
The invention has the beneficial effects as follows: be different from prior art: terminal will be realized the reception of wired broadcasting network TV programme, need to change the situation of set-top box, the embodiment of the invention connects by terminal and set-top-box server, then receive the wired broadcasting TV control command from remote controller, according to the corresponding channel program data of control command selection from set-top-box server, and play.Set-top box is not changed in final realization, can realize that terminal watches the function of wired broadcasting network TV programme, reduces cost.
Embodiment
The present invention is described in detail below in conjunction with drawings and Examples.
Consulting Fig. 1, is the flow chart of terminal realizing method of the present invention, and the embodiment of the invention comprises:
Step S1, set up with set-top-box server between be connected.
For example, at first at the upper virtual client of installing based on the Rich Client Technology (Flex) of Adobe company of PC (personal computer, PC), connect by described virtual client and set-top-box server.This virtual client depends on flash player (flash player) operation, and unified, abundant operation interface can be provided for the terminal use of any installation flash player.It adopts ActionScript (rich client exploitation script) to carry out the exploitation of client, and the abundant user that can provide Flash to bring experiences.
Described virtual client is portable and professional platform independence is strong, and can support different network environments, because the network environment that Flex supports comprises Internet internet or the WIFI wireless network that the pc user uses, also comprise wap, WIFI that mobilephone terminal user uses, 3G network etc.
Step S2 receives the wired broadcasting TV control command from remote controller after connecting.
For example, terminal is set up long the connection by virtual client and set-top-box server, and receives the wired broadcasting TV control command that remote controller sends by described virtual client.
Step S3 is according to the corresponding channel program data of described control command selection from set-top-box server.
For example, the control command that terminal sends according to the remote controller that receives by virtual client is selected the corresponding channel program data from set-top-box server.
For example, when the user logins described virtual client for the first time, described virtual client obtain can control virtual client by key definition, if described button has set in advance, then directly obtain describedly by key definition, if arrange in advance, then described virtual client can be selected remote controller by prompting user, and show that the virtual remote control device arranges interface guiding user and finishes setting, specify take the signal that receives as standard and the button operation of corresponding certain remote controller and virtual remote control device.Last remote controller sends instruction control virtual client by described by key definition.
Certainly, can directly control described virtual client with mouse, can also finish by the key definition setting by the corresponding button that arranges on the keyboard.Last mouse or keyboard send instruction control virtual client by described by key definition.
Step S4 plays selecteed program data at described terminal.
For example, the realization of described step S4 is based on HTTP (Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)) asynchronous RPC (Remote Procedure Call Protocol, remote procedure call protocol) calls, setting up terminal by virtual client in needs is connected with the RPC of set-top-box server, call the service that described set-top-box server provides by the mode of far call, and the return result realizes playing selecteed program data at described terminal to terminal.
In embodiments of the present invention, connect by terminal and set-top-box server, then receive the wired broadcasting TV control command from remote controller, according to the corresponding channel program data of control command selection from set-top-box server, and play.Set-top box is not changed in final realization, can realize that terminal watches the function of wired broadcasting network TV programme, reduces cost.
In another embodiment of the present invention, set up described connection, receive described control command, obtain program data and play described program data by preassembled virtual client on described terminal.
In another embodiment of the present invention, before step S2, need to be at the control command code of the described virtual client corresponding various channels of definition or setting.
In another embodiment of the present invention, in step S3, described virtual client goes to selected channel according to described control command; After going to described selected channel, described virtual client obtains the broadcast label instructions of the extraneous terminal plays process of televising of record; Then described virtual client is according to the broadcast process in the described broadcast label instructions, the program data after described terminal continues to receive described broadcast process.In this step, described terminal obtains the broadcast label instructions of remote controller by virtual client, and records current broadcast state by set-top-box server; Described terminal also obtains the reduction broadcast label instructions of remote controller, the also current broadcast state of the described set-top-box server record of reason by virtual client.
For example, after described virtual client is connected with set-top-box server foundation is long, described set-top-box server record virtual client current operation, described virtual client obtains its last time mode of operation from set-top-box server, if operation was last time arranged, last time operation interface of reduction then, otherwise enter operation interface.The user is selecting to watch the program of oneself liking when (comprising live telecast channel, program recording, film etc.); cause to suspend or stopping to play if there is some accidents; recording the method for virtual client current operation can pass through, as the broadcast label is set.The label of a recorded program information (program ID, programm name, time point) of having play tag identifier, the broadcast label here only is directed to TV programme (TVOD) and the film (VOD) of recording, and live TV programme can not arrange label.In the time need to continuing to play next time, information with this label record is as the criterion, the information unification is kept at described set-top-box server, after the user again logins described virtual client and finishes, search and return corresponding data from described set-top-box server, the final demonstration last time operates, and namely recovers to play.
In the above-described embodiments, terminal connects by virtual client and set-top-box server, and receives described control command, obtains program data and play described program data by virtual client.The user can arrange and play the label record current operation, and label be play in reduction when logining virtual client next time according to hobby, continues client's operation before this.
See also Fig. 2, the flow chart of terminal realizing method the second embodiment of the present invention.
The embodiment of the invention comprises:
Step S101 has judged whether a plurality of terminals.
For example, comprise two and plural terminal, described terminal refers to computer and TV.
Step S102 judges whether to use same remote controller.
For example, PC uses same or different remote controllers with TV.
Step S103 starts and is registered to signal server.
For example, step S101 to S102, when starting virtual client, virtual client is registered to signal server, and during the starter motor top box, set-top box also is registered to signal server.Described virtual client and set-top box are obtained respectively the difference code that is automatically distributed at random by signal server, send instructions to distinguish, to judge and to divide.
Step S103 solves in the same signal cover the correct response of client on the different terminals.
Step S104, foundation is connected with set-top-box server.
Step S105 obtains mode of operation last time.
For example, step S104 is to S105, and described virtual client is set up long the connection with set-top-box server, and described set-top-box server can record the virtual client current operation.Obtain last time mode of operation of virtual client, if operation was last time arranged, last time operation interface of reduction then, otherwise enter the default action interface.Described set-top box is also set up long the connection with set-top-box server, and the current operation of described set-top-box server logging machine top box is corresponding, if operation was last time arranged, then reduces last time operation interface, otherwise enters the default action interface.
Step S106 is at the control command code of the described virtual client corresponding various channels of definition or setting.
For example, the user is starting virtual client for the first time and is passing through remote controller (the distant device of TV), when sending infrared signal to client, (can be external infrared signal receiver by base with operating system or PC hardware, for example: the USB receiver) go to obtain this infrared signal, the virtual client slave driver obtains this signal, and prompting user will correspond to current button on certain button of virtual client remote controller, after the user arranges this button, client will be preserved setting with the form of XML file.As:
Annotate: in the XML script, key assignments " 1 " is defined as volume button in the above.
Start the operation that virtual client can go according to this file respective user next time, the user goes to reset or cancel this setting in virtual client.
Step S107 judges whether first, second sync cap all opens.
Step S108, virtual client and set-top-box server are mutual, synchronously virtual client and set-top box current operation.
Step S109, virtual client and set-top-box server are mutual, and virtual client or set-top box operate separately.
At step S107 in S109, described virtual client and set-top box not only send instruction but also receive instruction, described virtual client comprises the first sync cap, described set-top box all comprises the second sync cap, when described the first sync cap and the second sync cap are all opened, enter step S108, described virtual client and set-top box adopt case mechanism to be registered to set-top-box server, and described virtual client and set-top box are by the current operation of the mutual synchronization counterpart of transfer of set-top-box server.Virtual client and set-top box current operation exist under following situations synchronously: virtual client and set-top box be not in same infrared signal (infrared signal that remote controller sends) scope, when perhaps virtual client uses different remote controllers with set-top box.
In addition, when any one is closed when the first or second sync cap, enter step S109, when namely described the first sync cap was closed, described virtual client was from set-top-box server Logout Events mechanism, and described virtual client operates separately; When described the second sync cap was closed, described set-top box was from set-top-box server Logout Events mechanism, and described set-top box operates separately.
Step S107 to the realization principle of S109 is: the data of described virtual client and set-top box are synchronously by transferring realization in the set-top-box server, and use Event mechanism at described set-top-box server end.Event mechanism refers to the transmission service of an instant message, and this service is set up with long connection the between described set-top box and the virtual client by TCP.Described set-top box and virtual client need to be to the corresponding events of being concerned about of EventServer registration.Described set-top box and virtual client namely are that the promoter of message also is the recipient of message, they are the current operation of synchronization counterpart simultaneously, at this moment, the user operate the corresponding operation of described virtual client with synchronous presenting on set-top box, perhaps the user operate the corresponding operation of described set-top box with synchronous presenting on virtual client, that is, their interface is synchronous, unified.When the user when described set-top box or virtual client are closed message synchronization, nullify the Event service that sends message and receipt message to set-top-box server in described set-top box or virtual client, this moment, the user controlled separately described virtual client or set-top box.
The embodiment of the invention guarantees to respond rank by starting and being registered to signal server, opens the first and second sync caps, and virtual client and set-top box realize that program data is synchronous, provides same user to experience.In addition, also can close the first or second sync cap, and realize the independent control to described virtual client and set-top box.
Seeing also Fig. 3, is the structural representation of embodiment of the invention terminal.Described terminal comprises linkage unit 10, receiving element 20, selected cell 30 and broadcast unit 40.
Described linkage unit 10, be used for to set up with set-top-box server between be connected; Described receiving element 20 is used for receiving the wired broadcasting TV control command from remote controller after connecting; Described selected cell 30 is used for according to the program data of described control command selection from set-top-box server; Described broadcast unit 40 is used for playing selecteed program data at described terminal.
In embodiments of the present invention, by linkage unit 10, receiving element 20, selected cell 30 and broadcast unit 40, realize that terminal and set-top-box server 100 connect, then receive the wired broadcasting TV control command from remote controller, according to the corresponding channel program data of control command selection from set-top-box server 100, and play.Set-top box is not changed in final realization, can realize that terminal can watch the Internet TV, can watch again the function of wired broadcasting network TV programme, reduces cost.
In another embodiment of the present invention, described linkage unit 10, selected cell 20, receiving element 30 and broadcast unit 40 can be integrated into the virtual client end unit.
Seeing also Fig. 4, is the structural representation of TV receiving system the first embodiment of the present invention.Described TV receiving system comprises set-top-box server 100, virtual client 500, terminal (not shown), television terminal (not shown), set-top box 700.
Described terminal connects set-top-box server 100 by virtual client 500;
Described set-top box 700 connecting TV terminals also connect described set-top-box server 100;
Wherein, described virtual client 500 be used for setting up with set-top-box server 100 between be connected, after connecting, receive wired broadcasting TV control command from remote controller, select from the program data of set-top-box server 100 and at the selecteed program data of described terminal broadcast according to described control command.
In addition, described set-top box 700 be used for setting up with set-top-box server 100 between be connected, after connecting, receive the second control command from the Internet TV of the second remote controller, select from the program data of set-top-box server 100 and at the selecteed program data of described television terminal broadcast according to described the second control command.
In embodiments of the present invention, by in conjunction with set-top-box server 100, virtual client 500 and set-top box 700, can realize terminal and television terminal compatible for wired radio network TV and Internet TV.
In another embodiment of the present invention, described selected cell 30 specifically is used for: described virtual client 500 is gone to selected channel according to described control command; After going to described selected channel, obtain the broadcast label instructions of record television terminal plays process; According to the broadcast process in the described broadcast label instructions, the program data after described terminal continues to receive described broadcast process.
In embodiments of the present invention, the user can arrange the broadcast label according to hobby when watching program by television terminal, Deng the user behind other the vicinal terminal, when the user logins by terminal again, obtain the broadcast label that arranges when extraneous television terminal is play, continue to receive described broadcast process program data afterwards.
Seeing also Fig. 5, is TV receiving system the second example structure schematic diagram of the present invention.The difference of it and TV receiving system of the present invention the first embodiment is: also comprise signal server 300, mobile phone terminal (not shown); Described television terminal (not shown), terminal (not shown), mobile phone terminal (not shown) are to described signal server 300 registrations, and obtaining the difference code that is distributed by described signal server 300, the default level of described difference code is followed successively by from high to low: television terminal, terminal, mobile phone terminal.
If described terminal, mobile phone terminal are in same difference code rank, be arranged in order from high to low difference code rank according to the order to described signal server 300 registrations.
Described difference code is used for distinguishing, judges and distributes same remote controller and send control command to television terminal, terminal or mobile phone terminal.
In embodiments of the present invention, be registered to described signal server by different terminals, when realizing difference in same signal cover and using same remote controller, guarantee that different terminals correctly responds.
In another embodiment of the present invention, described virtual client 500 comprises the first sync cap, described set-top box 700 all comprises the second sync cap, when described the first sync cap and the second sync cap are all opened, described virtual client 500 and set-top box 700 adopt case mechanism to be registered to set-top-box server 100, and described virtual client 500 and set-top box 700 are by the current operation of the mutual synchronization counterpart of transfer of set-top-box server 100.In addition, when described the first sync cap was closed, described virtual client 500 was from set-top-box server 100 Logout Events mechanism, and described virtual client 500 operates separately; When described the second sync cap was closed, described set-top box 700 was from set-top-box server 100 Logout Events mechanism, and described set-top box 700 operates separately.
The embodiment of the invention guarantees to respond rank by starting and being registered to signal server 300, opens the first and second sync caps, and virtual client 500 and set-top box 700 realize that program data is synchronous, provide same user to experience.In addition, also can close the first or second sync cap, and realize the independent control to described virtual client and set-top box.
In the above-described embodiments, described terminal can pass through remote controller or mouse or Keyboard Control.Make the user select various ways to control voluntarily virtual client according to hobby.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.