计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (19): 243-248.

• 工程与应用 • 上一篇    

实时异构集成数据自适应模板解析算法

朱  利1,常  飞2,何金星3,米  玥1,田元强4   

  1. 1.西安交通大学 软件学院,西安 710049
    2.中国工程物理研究院 计算机应用研究所,四川 绵阳 621900
    3.西安交通大学 电子与信息工程学院 计算机系,西安 710049
    4.西安交通大学 管理学院 技术经济与管理系,西安 710049
  • 出版日期:2012-07-01 发布日期:2012-06-27

Parsing algorithm based on adaptive templates for real-time heterogeneous data

ZHU Li1, CHANG Fei2, HE Jinxing3, MI Yue1, TIAN Yuanqiang4   

  1. 1.School of Software Engineering, Xi’an Jiaotong University, Xi’an 710049, China
    2.Computer Application Institute, China Academy of Engineering Physics, Mianyang, Sichuan 621900, China
    3.Department of Computer Science, School of Electronic and Information Engineering, Xi’an Jiaotong University, Xi’an 710049, China
    4.Department of Technology Economy and Management, School of Management, Xi’an Jiaotong University, Xi’an 710049, China
  • Online:2012-07-01 Published:2012-06-27

摘要: 工业中实时监控系统的实时异构集成数据在解析存储时需要适应用户需求多样性和可变性的特点,因此集成数据的解析成为一个难点。以环境在线监控系统为应用背景,提出了针对实时异构集成数据的自适应模板数据解析思想。数据解析前,根据集成数据,以用户需求为基础设计的用户表以及定义的模板构建规则,构造描述集成数据与用户表映射关系的自适应模板。解析算法根据模板对集成数据进行解析分类。该算法只根据模板的描述对数据进行解释,具有良好的通用性以及可拓展性。通过实际数据进行测试,结果表明提出的自适应模板解析算法具有良好的性能,能够很好地适应用户需求多样性和可变性的特点。

关键词: 实时异构集成数据, 自适应模板, 解析算法

Abstract: Variety and expanding of user requirements must be considered while collected real-time heterogeneous integration data is parsed and stored by on-line monitoring system. This is a difficult point. For resolving the problem, this paper proposes a heterogeneous data parsing algorithm based on adaptive templates which is applied in on-line environment monitor system. According to integration data, user table designed as user requirement and template construction rule, template is set up to describe the mappings between integration data and user tables. Parsing algorithm parses integration data as templates and stores the results. As the experiment shows, this approach has good performance, and is common and expanded.

Key words: real-time heterogeneous integration data, adaptive template, parsing algorithm