Skip to main content

A New Algorithm for Real-Time Collaborative Graphical Editing System Based on CRDT

  • Conference paper
  • First Online:
Computer Supported Cooperative Work and Social Computing (ChineseCSCW 2018)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 917))

Abstract

With the rapid development of collaborative applications, real-time collaborative graphical editing systems will face many new challenges in the future. The key technology to guarantee the correctness in the graphical editing system is consistency maintenance. It is also a core topic in the field of collaborative computing and a basic research in many scientific and engineering collaboration systems. However, over the past years, the complexity of graphics has produced much problems for the real time editing field, including methods of operational transformation (OT) and conflict resolution strategy with multi-version replication, etc. Recently, CRDT (Exchanged Copy Data Type) has been proposed as a new alternative mechanism in collaborative text editing with much higher efficiency. However, the CRDT-based real-time graphics editing system consistency maintenance method has rarely been studied in the previous literature. In the paper, a kind of CRDT algorithm is proposed, and the complex constraint relationship between the graphics and the dynamic rule library is used to divide the graphic operation into operation, which the relevant solutions are given. The algorithm integrates different types of graphics operations for First, the algorithm guarantees the convergence of the coordinated users and maintains the operational intent under the integrated framework. Secondly, a CRDT-based algorithm is designed. Thirdly, the time complexity and space complexity of the put forward algorithm are theoretically analyzed, which is further verified the feasibility of the algorithm. Finally, The direction of future solution is given.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Gu, N., et al.: DCV: a causality detection approach for large-scale dynamic collaboration environments. In: Proceedings of the 2007 International ACM Conference on Supporting Group Work. ACM (2007)

    Google Scholar 

  2. Ignat, C.-L., Oster, G., Fox, O., Shalin, V.L., Charoy, F.: How do user groups cope with delay in real-time collaborative note taking. In: Boulus-Rødje, N., Ellingsen, G., Bratteteig, T., Aanestad, M., Bjørn, P. (eds.) ECSCW 2015: Proceedings of the 14th European Conference on Computer Supported Cooperative Work, pp. 223–242. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-20499-4_12

    Chapter  Google Scholar 

  3. Wu, Y., He, F., Zhang, D., Li, X.: Service-oriented feature-based data exchange for cloud-based design and manufacturing. IEEE Trans. Serv. Comput. 11, 341–353 (2018)

    Article  Google Scholar 

  4. Ng, A., Sun, C.: Operational transformation for real-time synchronization of shared workspace in cloud storage. In: Proceedings of the 19th International Conference on Supporting Group Work, pp. 61–70. ACM (2016)

    Google Scholar 

  5. Gao, L.P., Lu, T.: Maintaining semantic consistency of compound Undo operations in replicated collaborative graphical editing environments. Jisuanji Yingyong Yanjiu 27(9), 3434–3438 (2010)

    Google Scholar 

  6. Oster, G., Urso, P., Molli, P., et al.: Data consistency for P2P collaborative editing. In: Proceedings of the 2006 20th Anniversary Conference on Computer Supported Cooperative Work, pp. 259–268. ACM (2006)

    Google Scholar 

  7. Lv, X., He, F., Cai, W., et al.: A string-wise CRDT algorithm for smart and large-scale collaborative editing systems. Adv. Eng. Inf. 33, 397–409 (2017)

    Article  Google Scholar 

  8. Zhou, Y., He, F., Qiu, Y.: Optimization of parallel iterated local search algorithms on graphics processing unit. J. Supercomput. 72(6), 2394–2416 (2016)

    Article  Google Scholar 

  9. Zhou, Y., He, F., Qiu, Y.: Dynamic strategy based parallel ant colony optimization on GPUs for TSPs. Sci. China Inf. Sci. 60(6), 068102 (2017)

    Article  Google Scholar 

  10. Melab, N., Talbi, E.G.: GPU Computing for parallel local search metaheuristics. IEEE Trans. Comput. 62(1), 173–185 (2013)

    Article  MathSciNet  Google Scholar 

  11. Lv, X., He, F., Cai, W., et al.: CRDT-based conflict detection and resolution for massive-scale real-time collaborative CAD systems. In: Proceedings of the 12th Chinese Conference on Computer Supported Cooperative Work and Social Computing, pp. 185–188. ACM (2017)

    Google Scholar 

  12. Sun, D., Sun, C.: Operation context and context-based operational transformation. In: Proceedings of the 2006 20th Anniversary Conference on Computer Supported Cooperative Work, pp. 279–288. ACM (2006)

    Google Scholar 

  13. Gao, L., Gao, D., Xiong, N., et al.: CoWebDraw: a real-time collaborative graphical editing system supporting multi-clients based on HTML5. Multimed. Tools Appl. 77(6), 5067–5082 (2017)

    Google Scholar 

  14. Gao, L., Yu, F., Chen, Q., et al.: Consistency maintenance of Do and Undo/Redo operations in real-time collaborative bitmap editing systems. Cluster Comput. 19(1), 255–267 (2016)

    Article  Google Scholar 

  15. Gao, L., Lu, T., Gu, N.: CLAF: Solving Intention Violation of Step-Wise Operations in CAD Groupware. Elsevier Science Publishers B. V., Amsterdam (2010)

    Google Scholar 

  16. Gao, L., Lu, T.: Achieving transparent and real-time collaboration in Co-AutoCAD application. J UCS 17(14), 1887–1912 (2011)

    Google Scholar 

Download references

Acknowledgments

We would like to thank the reviewers, whose valuable critique and comments helped to improve this paper. Moreover, this work is supported by the Shanghai Natural Science Foundation under Grant No. 17ZR1419100, and the Open Project Program of Shanghai Key Laboratory of Data Science (No. 201609060003).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Liping Gao .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gao, L., Xu, X. (2019). A New Algorithm for Real-Time Collaborative Graphical Editing System Based on CRDT. In: Sun, Y., Lu, T., Xie, X., Gao, L., Fan, H. (eds) Computer Supported Cooperative Work and Social Computing. ChineseCSCW 2018. Communications in Computer and Information Science, vol 917. Springer, Singapore. https://doi.org/10.1007/978-981-13-3044-5_15

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-3044-5_15

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-3043-8

  • Online ISBN: 978-981-13-3044-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics