Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 81
Abstract—Real-time cooperative editing systems allow multiple users to view and edit the same document at the same time from multiple
sites connected by some networks. Consistency maintenance is one of the challenging job in the design and implementation in such type of
systems. Operational Transformation (OT) is an established optimistic consistency control method in collaborative applications. All OT algo-
rithms only consider two characters based primitive operations insert and delete. Our algorithm supports two string based primitive opera-
tions. This paper presents a new optimized generic OT control algorithm SITOSq and MswapDsqD that has reduced the runtime overheads
of recursions of ITOSq [12] algorithm and swapDsqD [12] algorithm respectively. Also SITOL and MswapLO have reduced recursion as com-
pared to ITOL [12] and swapLO [12].
—————————— ——————————
1 INTRODUCTION
Algorithm 11 : 4. CONCLUSION
MswapLO(ol1,o,p):( ol2',ol1')
This paper proposed new algorithm like MswapDsqD,
1: if p=0 then MswapLO, SITOSq and SITOL. The algorithm like
2: (o' , ol1'[0]) swapDD(ol1[0] , o) MswapDsqD, MswapLO, SITOSq and SITOL have lesser
3: return(o'.sol, ol1') run time overhead of recursion as compared to
4: else swapDsqD, swapLO, ITOSq and ITOL respectively.
5: ol1' ol1 All these algorithms supports string based primitive
6: (o' , ol1'[p]) swapDD(ol1' [p] , o) operations and its time complexity is lesser than earlier
7: if |o'|>1 then similar algorithms because of less number of recursion
8: ( ol2', ol1') MswapLL(ol1' , o'.sol, p-1) and conditions in the algorithms.
9: else
10:(ol2', ol1') MswapLO(ol1' , o'.sol, p-1) REFERENCES
11:endif [1] C. A. Ellis and S. J. Gibbs. Concurrency control in groupware sys-
12: return(ol2', ol1' ) tems. In ACM SIGMOD’89 Proceedings, pages 399–407, Portland
13: end Oregon, 1989.
JOURNAL OF COMPUTING, VOLUME 2, ISSUE 7, JULY 2010, ISSN 2151-9617
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 86
[2] C. Sun, X. Jia, Y. Zhang, Y. Yang, and D. Chen. Achieving conver-
gence, causality-preservation, and intention preservation in real-time
cooperative editing systems. ACM Transactions on Computer-
Human Interaction, 5(1):63–108,
[3] R. Bentley and P. Dourish. Medium versus mechanism: Supporting
collaboration through customization. In ECSCW'95 Proceedings,
1995.
[4] A. H. Davis, C. Sun, and J. Lu. Generalizing operational transforma-
tion to the standard general markup language. In ACM CSCW'02,
pages 58{67,Nov. 2002.
[5] C. A. Ellis and S. J. Gibbs. Concurrency control in groupware sys-
tems. In ACM SIGMOD'89 Preceedings, pages 399{407, Portland
Oregon, 1989.
[6] S. Noel and J.-M. Robert. Empirical study on collaborative writing:
What do co-authors do, use, and like. Journal of Computer Sup-
ported Cooperative Work, 13:63{89, 2004.
[7] C. Sun and C. Ellis. Operational transformation in real-time group
editors: issues, algorithms, and achievements. In ACM CSCW'98,
pages 59{68, Dec. 1998.
[8] C. Sun, X. Jia, Y. Zhang, Y. Yang, and D. Chen. Achieving conver-
gence, causality-preservation, and intention-preservation in real-time
cooperative editing systems. ACM Transactions on Computer-
Human Interaction , 5(1):63{108, Mar. 1998.
[9] C. Sun, X. Jia, Y. Zhang, Y. Yang, and D. Chen. Achieving conver-
gence, causality-preservation, and intention- preservation in real-
time cooperative editing systems. ACM Transactions on Computer-
Human Interaction, 5(1):63–108, Mar. 1998.
[10] C. A. Ellis and S. J. Gibbs. Concurrency control in groupware sys-
tems. In Proceedings of the ACM SIGMOD'89 Conference on Man-
agement ofData, pages 399-407, Portland Oregon, 1989.
[11] C. Sun and C. Ellis. Operational transformation in real-time group
editors: issues, algorithms, and achievements. In Proceedings of the
ACM Conference on Computer-Supported Cooperative Work, pages
59-68, Dec. 1998.
[12] ABTS : A Transformation-Based Consistency Control Algorithm for
Wide-Area Collaborative Applications Bin Shao , Du Li , Ning Gu .
School of Computer Science, Fudan University, Shanghai, China.
Nokia Research Center, Palo Alto, California, USA Digital Object
Identifier: 10.410B/ ICST.COLLABORATECOM 2009. B271
[13] C. Sun and C. Ellis. Operational transformation in real-time group
editors: issues, algorithms, and achievements. In Proceedings of the
ACM Conference on Computer-Supported Cooperative Work, pages
59-68, Dec. 1998.