首页> 中文期刊> 《电子设计工程》 >基于Linux C应用程序的文件操作优化

基于Linux C应用程序的文件操作优化

         

摘要

在基于嵌入式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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号