The control method of terminal unit, system and device
Technical field
The application relates to network technology, particularly to control method, system and the device of terminal unit.
Background technology
For the ease of operating the television set of various models, universal remote control is a kind of selection.Wherein, universal remote control, its
Built-in television integrated circuit (IC:Integrated circuit) code storehouse, this television set IC code deposits various Brand Type in storehouse
Number television set IC code, manually carry out mating of television set IC code and television set in universal remote control, control television set.
But, due to television set IC code and television set in needs manually coupling universal remote control, this can cause troublesome poeration
And it is time-consuming;Further, owing to television set IC code storehouse has previously been stored in universal remote control, this can cause television set IC code storehouse to expand
Exhibition, it is impossible to compatible new television set IC code.
Summary of the invention
This application provides control method and the device of terminal unit, in order to the television set IC of Auto-matching correspondence television set
Code controls television set.
The technical scheme that the present invention provides includes:
A kind of control method of terminal unit, the method includes:
Server obtains the description information of terminal unit;
Server finds and the control information of described description information matches from configured control information bank, this is found
Control information be sent to remote control equipment as the control information for controlling terminal unit, with by remote control equipment according to described control
Information processed controls terminal unit.
A kind of server controlled for terminal unit, described server includes:
Acquiring unit, for obtaining the description information of terminal unit;
Matching unit, for finding and the control information of described description information matches from configured control information bank,
The control information this found is as the control information being used for controlling terminal unit;
Transmitting element, for sending for controlling the control information of terminal unit to remote control equipment, with by remote control equipment root
Terminal unit is controlled according to described control information.
A kind of remote control equipment controlled for terminal unit, described remote control equipment includes:
Receive unit, for receiving the control information for controlling terminal unit that server matches goes out;
Control unit, for controlling terminal unit according to described control information.
As can be seen from the above technical solutions, in the present invention, server obtain the description information of terminal unit, and from
Finding and the control information of described description information matches in the control information bank of configuration, the control information this found is as being used for
The control information controlling terminal unit is sent to remote control equipment, to be set according to described control information control terminal by remote control equipment
Standby, i.e. match the control information such as television set IC code of terminal unit on backstage, it is not necessary to manually mate, convenient and swift.
Further, in the present invention, configuration controls information bank such as television set IC code storehouse on the server, it is possible to ensureing can
With dynamic renewal for controlling the control information such as television set IC code of terminal unit, easily extend.
Accompanying drawing explanation
The method flow diagram that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the flow chart of the embodiment of the present invention 1;
Fig. 3 is the flow chart of the embodiment of the present invention 2;
Fig. 4 is the flow chart of the embodiment of the present invention 3;
The server architecture figure that Fig. 5 provides for the embodiment of the present invention;
The remote control equipment structure chart that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings with specific embodiment pair
The present invention is described in detail.
Embodiments provide the method flow shown in Fig. 1:
See the method flow diagram that Fig. 1, Fig. 1 provide for the embodiment of the present invention.As it is shown in figure 1, the method flow process can include
Following steps:
Step 101, server obtains the description information of terminal unit.
In the present invention, the description information of terminal unit can be: brand, model, processor information etc., the present invention is the most concrete
Limit.
It addition, in the present invention, described terminal unit can be television set, it is possible to for other equipment, such as display etc., this
Bright the most specifically limit.
Step 102, server finds and the control information of described description information matches from configured control information bank,
The information this found is sent to remote control equipment as the control information being used for controlling terminal unit, with by remote control equipment according to institute
State control information and control terminal unit.
In the above description, if described terminal unit can be television set, correspondingly, the most described for controlling terminal unit
Control information is television set IC code.
In the present invention, server is obtained the description information of terminal unit and can be realized by three kinds of modes:
Mode 1:
The manner 1 time, server is not directly connected to remote control equipment, but by between Set Top Box and remote control equipment in succession
Connect, i.e. server is connected with Set Top Box, and Set Top Box is connected with remote control equipment.
The manner 1 time, first obtained the description information of terminal unit by Set Top Box, afterwards, by server by receiving it
The description information of the terminal unit that the Set Top Box connected sends reaches to obtain terminal unit and describes the purpose of information.
Based on which 1, server sends the control information being used for controlling terminal unit to remote control equipment just particularly as follows: take
Business device returns described for controlling the control information of terminal unit to Set Top Box, by Set Top Box by described remote control equipment between
Passage described control information is sent to described remote control equipment.
Mode 2:
The manner 2 times, needs to be directly connected to server with remote control equipment, by server by receiving its remote control connected
The description information of the described terminal unit that equipment sends reaches to obtain terminal unit and describes the purpose of information.
In which 2, owing to server is directly connected to remote control equipment, it is not as mode 1 and passes through Set Top Box like that with distant
Control equipment connects, therefore, in the manner 2, when after the control information that server matches goes out for controlling terminal unit, can directly by
This control information is to remote control equipment.
As in the manner 2, how remote control equipment obtains the description information of terminal unit, and this also needs to arrange remote control equipment
Being directly connected to Set Top Box, so, remote control equipment obtains the description information of terminal unit particularly as follows: be connected with described remote control equipment
Set Top Box obtain described terminal unit description information, and by obtain described description information be sent to described remote control equipment.
So, remote control equipment can obtain the remote information of terminal unit.
It should be noted that in mode 1 and mode 2, the mode of the description information that Set Top Box obtains terminal unit is one
Sample, particularly as follows:
Configure HDMI (HDMI) on the set-top box;
Set Top Box is set up HDMI by the HDMI HDMI self configured with terminal unit and is connected;
Set Top Box connects the description information to premises equipment requests terminal unit by HDMI, and receiving terminal apparatus passes through
HDMI connects the described description information returned.So, i.e. achieve Set Top Box and obtain the description information of terminal unit.
Mode 3:
Which 3 is different from above-mentioned mode 1 and mode 2, and it need not additionally increase Set Top Box, but by remote control equipment
Support HDMI;So, based on this HDMI, remote control equipment can be by the description information of following steps acquisition terminal unit:
Remote control equipment HDMI sets up HDMI with terminal unit and is connected;
Remote control equipment connects the description information to premises equipment requests terminal unit by HDMI, and receiving terminal apparatus leads to
Cross HDMI and connect the described description information returned.
After remote control equipment receives the description information that terminal unit returns, this is described information and is sent to server.As
This, server can easily get the description information of terminal unit.
So far, the description of three of the above mode is completed.
It should be noted that in the present invention, remote control equipment described above can be universal remote control.But, this is omnipotent distant
Control device is compared existing universal remote control and is had any different, i.e. fairly simple, without built-in television IC code storehouse.Below for ease of retouching
State, remote control equipment is collectively referred to as the universal remote control in not built-in television IC code storehouse, be called for short remote controller.
Below with terminal unit as television set, as a example by the control information for controlling terminal unit is television set IC code, logical
Cross three embodiments three of the above mode is specifically described:
Embodiment 1:
See the flow chart that Fig. 2, Fig. 2 are the embodiment of the present invention 1.Embodiment 1 is corresponding with aforesaid way 1, as in figure 2 it is shown,
The flow process of embodiment 1 can comprise the following steps that
Step 201, the HDMI that Set Top Box is configured by self sets up HDMI with television set and is connected.
Step 202, Set Top Box connects the description information to premises equipment requests television set by HDMI.
Here, the description information of television set can be the information such as the brand of television set, model, processor.
Step 203, television set connects the description information of return television set to Set Top Box by HDMI.
Step 204, Set Top Box and server set up interface channel.
In this step 204, Set Top Box can pass through Wireless Fidelity (WIFI) or cable network and be connected with server foundation
Passage, so ensure that the interface channel of foundation is stable.
It should be noted that the present invention 204 and above-mentioned steps 201 to step 203 there is no regular time sequencing, its
Can occur before above-mentioned steps 201 to step 203, it is possible to occur after above-mentioned steps 201 to step 203, or with upper
Stating step 201 to occur to either step in step 203, the present invention the most specifically limits simultaneously.
Step 205, the television set of reception is described information transmission to clothes by the interface channel that step 204 is set up by Set Top Box
Business device, obtains the IC code for controlling this television set with request server.
Step 206, server finds from configured television set IC code storehouse and describes information matches with described television set
Television set IC code, returns to Set Top Box by the interface channel that this television set IC code found is set up by step 204.
Step 207, interface channel set up by Set Top Box and remote controller.
In this step 207, Set Top Box can set up interface channel, so by the modes such as WIFI, bluetooth, 2.4G and remote controller
Ensure that the interface channel time delay of foundation is little and data band is roomy.
It should be noted that the present invention 207 and above-mentioned steps 201 to step 206 there is no regular time sequencing, its
Can occur before above-mentioned steps 201 to step 206, it is possible to occur after above-mentioned steps 201 to step 206, or with upper
Stating step 201 to occur to either step in step 206, the present invention the most specifically limits simultaneously.
Step 208, the television set IC code received is transmitted to remote control by the interface channel that Set Top Box is set up by step 207
Device.
Step 209, remote controller controls television set according to the television set IC code received.
Preferably, when this step 209 implements can be: remote controller generates corresponding described according to the television set IC code received
The remote control interface of television set, described remote control interface comprises the such as directionkeys of the control mode for controlling described television set or
Scroll wheels etc., to be utilized described control mode to control television set by user.
So far, the description of embodiment 1 is completed.Below embodiment 2 is described:
Embodiment 2:
See the flow chart that Fig. 3, Fig. 3 are the embodiment of the present invention 2.Embodiment 2 is corresponding with aforesaid way 2, and it is with above-mentioned
Unlike embodiment 1: Set Top Box receive television set return television set information is described after, the most as in Example 1 will
This television set describes information and is transferred to server, but is transferred to remote controller, remote controller this television set is described information and transmit
To server, and obtain television set IC code from server, referring specifically to the flow process shown in figure 3 below:
Step 301 is similar with above-mentioned step 201 to step 203 respectively to step 303, repeats no more here.
Step 304, interface channel set up by Set Top Box and remote controller.
In this step 304, Set Top Box can set up interface channel, so by the modes such as WIFI, bluetooth, 2.4G and remote controller
Ensure that the interface channel time delay of foundation is little and data band is roomy.
It should be noted that the present invention 304 and above-mentioned steps 301 to step 303 there is no regular time sequencing, its
Can occur before above-mentioned steps 301 to step 303, it is possible to occur after above-mentioned steps 301 to step 303, or with upper
Stating step 301 to occur to either step in step 303, the present invention the most specifically limits simultaneously.
Step 305, the television set that television set returns is described the interface channel biography that information is set up by step 304 by Set Top Box
Transport to remote controller.
Step 306, remote controller is set up with server and is connected.
In this step 306, remote controller can set up interface channel by WIFI or network with server, so ensure that and builds
Vertical interface channel is stable.
It should be noted that the present invention 306 and above-mentioned steps 301 to step 305 there is no regular time sequencing, its
Can occur before above-mentioned steps 301 to step 305, it is possible to occur after above-mentioned steps 301 to step 304, or with upper
Stating step 301 to occur to either step in step 305, the present invention the most specifically limits simultaneously.
Step 307, the television set of reception is described information transmission to clothes by the interface channel that step 306 is set up by remote controller
Business device, obtains the IC code for controlling this television set with request server.
Step 308, server finds from configured television set IC code storehouse and describes information matches with described television set
Television set IC code, returns to remote controller by the interface channel that this television set IC code found is set up by step 306.
Step 309 is similar with above-mentioned steps 209, repeats no more.
So far, the description of embodiment 2 is completed.Below embodiment 3 is described:
Embodiment 3:
See the flow chart that Fig. 4, Fig. 4 are the embodiment of the present invention 3.Embodiment 3 is corresponding with aforesaid way 3, and it is with above-mentioned
Unlike embodiment 1 and embodiment 2: be no longer necessary to Set Top Box, but configure HDMI on a remote control, referring specifically to Fig. 4 institute
The flow process shown:
As shown in Figure 4, this flow process can comprise the following steps that
Step 401, the HDMI that remote controller is configured by self sets up HDMI with television set and is connected.
Step 402, remote controller connects the description information to premises equipment requests television set by HDMI
Step 403, television set connects the description information of return television set to remote controller by HDMI.
Step 404, remote controller is set up with server and is connected.
In this step 404, remote controller can set up interface channel by WIFI or network with server, so ensure that and builds
Vertical interface channel is stable.
It should be noted that the present invention 404 and above-mentioned steps 401 to step 403 there is no regular time sequencing, its
Can occur before above-mentioned steps 401 to step 403, it is possible to occur after above-mentioned steps 401 to step 403, or with upper
Stating step 401 to occur to either step in step 403, the present invention the most specifically limits simultaneously.
Step 405, the television set of reception is described information transmission to clothes by the interface channel that step 404 is set up by remote controller
Business device, obtains the IC code for controlling this television set with request server.
Step 406, server finds from configured television set IC code storehouse and describes information matches with described television set
Television set IC code, returns to remote controller by the interface channel that this television set IC code found is set up by step 404.
Step 407 is similar with above-mentioned steps 209, repeats no more.
So far, the description of embodiment 3 is completed.
The method provided the present invention above is described, and the system and the device that provide the present invention below are retouched
State:
The system that the embodiment of the present invention provides includes server and remote control equipment.
Wherein, the structure of described server can be found in shown in Fig. 5, including:
Acquiring unit, for obtaining the description information of terminal unit;
Matching unit, for finding and the control information of described description information matches from configured control information bank,
The control information this found is as the control information being used for controlling terminal unit;
Transmitting element, for sending for controlling the control information of terminal unit to remote control equipment, with by remote control equipment root
Terminal unit is controlled according to described control information.
Wherein, described acquiring unit can obtain the description information of terminal unit by following two mode.One of which side
Formula is: connected Set Top Box by described server, and described acquiring unit obtains the description information of terminal unit and includes: with described service
The Set Top Box that device connects obtains the description information of described terminal unit, and described Set Top Box is by the description of the described terminal unit of acquisition
Information sends to described server.It can be seen that corresponding which, then the system that the present invention provides farther includes: Set Top Box.
Here, described Set Top Box obtains the description information of described terminal unit by following steps: Set Top Box is by self configuration
HDMI sets up HDMI with terminal unit and is connected;Set Top Box is connected by HDMI to be believed to the description of premises equipment requests terminal unit
Breath, and the described description information that receiving terminal apparatus is returned by HDMI connection.Corresponding which, described transmitting element sends to be used
In control the control information of terminal unit to remote control equipment particularly as follows: return the described control information for controlling terminal unit to
Described Set Top Box, to be sent to described by described Set Top Box by the passage between described remote control equipment by described control information
Remote control equipment.
As for another way, it is particularly as follows: connected remote control equipment by described server, and described acquiring unit obtains terminal
The description information of equipment includes: the remote control equipment being connected with described server obtains the description information of described terminal unit, described
The description information of the described terminal unit obtained is sent to described server by remote control equipment;
Wherein, described remote control equipment obtains the description information of described terminal unit by any one mode following:
First kind of way, described remote control equipment connects Set Top Box, and described remote control equipment receives and is connected with described remote control equipment
The Set Top Box description information of described terminal unit that obtains and send, wherein, described Set Top Box obtains described terminal unit
Description information includes: Set Top Box sets up HDMI even by the HDMI HDMI self configured with terminal unit
Connecing, Set Top Box connects the description information to premises equipment requests terminal unit by HDMI, and receiving terminal apparatus passes through HDMI
Connect the described description information returned;
The second way, described remote control equipment support HDMI, described remote control equipment is set up with terminal unit by HDMI
HDMI connects, and connects the description information to premises equipment requests terminal unit by HDMI, and receiving terminal apparatus passes through
HDMI connects the described description information returned.
So far, the structure completing server describes.
It addition, the structure that present invention also offers remote control equipment describes.As shown in Figure 6, described remote control equipment includes:
Receive unit, for receiving the control information for controlling terminal unit that server matches goes out;
Control unit, for controlling terminal unit according to described control information.
Preferably, as shown in Figure 6, described remote control equipment farther includes:
Information transmitting unit is described, for sending the description information of terminal unit to server, with by server from joining
The control information bank put finds and the control information of described description information matches.
Wherein, described description information transmitting unit can obtain the description letter of described terminal unit by following two mode
Breath: one way in which is: described remote control equipment connects Set Top Box, and described description information transmitting unit is obtained by following steps
The description information of described terminal unit: receive described Set Top Box and obtain and send the terminal unit description letter to described remote control equipment
Breath;Wherein, described Set Top Box obtains the description information of described terminal unit by following steps: Set Top Box is by self configuration
HDMI HDMI sets up HDMI with terminal unit and is connected;Set Top Box is connected to premises equipment requests by HDMI
The description information of terminal unit, and the described description information that receiving terminal apparatus is returned by HDMI connection.
Another way is: ensure that HDMI supported by remote control equipment, and, as shown in Figure 6, in described remote control equipment, enter one
Step increases with lower unit: connect unit;Wherein, described connection unit, it is used for making described remote control equipment be set with terminal by HDMI
The standby HDMI that sets up connects;Based on this, under which, described description information transmitting unit is connected to premises equipment requests by HDMI
The description information of terminal unit, and the described description information that receiving terminal apparatus is returned by HDMI connection.
Preferably, in the present invention, described control unit generates corresponding described terminal unit according to the control information received
Remote control interface, comprises the control mode for controlling described terminal unit in described remote control interface.
So far, system and device description that the present invention provides are completed.
As can be seen from the above technical solutions, in the present invention, server obtain the description information of terminal unit, and from
Finding and the control information of described description information matches in the control information bank of configuration, the control information this found is as being used for
The control information controlling terminal unit is sent to remote control equipment, to be set according to described control information control terminal by remote control equipment
Standby, i.e. match the control information such as television set IC code of terminal unit on backstage, it is not necessary to manually mate, convenient and swift.
Further, in the present invention, configuration controls information bank such as television set IC code storehouse on the server, it is possible to ensureing can
With dynamic renewal for controlling the control information such as television set IC code of terminal unit, easily extend.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.