在基于嵌入式Linux操作系统的开发平台上,微型数据库广泛的使用一般是以数据文件做为内模式实现。在多进程应用中,应用进程和通讯进程之间使用消息方式通讯。监控通讯进程的实时性要求比较高,应用进程的文件操作的时间过长,导致监控通讯进程无法及时响应。按照数据库设计原则,添加索引信息后结构操作变得复杂,解决了一些问题又添加了很多操作。最后在模块化、结构化设计的背景下,改进了文件存储结构后,在操作简单的前提下实时响应也得到了保证。%The application based on Embedded Linux Operating System,which has mini-database.It defines data file for implementing internal schema.There is two process of application and communication.Two processes exchange information by the messages.The time of file operation transaction is so long that make the communication process responde slowly.From normal operating,We add a index file and several functions.It make the structure of application too comple structure for emdedded devices.At last add a communication file and synchronize the trade operationg.It meets the requirement of application and the struct is very simple.
展开▼