基于嵌入式面向对象数据库的信息家电研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算机技术、网络通信技术及家电产业的飞速发展,信息技术正逐步向传统的家用电子产业渗透,一种新型产业——信息家电产业正在迅速崛起。嵌入式技术的蓬勃兴起和广泛应用为信息家电的发展指明了技术发展趋势,尤其是与Internet的结合,其作为信息和资源结点的功能越来越明显。与此同时,信息家电平台对嵌入式系统的数据处理能力也提出了更高的要求。
     本文在分析嵌入式系统中数据库要求的基础上,结合信息家电的面向对象性,提出了嵌入式面向对象数据库的概念,并选择高性能、小巧灵活的开源嵌入式面向对象数据库db4o作为信息家电的数据库系统。设计了基于XML的信息家电接口语言描述规范,实现了IAIDL与db4o的交互,在此基础上对信息家电内部结构的几个主要模块进行研究,提出了基于XML的信息家电平台构建的解决方案,移植Java虚拟机(JVM),实现了信息家电远程控制界面的模拟。
     首先,概述了面向对象数据库的兴起,详细介绍了db4o的结构特点、基本数据操作和索引重构机制,充分展现其优势,表明db4o最适合嵌入应用到信息家电平台;
     其次,根据信息家电接口定义语言的特点和功能,结合XML的优点,设计了一套基于XML的信息家电服务描述规范,构建了XML与Java对象序列化的转换器和转换器工厂,然后编码实现了XML和db4o文档的交互,即IAIDL如何存入db4o和从db4o中导出;
     最后,从信息家电工作流程出发,对信息家电内部结构进行了研究,提出信息家电B/S模式结构,设计了基于XML的信息家电平台构建的解决方案,选用嵌入式微处理器S3C2410作为硬件核心,移植Java虚拟机,用软件编程的方法实现了用户、嵌入式Web服务器、网关应用程序以及信息家电之间的动态交互。
With the development of computer technology, network technology and electrical household appliance industry, the information technology has been gradually infiltrated into the traditional consumer electronics industry, and a new industry called Information Appliance is rapidly growing up. The emergence and widespread application of embedded technology has provided great technology for the development of Information Appliance, whose information and resource node function is obviously when it is combined with internet. In the meanwhile, the Information Appliance platform also put forward higher requirement to the data process capability of embedded system.
     Based on the analysis of database requirement of embedded system and the consideration of the object-oriented nature of Information Appliance, a concept called embedded object-oriented database is proposed in this paper, and an effective, flexible open source object-oriented database(db4o) is selected for the Information Appliance. Besides, an XML based specification for the Information Appliance interface is designed, and the interaction between IAIDL and db4o is implemented. Based on above specification and implementation, several main modules of the internal architecture of Information Appliance are researched, a solution to build XML-based platform for Information Appliance is proposed, and then transplant JVM, simulate for the Information Appliance.
     Firstly, an overview of the emergence of object-oriented database is provided. The structural features, basic data manipulation and the index and remodeling of db4o is described in detail, from which its advantages are fully demonstrated, and indicates that db4o is the best choice for the Information Appliance;
     Secondly, according to the features and functionalities of interface definition language of Information Appliance, and considering the advantages of XML, a set of XML-based service description specification is defined for the Information Appliance, and the Object Serialization converter and converter factory are build for the transform between XML and Java object. At last, codes aiming at the interaction of XML and db4o document are implemented;
     Finally, based on research of the work flow and internal architecture of Information Appliance, a solution to build XML-based platform for information appliance is designed, that make use of B/S architecture, adopt embedded microprocessor S3C2410 as the core hardware, transplant Java Virtual Machine, and achieve the dynamic interaction among user, embedded Web server, gateway applications and Information Appliance by soft programming.
引文
[1]王磊,邵时.信息家电网络技术[J].单片机与嵌入式应用,2002.5.
    [2]Product Development with an Information Appliance framework:Strategy for Success[J]. WindRiver White Paper,2000.
    [3]罗蕾.嵌入式实时操作系统及应用开发[M].北京:北京航空航天大学出版社,2005.3.
    [4]谭浩强.面向对象的C++程序设计[M].北京:电子工业出版社,2003:1-2.
    [5]张楚才.信息家电安全的研究[D].长沙:湖南师范大学,2007:22-25.
    [6]李昭原.数据库技术新发展[M].北京:清华大学出版社,1977.
    [7]db4o Tutorial [EB/OL]. http://www.db4o.com/about/production information/resources/db4o-6.3-tutorial-java.pdf,2006:252-287.
    [8]李铮.面向对象数据库的研究与发展[J].计算机与现代化,2000(4):40-44.
    [9]Michael A Olson.Selecting and implementing an embedded database system[J]. Computer,2000,33(9).
    [10]db4o[EB/OL].http://www.db4o.com/,2006.
    [11]王意洁.面向对象的数据库技术[M].北京:电子工业出版社,2005.
    [12]Rosen Jiang,开源面向对象数据库db4o之旅[EB/OL]. http://www.db4o.com/about/production information/resources/ db4o-6.3-tutorial-java.pdf,2006:252-287.
    [13]Rcik Grehan.Embedding the db4o Object-Oriented Database[J]. Linux Journal archive Volume 2006,Issue 142,2006:5-6.
    [14]Jim Paterson,Stefan Edlich,Henrik Horning, and Reidar Horning. The Definitive Guide to db4o[M].Apress,2006:134-158.
    [15]db4o[EB/OL].http://developer.db4o.com,2006.
    [16]Ted Neward,面向Java开发人员的db4o指南[EB/OL],2007.6.
    [17]黄慧华.基于信息家电设备定义语言的远程监控系统的设计与实现[D].中国优秀博硕士学位论文全文数据库.湖南师范大学,2005.
    [18]Object Management Group,Inc.OMG IDL Syntax and Semantics[EB/OL].http://www.omg.org/docs/formal/02-06-39.pdf.
    [19]黄一飞.基于XML描述的信息家电内部结构的研究和实现[D].中国优秀博硕士学位论文全文数据库.湖南师范大学,2009.
    [20]唐赞玉.基于XML描述的信息家电远程监控系统的研究和设计[D].中国优秀博硕士学位论文全文数据库.湖南师范大学,2008.
    [21]吴洁.XML应用教程[M].北京:清华大学出版社,2005.12-14.
    [22]XStream[EB/OL].http://xstream.codehaus.org/index.html.
    [23]汪仲阳.基于XML远程教育资源描述与管理系统的研究与实现[D].中国优秀博硕士学位论文全文数据库.东南大学硕士论文,2005.
    [24]何样,吴庆宪.基于C/S与B/S模式的远程控制系统[J].电光与控制,2005,12(5):105-107.
    [25]Boa Webserver documentation[EB/OL] http://www.boa.org/ documentation/.
    [26]Engineering Web Technologies for Embedded Applications[EB/OL]. http://www.computer.org/internet/.
    [27]The Common Gateway Interface Documentation[EB/OL]. http://hoohoo.ncsa.uiuc.edu/cgi.
    [28]王淑娟.基于WEB的远程监控[D].武汉:武汉理工大学,2004.5.
    [29]刘敏英.基于Web的远程监控系统的设计与实现[D].中国优秀博硕士学位论文全文数据库.大连海事大学,2008.6.
    [30]寇向晖.基于嵌入式的远程监控系统的设计[D].四川:西南石油大学计算机应用,2006.4.
    [31]李新峰,何广生,赵秀文.基于ARM9的嵌入式Linux开发技术[M].北京:电子工业出版社,2008:27-28.
    [32]田泽.嵌入式系统开发与应用[M].北京:北京航空航天大学出版社,2005.
    [33]刘峥嵘,张智超,许振山.嵌入式Linux应用开发详解[M].北京:机械工业出版社,2004.
    [34]探矽工作室.深入嵌入式Java虚拟机[M].中国铁道出版社2003.5.
    [35]严东华,张凯.虚拟机及其移植[J].北京理工大学学报,2002.2.
    [36]金新宝,熊光泽.嵌入式Java虚拟机KVM在CTROSⅡ上的移植实现[C].2004年全国第五届嵌入式系统学术交流会论文集,2004.9:164-167.
    [37]陈健明.嵌入式环境下JVM的研究与实现[D].中国优秀博硕士学位论文全文数据库.华中师范大学,2005.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700