Interactive machine top box remote infrared controllerTechnical field
The utility model relates to a kind of infrared controller, is specifically related to a kind of interactive machine top box (being called for short " Set Top Box ") remote infrared controller.
Background technology
Existing set-top box remote controller is mainly to adopt infrared ray to control, and infra-red remote control utilizes near infrared light to transmit telecommand, and wavelength is 0.76um~1.5um.With near infrared as remote control light source, be because at present infrared emission device (infraluminescence pipe) and the luminous of infrared receiver device (photodiode, triode and photoelectric cell) be subject to light peak wavelength to be generally 0.8um~0.94um, in near infrared light wave band, the spectrum of the two just in time overlaps, can mate well, can obtain higher transfer efficiency and higher reliability, but its range of control and coverage are very limited, generally all in 10 meters.
The radiating portion of telepilot comprises keyboard matrix, coded modulation, LED infrared transmitter, and receiving unit generally includes infrared receiving terminal, photoamplifier circuit, and demodulation part, as shown in Figure 1.While having button to press on keyboard for remote control, the electric signal of key assignments, through decoding and modulation, changes electric signal into infrared ray signal (being called for short " infrared signal ") by infrared emission head and launches; And receiving unit changes the infrared ray signal of reception into electric signal after infrared receiving terminal, then photo amplifier amplifies signal, carry out again corresponding demodulation, give Single Chip Microcomputer (SCM) system it is encoded, Single Chip Microcomputer (SCM) system can convert different key assignments to the code storage of non-equivalence to self EEPROM(EEPROM (Electrically Erasable Programmable Read Only Memo)).
The bottleneck of prior art is to control at a distance and cannot realize the picture of remote monitoring Set Top Box, for the such company of radio and TV operator, not only to control and program request test the Set Top Box of local monitor chamber, also need strange land, as the Set Top Box of branch office or minute machine room, carry out effectively controlling and program request test, clearly existing short-range infrared controller can not be taken on this.
Utility model content
Utility model object: the problem and shortage existing for above-mentioned prior art, the purpose of this utility model is to provide a kind of interactive machine top box remote infrared controller, realizes the picture to the control of strange land Set Top Box and monitoring strange land Set Top Box.
Technical scheme: for realizing above-mentioned utility model object, the first technical scheme that the utility model adopts is a kind of interactive machine top box remote infrared controller, comprise remote computer, junction network, remote infrared control module and remote supervisory and control(ling) equipment, described remote computer sends to remote infrared control module by junction network by infrared remote coding, remote infrared control module is converted to the infrared remote coding receiving infrared signal and sends to interactive machine top box, interactive machine top box sends to remote supervisory and control(ling) equipment by remote infrared control module and junction network successively by sound signal and vision signal.
Further, also comprise set-top box remote controller, described remote infrared control module comprises microcontroller, infrared transmitting circuit and infrared receiving circuit, described set-top box remote controller is launched infrared signal to infrared receiving circuit, infrared receiving circuit receives described infrared signal and is converted to infrared remote coding, is stored in the storer of microcontroller; Described infrared transmitting circuit sends to interactive machine top box by the corresponding infrared signal of infrared remote coding sending with remote computer.
Further, described remote infrared control module also comprises video encoder, and interactive machine top box sends to remote supervisory and control(ling) equipment by video encoder and junction network successively by sound signal and vision signal.
Further, described remote infrared control module also comprises relay control module, described remote computer sends to microcontroller by instruction by junction network, and this microcontroller passes through the power supply of the action control interactive machine top box of pilot relay control module according to the instruction receiving.
Further, described infrared receiving circuit comprises infrared receiving terminal, and described infrared receiving terminal, for the infrared signal receiving is converted to electric signal, is stored in the storer of microcontroller after microcontroller coding.Further, the model of described infrared receiving terminal is NB1838.
Further, described relay control module comprises 4 group relaies.
Further, when infrared signal is sent to interactive machine top box, microcontroller will be modulated on carrier wave after infrared remote coding decoding, and sends to interactive machine top box after the two-stage amplifying circuit of infrared transmitting circuit amplifies.Further, described two-stage amplifying circuit comprisestriode 9013 andtriode 8050.
Further, described remote supervisory and control(ling) equipment is monitoring large-size screen monitors.
The second technical scheme that the utility model adopts is a kind of interactive machine top box remote infrared control method, comprises the steps:
Study: the infrared receiving terminal of set-top box remote controller being aimed to remote infrared control module, each button on this set-top box remote controller is pressed one time, infrared receiving terminal is converted into electric signal by the infrared signal of each button transmitting of the set-top box remote controller receiving, and after microcontroller coding, is stored in the storer of microcontroller;
Remote computer sends to remote infrared control module by junction network by infrared remote coding;
Remote infrared control module, by the coding contrast in the infrared remote coding receiving and storer, is converted into electric signal corresponding to corresponding encoded infrared signal and sends to interactive machine top box;
Interactive machine top box sends to remote supervisory and control(ling) equipment by remote infrared control module and junction network successively by sound signal and vision signal.
Further, described remote computer sends to microcontroller by instruction by junction network, and this microcontroller passes through the power supply of the action control interactive machine top box of pilot relay control module according to the instruction receiving.
Principle of work: we know, in IP packet switching network, between source address and destination address, as long as route can reach, IP packet just can be by the mode of packet switch, from mulitpath, signal is transferred to destination from information source, and need not be as in legacy circuit-switched networks network, also need to set up independent physical link for this reason, and we are required, do, only just to remote infrared control module (or title " RCS equipment "), distribute two IP addresses, as the infrared remote control of RCS equipment, manage port address and video stream pushing port address respectively, then at far-end, receive the multicast signal being sent by video stream pushing mouth.
Then, everything prerequisite that can realize and basis are that the interactive television signal that Set Top Box is sent is converted into IP packet data package, and just RCS equipment has been the key factor of this conversion.Interactive television signal becomes IP packet by RCS device translates, by the mode of IP multicast data flow, with IP Metropolitan Area Network (MAN) (i.e. " junction network ") carrying, passes back to the monitoring large-size screen monitors of Surveillance center, carries out far-end unified monitoring.
The principle that far-end control and management is realized is also similar, carry out Long-distance Control to Set Top Box, can only use the signal of infrared remote control, so we are as long as also send to Set Top Box by the form of IP packet data package by infrared remote-controlled signal.By succeeding in school various key mapping information, signal is sent to the RCS equipment of far-end by the form of IP packet data package, RCS equipment is after receiving the IP packet data package of infrared remote control, pass through infrared transmission module, be translated into infrared remote-controlled signal (being called for short " infrared signal "), directly issue Set Top Box, complete the control to Set Top Box.
Beneficial effect: the utility model can not only long-range control of set-top box, and far-end picture can be returned, realizes that to control passback integrated;
Passback monitor and detection point is under remote termination top box, rather than under far-end IP QAM, the picture of receiving is equal to the picture that remote subscriber perceives, and monitored picture and final user's perception are united, and guarantees the accuracy of monitoring;
The distribution of Set Top Box is disposed, and Set Top Box is distributed and is deployed in each remote monitoring point, has effectively avoided obscuring in control and management that concentrated deployment brings;
Dispose fast, do not need to take the space that machine room is very large, simple to operate, after concentrating relative address being configured, after completing, far-end wiring can reach the standard grade;
System architecture is easy, does not need the equipment such as system additional configuration server for this reason.
Accompanying drawing explanation
Fig. 1 is existing infrared control module block diagram;
Fig. 2 is the overall signal process flow diagram that remote infrared is controlled;
Fig. 3 is the module frame chart of interactive machine top box remote infrared controller;
Fig. 4 is the circuit diagram of infrared receiving circuit;
Fig. 5 is the circuit diagram of infrared transmitting circuit.
Embodiment
Below in conjunction with the drawings and specific embodiments, further illustrate the utility model, should understand these embodiment and only for the utility model is described, be not used in restriction scope of the present utility model, after having read the utility model, those skilled in the art all fall within the application's claims limited range to the modification of the various equivalent form of values of the present utility model.
As shown in Figure 2, the course of work of the present utility model is as follows:
Remote computer (being called for short " computing machine ") sends to Set Top Box the request of control, by junction network, transmits this control request;
Remote infrared control module (or claiming RCS equipment) receives the control of being initiated by computing machine asks, and is converted into infrared remote-controlled signal through infrared transmitting circuit (or title " infrared transmission module ");
RCS equipment sends to Set Top Box by infrared remote-controlled signal;
Set Top Box, according to infrared remote-controlled signal, completes this instruction, real-time pictures is transferred to RCS equipment by video/audio wire simultaneously;
The real-time pictures that the Set Top Box that receives RCS equipment transmits is converted into digital signal, and the packing of being divided into groups, and in the mode of multicast, sends to junction network;
Monitoring large-size screen monitors receive from junction network the multicast video streams that RCS equipment sends, and it is presented on monitoring large-size screen monitors in real time.
As shown in Figure 3, (1) single-chip microcomputer b is first learnt the infrared signal of telepilot a, and infrared signal is preserved by infrared receiving module (i.e. aforementioned " infrared receiving circuit ") l.When remote computer j sends steering order by junction network i, by single-chip microcomputer b, received after instruction, the corresponding infrared signal of the and instruction of storage is sent to controlled Set Top Box g by infrared transmission module c, Set Top Box g carries out by inner processor after receiving infrared signal, and resulting audio-video signal is encoded, by junction network i, passed back to long-range monitoring large-size screen monitors k again after IP encapsulation by scrambler h.Realized thus and by junction network, the equipment of far-end has been carried out to infrared operation and control, and returned corresponding video content by junction network.
(2) equipment when far-end breaks down, by remote computer, j sends instruction, arrives single-chip microcomputer b, then assign instruction to relay control module f via junction network i, relay control module f can control the power supply of Set Top Box g, plays the function of restarting reset.
(3) if there is third party device d, single-chip microcomputer b can gather required data by external interface e, and by junction network, i returns data.
Single-chip microcomputer can be learnt by infrared receiving terminal the infrared signal (or title " ultra-red order ") of other telepilots, and be stored in single-chip microcomputer, in addition in order to store more infrared remote coding (being called for short " infrared coding "), this control circuit is expanded infrared coding by serial communication, can by study to infrared coding by serial ports, upload to PC and preserve hereof, the infrared coding file that also can PC be preserved by serial ports download to this Single-chip Controlling terminal and stores and launch by infrared emission head.In the inside of single-chip microcomputer, write infrared coding and decoding program (these programs are all existing) simultaneously, also had part to store instruction, wherein decoding program is used for infrared transmitting, and coded program is for reception and study to the infrared signal of telepilot transmitting.
Infrared receiving circuit, as shown in Figure 4.The main part of infrared receiving circuit is exactly integrated infrared receiving terminal, and it is done the circuit such as infrared receiving diode, amplification, demodulation, shaping together, only has three pins.Be respectively+5V power supply,, signal output.Integrated infrared receiving terminal adopts NB1838 herein, and its Photoelectric Detection and prime amplifier are integrated in same encapsulation, and centre frequency is 37.9kHz.This integrated infrared receiving terminal can receive various dissimilar infrared remote coding signals, and the epoxy encapsulation structure of NB1838 provides a special Infrared filter for it, and natural light and electric field are disturbed and have very strong protective.The object of NB1838 is that various infrared remote coding signals (be called for short " infrared signal ") amplify to receiving, detection, shaping, obtain Transistor-Transistor Logic level, input to single-chip microcomputer middle port, after single-chip microcomputer coding is processed, generate infrared remote coding (being called for short " remote control mode " or " infrared coding "), be stored in the external storage in single-chip microcomputer.
Infrared transmitting circuit, as shown in Figure 5.Because 38kHz infrared remote-controlled signal becomes Transistor-Transistor Logic level after infrared receiving terminal receives, then after processing, processor is stored in external storage.When wanting vat red external signal, obtain and first produce 38kHz carrier signal.And then the remote control mode in external storage is modulated in 38kHz carrier signal, can restore strictly according to the facts learnt infrared signal.First by single-chip microcomputer, produce 38kHz carrier signal, and remote control mode is modulated on carrier wave, the infrared pulse signal (i.e. " infrared signal ") that finally output has modulated.Now output be exactly modulated to the infrared pulse signal on carrier wave, throughtriode 9013 and 8050, carry out two-stage amplification to drive infrared transmitting tube to give off the infrared pulse signal of 940nm.If obtained when building radiating circuit, adopt one-level amplifying circuit, a little less than the infrared ray signal that infrared sending tube is sent, remote-controlled distance is very limited.Through many experiments, show, one-level is amplified remote-controlled distance and is probably only had 1m left and right, can not reach user's request for utilization.Therefore added that second amplifying circuit makes its coverage at 5~10m, substantially meet user's remote control distance needs herein.
While receiving ultra-red order, infrared ray signal becomes TTL signal (transistor-transistor logic level signal) after infrared receiving terminal, and form is reverse, then inputs the external interrupt pin INT0 of single-chip microcomputer, and by depositing in single-chip microcomputer after coding.Before the long-distance infrared remote-controlled effect of performance, first to remote infrared control module, carry out " study ", first the infrared signal of Set Top Box is remembered in the single-chip microcomputer of remote infrared control module.
Learning process: the integrated infrared receiving terminal of set-top box remote controller being aimed to remote infrared control module, each button is pressed one time, infrared receiving terminal is converted into electric signal by the key assignments of the set-top box remote controller receiving, after single-chip microcomputer coding, store in single-chip microcomputer the process of client PC control single chip computer storage into.
While sending ultra-red order, first the instruction being pre-stored in computer is arranged on the corresponding bank bit of single-chip microcomputer, then is sent transferring again infrared signal to after the infrared coding decoding of appointment by single-chip microcomputer.In addition, in order to improve the antijamming capability of signal transmission, also need decoded electric signal to be modulated on the carrier wave of upper frequency and to launch.The carrier frequency of design is 38khz, can adopt the pulsed modulation oscillatory circuit that CMOS gate circuit forms to realize.