Font Size: a A A

Design And Implementation Of Collaborative Editing Subsystem In WebRTC System

Posted on:2018-03-03Degree:MasterType:Thesis
Country:ChinaCandidate:X MiaoFull Text:PDF
GTID:2348330518494503Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the progress of the times, Internet technology has developed rapidly. IT industry is gradually entering the Internet + era, a variety of new technologies, new business continues to emerge, Web technology changes that HTML5 technology lead to gradually become the main business model of the Internet. At present, most electronic editors are private technology, need to download the corresponding plug-in or desktop client to use. when encounter large document need to edit,it need to divide the work into multiple sub-modules, and then assigned to different staff.They are done on their own computers independently, and then merge the various submodules. The WebRTC name is derived from the abbreviation for Web Real-Time Communication,which allows multimedia to become a seamless part of the web without installing any plug-ins. Through CSCW (Computer Supported Cooperative Work) establishs a collaborative environment, so that different locations of different users can co-edit the same document, reduce non-simultaneous communication barriers, thereby improving work efficiency.The collaborative editing subsystem that this paper analyzes and designs,combine WebRTC with CSCW, users only need to use the browser to edit the document, and different locations of multi-user can simultaneously edit the same document, to solve the problem that current majority of the editor need to download and multiple people can not co-edit the same document at the same time.This paper put forward in-depth study of collaborative editing subsystem based on WebRTC system, and the detailed design and implementation. Collaborative editing subsystem mainly includes user authentication authentication, document conversion, Collaborative editing three functions. User authentication learns from OAuth2.0 (Open Authorization) protocol, proposed for WebRTC system users and third-party business platform user authentication and authentication process;document conversion selected JODConverter, pdf2htmlEX, ICEpdf as a tool to achieve the Office and other text documents to HTML conversion and picture to JPG conversion; synchronization server implemented by Node.js, driven by the event, the use of WebSocket to achieve stable full-duplex real-time communication, user status,documentation, cursor and editing operations and other information through the synchronization server real-time Share with others, and generate records. The Operational Transformation algorithm solves the conflicts when editing operations.Finally,this paper tests the above discussion through both the function and the performance, and verifies the cooperative editing subsystem can realize the established function and complete the real-time collaborative editing.
Keywords/Search Tags:Collaborative Editor, WebRTC, User Authentication, Document Conversion, Information Synchronization
PDF Full Text Request
Related items