实时协作文档编辑系统的设计与实现
首发时间:2014-12-01
摘要:过去的协作编辑系统大都采用C/S模式,并且存在实时性差的问题。随着web技术的快速发展,B/S模式的应用越来越多人使用,web端也出现了一些实时交互效果很好的技术。本文主要设计并实现了一个基于B/S模式的实时协作文档编辑系统。该系统利用Node.js和Web Socket技术实现数据通信,使用户在浏览器端做的修改能够实时传输给服务器,再由服务器传输给其他用户。并对操作转换的并发控制算法进行优化,设计了基于操作转换的并发控制算法tOPT,使文档在多用户并发操作和网络传输延迟的情况下,仍能保持结果一致。在协同感知方面采用了颜色标识法,直观地显示出用户的信息和修改的内容。
关键词: 计算机软件 文档编辑 并发控制 协同感知 B/S模式
For information in English, please click here
Design and Implementation of Real-Time Collaborative Editing System
Abstract:Most collaborative editing systems adopt C/S mode, and also have the problem of poor real-time performance. With the rapid development of web technology, the application of B/S is more and more popular. And some excellent real-time technology in web side appears. This paper designs and implements a real-time collaborative editing system based on B/S mode. It uses Node.js and Web Socket to realize data communication. The modified content of document in the browse can real-time transmits to the server. The server will transmit to other users. It also optimizes the concurrency control algorithm based on operation transformation, designs a concurrent control algorithm based on multidimensional orderly state vector. The algorithm makes the document remain consistent even in the condition of concurrent operations and network transmission delay. And it takes the color identification method in the collaborative perception.
Keywords: Computer Software Collaborative Editing Concurrent Control Algorithm Collaborative Perception B/S Model
基金:
论文图表:
引用

No.4619472995468141****
同行评议
勘误表
实时协作文档编辑系统的设计与实现
评论
全部评论