| Nowadays,the technology of TV has got into the flourishing period which TV develops rapidly from analog to digital.DTV-STB has been widely used as a digital terminal equipmend by connecting to TV.With constantly integration of digital TV and the Internet,it has been a trend to introduced Android,the most popular developing platform in the field of the Internet,into the digital TV terminal areas.Due to the particularity of TV applications,it still has amount of problems in connecting to the platform of STB and the existing Android system,while the occurance of Java middleware as the indispensable important component in the development and improvement of STB products can solve those problems to some extent.In this paper,that make it easier and faster while developing or manipulating the STB according to set up a Java middleware which can build a bridge linked the operational system and the application programs.The emphasis of this thesis is the development and implementation of Java middleware for DTV-STB based on Android.It analysised the characters of the DTV-STB middleware,discussed the current common middleware platform as well as the merit and demerit of the modern developing platform for the DTV-STB,then combined with the specific middleware developing environment.It make a describe for the software system for the DTV-STB.It determine the Java system of modular design and the software architecture.It also provide the 6 modules’ implementation process(UI control module base,database management and interation,EPG,program management and PVR).The whole design is under the supporte of the JNI agreement,and achieve via Java and C language.In order to facilitate maintenance,this topic has also established a detailed documentation.Through a series of detailed test and optimization,the design of this item finally reached the expected effect.The thesis comes from the actual demand for the DTV,and the designed of the middleware system has already been put into production in a batch.Large amount of practices has proved that,the middleware system has many features such as highly function integration,well data interactive performance,stably and reliably property,etc.The innovation for this thesis:1)It’s more effective by combining with the UI control module base which make the control module more eligible for the STB,At the same time it also improve the utilization rate of the interface part of the code;2)Adopt a series of data encapsulation class to promote the interation between modules and the database,which makes the data structure clearer,in the mean time,the data management and operation have also become more convenient;3)The port parameter passing by the JNI can exterminate the influence from the middleware to the application,and improve the system’s transportability. |