| DTV (digital TV) is in a period of rapid development in the world. There areabout 4 billion of analog TV sets in China, therefore it is a good choice to useexisting analog TV sets equipped with STB (Set Top Box) during the transition.One of characteristics of DTV is EPG (Electronic Program Guide), whichprovides easily and friendly user interface and fast browsing program function. Withthe development of DTV, new services and functions might be added, and it isnecessary to upgrade the corresponding software frequently, while there are manyproblems in existing upgrade solutions. This thesis involves two parts design andimplementation of EPG software on STB; study of a general criterion for softwareupgrade.Transplantable EPG software based on DVB-SI is designed and developed.Firstly DVB (digital video broadcasting) system and DVB-PSI/SI are introduced.Secondly, EPG software is designed based on modular ideology. It involves datasearching module, processing of application module and OSD (On Screen Display)module. According to specified application, TColorModel is utilized to design adevice independent OSD module, and rectangle and region algorithm combined withimage representation is utilized to avoid flicker of displaying pages, further more,stack allocator is chosen to improve the efficiency of memory allocation. Finally,EPG software is implemented on STi5518 silicon platform by the above design.Common-Loader, A general solution of software upgrade, is proposed in thisthesis. It is applicable to software upgrade of various hardware platforms and STB.Firstly Common-Loader is introduced. The corresponding upgrade software involvesthree parts: download header, download partition header and payload data. Secondlytwo transporting modes, by serial port of computer and by transport stream on air,are specified by Common-loader. Finally, encapsulations of updating data aredefined for different transmission modes. |