期刊文献+

一种基于Socket通信实现数据一致性的工具研究 被引量:2

Research of Tool Based on Socket to Fulfill Data Consistency
下载PDF
导出
摘要 简述铁路局内部服务器之间交换数据,产生了数据一致性的问题。基于性能要求,系统将文件数据存储于服务器的文件夹中,使得数据库内部机制(如触发器等)难以控制文件数据一致性。针对该问题,基于socket通信设计一种工具实现文件数据一致性。该工具首先设计参数配置文件和利用工厂模式技术使程序访问数据库时不局限于何种数据库以及数据表等,使之成为一个可扩展的独立工具;实时监测数据库并自动实现文件记录的数据一致性;有较强的容错性如网络中断、文件传输中断、数据库连接错误等;产生日志文件以供查询。给出基于VC6.0平台的实现方法。 This paper introduces briefly that railway administration on the exchange of data between the internal server,resulting in a data consistency problem.Based on performance requirements,the files are stored in the server folder so that the internal mechanism of the database (such as trigger, etc.) is difficult to control file data consistency.For the problem,a tool based socket communication to achieve data consistency of file is designed.The configuration file of parameters is designed in tool,and the factory model is used to access the database while are not limited to,such as databases and tables to be- come an independent tool for expansion.
出处 《工业控制计算机》 2010年第10期82-83,85,共3页 Industrial Control Computer
关键词 套接字 TCP/IP 数据一致性 socket TCP / IP data consistency
  • 相关文献

同被引文献8

引证文献2

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部