Formal Verification of Operational Transformation

  • Yang Liu
  • Yi Xu
  • Shao Jie Zhang
  • Chengzheng Sun
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8442)

Abstract

Operational Transformation (OT) is a technology to provide consistency maintenance and concurrency control in real-time collaborative editing systems. The correctness of OT is critical due to its foundation role in supporting a wide range of real world applications. In this work, we formally model the OT-based collaborative editing systems and establish their correctness, w.r.t. convergence and intention preservation, using a set of well-defined transformation conditions and properties. We then use model checking to verify the transformation properties for basic data and operational models. To the best of our knowledge, this is the first work to conduct a complete verification of OT including control algorithms and transformation functions. Our evaluation confirmed the correctness of existing OT systems and transformation functions with important discoveries.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
  2. 2.
  3. 3.
    Boucheneb, H., Imine, A.: On model-checking optimistic replication algorithms. In: Lee, D., Lopes, A., Poetzsch-Heffter, A. (eds.) FMOODS/FORTE 2009. LNCS, vol. 5522, pp. 73–89. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  4. 4.
    Ellis, C.A., Gibbs, S.J.: Concurrency control in groupware systems. In: SIGMOD, pp. 399–407 (1989)Google Scholar
  5. 5.
    Imine, A., Molli, P., Oster, G., Rusinowitch, M.: Proving Correctness of Transformation Functions in Real-time Groupware. In: ECSCW, pp. 277–293 (2003)Google Scholar
  6. 6.
    Lamport, L.: Time, clocks, and the ordering of events in a distributed system. CACM 21(7), 558–565 (1998)CrossRefGoogle Scholar
  7. 7.
    Nichols, D.A., Curtis, P., Dixon, M., Lamping, J.: High-latency, low-bandwidth windowing in the Jupiter collaboration system. In: UIST, pp. 111–120 (1995)Google Scholar
  8. 8.
    Prakash, A., Knister, M.J.: A framework for undoing actions in collaborative systems. TOCHI 1(4), 295–330 (1994)CrossRefGoogle Scholar
  9. 9.
    Ressel, M., Nitsche-Ruhland, D., Gunzenhäuser, R.: An integrating, transformation-oriented approach to concurrency control and undo in group editors. In: CSCW, pp. 288–297 (1996)Google Scholar
  10. 10.
    Sun, C.: Undo as concurrent inverse in group editors. TOCHI 9(4), 309–361 (2002)CrossRefGoogle Scholar
  11. 11.
    Sun, C., Ellis, C.A.: Operational transformation in real-time group editors: issues, algorithms, and achievements. In: CSCW, pp. 59–68 (1998)Google Scholar
  12. 12.
    Sun, C., Jia, X., Zhang, Y., Yang, Y., Chen, D.: Achieving convergence, causality preservation, and intention preservation in real-time cooperative editing systems. TOCHI 5(1), 63–108 (1998)CrossRefGoogle Scholar
  13. 13.
    Sun, C., Xu, Y., Agustina: Exhaustive search of puzzles in operational transformation. In: CSCW, pp. 519–529 (2014)Google Scholar
  14. 14.
    Sun, D., Sun, C.: Context-based operational transformation in distributed collaborative editing systems. TPDS 20(10), 1454–1470 (2009)Google Scholar
  15. 15.
    Sun, J., Liu, Y., Dong, J.S., Pang, J.: PAT: Towards flexible verification under fairness. In: Bouajjani, A., Maler, O. (eds.) CAV 2009. LNCS, vol. 5643, pp. 709–714. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  16. 16.
    Xu, Y., Sun, C., Li, M.: Achieving convergence in operational transformation: conditions, mechanisms and systems. In: CSCW, pp. 505–518 (2014)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Yang Liu
    • 1
  • Yi Xu
    • 1
  • Shao Jie Zhang
    • 1
  • Chengzheng Sun
    • 1
  1. 1.Nanyang Technological UniversitySingapore

Personalised recommendations