Skip to main content

Efficient Change Detection in Tree-Structured Data

  • Conference paper
  • First Online:
Web and Communication Technologies and Internet-Related Social Issues — HSI 2003 (HSI 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2713))

Included in the following conference series:

Abstract

We present X-tree Diff, a change detection algorithm for treestructured data such as XML/HTML documents. X-tree Diff uses a specially designed data structure, called X-tree. Nodes of X-tree have a special hash-valued field representing the structure and data of the subtree rooted at each node, which enables us to compare between subtrees efficiently. X-tree Diff allows exact matchings at early stage, so as to reduce the possibility of wrong matchings. We show that X-tree Diff runs in O(n), where n is the number of nodes in X-trees, in worst case as well as in average case.

The present research was conducted by the research fund of Dankook University in 2001.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. M. Selkow, “The tree-to-tree editing problem,” Information Proc. Letters, 6, pp.184–186, 1977.

    Article  MATH  MathSciNet  Google Scholar 

  2. K. Tai, “The tree-to-tree correction problem,” Journal of the ACM, 26(3), pp.422–433, July 1979.

    Article  MATH  MathSciNet  Google Scholar 

  3. S. Chawathe and H. G. Molina, “Meaningful Change Detection in Structured Data,” In Proc. of ACM SIGMOD’ 97, pp.26–37, 1997.

    Google Scholar 

  4. Curbera and D. A. Epstein, “Fast Difference and Update of XML Documents,” XTech’ 99, San Jose, March 1999.

    Google Scholar 

  5. G. Cobéna, S. Abiteboul and A. Marian, “Detecting Changes in XML Documents,” The 18th ICDE, 2002.

    Google Scholar 

  6. Y. Wang, D. J. DeWitt, J. Y. Cai, “X-Diff: An Effective Change Detection Algorithm for XML Documents,” To appear in the 19th ICDE, 2003.

    Google Scholar 

  7. H. Maruyama, K. Tamura and N. Uramoto, “Digest values for DOM(DOMHash) Proposal,” IBM Tokyo Research Laboratory, 1998.

    Google Scholar 

  8. R. Rivest, “The MD4 Message-Digest Algorithm,” MIT and RSA Data Security, Inc., April 1992.

    Google Scholar 

  9. Document Object Model (DOM) http://www.w3.org/DOM/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kim, D.A., Lee, SK. (2003). Efficient Change Detection in Tree-Structured Data. In: Chung, CW., Kim, CK., Kim, W., Ling, TW., Song, KH. (eds) Web and Communication Technologies and Internet-Related Social Issues — HSI 2003. HSI 2003. Lecture Notes in Computer Science, vol 2713. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45036-X_74

Download citation

  • DOI: https://doi.org/10.1007/3-540-45036-X_74

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40456-9

  • Online ISBN: 978-3-540-45036-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics