KR101045346B1 - Distributed transaction system having automatic geneation part for interface and method therefor - Google Patents

Distributed transaction system having automatic geneation part for interface and method therefor Download PDF

Info

Publication number
KR101045346B1
KR101045346B1 KR1020100105983A KR20100105983A KR101045346B1 KR 101045346 B1 KR101045346 B1 KR 101045346B1 KR 1020100105983 A KR1020100105983 A KR 1020100105983A KR 20100105983 A KR20100105983 A KR 20100105983A KR 101045346 B1 KR101045346 B1 KR 101045346B1
Authority
KR
South Korea
Prior art keywords
interface
federation
som
fom
information
Prior art date
Application number
KR1020100105983A
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 KR1020100105983A priority Critical patent/KR101045346B1/en
Application granted granted Critical
Publication of KR101045346B1 publication Critical patent/KR101045346B1/en

Links

Images

Classifications

    • 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/93Document management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/289Object oriented databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE: A data distributed transaction system with an interface automatic generator and a method thereof are provided to prevent the waste of development resources required to the implementation of an interface by automatically generating the interface of each federate. CONSTITUTION: An automatic interface generator(30) interprets an SOM(Simulation Object Model) document and automatically generates an interface. The SOM document is made to a markup language on the basis of an FOM(Federation Object Model). An SOM interpreting module(31) interprets the SOM document and transmits meta information which is generated in the FOM with the interpretation result to an interface generating module(32). The interface generating module generates the interface of each federation according to the meta information.

Description

인터페이스 자동 생성부를 가진 데이터 분산처리 시스템 및 그 방법{Distributed transaction system having automatic geneation part for interface and method therefor}Distributed transaction system having automatic geneation part for interface and method therefor}

본 발명은 데이터의 분산처리를 위한 시스템 및 그 방법에 관한 것으로서, 보다 상세하게는 페더레이션 객체모델(FOM)에 기초하여 이루어진 XML 문서 형태의 시뮬레이션 객체모델(SOM)을 참조하여 페더레이트의 통신 인터페이스를 자동적으로 생성하는 인터페이스 자동생성부를 가진 데이터 분산처리 시스템 및 그 방법에 관한 것이다.The present invention relates to a system for distributing data and a method thereof, and more particularly, to a federated communication interface by referring to a simulation object model (SOM) in the form of an XML document based on a federated object model (FOM). The present invention relates to a data distribution processing system having an automatically generated interface automatic generation unit and a method thereof.

일반적으로, 데이터의 분산 처리는 상이한 조직에서 상이한 목적으로 개발된 개별 시뮬레이션(simulation)들을 하나의 커다란 시뮬레이션으로 결합시켜주는 처리를 가리키는 것으로서, 이러한 분산 처리를 위한 시뮬레이션 망의 생성 및 데이터의 송수신, 시간 관리 등의 시뮬레이션 서비스를 수행하기 위하여, 표준기술인 HLA(High Level Architecture)가 수립되어 활용되고 있다.In general, the distributed processing of data refers to a process of combining individual simulations developed for different purposes in different organizations into one large simulation, which is used to generate a simulation network, transmit and receive data, and time for such distributed processing. In order to perform simulation services such as management, HLA (High Level Architecture), a standard technology, is established and utilized.

상기 HLA 를 기반으로 하는 시뮬레이션은 하나의 커다란 시뮬레이션 단위인 페더레이션(Federation)과, 이 페더레이션 내에서 서버(server) 역할을 수행하는 페더레이션 수행 프로세스(Federation Executive Process, 약칭하여 FedEx 라고도 함)와, 그 서버 내에 가입되어 클라이언트(client) 역할을 수행하는 페더레이트(Federate)로 구성된다.The HLA-based simulation is federation, a large simulation unit, a federation executive process (also called FedEx), which acts as a server within the federation, and the server. It is composed of federation that is subscribed to and plays the role of client.

이와 같은 HLA 는 HLA 규칙(Rules), 객체모델 템플릿(Object Model Template), 인터페이스 명세(Interface Specification)로 이루어져 있다.Such an HLA consists of HLA Rules, an Object Model Template, and an Interface Specification.

여기서, 상기 HLA 규칙은 각 페더레이트(Federate) 상호간의 적절한 상호작용의 달성을 위하여 준수할 원칙 및 구성을 기술한다. Here, the HLA rules describe the principles and configurations to be followed in order to achieve appropriate interactions between each federation.

또한, 상기 객체모델 템플릿은 패더레이션(Federation) 모델 정보를 기록하기 위한 공통의 방법과 주요 모델의 포멧을 기술하는 것으로서, 구체적으로는 페더레이션 객체모델(Federation Object Model, FOM), 시뮬레이션 객체모델(Simulation Object Model, SOM), 관리 객체모델(Management Object Model, MOM)을 제공한다.In addition, the object model template describes a common method for recording federation model information and a format of a main model. Specifically, the federation object model (FOM) and simulation object model (Simulation) are described. Object Model (SOM) and Management Object Model (MOM) are provided.

상기 페더레이션 객체모델(FOM)는 하나의 페더레이션(Federation) 당 하나의 FOM 를 가지며, 해당 페더레이션 내부에 있는 모든 Federate 들을 위하여 공용으로 사용되는 정보(객체, 상호 작용 등)를 기술하게 된다. The federation object model (FOM) has one FOM per federation and describes information (objects, interactions, etc.) that are commonly used for all federations in the federation.

상기 시뮬레이션 객체모델(SOM)는 하나의 페더레이트(Federate) 당 하나의 SOM 을 가지며, 해당 페더레이트 내부의 오퍼레이션(operation) 및 외부적으로 사용가능한 객체 및 상호작용을 기술한다.The simulation object model (SOM) has one SOM per federation and describes the operations and externally available objects and interactions within the federation.

상기 관리 객체모델(MOM)은 Federation 관리에 사용되는 객체 및 상호작용의 식별 방법을 기술한다.The Management Object Model (MOM) describes a method of identifying objects and interactions used in federation management.

그리고, 상기 인터페이스 명세는 HLA 에 기반한 RTI(Run Time Infrastructure)의 서비스의 내용을 정의하는 것으로서, HLA(High Level Architecture) 표준을 따르는 시뮬레이션을 지원하는데 필요한 서비스인 Federation Management(FM)(시뮬레이션 생성, 삭제, 동기화 등), Declaration Management(DM)(송수신 정보 선언 서비스), Object Management(OM)(정보의 송수신 서비스), Ownership Management(OWM)(정보에 대한 소유권 획득 및 이양), Time Management(TM)(시뮬레이션 진행관련 시간관리), Data Distribution Management(DDM)(부하를 줄이기 위한 송수신 영역 설정)의 6 가지 관리 서비스를 지원한다.In addition, the interface specification defines the contents of the service of the RTI (Run Time Infrastructure) based on the HLA, and creates and deletes a federation management (FM) (simulation), which is a service required to support a simulation conforming to the high level architecture (HLA) standard. , Synchronization, etc.), Declaration Management (DM) (Transmission and Receipt Information Declaration Service), Object Management (OM) (Transmission and Receipt Service of Information), Ownership Management (OWM) (Take ownership and transfer of information), Time Management (TM) ( It supports six management services: time management related to simulation progress and Data Distribution Management (DDM).

도 1 은 상기와 같은 HLA/RTI 에 기반한 종래 데이터 분산처리 시스템을 도시한 것으로서, 페더레이션 내에서 각 페더레이트들이 시뮬레이션을 수행하기 위하여 인터페이스를 구축한 상태를 나타낸 도면이다.FIG. 1 is a diagram illustrating a conventional data distribution processing system based on the above-described HLA / RTI, and shows a state in which federations establish an interface in order to perform a simulation in a federation.

도시된 바와 같이, 각각의 Federate 들이 HLA/RTI 기반의 네트워크(100)를 통하여 연동되고, 각 페더레이트들은 페더레이션의 서버 역할을 하는 페더레이션 수행 프로세스(FedEx)와 통신한다.As shown, each Federate is interworked through the HLA / RTI based network 100, each federation communicates with a federation process (FedEx) that acts as a server of the federation.

상기 FedEx 와 각각의 Federate 사이의 통신은 상기 FedEx 가 통신할 데이터를 HLA/RTI 기반의 네트워크(100)로 보내면, 각 Federate 들이 네트워크(100)로 보내진 데이터를 수신해가는 발행/구독(Publish/Subscribe) 방식으로 구현되며, 이러한 발행/구독 방식의 통신을 위하여 각 페더레이트의 시뮬레이션 네트워크 관리기(Simulation Network Manager)(10,11,12)는 상기 페더레이션 객체모델(FOM)을 참조하여 HLA/RTI 기반의 네트워크와 통신할 수 있는 인터페이스(20,21,22)를 구현한다.The communication between the FedEx and each Federate is to send data to the FedEx to the HLA / RTI-based network 100, each Federate is published / subscribe to receive data sent to the network 100 (Publish / Subscribe) The simulation network manager (10, 11, 12) of each federation is configured in HLA / RTI based on the federation object model (FOM). Implement the interfaces 20, 21, 22 to communicate with the network.

그런데, 도시된 바와 같이, 각 페더레이트(Federate) 들의 규모가 커질수록 각 Federate 들을 위한 통신용 인터페이스도 함께 증가되는데, 각 Federate 들의 인터페이스들은 각각 상이하므로 Federate 상호간에 인터페이스를 재사용하거나 호환하는 것이 불가능한 실정이다.However, as shown, as the size of each federation (Federate) increases, the communication interface for each Federate also increases, it is impossible to reuse or compatible interfaces between the Federate because the interfaces of each Federate are different .

또한, 전체 시뮬레이션 상에서 FOM 이 변경되면, 각 Federate 들은 변경된 FOM 에 맞추어 해당 Federate 의 인터페이스를 재수정하여야 하였으며, 이 과정에서 인터페이스를 코딩하는 개발자들은 인터페이스를 코드(code) 수준에서 수정하는 작업을 재차 수행할 뿐만 아니라, 수정된 인터페이스의 디버깅을 위한 컴파일(compile)을 수행하고 링크(link)시켜 주어야하는 작업을 반복적으로 수행하여야 하므로, 시간과 비용면에서 개발 자원의 낭비를 가져오는 문제점이 있었다.In addition, when the FOM is changed in the entire simulation, each Federate has to modify the Federate's interface according to the changed FOM, and in the process, the developers who code the interface have to redo the interface at the code level. In addition, there is a problem in that a waste of development resources is wasted in terms of time and cost since the work that needs to be compiled and linked for debugging of the modified interface must be repeatedly performed.

본 발명은 상기와 같은 종래의 제반 문제점들을 해소하기 위하여 창안된 것으로서, 각 페더레이트의 인터페이스를 자동적으로 생성하여 인터페이스 구현에 소요되는 개발 자원의 낭비를 방지함으로써, 시뮬레이션 구축상의 편의성과 신뢰성을 향상시킬 수 있는 인터페이스 자동 생성부를 가진 데이터 분산처리 시스템 및 그 방법을 제공하는데 본 발명의 기술적 과제가 있다.The present invention was devised to solve the above-mentioned conventional problems, by automatically generating the interface of each federation to prevent waste of development resources required to implement the interface, thereby improving convenience and reliability in simulation construction. SUMMARY OF THE INVENTION There is a technical problem of the present invention to provide a data distribution processing system and a method having an automatic interface generation.

상기와 같은 기술적 과제를 달성하기 위한 본 발명 인터페이스 자동생성부를 가진 데이터 분산처리 시스템 및 그 방법의 구성은, 페더레이션 객체모델(FOM)에 기초하여 작성되되 마크업 언어(Markup language)를 이용하여 이루어진 시뮬레이션 객체모델(SOM) 문서를 해석하여 인터페이스를 자동적으로 생성하는 인터페이스 자동생성부를 포함하여 구성되는 것을 특징으로 한다.In order to achieve the above technical problem, a data distributed processing system having an interface automatic generation unit and a method thereof are constructed based on a federation object model (FOM), and a simulation is performed using a markup language. And an interface auto-generation unit for automatically generating an interface by interpreting an object model (SOM) document.

상기와 같은 구성을 가진 본 발명은 인터페이스를 자동적으로 생성하는 자동생성부에 의하여 인터페이스가 생성되므로, 인터페이스 연동에 필요한 자동생성부가 각 페더레이트들에 의하여 공통으로 재사용될 수 있는 장점을 가진다.According to the present invention having the above configuration, since the interface is generated by the automatic generation unit which automatically generates the interface, the automatic generation unit required for the interface interworking has the advantage that it can be commonly reused by the respective federations.

또한, 인터페이스가 자동적으로 생성되기 때문에 연동을 위한 디버깅, 컴파일과 같은 단위시험 과정이 단순해지고 디버깅도 용이한 효과가 있다.In addition, since the interface is automatically generated, the unit test process such as debugging and compiling for interworking is simplified and debugging is easy.

또한, 개발자는 인터페이스를 구현하기 위하여 단지 XML 언어로 SOM 를 구현만하면 되므로, 종래와 같이 코드를 재작성하는 과정에서 야기될 수 있는 개발상의 결함 요소를 감소시킬 수 있는 효과가 있다.In addition, since the developer only needs to implement the SOM in the XML language in order to implement the interface, there is an effect of reducing developmental defects that may occur in the process of rewriting the code as in the prior art.

또한, FOM 의 변경 사항이 발생할 경우에는 작성된 XML 문서를 수정만하면 되므로, 페더레이트가 시뮬레이션상의 변동 사항에 기민하게 대처할 수 있는 효과가 있다.In addition, when the FOM changes, only the modified XML document needs to be modified, so that the federation can quickly react to the simulation changes.

또한, 신규한 페더레이트가 추가되더라도 XML 문서만을 작성하여 인터페이스를 생성할 수 있으므로, 연동망 구축을 위한 전체적인 개발 비용을 감소시킬 수 있는 효과가 있는 매우 진보한 발명인 것이다.In addition, even if a new federation is added, since only an XML document can be created to generate an interface, it is a very advanced invention that can reduce the overall development cost for building an interworking network.

도 1 은 종래 데이터 분산처리 시스템을 나타낸 도면,
도 2 는 본 발명 데이터 분산처리 시스템을 나타낸 도면,
도 3 은 본 발명 데이터 분산처리 시스템의 XML 문서 구조를 나타낸 도면,
도 4 는 본 발명 데이터 분산처리 시스템의 인터페이스 자동생성부의 블럭다이어그램,
도 5 및 도 6 은 본 발명 인터페이스 자동 생성부를 가진 데이터 분산처리 방법의 순서도이다.
1 is a view showing a conventional data distribution processing system,
2 is a view showing a data distribution processing system of the present invention;
3 is a view showing an XML document structure of a data distribution processing system of the present invention;
4 is a block diagram of an interface automatic generation unit of the data distribution processing system of the present invention;
5 and 6 are flowcharts of a data distribution processing method having an automatic interface generation unit of the present invention.

이하, 첨부 도면에 의거하여 본 발명 인터페이스 자동 생성부를 가진 데이터 분산처리 시스템 및 그 방법을 상세하게 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, based on an accompanying drawing, the data distribution processing system and its method which have the interface automatic generation part of this invention are demonstrated in detail.

단, 개시된 도면들은 당업자에게 본 발명의 사상이 충분하게 전달될 수 있도록 하기 위한 예로서 제공되는 것이다. 따라서, 본 발명은 이하 제시되는 도면들에 한정되지 않고 다른 태양으로 구체화될 수도 있다.However, the disclosed drawings are provided as examples to sufficiently convey the spirit of the present invention to those skilled in the art. Accordingly, the invention is not limited to the drawings presented below, but may be embodied in other aspects.

또한, 본 발명 명세서에서 사용되는 용어에 있어서 다른 정의가 없다면, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 통상적으로 이해하고 있는 의미를 가지며, 하기의 설명 및 첨부 도면에서 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.
In addition, unless there is another definition in terms used in the present specification, it has the meaning commonly understood by those of ordinary skill in the art to which the present invention belongs, and the gist of the present invention in the following description and the accompanying drawings. Detailed descriptions of well-known functions and configurations that may be unnecessarily blurred are omitted.

도 2 는 본 발명 인터페이스 자동생성부를 가진 데이터 분산처리 시스템의 구성도이다. 전술한 도 1 과 동일한 부분은 동일한 참조부호를 사용하여 설명한다.2 is a block diagram of a data distribution processing system having an interface automatic generation unit of the present invention. The same parts as those in FIG. 1 described above will be described using the same reference numerals.

전술한 도 1 의 종래 시스템과 마찬가지로, 본 발명 데이터 분산처리 시스템의 각각의 페더레이트(Federate)들은 HLA/RTI 기반의 네트워크(100)를 통하여 연동되고, 각 페더레이트들은 페더레이션(Federation)의 서버 역할을 하는 페더레이션 수행 프로세스(FedEx)와 통신한다.Like the conventional system of FIG. 1 described above, respective federations of the data distribution processing system of the present invention are linked through the HLA / RTI-based network 100, and each federation serves as a server of federation. Communicate with the federation execution process (FedEx).

또한, 상기 FedEx 와 각각의 Federate 사이의 통신은 상기 FedEx 가 통신할 데이터를 HLA/RTI 기반의 네트워크(100)로 보내면, 각 Federate 들이 네트워크(100)상에서 해당 데이터를 수신해가는 Publish/Subscribe 방식(이하, 'PS 방식'이라 함)으로 구현된다.In addition, the communication between the FedEx and each Federate is a Publish / Subscribe method in which each Federate receives the corresponding data on the network 100, if the FedEx sends the data to communicate to the HLA / RTI-based network (100) Hereinafter, referred to as a 'PS method'.

이때, 본 발명 분산처리 시스템은 이러한 PS 방식의 통신을 위한 인터페이스를 생성하기 위하여 인터페이스 자동생성부(30)를 포함한다.At this time, the distributed processing system of the present invention includes an interface automatic generation unit 30 to generate an interface for such PS system communication.

즉, 종래에는 각각의 Federate 의 시뮬레이션 네트워크 관리부(10,11,12)가 페더레이션 객체모델(FOM)을 참조하여 HLA/RTI 기반의 인터페이스(20, 21, 22)를 구현하였던 반면에, 본 발명은 인터페이스 자동생성부(30)가 각 Federate 들의 인터페이스(20, 21, 22)를 자동적으로 생성시키는 구성이다.That is, in the related art, the simulation network managers 10, 11, and 12 of the respective Federate implement the HLA / RTI based interfaces 20, 21, and 22 with reference to the federation object model (FOM). The interface automatic generation unit 30 is a configuration that automatically generates the interface (20, 21, 22) of each feather.

구체적으로는, 상기 시뮬레이션 네트워크 관리기(10,11,12)가 페더레이션 객체모델(FOM)에 근거하여 마크업 언어(Markup language)로 이루어진 시뮬레이션 객체모델(SOM)을 생성하고, 상기 인터페이스 자동생성부(30)는 이 시뮬레이션 객체모델(SOM)을 해석하여 통신에 필요한 코드를 자동적으로 생성하여 인터페이스를 구현시키는 방식이다.Specifically, the simulation network managers 10, 11, and 12 generate a simulation object model (SOM) made of a markup language based on a federation object model (FOM), and generate the interface automatic generation unit ( 30) implements the interface by analyzing the simulation object model (SOM) and automatically generating the code necessary for communication.

즉, 상기 인터페이스 자동생성부(30)는 각 페더레이트들에 의하여 공통적으로 사용되면서 각 페더레이트들의 인터페이스를 생성시키는 기능을 수행한다.That is, the interface automatic generation unit 30 performs a function of generating an interface of each federation while being commonly used by each federation.

바람직하게는, 상기 네트워크관리기(10,11,12)가 FOM 에 근거하여 SOM 을 생성할 때 사용되는 마크업 언어는 XML(eXtensible Markup Language)이다. Preferably, the markup language used when the network manager 10, 11, 12 generates the SOM based on the FOM is XML (eXtensible Markup Language).

상기 XML 언어는 사용자 정의 태크(tag)가 가능하고, 데이터를 구조화하고 전송하는데 유리한 장점을 가지고 있어, 본 발명 SOM 의 작성 언어로 적합하다.
The XML language is capable of user-defined tags and has an advantage of structuring and transmitting data, and thus is suitable as a writing language of the SOM of the present invention.

도 3 은 본 발명 데이터 분산처리 시스템의 XML 문서 구조를 나타낸 도면이다. 3 is a diagram showing an XML document structure of the data distribution processing system of the present invention.

HLA/RTI 기반의 시뮬레이션은 페더레이션 객체모델(FOM)을 통해서 페더레이트 상호간의 작용을 구현하기 때문에, 종래에는 개발자가 FOM 을 참조하여 각 페더레이트 별로 인터페이스의 구현을 위한 코드(code)를 작성하여야 하였으나, 본 발명은 FOM 을 기초로하여 인터페이스의 구현을 위한 XML 문서(document)만을 작성만하면 된다.Since the HLA / RTI-based simulation implements federation interactions through the federation object model (FOM), in the past, the developer had to write the code for implementing the interface for each federation by referring to the FOM. The present invention only needs to create an XML document for implementing the interface based on the FOM.

도면을 참조하여 이를 보다 상세하게 설명하면, XML 문서로 작성된 본 발명 실시예의 FOM 은 오브젝트 계층(Object class), 인터렉션 계층(Interaction class), 속성(Attributes) 및 파라미터(Parameters)의 정보를 기재하고 있으며, 종래에는 이렇게 이루어된 FOM 을 참조하여 인터페이스를 구현하기 위한 코드를 개발자가 직접 코딩하여야만 하였다.In more detail with reference to the drawings, the FOM of the embodiment of the present invention written in an XML document describes the information of the object class (Interaction class), Interaction class (Attributes) and Parameters (Parameters) In the related art, the developer has to code the code for implementing the interface by referring to the FOM.

도면 좌측 하단의 기재 내용은 종래의 인터페이스를 구현하기 위한 코드의 일례로서, 기재된 바와 같이,
Description of the lower left of the figure is an example of code for implementing a conventional interface, as described,

"......(중략)......"......(syncopation)......

publishObjectClass(ObjectClass, Attributes),publishObjectClass (ObjectClass, Attributes),

subscibeObjectClass(ObjectClass, Attributes),subscibeObjectClass (ObjectClass, Attributes),

publishInteractionClass(InteractionClass),publishInteractionClass (InteractionClass),

subscribeInteractionClass(InteractionClass) subscribeInteractionClass (InteractionClass)

......(이하 생략)......"...... (hereafter omitted) ...... "

등의 인터페이스 구현 코드를 작성하여야 하였다.
The interface implementation code, etc. had to be written.

그러나, 본 발명은 이러한 인터페이스 작성 문제를 코드 형식이 아닌 XML 의 문서 형식으로 접근하는 것에 착안한 것으로서, 도면 우측 하단에 도시된 바와 같이 개별적인 페더레이트들의 인터페이스를 구현할 경우 개발자는 페더레이트의 시뮬레이션 객체모델(SOM)을 XML 언어를 이용하여 문서 형식으로 작성하고, 인터페이스 자동생성부(30)는 작성된 SOM 을 해석하여 인터페이스를 위한 코드를 자동적으로 생성하도록 한 것이다.However, the present invention focuses on approaching this interface creation problem in the form of XML rather than code, and when a user implements an interface of individual federations as shown in the lower right of the drawing, the developer can simulate the federation simulation object model. (SOM) is written in a document format using the XML language, and the interface automatic generation unit 30 interprets the created SOM to automatically generate code for the interface.

이때, 개발자에 의하여 작성되는 본 발명 실시예의 SOM 문서는 FOM 의 오브젝트(객체) 계층(Object class), 인터렉션 계층(Interaction class), 속성(Attributes) 및 파라미터(Parameters)의 정보를 기재하게 되며, 이후 페더레이트의 인터페이스 자동생성부(30)는 이 SOM 을 해석하여 FOM 으로부터 메타(meta) 정보를 가져와 통신에 필요한 코드를 생성하여 인터페이스를 구현시키게 되는 것이다.In this case, the SOM document of the embodiment of the present invention prepared by the developer describes information of an object (object) layer, an interaction layer, attributes, and parameters of the FOM. The interface automatic generation unit 30 of the federation interprets the SOM to obtain meta information from the FOM to generate codes necessary for communication to implement the interface.

따라서, 상기의 인터페이스 자동생성부(30)는 각각의 페더레이트들에 의하여 공통적으로 재사용될 수 있게 되므로, 인터페이스를 위한 코드 생성의 구현 시간이 단축되며, 인터페이스 연동을 위한 디버깅과 컴파일과 같은 단위시험 과정이 단순화될 수 있다.Therefore, since the interface automatic generation unit 30 can be reused in common by respective federations, the implementation time of code generation for the interface is reduced, and unit tests such as debugging and compiling for interface interworking are performed. The process can be simplified.

또한, 신규한 페더레이트(Federate)가 추가될 경우, 개발자는 XML 언어를 이용하여 문서 형식의 SOM 만을 구현하면 되므로, 개발자가 반드시 고도의 코드 프로그래밍 능력을 보유하지 않아도 된다.In addition, when a new federation is added, the developer only needs to implement SOM in a document format using the XML language, so that the developer does not necessarily have a high level of code programming capability.

또한, FOM 의 변경으로 인하여 인터페이스의 수정이 필요한 경우에 작성된 SOM 의 XML 파일의 단순한 변경만으로 쉽게 인터페이스를 수정할 수 있게 된다.
In addition, when the interface needs to be modified due to the change of the FOM, the interface can be easily modified by simply changing the XML file of the SOM.

도 4 는 본 발명 데이터 분산처리 시스템의 인터페이스 자동생성부의 블럭다이어그램이다.4 is a block diagram of an interface automatic generation unit of the data distribution processing system of the present invention.

상술한 본 발명의 인터페이스 자동생성부(30)는 네트워크관리기(10,11,12)가 FOM 을 참조하여 XML 문서 형태로 생성시킨 SOM 을 해석하고, 해석 결과에 의하여 FOM 에서 생성된 메타(meta) 정보를 가져와 인터페이스 생성모듈(32)로 전달하는 SOM 해석모듈(SOM parser)(31)을 포함한다.The interface automatic generation unit 30 of the present invention interprets the SOM generated by the network manager 10, 11, and 12 in the form of an XML document with reference to the FOM, and generates the meta from the FOM based on the analysis result. It includes a SOM parser (31) to take information and deliver it to the interface generation module (32).

또한, 상기 SOM 해석모듈(31)로 전달된 메타 정보를 저장하고, 저장된 메타 정보에 따라서 각 페더레이션의 인터페이스를 생성하는 인터페이스 생성모듈(32)을 포함한다. It also includes an interface generation module 32 for storing the meta information transmitted to the SOM analysis module 31, and generates an interface of each federation according to the stored meta information.

구체적으로, 상기 인터페이스 생성모듈(32)은 인터페이스의 오브젝트(Object, 객체) 정보를 생성하는 오브젝트 생성기(321)(Object factory)와, 인터페이스의 상호관계(interaction) 정보를 생성하는 인터랙션 생성기(322)(Interaction factory)와, 인터페이스의 속성 정보를 생성하는 속성 생성기(323)(Attribute Factory)와, 인터페이스의 파라미터 정보를 생성하는 파라미터 생성기(324)(Parameter Factory)를 포함한다.In detail, the interface generation module 32 includes an object generator 321 for generating object information of an interface and an interaction generator 322 for generating interaction information of an interface. (Interaction factory), an attribute generator (323) for generating attribute information of an interface, and a parameter generator (324) (Parameter Factory) for generating parameter information of an interface.

즉, 전술한 도 3 에 도시된 바와 같이 SOM 문서에 해당 페더레이트의 오브젝트 계층(Object class), 인터렉션 계층(Interaction class), 속성(Attributes) 및 파라미터(Parameters)의 정보가 구체적으로 기재되어 있다면, 상기 SOM 해석모듈(31)은 이 SOM 문서를 해석하여 해당 페더레이트의 오브젝트 계층 정보와 인터랙션 계층 정보와, 속성 정보와 파라미터 정보를 파악할 수 있게 되며, 이렇게 파악된 정보에 의하여 FOM 으로부터 해당 SOM 의 정보에 대응하는 메타(meta) 정보를 불러오고, 불러온 메타 정보에 의거하여 인터페이스 생성모듈(32)의 각 생성기들이 자동적으로 해당 페더레이트의 인터페이스를 생성하게 되는 것이다.
That is, as shown in FIG. 3, if the SOM document describes the information of the object class, the interaction class, the attributes, and the parameters of the corresponding federation in detail, The SOM analysis module 31 interprets the SOM document to grasp the object layer information, the interaction layer information, the attribute information and the parameter information of the corresponding federation, and the information of the corresponding SOM from the FOM based on the information thus obtained. The meta information corresponding to the meta information is loaded, and each generator of the interface generation module 32 automatically generates an interface of the corresponding federation based on the loaded meta information.

다음으로, 도 5 및 도 6 을 참조하여 본 발명 인터페이스 자동 생성부를 가진 데이터 분산처리 방법을 상세하게 설명한다.Next, with reference to Figs. 5 and 6 will be described in detail a data distribution processing method having an interface automatic generation unit of the present invention.

전술한 본 발명의 분산처리 시스템과 마찬가지로, 본 발명 데이터 분산처리 방법은, 각각의 페더레이트(Federate)들은 HLA/RTI 기반의 네트워크를 통하여 연동되고, 각 페더레이트들은 페더레이션(Federation)의 서버 역할을 하는 페더레이션 수행 프로세스(FedEx)와 통신하고, 상기 FedEx 와 각각의 Federate 사이의 통신은 상기 FedEx 가 통신할 데이터를 HLA/RTI 기반의 네트워크로 보내면, 각 Federate 들이 네트워크 상에서 해당 데이터를 수신해가는 Publish/Subscribe 방식으로 구현됨을 전제로 한다. Similar to the above-described distributed processing system of the present invention, the data distribution processing method of the present invention, each federation (Federate) is linked through the HLA / RTI-based network, each federation acts as a server of the federation (Federation) Communication with the federation process (FedEx), and the communication between the FedEx and each of the Federate sends the data to the FedEx to communicate to the HLA / RTI-based network, each Federate receives the corresponding data on the network Publish / It is assumed that it is implemented by Subscribe method.

본 발명 분산처리 방법은 이러한 PS 방식의 통신을 위한 인터페이스를 자동적으로 생성하는 방법으로서. 이를 하기와 같이 보다 상세하게 설명한다.The distributed processing method of the present invention is a method for automatically generating an interface for such PS system communication. This will be described in more detail as follows.

먼저, 페더레이트의 시뮬레이션 네트워크 관리기가 페더레이션 객체모델(FOM)에 근거하여 마크업 언어(Markup language)로 이루어진 시뮬레이션 객체모델(SOM) 문서를 생성한다(단계 S 100).First, the federation simulation network manager generates a simulation object model (SOM) document in a markup language based on the federation object model (FOM) (step S 100).

그리고, 인터페이스 자동생성부는 상기 페더레이트의 시뮬레이션 네트워트 관리기에서 생성된 시뮬레이션 객체모델(SOM)을 해석한다(단계 S 110). The interface automatic generation unit analyzes the simulation object model (SOM) generated by the simulation network manager of the federation (step S 110).

이어서, 상기 인터페이스 자동생성부가 해석된 SOM 에 따라서 자동적으로 해당 페더레이트의 인터페이스를 생성한다(단계 S 120).Subsequently, the interface automatic generation unit automatically generates an interface of the corresponding federation according to the analyzed SOM (step S 120).

바람직하게는, 상기 네트워크관리기가 FOM 에 근거하여 SOM 을 생성할 때 사용되는 마크업 언어는 XML(eXtensible Markup Language)이다.Preferably, the markup language used when the network manager generates the SOM based on the FOM is eXtensible Markup Language (XML).

이때, 상기 S 120 단계는 도 6 과 같은 단계를 포함하고 있다. 즉, 상기 인터페이스 자동생성부는 네트워크관리기가 해석한 SOM 의 해석 결과에 따라서 FOM 에서 메타(meta) 정보를 가져와서 인터페이스 생성모듈로 전달한다(단계 S 200).At this time, the step S 120 includes the step as shown in FIG. That is, the interface automatic generation unit obtains meta information from the FOM according to the analysis result of the SOM analyzed by the network manager, and transfers the meta information to the interface generation module (step S 200).

상기 인터페이스 생성모듈은 전달된 메타 정보를 저장하고, 저장된 메타 정보에 따라서 각 페더레이션의 인터페이스를 위한 코드를 생성한다(단계 S 210).The interface generation module stores the transferred meta information and generates a code for an interface of each federation according to the stored meta information (step S 210).

상기 인터페이스 생성모듈은 인터페이스의 오브젝트(Object, 객체) 정보를 생성하는 오브젝트 생성기(Object factory)와, 인터페이스의 상호관계(interaction) 정보를 생성하는 인터랙션 생성기(Interaction factory)와, 인터페이스의 속성 정보를 생성하는 속성 생성기(Attribute Factory)와, 인터페이스의 파라미터 정보를 생성하는 파라미터 생성기(Parameter Factory)를 포함한다. The interface generating module generates an object factory for generating object (object) information of an interface, an interaction factory for generating interaction information of an interface, and generates attribute information of an interface. It includes an attribute factory (Attribute Factory), and a parameter generator (Parameter Factory) for generating parameter information of the interface.

따라서, 전술한 도 3 에 도시된 바와 같이 SOM 문서에 해당 페더레이트의 오브젝트 계층(Object class), 인터렉션 계층(Interaction class), 속성(Attributes) 및 파라미터(Parameters)의 정보가 구체적으로 기재되어 있다면, 상기 인터페이스 생성모듈은 SOM 문서를 해석하여 파악된 정보에 의하여 FOM 으로부터 해당 SOM 의 정보에 대응하는 메타(meta) 정보를 불러오고, 불러온 메타 정보에 의거하여 인터페이스 생성모듈의 각각의 생성기들에 의하여 해당 페더레이트의 인터페이스가 자동적으로 생성되게 된다.
Therefore, as shown in FIG. 3, if the information of the object class, interaction class, attributes, and parameters of the corresponding federation is specifically described in the SOM document, The interface generating module reads meta information corresponding to the information of the corresponding SOM from the FOM based on the information found by interpreting the SOM document, and by each of the generators of the interface generating module based on the retrieved meta information. The federated interface will be created automatically.

이상의 설명에서 본 발명의 본 발명 인터페이스 자동 생성부를 가진 데이터 분산처리 시스템 및 그 방법을 첨부된 도면을 참조하여 상세하게 설명하였으나, 본 발명은 당업자에 의하여 다양한 수정, 변경 및 치환이 가능하고, 이러한 수정, 변경 및 치환은 본 발명의 보호범위에 속하는 것으로 해석되어야 한다.In the above description, the data distribution processing system having the present invention interface automatic generation unit and its method have been described in detail with reference to the accompanying drawings, but the present invention can be variously modified, changed and replaced by those skilled in the art. , Changes and substitutions should be construed as falling within the protection scope of the present invention.

10, 11, 12 : 네트워크 관리기
20, 21, 22 : 인터페이스
30 : 인터페이스 자동생성부
31 : SOM 해석모듈
32 : 인터페이스 생성모듈
321 : 오브젝트 생성기
322 : 인터랙션 생성기
323 : 속성 생성기
324 : 파라미터 생성기
100 : HLA/RTI 기반 네트워크
10, 11, 12: network manager
20, 21, 22: interface
30: interface automatic generation unit
31: SOM analysis module
32: interface generation module
321: Object Generator
322: Interaction Generator
323: property generator
324: parameter generator
100: HLA / RTI based network

Claims (9)

페더레이션 객체모델(FOM)을 가진 페더레이션(Federation) 내의 페더레이트(Federate)와 페더레이션 수행 프로세스(FedEx)가 HLA/RTI 기반의 네트워크(100)를 통하여 발행/구독(Publish/Subscribe) 방식으로 상호간 통신을 수행하기 위한 인터페이스를 가진 분산처리 시스템에 있어서,
상기 페더레이션 객체모델(FOM)에 기초하여 작성되되 마크업 언어(Markup language)를 이용하여 이루어진 시뮬레이션 객체모델(SOM) 문서를 해석하여 인터페이스를 자동적으로 생성하는 인터페이스 자동생성부(30);
를 포함하여 구성되는 것을 특징으로 하는 인터페이스 자동생성부를 가진 데이터 분산처리 시스템.
Federation in Federation with Federation Object Model (FOM) and Federation Execution Process (FedEx) communicate with each other in a Publish / Subscribe manner via HLA / RTI-based network 100 In a distributed processing system having an interface for performing,
An interface automatic generation unit 30 which is generated based on the federation object model (FOM) and automatically generates an interface by interpreting a simulation object model (SOM) document made using a markup language;
Data distribution processing system having an interface automatic generation unit comprising a.
제 1 항에 있어서, 상기 SOM 문서를 작성하기 위한 마크업 언어는 XML 언어 인 것을 특징으로 하는 인터페이스 자동생성부를 가진 데이터 분산처리 시스템.
The data distribution processing system of claim 1, wherein the markup language for creating the SOM document is an XML language.
제 1 항에 있어서, 상기 SOM 문서는 FOM 의 오브젝트 계층(Object class), 인터렉션 계층(Interaction class), 속성(Attributes) 및 파라미터(Parameters)의 정보가 기재되는 것을 특징으로 하는 인터페이스 자동생성부를 가진 데이터 분산처리 시스템.
The data of claim 1, wherein the SOM document includes information on an object class, an interaction class, attributes, and parameters of the FOM. Distributed processing system.
제 1 항에 있어서, 상기 인터페이스 자동생성부(30)는,
상기 SOM 문서를 해석하고, 해석 결과에 의하여 FOM 에서 생성된 메타(meta) 정보를 가져와 인터페이스 생성모듈(32)로 전달하는 SOM 해석모듈(31);
상기 SOM 해석모듈(31)로부 전달받은 메타 정보를 저장하고, 저장된 메타 정보에 따라서 각 페더레이션의 인터페이스를 생성하는 인터페이스 생성모듈(32);
을 포함하여 구성되는 것을 특징으로 하는 인터페이스 자동생성부를 가진 데이터 분산처리 시스템.
The method of claim 1, wherein the interface automatic generation unit 30,
An SOM analysis module 31 for interpreting the SOM document and bringing meta information generated in the FOM according to an analysis result to the interface generation module 32;
An interface generation module 32 for storing the meta information received from the SOM analysis module 31 and generating an interface of each federation according to the stored meta information;
Data distribution processing system having an interface automatic generation unit, characterized in that comprises a.
제 4 항에 있어서, 상기 인터페이스 생성모듈(32)은,
인터페이스의 오브젝트(Object) 정보를 생성하는 오브젝트 생성기(321);
인터페이스의 상호관계(interaction) 정보를 생성하는 인터랙션 생성기(322);
인터페이스의 속성 정보를 생성하는 속성 생성기(323);
인터페이스의 파라미터 정보를 생성하는 파라미터 생성기(324);
를 포함하는 것을 특징으로 하는 인터페이스 자동생성부를 가진 데이터 분산처리 시스템.
The method of claim 4, wherein the interface generation module 32,
An object generator 321 for generating object information of an interface;
An interaction generator 322 for generating interaction information of an interface;
An attribute generator 323 for generating attribute information of an interface;
A parameter generator 324 for generating parameter information of an interface;
Data distribution processing system having an interface automatic generation unit comprising a.
삭제delete 삭제delete 삭제delete 삭제delete
KR1020100105983A 2010-10-28 2010-10-28 Distributed transaction system having automatic geneation part for interface and method therefor KR101045346B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100105983A KR101045346B1 (en) 2010-10-28 2010-10-28 Distributed transaction system having automatic geneation part for interface and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100105983A KR101045346B1 (en) 2010-10-28 2010-10-28 Distributed transaction system having automatic geneation part for interface and method therefor

Publications (1)

Publication Number Publication Date
KR101045346B1 true KR101045346B1 (en) 2011-06-30

Family

ID=44406292

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100105983A KR101045346B1 (en) 2010-10-28 2010-10-28 Distributed transaction system having automatic geneation part for interface and method therefor

Country Status (1)

Country Link
KR (1) KR101045346B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101948203B1 (en) * 2018-05-14 2019-02-15 주식회사 휴먼씨엔씨 Federate application method and federation apparatus in HLA/RTI
KR20190092901A (en) 2018-01-31 2019-08-08 주식회사 데이터스트림즈 Spark SQL-based data federation apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099698A (en) 2001-09-21 2003-04-04 Toshiba Corp Simulation system
US20050193367A1 (en) 2004-03-01 2005-09-01 Raytheon Company System and method for dynamic runtime HLA-federation-execution data display

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099698A (en) 2001-09-21 2003-04-04 Toshiba Corp Simulation system
US20050193367A1 (en) 2004-03-01 2005-09-01 Raytheon Company System and method for dynamic runtime HLA-federation-execution data display

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3rd International Conference on Natural Computation, "Research on Model Criterion and Mapping of Simulation Computation", IEEE Computer Society, 2007.
CMU Technical Note, "A Federation Object Model (FOM) Flexible Federate Framework", CMU/SEI-2003-TN-007, March 2003.

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190092901A (en) 2018-01-31 2019-08-08 주식회사 데이터스트림즈 Spark SQL-based data federation apparatus
KR101948203B1 (en) * 2018-05-14 2019-02-15 주식회사 휴먼씨엔씨 Federate application method and federation apparatus in HLA/RTI

Similar Documents

Publication Publication Date Title
Granchelli et al. Towards recovering the software architecture of microservice-based systems
CA3111422C (en) User interface for automated flows within a cloud based developmental platform
CN106227605B (en) A kind of the dynamic micro services expansion method and device of multilingual cloud compiling
CN103336705B (en) Automatic transcoding between script process and Workflow system and semantic self adaptation
US10101972B1 (en) Data modelling and flow engine for building automated flows within a cloud based developmental platform
US8429671B2 (en) Integrated workflow builder for disparate computer programs
CN105094818A (en) Construction method and system for comprehensive application of natural resources based on SOA
EP3084628B1 (en) Method for an integrated data handling for the engineering and operation of a plant
CN105138448A (en) Method and device for page test at front end
Zirkelbach et al. On the modernization of ExplorViz towards a microservice architecture
CN105138339A (en) Distributed communication midware developing method based on DDS standard
EP3454203A1 (en) Data modelling and flow engine for building automated flows within a cloud based developmental platform
KR101086620B1 (en) Smart office system and server for managing the sames and method for managing the sames
García-Sánchez et al. Service oriented evolutionary algorithms
CN102135889A (en) Method for rapidly constructing embedded system communication way
Kumara et al. Runtime evolution of service-based multi-tenant saas applications
CN104166546A (en) Implementation method and system used for data distribution service (DDS) application software and based on model driven architecture (MDA)
CN107391118A (en) A kind of Web applications Consumer's Experience plateform system
KR101045346B1 (en) Distributed transaction system having automatic geneation part for interface and method therefor
CN104320442B (en) Application system presentation layer integrated technology plateform system and method
Kulscár et al. Bringing Clouds down to Earth: Modeling Arrowhead Deployments via Eclipse Vorto.
CN111061789A (en) Smart power grids capital construction information management system
Baglietto et al. Always-on distributed spreadsheet mashups
Jiménez et al. Deployment Specification challenges in the context of large scale systems
Dumez et al. Formal specification and verification of service composition using LOTOS

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140414

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150424

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160511

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190527

Year of fee payment: 9