Algorithm and software implementation of real-time collaborative editing of graphical schemes using Socket.IO library

Author:

Alpatov Aleksey Nikolaevich,Iurov Ilia Igorevich

Abstract

In the modern world, teamwork is becoming more and more common. Different participants may be in different places, but they still need to work together on the same project, including graphic diagrams. An important aspect of this approach is the ability to observe changes made by other participants in real time. This allows, first of all, to reduce the frequency of conflicts when simultaneously editing the same schema element. However, existing solutions for sharing data in real-time collaborative editing of graphical diagrams face a number of problems, such as delays in data transmission. The subject of research in this article is the development of a minimum viable web application that allows users to perform collaborative graphical editing of a canvas in real time. The object of the study is a model of the process of collaborative editing in real time, taking into account the resolution of emerging conflicts. The research methodology is based on a theoretical approach to identifying mathematical formulas that describe changes in the state of a document when it is jointly edited by users. The characteristics of the use of the HTTP and WebSocket protocols in multi-user client-server applications are given. To use the WebSocket protocol, the Socket.IO library is used. The application server is built using the Express framework. The authors' main contribution to the topic is a model of the real-time collaborative editing process, as well as a mechanism for detecting conflicts for any number of users and a conflict resolution function for each pair of conflicting changes when online collaborative editing of documents. Within the framework of this study, an algorithm for collaborative editing of graphic schemes in real time is additionally proposed and its implementation in the form of a software system is given. The algorithm proposed as a result of the study in the JavaScript programming language can be used as a basis for developing more rich web applications using the Socket.IO library and be the object of future research affecting multi-user interaction and real-time conflict resolution.

Publisher

Aurora Group, s.r.o

Reference10 articles.

1. Knyazev A. A., Kondrat'ev A. N., Dubrovskii N. S. Evolyutsiya i osobennosti protokola HTTP // Innovatsionnyi potentsial razvitiya obshchestva: vzglyad molodykh uchenykh: sbornik nauchnykh statei 4-i Vserossiiskoi nauchnoi konferentsii perspektivnykh razrabotok, Kursk, 01 dekabrya 2023 goda. – Kursk: ZAO «Universitetskaya kniga», 2023. – S. 176-178.

2. Kovaliuk, D., Kovaliuk, O.O., Pinaieva, O., Kotyra, A., & Kalizhanova, A. (2019). Optimization of web-application performance. "em"Symposium on Photonics Applications in Astronomy, Communications, Industry, and High-Energy Physics Experiments (WILGA)"/em".

3. Gursesli, M.C.; Selek, M.E.; Samur, M.O.; Duradoni, M.; Park, K.; Guazzini, A.; Lanatà, A. Design of Cloud-Based Real-Time Eye-Tracking Monitoring and Storage System. Algorithms 2023, 16, 355. https://doi.org/10.3390/a16070355

4. Gorchakov A. Ya. Razrabotka klientskoi arkhitektury sistemy mgnovennykh soobshchenii po tekhnologii WebSocket // Gagarinskie chteniya-2018: Sbornik tezisov dokladov XLIV Mezhdunarodnoi molodezhnoi nauchnoi konferentsii, Moskva-Baikonur-Akhtubinsk, 17–20 aprelya 2018 goda. Tom 2. – Moskva-Baikonur-Akhtubinsk: Moskovskii aviatsionnyi institut (natsional'nyi issledovatel'skii universitet), 2018. – S. 209.

5. Shabanov A. E. Obzor biblioteki socket.io // Informatsionno-komp'yuternye tekhnologii v ekonomike, obrazovanii i sotsial'noi sfere. – 2022. – № 1(35). – S. 56-62.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3