Font Size: a A A

The Research And Implemention Of Resource Sharing Subsystem In Web Based Collaborative Editing System

Posted on:2017-01-02Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y ZhuFull Text:PDF
GTID:2348330518995792Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of information technology,people gradually transferred the editing work to the computers,even to the mobile devices.Although traditional electronic editor has powerful editing function,but lack of convenient collaboration mechanism.Before using these software,users need to manually download and install and update them.After the completion of the editing,copy and merge operations are also needed.In this paper,a collaborative editing mode based on Web is proposed,which only needs a device that supports HTML5 browser to access the system.In the process of editing,users are able to share the editing operations with others in real time,and see the merged result.After editing,the document is automatically saved in the cloud,the edit process can be continued even devices are replaced.The content of this paper is a resource sharing subsystem in collaborative editing.Resource refers to a series of related software objects which around the document that can be edited by users as the core.A document conversion module is designed by this paper,which makes the various formats of the documents are able to converted to HTML and pictures,as these two formats can be edited in Web.Then the front-end interactive functions are designed for both formats,known as online editing and electronic whiteboard.In the implementation of the cooperative mechanism,the Node.js is selected as the tool,and the WebSocket is used to establish the full duplex communication among clients.The document,cursor,and edit operations are shared with others in real time by the synchronization server,accompanying with records generated.In order to realize the sharing of various resources,this paper designs more than ten kinds of message types and formats for clients to send and receive synchronization requests.In addition,this paper makes the system access to the OAuth2.0 authentication service.The user's account information is identificated by the synchronization session,which improving the security of the system.In this paper,each module is deployed independently as separated Web services,and a number of new cross domain access solutions are researched and used.Finally,the function and performance of the system are tested.The experimental results show that the resource sharing subsystem can achieve the established goals and support the real-time collaborative editing.
Keywords/Search Tags:collaborative editor, resource sharing, document conversion, WebSocket
PDF Full Text Request
Related items