KR20110066758A - Xml automatic generation system and method thereof - Google Patents

Xml automatic generation system and method thereof Download PDF

Info

Publication number
KR20110066758A
KR20110066758A KR1020090123528A KR20090123528A KR20110066758A KR 20110066758 A KR20110066758 A KR 20110066758A KR 1020090123528 A KR1020090123528 A KR 1020090123528A KR 20090123528 A KR20090123528 A KR 20090123528A KR 20110066758 A KR20110066758 A KR 20110066758A
Authority
KR
South Korea
Prior art keywords
xml
data
entity
service server
storage means
Prior art date
Application number
KR1020090123528A
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 KR1020090123528A priority Critical patent/KR20110066758A/en
Publication of KR20110066758A publication Critical patent/KR20110066758A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • G06F16/88Mark-up to mark-up conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE: An automatic XML generation system and a method thereof are provided to generate simply an input form and a XML dataset according to the input form by using an HTML editor based on XML modeling data. CONSTITUTION: An attribute about data entity is defined. An XML(eXtensible Markup Language) schema of a tree structure is comprised by using the data entity. A web form including the data entity is comprised by using an HTML(Hypertext Markup Language) editor. An XML dataset according to the configuration of the web form is generated. The XML data set is saved in storage means of a service server. The XML dataset saved in the storage means is distributed to a service user.

Description

XML 자동 생성 시스템 및 방법{XML automatic generation system and method thereof}XML automatic generation system and method

본 발명은 XML 자동 생성 시스템 및 방법에 관한 것이다. 더욱더 자세하게는, 미리 정의 되거나 새로 정의 되는 데이터 엔터티(data 데이터 엔터티)를 포함하는 웹 폼(form)을 편집 하고, 상기 편집 결과에 따른 XML 데이터를 생성하는 XML 자동 생성 시스템 및 방법에 관한 것이다.The present invention relates to an XML automatic generation system and method. More specifically, the present invention relates to an XML automatic generation system and method for editing a web form including a predefined or newly defined data entity and generating XML data according to the edit result.

XML(Extensible Markup Language)은 W3C(World Wide Web Consortium)에서 정의한 다른 특수 목적의 마크업(markup) 언어를 만드는 용도에 권장되는 다목적 마크업 언어이다. XML은 SGML(Standard Generalized Markup Language)의 단순화된 부분집합이지만, 수많은 종류의 데이터를 기술하는 데 적용할 수 있다. XML은 주로 다른 시스템, 특히 인터넷에 연결된 시스템끼리 데이터를 쉽게 주고 받을 수 있게 하여 HTML(Hyper Text Markup Language)의 한계를 극복할 목적으로 만들어졌다.Extensible Markup Language (XML) is a multipurpose markup language that is recommended for creating other special-purpose markup languages defined by the World Wide Web Consortium (W3C). XML is a simplified subset of the Standard Generalized Markup Language (SGML), but it can be applied to describing many kinds of data. XML is primarily intended to overcome the limitations of Hyper Text Markup Language (HTML) by making it easy to send and receive data between different systems, especially those connected to the Internet.

XML을 필요에 따라 새로운 데이터 형식을 정의하여 사용할 수 있기 때문에, XML 데이터는 B2B 협업에 있어서, 데이터 송수신 플랫폼으로 많이 채용되고 있다. 이때, B2B 협업에 있어서, 송수신 되는 데이터의 종류 및 타입 등을 변경해야 할 경우가 자주 생김에도 불구하고, 상기 변경을 수행하기 위하여는 전체 B2B 협업 시스템의 XML 스키마 데이터를 수정해야 하여 시간 및 비용이 많이 소요되는 문제점이 있었다.Since XML can be used by defining new data formats as needed, XML data is widely used as a data transmission / reception platform in B2B collaboration. At this time, in B2B collaboration, although it is often necessary to change the type and type of data transmitted and received, in order to perform the change, XML schema data of the entire B2B collaboration system must be modified to save time and money. There was a lot of problems.

본 발명이 해결하고자 하는 기술적 과제는 상기 언급한 문제점을 해결하기 위해 데이터 엔터티(데이터 엔터티) 별 속성(attribute)을 정의한 XML 모델링 데이터를 바탕으로 HTML 에디터를 이용하여 간단하게 입력 폼(form)을 생성하고 상기 생성된 입력 폼에 따른 XML 데이터 셋을 생성하는 XML 자동 생성 시스템 및 방법을 제공하는 것이다.The technical problem to be solved by the present invention is simply to create an input form using an HTML editor based on the XML modeling data defining the attributes for each data entity (data entity) to solve the above-mentioned problems And an XML automatic generation system and method for generating an XML data set according to the generated input form.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해 될 수 있을 것이다.The technical problems of the present invention are not limited to the above-mentioned technical problems, and other technical problems not mentioned will be clearly understood by those skilled in the art from the following description.

상기 기술적 과제를 달성하기 위한 본 발명의 일 태양에 따른 XML 자동 생성 방법은 고안된 Tool를 통하여 용어의 표준 사용을 위하여 데이터 엔터티에 대한 속성(attribute)을 정의하는 단계; 상기 작성된 데이터 엔터티를 이용하여 트리 구조의 XML 스키마를 구성하는 단계; HTML 에디터를 이용하여 상기 정의 된 데이터 엔터티를 포함하는 웹 폼(Web form)을 구성하는 단계; 상기 웹 폼의 구성에 따른 XML 데이터 세트를 생성 하는 단계; 상기 XML 데이터 세트를 서비스 서버의 저장 수단에 저장하는 단계; 상기 저장 수단에 저장된 상기 XML 데이터 세트를 서비스 사용자에 배포하는 단계; 상기 배포된 XML 데이터 세트에 따른 웹 페이지를 통하여 상기 웹 폼에 대한 입력 데이터를 상기 서비스 서버로 송신하는 단계; 상기 서비스 서버는 XML map 데이터를 참조하여 상기 입력 데이터를 반영한 XML 데이터 및 XSL 데이터를 생성하는 단계; 및 상기 XML 및 XSL 데이터는 상기 서비스 서버의 저장 수단에 저장되어 상기 서비스 사용자의 접속 요청 시 상기 서비스 사용자의 단말에 송신되는 단계를 포함한다.According to an aspect of the present invention, there is provided a method for automatically generating XML according to an aspect of the present invention, including: defining an attribute for a data entity for standard use of a term through a designed tool; Constructing an XML schema of a tree structure using the created data entity; Constructing a web form including the defined data entity using an HTML editor; Generating an XML data set according to the configuration of the web form; Storing the XML data set in storage means of a service server; Distributing the XML data set stored in the storage means to a service user; Transmitting input data for the web form to the service server through a web page according to the distributed XML data set; Generating, by the service server, XML data and XSL data reflecting the input data with reference to XML map data; And the XML and XSL data are stored in the storage means of the service server and transmitted to the terminal of the service user when the service user requests a connection.

상기와 같은 본 발명에 따르면, XML Editor를 통하여 수작업으로 프로그램 전문가가 XML, XLS, XML 스키마를 작성하는 번거로움을 제거할 수 있어 프로그램 생산성을 향상시키고, 일반인이 표준화된 방법으로 e-Book, e-Manual, Electronic Health Recode(병원챠트), 공문서, 상거래계약, e-Catalogue, xml EDI, Knowledge Contents, 규정집 등 문서를 쉽게 작성할 수 있도록 할 수 있는 효과가 있다.According to the present invention as described above, it is possible to eliminate the hassle of programmers to write XML, XLS, XML schema by hand through the XML Editor to improve the program productivity, the general public standardized e-Book, e Manual, Electronic Health Recode (Hospital Chart), Official Documents, Commerce Contracts, e-Catalogue, XML EDI, Knowledge Contents, Regulations, etc. It is easy to create documents.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention, and methods for achieving them will be apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various forms. The embodiments of the present invention make the posting of the present invention complete and the general knowledge in the technical field to which the present invention belongs. It is provided to fully convey the scope of the invention to those skilled in the art, and the present invention is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.

이하, XML 자동 생성 시스템 및 방법을 설명하기 위한 블록도 또는 처리 흐름도에 대한 도면들을 참고하여 본 발명에 대해 설명하도록 한다. 이 때, 처리 흐 름도 도면들의 각 블록과 흐름도 도면들의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수 있음을 이해할 수 있을 것이다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 흐름도 블록(들)에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 흐름도 블록(들)에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재 되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 흐름도 블록(들)에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다.Hereinafter, the present invention will be described with reference to the drawings for a block diagram or a processing flowchart for explaining an XML automatic generation system and method. At this time, it will be understood that the combination of each block of the flowchart illustrations and the flowchart illustrations can be performed by computer program instructions. Since these computer program instructions may be mounted on a processor of a general purpose computer, special purpose computer, or other programmable data processing equipment, those instructions executed through the processor of the computer or other programmable data processing equipment may be described in flow chart block (s). It creates a means to perform the functions. These computer program instructions may be stored in a computer usable or computer readable memory that can be directed to a computer or other programmable data processing equipment to implement functionality in a particular manner, and thus the computer usable or computer readable memory. It is also possible for the instructions stored in to produce an article of manufacture containing instruction means for performing the functions described in the flowchart block (s). Computer program instructions may also be mounted on a computer or other programmable data processing equipment, such that a series of operating steps are performed on the computer or other programmable data processing equipment to create a computer-implemented process to generate a computer or other programmable data. Instructions for performing the processing equipment may also provide steps for performing the functions described in the flowchart block (s).

또한, 각 블록은 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실행 예들에서는 블록들에서 언급된 기능들이 순서를 벗어나 서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.In addition, each block may represent a portion of a module, segment, or code that includes one or more executable instructions for executing a specified logical function (s). It should also be noted that in some alternative implementations, the functions noted in the blocks may occur out of order. For example, the two blocks shown in succession may in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending on the corresponding function.

이하, 본 발명의 일 실시예에 따른 XML 자동 생성 방법에 대하여 설명하기로 한다. 본 실시예에 따른 XML 자동 생성 방법은 아래와 동작으로 구성될 수 있다.Hereinafter, a method of automatically generating XML according to an embodiment of the present invention will be described. The automatic XML generation method according to the present embodiment may be configured with the following operation.

고안된 Tool를 통하여 용어의 표준 사용을 위하여 데이터 엔터티에 대한 속성(attribute)을 정의하는 단계;Defining an attribute for the data entity for the standard use of the term through the devised Tool;

상기 작성된 데이터 엔터티를 이용하여 트리 구조의 XML 스키마를 구성하는 단계;Constructing an XML schema of a tree structure using the created data entity;

HTML 에디터를 이용하여 상기 정의 된 데이터 엔터티를 포함하는 웹 폼(Web form)을 구성하는 단계;Constructing a web form including the defined data entity using an HTML editor;

상기 웹 폼의 구성에 따른 XML 데이터 세트를 생성 하는 단계; 상기 XML 데이터 세트를 서비스 서버의 저장 수단에 저장하는 단계;Generating an XML data set according to the configuration of the web form; Storing the XML data set in storage means of a service server;

상기 저장 수단에 저장된 상기 XML 데이터 세트를 서비스 사용자에 배포하는 단계;Distributing the XML data set stored in the storage means to a service user;

상기 배포된 XML 데이터 세트에 따른 웹 페이지를 통하여 상기 웹 폼에 대한 입력 데이터를 상기 서비스 서버로 송신하는 단계;Transmitting input data for the web form to the service server through a web page according to the distributed XML data set;

상기 서비스 서버는 XML map 데이터를 참조하여 상기 입력 데이터를 반영한 XML 데이터 및 XSL 데이터를 생성하는 단계; 및Generating, by the service server, XML data and XSL data reflecting the input data with reference to XML map data; And

상기 XML 및 XSL 데이터는 상기 서비스 서버의 저장 수단에 저장되어 상기 서비스 사용자의 접속 요청 시 상기 서비스 사용자의 단말에 송신되어 웹 브라우저를 통해 게시되는 단계.The XML and XSL data is stored in the storage means of the service server and is transmitted to the terminal of the service user when the access request of the service user is posted via a web browser.

상기 XML 데이터 세트는 XML, JSP, XSL, SCHEMA, MAP 파일을 포함할 수 있다.The XML data set may include XML, JSP, XSL, SCHEMA, MAP file.

이하, 상기 데이터 엔터티에 대한 속성(attribute)을 정의하는 단계에 대하여 보다 자세하게 설명하기로 한다.Hereinafter, the step of defining an attribute for the data entity will be described in more detail.

Xml file를 만들 때 용어적인 통일과 용어에 따른 속성값을 미리 정의함으로써 xml 파일 생성 및 배포시 사용자가 쉽게 이해 할 수 있도록 하는 절차이다. 예를 들면 병원에서 사용하는 용어의 통일을 위하여 세계적인 의료용어인 SNOMED-CT를 사용한다고 하면 이러한 용어는 데이터 엔터티로 구성되며 이러한 용어가 가지는 속성값을 정의하여 사용할 수 있다. 이러한 용어 및 속성의 표준화를 XML Model라 칭하였으며 xml특성상 xml의 Tag 및 attribute를 결정하여 xml를 통한 관련 당사자간의 xml를 통한 의견 소통에 중요한 정보사항이다..This is the procedure to make it easy for users to understand when creating and distributing the xml file by pre-defining the terminology unification and attribute values according to the term when creating the Xml file. For example, if you use SNOMED-CT, a global medical term for the unification of terminology used in hospitals, these terms are composed of data entities and can be used to define the attribute values of these terms. The standardization of these terms and attributes is called XML Model, and it is important information to communicate opinions through xml between related parties through xml by determining tag and attribute of xml.

Attribute를 미리 정의 함으로써 용어 사용에 대한 편의성 및 정확한 의사전달을 쉽게 구현 할 수 있도록 하였다. 예컨대 특정한 용어(데이터 엔터티)특성에 따라 ComboBox나 CheckBox, RadioBox 등 입력 수단으로 강제할 수 있어 입력에 따른 편의성 및 정확성을 추구할 수 있다.By defining Attribute in advance, it is easy to implement convenience and accurate communication about terminology. For example, it can be forced by input means such as ComboBox, CheckBox, RadioBox, etc. according to specific term (data entity) characteristics, so that convenience and accuracy according to the input can be pursued.

또한 데이터 엔터티와 데이터 엔터티간의 계층구조를 구성할 수 있고 이러한 계층구조의 묶음으로 새로운 데이터 엔터티를 구성할 수 있다. 예를 들면 고객이라는 데이터 엔터티 작성시 고객이름, 주소, 주민번호, 결혼여부 등의 데이터 엔터티 들로 계층구조를 구성하였다면 고객이라는 데이터 엔터티를 호출하면 자동으로 계층이 속하는 데이터 엔터티가 불려 올 수 있다.You can also organize hierarchies between data entities and data entities, and you can organize new data entities into a set of hierarchies. For example, when creating a data entity called customer, if the hierarchy is composed of data entities such as customer name, address, social security number, marital status, etc., the data entity to which the hierarchy belongs can be called when calling the data entity called customer.

표 1은 데이터 엔터티들의 속성 값들의 예시이다.Table 1 is an example of attribute values of data entities.

Figure 112009076803995-PAT00001
Figure 112009076803995-PAT00001

Entity의 계층구조(Structure)를 구성하기 위해서는 상위 개념의 Entity를 구성하는데 이때 상위 개념의 Entity는 Attribute를 포함하지 않고 Entity의 이름만 가지며 기존 작성된 기존에 작성된 Entity를 하위 계층 구조화하여 새로운 계층구조의 Entity를 구성할 수 있다. 이러한 계층구조를 자유로운 작성을 위하여 Dropdown 방식으로 자유로이 Tree 구조를 생성할 수 있는 형태의 Tool를 제공한다. In order to compose the hierarchical structure of Entity, Entity of higher concept is composed. In this case, Entity of higher concept does not contain Attribute and has only the name of Entity. Can be configured. In order to freely create such a hierarchical structure, a tool is provided that can freely create a tree structure using a dropdown method.

고객정보 (새로운 Entity) 작성시 기 작성된 이름, 주소, 주민번호, 결혼여부, 운전면허증보유여부 등의 Entity및 Attribute를 사용하면 계층구조는 표 2와 같이 구성 될 수 있다.When creating the customer information (new entity), the hierarchical structure can be configured as shown in Table 2 by using the entities and attributes such as name, address, social security number, marital status, and driver's license.

Figure 112009076803995-PAT00002
Figure 112009076803995-PAT00002

표 2에 표시된 Entity및 Attribute 정보들이 고객정보라는 상위의 Entity가 지정되면 사용되어 하위의 Entity는 자동으로 불러와져 사용될 것이다.The Entity and Attribute information shown in Table 2 will be used when the upper Entity called Customer Information is specified, and the lower Entity will be loaded and used automatically.

이하, 상기 웹 폼(Web form)을 구성하는 단계에 대하여 보다 자세하게 설명하기로 한다.Hereinafter, the step of configuring the web form (Web form) will be described in more detail.

사용자가 입력을 하기 위한 입력 Form 및 서식을 작성하는 과정으로 입력 폼 및 서식은HTML Editor를 통하여 WYSIWYG 방식 (What You See Is What You Get "보는 대로 얻는다")으로 화면을 자유롭게 디자인하며, 이러한 화면 작성시 기 생성한 Entity의 XML Attribute를 Pop up 화면으로 띄워서 해당 Entity의 Attribute를 추가한다. 해당 Entity가 없는 경우 Instance를 추가할 수 있다. 화면은 Entity의 XML Attribute는 속성의 형태에 따라 자동 생성된다.The process of creating the input form and form for the user to input. The input form and form is freely designed through the HTML Editor in the WYSIWYG method (What You See Is What You Get). Add the Attribute of the Entity by popping up the XML Attribute of the Entity created in the pop-up screen. If there is no corresponding entity, you can add an instance. The screen is automatically created with the XML Attribute of the entity according to the type of the attribute.

화면의 작성을 완료 후 저장하면 표 3의 파일이 자동으로 생성된다.When the screen is completed and saved, the files in Table 3 are automatically created.

Figure 112009076803995-PAT00003
Figure 112009076803995-PAT00003

상기 Xml 파일 및 Schema 파일의 생성은 먼저 새 Xml file 및 Xsd(Schema 파일) 를 생성한 후 기존에 작성된 Entity 및 Attribute 정보를 이용하여 Tree 구조의 Xml, Xsd를 만드는 과정을 통해 수행 될 수 있다. 이때 기존 다양한 Entity및 Attribute정보를 자동으로 읽어 들일 수 있도록 자동화된 당사의 Auto Parsing Program을 이용한다.The generation of the Xml file and the Schema file may be performed by first creating a new Xml file and Xsd (Schema file) and then creating Xml and Xsd of the tree structure by using the existing entity and attribute information. At this time, we use our Auto Parsing Program which is automated to read various existing entity and attribute information automatically.

또한, HTML Editor에서 작성된 HTML정보를 Parsing하여 임시 파일인 Org파일을 만들고 이 Org파일을 이용하여 Jsp 및 Xsl 파일을 자동 생성한다. 이때 Parsing 파일 생성은 자동화된 프로세스방식으로 처리된다.Also, by parsing HTML information created in HTML Editor, create temporary file Org file, and automatically generate Jsp and Xsl file using this Org file. Parsing file creation is handled in an automated process.

또한, Map 파일은 Xsd 즉 Schema 정보를 기반으로 하여 작성되는데 이 때 Entity 및 Attribute를 참조하여 만약 반복구문의 정보가 존재하면 반복부분에 대한 부분을 감안하여 Map 파일을 생성한다. 이 모든 과정은 Auto Parsing Program에 의하여 자동 처리된다. 반복 구문이 존재하는 경우의 Map 파일 작성 예시는 표 4에 표시되어 있다.In addition, Map file is created based on Xsd, that is, Schema information. At this time, if Entity and Attribute information exist, if Map information exists, Map file is created considering the part of repeating part. All this is done automatically by the Auto Parsing Program. An example of creating a map file when a repetitive syntax exists is shown in Table 4.

Figure 112009076803995-PAT00004
Figure 112009076803995-PAT00004

또한, 예를 들어, Element userInfo1, etcGroup3가 각각 반복되는 형태인 경우의 Map 파일 작성 예시는 표 5에 표시되어 있다.For example, Table 5 shows an example of creating a map file when elements userInfo1 and etcGroup3 are each repeated.

Figure 112009076803995-PAT00005
Figure 112009076803995-PAT00005

이하, 상기 서비스 서버가 XML map 데이터를 참조하여 상기 입력 데이터를 반영한 XML 데이터 및 XSL 데이터를 생성하는 단계에 대하여 보다 자세히 설명하기로 한다.Hereinafter, the service server generating XML data and XSL data reflecting the input data with reference to the XML map data will be described in detail.

상기 배포된 XML 데이터 세트에 따른 웹페이지를 통하여 상기 웹 폼에 대한 데이터 값을 입력하면 화면에 입력된 값 및 변수를 취합하여 Submit버튼으로 상기 서비스 서버에 송신하면 상기 서비스 서버에서 Map 파일 정보와 취합된 Xml값과 변수를 참조하여 자동으로 Xml 및 Xsl 파일을 만들고 상기 서비스 서버의 저장 수단에 저장한다.When the data value for the web form is input through the web page according to the distributed XML data set, the values and variables inputted on the screen are collected and transmitted to the service server using the submit button. Xml and Xsl files are automatically created by referring to the Xml values and variables, and stored in the storage means of the service server.

상기 서비스 서버의 저장 수단은 캐쉬(Cache), 롬(Read Only Memory; ROM), 피롬(Programable ROM; PROM), 이피롬(Erasable Programmable ROM; EPROM), 이이피롬(Electrically Erasable Programmable ROM; EEPROM) 및 플래쉬 메모리(Flash memory)와 같은 비휘발성 메모리 소자, 램(Random Access Memory; RAM)과 같은 휘발성 메모리 소자, 및 하드디스크 드라이브(Hard disk drive)와 같은 저장매체 중 적어도 하나로 구현될 수 있으나 이에 한정되지는 않는다.The storage means of the service server includes a cache, a read only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), and the like. A nonvolatile memory device such as flash memory, a volatile memory device such as random access memory (RAM), and a storage medium such as a hard disk drive may be implemented. Does not.

상기 웹 폼에 대한 데이터 값을 상기 서비스 서버에 송신할 때 표 6과 같이 데이터를 구성할 수 있다.When transmitting a data value for the web form to the service server, data can be configured as shown in Table 6.

Figure 112009076803995-PAT00006
Figure 112009076803995-PAT00006

상기 변수 목록에 대한 데이터 중, '※'는 변수 사이를 구분하는 구분자(delimeter)로 해석될 수 있을 것이다. 또한, 반복구문이 아닌 //root/comment2와 같은 element value는 단순히 root까지의 path를 변수로 하고, 반복구문인 형태는 01(변수레벨).X(sequence number)의 형태로 첫번째 row부터 순차적으로 증가하는 변수를 갖는다. 예를 들어, 상기 변수 목록 중 첫번째 변수인 '01.1:root_userInfor1_userName1'은 첫번째 변수 레벨의 첫번째 sequence number에 따른 것이며, 그 값은 1임을 알 수 있다.Among the data for the variable list, '※' may be interpreted as a separator that separates between variables. Also, an element value such as // root / comment2 that is not a repetitive statement is simply a path to the root as a variable, and a repetitive statement is 01 (variable level). X (sequence number) in sequence from the first row. Has an increasing variable. For example, the first variable '01 .1: root_userInfor1_userName1 'of the variable list may be determined according to the first sequence number of the first variable level, and the value thereof is 1.

다음으로, 상기 입력 데이터를 수신 받은 서비스 서버는 Map 파일을 참조하여 상기 입력 데이터를 이용하여 XML 파일을 생성한다. 보다 자세하게는 상기 서비스 서버는 상기 Map파일의 Template 내용을 읽어와 반복구문이 있는 변수의 경우 반복 태그에 해당하는 만큼 복사하여 변수를 값으로 치환하여 추가하고 반복구문이 아닌 변수의 경우에는 template내용을 변경하는 방식으로 상기 XML 파일을 생성한다. 생성된 xml 및 xsl file은 상기 서비스 서버의 상기 저장 수단에 저장된다.Next, the service server receiving the input data generates an XML file using the input data with reference to a map file. In more detail, the service server reads the template contents of the Map file, copies the variable corresponding to the repeated tag in the case of a variable having a repetitive syntax, replaces the variable with a value, and adds the template contents in the case of a variable that is not a repetitive syntax. Create the XML file in a modified way. The generated xml and xsl files are stored in the storage means of the service server.

이상 설명한 본 실시예에 따른 XML 자동 생성 방법은 도 1에 도시된 본 발명의 다른 실시예에 따른 XML 자동 생성 시스템을 통해 수행될 수 있다.The XML automatic generation method according to the present embodiment described above may be performed through the XML automatic generation system according to another embodiment of the present invention shown in FIG. 1.

이상 첨부된 도면을 참조하여 본 발명의 실시 예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시 예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, You will understand. Therefore, it should be understood that the embodiments described above are exemplary in all respects and not restrictive.

도 1은 본 발명의 다른 실시예에 따른 XML 자동 생성 시스템의 개념도이다.1 is a conceptual diagram of an XML automatic generation system according to another embodiment of the present invention.

Claims (1)

데이터 엔터티에 대한 속성(attribute)을 정의하는 단계;Defining an attribute for the data entity; 상기 작성된 데이터 엔터티를 이용하여 트리 구조의 XML 스키마를 구성하는 단계;Constructing an XML schema of a tree structure using the created data entity; HTML 에디터를 이용하여 상기 정의 된 데이터 엔터티를 포함하는 웹 폼(Web form)을 구성하는 단계;Constructing a web form including the defined data entity using an HTML editor; 상기 웹 폼의 구성에 따른 XML 데이터 세트를 생성 하는 단계; 상기 XML 데이터 세트를 서비스 서버의 저장 수단에 저장하는 단계;Generating an XML data set according to the configuration of the web form; Storing the XML data set in storage means of a service server; 상기 저장 수단에 저장된 상기 XML 데이터 세트를 서비스 사용자에 배포하는 단계; 상기 배포된 XML 데이터 세트에 따른 웹 페이지를 통하여 상기 웹 폼에 대한 입력 데이터를 상기 서비스 서버로 송신하는 단계;Distributing the XML data set stored in the storage means to a service user; Transmitting input data for the web form to the service server through a web page according to the distributed XML data set; 상기 서비스 서버는 XML map 데이터를 참조하여 상기 입력 데이터를 반영한 XML 데이터 및 XSL The service server refers to XML map data and XML data and XSL reflecting the input data. 이터를 생성하는 단계; 및 상기 XML 및 XSL 데이터는 상기 서비스 서버의 저장 수단에 저장되어 상기 서비스 사용자의 접속 요청 시 상기 서비스 사용자의 단말에 송신되는 단계를 포함하는 XML 자동 생성 방법.Generating data; And the XML and XSL data are stored in the storage means of the service server and transmitted to the terminal of the service user when the service user requests a connection.
KR1020090123528A 2009-12-11 2009-12-11 Xml automatic generation system and method thereof KR20110066758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090123528A KR20110066758A (en) 2009-12-11 2009-12-11 Xml automatic generation system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090123528A KR20110066758A (en) 2009-12-11 2009-12-11 Xml automatic generation system and method thereof

Publications (1)

Publication Number Publication Date
KR20110066758A true KR20110066758A (en) 2011-06-17

Family

ID=44399517

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090123528A KR20110066758A (en) 2009-12-11 2009-12-11 Xml automatic generation system and method thereof

Country Status (1)

Country Link
KR (1) KR20110066758A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210154584A (en) * 2020-06-12 2021-12-21 송동섭 System for managing webpage

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210154584A (en) * 2020-06-12 2021-12-21 송동섭 System for managing webpage

Similar Documents

Publication Publication Date Title
US11893366B2 (en) Spreadsheet-based software application development
US7210096B2 (en) Methods and apparatus for constructing semantic models for document authoring
US10318126B2 (en) Data-driven schema for describing and executing management tasks in a graphical user interface
US20100235725A1 (en) Selective display of elements of a schema set
US8407235B2 (en) Exposing and using metadata and meta-metadata
GB2499500A (en) Document merge
US20130124969A1 (en) Xml editor within a wysiwyg application
CN103793464A (en) Method for exporting reports on basis of neutral formats
US11644949B2 (en) Autotagging a template of a reporting workbook
Mironov et al. Situation-oriented databases: processing office documents
US20170371852A1 (en) System and method for in-browser editing
US11977473B2 (en) Providing a pseudo language for manipulating complex variables of an orchestration flow
KR20110066758A (en) Xml automatic generation system and method thereof
GB2528697A (en) Generating a database structure from a scanned drawing
Mukhitova et al. DEVELOPMENT OF AN ADAPTIVE GRAPHIC WEB INTERFACE MODEL FOR EDITING XML DATA.
US20070174251A1 (en) System and method for analyzing commands for searching data
US20210133392A1 (en) System and process for generating an internet application
US20240046214A1 (en) Systems and methods for facilitating modifications and updates to shared content
CN116226788B (en) Modeling method integrating multiple data types and related equipment
WO2023273410A1 (en) Specification design method and apparatus, and related device
WO2022204410A1 (en) Systems and methods for facilitating modifications and updates to shared content
RUDIĆ et al. Using OCL in the formal specification of the library standards
Ibañez Anfurrutia XML-Intensive software development
Yoo et al. An XML-Based Approach for Interface Impact Analysis in Sustained System.
Pichler et al. Validation of business document types based on feature models

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination