首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于模型驱动的文件解析研究
引用本文:吴卫平.基于模型驱动的文件解析研究[J].机车电传动,2010(2).
作者姓名:吴卫平
作者单位:株洲南车时代电气股份有限公司,安全装备事业部,湖南,株洲,412007
摘    要:简述ATP软件国产化科研项目pcsam软件的背景。针对法国CSEE版pcsam软件存在的较多不足,提出一种新解析方法——模型驱动解析。模型驱动解析首先借助xml模型驱动思想灵活处理sam文件的解析结构和定义;其次设计按比特方式的解析函数并采用工厂方法模式架构软件以实现软件的开闭原则;最后利用多种计算机技术例如二进制文件存储数据、控制I/O次数、多数据流以及多线程等提高解析速度。采用模型驱动解析使国产pcsam软件实现了正确、快速的数据解析,论文给出基于VC6.0平台的实现方法。

关 键 词:模型驱动  工厂方法  开闭原则  二进制文件  输入输出  

Research of Parsing File Based on MDA
WU Wei-ping.Research of Parsing File Based on MDA[J].Electric Drive For Locomotive,2010(2).
Authors:WU Wei-ping
Institution:Safety Equipment Business Unit;Zhuzhou CSR Times Electric Co.;Ltd.;Zhuzhou;Hunan 412007;China
Abstract:The background of domestical pcsam software was introduced briefly.According to the many insufficiencies of French CSEE's pcsam software,a new thought named MDA Parsing was proposed.MDA Parsing processed the structures and the definitions of sam binary file nimbly by xml MDA;using the factory method to fulfill the OCP in software construction;designing the new functions based bit to get value from binary data;adopting many kinds of computer technology for example binary file stored datum,I/O times,multi-dat...
Keywords:MDA  factory method  OCP  binary file  I/O  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号