DOI QR코드

DOI QR Code

Object Modeling for Mapping from XML Document and Query to UML Class Diagram based on XML-GDM

XML-GDM을 기반으로 한 UML 클래스 다이어그램으로 사상을 위한 XML문서와 질의의 객체 모델링

  • 박대현 (한국연구재단 인문사회연구지원단) ;
  • 김용성 (전북대학교 전자정보공학부)
  • Received : 2009.03.13
  • Accepted : 2010.03.17
  • Published : 2010.04.30

Abstract

Nowadays, XML has been favored by many companies internally and externally as a means of sharing and distributing data. there are many researches and systems for modeling and storing XML documents by an object-oriented method as for the method of saving and managing web-based multimedia document more easily. The representative tool for the object-oriented modeling of XML documents is UML (Unified Modeling Language). UML at the beginning was used as the integrated methodology for software development, but now it is used more frequently as the modeling language of various objects. Currently, UML supports various diagrams for object-oriented analysis and design like class diagram and is widely used as a tool of creating various database schema and object-oriented codes from them. This paper proposes an Efficinet Query Modelling of XML-GL using the UML class diagram and OCL for searching XML document which its application scope is widely extended due to the increased use of WWW and its flexible and open nature. In order to accomplish this, we propose the modeling rules and algorithm that map XML-GL. which has the modeling function for XML document and DTD and the graphical query function about that. In order to describe precisely about the constraint of model component, it is defined by OCL (Object Constraint Language). By using proposed technique creates a query for the XML document of holding various properties of object-oriented model by modeling the XML-GL query from XML document, XML DTD, and XML query while using the class diagram of UML. By converting, saving and managing XML document visually into the object-oriented graphic data model, user can prepare the base that can express the search and query on XML document intuitively and visually. As compared to existing XML-based query languages, it has various object-oriented characteristics and uses the UML notation that is widely used as object modeling tool. Hence, user can construct graphical and intuitive queries on XML-based web document without learning a new query language. By using the same modeling tool, UML class diagram on XML document content, query syntax and semantics, it allows consistently performing all the processes such as searching and saving XML document from/to object-oriented database.

최근 다양한 분야에서 폭넓게 활용되고 있는 XML 문서는 유연하고도 개방적인 특성으로 인해 정보교환이나 전송을 위한 수단으로 널리 이용되고 있다. 한편 XML 문서를 위한 시각적, 직관적 질의 언어인 XML-GL은 질의에 대한 의미와 결과 문서의 구조를 시각적으로 표현할 수 있기 때문에 XML 문서에 대한 구조 검색과 정보의 공유가 용이하다. 그리고 UML은 정해진 표기법과 다양한 다이어그램을 이용하여 객체지향 분석과 설계를 위한 도구로 사용되고 있다. 따라서 본 논문은 XML-GL의 데이터 모델인 XML-GDM을 기반으로 표현된 XML 문서를 UML 클래스 다이어그램으로 사상하기 위한 새로운 객체 모델링 방안을 제안한다. 이를 통해서 XML 문서를 직관적인 방법으로 객체지향데이터로 변환하고 저장/관리할 수 있다. 또한 객체지향 검색방법을 적용하면 보다 효율적으로 XML 문서를 검색할 수가 있다.

Keywords

References

  1. [김노환 2002] XPath 질의를 기반으로 하는 DB2XML 알고리 즘 설계 및 구현, 강원대학교 대학원 박사학위논문, 2002. 2.
  2. [문현창 2003] XML 구조적 특징을 이용한 온톨리지 기반의 지식 탐사 모델, 창원대학교 대학원 박사학위논문, 2003. 8.
  3. [이돈양 2004] 이돈양, 송영재, "XMI기반 객체지향 메타모델 생성," 정보처리학회논문지 D, 제11권 제2호, pp.397-406. 2004. 2. https://doi.org/10.3745/KIPSTD.2004.11D.2.397
  4. [조완섭 2003] 조완섭, "그래픽 객체 질의어에서 집합 속성과 메소드를 포함한 경로식의 시각화," 정보과학회논문지 : 데이 터베이스, 제30권 제2호, 2003. 4.
  5. [하얀 2003b] 하얀, "OSD, CDF 문서로부터 UML 클래스 다이 어그램으로 변환 시스템," 정보처리학회논문지 A, 제10권-A 권 제5호, 2003. 10. https://doi.org/10.3745/KIPSTA.2003.10A.5.493
  6. [정창윤 2005] XML 문서를 위한 UML 기반 그래픽 웹 질의 언어의 설계 및 구현, 2005. 8
  7. [ADLE 2001] Sharon Adler, et al., "Extensible Stylesheet Language (XSL) Version 1.0," http://www.w3.org/TR/xsl/, 2001.
  8. [BALK 2002] N. H. Balkir et al., "A Graphical Query Language : VISUAL, and its Query Processing," IEEE Trans on Knowledge and Data Engineering, Vol.14, No.5, pp. 955-978, Sep., 2002. https://doi.org/10.1109/TKDE.2002.1033767
  9. [BOAG 2004] Scott Boag, et al., "XQuery 1.0: An XML Query Language," http://www.w3.org/TR/xquery, 2004.
  10. [BONI 2000] Angela Bonifati, Stefano Ceri, "Comparative Analysis of Five XML Query Languages," ACM SIGMOD Record, Vol.29, No.3, pp.76-87, 2000. https://doi.org/10.1145/362084.362140
  11. [BRA 2004] Tim Bray, et al., "XML 1.0(Third Edition)," W3C Recommendation, http://www.w3.org/TR/2004/ REC-xml- 20040204, Feb., 2004.
  12. [CABO 2009] Cabot, J, Clariso, R, Riera, D, "Verifying UML/OCL Operation Contracts," Lecture notes in computer science, Vol.5423, pp.40-55, 2009. https://doi.org/10.1007/978-3-642-00255-7_4
  13. [CERI 1999] Stefano Ceri, et al., "XML-GL: a graphical language for querying and restructuring XML Documents," Computer Networks, Vol.31, pp.1171-1187, 1999. https://doi.org/10.1016/S1389-1286(99)00014-6
  14. [CERI 2000] Stefano Ceri, et al., "Complex queries in XML-GL," Proc. of 2000 ACM symposium on Applied Computing(SAC2000), pp.888-893, Como, Italy, Mar., 2000. https://doi.org/10.1145/338407.338677
  15. [CHRI 1994] V. Christophides, S. Abiteboul, S. Cluet, and M. Scholl, "From Structured Documents to Novel Query Facilities," ACM SIGMOD Record, Vol.23, No.2, pp.313-324, June, 1994. https://doi.org/10.1145/191843.191901
  16. [COMA 2001] Sara Comai, Ernesto Damiani, and Piero Fraternali, "Computing Graphical Queries over XML Data," ACM Transaction on Information System(TOIS), Vol.19, No.4, pp371-430, 2001. https://doi.org/10.1145/502795.502797
  17. [DEUT 1998] Alin Deutsch, et al., "XML-QL: A Query Language for XML," http://www.w3.org/TR/NOTE-xml-ql, 1998.
  18. [KUHL 2008] Kuhlmann, M, Gogolla, M, "Modeling and validating Mondex scenarios described in UML and OCL with USE," Formal aspects fo computing, Vol.20, No.1, pp 79-100, 2008. https://doi.org/10.1007/s00165-007-0062-3
  19. [NI 2003] W. Ni, T. W. Ling, "GLASS: A Graphical Query Language for Semi-Structured Data," Database Systems for Advanced Applications(DASFAA'03), 2003. https://doi.org/10.1109/DASFAA.2003.1192402
  20. [OMG 2003] OMG Unified Modeliing Language Specification Version 1.5, http://www.omg.org/docs/formal/03-03-01.pdf, Mar. 2003.
  21. [OMG 2007] OMG, Unified Modeling Language : Superstructure, version 2.1.1, 2007.
  22. [OMG 2008] OMG, UML 2.0 Superstructure Specification, http://www.uml.org.
  23. [PARK 2005] U. Park and Y. S대, "An Implementation of XML Documents Search System based on Similarity in Structure and Semantics," In Proc. of the Web Information retrieval and Integration, 2005(wiri '05), pp.97-103, April, 2005. https://doi.org/10.1109/WIRI.2005.8
  24. [SENG 2008] Sengupta. S, Kanjilal.A, and Bhattacharya. S, "Requirement Traceability in Software Development Process: An Empirical Approach," Proc. of the 19th IEEE/IFIP Symposium on Rapid System Prototyping, pp.105-111, 2008. https://doi.org/10.1109/RSP.2008.14
  25. [STRA 2007] Straeten, Ragnhild, Jonckers, Viviane and Mens, Tom, "A Formal Approach to Model Refactoring and Model Refinement," Software and Systems Modeling, Vol.6, No.2, 2007. https://doi.org/10.1007/s10270-006-0025-9
  26. [ZOU 2006] Zou, Joe and Pavlovski, Christopher, Modeling Architectural Non Functional Requirements: From Use Case to Control Case, IEEE ICEBE' 06, 2006. https://doi.org/10.1109/ICEBE.2006.71
  27. [XU 2007] Xu, Yang and Yu, Youwei, Towards Aspect Oriented Web Service Composition with UML, The 6th ICIS, 2007. https://doi.org/10.1109/ICIS.2007.185
  28. [OMG 2007a] OMG, UML Infrastructure Specification v2.1.2 Nov., 2007.
  29. [OMG 2007b] OMG, UML Superstructure Specification v2.1.2 Nov., 2007.
  30. [DOD 2008] Dodani, Mahesh H., Application At Your Service, Jorunal of Object Technology, Vol.7, No,7, 2008.
  31. [FOW 2003] Fowler, Martin, UML Distilled: A Brief Guide to the Standard Object Modeling Language, 3rd Ed., Addison-Wesley, 2003.
  32. [WAR 2003] J.Warmer and A. Kleppe. The Object Constraint Language : Getting Your Models ready for MDA. Addison- Wesley Professional, 2nd edition, 2003.