跨平台嵌入式数字地图可视化中间件设计与应用
作者简介:刘爱龙(1973-),男,副研究员,研究方向为嵌入式地理信息系统。E-mail: Ailong_liu@163.com
收稿日期: 2014-08-23
要求修回日期: 2015-01-12
网络出版日期: 2015-06-10
基金资助
国家自然科学基金项目(41371427)
Research on Cross-Platform Middleware for Embedded Digital Map Visualization
Received date: 2014-08-23
Request revised date: 2015-01-12
Online published: 2015-06-10
Copyright
本文在分析嵌入式环境下平台差异和计算、存储与显示等资源有限对数字地图可视化限制性的基础上,基于中间件思想,提出了跨嵌入式操作系统平台的数字地图可视化中间件EMD_MW(Embedded Map Display_MiddleWare),设计了操作系统抽象层、服务框架层和功能层中间件体系结构。利用操作系统抽象层,提取与数字地图可视化相关的操作系统消息转发和图形图像绘制接口进行抽象,屏蔽了不同嵌入式操作系统之间的异构性;利用服务框架层屏蔽了数据存储差异性,扩展了基本图形绘制接口;通过功能层提供数字地图显示各类接口,并详细阐述了EMD_MW的抽象层、服务框架和功能层的设计和实现,给出了基于EMD_MW的几种工程应用。本文设计的跨平台嵌入式数字地图可视化中间件,已在多个嵌入式地理信息应用系统中得到检验,表明该中间件具有良好的跨平台特性,较好地解决了不同嵌入式平台下的数字地图显示问题。
刘爱龙 , 张东 , 陈涛 , 姚霄飞 , 许剑 . 跨平台嵌入式数字地图可视化中间件设计与应用[J]. 地球信息科学学报, 2015 , 17(6) : 675 -681 . DOI: 10.3724/SP.J.1047.2015.00675
Along with the continuous development of computer technology, internet and wireless communication technology, digital map visualization, as the core of geographic information system, has been widely used. At the same time, with the increasing number of embedded software and hardware, a variety of heterogeneous platforms bring great challenges to the development of embedded geographic information system. Therefore, it is important to study the digital map visualization method for cross-platform purpose. Firstly, after comparing the differences of middleware between the embedded system and desktop system, this paper summarizes the characteristics of the embedded middleware, and analyses the platform differences and resource restrictions for digital map visualization in the embedded environment. Based on the concept of middleware, a cross-platform middleware of digital map visualization with three layers: EMD_MW was constructed. The middleware utilizes the operating system abstraction layer to prevent the heterogeneity from different embedded operating systems, and to abstract the operating system message forwarding and the graphic interfaces associated with the digital map visualization. Meanwhile, the model utilizes the framework layer to dispel the differences among data storage services, to improve the base graphic interfaces, and to provide relevant digital map display interfaces through the function layer. Then, the abstraction layer, service framework and function layer of EMD_WM were designed and realized. Finally, several engineering applications based on EMD_MW were presented. These examples indicate that, the embedded cross-platform middleware model for digital map visualization has a good cross-platform performance, and it can effectively solve the problem of digital map display on different embedded platforms.
Fig. 1 Illustration of application based on middleware图1 中间件应用示意图 |
Fig. 2 System frame model of EMD_MW图2 EMD_MW体系结构模型 |
Fig. 3 Class diagram of abstraction layer图3 操作系统抽象层类图 |
Fig. 4 System frame of cross-platform abstraction layer图4 跨平台抽象层体系结构图 |
Fig. 5 Class diagram of GUI window elements图5 GUI窗口元素类图 |
Fig. 6 Framework of extend graphic interface图6 扩展图形接口结构 |
Fig. 7 Flowchart of file transact interface图7 文件处理接口流程 |
Fig. 8 Map visualization based on VxWorks图8 VxWorks系统下的地图可视化 |
Fig. 9 Map Visualization based on Android图9 Android系统下的地图可视化 |
Fig. 10 Map Visualization based on ReWorks图10 ReWorks系统下的地图可视化 |
Fig. 11 Map Visualization based on WinCE图11 WinCE系统下的地图可视化 |
The authors have declared that no competing interests exist.
[1] |
|
[2] |
Sun Microsystems Inc. Embedded Java application environment specification, version1.1[DB/OL]. 2001.
|
[3] |
|
[4] |
|
[5] |
|
[6] |
Dale Rogerson著,
|
[7] |
|
[8] |
|
[9] |
Haerr G. Microwindows architecture[DB/OL]. 1999.
|
[10] |
|
[11] |
|
[12] |
|
[13] |
|
[14] |
|
[15] |
|
[16] |
|
[17] |
|
[18] |
|
[19] |
|
[20] |
|
/
〈 | 〉 |