[1]张秀芳,刘洲洲.基于开放系统的测试软件架构设计研究[J].计算机技术与发展,2020,30(07):87-90.[doi:10. 3969 / j. issn. 1673-629X. 2020. 07. 019]
 ZHANG Xiu-fang,LIU Zhou-zhou.Design of Test Software Architecture Based on Open System[J].,2020,30(07):87-90.[doi:10. 3969 / j. issn. 1673-629X. 2020. 07. 019]
点击复制

基于开放系统的测试软件架构设计研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
30
期数:
2020年07期
页码:
87-90
栏目:
安全与防范
出版日期:
2020-07-10

文章信息/Info

Title:
Design of Test Software Architecture Based on Open System
文章编号:
1673-629X(2020)07-0087-04
作者:
张秀芳12 刘洲洲3
1. 西安欧亚学院,陕西 西安 710065; 2. 西安工程大学 电信学院,陕西 西安 710048; 3. 西北工业大学 计算机学院,陕西 西安 710072
Author(s):
ZHANG Xiu-fang12 LIU Zhou-zhou3
1. Xi’an Eurasia University,Xi’an 710065,China; 2. School of Telecommunications,Xi’an University of Engineering,Xi’an 710048,China; 3. School of Computer Science,Northwestern Polytechnical University,Xi’an 710072,China
关键词:
开放系统Nucleus数据库测试软件架构
Keywords:
open systemNucleusdatabasetesting softwarearchitecture
分类号:
TP311. 5
DOI:
10. 3969 / j. issn. 1673-629X. 2020. 07. 019
摘要:
针对嵌入式设备的文件开放系统实现的数据库受到文件系统的牵制从而导致影响到数据库的慢速存取的问题,文中以嵌入式开放系统 Nucleus 为例,将基于数据库设备,直接面向 Flash 驱动的方法,将若干个数据库由每个库名和可变长记录表和自定义若干索引表组成。 其中的索引表进行排序,同时为数据库提供向上的寻址空间,将存储空间的擦除块映射用地址映射表来实现,使逻辑地址空间连续且可逆。 记录主要由一个类别加上一个目录信息再加上记录数据构成,对于数据库的保护采用备份两份数据库定义文件和两份索引文件的方式,同时对于擦除块的掉电保护在底层设备独立完成以及记录等操作的掉电保护由数据库系统操作完成。 测试软件结果表明,提出的方法便于移植,其他模块崩溃不会直接影响数据库系统,且提高了存取速度,同时占用内存也大大减少。
Abstract:
Aiming at the problem that the database implemented by the open file system of embedded devices is constrained by the file system,which results in slow access to the database,we take Nucleus as an example,which is based on the database device and directly oriented to    the Flash-driven method. Several databases consist of each library name and variable-length record tables and custom index tables. The index table is sorted,and the upward addressing space is provided for the database. The erasable block mapping of the storage space is realized by the address mapping table, so that the logical address space is continuous and reversible. Records are mainly composed of one category plus one catalog information plus records. The database is protected by backing up two database definition files and two index files. At the same time,the power loss protection of erasure block is completed independently in the underlying equipment and the power loss protection of recording operation is completed by the database system operation. The test results show that the improved method is easy to be transplanted,and other module crashes will not directly affect the database system. It also increases the access speed and reduces the memory consumption.
更新日期/Last Update: 2020-07-10