CN104093073A - Demodulation and tuning self-adaption driving method of set top box - Google Patents
Demodulation and tuning self-adaption driving method of set top box Download PDFInfo
- Publication number
- CN104093073A CN104093073A CN201410329272.6A CN201410329272A CN104093073A CN 104093073 A CN104093073 A CN 104093073A CN 201410329272 A CN201410329272 A CN 201410329272A CN 104093073 A CN104093073 A CN 104093073A
- Authority
- CN
- China
- Prior art keywords
- set top
- top box
- demodulation
- self
- adaption
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a demodulation and tuning self-adaption driving method of a set top box, and belongs to the technical field of digital television set top boxes. Various hardware platforms can be adapted by changing the data allocation of a FLASH storage self-adaption area of the set top box. The method comprises the following steps that (1) before the set top box is started and enters in a system, the self-adaption data with the LEN being 32BYTE are loaded from the FLASH self-adaption area of the set top box; (2) the values of a BYTE0, a BYTE1, a BYTE2 and a BYTE3 are taken respectively and represent demotype, tunertype, tsmode and tsedge respectively, then different demodulation drive codes are called through the demotype, and different demodulation drives are loaded through self-adaption to achieve the purpose that different demodulation and tuning drives are compatible in the same version software; (3) configuration of the tunertype, the tsmode and the tsedge is achieved in different demodulation drives; (4) after the set top box is electrified and started, other codes are normally started. According to the demodulation and tuning self-adaption driving method of the set top box, the same version software is suitable for various hardware platforms, and the universality of software application is achieved.
Description
Technical field
The invention belongs to technical field of digital television set-top, be specifically related to a kind of demodulation and tuning self-adaptation drive method of Set Top Box.
Background technology
In recent years, along with the development of Digital Television, Set Top Box is more and more universal, and a lot of hardware manufacturers relevant with Set Top Box also arise at the historic moment, such as demodulation chip business men and tuner manufacturer.They have released multiple demodulation chip and tuner successively, and this just finally makes set-top box software become increasingly complex because client and the integrated different Demodulator of market demand (demodulation), Tuner (tuning) drive to become.
Such as: the mainchip (master chip) of same Set Top Box, may integrated demodulation drive demoA, demoB as required, with tune drive tunera, tunerb, same master chip is because demodulator and tuner are different, be exactly a set of different hardware configuration, have four kinds here:
1.mainchip+demoA+tunera
2.mainchip+demoA+tunerb
3.mainchip+demoB+tunera
4.mainchip+demoB+tunerb
And same set of hardware configuration just must have a software and its correspondence, otherwise can cause Set Top Box cannot search program.Way is in the past can compile and prepare a software for different hardware, so need 4 different softwares here.And now demodulation chip is on the market innumerable with tuner kind, in real work, run into than this complexity many.Like this, hardware is slightly changed, and software just has to recompilate, so that has reduced operating efficiency, simultaneously the numerous difficulty that also increased maintenance management on certain procedures of software version.
Thereby the adaptation mechanism of realizing Demodulator (demodulation), Tuner (tuning) driving in Set Top Box seems very necessary.
Summary of the invention
The object of the invention is to solve same set-top box software has to repeat amendment and compiling problem in order to adapt to hardware, propose to realize the adaptive approach of demodulation and tune drive in Set Top Box, only needed same version software just to go for various hardware platforms.
The present invention takes following technical scheme:
The demodulation of Set Top Box and a tuning self-adaptation drive method, the BYTE data value by change Set Top Box FLASH storage adaptive region, to adapt to various hardware platforms, comprises the following steps:
1). set-top-box opening startup enters before system, first loads from the adaptive region of Set Top Box FLASH the self-adapting data that LEN is 32BYTE;
2). take out respectively the value of BYTE0, BYTE1, BYTE2, BYTE3, represent respectively demotype (demodulation type), tunertype (tuner type), tsmode (TS flows output mode), tsedge (TS flows sampling configuration), call different demodulation by demotype again and drive code, the demodulation different by adaptive allocation drive, to realize different demodulation and the tune drive of same version softwarecompatible;
3). in different demodulation drive, complete tunertype, tsmode, the configuration of tsedge;
4). when Set Top Box electrifying startup completes, more normally start other codes.
Further technical scheme: described FLASH storage adaptive region is divided into Booter, Adapt, Loader, App, Src.
The present invention compared with prior art, has following beneficial effect: the present invention need not increase any hardware cost, just can realize a software be adapted to multiple different hardware platforms by amendment self adaptation district acquiescence BYTE data value.Increase software developer's operating efficiency, can reduce and repeatedly revise the risk of makeing mistakes that compiled code brings, reduced the difficulty of software version management simultaneously.
Brief description of the drawings
Fig. 1 is program flow diagram of the present invention.
Embodiment
Below in conjunction with embodiments of the invention, the invention will be further elaborated.
Specific embodiment:,
Structure and definition in the present invention, structure as shown in table 1 and definition:
Adaptive region and data: as shown in table 2, Set Top Box FLASH memory is generally divided into booter, loader, app and src region.Booter is that set-top-box system starts a bit of application program needing.When start, first enter booter, judge whether main program, whether by bad, has upgrade requirement, thereby determine to jump to, loader enters upgrading or normal flow enters app start, then loads corresponding src resource.
The table general zoning of 2.FLASH memory
Booter | Loader | App | Src |
Can find from struct nim_config_info structure, adaptive region only need to take little space, and minimum 4BYTE is just passable, and after remaining 32-4=28 retains, expansion is used.
BYTE0: represent DEMO type
BYTE1: represent TUNER type
BYTE2: represent TS stream output mode
BYTE3: represent sampling configuration
As shown in table 3, the FLASH region increasing after adaptive region is divided as follows:
Table 3. increases the FLASH zoning after adaptive region.
Booter | Adapt | Loader | App | Src |
Adjust the parameter configuration of adaptive region, can obtain different load driver combinations:
The collection of configuration 1:DEMOB+TUNERA+ serial TS stream+trailing edge
The collection of configuration 2:DEMOD+TUNERA+ serial TS stream+trailing edge
The collection of configuration 3:DEMOD+TUNERC+ serial TS stream+trailing edge
Process description, step is as follows:
1). set-top-box opening startup enters before system, first loads from the adaptive region 0x1FFE0 of FLASH the self-adapting data that LEN is 32BYTE.
2). take out respectively the value of BYTE0-BYTE3, represent respectively demotype, tunertype, tsmode, tsedge. call different demodulation by demotype and drive code, drive to realize the multiple Demodulator & of same version softwarecompatible Tuner.
// drive by the different demodulation of adaptive allocation
3). in different demodulation drive, complete tunertype, tsmode, the configuration of tsedge.
4). when Set Top Box electrifying startup completes, more normally start other codes.
Although with reference to explanatory embodiment of the present invention, invention has been described here, above-described embodiment is only preferably execution mode of the present invention, embodiments of the present invention are not restricted to the described embodiments, should be appreciated that, those skilled in the art can design a lot of other amendment and execution modes, within these amendments and execution mode will drop on the disclosed principle scope and spirit of the application.
Claims (2)
1. the demodulation of Set Top Box and a tuning self-adaptation drive method, is characterized in that BYTE data value by change Set Top Box FLASH storage adaptive region, to adapt to various hardware platforms, comprises the following steps:
1). set-top-box opening startup enters before system, first loads from the adaptive region of Set Top Box FLASH the self-adapting data that LEN is 32BYTE;
2). take out respectively the value of BYTE0, BYTE1, BYTE2, BYTE3, represent respectively demotype, tunertype, tsmode, tsedge, call different demodulation by demotype again and drive code, the demodulation different by adaptive allocation drive, to realize different demodulation and the tune drive of same version softwarecompatible;
3). in different demodulation drive, complete tunertype, tsmode, the configuration of tsedge;
4). when Set Top Box electrifying startup completes, more normally start other codes.
2. according to the demodulation of the Set Top Box described in claim 1 and tuning self-adaptation drive method, it is characterized in that described FLASH storage adaptive region is divided into Booter, Adapt, Loader, App, Src.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410329272.6A CN104093073A (en) | 2014-07-11 | 2014-07-11 | Demodulation and tuning self-adaption driving method of set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410329272.6A CN104093073A (en) | 2014-07-11 | 2014-07-11 | Demodulation and tuning self-adaption driving method of set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104093073A true CN104093073A (en) | 2014-10-08 |
Family
ID=51640746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410329272.6A Pending CN104093073A (en) | 2014-07-11 | 2014-07-11 | Demodulation and tuning self-adaption driving method of set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104093073A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6363437B1 (en) * | 1999-01-07 | 2002-03-26 | Telefonaktiebolaget Lm Ericsson (Publ) | Plug and play I2C slave |
CN101031026A (en) * | 2006-02-28 | 2007-09-05 | 中国科学院声学研究所 | Method for loading digital TV set top box network interface module |
CN101931770A (en) * | 2010-02-26 | 2010-12-29 | 四川长虹电器股份有限公司 | 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) |
CN102883206A (en) * | 2012-09-07 | 2013-01-16 | 四川长虹电器股份有限公司 | Method for processing default parameters of digital TV set-top box |
-
2014
- 2014-07-11 CN CN201410329272.6A patent/CN104093073A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6363437B1 (en) * | 1999-01-07 | 2002-03-26 | Telefonaktiebolaget Lm Ericsson (Publ) | Plug and play I2C slave |
CN101031026A (en) * | 2006-02-28 | 2007-09-05 | 中国科学院声学研究所 | Method for loading digital TV set top box network interface module |
CN101931770A (en) * | 2010-02-26 | 2010-12-29 | 四川长虹电器股份有限公司 | 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) |
CN102883206A (en) * | 2012-09-07 | 2013-01-16 | 四川长虹电器股份有限公司 | Method for processing default parameters of digital TV set-top box |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107976986B (en) | Method for programming an electronic control module of a vehicle | |
CN102200916B (en) | Electronic equipment, configurable member and method for storing configuration information of configurable member | |
CN100570558C (en) | A kind of chip firmware updating method | |
CN101814036A (en) | RF remote upgrading method and system | |
CN103197942B (en) | A kind of generation method of patch, the method for patch installing and device | |
CN105487907A (en) | Difference package manufacturing method and device | |
CN102650947A (en) | Continuous increment over-the-air upgrade method of Android handheld equipment | |
CN102510531A (en) | Method for automatically identifying tuner and demodulator of digital television STB (Set Top Box) | |
US11169820B1 (en) | Managing an operating system to set up a computer association tool | |
CN109639489A (en) | A kind of RabbitMQ clustered deploy(ment) method, system, equipment and medium | |
CN105786542A (en) | Intelligent device and system update method of the intelligent device | |
CN103853586A (en) | Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer | |
CN104778066A (en) | Quick start method and device of embedded operation system | |
CN104156221A (en) | Chip and method and device for modifying chip configuration | |
CN103838610B (en) | A kind of method for product software automatic identification motherboard configuration information | |
CN105554577A (en) | Smart television over-the-air technology (OTA) upgrading method and device, smart television | |
CN110109671B (en) | Webpack label size and style conversion method and device | |
CN108804228A (en) | A kind of implementation method of DSP program space extensions | |
CN102129385B (en) | Management method capable of dynamically expanding management function of virtual machine | |
CN104093073A (en) | Demodulation and tuning self-adaption driving method of set top box | |
CN103713922A (en) | Method and system for dynamically replacing driver codes of modules of Android device | |
CN102932691A (en) | Method and device for upgrading wireless fidelity (Wi-Fi) software of digital television terminal | |
CN101799793B (en) | Flash memory control method and device | |
CN111580847A (en) | GPU (graphics processing Unit) drive updating method and device, computer storage medium and electronic equipment | |
CN105677416A (en) | Uboot upgrading control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141008 |
|
RJ01 | Rejection of invention patent application after publication |