节点文献

嵌入式系统的软件研究与开发

【作者】 蒋海兵

【导师】 朱怡安;

【作者基本信息】 西北工业大学 , 计算机应用技术, 2002, 硕士

【摘要】 同步技术是嵌入式系统与传统PC应用软件实现交互以及未来移动终端共享网络资源的关键技术。本文讨论如何设计和实现一个采用驳接方式连接的掌上平台和桌面系统间的同步软件。 同步系统是掌上电脑功能外延的必备软件,旨在将用户最近所做的PIM记录或文件的更新在数据同步结束后一致的出现在两个平台上。本文提出了一个与操作系统平台无关、与具体应用程序无关、底层数据传输与设备无关的设计模型,并且基于组件化的设计思想,将同步系统划分为同步管理器和同步组件。 本文阐述了同步数据对象的定义以及对其更新的监听策略;为了向下兼容各种传输端口,改进SLIP协议,增添了数据校验;同时采用基于流水号的应答机制,保证了出错、丢失数据包的重发。依照UML动态模型中状态视图的规范描绘同步系统的状态迁移并提出了基于有限状态机的解决方案。 依照设计模型实现基于嵌入式Linux的掌上电脑和以Outlook为PIM软件的桌面系统间的同步软件。Windows端的同步组件遵循COM规范,使用自动化对象技术完成与Outlook的交互;Linux端则使用动态加载的共享组件来实现。另外对线程同步、组件注册、屏幕闪烁等实现问题提出了解决途径。

【Abstract】 Synchronization technology is widely used for the interaction between the embedded system and the traditional personal computers. And it will soon contribute to share the network resource used by mobile devices. This paper discusses how to design and implement one synchronization software among the palmtop device and the desktop platform. These two platforms link to each other directly.Synchronization system is indispensable for the plamtop device to enhance its function, which supports data synchronization between the two platforms. This paper introduces a device-independent design model having nothing to do with the platform of operating system and individual applications. On the basis of the design philosophy of the components, synchronization system can be divided into Sync Manger and Sync Components.This paper defines the Sync objects and explains how to monitor and detect their changes. As to support various kinds of transmission ports, we add data check-up to improve SLIP agreement. At the same time the request-reply mechanism based on serial number is designed to retransmit the data which has mistakes or be lost. Following the standard of status view provided by UML, we describle the status changes during the process of Sync and put forward the solution based on limited states machine.We implement Sync software among the palmtop computer based on embedded Linux and desktop system taking Outlook as PIM software according to the model of design. The Sync component of Windows end follows COM standard , and use automation technology to act on Outlook; Linux end uses dynamic sharing package to realize the components. Furthermore, such problem as thread synchronism, component registration, screen flickering, are provided suitable solutions.

【关键词】 嵌入式组件COM自动化对象UMLSLIP协议
【Key words】 EmbeddedcomponentCOMAutomationUMLSLIP
  • 【分类号】TP311.52
  • 【被引频次】2
  • 【下载频次】178
节点文献中: 

本文链接的文献网络图示:

本文的引文网络