作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (16): 80-81. doi: 10.3969/j.issn.1000-3428.2008.16.027

• 软件技术与数据库 • 上一篇    下一篇

分布式锁的设计与实现

周 梅   

  1. (电子科技大学计算机学院,成都 610054)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-08-20 发布日期:2008-08-20

Design and Implementation of Distributed Lock

ZHOU Mei   

  1. (School of Computer, University of Electronic Science and Technology of China, Chengdu 610054)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-08-20 Published:2008-08-20

摘要: 在分布式组态系统中,各终端上的组态文件可能存在不一致问题。该文设计一种基于集群系统的组态文件分布式锁。使用互斥方法实现对组态文件的修改,保证多终端上组态文件的一致性。采用激活数据包的方法避免接收请求被阻塞,保证了整个系统的可靠性和稳定性。

关键词: 组态软件, 分布式锁, 互斥

Abstract: There are perhaps different configuration files in the terminals in distributed configuration system. This paper designs a configuration file Distributed Lock based on the assembled system. It uses incompatible method to revision configuration files, and keeps the coherence of configuration files in all the terminals. Activation data packet is used to avoide the receiving request being blocked blocked, and to keep the reliable and stability of all the system.

Key words: component-based software, distributed lock, incompatible

中图分类号: