基于XML的蔬菜溯源信息描述语言构建及在数据交换中的应用

    Construction of information description language for vegetable traceability based on XML and its application to data exchange

    • 摘要: 可追溯体系作为控制农产品质量安全的有效方法日益受到世界各国重视,供应链各环节与溯源中心间的异构数据交换是建立以政府监管为中心的农产品溯源系统急需解决的问题。XML(eXtensible Markup Language,可扩展标记语言)是先进的网络语言标准和网络信息共享的重要工具,采用可扩展标记可描述各种数据结构。该文在分析供应链数据流基础上,总结蔬菜溯源数据模型;以实现数据无缝交换为目标,基于XML构建了VTML(Markup Language for Vegetable Traceability,蔬菜溯源信息描述语言),并设计了VTML Schema;应用VTML于蔬菜溯源系统数据交换。结果表明,采用ADO.NET开发数据交换接口,以VTML语言为基础的数据交换模式,通过VTML文档和关系型数据库数据间的映射,屏蔽了数据源间的差异。应用VTML是实现蔬菜溯源数据交换的有效手段。

       

      Abstract: The traceability systems are regarded by many countries in the world as an effective method for controlling farm product safety. The issues of data exchange between various nodes on supply chain and the center of traceability system were needed to address for traceability based on government supervisor mode. eXtensible Markup Language(XML), an advanced language standards for Internet, is capable of modeling any data structure and used as a main tool for information sharing on WWW. In this paper, based on analysis of data flow of supply chain, the data model of traceability on vegetable products was summarized. Aiming at fulfilling seamless exchange of data, an XML-based vegetable traceability markup language(VTML) was established and an XML-based schema for vegetable traceability(VTML schema) was designed. The application of data exchange of vegetable traceability based VTML was discussed. The result showed that the differences of heterogeneous databases were shielded by setting up data mapping between VTML document and data source. It is proved that the mode of data exchange based on VTML is an effective approach to achieving the traced data synchronization.

       

    /

    返回文章
    返回