KR100899616B1 - Method and system of management metadata using relational database management system - Google Patents

Method and system of management metadata using relational database management system Download PDF

Info

Publication number
KR100899616B1
KR100899616B1 KR1020080008000A KR20080008000A KR100899616B1 KR 100899616 B1 KR100899616 B1 KR 100899616B1 KR 1020080008000 A KR1020080008000 A KR 1020080008000A KR 20080008000 A KR20080008000 A KR 20080008000A KR 100899616 B1 KR100899616 B1 KR 100899616B1
Authority
KR
South Korea
Prior art keywords
metadata
relational database
tag information
identification tag
information
Prior art date
Application number
KR1020080008000A
Other languages
Korean (ko)
Inventor
구자형
Original Assignee
주식회사 케이티프리텔
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티프리텔 filed Critical 주식회사 케이티프리텔
Priority to KR1020080008000A priority Critical patent/KR100899616B1/en
Application granted granted Critical
Publication of KR100899616B1 publication Critical patent/KR100899616B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging

Abstract

XML(Extensible Markup Language) 기반의 메타데이터(metadata)를 관계형 데이터베이스(Relational DBMS)로 구성하여 메타데이터를 관리하는 방법 및 이를 위한 시스템이 개시된다. 메타데이터를 관리하는 방법은, XML 문서를 파싱(parsing)하여 테이블(table)을 생성하고, 생성된 테이블에 소정의 검색 식별 태그(tag) 정보를 추가하여 검색 식별 태그 정보가 추가된 테이블 사이의 관계를 매핑(mapping)하여 매핑된 메타데이터를 관계형 데이터베이스에 저장하는 단계를 포함하되, 메타데이터 조회를 위한 검색 식별 태그 정보별 고유한 프레임 정보가 관계형 데이터베이스에 미리 저장되어 있다. 본 발명에 따르면, 메타메이터를 이용하여 분석업무를 하는 개발자, 운영자, 사용자가 손쉽게 분석 및 관리할 수 있다는 장점이 있다.Disclosed are a method of managing metadata by configuring metadata based on XML (Relational DBMS) and a system therefor. The method for managing metadata includes parsing an XML document to generate a table, and adding predetermined search identification tag information to the generated table to add a search identification tag information between the tables. Mapping the relationship to store the mapped metadata in the relational database, wherein unique frame information for each search identification tag information for metadata inquiry is previously stored in the relational database. According to the present invention, there is an advantage that a developer, an operator, and a user who performs an analysis task using a metameter can easily analyze and manage.

XML, RDBMS, 관계형 데이터베이스, 테이블, 조회, 검색, 정규화 XML, RDBMS, relational database, table, query, search, normalization

Description

관계형 데이터베이스를 이용한 메타데이터 관리 방법 및 시스템{method and system of management metadata using relational Database Management System}Method and system of management metadata using relational database management system

본 발명은 관계형 데이터베이스를 이용하여 메타데이터(metadata)를 관리하는 방법 및 이를 위한 시스템에 관한 것으로, 특히 XML 기반의 메타데이터를 테이블로 생성하고, 생성된 테이블에 저장된 메타데이터 조회를 위한 검색 식별 태그 정보를 추가하여 관계형 데이터베이스에 저장하여 메타데이터를 관리하는 방법 및 이를 위한 시스템에 관한 것이다.The present invention relates to a method for managing metadata using a relational database and a system therefor. In particular, the present invention relates to a search identification tag for generating XML-based metadata into a table and querying metadata stored in the generated table. The present invention relates to a method for managing metadata by adding information to a relational database and managing the metadata.

최근 인터넷의 발전과 정보의 양의 급증으로 인하여, 인터넷상의 효율적인 정보 교환을 위하여 차세대 웹 문서의 표준인 XML(eXtensible Markup Language)에 대한 저장 및 검색에 대한 연구가 활발히 진행되고 있다. 또한, 이들 XML 형식의 메타데이터(metadata)를 생성, 변경, 조작하기 위한 여러 표준들과 툴들이 등장하면서 구조가 다른 많은 XML 문서들도 증가되고 있다. 이러한 상황에서, 서로 상이한 구조를 가진 대규모 XML 문서들의 메타데이터 저장을 최적화하고, 이들로부터 필요한 정보를 쉽고 빠르게 추출하는 것은 매우 중요한 이슈가 되고 있다.Recently, due to the development of the Internet and the rapid increase in the amount of information, research on the storage and retrieval of XML (eXtensible Markup Language), which is the standard of next-generation web documents, is being actively conducted for efficient information exchange on the Internet. In addition, with the advent of several standards and tools for creating, modifying, and manipulating metadata in XML format, many XML documents with different structures are increasing. In such a situation, optimizing the metadata storage of large-scale XML documents having different structures and extracting necessary information from them easily and quickly becomes a very important issue.

종래에 RDBMS를 이용하여 XML 메타데이터를 관리하는 방법은 크게 두 가지로 구분된다. 첫 번째는 XML 문서 전체를 RDBMS 테이블의 CLOB(Character Large Object) 형태로 저장하는 방법으로, CLOB은 문서 형태의 대용량 메타데이터를 저장하기 위해 RDBMS에서 제공하는 메타데이터 타입이다. 두 번째는 XML 문서 전체를 RDBMS 테이블의 CLOB 형태로 저장한다는 점에서 첫 번째 방법과 동일하나, XML 문서의 특정 태그 및 값(value) 정보를 테이블의 칼럼에 매핑하여 저장한다는 점에서 차이를 가진다. Conventionally, there are two main methods for managing XML metadata using an RDBMS. The first is to store the entire XML document in the form of CLOB (Character Large Object) of the RDBMS table. CLOB is a metadata type provided by the RDBMS to store large metadata in the form of documents. The second method is the same as the first method in that the entire XML document is stored in the form of CLOB of the RDBMS table. The difference is that specific tag and value information of the XML document is mapped and stored in the column of the table.

첫 번째 방법의 경우에는 XML 파일 전체를 CLOB에 단지 보관만 함으로써 XML의 특정 메타데이터 검색이 불가능하였던 것에 비해, 두 번째 방법은 이러한 문제점을 보완하기 위해 특정 정보를 미리 정해 저장해 두는 방법을 쓰고 있다.In the first method, it is impossible to search the specific metadata of XML by simply storing the entire XML file in a CLOB, whereas the second method uses a method of pre-determining and storing specific information to solve this problem.

상기 방법 중 어떠한 방법을 이용한다 하더라도 사용자가 RDBMS에 저장된 메타데이터(metadata)를 조회하기 위해 복잡한 절차를 거쳐야 한다는 문제점이 있었다.Regardless of which method is used, there is a problem in that the user has to go through a complicated procedure to retrieve metadata stored in the RDBMS.

도 1은 종래기술에 따른 관계형 데이터베이스(RDBMS)에 저장된 메타데이터를 조회하는 절차를 나타내는 도면이다.1 is a diagram illustrating a procedure for querying metadata stored in a relational database (RDBMS) according to the prior art.

종래에는 사용자가 메타데이터를 조회하기 위한 프로그램을 실행하고, 폴더 네비게이션을 통해 사용자가 조회하기 위한 필드(field)를 선택한 후, 해당 필드의 편집기능을 입력하였다. 그리고, 사용자가 조회하고자 하는 메타데이터를 추출하기 위한 쿼리를 조회하여 입력하면, 해당 쿼리에 상응하는 항목리스트가 출력되고, 사 용자로부터 항목리스트에서 특정 건을 입력 받으면 해당 항목 참조 오브젝트를 조회할 수 있는 화면이 개시되었다. Conventionally, a user executes a program for searching metadata, selects a field for searching by the user through folder navigation, and inputs an editing function of the corresponding field. If the user searches and inputs a query for extracting metadata to be searched, an item list corresponding to the query is displayed. When a specific case is input from the user, the item reference object can be inquired. A screen has been started.

즉, 사용자가 하나의 항목을 조회하기 위하여 복잡한 구성의 폴더를 클릭하여 찾아야 하고, 또한 사용자는 여러 경로를 클릭해야만 비로소 원하는 정보를 얻을 수 있다는 문제점이 있었다.In other words, the user has to click a folder having a complicated configuration in order to query a single item, and the user has to click on several paths to obtain the desired information.

따라서, 상술한 문제점들을 해결하기 위한 본 발명은 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 검색 식별 태그 정보별 고유한 프레임 정보가 관계형 데이터베이스에 미리 저장되어 있는 메타데이터(metadata) 관리 방법 및 이를 위한 시스템을 제안하는 것이다.Accordingly, the present invention for solving the above problems is a metadata management method and system for storing unique frame information for each search identification tag information for searching metadata stored in a relational database in advance in a relational database. I would suggest.

본 발명의 이외의 목적들은 하기의 실시예에 대한 설명을 통해 쉽게 이해될 수 있을 것이다.Other objects of the present invention will be readily understood through the description of the following examples.

상기 목적들을 달성하기 위하여, 본 발명의 일 측면에 의하면 XML(Extensible Markup Language) 기반의 메타데이터를 관계형 데이터베이스(Relational DBMS)로 구성하여 메타데이터를 관리하는 방법이 제공된다.In order to achieve the above object, according to an aspect of the present invention there is provided a method for managing metadata by configuring an XML (Extensible Markup Language) based metadata into a relational database (MS).

본 발명의 바람직한 일 실시예에 따른 XML(Extensible Markup Language) 기 반의 메타데이터를 관계형 데이터베이스(Relational DBMS)로 구성하여 메타데이터를 관리하는 방법에 있어서, XML 문서를 파싱(parsing)하여 테이블(table)을 생성하는 단계; 상기 생성된 테이블에 소정의 검색 식별 태그(tag) 정보를 추가하는 단계; 상기 검색 식별 태그 정보가 추가된 테이블 사이의 관계를 매핑(mapping)하는 단계; 상기 매핑된 테이블 사이의 관계를 상기 관계형 데이터베이스에 저장하는 단계를 포함하되, 상기 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 상기 검색 식별 태그 정보별 고유한 프레임 정보가 상기 관계형 데이터베이스에 미리 저장되는 것을 특징으로 하는 메타데이터 관리 방법이 제공된다.In a method of managing metadata by configuring an XML based Extensible Markup Language (XML) based relational database according to an embodiment of the present invention, parsing an XML document to a table Generating a; Adding predetermined search identification tag information to the generated table; Mapping a relationship between tables to which the search identification tag information is added; And storing the relationship between the mapped tables in the relational database, wherein unique frame information for each search identification tag information for metadata inquiry stored in the relational database is previously stored in the relational database. A metadata management method is provided.

본 발명의 다른 일 측면에 의하면 관계형 데이터베이스로 구성된 XML 기반의 메타데이터를 조회하는 방법이 제공된다.According to another aspect of the present invention, a method for querying XML-based metadata composed of a relational database is provided.

본 발명의 일 실시예에 따른 검색 식별 태그 정보를 포함하는 사용자 인터페이스(user interface)를 제공하는 단계; 상기 제공된 사용자 인터페이스에 포함된 상기 검색 식별 태그 정보 중 하나를 선택 받는 단계; 상기 선택된 검색 식별 태그 정보에 상응하는 메타데이터 및 상기 선택된 검색 식별 태그 정보에 상응하는 프레임 정보를 독출하는 단계; 및 상기 독출된 메타데이터와 프레임 정보를 이용하여 메타데이터 조회를 위한 조회화면을 구성하여 출력하는 단계를 포함하는 것을 특징으로 하는 메타데이터 조회 방법이 제공된다.Providing a user interface including search identification tag information according to an embodiment of the present invention; Receiving one of the search identification tag information included in the provided user interface; Reading metadata corresponding to the selected search identification tag information and frame information corresponding to the selected search identification tag information; And constructing and outputting an inquiry screen for metadata inquiry using the read metadata and frame information.

본 발명의 또 다른 일 측면에 의하면 XML 기반의 메타데이터를 관계형 데이 터베이스로 구성하여 메타데이터를 관리하는 시스템이 제공된다.According to yet another aspect of the present invention, there is provided a system for managing metadata by configuring XML-based metadata as a relational database.

본 발명의 바람직한 일 실시예에 따른 XML 기반의 메타데이터를 관계형 데이터베이스로 구성하여 메타데이터를 관리하는 시스템에 있어서, XML 문서를 파싱하여 테이블로 변환하는 테이블 생성부; 상기 생성된 테이블에 소정의 검색 식별 태그 정보를 추가하는 태그 정보 생성부; 상기 검색 식별 태그 정보가 추가된 테이블 사이의 관계를 매핑하는 매핑부; 상기 매핑된 테이블 사이의 관계를 저장하는 관계형 데이터베이스; 및 상기 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 조회화면을 생성하는 뷰(view) 생성부를 포함하는 것을 특징으로 하는 메타데이터 관리 시스템이 제공된다.A system for managing metadata by configuring XML-based metadata as a relational database, comprising: a table generator for parsing an XML document and converting the XML document into a table; A tag information generation unit for adding predetermined search identification tag information to the generated table; A mapping unit for mapping a relationship between tables to which the search identification tag information is added; A relational database for storing relationships between the mapped tables; And a view generator for generating an inquiry screen for inquiring metadata stored in the relational database.

상술한 바와 같이 본 발명은 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 검색 식별 태그 정보별 고유한 프레임 정보가 관계형 데이터베이스에 미리 저장하므로, 사용자가 손쉽게 관계형 데이터베이스에 저장된 메타데이터(metadata)를 조회할 수 있다는 장점이 있다.As described above, according to the present invention, since unique frame information for each search identification tag information for searching metadata stored in the relational database is previously stored in the relational database, the user can easily query the metadata stored in the relational database. There is an advantage.

또한, 이렇게 구조화된 메타데이터(metadata)는 사용자에게 제공되어 비정형분석을 좀더 쉽고 정확하게 할 수 있다는 장점이 있다.In addition, this structured metadata (metadata) is provided to the user has the advantage that can be more easily and accurately atypical analysis.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 해당 구성요소들은 상기 용어들에 의해 한정되지는 않으며, 단지 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. The terms first, second, A, B, etc. may be used to describe various components, but the components are not limited by the terms, but merely for distinguishing one component from other components. Only used as For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. The term and / or includes a combination of a plurality of related items or any item of a plurality of related items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지 다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof described in the specification, and one or more other It is to be understood that the present invention does not exclude the possibility of the presence or the addition of features, numbers, steps, operations, components, parts, or a combination thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail an embodiment of the present invention. Hereinafter, the same reference numerals are used for the same components in the drawings, and duplicate descriptions of the same components are omitted.

도 2는 본 발명의 일 실시예에 따른 XML 문서를 RDBMS에 저장하는 과정을 개략적으로 나타낸 도면이다.2 is a diagram schematically illustrating a process of storing an XML document in an RDBMS according to an embodiment of the present invention.

XML 문서의 구조를 분석한다. XML 문서의 구조 분석 대상은 예를 들어 엘리먼트(element), 어트리뷰트(attribute) 및 스키마 정보(schema information)가 될 수 있다.Analyze the structure of an XML document. The structure analysis target of the XML document may be, for example, an element, an attribute, and schema information.

XML 문서의 구조를 분석하여 분석한 내용을 토대로 정규화(normalizing)시킨 후 파서(parser)를 이용하여 XML 문서를 순차적으로 로딩한다. 로딩된 XML 문서는 표준 변환 규칙에 의해 관계형 데이터베이스에 저장될 수 있는 형태로 변환되고, 예를 들면 엘리먼트(element)별로 표준 변환 규칙에 의거하여 테이블 형태로 변환된다.After analyzing the structure of the XML document and normalizing it based on the analyzed content, the XML document is sequentially loaded using a parser. The loaded XML document is converted into a form that can be stored in a relational database by standard conversion rules, and is converted into a table form based on standard conversion rules for each element.

상기와 같은 방법으로 변환되어 생성된 테이블 사이의 관계를 매핑(mapping)하여 관계형 데이터베이스에 저장할 수 있다.The relationship between the tables generated and converted in the above manner may be mapped and stored in a relational database.

도면에는 도시되지 않았지만, XML 문서를 테이블 형태로 변환 시 관계형 데이터베이스에 저장된 메타데이터(metadata) 조회를 손쉽게 하기 위해 테이블에 소정의 검색 식별 태그 정보를 추가할 수 있다.Although not shown in the drawing, in order to easily search the metadata stored in the relational database when converting the XML document into a table form, predetermined search identification tag information may be added to the table.

또한, 매핑된 테이블 및 테이블 사이의 관계를 관계형 데이터베이스에 저장시, 추가된 검색 식별 태그 정보 별로 고유한 프레임 정보를 각각 구성하여 관계형 데이터베이스에 추가하여 저장할 수 있다.In addition, when the mapped table and the relationship between the tables are stored in the relational database, frame information unique to each added search identification tag information may be configured and added to the relational database.

도 3은 본 발명의 일 실시예에 따른 XML 기반의 메타데이터를 관계형 데이터베이스로 구성하여 메타데이터를 관리하는 시스템의 구성을 도시한 구성도이다.3 is a block diagram illustrating a configuration of a system for managing metadata by configuring XML-based metadata as a relational database according to an embodiment of the present invention.

도 3을 참조하면, 메타데이터 관리 시스템은 테이블 생성부(410), 태그 정보 생성부(420), 매핑부(430), 뷰 생성부(440) 및 관계형 데이터베이스(RDBMS)(450)를 포함한다.Referring to FIG. 3, the metadata management system includes a table generator 410, a tag information generator 420, a mapping unit 430, a view generator 440, and a relational database (RDBMS) 450. .

도 3에는 도시되지 않았으나, 메타데이터 관리 시스템의 각 구성요소를 제어하는 신호를 생성하여 출력하는 제어부, 외부로부터 제어 명령을 입력 받는 입력부 및 메타데이터 관리 시스템의 처리 결과를 출력하는 출력부 등이 더 포함될 수 있음은 자명하다.Although not shown in FIG. 3, a controller for generating and outputting a signal for controlling each component of the metadata management system, an input unit for receiving a control command from the outside, and an output unit for outputting a processing result of the metadata management system are further included. It may be included.

테이블 생성부(410)는 XML 문서를 파싱하여 XML 문서의 각 엘리먼트(element)들을 테이블 형태로 변환한다.The table generator 410 parses an XML document and converts each element of the XML document into a table form.

테이블 생성부(410)에는 XML 문서를 파싱하는 파서를 포함할 수 있다. The table generator 410 may include a parser for parsing an XML document.

파서(parser)(415)는 XML 문서를 해독한다. XML 문서의 엘리먼트(element)는 계층 구조로 형성되어 있기 때문에, XML 문서는 모든 정보를 포함하는 트리 및 테이블의 형태로 나타내어 질 수 있다. 서브 엘리먼트(element)는 상위 엘리먼트(element)의 서브 노드로 나타내며 어트리뷰트(attribute) 또한 어트리뷰트가 정의된 엘리먼트(element)의 서브 노드로 인식될 수 있다. Parser 415 decrypts the XML document. Since the elements of the XML document are formed in a hierarchical structure, the XML document can be represented in the form of a tree and a table including all information. A sub element is represented as a sub node of an upper element and an attribute may also be recognized as a sub node of an element in which an attribute is defined.

파서(415)에는 트리 기반의 DOM(Document Object Model) 파서와 이벤트 기반의 SAX(Simple API for XML)가 있으며, DOM 파서는 XML의 구조와 정보로의 접근을 용이하게 하고, 그것의 조작을 가능하게 하는 표준 인터페이스를 제공하며, XML 문서를 계층적인 노드의 형태로 파싱할 수 있다.The parser 415 includes a tree-based Document Object Model (DOM) parser and an event-based Simple API for XML (SAX). The DOM parser facilitates access to the structure and information of the XML and enables its manipulation. It provides a standard interface that allows you to parse XML documents in the form of hierarchical nodes.

반면에 SAX 파서는 XML 문서를 처리하기 위해 각각의 엘리먼트(element)에 대한 이벤트를 발생시켜 문서를 해석하는 파서를 의미하는 것이다.A SAX parser, on the other hand, is a parser that parses a document by firing an event for each element to process the XML document.

도 3을 참조하면 파서(415)는 테이블 생성부(410)의 일 구성요소인 것으로 도시되었으나, 파서(415)는 XML 문서를 파싱할 수 있으면 그 종류는 무관하고, 테이블 생성부(410)와는 별개의 구성 요소일 수 있다.Referring to FIG. 3, the parser 415 is illustrated as a component of the table generator 410, but the parser 415 is irrelevant if the parser 415 can parse an XML document, and is not related to the table generator 410. It may be a separate component.

태그 정보 생성부(420)는 테이블 생성부(410)에서 생성된 테이블에 소정의 검색 식별 태그 정보를 추가한다. 검색 식별 태그 정보는 사용자가 보다 수월하게 관계형 데이터베이스(450)에 저장된 메타데이터를 조회할 수 있도록 하기 위한 정보로서, 태그 정보 생성부(420)에서 생성하여 테이블에 추가시킨다.The tag information generator 420 adds predetermined search identification tag information to the table generated by the table generator 410. The search identification tag information is information for enabling a user to easily look up the metadata stored in the relational database 450. The search identification tag information is generated by the tag information generator 420 and added to the table.

검색 식별 태그 정보는 사용자가 조회하고자 하는 메타데이터의 유형에 따라 제1 태그 정보, 제2 태그 정보 및 제3 태그 정보등과 같이 그 종류를 달리 할 수 있다. 각각의 태그 정보는 조회하고자 하는 메타데이터의 유형을 달리함을 나타내는 것이다.The search identification tag information may vary in kind, such as first tag information, second tag information, and third tag information, depending on the type of metadata that the user wants to search. Each tag information represents a different type of metadata to be queried.

예를 들어 발명의 이해 및 설명의 편의를 위해 사용자가 조회하고자 하는 메타데이터의 유형이 관계형 데이터베이스(450)에 저장된 물리적인 메타데이터, 관계형 데이터베이스(450)에서 가공된 메타데이터 및 리포트 생성자에게 직접적으로 표출되는 메타데이터의 3가지 유형이 있다고 가정한다.For example, for convenience of understanding and explanation of the invention, the type of metadata that the user wants to query is directly related to the physical metadata stored in the relational database 450, the metadata processed in the relational database 450, and the report creator. Assume there are three types of metadata to be displayed.

즉, 상기 예에서 물리적인 메타데이터는 관계형 데이터베이스(450)에 저장될 때 아무런 가공 없이 그대로 저장된 메타데이터를 의미하는 것으로서, 엔티티(entity)명, 어트리뷰트(attribute)명, 테이블(table)명, 컬럼(column)명, 및 테이블간 연결(join)정보 등을 포함할 수 있다.That is, in the above example, the physical metadata refers to the metadata stored as it is without any processing when stored in the relational database 450. An entity name, an attribute name, a table name, a column It may include a column name and join information between tables.

또한, 가공된 메타데이터는 관계형 데이터베이스(450)에 저장될 때 소정의 방법으로 가공된 메타데이터로서, 계산식 또는 물리적인 메타데이터와 가공된 메타데이터의 연결(join)정보 등을 포함할 수 있다.In addition, the processed metadata may be processed metadata in a predetermined method when stored in the relational database 450, and may include join information of a calculated or physical metadata and the processed metadata.

또한, 리포트 생성자에게 직접적으로 표출되는 메타데이터는 메타데이터의 크기(Dimension) 정보, 측정(Measure)정보, 필터(Filter) 정보 및 이들과 연결된 물리적인 테이블과 컬럼 정보 등을 포함할 수 있다.In addition, the metadata that is directly expressed to the report creator may include dimension information, measurement information, filter information, and physical table and column information connected thereto.

상기 예와 같이 사용자가 조회하고자 하는 메타데이터의 유형에 따라 메타데이터를 포함하는 테이블들을 매핑하고, 이를 조회할 수 있는 프레임 정보를 미리 저장하면 사용자가 보다 손쉽게 특정 유형의 메타데이터를 조회할 수 있다는 장점이 있다.As shown in the example above, mapping the tables including metadata according to the type of metadata to be searched by the user, and storing the frame information to search the information in advance, makes it easier for the user to search the specific type of metadata. There is an advantage.

본 발명의 일 실시예에 따른 검색 식별 태그 정보를 테이블에 추가하는 방법은, XML 문서가 변환된 테이블에 새로운 어트리뷰트를 첨부하고, 첨부된 어트리뷰트에 검색 식별 태그 정보 값을 삽입하여 생성할 수 있다. According to an embodiment of the present invention, a method of adding search identification tag information to a table may be generated by attaching a new attribute to a table to which an XML document is converted and inserting a search identification tag information value into an attached attribute.

테이블에 첨부된 어트리뷰트는 검색 식별 태그 정보가 삽입될 장소로서 어트리뷰트를 첨부하는 방법은 다양한 방법으로 변경하여 실시가 가능하다. 예를 들면, 테이블에 필드(filed)를 하나 추가하는 방법으로 구현될 수 있으며, 테이블에 연결 리스트(linked list)를 연결하여 구현될 수 있다.The attribute attached to the table is the place where the search identification tag information is inserted. The method of attaching the attribute can be changed in various ways. For example, it can be implemented by adding a filed to a table, or by linking a linked list to a table.

상기와 같이 첨부된 어트리뷰트에 검색 식별 태그 정보 값을 삽입하여 사용자가 메타데이터 조회시 해당 검색 식별 태그 정보를 선택하는 경우 선택된 검색 식별 태그 정보에 상응하는 테이블에 저장된 메타데이터를 사용자에게 제공할 수 있다.By inserting the search identification tag information value in the attached attribute as described above, when the user selects the corresponding search identification tag information when the metadata is searched, metadata stored in a table corresponding to the selected search identification tag information may be provided to the user. .

또한 태그 정보 생성부(420)에서 삽입된 검색 식별 태그 정보를 이용하여 뷰생성부(440)에서 관계형 데이터베이스(450)에 저장된 메타데이터 조회를 위한 조회화면을 생성할 수 있다. 뷰생성부(440)에서 조회화면을 생성하는 방법에 대해서는 후술하기로 한다.In addition, the view generation unit 440 may generate an inquiry screen for metadata inquiry stored in the relational database 450 using the search identification tag information inserted by the tag information generation unit 420. A method of generating an inquiry screen in the view generator 440 will be described later.

매핑부(430)는 태그 정보 생성부(420)에서 검색 식별 태그 정보가 추가된 테이블 사이의 관계를 매핑한다. XML 문서를 파싱하면 복수 개의 테이블이 생성될 것이고 각 테이블에는 태그 정보 생성부(420)에서 추가된 소정의 검색 식별 태그 정보 값이 첨부되어 있다. 매핑부(430)는 검색 식별 태그 정보 별로 그룹핑(grouping) 및 매핑(mapping)하여 각 테이블 간의 관계를 설정한다. The mapping unit 430 maps the relationship between the tables to which the search identification tag information is added in the tag information generation unit 420. Parsing an XML document will generate a plurality of tables, with each table appended with a predetermined search identification tag information value added by the tag information generation unit 420. The mapping unit 430 sets the relationship between each table by grouping and mapping for each search identification tag information.

매핑하는 방법에 대해서는 다양한 방법으로 관련 분야의 통상의 지식을 가진 자에게 용이하게 변경 실시가 가능하다. 일 실시예로서, 메타데이터의 동일한 엘리먼트(element)끼리 연결하여 조회화면 구성시 같은 프레임에 구성되도록 할 수 있다.The mapping method can be easily changed and implemented by those skilled in the related art in various ways. As an embodiment, the same elements of the metadata may be connected to be configured in the same frame when the inquiry screen is constructed.

즉, 매핑부(430)는 태그 정보 생성부(420)에서 추가된 검색 식별 태그 정보를 기준으로 동일한 검색 식별 태그 정보를 갖는 테이블끼리 매핑할 수 있다.That is, the mapping unit 430 may map tables having the same search identification tag information based on the search identification tag information added by the tag information generation unit 420.

이와 같이 매핑하게 되는 경우 사용자가 특정 쿼리를 통해 조회를 요청하는 경우 매핑된 엘리먼트(element)들의 메타데이터를 사용자에게 제공할 수 있어 사용자는 보다 손쉽게 관계형 데이터베이스에 저장된 메타데이터를 조회할 수 있다는 장점이 있다.In this case, when the user requests a query through a specific query, the metadata of the mapped elements can be provided to the user so that the user can more easily search the metadata stored in the relational database. have.

뷰 생성부(440)는 관계형 데이터베이스(450)에 저장된 메타데이터 조회를 위한 조회화면을 생성한다.The view generator 440 generates an inquiry screen for inquiring metadata stored in the relational database 450.

종래에는 사용자가 원하는 메타데이터를 조회하기 위해서는 여러 단계를 거치거나 특정 항목을 조회하기 위하여 복잡한 구성의 폴더를 일일이 클릭하여 찾아야 한다는 문제점이 있었다.In the related art, in order to inquire metadata desired by a user, there is a problem in that a folder having a complicated configuration must be searched by clicking a folder in order to search a specific item.

뷰 생성부(440)는 테이블을 관계형 데이터베이스(450)에 저장하기 전에 검색 식별 태그 정보별 고유한 조회화면을 생성한다. 뷰 생성부(440)에서 조회화면을 생성하는 방법은 다양한 방법으로 변경실시 가능하다.The view generator 440 generates a unique search screen for each search identification tag information before storing the table in the relational database 450. The view generating unit 440 generates a search screen in various ways.

본 발명에 따른 실시예에 따라, 뷰 생성부(440)는 조회화면을 구성하는 프레임 정보를 생성하고, 생성된 프레임에 테이블을 연결하여 조회화면을 구성할 수 있다.According to an embodiment of the present invention, the view generator 440 may generate the frame information constituting the inquiry screen, and configure the inquiry screen by connecting a table to the generated frame.

설명 및 이해의 편의를 위해 예를 들어 설명하면, 검색 식별 태그 정보를 'A'라고 가정하고, 'A'와 관련된 메타데이터를 조회하기 위한 조회화면을 구성한다고 가정한다.For example, for convenience of explanation and understanding, it is assumed that search identification tag information is assumed to be 'A', and an inquiry screen for searching metadata related to 'A' is configured.

이 경우 뷰 생성부(440)는 'A'와 관련된 메타데이터를 조회하기 위한 프레임 정보를 생성하고, 'A' 검색 식별 태그 정보를 가진 테이블을 연결시키는 방법으로 조회화면을 구성할 수 있다. 즉, 'A'와 관련된 메타데이터를 조회하기 위한 구성하는 프레임 중 특정 공간에 'A' 검색 식별 태그 정보를 가진 테이블의 메타데이터가 출력될 수 있도록 상호간에 연결시키는 방법으로 구성될 수 있다.In this case, the view generator 440 may generate an inquiry screen by generating frame information for searching metadata related to 'A' and linking tables having 'A' search identification tag information. That is, it may be configured by a method of connecting to each other so that the metadata of the table having the 'A' search identification tag information is output in a specific space among the frames for configuring the metadata related to 'A'.

관계형 데이터베이스(450)는 매핑부(430)에서 매핑된 테이블 사이의 관계가 저장된다.The relational database 450 stores relationships between tables mapped by the mapping unit 430.

또한, 관계형 데이터베이스(450)는 뷰 생성부(440)에서 생성한 프레임 정보가 저장된다. In addition, the relational database 450 stores frame information generated by the view generator 440.

종래에는 XML 문서를 파싱하여 생성된 테이블 또는 트리 객체를 관계형 데이터베이스에 저장하여 사용자에게 제공하였기 때문에 사용자가 특정 메타데이터를 조회하는 데 매우 복잡한 절차를 거쳐야 한다는 문제점이 있었다. 관계형 데이터베이스(450)에 조회화면 구성을 위한 프레임 정보를 미리 저장해 두는 경우, 사용자에게 보다 수월하게 메타데이터를 검색할 수 있는 조회화면을 제공할 수 있다는 장점이 있다.Conventionally, since a table or tree object generated by parsing an XML document is stored in a relational database and provided to a user, there is a problem in that the user has to go through a very complicated procedure to look up specific metadata. In the case where the frame information for constructing the inquiry screen is stored in advance in the relational database 450, there is an advantage in that the inquiry screen for searching the metadata can be provided to the user more easily.

도 4는 본 발명의 일 실시예에 따른 테이블 사이의 관계를 매핑된 형태를 나타낸 도면이다. 4 is a diagram illustrating a mapped form of a relationship between tables according to an embodiment of the present invention.

도 4에 따르면 테이블의 앞쪽에 검색 식별 태그 정보가 추가됨을 알 수 있으며, 검색 식별 태그 정보는 태그 정보 생성부(420)에서 추가됨은 상기에서 설명한 바와 같다.According to FIG. 4, it can be seen that search identification tag information is added to the front of the table, and the search identification tag information is added by the tag information generation unit 420 as described above.

본 발명의 일 실시예에 따른 테이블 사이의 관계를 매핑하는 방법은, 동일한 검색 식별 태그 정보를 갖는 테이블들을 하나의 그룹으로 묶어 매핑할 수 있다. According to an embodiment of the present invention, a method of mapping relationships between tables may be performed by mapping tables having the same search identification tag information into a group.

동일한 검색 식별 태그 정보를 가진 테이블 사이에 부모(parent) 테이블 및 자식(son) 테이블을 구성하여 매핑할 수 있으며, 각 테이블간 연결 리스트로 연결하는 방법으로 매핑할 수 있다. A parent table and a son table can be configured and mapped between tables having the same search identification tag information, and can be mapped by connecting to a linked list between each table.

또한 테이블 사이의 매핑은 비순환 연결 리스트(non-circular linked list) 또는 순환 연결 리스트(circular linked list)로 구성될 수 있으며 테이블 사이의 매핑은 다양한 방법으로 변경하여 실시 가능하다.In addition, the mapping between tables may be composed of a non-circular linked list or a circular linked list. The mapping between tables may be changed in various ways.

도 5는 본 발명의 일 실시예에 따른 XML 기반의 메타데이터를 관계형 데이터 베이스로 구성하여 메타데이터를 관리하는 과정을 나타내는 순서도이다.5 is a flowchart illustrating a process of managing metadata by configuring XML-based metadata in a relational database according to an embodiment of the present invention.

단계 S610에서 테이블 생성부(410)는 XML 문서를 파싱하여 테이블을 생성한다. XML 문서를 파싱하기 위해 테이블 생성부(410)에는 파서(415)를 포함할 수 있으며, 파서(415)는 DOM 파서 또는 SAX 파서가 이용될 수 있음은 상기에서 설명한 바 있으므로 이에 대한 상세한 설명은 생략하기로 한다.In operation S610, the table generator 410 parses an XML document to generate a table. In order to parse an XML document, the table generator 410 may include a parser 415. The parser 415 may be a DOM parser or a SAX parser, and thus, a detailed description thereof will be omitted. Let's do it.

이후 단계 S620으로 진행하여 단계 S610에서 생성된 테이블에 소정의 검색 식별 태그 정보를 추가한다. 검색 식별 태그 정보는 관계형 데이터베이스(450)에 저장된 메타데이터 조회를 위한 프레임 정보를 생성하고, 동일한 검색 식별 태그 정보를 갖는 테이블 사이의 관계를 매핑하기 위한 것은 상기에서 설명한 바와 같다.Thereafter, the process proceeds to step S620 in which predetermined search identification tag information is added to the table generated in step S610. The search identification tag information generates frame information for metadata inquiry stored in the relational database 450, and mapping the relationship between tables having the same search identification tag information is as described above.

검색 식별 태그 정보를 추가하는 방법으로 단계 S610에서 생성된 테이블에 어트리뷰트를 첨부하고, 첨부된 어트리뷰트에 검색 식별 태그 정보 값을 삽입함으로써 검색 식별 태그 정보를 추가할 수 있다. 검색 식별 태그 정보를 추가하는 방법은 이 외에도 다양한 방법으로 용이하게 변경 실시 가능하다.The search identification tag information may be added by attaching an attribute to the table generated in step S610 and inserting a search identification tag information value in the attached attribute as a method of adding search identification tag information. The method of adding the search identification tag information can be easily changed in various ways.

단계 S630에서 매핑부(430)에서 테이블 사이의 관계를 매핑한다. 테이블 사이의 매핑은 단계 S620에서 추가된 검색 식별 태그 정보를 이용하여 동일한 검색 식별 태그 정보를 갖는 테이블을 그룹핑(grouping)하는 형식으로 매핑할 수 있다.In operation S630, the mapping unit 430 maps the relationship between the tables. The mapping between the tables may be mapped in a form of grouping tables having the same search identification tag information by using the search identification tag information added in step S620.

이후 단계 S640에서 검색 식별 태그 정보 별로 고유한 프레임 정보를 생성한다. 검색 식별 태그 정보 별로 조회화면의 구성은 상이함은 상기에서 설명한 바와 같으며, 검색 식별 태그 정보별로 다른 조회화면을 구성하는 프레임 정보를 미리 관계형 데이터베이스에 저장함으로써, 사용자가 보다 수월하게 메타데이터를 조회할 수 있는 장점이 있다.Thereafter, in step S640, unique frame information is generated for each search identification tag information. The configuration of the inquiry screen for each search identification tag information is different as described above, and the user can easily search the metadata by storing the frame information constituting the inquiry screen different for each search identification tag information in a relational database in advance. There is an advantage to this.

이후 단계 S650으로 진행하여, 단계 S620에서 검색 식별 태그 정보가 추가된 테이블, 단계 S630에서 매핑된 테이블 사이의 관계 정보 및 단계 S640에서 생성된 검색 식별 태그 정보별로 고유한 조회화면을 구성하는 프레임 정보를 관계형 데이터베이스에 저장한다.Subsequently, the process proceeds to step S650, in which the frame information constituting a unique inquiry screen for each table including search identification tag information added in step S620, relationship information between tables mapped in step S630, and search identification tag information generated in step S640 is obtained. Store in a relational database.

도 6은 본 발명의 일 실시예에 따른 메타데이터를 조회하기 위해 사용자에게 제공되는 화면의 예시를 예시도이다.6 illustrates an example of a screen provided to a user for inquiring metadata according to an embodiment of the present invention.

도 6을 참조하면 검색 식별 태그 정보를 포함하는 사용자 인터페이스(750)의 구성과 특정 검색 태그 정보를 사용자로부터 선택 받게 되는 경우 보여지는 조회화면(760)을 나타내고 있다.Referring to FIG. 6, a configuration of a user interface 750 including search identification tag information and an inquiry screen 760 shown when a user selects specific search tag information are shown.

발명의 이해 및 설명의 편의를 위해 사용자가 조회하기 위한 메타데이터 유형이 3가지이고, 그 유형을 'Data view'(710), 'Performance view'(720) 및 'Business view'(730)라고 가정한다.For convenience of understanding and explanation of the invention, it is assumed that there are three types of metadata for the user to query, and the types are 'Data view' 710, 'Performance view' 720 and 'Business view' 730. do.

사용자가 사용자 인터페이스(750)을 통해 'Data view'(710) 유형의 메타데이터 정보를 조회하기 위해 'Data view'(710) 검색 식별 태그 정보를 선택하고, 해당 메타데이터의 조회를 요청하는 경우 조회화면(760)이 출력된다. When the user selects the 'Data view' 710 search identification tag information to look up metadata information of type 'Data view' 710 through the user interface 750, and requests the inquiry of the corresponding metadata The screen 760 is output.

조회화면(760)은 각 검색 식별 태그 정보마다 고유한 화면을 구성하고 있으며, 각 조회화면을 구성하는 프레임 정보는 미리 관계형 데이터베이스(450)에 저장 됨은 상기에서 설명한 바와 같다.The inquiry screen 760 configures a unique screen for each search identification tag information, and the frame information constituting each inquiry screen is previously stored in the relational database 450 as described above.

도 6의 사용자 인터페이스(750) 및 조회화면(760)의 프레임 구성은 하나의 실시예임에 불과하고, 사용자 인터페이스의 구성 및 조회화면의 프레임 구성은 통상의 지식을 가진 자가 용이하게 변경하여 실시 가능함은 자명하다.The frame configuration of the user interface 750 and the inquiry screen 760 of FIG. 6 is just one embodiment, and the user interface configuration and the frame configuration of the inquiry screen can be easily changed and implemented by those skilled in the art. Self-explanatory

도 7을 참조하여 본 발명의 실시예에 따른 관계형 데이터베이스로 구성된 XML 기반의 메타데이터를 조회하는 방법에 대해 살펴보기로 한다.A method of querying XML-based metadata composed of a relational database according to an embodiment of the present invention will be described with reference to FIG. 7.

도 7은 본 발명의 일 실시예에 따른 관계형 데이터베이스로 구성된 XML 기반의 메타데이터를 조회하는 과정을 나타낸 순서도이다. 7 is a flowchart illustrating a process of querying XML-based metadata composed of a relational database according to an embodiment of the present invention.

단계 S810에서 관계형 데이터베이스에 저장된 메타데이터를 조회하기 위한 사용자 인터페이스(user interface)를 제공한다. 사용자에게 제공되는 사용자 인터페이스의 일부는 검색 식별 태그 정보도 함께 제공한다. 검색 식별 태그 정보는 사용자가 조회할 메타데이터의 유형을 나타내는 정보로서 사용자의 선택을 받기 위해 사용자 인터페이스에 포함되어 제공된다.In operation S810, a user interface for querying metadata stored in the relational database is provided. Part of the user interface provided to the user also provides search identification tag information. The search identification tag information is information indicating the type of metadata to be queried by the user and is included in the user interface to be selected by the user.

단계 S820에서 사용자로부터 검색 식별 태그 정보를 선택 받은 후 단계 S830에서 선택된 검색 식별 태그 정보에 상응하는 프레임 정보를 독출한다.After the search identification tag information is selected from the user in step S820, the frame information corresponding to the search identification tag information selected in step S830 is read.

프레임 정보는 검색 식별 태그 정보마다 각각 고유한 것으로 사용자가 보다 수월하게 메타데이터를 조회할 수 있도록 하는 정보이며, 프레임 정보는 관계형 데이터베이스(450)에 미리 저장된 것임은 상기에서 설명한 바와 같다. The frame information is unique to each search identification tag information and is information that allows a user to easily search metadata, and the frame information is previously stored in the relational database 450 as described above.

단계 S840에서는 사용자로부터 선택된 검색 식별 태그 정보에 상응하는 메타 데이터를 독출한다. In operation S840, metadata corresponding to the search identification tag information selected by the user is read.

관계형 데이터베이스(450)에 저장된 메타데이터는 검색 식별 태그 정보가 추가되어 저장되어 있으므로, 사용자로부터 선택된 검색 식별 태그 정보와 상응하는 메타데이터를 독출하는 방법에 대한 구현은 통상의 지식을 가진 자에게 자명하다.Since metadata stored in the relational database 450 is stored by adding search identification tag information, an implementation of a method of reading metadata corresponding to search identification tag information selected by a user is obvious to those skilled in the art. Do.

단계 S850에서 단계 S830 및 단계 S840에서 독출된 프레임 정보 및 메타데이터를 조합하여 조회화면을 구성한다. 프레임 정보와 메타데이터를 조합하여 조회화면을 구성하는 방법에 대해서는 상기에서 상세하게 설명한 바 이에 대한 설명은 생략한다.In step S850, the inquiry screen is configured by combining the frame information and the metadata read in steps S830 and S840. A method of composing an inquiry screen by combining frame information and metadata is described in detail above, and a description thereof will be omitted.

단계 S830과 단계 S840은 그 순서가 바뀌어도 무방하며, 동시에 이루어져도 무방하다. 즉, 사용자로부터 선택된 검색 식별 태그 정보에 상응하는 프레임 정보와 메타데이터를 독출하는데 있어서 프레임 정보를 먼저 독출해도 되며, 메타데이터를 먼저 독출해도 무관하다. 또한, 프레임 정보와 메타데이터를 동시에 독출해도 무관하다.The order of steps S830 and S840 may be changed, or may be performed at the same time. That is, in reading frame information and metadata corresponding to the search identification tag information selected by the user, the frame information may be read first or the metadata may be read first. It is also possible to read frame information and metadata at the same time.

이후 단계 S860으로 진행하여 단계 S850에서 구성된 조회화면을 사용자에게 출력하고, 사용자는 원하는 유형의 메타데이터를 보다 손쉽게 조회할 수 있다.Subsequently, the process proceeds to step S860 and the inquiry screen configured in step S850 is output to the user, and the user can search the desired type of metadata more easily.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although described above with reference to a preferred embodiment of the present invention, those skilled in the art that various modifications of the present invention without departing from the spirit and scope of the invention described in the claims below And can be changed.

도 1은 종래기술에 따른 관계형 데이터베이스(RDBMS)에 저장된 메타데이터를 조회하는 절차를 나타내는 도면.1 is a diagram illustrating a procedure for querying metadata stored in a relational database (RDBMS) according to the prior art.

도 2는 본 발명의 일 실시예에 따른 XML 문서를 RDBMS에 저장하는 과정을 개략적으로 나타낸 도면.2 is a diagram schematically illustrating a process of storing an XML document in an RDBMS according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 XML 기반의 메타데이터를 관계형 데이터베이스로 구성하여 메타데이터를 관리하는 시스템의 구성을 도시한 구성도.3 is a block diagram illustrating a configuration of a system for managing metadata by configuring XML-based metadata in a relational database according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 테이블 사이의 관계를 매핑된 형태를 나타낸 도면.4 is a diagram illustrating a mapped form of relationships between tables according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 XML 기반의 메타데이터를 관계형 데이터베이스로 구성하여 메타데이터를 관리하는 과정을 나타내는 순서도.5 is a flowchart illustrating a process of managing metadata by configuring XML-based metadata in a relational database according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 메타데이터를 조회하기 위해 사용자에게 제공되는 화면의 예시를 예시도.6 illustrates an example of a screen provided to a user for querying metadata according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 관계형 데이터베이스로 구성된 XML 기반의 메타데이터를 조회하는 과정을 나타낸 순서도.7 is a flowchart illustrating a process of querying XML-based metadata composed of a relational database according to an embodiment of the present invention.

Claims (13)

XML(Extensible Markup Language) 기반의 메타데이터를 관계형 데이터베이스(Relational DBMS)로 구성하여 메타데이터를 관리하는 방법에 있어서,In a method of managing metadata by configuring XML (Extensible Markup Language) based metadata into a relational database, XML 문서를 파싱(parsing)하여 테이블(table)을 생성하는 단계;Parsing an XML document to generate a table; 상기 생성된 테이블에 어트리뷰트(attribute)를 첨부하는 단계;Attaching an attribute to the generated table; 상기 어트리뷰트에 검색 식별 태그(tag) 정보를 추가하는 단계;Adding search identification tag information to the attribute; 상기 검색 식별 태그 정보가 추가된 테이블 사이의 관계를 매핑(mapping)하는 단계; 및Mapping a relationship between tables to which the search identification tag information is added; And 상기 매핑된 테이블 사이의 관계를 상기 관계형 데이터베이스에 저장하는 단계를 포함하되,Storing the relationship between the mapped tables in the relational database, 상기 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 상기 검색 식별 태그 정보별로 고유한 프레임 정보가 상기 관계형 데이터베이스에 미리 저장되는 것을 특징으로 하는 메타데이터 관리 방법.And frame information unique to each of the search identification tag information for searching the metadata stored in the relational database is previously stored in the relational database. 제1항에 있어서,The method of claim 1, 상기 XML 문서의 파싱은,Parsing the XML document is DOM(Document Object Model) 파서(parser) 또는 SAX(Simple API for XML) 파서(parser)를 이용하는 것을 특징으로 하는 메타데이터 관리 방법.A metadata management method comprising using a Document Object Model (DOM) parser or a Simple API for XML (SAX) parser. 삭제delete 제1항에 있어서,The method of claim 1, 상기 검색 식별 태그 정보는 상기 관계형 데이터베이스에 저장된 물리적인 메타데이터를 조회하기 위한 제1 태그 정보, 상기 관계형 데이터베이스에서 가공된 메타데이터를 조회하기 위한 제2 태그 정보 및 리포트 생성자에게 직접적으로 표출되는 메타데이터를 조회하기 위한 제3 태그 정보 중 적어도 하나를 포함하는 것을 특징으로 하는 메타데이터 관리 방법.The search identification tag information includes first tag information for querying physical metadata stored in the relational database, second tag information for querying metadata processed in the relational database, and metadata directly displayed to a report creator. Metadata management method comprising at least one of the third tag information for querying. 제4항에 있어서,The method of claim 4, wherein 상기 관계형 데이터베이스에 저장된 물리적인 메타데이터는,Physical metadata stored in the relational database, 엔티티(entity)명, 어트리뷰트(attribute)명, 테이블(table)명, 컬럼(column)명, 및 테이블간 연결(join)정보 중 적어도 하나인 것을 특징으로 하는 메타데이터 관리 방법.And at least one of an entity name, an attribute name, a table name, a column name, and inter-table join information. 제4항에 있어서,The method of claim 4, wherein 상기 관계형 데이터베이스에서 가공된 메타데이터는,Metadata processed in the relational database, 상기 관계형 데이터베이스에 저장된 물리적인 메타데이터와 상기 관계형 데이터베이스에서 가공된 메타데이터의 연결(join) 정보인 것을 특징으로 하는 메타데이터 관리 방법.Metadata connection method comprising physical metadata stored in the relational database and metadata processed in the relational database. 제4항에 있어서,The method of claim 4, wherein 상기 리포트 생성자에게 직접적으로 표출되는 메타데이터는,Metadata that is directly expressed to the report creator, 크기(Dimension) 정보, 측정(Measure)정보, 필터(Filter) 정보 중 적어도 하나인 것을 특징으로 하는 메타데이터 관리 방법.And at least one of dimension information, measurement information, and filter information. 관계형 데이터베이스로 구성된 XML 기반의 메타데이터를 조회하는 방법에 있어서,In the method for querying XML-based metadata composed of a relational database, 검색 식별 태그 정보를 포함하는 사용자 인터페이스(user interface)를 제공하는 단계;Providing a user interface including search identification tag information; 상기 제공된 사용자 인터페이스에 포함된 상기 검색 식별 태그 정보 중 하나를 선택 받는 단계; Receiving one of the search identification tag information included in the provided user interface; 상기 선택된 검색 식별 태그 정보에 상응하는 메타데이터 및 상기 선택된 검색 식별 태그 정보에 상응하는 프레임 정보를 독출하는 단계; 및Reading metadata corresponding to the selected search identification tag information and frame information corresponding to the selected search identification tag information; And 상기 독출된 메타데이터와 프레임 정보를 이용하여 메타데이터 조회를 위한 조회화면을 구성하여 출력하는 단계를 포함하는 것을 특징으로 하는 메타데이터 조회 방법.And constructing and outputting an inquiry screen for metadata inquiry by using the read metadata and frame information. XML 기반의 메타데이터를 관계형 데이터베이스로 구성하여 메타데이터를 관리하는 시스템에 있어서,In a system for managing metadata by configuring XML-based metadata as a relational database, XML 문서를 파싱하여 테이블로 변환하는 테이블 생성부;A table generator for parsing an XML document and converting the document into a table; 상기 테이블에 어트리뷰트를 첨부하고, 상기 어트리뷰트에 검색 식별 태그 정보를 추가하는 태그 정보 생성부;A tag information generation unit attaching an attribute to the table and adding search identification tag information to the attribute; 상기 검색 식별 태그 정보가 추가된 테이블 사이의 관계를 매핑하는 매핑부;A mapping unit for mapping a relationship between tables to which the search identification tag information is added; 상기 매핑된 테이블 사이의 관계를 저장하는 관계형 데이터베이스; 및A relational database for storing relationships between the mapped tables; And 상기 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 조회화면을 생성하는 뷰(view) 생성부를 포함하는 것을 특징으로 하는 메타데이터 관리 시스템.And a view generation unit for generating an inquiry screen for inquiring metadata stored in the relational database. 제9항에 있어서,The method of claim 9, 상기 테이블 생성부는,The table generator, 상기 XML 문서를 파싱하는 파서(parser)를 더 포함하는 것을 특징으로 하는 것을 특징으로 하는 메타데이터 관리 시스템.And a parser for parsing the XML document. 삭제delete 제9항에 있어서,The method of claim 9, 상기 매핑부는,The mapping unit, 상기 테이블에 추가된 검색 식별 정보 태그 정보에 상응하여 상기 테이블을 매핑하는 것을 특징으로 하는 메타데이터 관리 시스템.And mapping the table according to search identification information tag information added to the table. 제9항에 있어서,The method of claim 9, 상기 뷰 생성부는,The view generator, 상기 검색 식별 태그 정보를 이용하여 관계형 데이터베이스에 저장된 메타데이터 조회를 위한 프레임 정보를 생성하는 것을 특징으로 하는 메타데이터 관리 시스템.And generating frame information for querying metadata stored in a relational database using the search identification tag information.
KR1020080008000A 2008-01-25 2008-01-25 Method and system of management metadata using relational database management system KR100899616B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080008000A KR100899616B1 (en) 2008-01-25 2008-01-25 Method and system of management metadata using relational database management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080008000A KR100899616B1 (en) 2008-01-25 2008-01-25 Method and system of management metadata using relational database management system

Publications (1)

Publication Number Publication Date
KR100899616B1 true KR100899616B1 (en) 2009-05-27

Family

ID=40862531

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080008000A KR100899616B1 (en) 2008-01-25 2008-01-25 Method and system of management metadata using relational database management system

Country Status (1)

Country Link
KR (1) KR100899616B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101673151B1 (en) * 2016-05-19 2016-11-08 지티원 주식회사 Method and Apparatus for Analyzing Relationship Change of Program Source and DB Schema
KR101926165B1 (en) * 2018-06-29 2019-02-26 (주)성창 The document editing system of web-based hmi solution and document editing method by the system
KR102147528B1 (en) 2019-10-31 2020-08-24 (주)케이아이티원 Dynamic management system and method of table, attribute, relationship using relational database
KR20220052112A (en) * 2020-10-20 2022-04-27 대한민국(국가기록원) Method and system for preserving relational database
KR20230115499A (en) 2022-01-27 2023-08-03 한국전자통신연구원 Method and apparatus for managing relational database for content data
KR102615956B1 (en) 2023-09-04 2023-12-20 주식회사 위드퓨처 Metadata management system for data sharing between companies

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030027349A (en) * 2001-09-28 2003-04-07 주식회사 케이티 Document storage/rehabilitation apparatus and method for using relational database
KR20050116089A (en) * 2004-06-04 2005-12-09 (주)파슨텍 Fixed-rdbms model based indexing technology for massive xml data searching with different schema
KR20060067095A (en) * 2004-12-14 2006-06-19 한국전자통신연구원 Method and system for supporting xquery trigger in xml databases based on relational database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030027349A (en) * 2001-09-28 2003-04-07 주식회사 케이티 Document storage/rehabilitation apparatus and method for using relational database
KR20050116089A (en) * 2004-06-04 2005-12-09 (주)파슨텍 Fixed-rdbms model based indexing technology for massive xml data searching with different schema
KR20060067095A (en) * 2004-12-14 2006-06-19 한국전자통신연구원 Method and system for supporting xquery trigger in xml databases based on relational database

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101673151B1 (en) * 2016-05-19 2016-11-08 지티원 주식회사 Method and Apparatus for Analyzing Relationship Change of Program Source and DB Schema
KR101926165B1 (en) * 2018-06-29 2019-02-26 (주)성창 The document editing system of web-based hmi solution and document editing method by the system
KR102147528B1 (en) 2019-10-31 2020-08-24 (주)케이아이티원 Dynamic management system and method of table, attribute, relationship using relational database
KR20220052112A (en) * 2020-10-20 2022-04-27 대한민국(국가기록원) Method and system for preserving relational database
KR102453595B1 (en) * 2020-10-20 2022-10-14 (주)퍼스트정보 Method and system for preserving relational database
KR20230115499A (en) 2022-01-27 2023-08-03 한국전자통신연구원 Method and apparatus for managing relational database for content data
KR102615956B1 (en) 2023-09-04 2023-12-20 주식회사 위드퓨처 Metadata management system for data sharing between companies

Similar Documents

Publication Publication Date Title
US7231386B2 (en) Apparatus, method, and program for retrieving structured documents
CN102479252B (en) Query expression conversion apparatus and query expression conversion method
USRE48030E1 (en) Computer-implemented system and method for tagged and rectangular data processing
JP4822889B2 (en) Database integrated reference program, database integrated reference method, and database integrated reference device
US7293018B2 (en) Apparatus, method, and program for retrieving structured documents
US20140114994A1 (en) Apparatus and Method for Securing Preliminary Information About Database Fragments for Utilization in Mapreduce Processing
CN100541493C (en) The apparatus and method that are used for structured document management
KR101083563B1 (en) Method and System for Managing Database
KR100899616B1 (en) Method and system of management metadata using relational database management system
KR20090028758A (en) Methods and apparatus for reusing data access and presentation elements
US20060161525A1 (en) Method and system for supporting structured aggregation operations on semi-structured data
JP2008171181A (en) Structured data search apparatus
US7051016B2 (en) Method for the administration of a data base
US8412737B2 (en) Semi-structured data retrieval method, and structured date retrieval device
US20130297657A1 (en) Apparatus and Method for Forming and Using a Tree Structured Database with Top-Down Trees and Bottom-Up Indices
US8171040B2 (en) Method and system for navigation of a data structure
JP3914081B2 (en) Access authority setting method and structured document management system
EP2690563A1 (en) Method and device for reporting on data of documents generated from templates
KR100984976B1 (en) The integrating and searching method of alien 2-dimension table
JP2001092844A (en) Method and device for transforming inquiry to different kinds of information sources and storing medium storing program for transforming inquiry to different kinds of information sources
JP4649339B2 (en) XPath processing apparatus, XPath processing method, XPath processing program, and storage medium
US7805424B2 (en) Querying nested documents embedded in compound XML documents
JP2014089646A (en) Electronic data processor and electronic data processing method
Koch et al. Representation of CityGML instance models in BaseX
Muñoz-Sánchez et al. Managing Physical Schemas in MongoDB Stores

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130430

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140508

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150507

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160503

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170504

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20180503

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20190502

Year of fee payment: 11