摘要
针对嵌入式系统数据库初始化过程复杂而影响整体系统进程的问题,将Nucleus数据库系统的索引表占用地址空间缩减,同时交换块不占地址空间,将其临时存放在数据库索引表的末尾节点,同时记录区占用剩余地址空间,重点处理索引表中的数据库记录ID,对其进行编码,使得可以区分数据库类型以及记录的类别且与文件系统以及注册表无关。系统测试结果表明该方法提高了数据库的存取速度且便于移植。
In order to solve the problem that the initialization process of embedded system database is complex and then affects the whole system process,this paper reduces the address space occupied by the index table in the nucleus database system,at the same time,the exchange block does not occupy the address space,temporarily stores it at the end node of the database index table,at the same time,the record area occupies the remaining address space,and focuses on dealing with the database record ID in the index table,which makes it possible to distinguish between database types and record types and is independent of file system and registry.The test results show that this method improves the access speed of database and is easy to be transplanted.
作者
李鼎
张秀芳
刘洲洲
LI Ding;ZHANG Xiufang;LIU Zhouzhou(Human Resources Office, Xi’an Aeronautical University, Xi’an 710077;School of Telecommunications, Xi'an University of Engineering, Xi'an 710000;School of Computer Science, Northwestern Polytechnical University, Xi’an 710072)
出处
《微型电脑应用》
2020年第3期28-30,共3页
Microcomputer Applications
基金
陕西省自然科学基础研究计划(2017JM6096)