CN100454964C - Method for loading digital TV set top box network interface module - Google Patents

Method for loading digital TV set top box network interface module Download PDF

Info

Publication number
CN100454964C
CN100454964C CNB2006100080904A CN200610008090A CN100454964C CN 100454964 C CN100454964 C CN 100454964C CN B2006100080904 A CNB2006100080904 A CN B2006100080904A CN 200610008090 A CN200610008090 A CN 200610008090A CN 100454964 C CN100454964 C CN 100454964C
Authority
CN
China
Prior art keywords
network interface
interface module
chip
model
unified
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.)
Expired - Fee Related
Application number
CNB2006100080904A
Other languages
Chinese (zh)
Other versions
CN101031026A (en
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.)
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CNB2006100080904A priority Critical patent/CN100454964C/en
Publication of CN101031026A publication Critical patent/CN101031026A/en
Application granted granted Critical
Publication of CN100454964C publication Critical patent/CN100454964C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The method comprises: unifying the driving interface of NIM chip, the NIM structure and the frequency-point information structure; identifying the NIM module driver, and load NIM module driver. The invention can be compatible with different type and different model network interface module, and can change the network interface by using plug-in and plug-out after power-off.

Description

A kind of loading method of digital TV set top box network interface module
Technical field
The invention belongs to the broadcast communication field, specifically, the present invention relates to a kind of loading method of digital TV set top box network interface module.
Background technology
(Digital Video Broadcasting is to can be used for transmitting digital TV, the agreement of digital audio and data by the cover that the European Telecommunication Standard committee formulates DVB) to digital video broadcasting.In the DVB applied environment, the DVB ISP is by the digital video of communication network to the users broadcasting DVB of other end form, audio frequency, data flow.User side is exactly that (Set Top Box STB), comes the broadcast program of receiving front-end to receiving set up box by decoding device.
NIM (Network Interface Module) Network Interface Module is the interface of receiving set up box and external network.It mainly contains three big functions: 1, and realization is communicated by letter with master chip, explains and carry out the control command of master chip.2, the function of realization data link layer.3, realize physical layer function, establish a communications link with external network.The digital TV network interface module arrives intermediate frequency with the signal down that receives, and carries out channel-decoding and some basic error correction, transfers the TS code stream then to and gives the terminal master chip.
DVB standard code at present mainly contains three kinds of different signal load modes:
DVB-S refers to the Satellite mode, and signal is Channel Transmission via satellite;
DVB-C refers to the Cable mode, transmits signal by coaxial cable;
DVB-T refers to the Terrestrial mode, and this expression is to transmit with the mode of terrestrial broadcasting, comes transmission signals by the terrestrial wireless electric wave.
So three kinds of dissimilar NIM modules are arranged, are used for receiving this three kinds of different signals respectively.Because the manufacturer of production NIM module master chip is a lot, the NIM master chip and the referrer module of a lot of different models arranged also with a kind of transmission means in addition.Existing set-top box solution is merely able to adopt the NIM master chip of certain specific model, uses other chip if desired instead, and software and hardware all needs to change.
Summary of the invention
The implementation method that the purpose of this invention is to provide a kind of universal network interface makes same digital TV set-top box terminal body can discern different NIM modules automatically, thereby becomes the receiver of corresponding signal automatically.
For achieving the above object, the invention provides the digital TV set top box network interface module loading method, comprising:
1) unified Network Interface Module (NIM) the chip drives interface of definition, unified Network Interface Module property and structure and unified frequency point information structure;
The unified Network Interface Module chip drives interface of described definition is that the chip drives interface definition is one group of driving function corresponding to a series of I2C operations;
The unified Network Interface Module property and structure of described definition be all property definitions of Network Interface Module in a Network Interface Module structure, comprise in this structure: signal load mode type, the I2C address, reservation flag position, and a series of function pointer; Each function pointer all points to a driving function;
The unified frequency point information structure of described definition be with DVB-S, DVB-C, three kinds of dissimilar frequency point information of DVB-T all as the member of a sharing body structure, number distinguish by system banner;
2) Network Interface Module is driven identification, survey different I 2C address answer signal, draw the system banner number of current network interface module;
3) according to step 2) in the system banner that obtains number, Network Interface Module is driven loading, described driving loading procedure comprises: according to the different system identification number, system gives different values for Network Interface Module structure member also will be corresponding one by one with a series of pointers corresponding to the driving function of different I2C operations.
It is the process of surveying different I 2C address answer signal that described Network Interface Module drives identification, comprises the steps:
21) find Network Interface Module: by all possible I2C address in will tabulate one by one communicate trial, monitor response, thereby whether the discovery system connects corresponding Network Interface Module;
22) judge the Network Interface Module model; At first, tentatively conclude the model of channel demodulation chip, send the id that the corresponding command reads the channel demodulation chip; Correct as id, can finally confirm the chip model, if read less than corresponding id, promptly confirmation step 21) wrong, need return step 21); Behind the signal of judging the channel demodulation chip, further judge tuning chip, after obtaining tuning chip id, just can judge the model of current network interface module according to the corresponding lists of the model of this two chip block and Network Interface Module and chip model;
23), generate corresponding system banner number according to the model of Network Interface Module and the vendor code and the system profile table of system the inside at that time; Obtain to enter step 3) behind the system banner number.
Described Network Interface Module drives and loads is the process of Network Interface Module structure assignment.
The loading method of digital TV set top box network interface module provided by the invention, the hardware interface that also comprises unified heterogeneous networks interface module and mainboard, this hardware interface adopts the double needle interface of 34 pins, and this interface has comprised Network Interface Module power supply interface, TS stream interface and control and replied interface line.
Advantage of the present invention:
Because the present invention has good adaptability for Network Interface Module dissimilar, different model, can support the access of multiple network interface module, can change Network Interface Module hardware and need not to change software by the outage plug, be similar to the effect of plug and play.In traditional digital television receiving set up box solution, its interface implementation method generally only is applicable to the Network Interface Module of a certain specific model, stronger to hardware-dependence, in case the demand of changing Network Interface Module is arranged, hardware and software all will carry out very big change, have a strong impact on the stability of whole system, greatly the cycle of lengthening research and development.And the loading method of digital TV set top box network interface module of the present invention, the diversified demand that made support that its hardware and software platform system is good has been saved cost, has also improved stability simultaneously.
Description of drawings
Fig. 1 is NIM module hardware framework and interface schematic diagram;
Fig. 2 is digital television receiver system software structure figure;
Fig. 3 is the detection and the decision flow chart of NIM module among the present invention;
Fig. 4 is the hardware interface schematic diagram of receiving terminal main system part and Network Interface Module among the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments the present invention is done to describe further.
The present invention program has adopted in the integrated a plurality of NIM method of driving in software the inside, sees Fig. 2.Though it should be noted that these NIM drivers look like exists program the inside side by side, in the practical programs running, has only a driving to be loaded and to carry out, thus execution efficient do not influenced, and only be to account for some memory spaces more.
For ease of the loading that drives, software section of the present invention need define unified NIM chip drives interface, unified NIM property and structure, unified frequency point information structure.
One, unified chip drives interface.
Chip drives is mainly provided by the manufacturer of network interface chip.Chip drives has multifarious characteristics.But, casting aside concrete form, they have identical basic structure in itself, all are by reading and writing the action that relevant register comes control hardware.The read-write of register is undertaken by the I2C bus often.So chip drives can be regarded the combination of a series of I2C operations in essence as.In the present embodiment system schema, the driving interface of in form having unified chip becomes one group of function in the table 1:
Table 1
?Signal_connect Be connected on the corresponding frequency
?Send_diseqc10 Send the diseqc1.0 signal
?Send_diseqc12 Send the diseqc1.2 signal
?Auto_scan The full frequency band search
?Check_lock_state The detection module lock-out state
?Get_signal_strength Read signal strength signal intensity
?Get_signal_quality Read signal quality
?Get_signal_freq Read current frequency centre frequency
?Detect The interior chip model of affirmation Network Interface Module also resets
?Initialize Initial Channel Assignment demodulation chip and tuning chip
?Monitor_callback The monitoring call back function
These functions all point to do-nothing function when powering on, register one by one when loading again.
Two, unified NIM property and structure.
In the present embodiment system all character of Network Interface Module are all included a structure the inside, this structure is named as NIM.This structure member comprises: signal load mode type, I2C address, reservation flag position, and a series of function pointer.Driving function of each pointed.In the above program of chip drives layer, what call all is that this structure of NIM comes complete operation, and can't see the driving function of bottom.Like this, can represent respective function with the member of this structure in the process of programming, but be to be linked to the different driving function of bottom to carry out in real the execution.
Three, unified frequency point information structure
Dissimilar NIM module softwares partly also has a very big difference to be frequency point information structure difference, and for example the frequency point information difference of the frequency point information of satellite frequency and terrestrial broadcasting is just very big.In order to address this problem, native system all as the member of a sharing body structure, number confirms concrete certain running adopt which kind of frequency point information structure by system banner with three kinds of dissimilar frequency point information.When storing in Flash, what take is the structure of order chained list.This zone can be shared by dissimilar NIM: can deposit dissimilar frequency point information data at same application heap, still, after each program re-powers operation, have only one type information to work.Like this, as long as understand the gauge outfit original position, the size of different frequency point information structures, and the relative position of the frequency point information that needs number just can successfully find.
Following mask body is introduced the identification and the loading procedure of the driving of present embodiment:
The identification that drives: need to prove that at first the different chip I 2C address of different manufacturers is always different.Thereby native system just identifies the type information of different NIM according to the type information of this characteristic understanding product.The identifying of Network Interface Module is exactly to survey the process of different I 2C address answer signal, can be called the detection and the judgement of NIM module again, with reference to figure 3.Following several steps is arranged: the first step, find, here by all possible I2C address in will tabulate one by one communicate trial, monitor response, thereby whether the discovery system connects corresponding Network Interface Module.It should be noted that often there are two chip blocks the Network Interface Module the inside, generally speaking, judges according to the channel demodulator address.In second step, judge the chip model.If find that by first step operation there is response a certain I2C address, just can tentatively conclude the model of channel demodulator, at this moment, also need to send the id that related command reads the channel demodulation chip.Read correct id and could finally confirm the chip model.If at this moment read less than corresponding id, confirm that promptly the first step is wrong, need return the first step.After judging the model of channel demodulation chip, also need further to judge tuning chip.Just can judge when front module according to the corresponding lists of the model of this two chip block and Network Interface Module and chip model after obtaining tuning chip id is the Network Interface Module of that model.In the 3rd step,, generate corresponding system banner number according to the model of Network Interface Module and vendor code and the system profile table inside the system at that time.
Obtain just can having loaded the driving of this NIM module behind the system banner number.
The loading of driver module: the process of the loading of NIM module drive, it is exactly the process of NIM structure assignment, the main contents of this process are exactly: according to the different system identification number, system gives different value and a series of pointers of different handling functions and this are corresponding one by one for NIM structure member, can be called the function registration again.It should be noted that system banner number not only can have influence on the loading of NIM module drive, and can have influence on the loading of menu, thereby can present the menu of different-style.
After the receiving terminal of employing present embodiment powers on, all can carry out the identification of NIM at every turn, confirm the type of data structure of this operation and load suitable driving.The main body of this receiver can be changed the NIM platelet at any time, and the hardware and software of main part does not need to change, the effect of similar plug and play.But these NIM platelets only limit to something and earlier drive and to have added native system software.If this NIM drives and is not incorporated into software, terminal can not be discerned it, and in this case, system can provide prompting, declare this operation failure, fail to find the NIM module that is fit to.
The present invention also comprises the implementation method of hardware interface.
As can be seen, the hardware interface of receiving terminal main system part and Network Interface Module mainly comprises three parts on the system hardware schematic diagram (see figure 1):
First is a power supply interface, and Network Interface Module is the analog digital mixing apparatus of high frequency, therefore to the accuracy of supply power voltage and stable relatively strictness of requirement.Some satellites receive and the terrestrial broadcasting receiving terminal also needs to power to antenna by Network Interface Module.For guaranteeing fail safe and reliability, need the function of voltage control and overload protection on the power supply interface of Network Interface Module.
Second portion is a TS stream bus, and the original TS stream that radiofrequency signal recovers is delivered to via this bus in the equipment such as source decoder of rear end.This bus, on diverse network interface module equipment, substantially all the DVB/MPEGII TS stream interface mark (EN50083-9) according to the approximate professional equipment of CATV/SMATV Network Interface Module designs, comprise bit clock, data, data effectively, signal such as TS stream bag is synchronous, can adopt parallel or two kinds of transmission meanss of serial.
Third part is that interface is replied in control, is convenient to the operating state of host CPU monitor network interface module.What most Network Interface Module equipment adopted all is that interface is replied in the control of iic bus do.Host CPU can be given Network Interface Module transmit operation instruction by this interface, also can obtain the main state information of Network Interface Module by this interface, as the locking of signal, losing lock or the like.
In the present embodiment, this three class interface is all unified to be defined in 34 row's needle interfaces, also have the spare interface that defines use for the NIM chip of specific model separately in addition in these row's needle interfaces.The pin definitions schematic diagram of 34 row's needle sockets is seen Fig. 4.The interface signal definition sees Table 2:
Table 2
Figure C20061000809000091
Figure C20061000809000101

Claims (3)

1, a kind of digital TV set top box network interface module loading method is characterized in that, comprising:
1) the unified Network Interface Module chip drives interface of definition, unified Network Interface Module property and structure and unified frequency point information structure;
The unified Network Interface Module chip drives interface of described definition is that the chip drives interface definition is one group of driving function corresponding to a series of I2C operations;
The unified Network Interface Module property and structure of described definition be all property definitions of Network Interface Module in a Network Interface Module structure, comprise in this structure: signal load mode type, the I2C address, reservation flag position, and a series of function pointer; Each function pointer all points to a driving function;
The unified frequency point information structure of described definition be with DVB-S, DVB-C, three kinds of dissimilar frequency point information of DVB-T all as the member of a sharing body structure, number distinguish by system banner;
2) Network Interface Module is driven identification, survey different I 2C address answer signal, draw the system banner number of current network interface module;
3) according to step 2) in the system banner that obtains number, Network Interface Module is driven loading, described driving loading procedure comprises: according to the different system identification number, system gives different values for Network Interface Module structure member also will be corresponding one by one with a series of pointers corresponding to the driving function of different I2C operations.
2, by the described digital TV set top box network interface module loading method of claim 1, it is characterized in that described step 2) comprise the steps:
21) find Network Interface Module: by all possible I2C address in will tabulate one by one communicate trial, monitor response, thereby whether the discovery system connects corresponding Network Interface Module;
22) judge the Network Interface Module model; At first, tentatively conclude the model of channel demodulation chip, send the id that the corresponding command reads the channel demodulation chip; Correct as id, can finally confirm the chip model, if read less than corresponding id, promptly confirmation step 21) wrong, need return step 21); Behind the signal of judging the channel demodulation chip, further judge tuning chip, after obtaining tuning chip id, just can judge the model of current network interface module according to the corresponding lists of the model of this two chip block and Network Interface Module and chip model;
23), generate corresponding system banner number according to the model of Network Interface Module and the vendor code and the system profile table of system the inside at that time; Obtain to enter step 3) behind the system banner number.
3, press the loading method of the described digital TV set top box network interface module of claim 1, it is characterized in that, the hardware interface that also comprises unified Network Interface Module and mainboard, this hardware interface adopts the double needle interface of 34 pins, and this interface has comprised Network Interface Module power supply interface, TS stream interface and control and replied interface line.
CNB2006100080904A 2006-02-28 2006-02-28 Method for loading digital TV set top box network interface module Expired - Fee Related CN100454964C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100080904A CN100454964C (en) 2006-02-28 2006-02-28 Method for loading digital TV set top box network interface module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100080904A CN100454964C (en) 2006-02-28 2006-02-28 Method for loading digital TV set top box network interface module

Publications (2)

Publication Number Publication Date
CN101031026A CN101031026A (en) 2007-09-05
CN100454964C true CN100454964C (en) 2009-01-21

Family

ID=38716074

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100080904A Expired - Fee Related CN100454964C (en) 2006-02-28 2006-02-28 Method for loading digital TV set top box network interface module

Country Status (1)

Country Link
CN (1) CN100454964C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931770B (en) * 2010-02-26 2012-03-14 四川长虹电器股份有限公司 Method for realizing compatibility between software and multiple tuners
CN102510531A (en) * 2011-10-20 2012-06-20 山东泰信电子有限公司 Method for automatically identifying tuner and demodulator of digital television STB (Set Top Box)
CN102625170B (en) * 2012-03-13 2015-08-19 深圳市九洲电器有限公司 A kind of can the Set Top Box of plug and play tuning demodulator and method
CN103618948A (en) * 2013-12-10 2014-03-05 珠海迈科电子科技有限公司 Method and system for automatically identifying HDMI (High Definition Multimedia Interface) chip of set top box
CN104093073A (en) * 2014-07-11 2014-10-08 四川金网通电子科技有限公司 Demodulation and tuning self-adaption driving method of set top box
CN105979374A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Data processing method and device
CN110297793B (en) * 2018-03-22 2021-07-23 杭州海康威视数字技术股份有限公司 Chip identification method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998043433A1 (en) * 1997-03-21 1998-10-01 Canal+ Societe Anonyme Data processing system
CN1427361A (en) * 2001-12-17 2003-07-02 北京中视联联合软件有限公司 Method of driving bottom equipment based on customer/service apparatus structure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998043433A1 (en) * 1997-03-21 1998-10-01 Canal+ Societe Anonyme Data processing system
CN1427361A (en) * 2001-12-17 2003-07-02 北京中视联联合软件有限公司 Method of driving bottom equipment based on customer/service apparatus structure

Also Published As

Publication number Publication date
CN101031026A (en) 2007-09-05

Similar Documents

Publication Publication Date Title
CN100454964C (en) Method for loading digital TV set top box network interface module
CN101140752B (en) Signal receiving apparatus, display apparatus and control method thereof
US7817586B2 (en) High-speed digital interface transceiver and method of supplying bi-directional communication process on high-speed digital interface device
CN100463512C (en) Digital cable TV receiver, diagnostic method for the digital cable tv receiver, and data structure of dvi status report
US20080309584A1 (en) Video extender devices capable of providing edid of a display to a computer
CN107241562B (en) Ultra-high definition liquid crystal television circuit system and interface
US20060026481A1 (en) System and method for testing electronic device performance
CN103293466A (en) Method and system for testing communication module on embedded printed circuit board assembly (PCBA)
CN101068146B (en) Connecting apparatus, electronic apparatus and control method thereof
CN201063723Y (en) Central box for connecting signal source and play equipment
US20110145866A1 (en) Method and apparatus for selecting video channel, video device and tv device
CN100539652C (en) High definition and single-definition digital television decoder
CN215341062U (en) Expansion device for cooperating with computing equipment and computing system
CN213783468U (en) LED television mainboard and LED display device
CN202918440U (en) Modular set-top box with UTI interface
CN103227958A (en) Display apparatus, upgrade apparatus, display system including the same and control method thereof
KR100806393B1 (en) Bluetooth System
CN101489061A (en) Digital television receiver and expanded interface system thereof with peripheral unit
CN1759598A (en) Intelligent network interface module
CN201323629Y (en) Digital TV receiver
CN201557169U (en) Set top box, video-voice play device, and video-voice play system
CN201430577Y (en) Tuner connection device
CN210639613U (en) USB-HID data analysis converter
CN100396036C (en) Virtual remote controller arrangement in wireless zone network by universal PnP technology
CN201114428Y (en) A TV mainboard and TV

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090121

Termination date: 20120228