[go: up one dir, main page]

CN100454964C - A method for loading a network interface module of a digital TV set-top box - Google Patents

A method for loading a network interface module of a digital TV set-top box 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
unified
nim
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

本发明涉及一种数字电视机顶盒网络接口模块的加载方法,包括:定义统一的NIM芯片驱动接口、统一的NIM性质结构和统一的频点信息结构;NIM模块驱动识别和NIM模块驱动加载。本发明对于不同类型、不同型号的网络接口模块具有良好的适应性,可以支持多种网络接口模块的接入,可以通过断电拔插更换网络接口模块硬件且无需改动软件,类似于即插即用的效果。本发明使得其软硬件平台系统良好的支持了多样化的需求,节约了成本,同时也提高了稳定性。

Figure 200610008090

The invention relates to a loading method of a digital TV set-top box network interface module, comprising: defining a unified NIM chip driver interface, a unified NIM property structure and a unified frequency point information structure; NIM module driver identification and NIM module driver loading. The present invention has good adaptability to network interface modules of different types and models, can support the access of various network interface modules, and can replace the hardware of the network interface module through power-off and plugging without changing the software, similar to plug and play Use the effect. The invention enables the software and hardware platform system to well support diversified requirements, saves costs, and improves stability at the same time.

Figure 200610008090

Description

一种数字电视机顶盒网络接口模块的加载方法 A method for loading a network interface module of a digital TV set-top box

技术领域 technical field

本发明属于广播通信领域,具体地说,本发明涉及一种数字电视机顶盒网络接口模块的加载方法。The invention belongs to the field of broadcast communication, in particular, the invention relates to a loading method of a network interface module of a digital TV set-top box.

背景技术 Background technique

数字视频广播(Digital Video Broadcasting,DVB)是由欧洲电信标准委员会制定的一套可用于传输数字电视,数字音频和数据的协议。在DVB应用环境中,DVB服务提供者,通过通信网络向另一端的用户广播DVB格式的数字视频,音频,数据流。用户端通过解码装置,就是接收机顶盒(Set Top Box,STB),来接收前端的广播节目。Digital Video Broadcasting (DVB) is a set of protocols developed by the European Telecommunications Standards Committee for the transmission of digital television, digital audio and data. In the DVB application environment, the DVB service provider broadcasts digital video, audio and data streams in DVB format to users at the other end through the communication network. The client receives the front-end broadcast programs through the decoding device, which is the receiver set top box (STB).

NIM(Network Interface Module)网络接口模块是接收机顶盒和外部网络的接口。它主要有三大功能:1,实现与主芯片的通信,解释并执行主芯片的控制命令。2,实现数据链路层的功能。3,实现物理层功能,与外部网络建立通信连接。数字电视网络接口模块将接收到的信号降频到中频,并且进行信道解码和一些基本的纠错,然后转为TS码流送给终端主芯片。The NIM (Network Interface Module) network interface module is the interface between the receiver set-top box and the external network. It has three main functions: 1. Realize communication with the main chip, interpret and execute the control commands of the main chip. 2. Realize the functions of the data link layer. 3. Realize the physical layer function and establish a communication connection with the external network. The digital TV network interface module down-converts the received signal to an intermediate frequency, performs channel decoding and some basic error correction, and then converts it into a TS code stream and sends it to the main chip of the terminal.

目前DVB标准规定主要有三种不同的信号传送方式:The current DVB standard stipulates that there are mainly three different signal transmission methods:

DVB-S指Satellite方式,信号通过卫星信道传输;DVB-S refers to the Satellite mode, and the signal is transmitted through the satellite channel;

DVB-C指Cable方式,通过同轴电缆传送信号;DVB-C refers to the Cable mode, which transmits signals through coaxial cables;

DVB-T指Terrestrial方式,这表示是用地面广播的方式来传输的,通过地面无线电波来传输信号。DVB-T refers to the Terrestrial method, which means that it is transmitted by terrestrial broadcasting, and the signal is transmitted through terrestrial radio waves.

所以有三种不同类型的NIM模块,分别用来接收这三种不同的信号。另外由于生产NIM模块主芯片的厂商很多,同一种传输方式也有很多不同型号的NIM主芯片和参考模块。现有的机顶盒解决方案,只能够采用某个特定的型号的NIM主芯片,如果需要改用其他的芯片,软硬件都需要进行改动。So there are three different types of NIM modules, which are used to receive these three different signals. In addition, because there are many manufacturers producing NIM module main chips, there are many different types of NIM main chips and reference modules in the same transmission mode. Existing set-top box solutions can only use a specific type of NIM main chip. If other chips need to be used, both hardware and software need to be changed.

发明内容Contents of the invention

本发明的目的是提供一种通用型网络接口的实现方法,使同一数字电视机顶盒终端主体能够自动识别不同的NIM模块,从而自动成为相应信号的接收机。The purpose of the present invention is to provide a method for realizing a universal network interface, so that the terminal body of the same digital TV set-top box can automatically identify different NIM modules, thereby automatically becoming a receiver of corresponding signals.

为实现上述发明目的,本发明提供数字电视机顶盒网络接口模块加载方法,包括:In order to achieve the above-mentioned purpose of the invention, the present invention provides a digital TV set-top box network interface module loading method, including:

1)定义统一的网络接口模块(NIM)芯片驱动接口、统一的网络接口模块性质结构和统一的频点信息结构;1) Define a unified network interface module (NIM) chip driver interface, a unified network interface module property structure and a unified frequency point information structure;

所述定义统一的网络接口模块芯片驱动接口是把芯片驱动接口定义为对应于一系列I2C操作的一组驱动函数;The unified network interface module chip driver interface is to define the chip driver interface as a group of driver functions corresponding to a series of I2C operations;

所述定义统一的网络接口模块性质结构是把网络接口模块所有性质定义在一个网络接口模块结构体中,该结构体中包括:信号传送方式类型,I2C地址,保留标志位,以及一系列的函数指针;每个函数指针均指向一个驱动函数;The defined unified network interface module property structure is to define all properties of the network interface module in a network interface module structure, which includes: signal transmission mode type, I2C address, reserved flag bits, and a series of functions pointer; each function pointer points to a driver function;

所述定义统一的频点信息结构是将DVB-S、DVB-C、DVB-T三种不同类型的频点信息均作为一个共用体结构的成员,通过系统标识号区分;The frequency point information structure with a unified definition is to use three different types of frequency point information of DVB-S, DVB-C, and DVB-T as members of a community structure, and distinguish them by system identification numbers;

2)对网络接口模块进行驱动识别,探测不同I2C地址应答信号,得出当前网络接口模块的系统标识号;2) Carry out drive identification to the network interface module, detect different I2C address response signals, and obtain the system identification number of the current network interface module;

3)根据步骤2)中得到的系统标识号,对网络接口模块进行驱动加载,所述驱动加载过程包括:根据不同系统标识号,系统给网络接口模块结构体成员赋予不同的值并将对应于不同的I2C操作的驱动函数与一系列指针一一对应。3) According to the system identification number obtained in step 2), the network interface module is driven and loaded, and the driver loading process includes: according to different system identification numbers, the system assigns different values to the members of the network interface module structure and corresponds to The driver functions of different I2C operations correspond to a series of pointers one by one.

所述网络接口模块驱动识别是探测不同I2C地址应答信号的过程,包括如下步骤:The network interface module driver identification is a process of detecting different I2C address response signals, including the following steps:

21)发现网络接口模块:通过将列表里所有可能的I2C地址一个一个的进行通信尝试,监听回应,从而发现系统是否连接相应的网络接口模块;21) Discovering the network interface module: by trying to communicate with all possible I2C addresses in the list one by one, and monitoring the response, it is found whether the system is connected to the corresponding network interface module;

22)判断网络接口模块型号;首先,初步断定信道解调芯片的型号,发送相应命令读取信道解调芯片的id;如id正确,即可最终确认芯片型号,如果读不到相应id,即证实步骤21)有误,需返回步骤21);在判断出信道解调芯片的信号后,进一步判断调谐芯片,当取得调谐芯片id后就可以根据这两块芯片的型号以及网络接口模块和芯片型号的对应列表判断出当前网络接口模块的型号;22) Determine the model of the network interface module; first, preliminarily determine the model of the channel demodulation chip, send the corresponding command to read the id of the channel demodulation chip; if the id is correct, the chip model can be finally confirmed, if the corresponding id cannot be read, that is Confirm that step 21) is wrong, and return to step 21); after judging the signal of the channel demodulation chip, further judge the tuning chip, and after obtaining the tuning chip id, you can use the models of the two chips and the network interface module and chip The corresponding list of models determines the model of the current network interface module;

23)根据网络接口模块的型号和当时系统里面的厂商代码以及系统性能描述表,生成相应的系统标识号;得到系统标识号后即可进入步骤3)。23) Generate a corresponding system identification number according to the model of the network interface module, the manufacturer code in the system at that time, and the system performance description table; after obtaining the system identification number, you can enter step 3).

所述网络接口模块驱动加载是网络接口模块结构体赋值的过程。The loading of the network interface module driver is a process of assigning values to the structure of the network interface module.

本发明提供的数字电视机顶盒网络接口模块的加载方法,还包括统一不同网络接口模块和主板的硬件接口,该硬件接口采用34针双排针接口,该接口包含了网络接口模块供电接口、TS流接口和控制应答接口线。The loading method of the digital TV set-top box network interface module provided by the present invention also includes unifying the hardware interface of different network interface modules and the main board, the hardware interface adopts a 34-pin double-row pin interface, and the interface includes a network interface module power supply interface, a TS stream interface and control response interface lines.

本发明的优点:Advantages of the present invention:

由于本发明对于不同类型、不同型号的网络接口模块具有良好的适应性,可以支持多种网络接口模块的接入,可以通过断电拔插更换网络接口模块硬件且无需改动软件,类似于即插即用的效果。传统的数字电视接收机顶盒解决方案中,其接口实现方法一般只适用于某一特定型号的网络接口模块,对硬件依赖性较强,一旦有更换网络接口模块的需求,硬件和软件都要进行很大的改动,严重影响整个系统的稳定性,大大加长研发的周期。而本发明的数字电视机顶盒网络接口模块的加载方法,使得其软硬件平台系统良好的支持了多样化的需求,节约了成本,同时也提高了稳定性。Since the present invention has good adaptability to network interface modules of different types and models, it can support the access of various network interface modules, and the hardware of the network interface module can be replaced by plugging and unplugging without changing the software, similar to plug-and-play Ready-to-use effects. In the traditional digital TV receiver set-top box solution, the interface implementation method is generally only applicable to a specific type of network interface module, which is highly dependent on hardware. Once there is a need to replace the network interface module, hardware and software must be carried out for a long time. Major changes will seriously affect the stability of the entire system and greatly lengthen the development cycle. However, the loading method of the network interface module of the digital TV set-top box of the present invention enables the software and hardware platform system to well support diversified requirements, saves costs, and improves stability at the same time.

附图说明 Description of drawings

图1是NIM模块硬件构架和接口示意图;Figure 1 is a schematic diagram of the NIM module hardware architecture and interfaces;

图2是数字电视接收机系统软件结构图;Fig. 2 is a digital television receiver system software structure diagram;

图3是本发明中NIM模块的检测和判断流程图;Fig. 3 is the detection and judgment flowchart of NIM module among the present invention;

图4是本发明中接收终端主系统部分和网络接口模块的硬件接口示意图。Fig. 4 is a schematic diagram of the hardware interface between the main system part of the receiving terminal and the network interface module in the present invention.

具体实施方式 Detailed ways

下面结合附图及具体实施例对本发明作进一步地描述。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

本发明方案采用了在软件里面集成多个NIM驱动的方法,见图2。需要注意的是虽然这些NIM驱动程序看起来是并列存在程序里面,但是实际程序运行过程中,只有一个驱动可能被加载并执行,所以并不影响执行效率,而仅仅是多占一些存储空间。The solution of the present invention adopts the method of integrating multiple NIM drivers in the software, as shown in FIG. 2 . It should be noted that although these NIM drivers seem to exist side by side in the program, only one driver may be loaded and executed during the actual program running, so it does not affect the execution efficiency, but only occupies more storage space.

为便于驱动的加载,本发明软件部分需要定义统一的NIM芯片驱动接口、统一的NIM性质结构,统一的频点信息结构。In order to facilitate loading of the driver, the software part of the present invention needs to define a unified NIM chip driver interface, a unified NIM property structure, and a unified frequency point information structure.

一,统一的芯片驱动接口。First, a unified chip driver interface.

芯片驱动主要由网络接口芯片的生产厂家提供。芯片驱动具有多样性的特点。但是,抛开具体形式,他们在本质上有着相同的基本结构,都是通过读写相关的寄存器来控制硬件的动作。寄存器的读写往往是通过I2C总线来进行的。所以,芯片驱动本质上可以看成一系列I2C操作的组合。本实施例系统方案中,形式上统一了芯片的驱动接口成为表1中的一组函数:The chip driver is mainly provided by the manufacturer of the network interface chip. Chip drivers have the characteristics of diversity. However, regardless of the specific form, they have the same basic structure in essence, and they all control the actions of the hardware by reading and writing related registers. The reading and writing of registers is often carried out through the I2C bus. Therefore, the chip driver can essentially be regarded as a combination of a series of I2C operations. In the system solution of this embodiment, the drive interface of the chip is formally unified into a set of functions in Table 1:

表1Table 1

 Signal_connect Signal_connect   连接到相应频点上 Connect to the corresponding frequency point  Send_diseqc10 Send_diseqc10   发送diseqc1.0信号 Send diseqc1.0 signal  Send_diseqc12 Send_diseqc12   发送diseqc1.2信号 Send diseqc1.2 signal  Auto_scan Auto_scan   全频段搜索   Full Band Search  Check_lock_state Check_lock_state   检测模块锁定状态 Detect module lock status  Get_signal_strength Get_signal_strength   读取信号强度 read signal strength  Get_signal_quality Get_signal_quality   读取信号质量 read signal quality  Get_signal_freq Get_signal_freq   读取当前频点中心频率 Read the center frequency of the current frequency point  Detect Detect   确认网络接口模块内芯片型号并复位 Confirm the chip model in the network interface module and reset  Initialize Initialize   初始化信道解调芯片和调谐芯片 Initialize the channel demodulation chip and tuning chip  Monitor_callback Monitor_callback   监控回调函数 Monitoring callback function

这些函数在上电时都指向空函数,在加载的时候再一一进行注册。These functions all point to empty functions when powered on, and register one by one when loading.

二,统一的NIM性质结构。Second, the unified NIM property structure.

本实施例系统中将网络接口模块所有性质都囊括在一个结构体里面,这个结构体被命名为NIM。该结构体成员包括:信号传送方式类型,I2C地址,保留标志位,以及一系列的函数指针。每个指针指向一个驱动函数。在芯片驱动层以上程序中,调用的都是NIM这个结构体来完成操作,而看不到底层的驱动函数。这样,在程序编写的过程中的时候可以用该结构体的成员来代表相应函数,在真正执行的时候却是链接到底层不同的驱动函数来执行。In the system of this embodiment, all properties of the network interface module are included in a structure, and this structure is named NIM. The structure members include: signal transmission type, I2C address, reserved flag bits, and a series of function pointers. Each pointer points to a driver function. In the program above the chip driver layer, the NIM structure is called to complete the operation, and the underlying driver function cannot be seen. In this way, the members of the structure can be used to represent the corresponding functions during the program writing process, but they are linked to different underlying driver functions for execution during actual execution.

三,统一的频点信息结构3. Unified frequency point information structure

不同类型的NIM模块软件部分还有一个很大的不同在于频点信息结构不同,例如卫星频点的频点信息和地面广播的频点信息差别就很大。为了解决这个问题,本系统将三种不同类型的频点信息都作为一个共用体结构的成员,通过系统标识号来确认具体某个运行过程采用哪种频点信息结构。在Flash里存储的时候,采取的是顺序链表的结构。这个区域可以为不同类型的NIM所共用:在同一内存段可以存放不同类型的频点信息数据,但是,每次程序重新上电运行后,只有一种类型的信息起作用。这样,只要了解表头起始位置,不同的频点信息结构体的大小,以及需要的频点信息的相对位置号,就可以顺利地找到。There is also a big difference in the software part of different types of NIM modules in that the frequency point information structure is different. For example, the frequency point information of satellite frequency points and the frequency point information of terrestrial broadcasting are very different. In order to solve this problem, this system regards three different types of frequency point information as members of a community structure, and uses the system identification number to confirm which frequency point information structure is used in a specific operation process. When stored in Flash, the structure of sequential linked list is adopted. This area can be shared by different types of NIMs: different types of frequency point information data can be stored in the same memory segment, but only one type of information will take effect after each program is powered on and running again. In this way, as long as you know the starting position of the table header, the size of different frequency point information structures, and the relative position number of the required frequency point information, you can find it smoothly.

下面具体介绍本实施例的驱动的识别和加载过程:The following specifically introduces the identification and loading process of the driver of this embodiment:

驱动的识别:首先需要说明的是,不同厂家的不同芯片I2C地址总是不同的。本系统就依据这一特性了解产品的型号信息从而识别出不同的NIM的型号信息。网络接口模块的识别过程就是探测不同I2C地址应答信号的过程,又可以称为NIM模块的检测和判断,参考图3。有如下几个步骤:第一步,发现,这里通过将列表里所有可能的I2C地址一个一个的进行通信尝试,监听回应,从而发现系统有没有连接相应的网络接口模块。需要注意的是,网络接口模块里面往往有两块芯片,一般情况下,是根据信道解调器地址来判断的。第二步,判断芯片型号。如果通过第一步操作发现某一I2C地址有回应,就可以初步断定信道解调器的型号,这时,还需要发送相关命令读取信道解调芯片的id。读取到正确的id才能最终确认芯片型号。如果这时读不到相应id,即证实第一步有误,需返回第一步。判断出信道解调芯片的型号后,还需要进一步判断调谐芯片。当取得调谐芯片id后就可以根据这两块芯片的型号以及网络接口模块和芯片型号的对应列表判断出当前模块是那个型号的网络接口模块。第三步,根据网络接口模块的型号和当时系统里面的厂商代码以及系统性能描述表,生成相应的系统标识号。Driver identification: First of all, it needs to be explained that the I2C addresses of different chips from different manufacturers are always different. Based on this characteristic, the system understands the model information of the product so as to identify the model information of different NIMs. The identification process of the network interface module is the process of detecting the response signals of different I2C addresses, which can also be called the detection and judgment of the NIM module. Refer to Figure 3. There are several steps as follows: The first step is to find out, here, all possible I2C addresses in the list are tried to communicate one by one, and the response is monitored, so as to find out whether the system is connected to the corresponding network interface module. It should be noted that there are often two chips in the network interface module. Generally, it is judged according to the address of the channel demodulator. The second step is to determine the chip model. If a certain I2C address responds through the first step, you can preliminarily determine the model of the channel demodulator. At this time, you need to send related commands to read the id of the channel demodulator chip. Only when the correct ID is read can the chip model be finally confirmed. If the corresponding id cannot be read at this time, it is confirmed that the first step is wrong, and it is necessary to return to the first step. After determining the model of the channel demodulation chip, it is necessary to further determine the tuning chip. After obtaining the tuner chip id, it can be determined which model the current module is based on the models of the two chips and the corresponding list of network interface modules and chip models. The third step is to generate a corresponding system identification number according to the model of the network interface module, the manufacturer code in the system at that time, and the system performance description table.

得到系统标识号后就可以加载该NIM模块的驱动了。After obtaining the system identification number, the driver of the NIM module can be loaded.

驱动模块的加载:NIM模块驱动的加载的过程,就是NIM结构体赋值的过程,该过程的主要内容就是:根据不同系统标识号,系统给NIM结构体成员赋予不同的值并将不同的操作函数与这一系列指针一一对应,又可以称为函数注册。需要注意的是,系统标识号不仅仅会影响到NIM模块驱动的加载,而且会影响到菜单的加载,从而可以呈现出不同风格的菜单。Loading of the driver module: The loading process of the NIM module driver is the process of assigning the value of the NIM structure. The main content of the process is: according to different system identification numbers, the system assigns different values to the members of the NIM structure and uses different operation functions One-to-one correspondence with this series of pointers can also be called function registration. It should be noted that the system identification number will not only affect the loading of the NIM module driver, but also affect the loading of the menu, so that different styles of menus can be presented.

采用本实施例的接收终端每次上电后,都会进行NIM的识别,确认本次运行的数据结构类型并加载合适的驱动。该接收机的主体可以随时更换NIM小板,而主体部分的硬件和软件都不需要进行改动,类似即插即用的效果。但是,这些NIM小板仅限于一些事先驱动已经加入本系统软件的。如果该NIM驱动没有被编入软件,终端将不能够识别它,这种情况下,系统会给出提示,宣告本次运行失败,未能发现适合的NIM模块。Each time the receiving terminal using this embodiment is powered on, it will perform NIM identification, confirm the data structure type of this operation and load a suitable driver. The main body of the receiver can replace the NIM board at any time, and the hardware and software of the main part do not need to be changed, which is similar to the plug-and-play effect. However, these small NIM boards are limited to those whose drivers have been added to the system software in advance. If the NIM driver has not been compiled into the software, the terminal will not be able to recognize it. In this case, the system will give a prompt, declaring that the operation failed and failed to find a suitable NIM module.

本发明还包括硬件接口的实现方法。The invention also includes a method for realizing the hardware interface.

从系统硬件示意图(见图1)上可以看出,接收终端主系统部分和网络接口模块的硬件接口主要包括三个部分:From the schematic diagram of the system hardware (see Figure 1), it can be seen that the hardware interface of the main system part of the receiving terminal and the network interface module mainly includes three parts:

第一部分是供电接口,网络接口模块是高频的模拟数字混合设备,因此对供电电压的准确性和稳定性的要求比较严格。一些卫星接收和地面广播接收终端还需要通过网络接口模块向天线供电。为保证安全性和可靠性,网络接口模块的供电接口上需要有电压控制和过载保护的功能。The first part is the power supply interface. The network interface module is a high-frequency analog-digital hybrid device, so the requirements for the accuracy and stability of the power supply voltage are relatively strict. Some satellite receiving and terrestrial broadcast receiving terminals also need to supply power to the antenna through the network interface module. In order to ensure safety and reliability, the power supply interface of the network interface module needs to have voltage control and overload protection functions.

第二部分是TS流总线,射频信号恢复出的原始TS流,经由这条总线送到后端的信源解码器等设备中。这条总线,在各种网络接口模块设备上,基本都按照CATV/SMATV网络接口模块近似专业设备的DVB/MPEGII TS流接口标注(EN50083-9)设计,包括位时钟、数据、数据有效、TS流包同步等信号,可以采用并行或串行两种传输方式。The second part is the TS stream bus. The original TS stream recovered from the RF signal is sent to the back-end source decoder and other devices through this bus. This bus, on various network interface module devices, is basically designed according to the DVB/MPEGII TS stream interface label (EN50083-9) of CATV/SMATV network interface modules similar to professional equipment, including bit clock, data, data valid, TS Signals such as stream packet synchronization can be transmitted in parallel or serial.

第三部分是控制应答接口,便于主CPU监控网络接口模块的工作状态。绝大多数网络接口模块设备采用的都是IIC总线作控制应答接口。主CPU可以通过这个接口给网络接口模块发送操作指令,也可以通过这个接口获得网络接口模块的主要状态信息,如信号的锁定、失锁等等。The third part is the control response interface, which is convenient for the main CPU to monitor the working status of the network interface module. Most network interface module devices use the IIC bus as the control response interface. The main CPU can send operation instructions to the network interface module through this interface, and can also obtain the main status information of the network interface module through this interface, such as signal lock, lock loss and so on.

本实施例中,将这三类接口都统一规定在34排针接口里,这些排针接口里另外还有供特定型号的NIM芯片单独定义使用的预留接口。34排针插座的管脚定义示意图见图4。接口信号定义见表2:In this embodiment, these three types of interfaces are uniformly specified in 34 pin header interfaces, and these pin header interfaces also have reserved interfaces for individual definition and use of specific models of NIM chips. The schematic diagram of the pin definition of the 34-pin socket is shown in Figure 4. The interface signal definition is shown in Table 2:

表2Table 2

Figure C20061000809000091
Figure C20061000809000091

Figure C20061000809000101
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 A method for loading a network interface module of a digital TV set-top box Expired - Fee Related CN100454964C (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 A method for loading a network interface module of a digital TV set-top box

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) A method for loading a network interface module of a digital TV set-top box
US8452903B2 (en) Mobile computing device capabilities for accessories
CN100440924C (en) Digital cable TV receiver, diagnosis method for the same, and data structure of HDMI status report
US8799633B2 (en) MAC filtering on ethernet PHY for wake-on-LAN
US9357103B2 (en) Systems and methods for controlling media devices
TWI547157B (en) Device proxy method in command and control network
US20090327467A1 (en) Device discovery in a wireless communication system
US20140344876A1 (en) Smart touch set-top box device and smart multimedia playing system
CN102510531A (en) Method for automatically identifying tuner and demodulator of digital television STB (Set Top Box)
US20110179462A1 (en) Communication device, communication method, recording medium, and integrated circuit
US20080080490A1 (en) Interface device and topology formation method
KR101049129B1 (en) Cable broadcast receiver and its status information processing method
US20080094522A1 (en) Television receiver
US20110145866A1 (en) Method and apparatus for selecting video channel, video device and tv device
CN101510947A (en) USB bidirectional communication terminal device
US20080271108A1 (en) Satellite and cable ready TV display device
US9531986B2 (en) Bitmap device identification in a wireless communication system
CN101488905A (en) Wireless wideband network terminal and method for receiving digital signal
US20100088709A1 (en) Transmission Method and Circuit Device Capable of Automatic Transmission Interface Selection
CN102866567A (en) Intelligent NFC projector and control method thereof
CN101257584A (en) Channel Search System for Mobile Digital TV
US20090325508A1 (en) Initializing a transceiver in a wireless communication system
US20090327547A1 (en) I2c bus compatible with hdmi
CN117939222B (en) DVB frequency point locking and data processing method and system
CN101489061A (en) Digital television receiver and expanded interface system thereof with peripheral unit

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