KR20190012080A - Application remote test device using data distribution service - Google Patents

Application remote test device using data distribution service Download PDF

Info

Publication number
KR20190012080A
KR20190012080A KR1020170094992A KR20170094992A KR20190012080A KR 20190012080 A KR20190012080 A KR 20190012080A KR 1020170094992 A KR1020170094992 A KR 1020170094992A KR 20170094992 A KR20170094992 A KR 20170094992A KR 20190012080 A KR20190012080 A KR 20190012080A
Authority
KR
South Korea
Prior art keywords
dds
communication
test
data
application program
Prior art date
Application number
KR1020170094992A
Other languages
Korean (ko)
Other versions
KR101992978B1 (en
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 KR1020170094992A priority Critical patent/KR101992978B1/en
Publication of KR20190012080A publication Critical patent/KR20190012080A/en
Application granted granted Critical
Publication of KR101992978B1 publication Critical patent/KR101992978B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides an application program remote test apparatus using a data distribution service. The application program remote test apparatus using a data distribution service includes a DDS test terminal which realizes registering a data type for data distribution service (DDS) communication, registering a communication device, distributing a DDS application program, and executing a test and monitoring a result of the execution for each of remote terminals to be tested, in a distributed computing environment, by simply operating an execution menu on one web screen.

Description

데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치{APPLICATION REMOTE TEST DEVICE USING DATA DISTRIBUTION SERVICE}TECHNICAL FIELD [0001] The present invention relates to an application program remote test apparatus using a data distribution service,

본 발명은 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치에 관한 것으로, 더욱 상세하게는 분산된 컴퓨팅 환경에서 원격의 피테스트 단말들 각각에 대하여 데이터분산서비스(DDS) 통신을 위한 데이터 타입 등록, 통신기기 등록, DDS 응용프로그램의 배포, 테스트 실행 및 실행 결과 모니터링을 하나의 웹(web) 화면에서 실행 메뉴의 조작만으로 구현하는 DDS 테스트 단말을 포함함으로써, DDS 통신 테스트의 업무 효율을 향상시키고, 테스트 비용 절감 및 개발자의 수고를 덜어줄 뿐 아니라, 특히 DDS 다대다(N : N) 통신 테스트 환경의 경우, 응용 프로그램 간 구동 시간차를 최대한 축소시켜 보다 정확한 통신 성능을 측정할 수 있는, 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치에 관한 것이다.
The present invention relates to an application program remote test apparatus using a data distribution service, and more particularly, to an application program remote test apparatus using a data distribution service, a data type registration for data distribution service (DDS) communication, By including the DDS test terminal that implements the registration, distribution of the DDS application, test execution and monitoring of the execution result on the operation of the execution menu on one web screen, it is possible to improve the work efficiency of the DDS communication test and reduce the test cost And application developers using data distribution service that can measure more accurate communication performance by minimizing the time difference between application programs in case of DDS many-to-many (N: N) communication test environment. Program remote test apparatus.

일반적으로 DDS(Data Distribution Service)는 OMG(Object Management Group)에서 국제 표준으로 제정한 데이터 중심의 발간-구독(Publish-Subscribe) 방식의 통신 미들웨어로써, 미리 약속된 데이터 타입인 토픽(Topic)을 통해 데이터를 송수신한다.In general, the DDS (Data Distribution Service) is a data-oriented communication-middleware based on a data-centered publication-subscribe method established by the Object Management Group (OMG) as an international standard. Data is transmitted and received.

DDS(Data Distribution Service)는 데이터 신뢰성 및 상호 운용성을 보장하며, 실질적인 데이터 통신을 담당하는 RTPS(Real-Time Publish Subscribe) 계층과, 응용프로그램에 데이터의 발간/구독을 위한 기능 인터페이스를 제공하는 DCPS(Data-Centric Publish Subscribe) 계층으로 구성된다.The DDS (Data Distribution Service) guarantees data reliability and interoperability, and includes a real-time publish subscription (RTPS) layer that is responsible for actual data communication and a DCPS Data-Centric Publish Subscribe) layer.

최근 해외에서는 군사, 금융, 공항관제, 전력산업, 의료체계 등 다양한 분야(주로 mission-critical system)에서 DDS(Data Distribution Service)가 사용되고 있지만, 국내에서는 함정전투체계에 적용된 사례가 있지만, 그 외의 분야에서는 DDS(Data Distribution Service) 도입이 아직 미비한 실정이다.Recently, DDS (Data Distribution Service) has been used in various fields (mainly mission-critical system) such as military, finance, airport control, electric power industry and medical system. However, DDS (Data Distribution Service) has not been introduced yet.

한편 일반적인 클라이언트 프로그램은 PC 1대로 기본적인 테스트가 가능하지만, 통신 프로그램의 경우는 기본적으로는 PC 2대가 필요하며, 다대다(N : N) 통신환경 시험 시 필요한 컴퓨팅 자원은 훨씬 많아진다. On the other hand, a general client program can perform basic tests on one PC, but in the case of a communication program, two PCs are basically required, and a lot of computing resources are required for a many-to-many (N: N) communication environment test.

이러한 분산 컴퓨팅 환경에서의 다대다(N : N) 통신 테스트는 보다 더 많은 비용과 노력을 필요로 한다. Many-to-many (N: N) communication tests in these distributed computing environments require more cost and effort.

종래의 데이터분산서비스(DDS) 다대다 통신 테스트는 리눅스나 윈도우의 콘솔(터미널) 창을 통해 원격지의 PC에 접속하여 실행프로그램을 배포 하고, 이를 일일이 구동시키는 방법으로 수행하였다. Conventional data distribution service (DDS) Many-to-many communication test was performed by connecting to a remote PC through a console window of Linux or Windows, distributing executable program, and running it individually.

이와 같은 방식으로 인해, 종래 기술은 다대다 통신의 성능을 정확히 측정하기 위해서는, 모든 응용프로그램을 동시에 실행시켜 주어야 하기 때문에 신속하고 정확한 통신 테스트의 업무 효율을 기대하기 어려운 문제점이 있었다.
Due to such a method, in order to accurately measure the performance of many-to-many communication, the prior art must execute all application programs at the same time, so that it is difficult to expect the efficiency of quick and accurate communication test.

대한민국 공개특허 제10-2006-0111360호Korean Patent Publication No. 10-2006-0111360

본 발명이 해결하고자 하는 기술적 과제는, 분산된 컴퓨팅 환경에서 원격의 피테스트 단말들 각각에 대하여 데이터분산서비스(DDS) 통신을 위한 데이터 타입 등록, 통신기기 등록, DDS 응용프로그램의 배포, 테스트 실행 및 실행 결과 모니터링을 하나의 웹(web) 화면에서 실행 메뉴의 조작만으로 구현하는 DDS 테스트 단말을 포함함으로써, DDS 통신 테스트의 업무 효율을 향상시키고, 테스트 비용 절감 및 개발자의 수고를 덜어줄 뿐 아니라, 특히 DDS 다대다(N : N) 통신 테스트 환경의 경우, 응용 프로그램 간 구동 시간차를 최대한 축소시켜 보다 정확한 통신 성능을 측정할 수 있는, 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치를 제공하는데 있다.
It is an object of the present invention to provide a method and apparatus for data type registration, communication device registration, distribution of a DDS application program, test execution and the like for data distribution service (DDS) communication for each remote test terminal in a distributed computing environment By including the DDS test terminal that implements the execution result monitoring by the operation of the execution menu on one web screen, it is possible to improve the work efficiency of the DDS communication test, reduce the test cost, And to provide an application program remote test apparatus using a data distribution service which can measure a communication performance more accurately by minimizing a driving time difference between applications in a DDS many-to-many (N: N) communication test environment.

상기 기술적 과제를 이루기 위한 본 발명에 따른 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치는, 분산된 컴퓨팅 환경에서 원격의 피테스트 단말들 각각에 대하여 데이터분산서비스(DDS) 통신을 위한 데이터 타입 등록, 통신기기 등록, DDS 응용프로그램의 배포, 테스트 실행 및 실행 결과 모니터링을 하나의 웹(web) 화면에서 실행 메뉴의 조작만으로 구현하는 DDS 테스트 단말을 포함하는 기술을 제공한다.
According to an aspect of the present invention, there is provided an apparatus for remote testing an application program using a data distribution service, the apparatus comprising: a data type registration and communication unit for data distribution service (DDS) communication for remote test terminals in a distributed computing environment; And a DDS test terminal that implements device registration, distribution of DDS application programs, test execution, and execution result monitoring on a single web screen with only an operation of an execution menu.

본 발명은 DDS 통신 테스트의 업무 효율을 향상시키고, 테스트 비용 절감 및 개발자의 수고를 덜어줄 뿐 아니라, 특히 DDS 다대다(N : N) 통신 테스트 환경의 경우, 응용 프로그램 간 구동 시간차를 최대한 축소시켜 보다 정확한 통신 성능을 측정할 수 있는 기술적 효과가 있다.
The present invention improves the efficiency of the DDS communication test, reduces the test cost, and saves the developer's effort. In particular, in the case of the DDS many-to-many (N: N) communication test environment, There is a technical effect that a more accurate communication performance can be measured.

도 1은 본 발명에 따른 DDS 테스트 단말과 주변의 복수의 피테스트 단말들의 관계를 계략적으로 나타낸 것이다.
도 2a는 본 발명에 따른 DDS 테스트 단말의 구성을 상세히 나타낸 것이다.
도 2b는 본 발명에 따른 실시예로, 피테스트 단말의 구성을 나타낸 것이다.
도 3은 본 발명에 따른 DDS 테스트 단말을 이용한 DDS 통신 응용프로그램 원격 테스트 방법을 순서도로 나타낸 것이다.
도 4는 본 발명에 따른 실시예로, DDS 통신을 통해 통신할 대상 데이터의 타입 등록 시 DDS 테스트 단말의 화면을 나타낸 것이다.
도 5a는 본 발명에 따른 실시예로, 응용프로그램을 배포할 원격의 통신 디바이스의 등록 시 DDS 테스트 단말의 종합현황 메뉴를 나타낸 것이다.
도 5b는 본 발명에 따른 실시예로, 응용프로그램을 배포할 원격의 통신 디바이스의 등록 시 DDS 테스트 단말의 종합현황 메뉴 중 Add 버튼 실행결과를 나타낸 것이다.
도 6은 본 발명에 따른 실시예로, DDS 통신 응용프로그램을 원격의 통신 디바이스로 배포 시 DDS 테스트 단말의 종합현황 메뉴 중 Deploy 버튼 실행결과를 나타낸 것이다.
도 7은 본 발명에 따른 실시예로, DDS 통신 설정 수행 시 DDS 테스트 단말의 환경설정 메뉴를 나타낸 것이다.
도 8은 본 발명에 따른 실시예로, DDS 통신 응용프로그램 원격 테스트 결과를 조회 및 비교하기 위한 DDS 테스트 단말의 모니터링 메뉴를 나타낸 것이다.
FIG. 1 schematically shows a relationship between a DDS test terminal according to the present invention and a plurality of tested terminals in the vicinity.
2A shows a detailed configuration of a DDS test terminal according to the present invention.
FIG. 2B illustrates a configuration of a test terminal according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating a remote test method of a DDS communication application program using a DDS test terminal according to the present invention.
FIG. 4 is a diagram illustrating a screen of a DDS test terminal when registering the type of data to be communicated through DDS communication according to an embodiment of the present invention.
FIG. 5A is a diagram illustrating an integrated status menu of a DDS test terminal when a remote communication device to which an application program is to be distributed is registered according to an embodiment of the present invention.
FIG. 5B is a diagram illustrating a result of executing the Add button in the comprehensive status menu of the DDS test terminal when registering a remote communication device to which an application program is to be distributed, according to an embodiment of the present invention.
FIG. 6 is a diagram illustrating a result of executing the Deploy button in the comprehensive status menu of the DDS test terminal when a DDS communication application program is distributed to a remote communication device according to an embodiment of the present invention.
FIG. 7 is a diagram illustrating a configuration menu of a DDS test terminal when performing DDS communication setup according to an embodiment of the present invention.
FIG. 8 is a diagram illustrating a monitoring menu of a DDS test terminal for inquiring and comparing a remote test result of a DDS communication application program according to an embodiment of the present invention.

이하에서는 본 발명의 구체적인 실시예를 도면을 참조하여 상세히 설명하도록 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

도 1은 본 발명에 따른 DDS 테스트 단말과 주변의 복수의 피테스트 단말들의 관계를 계략적으로 나타낸 것이다. FIG. 1 schematically shows a relationship between a DDS test terminal according to the present invention and a plurality of tested terminals in the vicinity.

도 1을 참조하면, 본 발명은 DDS 테스트 단말(100), 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N) 및 네트워크(10)를 포함한다. Referring to FIG. 1, the present invention includes a DDS testing terminal 100, first to-be-tested terminals 200-1 to 200-N, and a network 10. [

DDS 테스트 단말(100)은 사용자가 하나의 웹(web) 화면에서 간편한 실행 메뉴의 조작만으로도, 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N) 각각의 데이터 타입 등록, 통신기기 등록, DDS(Data Distribution Service) 응용프로그램(application)의 배포, 테스트 실행, 실행 결과 모니터링 등을 수행할 수 있도록 해주는 DDS Tester를 내장하는데, DDS Tester의 구성 및 기능에 대한 구체적인 설명은 도 2a에서 후술한다. The DDS test terminal 100 can perform the data type registration of each of the first to T < th > test terminals 200-1 to 200-N with the simple operation of the execute menu on the one web screen, , DDS Tester that enables communication device registration, distribution of DDS (Data Distribution Service) application, distribution of test application, execution of test, monitoring of execution result, and so on. 2a.

제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)은 분산된 컴퓨팅 환경에서 1개 또는 복수(N) 개의 DDS 테스트 단말(100)을 통해 1 : N 또는 N : N 방식의 DDS(Data Distribution Service) 통신 테스트가 수행되는 피 시험(test) 단말을 의미하며, 이에 대한 구성 및 기능에 대한 구체적인 설명은 도 2b에서 후술한다. The first to-be-tested terminals 200-1 to 200-N are connected to a 1: N or N: N (N) test terminal 100 through one or more DDS test terminals 100 in a distributed computing environment. A DDS (Data Distribution Service) communication test is performed, and a detailed description of the configuration and function thereof will be given later with reference to FIG. 2B.

이 경우 DDS 테스트 단말(100) 및 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)로 컴퓨터, 휴대용 단말기 등이 사용될 수 있다. In this case, a computer, a portable terminal, or the like can be used for the DDS testing terminal 100 and the first to-be-tested terminals 200-1 to 200-N.

이 경우 컴퓨터로 이를테면, 웹 브라우저(WEB Browser)가 탑재된 노트북, 데스크톱(desktop), 랩톱(laptop) 등이 사용될 수 있다.  In this case, a computer, for example, a notebook computer, a desktop computer, a laptop computer, and the like may be used.

휴대용 단말기로 PCS(Personal Communication System), PDC(Personal Digital Cellular), PHS(Personal Handyphone System), PDA(Personal Digital Assistant), GSM(Global System for Mobile communications), IMT(International Mobile Telecommunication)-2000, CDMA(Code Division Multiple Access)-2000, W-CDMA(W-Code Division Multiple Access), Wibro(Wireless Broadband Internet), 스마트폰(Smart Phone), 모바일 WiMAX(Mobile Worldwide Interoperability for Microwave Access) 등이 사용될 수 있다. PDS (Personal Digital Assistant), PDS (Personal Digital Assistant), GSM (Global System for Mobile communications), IMT (International Mobile Telecommunication) -2000, CDMA (Code Division Multiple Access) -2000, W-CDMA (W-Code Division Multiple Access), Wibro (Wireless Broadband Internet), Smart Phone, Mobile WiMAX (Mobile Worldwide Interoperability for Microwave Access) .

네트워크(10)는 DDS 테스트 단말(100)과 원격의 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N) 간에 통신이 수행될 수 있도록 인터페이스를 제공하는데, 이를테면, 근거리 통신망(Local Area Network, LAN), 광역 통신망(Wide Area Network, WAN), 부가가치 통신망(Value Added Network, VAN), 개인 근거리 무선통신(Personal Area Network, PAN), 이동 통신망(mobile radio communication network), Wibro(Wireless Broadband Internet), Mobile WiMAX, HSDPA(High Speed Downlink Packet Access) 또는 위성 통신망 등과 같은, 모든 종류의 유/무선 네트워크로 구현될 수 있다.The network 10 provides an interface for communication between the DDS testing terminal 100 and the first to-be-tested terminals 200-1 to 200-N, (LAN), a wide area network (WAN), a value added network (VAN), a personal area network (PAN), a mobile radio communication network, Wireless networks such as WiBro (Wireless Broadband Internet), Mobile WiMAX, HSDPA (High Speed Downlink Packet Access), or satellite communication network.

도 2a는 본 발명에 따른 DDS 테스트 단말의 구성을 상세히 나타낸 것이다. 2A shows a detailed configuration of a DDS test terminal according to the present invention.

도 2a를 참조하면, 본 발명에 따른 DDS 테스트 단말(100)은 Tester UI(110), Config Generator(120), Remote Application Controller(130), Logger(140), Monitor(150), Type Processor(160), DDS Data Simulator(170) 및 DDS(180)를 포함한다. Referring to FIG. 2A, the DDS testing terminal 100 includes a tester UI 110, a config generator 120, a remote application controller 130, a logger 140, a monitor 150, a type processor 160 ), A DDS Data Simulator 170, and a DDS 180.

Tester UI(110)는 웹(web) 상에서 DDS 응용프로그램의 테스트를 관리 및 제어하는 사용자 인터페이스(UI)를 제공한다. Tester UI 110 provides a user interface (UI) for managing and controlling testing of DDS application programs on the web.

Config Generator(120)는 사용자가 화면에서 설정한 통신 설정정보(이를테면, 도메인 값, 발간/구독 선택, 토픽 타입, QoS, 데이터 타입, 데이터 개수, 통신 주기 등)를 일정한 형태의 파일(이를테면, properties 파일)로 생성해 준다. The Config Generator 120 converts the communication setting information (e.g., domain value, publication / subscription selection, topic type, QoS, data type, number of data, communication cycle) set in the screen by a user into a certain type of file File).

Remote Application Controller(130)는 원격의 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)에 배포된 DDS 응용프로그램을 실행 또는 중지할 수 있도록 해준다. The remote application controller 130 enables or disables the DDS application programs distributed to the first to-be-tested terminals 200-1 to 200-N.

Logger(140)는 원격의 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)로 DDS(Data Distribution Service) 통신 테스트를 위해 접속된 통신 로그(log)의 기록을 관리한다. The logger 140 manages the recording of a communication log (log) connected for the DDS (Data Distribution Service) communication test to the first to-be-tested terminals 200-1 to 200-N do.

Monitor(150)는 원격의 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)에서 실행된 DDS(Data Distribution Service) 통신 테스트에 대한 각각의 통신 현황을 실시간으로 모니터링 해준다. The monitor 150 monitors the status of each communication for the DDS (Data Distribution Service) communication test executed in the first to-be-tested terminals 200-1 to 200-N in real time .

Type Processor(160)는 IDL(Interface Definition Language)로 선언된 데이터 타입 정의파일을 컴파일하고, 사용자가 지정한 언어로의 변환 또는 맵핑하여 결과 파일을 특정 위치에 생성해 준다. (도 4 참조)The Type Processor 160 compiles a data type definition file declared in IDL (Interface Definition Language), converts or maps the data into a language specified by the user, and creates a result file at a specific location. (See Fig. 4)

이를 부연설명하면, DDS 응용프로그램을 구현할 때, 통신하고자 하는 토픽 데이터를 구조체 형식으로 선언하고, DDS 통신을 하기 위한 몇 가지 코드(이를테면, 데이터 직렬화, 역직렬화 등)를 추가해 주어야 하는데, 이 경우 동일한 타입의 토픽(topic)을 발간(publisher)/구독(subscriber)하고자 하는 모든 응용프로그램 마다 일일이 구현해 주어야 하는 단점이 존재한다. In other words, when implementing a DDS application program, it is necessary to declare the topic data to be communicated in the form of a structure, and to add some code (for example, data serialization, deserialization, etc.) for DDS communication. There is a disadvantage that every application program that wants to publish / subscribe a topic of a type has to be implemented one by one.

이를테면, x, y 좌표와 고유 id와 이름을 속성으로 갖는 ShapeTypeExample이라는 타입의 데이터를 DDS를 통해 송수신 하려고 할 경우, 사용자는 아래 박스와 같이 먼저 해당 데이터 타입을 IDL(Interface Definition Language) 파일로 정의한다. For example, if you want to send / receive data of type ShapeTypeExample having x, y coordinates, unique id and name as attributes through DDS, the user first defines the corresponding data type as IDL (Interface Definition Language) file .

Figure pat00001
Figure pat00001

<ShapeTypeExample.idl> <ShapeTypeExample.idl>

다음으로, 도 4에 도시된 바대로, 사용자는 해당 IDL(Interface Definition Language) 파일과, 변환하려는 언어(이를테면, C++)와 저장할 경로를 입력한 뒤 생성버튼을 클릭하면, 입력한 타깃(target) 경로에 ShapeTypeExample.h(아래 박스 참조) 및 ShapeTypeExample.cpp 파일이 생성된다. Next, as shown in FIG. 4, the user inputs a corresponding IDL (Interface Definition Language) file, a language to be converted (for example, C ++) and a path to be stored, In the path, ShapeTypeExample.h (see box below) and ShapeTypeExample.cpp file are created.

Figure pat00002
Figure pat00002

<ShapeTypeExample.h> <ShapeTypeExample.h>

마지막으로, 구조체 멤버변수 외에도 DDS 통신에 필요한 직렬화 또는 역직렬화 코드가 추가되면, 사용자는 앞에서 생성된 두 파일(ShapeTypeExample.h 및 ShapeTypeExample.cpp)을 사용해서 각각의 응용프로그램을 개발 및 테스트 하면 된다.Finally, in addition to the structure member variables, when serialization or deserialization code is added for DDS communication, the user can develop and test each application using the two files created earlier (ShapeTypeExample.h and ShapeTypeExample.cpp).

DDS Data Simulator(170)는 특정 데이터 타입의 통신 테스트 데이터를 랜덤(random) 하게 생성해 준다. The DDS Data Simulator 170 randomly generates communication test data of a specific data type.

이를테면, 항공기와 관제실간 DDS로 데이터를 실시간으로 송수신하는 항공관제 프로그램을 개발한다고 가정한다. For example, suppose you develop an air traffic control program that sends and receives data in real time between aircraft and control room with DDS.

이 경우 항공기에서는 매초마다 센서에서 측정한 고도 값을 관제실로 실시간으로 송신(publish) 하는데, DDS Data Simulator(170)는 이러한 항공관제 프로그램을 개발해서 실증 전에 통신 테스트를 하기 위해서 1초마다 고도 값을 랜덤(random) 하게 생성하여 관제실로 실시간으로 송신(publish) 해 준다. In this case, the aircraft publishes the altitude value measured by the sensor to the control room in real time every second. The DDS Data Simulator (170) develops the air traffic control program so that the altitude value Randomly generates and publishes them to the control room in real time.

도 2b는 본 발명에 따른 실시예로, 피테스트 단말의 구성을 나타낸 것이다. FIG. 2B illustrates a configuration of a test terminal according to an embodiment of the present invention.

도 2b를 참조하면, 본 발명의 피테스트 단말(200)은 RTPS(210), DCPS(220), JNI(230), Data Communication(240), Control API(250) 및 Config Management(260)를 포함할 수 있다. Referring to FIG. 2B, the RTPS 210 includes a RTPS 210, a DCPS 220, a JNI 230, a data communication 240, a control API 250, and a configuration management 260 can do.

RTPS(Real Time Publish-Subscribe, 210)는 OMG에 의해 표준화된 데이터 중심 배포 서비스를 위한 분산된 DDS 어플리케이션 사이의 데이터 전송 프로토콜로써, 성능 및 상호 운용성을 보장해 준다. RTPS (Real Time Publish-Subscribe, 210) is a data transmission protocol between distributed DDS applications for data-centric distribution services standardized by OMG, ensuring performance and interoperability.

DCPS(Data-Centric Publish-Subscribe, 220)는 RTPS(210)와 응용프로그램(Application) 간의 데이터 발간(publisher)/구독(subscriber)을 위한 인터페이스로써, 이 계층을 통해 응용 프로그램은 데이터를 교환할 상대에 대한 인지 없이 원하는 데이터의 발간(publisher)/구독(subscriber) 만을 수행하게 된다.  Data-Centric Publish-Subscribe (DCPS) 220 is an interface for publishing / subscribing data between the RTPS 210 and an application program. Through this layer, And only the publisher / subscriber of the desired data can be performed.

JNI(230)는 사용되는 DDS 응용프로그램이 JAVA일 경우에 JNI(Java Native Interface)를 이용하여 JAVA API(Application Programing interface)를 제공해 준다. The JNI 230 provides a JAVA API (Application Programming Interface) using JNI (Java Native Interface) when the DDS application program used is JAVA.

Data Communication(240)은 C/C++ 기반의 DDS 통신엔진(RTPS, DCPS)에서 데이터 통신을 구현해 준다. Data Communication (240) implements data communication in a C / C ++ based DDS communication engine (RTPS, DCPS).

Control API(250)는 원격의 DDS 테스트 단말(100)을 통해 전송된 실행 또는 중지 명령 등에 대한 제어를 위한 API(Application Programing interface)를 제공한다. The Control API 250 provides an API (Application Programming Interface) for controlling execution or stop commands transmitted through the remote DDS testing terminal 100. [

Config Management(260)는 원격의 DDS 테스트 단말(100)을 통해 사용자로부터 입력받은 통신설정정보(이를테면, 도메인 값, 발간/구독 선택, 토픽 타입, QoS, 데이터 타입, 데이터 개수, 통신 주기 등)를 관리한다. The Config Management 260 transmits communication setting information (e.g., domain value, publication / subscription selection, topic type, QoS, data type, data count, communication cycle, etc.) received from the user via the remote DDS testing terminal 100 Management.

도 3은 본 발명에 따른 DDS 테스트 단말을 이용한 DDS 통신 응용프로그램 원격 테스트 방법을 순서도로 나타낸 것이고, 도 4는 본 발명에 따른 실시예로, DDS 통신을 통해 통신할 대상 데이터의 타입 등록 시 DDS 테스트 단말의 화면을 나타낸 것이며, 도 5a는 본 발명에 따른 실시예로, 응용프로그램을 배포할 원격의 통신 디바이스의 등록 시 DDS 테스트 단말의 종합현황 메뉴를 나타낸 것이고, 도 5b는 본 발명에 따른 실시예로, 응용프로그램을 배포할 원격의 통신 디바이스의 등록 시 DDS 테스트 단말의 종합현황 메뉴 중 Add 버튼 실행결과를 나타낸 것이며, 도 6은 본 발명에 따른 실시예로, DDS 통신 응용프로그램을 원격의 통신 디바이스로 배포 시 DDS 테스트 단말의 종합현황 메뉴 중 Deploy 버튼 실행결과를 나타낸 것이고, 도 7은 본 발명에 따른 실시예로, DDS 통신 설정 수행 시 DDS 테스트 단말의 환경설정 메뉴를 나타낸 것이며, 도 8은 본 발명에 따른 실시예로, DDS 통신 응용프로그램 원격 테스트 결과를 조회 및 비교하기 위한 DDS 테스트 단말의 모니터링 메뉴를 나타낸 것이다. FIG. 3 is a flowchart illustrating a method of remote testing a DDS communication application program using the DDS testing terminal according to the present invention. FIG. 4 is a diagram illustrating a DDS test FIG. 5A is a diagram illustrating a general status menu of a DDS test terminal when a remote communication device to which an application program is to be distributed is registered. FIG. FIG. 6 shows an example of the execution result of the Add button in the comprehensive status menu of the DDS test terminal when registering the remote communication device to which the application program is to be distributed. FIG. 7 is a diagram illustrating a result of execution of the Deploy button in the comprehensive status menu of the DDS test terminal when distributed to the DDS test terminal. FIG. 8 is a diagram illustrating a monitoring menu of a DDS test terminal for inquiring and comparing a DDS communication application program remote test result according to an embodiment of the present invention.

이하 도 2a 및 도3 ~ 도8을 참조하여, 본 발명에 따른 DDS 테스트 단말을 이용한 DDS 통신 응용프로그램의 원격 테스트 방법을 설명한다. Hereinafter, a method of remote testing a DDS communication application program using the DDS testing terminal according to the present invention will be described with reference to FIGS. 2A and 3 to 8. FIG.

우선, Type Processor(160)는 DDS를 통해 통신할 대상 데이터의 타입(Type)을 등록하는 제1 과정(S10)을 갖는다. First, the Type Processor 160 has a first step S10 of registering the type of data to be communicated via the DDS.

이를테면, 도 4에 도시된 바대로, 내부적으로 IDL(Interface Definition Language) 파일을 컴파일 하여 해당 언어로 타입(Type)을 변환 및 저장한다. For example, as shown in FIG. 4, an IDL (Interface Definition Language) file is internally compiled and the type is converted and stored in the corresponding language.

다음으로, 원격의 DDS 통신 디바이스(제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N))를 등록시키기 위해, 도 5a 및 도 5b에 도시된 바대로, 사용자는 Add 버튼을 통해 통신 Application을 추가하는 제2 과정(S20)을 갖는다. Next, in order to register the remote DDS communication devices (the first to-be-tested terminals 200-1 to 200-N), as shown in Figs. 5A and 5B, And a second process (S20) of adding a communication application through a button.

여기서 Application은 실제 응용프로그램이 아니라, 응용프로그램을 배포할 통신 디바이스를 등록하는 개념으로 사용되었다. Here, Application is used not as a real application but as a concept of registering a communication device to distribute an application program.

다음으로, 원격의 DDS 통신 디바이스(제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N))로 DDS 통신 응용프로그램을 배포하기 위해, 도 5a 및 도 6에 도시된 바대로, 사용자는 Application 목록에서 특정 디바이스를 선택한 후, Deploy 버튼을 누르는 제3 과정(S30)을 갖는다. Next, in order to distribute the DDS communication application program to the remote DDS communication device (first to-be-tested terminal 200-1 to Nth tested terminal 200-N), as shown in Figs. 5A and 6 , The user has a third step (S30) of selecting a specific device from the application list and then pressing the Deploy button.

다음으로, 어플리케이션 목록에서 DDS 통신 설정을 수행하기 위해, 도 7에 도시된 바대로, 사용자는 통신 설정을 하고자하는 Application을 선택하고, 통신 설정(이를테면, 도메인 값, 발간/구독 선택, 토픽 타입, QoS, 데이터 타입, 데이터 개수, 통신 주기 등)을 하거나, 또는 도 5a에 도시된 바대로, 사용자가 해당 Application 항목의 Setting을 클릭함으로써 통신 설정(이를테면, 도메인 값, 발간/구독 선택, 토픽 타입, QoS, 데이터 타입, 데이터 개수, 통신 주기 등)을 수행하는 제4 과정(S40)을 갖는다. Next, in order to perform DDS communication setting in the application list, the user selects an application for communication setting and sets communication settings (for example, domain value, publication / subscription selection, topic type, (E.g., QoS value, data type, number of data, communication cycle, etc.), or by clicking Setting of the corresponding Application item as shown in FIG. 5A, QoS, data type, number of data, communication period, etc.).

다음으로, 모든 통신노드의 세팅이 완료 되었는지를 판단하는 제5 과정(S50)을 갖는다. Next, there is a fifth step (S50) of determining whether the setting of all the communication nodes is completed.

만일 제5 과정(S50)에서 모든 통신노드의 세팅이 완료 되지 않았다고 판단한 경우(아니오), 상기 제1 과정(S10)으로 리턴 시켜 제1 과정(S10) ~ 제4 과정(S40)을 모든 통신노드의 세팅이 완료될 때까지 반복 수행한다. If it is determined that the setting of all the communication nodes has not been completed in the fifth step S50 (NO), the process returns to the first step S10 to perform the first step S10 to the fourth step S40, Is repeated until the setting of &quot;

반면 만일 제5 과정(S50)에서 모든 통신노드의 세팅이 완료 되었다고 판단한 경우(예), 어플리케이션(App) 별로 DDS 통신 테스트를 수행하기 위해, 도 5a에 도시된 바대로, 사용자는 통신 테스트를 하고자 하는 어플리케이션(App)들을 선택하고, Run 버튼을 눌러 실행시키는 제6 과정(S60)을 갖는다. On the other hand, if it is determined that the setting of all the communication nodes is completed in the fifth step S50 (Yes), in order to perform the DDS communication test for each application (App), as shown in FIG. And a sixth step (S60) for selecting applications to be executed by pressing the Run button.

이 경우 Remote Application Controller(130)는 원격의 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)에서 여러 DDS 응용프로그램을 동시 또는 개별적으로 실행 또는 중지하도록 제어한다. In this case, the remote application controller 130 controls the first to-be-tested terminals 200-1 to 200-N to execute or stop various DDS application programs simultaneously or individually.

마지막으로, 수행된 DDS 통신 테스트 결과를 조회 및 비교하기 위해, 도 5a에 도시된 바대로, 사용자는 어플리케이션(App) 별로 DDS 통신 테스트 결과를 조회하거나 또는 도 8에 도시된 바대로, 사용자는 DDS 통신 테스트 결과를 종합적으로 조회하는 제7 과정(S70)을 갖는다. Finally, in order to inquire and compare the DDS communication test results, the user inquires DDS communication test results for each application (App) as shown in FIG. 5A, or the user inputs a DDS And a seventh step (S70) of comprehensively inquiring the result of the communication test.

이 경우 Monitor(150)는 원격의 제1 피테스트 단말(200-1) ~ 제N 피테스트 단말(200-N)에서 수행되는 DDS(Data Distribution Service) 통신 테스트에 대한 각각의 통신 현황(이를테면, 여러 DDS 응용프로그램의 목록 및 상태 확인)을 실시간으로 모니터링 해준다. In this case, the monitor 150 checks the status of each communication (for example, data distribution service) for the DDS (Data Distribution Service) communication test performed on the first to-be-tested terminals 200-1 to 200- Checking the status and status of multiple DDS applications).

이상에서는 본 발명에 대한 기술사상을 첨부 도면과 함께 서술하였지만 이는 본 발명의 바람직한 실시 예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구나 본 발명의 기술적 사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다. While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit of the invention.

10 : 네트워크
100 : DDS 테스트 단말
200 : 피테스트 단말
200-1 ~ 200-N : 제1 피테스트 단말 ~ 제N 피테스트 단말
10: Network
100: DDS test terminal
200:
200-1 to 200-N: First to-be-tested terminals to Nth tested terminals

Claims (3)

분산된 컴퓨팅 환경에서 원격의 피테스트 단말들 각각에 대하여 데이터분산서비스(DDS) 통신을 위한 데이터 타입 등록, 통신기기 등록, DDS 응용프로그램의 배포, 테스트 실행 및 실행 결과 모니터링을 하나의 웹(web) 화면에서 실행 메뉴의 조작만으로 구현하는 DDS 테스트 단말을 포함하는 것을 특징으로 하는 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치.  In a distributed computing environment, data type registration, communication device registration, DDS application program distribution, test execution, and execution result monitoring for data distribution service (DDS) communication are performed on a single web, And a DDS test terminal which implements the DDS test terminal by only the operation of the execution menu on the screen. 제 1항에 있어서, 상기 DDS 테스트 단말은,
웹(web) 상에서 DDS 응용프로그램의 테스트를 관리 및 제어하는 사용자 인터페이스(UI)를 제공하는 테스터 유저인터페이스(Tester UI);
화면에서 설정된 통신 설정정보를 일정한 형태의 파일로 생성해 주는 환경 생성기(Config Generator);
원격의 피테스트 단말들 각각에 배포된 DDS 응용프로그램을 실행 또는 중지 시키도록 제어하는 원격 어플리케이션 컨트롤러(Remote Application Controller); 및
IDL(Interface Definition Language)로 선언된 데이터 타입 정의파일을 컴파일하고, 사용자가 지정한 언어로의 변환 또는 맵핑하여 결과 파일을 특정 위치에 생성해 주는 타입 프로세서(Type Processor)를 포함하는 것을 특징으로 하는 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치.
The apparatus of claim 1, wherein the DDS testing terminal comprises:
A tester UI providing a user interface (UI) for managing and controlling the test of the DDS application program on the web;
An environment generator (Config Generator) for generating the communication setting information set in the screen as a file of a certain type;
A remote application controller that controls to execute or stop the DDS application program distributed to each of the remote test terminals; And
(Type Processor) for compiling a data type definition file declared in an IDL (Interface Definition Language), and converting or mapping the data type definition file into a language specified by a user to generate a result file at a specific location Application Remote Test Device Using Distributed Services.
제 2항에 있어서, 상기 통신 설정정보는,
도메인 값, 발간/구독 선택, 토픽 타입, QoS 또는 데이터 타입을 포함하는 것을 특징으로 하는 데이터 분산 서비스를 이용한 응용프로그램 원격 테스트 장치.
The communication system according to claim 2,
Domain value, publication / subscription selection, topic type, QoS, or data type.
KR1020170094992A 2017-07-26 2017-07-26 Application remote test device using data distribution service KR101992978B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170094992A KR101992978B1 (en) 2017-07-26 2017-07-26 Application remote test device using data distribution service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170094992A KR101992978B1 (en) 2017-07-26 2017-07-26 Application remote test device using data distribution service

Publications (2)

Publication Number Publication Date
KR20190012080A true KR20190012080A (en) 2019-02-08
KR101992978B1 KR101992978B1 (en) 2019-06-25

Family

ID=65365110

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170094992A KR101992978B1 (en) 2017-07-26 2017-07-26 Application remote test device using data distribution service

Country Status (1)

Country Link
KR (1) KR101992978B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100487725B1 (en) * 2004-10-08 2005-05-04 박기복 Method and system for doing tests to measure system’s performance under various configurations with automatic modifications of the system’s configurations.
KR20060111360A (en) 2003-11-24 2006-10-27 마이크로소프트 코포레이션 Presenting a merged view of remote application shortcuts from multiple providers
KR20070029818A (en) * 2002-09-20 2007-03-14 인터내셔널 비지네스 머신즈 코포레이션 Method and apparatus for publishing and monitoring entities providing services in a distributed data processing system
KR20160000542A (en) * 2014-06-24 2016-01-05 한국전자통신연구원 Method and apparatus for gernerating data distribution service application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070029818A (en) * 2002-09-20 2007-03-14 인터내셔널 비지네스 머신즈 코포레이션 Method and apparatus for publishing and monitoring entities providing services in a distributed data processing system
KR20060111360A (en) 2003-11-24 2006-10-27 마이크로소프트 코포레이션 Presenting a merged view of remote application shortcuts from multiple providers
KR100487725B1 (en) * 2004-10-08 2005-05-04 박기복 Method and system for doing tests to measure system’s performance under various configurations with automatic modifications of the system’s configurations.
KR20160000542A (en) * 2014-06-24 2016-01-05 한국전자통신연구원 Method and apparatus for gernerating data distribution service application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
이규호 외 2명, "프레임워크 객체 모델과 DDS IDL 연동을 위한 XML 기반 DDS Topic 객체 모델 설계," 한국정보과학회 학술발표논문집, 39(2B), pp.25-27, 2012. *

Also Published As

Publication number Publication date
KR101992978B1 (en) 2019-06-25

Similar Documents

Publication Publication Date Title
Rosenkranz et al. A distributed test system architecture for open-source IoT software
Gao et al. Mobile Testing-as-a-Service (MTaaS)--Infrastructures, Issues, Solutions and Needs
US8972951B2 (en) Embedding performance monitoring into mashup application development
US7587638B2 (en) Method and system for generating and monitoring variable load on an application under test
Zhang et al. Compatibility testing service for mobile applications
US20090300423A1 (en) Systems and methods for software test management in cloud-based network
US20070169015A1 (en) Web services development automation toolkit with test case driver and customized configuration file
KR100551454B1 (en) Grid computing control method for testing application program capacity of server and service method there of
KR101282024B1 (en) Co-working tool automation system
US9348571B2 (en) Method, device, and program storage device for autonomous software life cycle management
Lacage et al. NEPI: using independent simulators, emulators, and testbeds for easy experimentation
Caporuscio et al. Model-based system reconfiguration for dynamic performance management
Grønli et al. Meeting quality standards for mobile application development in businesses: A framework for cross-platform testing
Nevedrov Using jmeter to performance test web services
Herrnleben et al. An iot network emulator for analyzing the influence of varying network quality
Nakimuli et al. Automatic deployment, execution and analysis of 5G experiments using the 5G EVE platform
US20080189077A1 (en) Load-testing device and load-testing method
US20080244532A1 (en) Testing System, and a Method and Computer Program For Testing A System Management Program
CN114416578A (en) Test method and device
KR101992978B1 (en) Application remote test device using data distribution service
CN111104331B (en) Software management method, terminal device and computer readable storage medium
Denzler et al. Static timing analysis of OPC UA PubSub
Herrnleben et al. Combench: A benchmarking framework for publish/subscribe communication protocols under network limitations
CN105868104A (en) Cross-platform graphic user interface automatic test method
Tang et al. Situation-based design: A rapid approach for pervasive application development

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