首页> 中文期刊>兵工自动化 >基于消息中间件的数据同步更新方法

基于消息中间件的数据同步更新方法

     

摘要

Aimed at the problem of the central database synchronization update after the data in the distributed database changing, a method of data synchronous updating based on message oriented middleware is presented. By the oriented middleware, both the communication mechanism of Socket and the technology of multi thread are comprehensively used in this method. The data to be received by the centre database server is temporarily saved in the queue as a data structure. The processing flow chart and the part of the code are provided. The simulation experiment results prove that the method has a stable performance and high efficiency while guaranteeing the integrity of the data transmission.%  针对分布式环境下同类型数据库数据发生变化后中心数据库同步更新的问题,提出一种基于消息中间件的数据同步更新方法。该方法采用中间件方法,综合使用Socket通信机制、多线程等技术,在中心数据库的服务器端使用队列来存储上传来的数据,并给出部分代码及处理流程图。仿真实验结果证明:该方法性能稳定、效率较高,且确保了传输数据的完整性。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号