煤矿安全监控系统文件同步组件的设计

张羽, 贺耀宜, 王勇, 陈小林, 高文

张羽, 贺耀宜, 王勇, 陈小林, 高文. 煤矿安全监控系统文件同步组件的设计[J]. 工矿自动化, 2012, 38(3): 8-10.
引用本文: 张羽, 贺耀宜, 王勇, 陈小林, 高文. 煤矿安全监控系统文件同步组件的设计[J]. 工矿自动化, 2012, 38(3): 8-10.
ZHANG Yu, HE Yao-yi, WANG Yong, CHEN Xiao-lin, GAO We. Design of File Synchronization Component of Monitoring and Control System for Coal Mine Safety[J]. Journal of Mine Automation, 2012, 38(3): 8-10.
Citation: ZHANG Yu, HE Yao-yi, WANG Yong, CHEN Xiao-lin, GAO We. Design of File Synchronization Component of Monitoring and Control System for Coal Mine Safety[J]. Journal of Mine Automation, 2012, 38(3): 8-10.

煤矿安全监控系统文件同步组件的设计

基金项目: 

天地(常州)自动化股份有限公司研发项目(10GY062

详细信息
  • 中图分类号: TD76

Design of File Synchronization Component of Monitoring and Control System for Coal Mine Safety

  • 摘要: 针对现有的煤矿安全监控系统文件同步模块功能单一且不可扩展的问题,提出了一种具有可扩展性的文件同步组件的设计方案。该组件采用事件触发模式识别发生改变的文件,选用HASH码作为文件更改判断依据,通过记录文件的最后修改时间来解决文件同步冲突问题,选用WCF进行服务器和客户端之间的通信。现场应用表明,该组件能够保证客户端和服务器之间配置文件的一致性,满足了煤矿安全监控系统的要求,提高了煤矿安全监控系统的可靠性。
    Abstract: In view of problems of single function and nonextensibility of file synchronization module of current monitoring and control system for coal mine safety, the paper proposed a design scheme of file synchronization component with extensibility. The component uses event-triggered mode to recognize changed file, selects HASH code as judgment basis of file change, solves problem of file synchronization conflict through recording the last modification time of file, and selects WCF to make communication between server and client. The field application showed that the component can ensure consistency of configuration file between server and client, which meets requirement and improves reliability of monitoring and control system for coal mine safety.
计量
  • 文章访问数:  36
  • HTML全文浏览量:  5
  • PDF下载量:  11
  • 被引次数: 0
出版历程
  • 刊出日期:  2012-03-09

目录

    /

    返回文章
    返回