A kind of electric apparatus control apparatus and method that realizes by set-top box
Technical field
The present invention relates to a kind of control device and method, relate in particular to the apparatus and method that a kind of household electrical appliance of realizing by set-top box to all are unified to control household electrical appliance.
Background technology
At present all be to use separately telepilot to realize to the control of household electrical appliance, promptly televisor is controlled by TV remote controller, and air-conditioning is controlled by air-conditioning remote control.The realization principle of telepilot control apparatus is: each button of telepilot all has a key assignments, when pressing certain button, the key assignments of this button just is transmitted on the corresponding electrical equipment, and electrical equipment is finished corresponding operation after receiving key assignments in view of the above, thereby realizes the control of telepilot to electrical equipment.But also do not have at present a kind ofly to unify to realize that remote control controls the method and apparatus of all electrical equipment.
The solution of the most approaching traditional unified control is to use study remote controller.This scheme is by the several learning key of interpolation on the basis of set-top box remote controller, the simple operationss such as accent platform tuning of learning televisor, thus realize that set-top box and TV remote controller are integrated.
Mainly there is following defective in above-mentioned traditional scheme: (1) because the telepilot learning key adopts hardware matching way one by one, uses dumbly, only can be applied to single household electrical appliances; (2) key assignments of telepilot study is lost easily, and causing can't the normal remote control televisor; (3) quiescent current of study remote controller is bigger, relatively power consumption.
Summary of the invention
The objective of the invention is to address the above problem, provide a kind of by the electric apparatus control apparatus of set-top box realization and the set-top box that comprises this electric apparatus control apparatus, various telepilots are carried out reasonable integration, control corresponding various household electrical appliances by the infrared output of set-top box platform, solved the telepilot that numerous household electrical appliance cause and spread unchecked problem.
Another object of the present invention has provided a kind of electric control method of realizing by set-top box, various telepilots are carried out reasonable integration, control corresponding various household electrical appliances by the infrared output of set-top box platform, solved the telepilot that numerous household electrical appliance cause and spread unchecked problem.
Technical scheme of the present invention is: the present invention proposes a kind of electric apparatus control apparatus of realizing by set-top box, control the function of arbitrary electrical equipment by set-top box remote controller, this device comprises:
Set-top box remote controller which is provided with several function operating keys;
The ultra-red order receiver module receives the infrared signal that those function operating keys on this set-top box remote controller are sent;
Code library memory module, the code library of storage comprise a plurality of code book sequences, and wherein the corresponding electrical equipment of the address code of each code book sequence and this code book sequence are stored several function key assignments of this electrical equipment;
Study territory module, connect this ultra-red order receiver module and this code library memory module, this study territory module is provided with several function control areas, the content of those function control area storages is several function key assignments from a certain code book sequence of this code library memory module derivation, wherein this code book sequence is that this study territory module is opened from this code library memory module according to a channel value, this channel value is that the user imports required electrical equipment and produces, and those function control areas are that the infrared signal of the function operating key that transmitted by this ultra-red order receiver module activates;
The ultra-red order sending module, the function key assignments that the function control area of activating is stored is transmitted into this electrical equipment.
Above-mentioned pass through the electric apparatus control apparatus that set-top box realizes, wherein, the number of the function operating key on the number of the function control area of this study territory module and this set-top box remote controller is identical.
The above-mentioned electric apparatus control apparatus that passes through the set-top box realization, wherein, this ultra-red order receiver module also receives the key assignments of an electric appliance remote controller, and the function control area of this study territory module is this key assignments erasable and that storage receives.
The above-mentioned electric apparatus control apparatus that passes through the set-top box realization, wherein, the key assignments of this electric appliance remote controller deposits in the newly-increased code book sequence of this code library memory module after being received by the ultra-red order receiver module.
The invention allows for a kind of electric control method of realizing by set-top box, control the function of a certain electrical equipment by set-top box remote controller, this electric control method comprises:
Set-top box receives the electrical equipment of user's input to determine that this set-top box will be controlled;
Generate corresponding channel value according to the electrical equipment in the previous step, this channel value sends code library to, derive corresponding code book sequence to each function control area of learning in the territory according to this channel value from code library, this code book sequence is stored several function key assignments of this electrical equipment;
The infrared signal that a function operating key on the receiving set up box telepilot sends;
Activate corresponding function control area according to the infrared signal in the previous step, the function key assignments that this function control area is stored is emitted to this electrical equipment;
This electrical equipment is finished corresponding operation according to the function key assignments that receives.
The above-mentioned electric control method that passes through the set-top box realization, wherein, the function control area number in this study territory is identical with the function operating key number on this set-top box remote controller.
The above-mentioned electric control method that passes through the set-top box realization, wherein, this method also comprises the learning process of a new Electronating device, this learning process comprises:
Receive the key assignments of the remote controller key of new Electronating device;
Those key assignments are stored in the function control area in study territory;
Those key assignments are formed a code book sequence to be added in the code library.
The above-mentioned electric control method that passes through the set-top box realization, wherein, the learning process of this new Electronating device is selected voluntarily by the user.
The present invention has proposed a kind of set-top box in addition, controls the function of arbitrary electrical equipment, and this set-top box comprises:
The set-top box module receives, handles and play the DVB signal;
Electric apparatus control apparatus, this device further comprises:
Set-top box remote controller which is provided with several function operating keys;
The ultra-red order receiver module receives the infrared signal that those function operating keys on this set-top box remote controller are sent;
Code library memory module, the code library of storage comprise a plurality of code book sequences, and wherein the corresponding electrical equipment of the address code of each code book sequence and this code book sequence are stored several function key assignments of this electrical equipment;
Study territory module, connect this ultra-red order receiver module and this code library memory module, this study territory module is provided with several function control areas, the content of those function control area storages is several function key assignments from a certain code book sequence of this code library memory module derivation, wherein this code book sequence is that this study territory module is opened from this code library memory module according to a channel value, this channel value is that the user imports required electrical equipment and produces, and those function control areas are that the infrared signal of the function operating key that transmitted by this ultra-red order receiver module activates;
The ultra-red order sending module, the function key assignments that the function control area of activating is stored is transmitted into this electrical equipment.
Above-mentioned set-top box, wherein, the number of the function operating key on the number of the function control area of this study territory module and this set-top box remote controller is identical.
Above-mentioned set-top box, wherein, this ultra-red order receiver module also receives the key assignments of an electric appliance remote controller, and the function control area of this study territory module is a key assignments erasable and that storage receives.
Above-mentioned set-top box, wherein, the key assignments of this electric appliance remote controller deposits in the newly-increased code book sequence of this code library memory module after being received by the ultra-red order receiver module.
The present invention contrasts prior art, following beneficial effect is arranged: the present invention by obtaining household electrical appliance the infrared control code value and be stored in the set-top box, utilize the function operating key of set-top box remote controller to activate again and emission infrared ray remotes control code value with the function of control household electrical appliance.The present invention contrasts prior art, is that the infrared control of all household electrical appliances is all controlled by the infrared output module of set-top box, has reduced the quantity of required telepilot with the uniform dispatching platform of set-top box as all household electrical appliance infrared control.Simultaneously, the present invention mainly adopts software approach to realize unified control, and therefore the key assignments of learning is not easy to lose and can not cause bigger quiescent current.
Description of drawings
Fig. 1 is the theory diagram of a preferred embodiment of the set-top box that comprises electric apparatus control apparatus of the present invention.
Fig. 2 is the process flow diagram of a preferred embodiment of the electric control method of realizing by set-top box of the present invention.
Fig. 3 is the process flow diagram of a preferred embodiment of the learning process of new Electronating device of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows the principle of a preferred embodiment of the set-top box that comprises electric apparatus control apparatus of the present invention.See also Fig. 1, set-top box 10 comprises original module 11 of set-top box and electric apparatus control apparatus 12, and the original module 11 of set-top box comprises Network Interface Module, demodulation multiplexer, demoder, video encoder etc., and the DVB signal is received, handles and plays.Electric apparatus control apparatus 12 comprises set-top box remote controller 120, ultra-red order receiver module 121, code library memory module 122, study territory module 123 and ultra-red order sending module 124.
Set-top box remote controller 120 also is provided with several function operating keys, such as being provided with 4 function operating key B1~B4 except button commonly used.The infrared signal that these function operating keys on the ultra-red order receiver module 121 receiving set up box telepilots 120 are sent.Code library memory module 122 is with database form storage code library, code library comprises a plurality of code book sequences, each code book sequence has been stored several function key key assignments of certain electrical equipment, and the number of the key assignments of being stored equates with function operating key number on the set-top box remote controller 120, is 4 function key key assignments in the present embodiment.Study territory module 123 connects ultra-red order receiver module 121 and code library memory module 122, in the study territory module 123 several function control areas are set, its number equates with the function key key assignments of code book sequence storage, is 4 function control area F1~F4 in the present embodiment.The content of these function control areas F1~F4 storage is exactly the function key assignments in the code book sequence, and the function control area is activated by the infrared signal that ultra-red order receiver module 121 receives.The function key assignments that ultra-red order sending module 124 will be learnt certain activated functional control area of territory module 123 to be stored is emitted to corresponding electrical equipment 13.The content of function control area F1~F4 is erasable, but among the key assignments import feature control area F1~F4 of another code book sequence of code library memory module 122 to replace the original function key assignments of being stored in control area.Similarly, the function control area that also can deposit study territory module 123 after the key assignments that the button of electric appliance remote controller 14 sends is received by ultra-red order receiver module 121 in is replacing the function key assignments of original storage, and the function key assignments can be deposited in the newly-increased code book sequence of code library memory module 122.
Utilize the above-mentioned set-top box that comprises electric apparatus control apparatus can realize the unified of various electrical equipment controlled, from control model two kinds of methods are arranged generally, below in conjunction with Fig. 2 a kind of control model is wherein described, under this control model, the function key assignments of the electrical equipment that control has been stored in the code book sequence of code library memory module 122.
Step S10: set-top box receives the electrical equipment of user's input to determine that this set-top box will be controlled.Set-top box generates the OSD menu interface and selects required electrical equipment for the user on TV screen, for example the option that TV, DVD, power amplifier, air-conditioning are provided in the interface is set at the telepilot key assignments, after the user selects TV, generate the submenu that next televisor brand is selected again, the option of SONY, SUMSUNG, Konka, Changhong is provided.Further generate the submenu that model is selected after the user selects SUMSUNG, provide the model of PS42C7S, LA27S71B, LA37R71B, LA52F71B to select, the model of LA27S71B is selected by end user.
Step S11: derive corresponding code book sequence to each function control area of learning the territory from code library according to the electrical equipment of selecting among the step S10, this code book is stored several function key assignments of this electrical equipment.
The corresponding electrical equipment of each code book sequence in the code library, the number of the function key assignments of code book sequence storage is identical with the function control area number (being the function operating key number on the set-top box remote controller) in study territory.In the present embodiment, the function operating key is B1~B4, and the function control area is F1~F4, so also corresponding 4 the function key assignments of storage of code book sequence, generally the most frequently used function key assignments is stored in the code book sequence.
Can utilize 8 bit port option codes to carry out channel selecting, the electrical equipment model of selecting according to step S10 user generates corresponding channel value, channel value such as the TV of LA27S71B model is 00000010, this channel value sends code library to, code library is opened corresponding code book sequence according to this channel value, the key assignments in this code book sequence is imported to successively among the function control area F1~F4 in study territory.Such as switching on and shutting down, accent platform, the tuning amount of this model TV and the function key assignments of these four buttons of coloured silk of mixing colours are stored among the F1~F4 of function control area successively.
Step S12 a: infrared signal that the function operating key sends on the receiving set up box telepilot.When the user pressed among function operating key B1~B4 any, this operating key sent an infrared signal to set-top box 10, was received by the ultra-red order receiver modules in the set-top box 10 121.
Step S13: the infrared signal that receives according to step S12 activates corresponding function control area in the study territory, and the function key assignments that this function control area is stored is emitted to corresponding electrical equipment.
Function control area F1~F4 in function operating key B1~B4 on the set-top box remote controller and the study territory is one to one.For example, when the user presses function operating key B1, the infrared signal that set-top box is sent according to function operating key B1 (such as being the signal that comprises function control area F1 address code) mobilizing function control area F1 is emitted to corresponding electrical equipment (being the SUMSUNG TV of LA27S71B model) with the function key assignments of storing among the regional F1 (being the switching on and shutting down key assignments of the SUMSUNG TV of LA27S71B model).
Step S14: this electrical equipment is finished corresponding operation according to the function key assignments that receives.
Hold the example of step S13, the switching on and shutting down key assignments among the regional F1 by the SUMSUNG television reception of LA27S71B model after, the operation of finishing switching on and shutting down is to realize control function.
If the function key assignments of the electrical equipment of controlling is stored in the study territory as yet, then need the description in addition comparatively detailed to the key assignments learning process in conjunction with Fig. 3.
Step S20: receive user's input to carry out key assignments study.
Set-top box generates one and selects the interface, and " setting of telepilot key assignments " and " study of telepilot key assignments " two options are provided, if the user selects the former, then carries out the step of the foregoing description, if the user selects the latter, then enters step S21.That is to say that key assignments is learnt this process and started voluntarily by the user.
Step S21: the key assignments that receives the remote controller key of new Electronating device.
The sharp air-conditioning that for example will to increase a model be the SP101 model, then user's alignment machine top box is pressed the button of switching on and shutting down, then by the 121 receiving key switch values of the ultra-red order receiver module in the set-top box.
Step S22: key assignments is stored in the function control area in study territory.
Hold the example of step S21, the switching on and shutting down key assignments deposits among the F1 of function control area.
Step S23: all function control areas all stored finish after, these key assignments of storage are formed a new code book sequence, be added in the code library.
After function control area F1~F4 has stored switching on and shutting down key assignments, humidity regulation key assignments, adjustment key assignments and air quantity control key assignments successively, these four key assignments are formed new code book sequences be stored in the code library, this code book sequence and model are that the sharp air-conditioning of SP101 model is associated.
After key assignments study was finished, it was the same utilizing process that set-top box remote controller controls required electrical equipment and the process of Fig. 2 embodiment, does not repeat them here.
Inventive point of the present invention is: the electrical function key assignments is stored in the set-top box, select corresponding electrical function key assignments to import in the study territory according to user's input, the infrared signal that function operating key on the receiving set up box telepilot sends also activates the function control area in the corresponding study territory, and the function key assignments in the zone of activating is transmitted on the corresponding electrical equipment with realization control.Because the content of function control area is erasable, therefore controllable electrical equipment number is with unrestricted.
The foregoing description provides to those of ordinary skills and realizes or use of the present invention; those of ordinary skills can be under the situation that does not break away from invention thought of the present invention; the foregoing description is made various modifications or variation; thereby protection scope of the present invention do not limit by the foregoing description, and should be the maximum magnitude that meets the inventive features that claims mention.