摘要
高速列车数字化仿真平台实际运行中牵电、列车自动运行、列控、虚拟样机、工务等各专业将产生大量的TXT类型仿真结果文件.针对各专业产生文件的非结构化、数据交换量大、数据的实时性、准确性要求高等特点,需要使用异构数据转换中间件将这些非结构文件结构化,以方便后续的数据处理与使用.设计并实现了一种文本文件数据转换中间件,能提取仿真结果文件内容生成半结构化的DataXML,提取文件结构生成模板文件,通过SQL语句在Oracle中建表,插入数据来完成异构数据的统一访问和管理.
In the actual operation of the high-speed train digital simulation platform,the professions of the traction power,the automatic train operation,the train control,the virtual prototyping and the public works are to produce the large amounts of the simulation result text file.Because of the unstructured simulation result file,a large of data exchange among each subsystem,the real-time data,the high requirements of data and other characteristics,it needs to develop a middleware of the heterogeneous data conversion to structuring these unstructured files in order to facilitate subsequent data processing and use.A middleware of text file data conversion is designed and implemented.It is able to extract the contents of the simulation result file and then generate a semi-structured DataXML,and to extract the file structure and then to generate a template file.Finally,the middleware inserts data to complete the unification of the heterogeneous data access and management through building tables in Oracle by SQL statement.
出处
《宜宾学院学报》
2012年第12期60-63,共4页
Journal of Yibin University
基金
国家科技支撑计划项目"高速列车(Ⅱ型车)牵引传动和列车网络系统-网络系统虚拟仿真"(2011G14012)