Summary of the invention
The object of the invention is to: for prior art Problems existing, a kind of Set Top Box and the control method that control traditional home appliance are provided, solve the operation that traditional home appliance can only utilize the old remote controller self configured to do simply, fix, the requirement that cannot change according to extraneous environment for use and user, realizes intelligent operation and remote-operated problem.
Goal of the invention of the present invention is achieved through the following technical solutions:
Control a Set Top Box for traditional home appliance, it is characterized in that, this Set Top Box comprises:
Remote control reception key information processing module, for receiving the instruction that process user operates traditional home appliance for selection control command and the user of the model of target household electrical appliances;
Infrared signal modulate emission module, for carrying out coding and the signal madulation of remote control mode to the instruction that traditional home appliance operates according to user, then sends to target household electrical appliances;
Central processing unit system module, for transferring remote control configuration information corresponding in remote control code database according to user for the selection control command of the model of target household electrical appliances and arrange transmission frequency and the modulating mode of infrared signal modulate emission module according to remote control configuration information.
Preferably, this Set Top Box also comprises communication module, for carrying out communication with Set Top Box external equipment.
Preferably, described infrared signal modulate emission module comprises one and works in from the processor of single chip computer of pattern, single-chip microcomputer work clock circuit and infrared-emitting diode, described single-chip microcomputer work clock circuit is connected with processor of single chip computer respectively with infrared-emitting diode, this processor of single chip computer and central processing unit system model calling.
A control method for Set Top Box described in claim 1, is characterized in that, the method comprises the following steps:
(1) receive the selection control command of user for the model of target household electrical appliances, and transfer remote control configuration information corresponding in remote control code database according to this instruction;
(2) transmission frequency and the modulating mode of infrared signal modulate emission module are set according to remote control configuration information;
(3) receive the instruction that user operates traditional home appliance, and this instruction is passed to coding and the signal madulation that infrared signal modulate emission module carries out remote control mode, then send to target household electrical appliances.
Preferably, described remote control configuration information comprises the model of control objectives household electrical appliances, remote signal modulated carrier frequencies, the coding standard of infrared remote control and distant control function code word.
Preferably, Set Top Box gives tacit consent to the remote control configuration information of remote control configuration information as current selected of use last time.
Preferably, when carrying out step (3), for the user instruction received, first analyze, this user instruction is resolved into the instruction that the instruction of Set Top Box and traditional home appliance need perform, and then logical order performs instruction according to the rules.
Preferably, when Set Top Box is in the infrared signal modulate emission module launch mission stage, the remote control reception treatment progress of temporary close Set Top Box, until infrared signal modulate emission module launch mission completes.
Preferably, user can increase the information in remote control code database and upgrade.
Compared with prior art, the instruction that the present invention sends by analyzing user, intelligence forms the control command to traditional home appliance, realize the intelligence of traditional home appliance, flexile control and remote operation, and the present invention is of wide application, cost increases few, and benefit clearly.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
The invention provides a kind of Set Top Box controlling traditional home appliance, adopt on the basis of common machine top box, increase infrared signal modulate emission module, by in Set Top Box, the built-in remote control command code database as traditional home appliance, or from the Internet download, the remote control command code database upgrading traditional home appliance.The instruction analysis of Set Top Box by sending user, intelligence forms the control command to traditional home appliance, thus reaches the intelligence to traditional home appliance, flexile control and remote operation.Its concrete structure, as shown in Figure 1, this Set Top Box comprises:
Remote control reception key information processing module, for receiving the instruction that process user operates traditional home appliance for selection control command and the user of the model of target household electrical appliances;
Infrared signal modulate emission module, for carrying out coding and the signal madulation of remote control mode to the instruction that traditional home appliance operates according to user, then sends to target household electrical appliances.The circuit of infrared signal modulate emission module as shown in Figure 2, comprising one works in from the processor of single chip computer of pattern, single-chip microcomputer work clock circuit and infrared-emitting diode, described single-chip microcomputer work clock circuit is connected with processor of single chip computer respectively with infrared-emitting diode, this processor of single chip computer and central processing unit system model calling.In whole set-top-box system, the CPU of the central processing unit system module of Set Top Box is in holotype operating state (master), and the processor of single chip computer of infrared signal modulate emission module is for from mode state (slave).
Central processing unit system module, comprise CPU, RAM, ROM, for transferring remote control configuration information corresponding in remote control code database according to user for the selection control command of the model of target household electrical appliances and arrange transmission frequency and the modulating mode of infrared signal modulate emission module according to remote control configuration information.
Communication module, can adopt conventional WiFi port, asynchronous communication com port, Ethernet network interface etc., for carrying out communication with Set Top Box external equipment.
Audio-video signal output module, for output audio.
In addition, the present invention also provides a kind of control method of aforementioned Set Top Box, and as shown in Figure 3, the method comprises the following steps:
A, first in Set Top Box, the remote control code database of built-in known traditional home appliance, the remote-control data storehouse basic data sorted out by model comprises, the model of control objectives household electrical appliances, remote signal modulated carrier frequencies, the coding standard (NEC standard, RC-5 standard etc.) of infrared remote control, the remote control configuration informations such as distant control function code word.This database leaves in the external memory ROM of Set Top Box.
B, user, by Set Top Box job menu, select the model of control objectives household electrical appliances.The CPU of Set Top Box, by system communication passage, being built in remote control configuration information selected on oneself external memory ROM, sends the single-chip microcomputer of infrared signal modulate emission module to.Single-chip microcomputer, according to this remote information, arranges tranmitting frequency and the modulating mode of infrared signal modulate emission module.Set Top Box always gives tacit consent to the remote control configuration information that the remote control configuration information of the use of last time is current selected.
C, need the user control interface by Set Top Box as user, when traditional home appliance is operated, the instruction that Set Top Box process analysis user sends, the instruction that this Command Resolution becomes the instruction of Set Top Box and traditional home appliance to perform, then logical order performs instruction according to the rules.Set-top box CPU, these command sequences, passes to the single-chip microcomputer of infrared signal modulate emission module.After the coding that infrared signal modulate emission module single-chip microcomputer completes remote control mode and signal madulation, by infrared-emitting diode, remote control mode is sent.
D, be in the infrared signal modulate emission module launch mission stage, the remote control reception treatment progress of temporary close Set Top Box, until infrared signal modulate emission module launch mission completes when Set Top Box.Interference that infrared signal modulate emission module transmits and misleading is subject to avoid Set Top Box.
E, remote controller for the traditional home appliance model do not had in Set Top Box, by the professional remote controller website on searching for Internet or technical support website, can carry out down loading updating.If wish the kind to the traditional home appliance upgraded, can be realized by the remote control code database of the application program and expansion traditional home appliance that upgrade Set Top Box.
When using of the present invention, only need change remote control mode coding mode and launch modulation system, thus the traditional home appliance of many types and model can be controlled, such as TV, air-conditioning, fan, DVD player, power amplifier, senior light fixture etc. can accept the traditional home appliance of infrared remote-controlled signal, therefore being of wide application of this invention, cost increases few, and benefit clearly.
Below for apparatus of the present invention control objectives household electrical appliances model Changhong TV PT42900:
First, user, by Set Top Box job menu, selectes control objectives household electrical appliances model Changhong TV PT42900.The CPU of Set Top Box, by system communication passage, the remote control configuration information that there is PT42900 selected on Set Top Box external memory ROM, sends the single-chip microcomputer of infrared signal modulate emission module to.Single-chip microcomputer, according to this remote information, arranges tranmitting frequency and the modulating mode of infrared signal modulate emission module.
Secondly, when user needs PT42900 TV operation, the instruction that Set Top Box process analysis user sends, the instruction that this Command Resolution becomes the instruction of Set Top Box and PT42900 to perform, then logical order performs instruction according to the rules.The instruction performed for needing PT42900, set-top box CPU, this instruction, passes to the single-chip microcomputer of infrared signal modulate emission module.After the coding that infrared signal modulate emission module single-chip microcomputer completes remote control mode and signal madulation, and by infrared-emitting diode, remote control mode is sent.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, it should be pointed out that all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.