[go: up one dir, main page]

CN101277421A - Equipment and plan for digital television system two-way communication - Google Patents

Equipment and plan for digital television system two-way communication Download PDF

Info

Publication number
CN101277421A
CN101277421A CNA2007100737107A CN200710073710A CN101277421A CN 101277421 A CN101277421 A CN 101277421A CN A2007100737107 A CNA2007100737107 A CN A2007100737107A CN 200710073710 A CN200710073710 A CN 200710073710A CN 101277421 A CN101277421 A CN 101277421A
Authority
CN
China
Prior art keywords
data
digital
internet
terminal
access device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007100737107A
Other languages
Chinese (zh)
Inventor
郭建中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CNA2007100737107A priority Critical patent/CN101277421A/en
Publication of CN101277421A publication Critical patent/CN101277421A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A device and method for bidirectional communication for a digital television system enable the television system in unidirectional broadcast way has the bidirectional communication capacity. The method links the digital television terminal to the server via the internet; and a local adapter operating on the digital television terminal is sued for outputting data to the digital television terminal and processing control, receiving the data transmitted from the digital television terminal and the control of the digital television terminal and transmitting and receiving the data via a external device; the method connects the digital television terminal and the external internet device of the internet, which is used for the data receiving and transmitting with the local adapters of the digital television terminal, the data receiving and transmitting with the internet and the process for the data. The invention can be used for interactive content service, such as interactive television, video ordering programme, real-time guessing and electronic shopping service.

Description

A kind of equipment and scheme that is used for digital television system two-way communication
Technical field
This equipment is applied to digital TV field, specifically, is digital TV terminal, comprises digital TV set-top box and the television set with Digital Television access and decoding capability, and a kind of two-way communications capabilities is provided.
Background technology
The fast development of The present computer technology and information technology brings deep variation to TV domain.Digitizing technique makes people in the making and issue of TV programme, makes great progress.But because the characteristic of TV network, just TV signal sends to all television terminals in the mode of broadcasting, does not have the upstream data passage, makes the class of business of TV be difficult to big breakthrough.People press for more colourful television services, comprise that some are interactive very strong, the business that the televiewer can participate in real time, as the activity of voting, and online shopping, also have the service of some personalizations, carry out advertisement delivery targetedly such as hobby according to different user.These new business not only have important commercial and are worth, and have important social value.Carry out these business, television terminal must have the uplink communication ability.Have several schemes can make digital TV terminal have the uplink communication ability at present:
1, in the integrated ethernet communication module of digital TV terminal;
2, at digital TV terminal integrated digital television net modulation transmitter
3, use the TV solution of all-IP.
Described first kind of scheme requires that an ethernet communication and stronger microprocessor are arranged, thus cost than higher, practical application is less; Described second kind of scheme requires that a modulation transmitter and stronger microprocessor are arranged, thus cost than higher, practical application is also less; Described the third scheme requires to have too a Netcom's letter and a stronger microprocessor, also has more software module, and technology is more complicated, thus cost than higher, practical application is also less.
Summary of the invention
The objective of the invention is to avoid the deficiency of above technology and propose a kind of a kind of equipment and method that makes digital TV terminal have two-way communications capabilities.
Purpose of the present invention can be passed through to realize by the following technical solutions:
Design, a kind of external internetwork access device that is used for digital TV terminal of making, described external internetwork access device comprises: Peripheral Interface, can be RS232, USB, the CF card, mmc card or SD card are set up digital TV terminal by described Peripheral Interface and are connected with data between described external internetwork access device; Network interface, the Network Interface Module that finger has Internet access capacity, it can be Ethernet interface, the wireless ethernet interface, the GSM interface, the CDMA interface, IMT/UMTS-2000 interface or WiMAX interface, described external internetwork access device is by described Network Interface Module and the server communication that is positioned at the internet; Processor (CPU) is the calculation element of instruction to its programming that can use a computer; NVR (Nonvolatile memory) is used for storing solidification software and customized information, and described solidification software is used for controlling described external internetwork access device, carries out data processing task, is made of command sequence and some static datas of described processor.Described customized information refers to the information that specific external internetwork access device has, and comprises network settings, and/or personally identifiable information.
Purpose of the present invention also will be passed through to realize by the following technical solutions:
For the RS232 interface, designed a kind of data communication of multiplexing described external internetwork access device and the equipment debugging method for communicating of digital TV terminal, described method may further comprise the steps:
Step 1: described external internetwork access device sends message to described digital TV terminal, and request begins the data communication to external internetwork access device;
Step 2: described digital TV terminal stops at the data that described serial ports sent and received out the module outside the described digital TV terminal adapter;
Step 3: described digital TV terminal starts described digital TV terminal adapter, and described digital TV terminal local adapter is set up data with described external internet access device by described serial ports and is connected.
Purpose of the present invention also will be passed through to realize by the following technical solutions:
Design a kind of controller software that operates on the external internetwork access device, described controller software calls a kind of data-processing interface of data processor module, and the result of data outputed to local Peripheral Interface or network interface, described data processor module can be when producing or during operation the person of being operated write in the NVR on the described external internetwork access device, the processing logic of described data processor module can have different designs with the different of digital TV terminal adapter along with the server that is positioned at the internet.
Purpose of the present invention also will be passed through to realize by the following technical solutions:
Design a kind of local adapter software that operates on the digital TV terminal, described local adapter software receives and handles the media data from Peripheral Interface, and sends message by Peripheral Interface.Described local adapter software is from from extracting following information the media data of Peripheral Interface:
Unpressed picture;
Picture after the compression;
Unpressed sound;
Sound after the compression;
The medium control command,
And operation below carrying out:
Show Picture;
Output sound;
Picture is to internal memory;
Stored sound is to internal memory;
Picture is operated and shown.
Purpose of the present invention also will be passed through to realize by the following technical solutions:
Design a kind of use Peripheral Interface method for communicating between described external internetwork access device and digital TV terminal.Described method realizes data link control, the function that code stream is synchronous and data are recovered by using escape code.The length of common described escape code is 8 bits.Common described Peripheral Interface is that unit transmits data with byte, double byte or nybble.In communication process, the type and the length of the content-data that the use descriptor indicates to send.When sending data, before descriptor, insert escape code,, then before these data, send behind escape code of insertion if having in the content-data and the identical data of escape code.At receiving terminal, the escape code that remove to insert recovers corresponding data of description, and then recovers image, sound and control information etc. in the content-data according to descriptor from the data flow that receives.
Compared with prior art, the present invention has following advantage:
The vision signal of the broadcast mode of receiving digital television network of the present invention, a small amount of interaction data is finished by the internet, can guarantee the quality of video, also can not cause too big pressure to the internet simultaneously;
Compared with prior art, the present invention also has following advantage:
The present invention uses the Internet-delivered interaction data, has avoided the huge input and the expensive digital TV terminal equipment that has modulation transmitter (digital TV set-top box or digital television) of digital television bidirectional transformation;
Compared with prior art, the present invention also has following advantage:
The present invention is based on the local Peripheral Interface of digital TV terminal equipment, the interface that comprises RS232 and various sorts of memory cards, the expansion two-way communications capabilities, make a large amount of existing digital TV terminal equipment and existing solution to utilize, avoid a large amount of wastes, allowed Digital Television to carry out interaction capabilities upgrading cheaply;
Compared with prior art, the present invention also has following advantage:
The present invention uses external internetwork access device, the controller software and the data processor software that operate on the described external internetwork access device can be born suitable calculation task, have solved the processor calculating ability on the digital TV terminal equipment and the problem of low memory;
Compared with prior art, the present invention also has following advantage:
The present invention uses external internetwork access device, described external internetwork access device has NVR (Nonvolatile memory), personal information storage is in described NVR, the user can carry, avoid traditional digital TV terminal to move, thereby also can't carry the shortcoming of customized information.
Use Peripheral Interface provided by the invention is method for communicating between described external internetwork access device and digital TV terminal, compares and uses LAPB, and modes such as HDLC or AT order are compared, and has the low and little advantage of overhead of complexity.
Description of drawings
Fig. 1 is the equipment and the scheme schematic diagram of digital television system two-way communication of the present invention
Fig. 2 is the external internetwork access device hardware module of a present invention structural representation
Fig. 3 is that the present invention is with the circuit theory diagrams of AT91M40800 as the processor module of embodiment
Fig. 4 is that the present invention is with the circuit theory diagrams of DM9007 as the Network Interface Module of embodiment
Fig. 5 is that the present invention is with the circuit theory diagrams of MAX3223 as the RS232 interface driver module of embodiment
Fig. 6 is that the present invention is with the circuit theory diagrams of S29AL008D as the NVR module (flash) of embodiment
Fig. 7 is the circuit theory diagrams of one embodiment of the invention RS232 and external power supply duplicate supply scheme
Fig. 8 is the upgrade circuit theory diagrams of trigger button and status indicator lamp of the present invention
Fig. 9 is the top view of the external internetwork access device integrated member of the present invention
Figure 10 is the schematic diagram that concerns between each software module that the present invention relates to
Figure 11 is the process chart of the controller software that moves on the external internetwork access device of the present invention
Figure 12 be in the one embodiment of the invention data processor to the transformation result bitmap of a html file data
Figure 13 is the process chart of digital TV terminal adapter software to operating from the media data of Peripheral Interface in the one embodiment of the invention
Figure 14 is the present invention carries out software upgrading to external internetwork access device by all-purpose computer interacting message and a schematic flow sheet
Figure 15 is the present invention carries out the upgrade software upgrading to external internetwork access device by the internet upgrade server interacting message and a schematic flow sheet
Figure 16 is the process chart of transmit leg in the method that the use Peripheral Interface communicates in the one embodiment of the invention
Figure 17 is the process chart of recipient in the method that the use Peripheral Interface communicates in the one embodiment of the invention
Figure 18 is that a typical case of the present invention uses networking diagram
Embodiment
Be described in further detail below in conjunction with exemplary embodiments shown in the drawings:
A kind of scheme that is used for digital television system two-way communication comprises with lower member:
A digital TV terminal local adapter: the software that moves on the digital TV terminal, be used for digital TV terminal is controlled, reception receives and handles the media data from Peripheral Interface from the event notice of digital TV terminal, and sends message by Peripheral Interface.
The external internet of B access device: be used for and the digital TV terminal local adapter between Data Receiving and transmission, and Data Receiving between the internet and transmission, and data are handled.
Fig. 1 has described the equipment and the scheme schematic diagram of described digital television system two-way communication.Described digital TV terminal 001 is connected by Peripheral Interface 003 with external internetwork access device 002 and communicates by letter, and external internetwork access device 002 is communicated by letter by internet 005 with particular server 006.Described Peripheral Interface 003 comprises, usb, RS232, sd card, CF card and mmc card interface.An embodiment adopts the connected mode of RS232 as digital TV terminal local adapter and external internet access device.
Described external internetwork access device comprises with lower member:
A Peripheral Interface 014, be used for the digital TV terminal local adapter between be connected;
B network interface 013 is used for entering the Internet;
C processor (CPU) 011 is used for external internet access device is controlled;
D Nonvolatile memory 012 is used for storage computation machine software and personalized configuration;
Fig. 2 has described the relation between each hardware module in the described external internetwork access device.
Described network interface 013 can be following form: Ethernet, and wireless ethernet, WiMAX, GSM, CDMA, IMT/UMTS2000 etc. also can be other interface shapes that can enter the Internet.Present embodiment adopts IEEE802.3 (Ethernet) as the network interface that enters the Internet.
Described local Peripheral Interface 014, network interface 013, processor (CPU) 011, Nonvolatile memory 012 can be discrete module, also can be the module that combines.
Present embodiment adopts the AT91M40800 chip as CPU, the simultaneously integrated SRAM (static memory) of 8K byte capacity in this chip, serial communication interface module (USART).Described SRAM is connected with processor (CPU) by the internal bus of AT91M40800 with UART, and the processor of AT91M40800 can also be connected with other chip by outside expansion bus simultaneously.
The processor of AT91M40800 can be handled the data of 32 bits, has the disposal ability about 40MIPS, can remedy most low excessively defectives of disposal ability of handling the processor controls on the digital TV terminal.As shown in Figure 3, the pin MCKI of AT91M40800 is connected with crystal oscillator with MCKO, and described crystal oscillator provides master clock signal for AT91M40800.VDD is connected with the 3.3V power supply.
In the present embodiment, the AT91M40800 processor is connected with RS232 driver module MAX3223 by the USART module in the sheet.The TXD1 of AT91M40800 chip is connected with RXD with the TXD of RDX1 pin with RS232 driver module MAX3223.Fig. 5 is that the present invention is with the circuit theory diagrams of MAX3223 as the RS232 interface driver module of embodiment.
AT91M40800 is also external S29AL008D chip and DM9000A chip, wherein S29AL008D is a high speed FLASH chip, DM9000 is a fastethernet interface chip.S29AL008D provides the Nonvolatile memory of 1M byte capacity, and can be used for writing down needs the permanent individuation data of preserving, and also can store solidification software, the data field when can be used as program running simultaneously.DM9000A is a 10/100M baseT ethernet mac/PHY controller.Fig. 6 is with the circuit theory diagrams of S29AL008D as the NVR module (flash) of embodiment.Fig. 5 is with the circuit theory diagrams of DM9007 as the Network Interface Module of embodiment.
AT91M40800 is connected with the chip selection signal pin of S29AL008D chip and DM9000 chip with NCS1 by chip selection signal NCS0, thereby selects different chips to operate.
The NVR of present embodiment has adopted the S29AL008D chip.The chip selection signal CS0 of AT91M40800 and the pin CE# of S29AL008D are connected.The pin A1-A19 of AT91M40800 is connected with the pin A0-A18 of S29AL008D, realizes the addressing of a Mbytes address space.The pin D0-D15 of AT91M40800 is connected with the pin DQ0-DQ15 of S29AL008D, is the data channel between AT91M40800 and the S29AL008D.
The BYTE# pin of S29AL008D connects high level, and indication S29AL008D is operated in 16 bit modes.
The chip selection signal CS1 of AT91M40800 and the pin CS# of DM9000A are connected.The pin D0-D15 of AT91M40800 is connected with the pin D0-D15 of DM9000A, is the data channel between AT91M40800 and the DM9000A.
FC-518LS is a line driver, is used for the level between adaptive PHY and ethernet line.RJ45 is an ethernet connector, and ethernet controller AT91M40800 is connected with RJ45 by FC-518LS.
The RX-of DM9000A is connected with RXI+ with the RXI-of FC-518LS with the RX+ pin, is used to receive Ethernet data.The electric network that the electric capacity of this signal by the 50 Ω resistance that link to each other with simulation ground and 0.1pf constitutes carries out impedance matching.The TX-of DM9000A is connected with TXI+ with the TXI-of FC-518LS with the TX+ pin, is used for sending data to Ethernet.The electric network that the electric capacity of this signal by the 50 Ω resistance that link to each other with simulation ground and 0.1pf constitutes carries out impedance matching.
The Ethernet broadband access is a kind of very general internet access way, and the present invention uses Ethernet broadband access internet, thereby can make full use of the existing network of user.For solving wiring inconvenience or not having the situation of Ethernet broadband access, the mode that the present invention also provides wireless ethernet, GPRS, CDMA, IMT/UMTS2000 and WiMAX etc. to insert.
The RX-of FC-518LS is connected with RX+ with the RX-of RJ45 with the RX+ pin, is used to receive Ethernet data.The electric network that the electric capacity of this signal by the 75 Ω resistance that link to each other with simulation ground and 0.1pf constitutes carries out impedance matching.The TX-of FC-518LS is connected with TX+ with the TX-of RJ45 with the TX+ pin, is used for sending data to Ethernet.The electric network that the electric capacity of this signal by the 75 Ω resistance that link to each other with simulation ground and 0.1pf constitutes carries out impedance matching.
The X1 of DM9000A is connected with the quartz crystal oscillator of 25MHZ with the X2 pin, for DM9000A provides master clock signal.
AT91M40800 is integrated USARTI/O port, described USART port is connected with the MAX3223 module.The TX1 of AT91M40800 is connected with RXD with the TXD of MAX3223 respectively with RX1.
The MAX3223 module is a kind of serial ports line drive circuit, and it becomes Transistor-Transistor Logic level to the CMOS level conversion.As shown in the figure, connect AT91M40800 and RS232 DB9 connector by MAX3223, for AT91M40800 provides the serial communication ability.MAX3223 uses the power supply of 3.0V to the 5.5V scope.
The pin 11 of MAX3223 module is connected with RX1 with the TX1 of AT91M40800 module respectively with 13.The pin 8 of MAX3223 module is connected with RX with the TX of RJ45 connector respectively with 14.TX and RX send rs 232 serial interface signal respectively and receive rs 232 serial interface signal.The pin 5 of MAX3223 module and pin 8 direct ground connection make signal CTS and DTS effective forever, thereby the R232 serial line interface are operated in the full duplex state, and do not use hardware flow control.
Because the RS232 of most digital TV terminals is as the debugging purposes, therefore the present invention uses a kind of debug communications of serial ports of digital multiplexing television terminal and the method for data communication, allow digital TV terminal adapter and external internet access device to communicate by using the RS232 interface as debugging interface between the Peripheral Interface, described method comprises following steps:
Step 1: external internet access device sends initialization request message to digital TV terminal;
Step 2: the software module of digital TV terminal except that described digital TV terminal adapter stops to send data and reading in data from described RS232 interface to described RS232 interface;
Step 3: the digital TV terminal local adapter begins to send data and read in data from described RS232 interface to described RS232 interface.
Nearly all digital TV terminal equipment comprises digital television and the television set with decoding digital video function, all has the RS232 interface at least.Part has interfaces such as USB, SD card, CF card or mmc card.Therefore the present invention can make it to have two-way communications capabilities to nearly all existing digital TV terminal device upgrade, does not but need too high cost.
External internetwork access device among the present invention can adopt three kinds of supply power modes:
1, Peripheral Interface and external power supply power supply duplicate supply scheme.Under the prerequisite that the both exists, preferentially adopt the external power supply power supply.
2, Peripheral Interface power supply.
3, external power supply power supply.
Use the mode of Peripheral Interface power supply, can reduce by an external power supply power supply, increase user's convenience.But under the situation that interface can not be powered, need the external power supply power supply.An embodiment adopts above-mentioned first kind of supply power mode, i.e. RS232 interface and external power supply duplicate supply scheme.Fig. 7 has described the circuit theory diagrams of RS232 and external power supply duplicate supply scheme.The RS232 interface uses RTS or DTR to external power devices usually.As shown in the figure, 033 is a P channel-type field effect transistor (PMOSFET) IRF7406 among the figure, and major function is that circuit switches.030 is a Schottky diode, and purpose is to prevent that electric current from leaking to external power supply from serial ports.When external power supply inserted, 033 disconnected, and the RS232 interface is stopped power supply.036 is a triode, and 035 is a voltage stabilizing didoe, and 035 road is logical when input voltage is higher than 4V, and 035 base stage maintains 4V, and therefore 035 emitter is clamped at below the 4V.Purpose is in order to protect the RS232 interface level to be higher than the CMOS level.VDD is each module for power supply of the external internetwork access device of present embodiment.
Among the embodiment, the AT91M40800 module also is connected with a three-color LED light, to indicate the current state of described external internetwork access device.As shown in Figure 8, two input pins of three-color LED 038 lamp P15 of connecting the AT91M40800 module respectively is connected with P14.P15 and P14 are two GPIO ports (universal input and output port) of AT91M40800 module.Described three-color LED light 038 can send redness, green and orange-colored light.Described three-color LED 038 lamp can send red light when pin P15 input high level, described three-color LED light 038 can send green light when pin P14 input high level, when pin P15 and P14 all during input high level described three-color LED light 038 can send orange-colored light.Pin P15 and P14 can also reach flicker effect by being interrupted the output high level.Therefore described indicator light can have that redness is not glimmered, red flicker, green are not glimmered, green flicker, orange the flicker and six kinds of states such as orange flicker, six kinds of states of this of described indicator light are represented the un-activation of described external internet access device respectively, operate as normal, equipment fault, upgrade, upgrading is failed and is upgraded and successfully wait six kinds of states.
Among the embodiment, external internetwork access device also is equipped with a button, in order to receive user's upgrade command.After pressing the button of described external internetwork access device, described external internetwork access device will be attempted by the internet from specific upgrade server upgrade software.As shown in Figure 8, upgrade button switch 039 is connected with the P10/IRQ1 pin of AT91M40800 module.When described button 039 is pressed, the processor down trigger of AT91M40800 module, thus begin the upgrading flow process of carrying out the internet passed through of external internetwork access device software.
Fig. 9 is the top view of the integrated member of present embodiment, the 041st, and upgrade button, the 040th, status indicator lamp, the 042nd, Peripheral Interface, the 043rd, Ethernet interface.
Figure 10 is the schematic diagram that concerns between each software module of comprising of the present invention.It is digital TV terminal adapter 054, operate on the digital TV terminal, be used for digital TV terminal is controlled, receive event notice from digital TV terminal, receive and handle media data, and send message by Peripheral Interface from Peripheral Interface.The 051st, Peripheral Interface drives, and operates on the described external internetwork access device, is used for Peripheral Interface is controlled and read and write data on Peripheral Interface.The 053rd, network port driving operates on the described external internetwork access device, is used for network interface is controlled, and reads and writes data on network interface.The 052nd, the ICP/IP protocol stack operates on the described external internetwork access device, is used to realize ICP/IP protocol, thereby described external internetwork access device can be connected with any server on the internet.
As shown in figure 11, the invention provides a kind of method of using the processor on the described external internetwork access device that data are handled, comprise following steps:
Step 1 060: judge whether socket receives data.If no, forward step 5 064 to; If forward step 2 061 to.
Step 2 061: call data processor downlink data Processing Interface.Processing changes step 3 062 over to after finishing.
Step 3 062: whether judgment data processor downlink data output cushion non-NULL.If not, forward step 5 064 to; If forward step 4 063 to.
Step 4 063: dateout is to Peripheral Interface.Processing changes step 5 064 over to after finishing.
Step 5 064: judge whether Peripheral Interface receives data.If not, forward step 1 060 to; If forward step 6 065 to.
Step 6 065: call data processor upstream data Processing Interface.Processing changes step 7 066 over to after finishing.
Step 7 066: judgment data processor downlink data output buffering non-NULL.If not, forward step 9 068 to; If forward step 8 067 to.
Step 8 067: dateout is to Peripheral Interface.Processing changes step 9 068 over to after finishing.
Step 9 068: judgment data processor downlink data output buffering non-NULL.Processing changes step 10 069 over to after finishing.
Step 10 069: dateout is to Peripheral Interface.Processing changes step 1 060 over to after finishing.
Described data processor is a software module, is responsible for the data that are input on the described external internetwork access device are handled.Data processor has a Peripheral Interface data-processing interface and a network data processing interface at least, a peripheral hardware output buffering and a network output buffering.The concrete logic of data processor software can have different designs with the different of digital TV terminal adapter along with the server that is positioned at the internet.
Present embodiment has provided a kind of miniature html data processor module, described miniature html data processor module has the ASCII character tenability at least, has a kind of font at least, support the demonstration of ASCII character, stipulate among the HTML 1.0 that supports the W3C normal structure to formulate at least<HTML 〉,<body〉and<A etc. the support of label, support the simple HTTP request and the simple HTTP of the HTTP1.0 relevant criterion that ietf standard is organized to set up to reply at least.
Call described miniature web data processor network data interface, described miniature web data processor carries out HTML to the data that receive resolves, and writes down current input focus, simultaneously this html document is converted into a correct picture that shows.
Local adapter is a kind of software that operates on the digital TV terminal, and described local adapter software receives and handle the media data from Peripheral Interface, and sends message by Peripheral Interface.Described local adapter software is from from extracting following information the media data of Peripheral Interface and operating accordingly:
Unpressed picture;
Picture after the compression;
Unpressed sound;
Sound after the compression;
The medium control command,
And operation below carrying out:
Show Picture;
Output sound;
Picture is to internal memory;
Stored sound is to internal memory;
Picture is operated and shown.
Figure 13 is the process chart of digital TV terminal adapter software to operating from the media data of Peripheral Interface among the embodiment, may further comprise the steps:
Step 1 080, reception data.Change step 2 081 over to.
Step 2 081, judge whether compressing image data: if not, change step 4 083 over to; If change step 3 082 over to.
Step 3 082, decompressed image.Change step 3 083 over to.
Step 4 083, judge whether non-compressing image data: if not, change step 7 086 over to; If change step 5 084 over to.
Step 5 084, display image.Change step 6 085 over to.
Step 6 085, memory image.Change step 15 094 over to.
Step 7 086, judge whether compression sound data: if not, change step 9 088 over to; If change step 8 087 over to.
Step 8 087, decompress(ion) sound.Change step 9 088 over to.
Step 9 088, judge whether non-compression sound data: if not, change step 12 091 over to; If change step 10 089 over to.
Step 10 089, output sound.Change step 11 090 over to.
Step 11 090, stored sound.Change step 15 094 over to.
Step 12 091, judge whether image transform instruction: if not, change step 15 094 over to; If change step 13 over to.
Step 13 092, changing image.Change step 14 093 over to.
Step 14 093, display image.Change step 15 094 over to.
Step 15 094, do not judge whether not more multidata: if not, change step 1 080 over to; If, the end process flow process.
After the user made operation, digital TV terminal was notified to the digital TV terminal adapter software to concrete operations, and described digital TV terminal adapter software sends to external internetwork access device to user's operation by Peripheral Interface.
In one embodiment, described operating between controller software on the external internetwork access device and the described digital TV terminal adapter software that operates on the digital TV terminal communicates by the RS232 interface, and uses a kind of method of control transmission.Described method reaches the control purpose by insertion escape code and descriptor in code stream.Escape code represents that data thereafter need special processing, and in described communication process, escape code represents that the data of back do not belong to content-data itself.Because RS232 uses character to transmit as unit, so the escape code has here used the length of 8 bits, is specially 0xFF.
As shown in figure 16, the handling process of data receiver may further comprise the steps in the described method:
Step 1 100, transmission 0xFF.Change step 2 101 over to.
Letter is described in step 2 101, transmission.Change step 3 102 over to.
Step 3 102, from content-data, take out a byte.Change step 4 103 over to.
Step 4 103, judge whether current byte equals 0xFF.If not, change step 6 105 over to; If change step 5 104 over to.
Step 5 104, two 0xFF of running fire skip the content-data of a byte then.Change step 7 106 over to.
Step 6 105, send current byte.Change step 7 106 over to.
Step 7 106, judge whether content-data sends and finish.If finish; If not, change step 1 100 over to.
As shown in figure 17, data receiver's handling process may further comprise the steps in the described method:
Step 1 110, from the code stream of receiving, take out a byte.Change step 2 111 over to.
Step 2 111, judge whether current byte equals 0xFF.If not, change step 3 112 over to; If change step 4 113 over to.
Step 3 112, current data is put into reception data buffer.Change step 8 117 over to.
Step 4 113, from the code stream of receiving, take out a byte again.Change step 5 114 over to.
Whether step 5 114, current byte equal 0xFF.If not, change step 7 116 over to; If change step 6 115 over to.
Step 6 115,0xFF is put into the received content data buffer zone.Change step 8 117 over to.
Step 7 116, reception and processing descriptor.Change step 8 117 over to.
Whether step 8 117, reception code stream dispose.If, the end process flow process; If not, change step 1 over to.
Said method inserts data of description behind escape code, the recipient is according to these descriptors restore data from code stream.Described descriptor comprises the length and the type of the content-data that the back will be transmitted.Described data type comprises picture, sound, user's operation code and control information at least.In one embodiment, the permissible value of data type has bitmap and user key-press message.Described bitmap is the irrelevant bitmap of WIN32 standard device, comprises five directionkeys and 9 character keys with described family button.
Below with reference to an object lesson complete reciprocal process in one embodiment is described:
Described external internetwork access device is set up TCP by the internet with specific server and is connected, and it is mutual to carry out HTTP.At first the data that obtain from described server are html documents, the contents are as follows:
<html>
<body>
<a?href=″HTTP://www.myweb.com/index.html″>hello!</a>
</body>
</html>
After operating in downlink data Processing Interface that controller software on the described external internetwork access device calls described data processor and handling, the result is a picture, as shown in figure 12.Storage is in the peripheral hardware output buffer.Write down current focus and be the hyperlink in the described html document.
Described controller software uses above-mentioned communication means by the RS232 interface, and described picture is sent to described digital TV terminal.
After operating in adapter software on the digital TV terminal and receiving serial data, use above-mentioned communication means, recover above-mentioned picture, and be presented on the video screen.As shown in figure 12.
If the user presses acknowledgement key, then digital TV terminal is notified described adapter software, and adapter uses the above-mentioned means of communication, and press key message is sent to described external internetwork access device.After described controller software receives serial data, use above-mentioned communication means, recover key information, call the upstream data Processing Interface of described data processor then and handle.Result is a HTTP request, character string as follows:
GET/index.html?HTTP/1.0\r\n
Described controller software calls the TCP interface function above-mentioned data is sent to server specific on the internet.
Figure 18 has described a typical case of the present invention and has used networking diagram.As shown in figure 18, digital TV terminal (124,125 and 126) is connected with internet 123 by external internetwork access device (127,128 and 129), is connected with digital television broadcasting net 122 simultaneously.Digital TV terminal 124 is connected with server 120 by internet 123, carries out two-way communication.Digital TV terminal is connected with digital television broadcasting program controller 121 by digital television broadcasting net 122, the receiving digital broadcast TV signal.Server 120 is connected with digital television broadcasting program controller 121, thus the broadcast that server can control figure television program controller 121.Utilize described system, can provide video-on-demand service for the user.Programme is issued to external internetwork access device 127 by the HTML mode, is presented on the video screen then.User's order request is uploaded onto the server on 120 by the HTTP mode, server 120 sends the playing programs request according to user's request to digital television broadcasting program controller 121, and digital television broadcasting program controller 121 broadcasts the program of user's request at specific channel.Thereby video-on-demand service is accomplished.
The software that moves on the described external internetwork access device has necessity of upgrading in use.Can use the method for local upgrade to upgrade.When using described local upgrade method, at first described external internetwork access device is connected on the all-purpose computer by described Peripheral Interface, described all-purpose computer can be desktop computer computer or notebook computer, the user uses described all-purpose computer to send upgrade request message to described external internetwork access device, initiates escalation process.After described all-purpose computer receives the upgrading acknowledge message that described external internetwork access device sends, promptly begin to send and want the upgrading software data to described external internetwork access device.After described all-purpose computer was received the upgrading success message that described external internetwork access device sends, the upgrading flow process finished.Figure 14 be the present invention by all-purpose computer to interacting message and schematic flow sheet that external internetwork access device carries out software upgrading, comprise the steps:
Step 1 140, receive upgrade request message 145 after, check promotion condition.Upgrading enters step 2 141 if desired; Upgrading does not if desired need upgrading message and withdraws from processing to described all-purpose computer transmission.
Step 2 141, send upgrading acknowledge message 146 to described all-purpose computer.Change step 3 142 over to.
Step 3 142, reception upgrade data.Change step 4 143 over to.
Step 4 143, upgrade data is write NVR.Change step 5 144 over to.
Step 5 144, send upgrading success message 147 to described all-purpose computer.Process ends.
Can also use the method for remote upgrade that the software that moves on the described external internetwork access device is upgraded.When the method for use remote upgrade is upgraded to the software that moves on the described external internetwork access device, the user at first enters the Internet described external internetwork access device, press the upgrading trigger button on the described external internetwork access device then, described external internetwork access device starts the remote upgrade flow process.Described remote upgrade flow process may further comprise the steps:
Step 1 160, receive that the user presses upgrade request incident 165 after, send a upgrading request message 166 to the specific server that is positioned at the internet;
Step 2 161, receive the upgrading item message of returning from above-mentioned server 167 after, 167 comprise the project of wanting upgrading software, according to the whether needs upgrading of described message inspection.Upgrading enters step 3 162 if desired; If do not need upgrading, withdraw from processing.
Step 3 162, send upgrading acknowledge message 168 to described all-purpose computer.Change step 4 163 over to.
Step 4 163, reception upgrade data.Change step 5 164 over to.
Step 5 164, upgrade data is write NVR.Change step 6 165 over to.
Step 6 165, send upgrading success message 169 to described all-purpose computer.Process ends.
By the software on the described external internetwork access device is upgraded, described external internetwork access device just can have different functions, cooperates different servers that concrete application is provided.

Claims (15)

1. an equipment and scheme that is used for digital television system two-way communication, comprising:
The digital TV terminal local adapter, the software that moves on the digital TV terminal is used for digital TV terminal is controlled, and receives the event notice from digital TV terminal, receive and handle media data, and send message by Peripheral Interface from Peripheral Interface; With external internet access device, be used for and the digital TV terminal local adapter between Data Receiving and transmission, and Data Receiving between the internet and transmission, and data are handled.
2. digital TV terminal local adapter as claimed in claim 1, realized following method: memory image and sound are at buffering area; Comprise:
Unpressed picture;
Picture after the compression;
Unpressed voice data;
Voice data after the compression;
Show above-mentioned picture and sound;
Image to buffering area carries out conversion, and described conversion comprises mobile at least, and rotation is amplified, and dwindles and change the conversion of color value.
3. external internet as claimed in claim 1 access device, comprising:
Peripheral Interface, be used for the digital TV terminal local adapter between be connected, include but not limited to usb, RS232, sd card, CF card and mmc card interface; With
Network interface is used for entering the Internet, and can be following form: Ethernet, and wireless ethernet, WiMAX, GPRS, CDMA and 3G mobile communication interface etc. also can be other interface shapes that can enter the Internet; With
CPU is used for external internet access device is controlled; With
Nonvolatile memory (NVR) is used for storage computation machine software and personalized configuration; With
Controller software is used for the computer software unit that external internet access device is controlled.
4. external internet as claimed in claim 1 access device is characterised in that:
An external button is used to trigger the upgrading of controller software as claimed in claim 1.
5. external internet as claimed in claim 1 access device is characterised in that:
An indicator light is used to indicate the current state of external internet as claimed in claim 1 access device.
6. external internet as claimed in claim 1 access device is characterised in that:
Use local Peripheral Interface power supply as digital television terminal; Or
The power supply of use external power supply; Or
The local Peripheral Interface power supply of digital TV terminal and external power supply power supply duplicate supply, with an automatic switchover module, this module automatically switches to described external power supply and powers under the local Peripheral Interface power supply of described digital TV terminal and external power supply are powered simultaneous situation.
7. external internet as claimed in claim 1 access device comprises following software module:
The Peripheral Interface drive software
The network interface drive software; With
The ICP/IP protocol stack is used for and the server that is positioned at Internet remote-end connects; With
Controller software is used for the computer software product that external internet access device is controlled.
Data processor, be used for to from the internet or the data that receive of digital TV terminal analyze, whether decision sends data to digital TV terminal or internet, and send which kind of data.
8. controller software as claimed in claim 3 has following feature:
After receiving data, call the downlink data Processing Interface of data processor as claimed in claim 7 from the internet particular server;
Data in the downlink data output buffer of the described data processor of output claim 7 are to Peripheral Interface as claimed in claim 3.
9. controller software as claimed in claim 3 has following feature:
After receiving data, call the upstream data Processing Interface of data processor as claimed in claim 7 from Peripheral Interface as claimed in claim 3;
Data in the downlink data output buffer of the described data processor of output claim 7 are to the particular server on the internet.
10. indicator light as claimed in claim 5 is characterized in that:
Be connected with the IO output pin of CPU as claimed in claim 3;
By the flicker state different with the color indication, described state comprises at least: operate as normal, and equipment fault is upgraded, and upgrading is failed and is upgraded and successfully wait.
11. the local upgrade method of controller software as claimed in claim 7 comprises the steps:
Step 1: link to each other with general-purpose computer by local Peripheral Interface as claimed in claim 3;
Step 2: general-purpose computer sends upgrading request to external internet as claimed in claim 1 access device, wherein comprises at least: upgrade request type and data length;
Step 3: general-purpose computer sends the software data of controller software as claimed in claim 7 to external internet as claimed in claim 1 access device;
Step 4: external internet as claimed in claim 1 access device receives data from general-purpose computer, writes Nonvolatile memory as claimed in claim 3.
12. the remote upgrade method of controller software as claimed in claim 7, step is as follows:
Step 1, be connected with the particular server that is positioned at the internet by network interface as claimed in claim 3;
Step 2, user press external button as claimed in claim 4, thereby produce interruption at CPU as claimed in claim 3;
Step 2, external internet as claimed in claim 1 are located on the specific server of internet and set up the TCP connection;
Step 3, external internet as claimed in claim 1 connect read data by described TCP, and described data comprise the version number and the data length of controller software as claimed in claim 7 at least;
Step 4, external internet as claimed in claim 1 access device connect read data from described TCP, described data comprise the data of whole controller softwares as claimed in claim 7, and described data write Nonvolatile memory as claimed in claim 3.
13. the method that the debug serial port of a digital multiplexing television terminal enters the Internet may further comprise the steps:
Step 1: external internet as claimed in claim 1 access device is connected by serial ports with digital TV terminal;
Step 2: digital TV terminal stops at described serial ports and transmits and receive data;
Step 3: digital TV terminal starts digital TV terminal local adapter as claimed in claim 1, and described digital TV terminal local adapter is set up data with described external internet access device by described serial ports and is connected.
14. one kind is used Peripheral Interface as claimed in claim 1 method for communicating between external internetwork access device as claimed in claim 1 and digital TV terminal, its feature is as follows:
Step 1: use a specific escape code in communication process, the data processing length cell of the following stated is the length of escape code;
Step 2: transmit leg sends escape code, sends descriptor behind escape code;
Step 3: transmit leg sends the content-data of an element length;
Step 4: in step 3, if content-data is identical with escape code, two escape codes of transmit leg running fire are skipped the content-data of an element length then, and repeating step two then.
Step 4: the recipient receives the content-data of an element length;
Step 5: the recipient if find the data identical with escape code, then continues to read in the data of an element length after receiving data;
Step 6: in step 5, if the data of an element length that continues to read in are identical with escape code, then an escape code is put into the received content data buffering, repeating step four then;
Step 7: in step 5, if the data and the escape code of an element length that continues to read in are inequality, read in follow-up data, handle as descriptor, repeating step four then;
15. in communication means as claimed in claim 14, use specific descriptor, described descriptor comprises following these data at least:
The first, data type is represented the type of the content-data that transmits after the described descriptor, and described data type comprises picture, sound, user's operation code and control information at least.
The second, data length is represented the length of the content-data that described descriptor back will be transmitted.
CNA2007100737107A 2007-03-29 2007-03-29 Equipment and plan for digital television system two-way communication Pending CN101277421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100737107A CN101277421A (en) 2007-03-29 2007-03-29 Equipment and plan for digital television system two-way communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100737107A CN101277421A (en) 2007-03-29 2007-03-29 Equipment and plan for digital television system two-way communication

Publications (1)

Publication Number Publication Date
CN101277421A true CN101277421A (en) 2008-10-01

Family

ID=39996371

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100737107A Pending CN101277421A (en) 2007-03-29 2007-03-29 Equipment and plan for digital television system two-way communication

Country Status (1)

Country Link
CN (1) CN101277421A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802034A (en) * 2012-07-13 2012-11-28 李映红 Interactive system and method for television program
CN102802033A (en) * 2012-07-13 2012-11-28 李映红 Interactive system and method for television program
CN103024549A (en) * 2012-12-06 2013-04-03 青岛海信电器股份有限公司 Method for upgrading software of peripheral equipment of television
CN101872332B (en) * 2009-04-27 2015-06-17 康佳集团股份有限公司 Network interface and serial port communication switching device and liquid crystal television debugging system
CN105653431A (en) * 2016-02-17 2016-06-08 四川长虹电器股份有限公司 Device and method for displaying cable modem product software upgrading process
CN105938432A (en) * 2015-12-08 2016-09-14 杭州迪普科技有限公司 System updating method and apparatus
CN106951285A (en) * 2017-03-15 2017-07-14 大陆汽车电子(芜湖)有限公司 Updating device for memory
CN111182360A (en) * 2020-01-10 2020-05-19 广州市番禺有线数字电视网络有限公司 Method for realizing single-direction and two-direction automatic skip mechanism of digital television portal interface

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872332B (en) * 2009-04-27 2015-06-17 康佳集团股份有限公司 Network interface and serial port communication switching device and liquid crystal television debugging system
CN102802034A (en) * 2012-07-13 2012-11-28 李映红 Interactive system and method for television program
CN102802033A (en) * 2012-07-13 2012-11-28 李映红 Interactive system and method for television program
CN102802033B (en) * 2012-07-13 2015-05-06 李映红 Interactive system and method for television program
CN102802034B (en) * 2012-07-13 2015-05-06 李映红 Interactive system and method for television program
CN103024549A (en) * 2012-12-06 2013-04-03 青岛海信电器股份有限公司 Method for upgrading software of peripheral equipment of television
CN105938432A (en) * 2015-12-08 2016-09-14 杭州迪普科技有限公司 System updating method and apparatus
CN105653431A (en) * 2016-02-17 2016-06-08 四川长虹电器股份有限公司 Device and method for displaying cable modem product software upgrading process
CN105653431B (en) * 2016-02-17 2018-03-23 四川长虹电器股份有限公司 Show the device and method of cable modem product software Upgrade process
CN106951285A (en) * 2017-03-15 2017-07-14 大陆汽车电子(芜湖)有限公司 Updating device for memory
CN106951285B (en) * 2017-03-15 2020-12-29 大陆汽车车身电子系统(芜湖)有限公司 Updating device for memory
CN111182360A (en) * 2020-01-10 2020-05-19 广州市番禺有线数字电视网络有限公司 Method for realizing single-direction and two-direction automatic skip mechanism of digital television portal interface

Similar Documents

Publication Publication Date Title
CN101277421A (en) Equipment and plan for digital television system two-way communication
US10321501B2 (en) Control method for rapid connection and data transmission between devices
CN103414894A (en) Wireless real-time screen transfer equipment and method
CN101557318A (en) Configuration method of network terminal and network terminal
CN205680208U (en) A kind of single node bluetooth controlled in wireless self-help terminal equipment
CN103248874B (en) Job site wireless portable data acquiring and transmission system headend equipment
CN101106681A (en) Wireless video transmission device and method
CN102255947A (en) STB (Set Top Box) and man-machine interaction method for STB
CN100419808C (en) Method and system for long-distance controlling device
CN102883227B (en) Character inputting method, devices and system
US7817985B2 (en) Electronic transaction service in a mobile communication network
CN103581157A (en) Embedded device and control method for carrying out data communication based on same
CN101615085A (en) Support mouse system, the device and method of information interaction among multiple computers
CN101409811A (en) Method, system for controlling computer through television set, and television set
CN102713795B (en) Terminal, I/O expanding unit, method and system
CN101868049A (en) Communication method between host and wireless Internet access module and host communication module
CN101132568A (en) Mobile communication terminal and computer interactively integrated application system
CN118235379A (en) Data transmission method and data transmission device
CN1521647A (en) Method and device for wireless data transmission
CN204515804U (en) Can connect and be convenient to the system of data transmission between a kind of equipment fast
CN101860989B (en) Wireless internet module and communication method thereof with host, and data card
CN101350969A (en) Method for controlling double TDSCDMA user recognizing module by GSM and TDSCDMA dual mode mobile phone
CN201111122Y (en) Connection device between double data interface subscriber identification card and non-contact front-end chip
CN210867677U (en) Bidirectional communication device, transmitting device, and receiving device
CN101136077A (en) Connection circuit between double data interface subscriber identification card and non-contact front-end chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20081001