摘要
为解决协同编辑过程中产生的不一致问题和违背用户操作意愿的问题,以段落为粒度,提出基于文档标注和锁的一致性维护方法。通过引入共享文档状态,避免文档标注算法保留操作的上下文,降低服务器压力,减少协同编辑过程中通信量。将该算法应用于一个实时协同编辑系统DAVOffice中,验证了算法的正确性,提高了实时协同编辑系统的实用性。
To solve the problems of consistency conflict and intention-violation of operation in the process of collaborative editing,using the paragraph as concurrent granularity,the algorithm based on document marking scheme and locking was put forward.The consistency conflict and intention-violation problems were solved.By using shared document state vector,the operation context was concealed.As a result,the server pressure and the traffic were reduced.The algorithm was applied to a collaborative edit prototype named DAVOffice.The test results verify the correctness of the algorithm and the practicability of the collaborative editing system is promoted.
出处
《计算机工程与设计》
北大核心
2016年第8期2087-2092,共6页
Computer Engineering and Design
基金
北京市教委面上基金项目(KM201511232012)
北京市属高等学校创新团队建设与教师职业发展计划基金项目(IDHT20130519)
关键词
实时协同编辑
并发控制
一致性维护
操作意愿维护
文档标注法
real-time cooperative editing
concurrency control
consistency maintenance
intention preservation of operation
document marking scheme