摘要
随着ICD(Interface Control Document)技术在航天领域的广泛运用,大量的ICD文档与接口定义代码需要编写,然而人工手动编写不但工作效率低,且编写好的文档也不易于管理.为解决以上问题,提出了一种ICD数据导出及代码自动生成方法,并集成于ICD数据库管理系统中.方法以ICD数据库管理系统的数据为基础,使用数据导出算法和代码自动生成算法可自动导出Word文档及所需的目标代码文档.测试结果表明,使用Office Open XML技术导出效率高,导出文件占用空间小,能够满足ICD数据导出的要求.通过对比测试与实际应用测试验证了方法的高效性和有效性,提高了工作效率.
With the ICD (Interface Control Document) technology widely used in the aerospace field, a large number of ICD documents and interface definition codes need to write. However, manually prepared not only low efficiency, but also not easy to manage these documents. To solve the problem, an ICD data export and code automatically generated methods was proposed, and integrated in ICD database management system. Based on the data of ICD database management system, methods using data export algorithms and automatic code generation algorithm could automatically export word document and target code documentation. The results show that using Office Open XML technology to export files has high efficiency, and the exported files spend less space. The methods can meet the requirements of ICD. Through comparison test and the practical application, methods showed the efficiency and effectiveness, improved the work efficiency.
出处
《四川大学学报(自然科学版)》
CAS
CSCD
北大核心
2011年第4期783-788,共6页
Journal of Sichuan University(Natural Science Edition)
基金
国家科技支撑计划(2007BAF23B0302)
重庆市科委自然科学基金计划(2010BB2244)