KR20040107140A - Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein - Google Patents

Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein Download PDF

Info

Publication number
KR20040107140A
KR20040107140A KR1020030038026A KR20030038026A KR20040107140A KR 20040107140 A KR20040107140 A KR 20040107140A KR 1020030038026 A KR1020030038026 A KR 1020030038026A KR 20030038026 A KR20030038026 A KR 20030038026A KR 20040107140 A KR20040107140 A KR 20040107140A
Authority
KR
South Korea
Prior art keywords
script
icon
icons
ttcn
user
Prior art date
Application number
KR1020030038026A
Other languages
Korean (ko)
Other versions
KR100512875B1 (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 KR10-2003-0038026A priority Critical patent/KR100512875B1/en
Publication of KR20040107140A publication Critical patent/KR20040107140A/en
Application granted granted Critical
Publication of KR100512875B1 publication Critical patent/KR100512875B1/en

Links

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/362Software debugging
    • G06F11/3624Software debugging by performing operations on the source code, e.g. via a compiler
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

PURPOSE: A protocol testing script construction system and method is provided to enable a user to construct a script for testing a protocol conformance without having knowledge on the TTCN(Tree Tabular Combined Notation)-3 language. CONSTITUTION: The system comprises a storage(110), an icon provider(120), a code recognizer(130), an attribute setter(140), and a script constructor(150). The storage(110) stores a list of icons matched with concepts for a protocol test, the TTCN-3 codes and attribute items matched with the icons. Te icon provider(120) reads the list of icons and offers the icons if a script construction is requested. The code recognizer(130) recognizes the TTCN-3 codes matched with the icons if icons are selected. The attribute setter(140) reads the attribute items from the storage(110) and receives attribute values if an attribute setting is requested. The script constructor(150) constructs a script by using the TTCN-3 codes for each icon and the attribute values.

Description

프로토콜 테스트를 위한 스크립트 작성장치 및 그 방법과, 스크립트 작성 소프트웨어를 기록한 컴퓨터가 읽을 수 있는 기록매체{Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein}Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein}

본 발명은 스크립트 작성장치 및 그 방법에 관한 것으로서, 보다 상세하게는, 사용자가 소정 시스템에서 사용하는 프로토콜의 적합성을 테스트하기 위한 스크립트를 TTCN-3 언어에 대한 습득 없이도 용이하게 작성할 수 있도록 하는 프로토콜 테스트를 위한 스크립트 작성장치 및 그 방법과, 스크립트 작성 소프트웨어를 기록한 컴퓨터가 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a script writing device and a method thereof, and more particularly, to a protocol test that enables a user to easily write a script for testing the suitability of a protocol used in a predetermined system without having to learn the TTCN-3 language. And a computer readable recording medium having recorded thereon script writing software.

일반적으로, 임의의 시스템에서 사용하는 프로토콜의 적합성(conformance)을 테스트하기 위해, 사용자는 먼저 자신의 단말기(예컨대, PC)에 설치된 프로토콜 테스트를 위한 소프트웨어(이하, 프로토콜 테스트 프로그램 또는 프로토콜 테스터라 함)를 이용하여 스크립트를 작성한다.In general, in order to test the conformance of a protocol used in any system, a user first needs software for testing a protocol installed in his terminal (eg, a PC) (hereinafter referred to as a protocol test program or a protocol tester). Write a script using.

이때, 사용자단말기에 설치된 프로토콜 테스터는 사용자가 프로토콜의 적합성을 테스트하기 위한 스크립트를 작성할 수 있도록 작업환경(또는 스크립트 작성기(script editor))을 제공한다.At this time, the protocol tester installed in the user terminal provides a working environment (or script editor) so that the user can write a script for testing the conformance of the protocol.

그리고, 사용자가 작성된 스크립트에 의거하여 프로토콜의 적합성 테스트를 요청하면, 프로토콜 테스터는 작성된 스크립트를 별도의 작업을 통해 실행 가능한 형태로 변환(compile)한 후 이를 해당 시스템으로 전송하고, 그 결과를 수신하는 동작과정을 통해 해당 시스템의 프로토콜을 테스트한다.When the user requests the conformance test of the protocol based on the written script, the protocol tester compiles the written script into an executable form through a separate task and transmits it to the corresponding system and receives the result. Test the protocol of the system through the operation.

여기서, 사용자단말기에 설치된 프로토콜 테스터와 시스템간의 메시지 송수신에 따른 프로토콜 적합성 테스트의 예를 설명하면 다음과 같다. 예를 들어, 시스템이 SIP 프로토콜을 사용한다고 가정할 경우, 프로토콜 테스터(엄밀히 말하면, SIP 프로토콜 테스터임)는 'REGISTER'을 시스템으로 전송한 후 이에 대한 응답으로 '200 OK'를 수신받고, 송신 메시지(즉, REGISTER)의 'Call-Id'와 수신 메시지(즉, 200 OK)의 'Call-Id'가 일치하는 것으로 확인되면, 해당 SIP 프로토콜에 적합한 것으로 판단한다. 한편, 프로토콜 테스터는 수신 메시지로서 '200 OK'가 수신되지 않거나 또는 송신 메시지와 수신 메시지의 'Call-Id'가 일치하지 않는 것으로 확인되면, SIP 프로토콜에 적합하지 않은 것으로 판단한다.Here, an example of the protocol conformance test according to the message transmission and reception between the protocol tester and the system installed in the user terminal is as follows. For example, assuming that the system uses the SIP protocol, the protocol tester (strictly, the SIP protocol tester) sends 'REGISTER' to the system and receives '200 OK' in response to the message. If it is confirmed that the 'Call-Id' of the (eg, REGISTER) and the 'Call-Id' of the received message (ie, 200 OK) match, it is determined to be suitable for the corresponding SIP protocol. On the other hand, if the protocol tester does not receive '200 OK' as the received message or the 'Call-Id' of the transmission message and the received message does not match, it determines that it is not suitable for the SIP protocol.

상술한 바와 같이, 기존의 프로토콜 테스터는 자체 정의한 언어(예컨대, Inet사의 ISL)를 사용하여 사용자가 스크립트를 작성하도록 하고 있다. 그 결과, ETSI 및 ITU에서 스크립트 작성을 위해 권고하고 있는 TTCN-3 프로그래밍 언어에 의거한 스크립트의 작성은 지원하지 못하고 있다. 예를 들면, TTCN-3 프로그래밍 언어에서 제공하는 'component', 'alt', 'sync' 등과 같은 개념들이 적용된 스크립트의 작성을 지원하지 못하고 있다.As described above, existing protocol testers allow users to write scripts using their own language (eg, Inet's ISL). As a result, scripting based on the TTCN-3 programming language, which is recommended for scripting by ETSI and ITU, is not supported. For example, concepts such as 'component', 'alt', and 'sync' provided by the TTCN-3 programming language are not supported.

한편, 기존의 프로토콜 테스터가 C, C++, Java 뿐만 아니라 TTCN-3 프로그래밍 언어에 의거한 스크립트의 작성을 지원하더라도, 해당 프로토콜 테스터는 사용자가 프로그래밍 언어를 이용하여 직접 스크립트를 작성하도록 하는 작업환경을 제공하고 있다. 그 결과, 사용자는 원하는 형태의 프로토콜 테스트를 위한 스크립트를 작성하기 위해 어느 하나 이상의 프로그래밍 언어를 습득해야만 한다.On the other hand, even if the existing protocol tester supports writing scripts based on the TTCN-3 programming language as well as C, C ++, and Java, the protocol tester provides a working environment that allows users to write scripts directly using the programming language. Doing. As a result, the user must acquire one or more programming languages to write scripts for the desired type of protocol testing.

따라서, 본 발명은 상술한 바와 같은 제반 문제점을 해결하기 위해 안출된 것으로서, TTCN-3 프로그래밍 언어에 의거한 스크립트 작성 기능을 제공하고, 또한, 사용자가 TTCN-3 프로그래밍 언어에 대한 습득 없이도 프로토콜의 적합성을 테스트하기 위한 스크립트를 용이하게 작성할 수 있도록 하는 프로토콜 테스트를 위한 스크립트 작성장치 및 그 방법과, 스크립트 작성 소프트웨어를 기록한 컴퓨터가 읽을 수 있는 기록매체를 제공하는데 목적이 있다.Accordingly, the present invention has been made to solve the above-described problems, and provides a script writing function based on the TTCN-3 programming language, and also allows the user to conform to the protocol without learning about the TTCN-3 programming language. An object of the present invention is to provide a script writing apparatus and method for protocol testing, and a computer readable recording medium for recording script writing software, which makes it easy to write a script for testing a script.

도 1은 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성장치에 대한 개략적인 구성도,1 is a schematic configuration diagram of a script writing apparatus for testing a protocol according to the present invention;

도 2는 본 발명에 따른 스크립트 작업환경에 대한 예시도,2 is an exemplary view of a scripting work environment according to the present invention;

도 3a 내지 도 3g는 본 발명에 따른 스크립트 작성을 위한 아이콘들 및 그 아이콘들에 매칭되는 TTCN-3 코드들을 나타낸 예시도,3A to 3G are exemplary views showing icons for creating a script and TTCN-3 codes matching the icons according to the present invention;

도 4는 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성방법에 대한 처리 흐름도,4 is a flowchart illustrating a script writing method for protocol testing according to the present invention;

도 5는 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성방법에서 스크립트 편집과정에 대한 처리 흐름도이다.5 is a flowchart illustrating a script editing process in the script creation method for protocol testing according to the present invention.

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

100 : 스크립트 작성장치 110 : 저장부100: script writing device 110: storage unit

120 : 아이콘 제공부 130 : 코드 인식부120: icon providing unit 130: code recognition unit

140 : 속성 설정부 150 : 스크립트 작성부140: property setting unit 150: script creation unit

상기 목적을 달성하기 위한 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성방법은 (a) TTCN-3언어에서 제공되는 프로토콜 테스트를 위한 개념들을 매칭시킨 아이콘들에 대한 목록과, 각 아이콘들에 매칭되는 TTCN-3 코드들 및 속성항목들을 관리하는 단계; (b) 사용자에 의해 프로토콜 테스트를 위한 스크립트 작성이 요청되면, 아이콘 목록을 제공하는 단계; (c) 사용자에 의해 스크립트 작성을 위한 아이콘들이 선택되면, 선택된 각 아이콘들에 매칭되는 TTCN-3 코드들을 인식하는 단계; (d) 사용자에 의해 아이콘들에 대한 속성 설정이 요청되면, 각 아이콘들에 매칭되는 속성항목들을 제공함으로써 설정된 각 아이콘별 속성항목들에 대한 속성 값을 입력받는 단계; 및 (e) (c)단계에서 인식된 각 아이콘별 TTCN-3 코드들과, (d)단계에서 입력받은 각 아이콘별 속성항목들의 속성 값에 의거하여 스크립트를 작성하는 단계를 포함하여 구성된다.In order to achieve the above object, a method for writing a script for a protocol test according to the present invention includes (a) a list of icons matching concepts for protocol test provided in the TTCN-3 language, and TTCN matching each icon. -3 managing codes and attribute items; (b) providing a list of icons when requested to create a script for protocol testing by a user; (c) if icons for script writing are selected by the user, recognizing TTCN-3 codes matching each selected icon; (d) receiving a property value for each icon item set by providing property items matched with each icon when a property setting for the icons is requested by the user; And (e) creating a script based on the TTCN-3 codes for each icon recognized in step (c) and the property values of the property items for each icon input in step (d).

또한, 상기 목적을 달성하기 위한 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성장치는 TTCN-3 언어에서 제공하는 프로토콜 테스트를 위한 개념들을매칭시킨 아이콘들에 대한 목록과, 각 아이콘들에 매칭되는 TTCN-3 코드들 및 속성항목들을 저장하는 저장부; 사용자에 의해 스크립트 작성이 요청되면, 저장부를 바탕으로 아이콘 목록을 읽어들여 사용자에게 제공하는 아이콘 제공부; 사용자에 의해 스크립트 작성을 위한 아이콘들이 선택되면, 저장부를 참조하여 각 아이콘들에 매칭되는 TTCN-3 코드들을 인식하는 코드 인식부; 사용자에 의해 아이콘들에 대한 속성 설정이 요청되면, 저장부를 바탕으로 각 아이콘들에 매칭되는 속성항목들을 읽어들여 제공하고, 사용자에 의해 설정된 각 아이콘별 속성항목들에 대한 속성 값을 입력받는 속성 설정부; 및 코드 인식부로부터 전달받은 각 아이콘별 TTCN-3 코드들과, 속성 설정부로부터 전달받은 각 아이콘별 속성항목들의 속성 값에 의거하여 스크립트를 작성하는 스크립트 작성부를 포함하여 구성된다.In addition, a script writing apparatus for testing a protocol according to the present invention for achieving the above object is a list of icons matching the concepts for protocol testing provided by the TTCN-3 language, and TTCN- matching each icon A storage unit for storing 3 codes and attribute items; An icon providing unit which reads a list of icons based on a storage unit and provides them to the user when a script is requested by the user; A code recognizing unit recognizing TTCN-3 codes matching each icon by referring to a storage unit when icons for script writing are selected by a user; When the user is requested to set the properties of the icons, based on the storage unit reads the property items corresponding to each icon and provides, and the property settings to receive the property value for each of the icon-specific property items set by the user part; And a script preparation unit for creating a script based on the TTCN-3 codes for each icon received from the code recognition unit and the attribute values of the attribute items for each icon received from the property setting unit.

이하, 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성장치 및 그 방법에 대한 바람직한 실시예를 첨부한 도면에 의거하여 상세히 설명하기로 한다.Hereinafter, a preferred embodiment of a script writing apparatus and method thereof for a protocol test according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성장치에 대한 개략적인 구성도이다. 이때, 본 발명에 따른 스크립트 작성장치(100)는 사용자단말기(예컨대, PC)(도시생략)에 설치되어 사용자의 요청에 따라 소정 시스템에서 사용하는 프로토콜을 테스트하는 프로토콜 테스터의 일부 기능에 해당된다. 즉, 본 발명에 따른 스크립트 작성장치(100)는 프로토콜 테스터에 포함되어, 사용자의 요청에 따른 스크립트를 TTCN-3 언어(또는 TTCN-3 프로그래밍 언어)로 작성하는 기능을 수행한다. 본 발명에서는, SIP 프로토콜을 사용하는 시스템에 한하여 그 시스템의 SIP 프로토콜에 대한 적합성을 테스트하기 위한 스크립트를 작성하는 방법에 대하여 설명하기로 한다. 하지만, 당업자라면 이하에서 개시되는 본 발명의 특징에 따라 SIP 프로토콜뿐만 아니라 다른 프로토콜의 적합성을 테스트하기 위한 스크립트도 작성 가능하므로 본 발명의 권리범위는 SIP 프로토콜에 국한되는 것이 아님은 물론이다.1 is a schematic diagram of a script writing apparatus for testing a protocol according to the present invention. In this case, the script writing apparatus 100 according to the present invention is installed in a user terminal (for example, a PC) (not shown) and corresponds to some functions of a protocol tester for testing a protocol used in a predetermined system according to a user's request. That is, the script writing apparatus 100 according to the present invention is included in the protocol tester and performs a function of writing a script according to a user's request in the TTCN-3 language (or TTCN-3 programming language). In the present invention, only a system using the SIP protocol will be described a method of writing a script for testing the conformance to the SIP protocol of the system. However, those skilled in the art can write scripts for testing the suitability of other protocols as well as the SIP protocol according to the features of the present invention disclosed below, of course, the scope of the present invention is not limited to the SIP protocol.

도 1을 참조하면, 본 발명에 따른 스크립트 작성장치(100)는 저장부(110), 아이콘 제공부(120), 코드 인식부(130), 속성 설정부(140) 및 스크립트 작성부(150)를 포함하여 구성된다.Referring to FIG. 1, the script writing apparatus 100 according to the present invention includes a storage unit 110, an icon providing unit 120, a code recognition unit 130, an attribute setting unit 140, and a script creating unit 150. It is configured to include.

저장부(110)는 TTCN-3 언어에서 제공하는 개념들을 TTCN-3 코드로 생성하기 위해 각 개념들을 매칭시킨 아이콘들에 대한 아이콘 목록과, 각 아이콘들에 매칭되는 TTCN-3 코드들 및 속성항목들을 저장/관리한다. 이때, TTCN-3 코드는 TTCN-3 언어에서 제공되는 각 개념들에 매칭됨을 알 수 있다. 한편, 각 아이콘들에 매칭되는 속성항목들은 해당 아이콘에 매칭되는 TTCN-3 코드의 속성항목들에 대응된다. 여기서, TTCN-3 언어에서 제공하는 개념들 및 그 개념들에 매칭된 아이콘들을 예로 들면 아래의 표 1과 같다.The storage unit 110 includes an icon list for icons matching each concept to generate concepts provided by the TTCN-3 language in the TTCN-3 code, TTCN-3 codes and attribute items matching the icons. Save / manage them. In this case, it can be seen that the TTCN-3 code matches each concept provided in the TTCN-3 language. Meanwhile, the attribute items matching the icons correspond to the attribute items of the TTCN-3 code matching the icon. Here, the concepts provided by the TTCN-3 language and icons matched with the concepts are shown in Table 1 below.

개념들Concepts 아이콘icon 설명Explanation testcast xxx runs on yyy{} orfunction aaa runs on bbb{}testcast xxx runs on yyy {} orfunction aaa runs on bbb {} nodenode SIP 노드(MTC, PTC 또는 IUP)시작Start SIP Node (MTC, PTC or IUP) SIPP.sendSIPP.send sendsend SIP 메시지 전송처리SIP message transfer processing label_xxx alt{}label_xxx alt {} receivereceive SIP 메시지 수신처리SIP Message Reception if(조건문){}if (condition) {} checkcheck 수신한 SIP 메시지의 파라미터 검사Inspect Parameter of Received SIP Message verdict.set()verdict.set () verdictverdict 테스트 결과 결정Determine test results stopstop stopstop 테스트 종료End of test

그리고, 'node' 아이콘에 매칭되는 TTCN-3 코드는 도 3b에 도시된 바와 같다. 마찬가지로, 각 아이콘들도 TTCN-3 코드들에 매칭되어 있다. 한편, 각 아이콘들에 매칭되는 TTCN-3 코드들에서 이용되는 'module', 'group', 'function' 등은 사전에 SIP 프로토콜에 맞게 선언되어 있음은 물론이다.The TTCN-3 code matching the 'node' icon is as shown in FIG. 3B. Likewise, each icon is matched to TTCN-3 codes. Meanwhile, 'module', 'group', and 'function' used in the TTCN-3 codes matching the icons are declared in advance for the SIP protocol.

아이콘 제공부(120)는 사용자가 SIP 프로토콜의 적합성을 테스트하기 위해 스크립트의 작성을 요청하면, 저장부(110)로부터 아이콘 목록을 읽어들여, 그 아이콘 목록을 포함하는 스크립트 작업환경을 사용자단말기(도시생략)상에 제공한다. 이때, 도 2는 스크립트 작업환경(A)을 도시한 예시도이다. 도 2에 도시된 바와 같이, 스크립트 작업환경(A)은 아이콘을 표시하기 위한 영역(이하, 아이콘 표시영역이라 함)(B1)과, 아이콘을 끌어다 놓고(drag) 작업하기 위한 영역(이하, 아이콘 작업영역이라 함)(B2)을 제공한다. 또한, 스크립트 작업환경(A)은 도움말 표시영역(B3)과, 작업에 필요한 각종 도구상자를 제공하는 영역(이하, 도구상자영역이라 함)(B4) 등을 더 제공한다.Icon providing unit 120 reads the list of icons from the storage unit 110 when the user requests the creation of a script to test the conformance of the SIP protocol, the user terminal (shows the script working environment including the list of icons) Omit). At this time, Figure 2 is an exemplary view showing a script work environment (A). As shown in FIG. 2, the script work environment A includes an area B1 for displaying an icon (hereinafter referred to as an icon display area) B1, and an area for dragging an icon (hereinafter referred to as an icon). B2). In addition, the script work environment A further provides a help display area B3 and an area B4 which provides various tool boxes necessary for the work (hereinafter referred to as a tool box area).

사용자가 아이콘 표시영역(B1)에 표시된 아이콘들을 참조하여 스크립트 작성을 위한 아이콘들을 선택한 후 그 아이콘들을 아이콘 작업영역(B2)으로 끌어다 붙이면(또는 드래그(drag)하면), 코드 인식부(130)는 저장부(110)를 참조하여 상기 아이콘 작업영역(B2)으로 드래그 된 아이콘들에 매칭되는 TTCN-3 코드들을 인식한다. 이때, 도 3a는 아이콘 작업영역(B2)으로 드래그 된 아이콘에 대한 예시도이다. 그리고, 도 3b는 아이콘 작업영역(B2)으로 드래그 된 아이콘에 매칭되는 TTCN-3 코드에 대한 예시도이다. 즉, 코드 인식부(130)는 도 3a와 같이 아이콘 작업영역(B2)으로 'node' 아이콘이 드래그되면, 도 3b와 같은 TTCN-3 코드를 인식한다.When the user selects icons for script creation by referring to the icons displayed in the icon display area B1 and drags (or drags) the icons to the icon work area B2, the code recognition unit 130 The controller 110 recognizes TTCN-3 codes matching the icons dragged to the icon work area B2. 3A is an exemplary diagram of an icon dragged to the icon work area B2. 3B is an exemplary diagram of a TTCN-3 code matching an icon dragged to the icon work area B2. That is, when the 'node' icon is dragged to the icon work area B2 as shown in FIG. 3A, the code recognition unit 130 recognizes the TTCN-3 code as shown in FIG. 3B.

이후, 코드 인식부(130)는 인식된 TTCN-3 코드를 스크립트 작성부(150)로 전달한다.Thereafter, the code recognition unit 130 transfers the recognized TTCN-3 code to the script creation unit 150.

이어서, 사용자가 드래그 된 아이콘(예컨대, node)에 대한 속성 설정을 요청하면, 속성 설정부(140)는 저장부(110)로부터 상기 아이콘에 매칭되는 속성항목들을 읽어들여 사용자에게 제공한다. 이때, 도 3c는 속성설정화면(C)에 대한 예시도이다. 그러면, 사용자는 도 3c와 같이 제공된 속성설정화면(C)상에 해당 아이콘의 속성항목들에 대한 속성 값을 입력한다.Subsequently, when the user requests the property setting for the dragged icon (eg, node), the property setting unit 140 reads out the property items corresponding to the icon from the storage 110 and provides the same to the user. 3C is an exemplary diagram of the property setting screen (C). Then, the user inputs the property values for the property items of the icon on the property setting screen (C) provided as shown in FIG.

이후, 속성 설정부(140)는 사용자로부터 해당 아이콘의 속성항목들에 대한 속성 값을 입력받아 스크립트 작성부(150)로 전달한다.Thereafter, the property setting unit 140 receives the property values for the property items of the corresponding icon from the user and transmits the property values to the script creation unit 150.

또한, 도 3d에 도시된 바와 같이, 사용자가 다음 아이콘(예컨대, send)을 드래그하고, 이전에 드래그 된 아이콘(예컨대, node)과 현재 드래그 된 아이콘(예컨대, send)간에 동작순서를 정의하면, 코드 인식부(130)는 현재 드래그 된 'send' 아이콘에 매칭되는 TTCN-3 코드를 인식하고, 'node' 아이콘과 'send'아이콘간의 동작순서정보를 도출하여, TTCN-3 코드 및 동작순서정보를 스크립트 작성부(150)로 전달한다. 여기서, 동작순서정보는 예를 들면, 동작의 시점에 해당되는 아이콘(예컨대, node)에 매칭되는 TTCN-3 코드의 명칭과 동작의 종점에 해당되는 아이콘(예컨대, send)에 매칭되는 TTCN-3 코드의 명칭으로 표현될 수 있을 것이다.In addition, as shown in FIG. 3D, when the user drags the next icon (eg, send) and defines an operation sequence between the previously dragged icon (eg, node) and the currently dragged icon (eg, send), The code recognition unit 130 recognizes the TTCN-3 code that matches the currently dragged 'send' icon, derives the operation sequence information between the 'node' icon and the 'send' icon, and the TTCN-3 code and operation sequence information. To pass to the script creation unit 150. Here, the operation sequence information is, for example, the name of the TTCN-3 code matching the icon (eg, node) corresponding to the start of the operation and the TTCN-3 matching the icon (eg, send) corresponding to the end of the operation. It may be expressed as a code name.

그리고, 속성 설정부(140)는 사용자의 속성 설정 요청에 따라 현재 드래그 된 아이콘(예컨대, send)에 매칭되는 속성항목들을 제공한 후, 사용자로부터 해당 아이콘의 속성항목들에 대한 속성 값을 입력받아 스크립트 작성부(150)로 전달한다.Then, the property setting unit 140 provides the property items matching the icon (eg, send) currently dragged according to the property setting request of the user, and receives the property values of the property items of the corresponding icon from the user. Transfer to the script creation unit 150.

상술한 바와 같이, 코드 인식부(130)는 사용자에 의해 아이콘 작업영역(B2)으로 드래그 된 모든 아이콘들에 대하여 이미 언급된 과정들을 반복 수행한다. 마찬가지로, 속성 설정부(140)도 각 아이콘들에 대하여 이미 언급된 과정들을 반복 수행한다.As described above, the code recognition unit 130 repeats the processes already mentioned for all the icons dragged by the user to the icon work area B2. Similarly, the property setting unit 140 repeats the processes already mentioned for each icon.

여기서, 도 3e는 사용자가 스크립트 작성을 위해 선택한 아이콘들 및 그 아이콘들간에 설정된 동작순서에 의거하여 작성된 다이어그램에 대한 예시도이다. 도 3e에 도시된 바와 같이, 사용자는 아이콘들을 선택하고, 선택된 아이콘들간의 동작순서를 설정하고, 각 아이콘들의 속성항목들에 대한 속성 값을 설정하여 다이어그램을 작성함으로써 SIP 프로토콜의 적합성 테스트를 위한 스크립트를 작성할 수 있다. 한편, 도 3f는 동일 아이콘 작업영역(B2)에서 복수 개의 노드(node)를 시작으로 작성된 다이어그램에 대한 예시도이다. 도 3f에 도시된 바와 같이, 사용자는 동일 아이콘 작업영역(B2)에서 복수 개의 노드(node)를 시작으로 한 다이어그램을 작성함으로써 SIP 프로토콜의 적합성 테스트를 위한 스크립트를 작성할 수도 있다. 또한, 사용자는 복수 개의 동일 아이콘을 포함시킨 다이어그램을 작성할 수 있음은 물론이다.3E is an exemplary diagram of a diagram created based on icons selected by a user for script creation and an operation sequence set between the icons. As shown in FIG. 3E, the user selects icons, sets the operation order among the selected icons, and sets a property value for each property item of each icon to create a diagram for testing the conformance of the SIP protocol. You can write 3F is an exemplary diagram of a diagram created starting from a plurality of nodes in the same icon work area B2. As shown in FIG. 3F, the user may create a script for testing the conformance of the SIP protocol by creating a diagram starting from a plurality of nodes in the same icon work area B2. In addition, the user may of course create a diagram including a plurality of the same icon.

스크립트 작성부(150)는 코드 인식부(130)로부터 소정 아이콘(예컨대, node)에 매칭되는 TTCN-3 코드를 전달받고, 속성 설정부(140)로부터 상기 아이콘에 매칭되는 속성항목들의 속성 값을 전달받는다.The script writing unit 150 receives a TTCN-3 code matching a predetermined icon (eg, a node) from the code recognizing unit 130, and obtains attribute values of the attribute items matching the icon from the property setting unit 140. I receive it.

또한, 스크립트 작성부(150)는 코드 인식부(130)로부터 다음 아이콘(예컨대, send)에 매칭되는 TTCN-3 코드와, 해당 TTCN-3 코드(즉, 'send' 아이콘에 매칭되는TTCN-3 코드)와 이전에 전달받은 TTCN-3 코드(즉, 'node' 아이콘에 매칭되는 TTCN-3 코드)간에 설정된 동작순서정보를 전달받고, 속성 설정부(140)로부터 다음 아이콘(예컨대, send)에 매칭되는 속성항목들의 속성 값을 전달받는다.In addition, the script creation unit 150 is a TTCN-3 code matching the next icon (for example, send) from the code recognition unit 130, and the TTCN-3 code (ie, 'send' icon matching the TTCN-3) Code) and the operation sequence information set between the previously transmitted TTCN-3 code (that is, the TTCN-3 code matching the 'node' icon), and is transmitted from the property setting unit 140 to the next icon (for example, send). Receives attribute values of matching attribute items.

마찬가지로, 스크립트 작성부(150)는 코드 인식부(130)로부터 순차적으로 각 아이콘들에 매칭되는 TTCN-3코드들과 각 TTCN-3 코드들간의 동작순서정보를 전달받고, 속성 설정부(140)로부터 순차적으로 각 아이콘들에 매칭되는 속성항목들의 속성 값을 전달받는다.Similarly, the script writing unit 150 receives the TTCN-3 codes matching the icons and the operation sequence information between the TTCN-3 codes sequentially from the code recognizing unit 130, and the property setting unit 140. The property values of the property items matching the icons are sequentially received from the.

이후, 스크립트 작성부(150)는 사용자로부터 다이어그램 저장이 요청되면, 사용자에 의해 작성된 다이어그램(예컨대, 도 3e)을 저장부(110)에 저장한다. 이때, 다이어그램은 예를 들어, '*.dgm'이라는 확장자를 가지는 파일로서 저장된다.Subsequently, when the diagram storage is requested from the user, the script writing unit 150 stores the diagram (eg, FIG. 3E) created by the user in the storage 110. At this time, the diagram is stored as a file having an extension of '* .dgm', for example.

한편, 스크립트 작성부(150)는 사용자로부터 컴파일(compile)이 요청되면, 코드 인식부(130) 및 속성 설정부(140)로부터 순차적으로 전달받은 각 정보에 의거하여 스크립트를 작성한다.Meanwhile, when a compile is requested from the user, the script writing unit 150 creates a script based on each piece of information sequentially received from the code recognizing unit 130 and the property setting unit 140.

예를 들어, 스크립트 작성부(150)는 전달받은 각 아이콘별 TTCN-3 코드의 속성항목 값으로 전달받은 각 아이콘별 속성항목들에 대한 속성 값을 삽입한 후, 해당 TTCN-3 코드들을 전달받은 각 TTCN-3 코드들간의 동작순서정보에 의거하여 배치함으로써 스크립트를 작성한다. 또한, 스크립트 작성부(150)는 전달받은 각 아이콘별 TTCN-3 코드를 전달받은 각 TTCN-3 코드들간의 동작순서정보에 의거하여 배치한 후, 각 TTCN-3 코드들의 속성항목 값으로 전달받은 각 아이콘별 속성항목들에 대한 속성 값을 삽입함으로써 스크립트를 작성한다.For example, the script writing unit 150 inserts the attribute values for the attribute items for each icon received as the attribute item values of the TTCN-3 codes for each icon, and receives the corresponding TTCN-3 codes. A script is created by arranging based on the operation sequence information between the TTCN-3 codes. In addition, the script creation unit 150 is disposed on the basis of the operation order information between the received TTCN-3 code for each icon received TTCN-3 code, and received as a property item value of each TTCN-3 code Write a script by inserting the property value for each property item for each icon.

이때, 도 3g는 아이콘의 동작순서에 준하여 배치된 TTCN-3 코드에 대한 예시도이다. 도 3g에 도시된 바와 같이, 도 3b의 'node' 아이콘에 매칭되는 TTCN-3 코드에 'send' 아이콘에 매칭되는 TTCN-3 코드가 배치됨을 알 수 있다. 여기서, 'var REGISTER_Request temp_request_15600'은 송신할 메시지를 선언하는 코드이다.3G is an exemplary diagram of the TTCN-3 codes arranged according to the operation order of the icons. As shown in FIG. 3G, it can be seen that the TTCN-3 code matching the 'send' icon is disposed in the TTCN-3 code matching the 'node' icon of FIG. 3B. Here, 'var REGISTER_Request temp_request_15600' is a code for declaring a message to be sent.

따라서, 사용자는 본 발명에 따른 스크립트 작성장치(100)를 이용하여 아이콘들을 선택하고 그 아이콘들간의 동작순서를 설정한 후 각 아이콘들의 속성을 설정함으로써 스크립트를 작성할 수 있다.Therefore, the user can create a script by selecting icons using the script creation apparatus 100 according to the present invention, setting the operation order between the icons, and setting the properties of each icon.

한편, 본 발명에 따른 스크립트 작성장치(100)는 사용자에 의해 소정 시스템에 대한 프로토콜의 테스트가 요청되면, TTCN-3 언어로 작성된 스크립트를 실행 가능한 범용언어(예컨대, Python, C, Java 등)로 변환한 후 그 변환된 언어를 이용하여 테스트를 수행한다. 여기서, TTCN-3 언어로 작성된 스크립트를 실행 가능한 범용언어로 변환하는 과정과, 시스템의 프로토콜을 테스트하는 과정은 일반적인 과정으로 더 이상의 상세한 설명은 생략하기로 한다.On the other hand, the script writing apparatus 100 according to the present invention, when the user is requested to test the protocol for a predetermined system, the script written in the TTCN-3 language in an executable general language (for example, Python, C, Java, etc.) After the conversion, the test is performed using the converted language. Here, the process of converting a script written in the TTCN-3 language into an executable general-purpose language, and the process of testing the protocol of the system is a general process, and a detailed description thereof will be omitted.

다음으로, 사용자가 이미 저장된 스크립트에 대한 편집(예컨대, 변경, 삭제 , 추가 등)작업을 요청할 경우에 대한 스크립트 작성장치(100)의 동작을 설명하면 다음과 같다.Next, the operation of the script creation apparatus 100 when a user requests an edit (eg, change, deletion, addition, etc.) operation for a script already stored will be described.

사용자가 이미 작성된 스크립트를 요청하면, 스크립트 작성부(150)는 저장부(110)를 바탕으로 요청된 스크립트에 대응되는 다이어그램을 읽어들여 스크립트 작업환경(A)의 아이콘 작업영역(B2)에 표시한다(즉, 도 3e).When the user requests a script that has already been written, the script creation unit 150 reads a diagram corresponding to the requested script based on the storage unit 110 and displays the diagram corresponding to the icon workspace B2 of the script work environment A. FIG. (Ie, FIG. 3E).

이후, 사용자가 다이어그램에 위치한 소정 아이콘을 타 아이콘으로 변경하거나 삭제 또는 상기 다이어그램에 새로운 아이콘을 추가하는 등의 작업을 수행하면, 코드 인식부(130)는 사용자에 의해 작업이 이루어진 아이콘에 매칭되는 TTCN-3 코드를 인식하고, 인식된 TTCN-3 코드의 동작순서정보를 도출하여 스크립트 작성부(150)로 전달한다.Thereafter, when the user changes or deletes a predetermined icon located in the diagram to another icon, or adds a new icon to the diagram, the code recognition unit 130 matches the TTCN matching the icon made by the user. Recognizing the -3 code, the operation sequence information of the recognized TTCN-3 code is derived and transmitted to the script preparation unit 150.

이때, 스크립트 작성부(150)는 코드 인식부(130)로부터 TTCN-3 코드 및 그 TTCN-3 코드의 동작순서정보를 전달받고, 사용자로부터 컴파일이 요청되면, 전달받은 동작순서정보에 의거하여 이미 작성된 스크립트에서 상기 TTCN-3 코드의 위치를 판단한 후, 해당 TTCN-3 코드를 작업(예컨대, 변경, 삭제, 추가 등) 처리함으로써 스크립트를 재 작성한다. 여기서, 스크립트 작성부(150)는 사용자로부터 다이어그램 저장이 요청되면, 사용자에 의해 편집 작업 처리된 다이어그램을 저장부(110)에 저장한다.At this time, the script writing unit 150 receives the TTCN-3 code and the operation order information of the TTCN-3 code from the code recognition unit 130, and when a compilation is requested from the user, the script writing unit 150 has already received based on the received operation order information. After determining the location of the TTCN-3 code in the written script, the script is rewritten by processing (eg, changing, deleting, adding, etc.) the TTCN-3 code. Here, when the diagram storage is requested from the user, the script creation unit 150 stores the diagram processed by the user in the storage 110.

한편, 사용자가 다이어그램에 위치한 소정 아이콘의 속성 변경을 요청하면, 속성 설정부(140)는 상기 아이콘에 대한 속성항목들을 속성설정화면(C)을 통해 제공한다. 이때, 속성설정화면(C)상에는 해당 아이콘의 속성항목들에 대하여 이전에 설정된 속성 값들이 제공될 수도 있다. 그리고, 사용자에 의해 해당 아이콘의 속성항목들에 대한 속성 값이 변경 완료되면, 변경된 해당 아이콘의 속성항목들에 대한 속성 값을 스크립트 작성부(150)로 전달한다.On the other hand, when the user requests the property change of a predetermined icon located in the diagram, the property setting unit 140 provides the property items for the icon through the property setting screen (C). In this case, the property values previously set for the property items of the corresponding icon may be provided on the property setting screen (C). When the property values of the property items of the corresponding icon are completed by the user, the property values of the changed property items of the corresponding icon are transmitted to the script creation unit 150.

그리고, 스크립트 작성부(150)는 속성 설정부(140)로부터 소정 아이콘의 속성항목들에 대한 변경된 속성 값을 전달받고, 사용자로부터 컴파일이 요청되면, 전달받은 속성 값에 의거하여 이미 작성된 스크립트에 포함된 상기 아이콘에 매칭되는 TTCN-3 코드의 속성항목 값을 변경함으로써 스크립트를 재 작성한다.In addition, the script creation unit 150 receives the changed property values for the property items of the predetermined icon from the property setting unit 140, and when a compilation is requested from the user, the script creation unit 150 is included in the script that is already created based on the received property values. The script is rewritten by changing the attribute item value of the TTCN-3 code matching the icon.

따라서, 사용자는 본 발명에 따른 스크립트 작성장치(100)를 이용하여 이미 작성된 스크립트에 대응되는 다이어그램을 편집 작업함으로써 해당 스크립트를 원하는 테스트 형태로 재 작성할 수 있다.Accordingly, the user may rewrite the script in a desired test form by editing a diagram corresponding to a script already written using the script creation apparatus 100 according to the present invention.

도 4는 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성방법에 대한 처리 흐름도이다. 도 4를 참조하면, 먼저, 본 발명에 따른 스크립트 작성장치(100)는 TTCN-3 언어에서 제공하는 개념들을 매칭시킨 아이콘들에 대한 목록과, 각 아이콘들에 매칭되는 TTCN-3 코드들 및 속성항목들을 저장/관리한다(s100).4 is a flowchart illustrating a script writing method for protocol testing according to the present invention. Referring to FIG. 4, first, the script writing apparatus 100 according to the present invention includes a list of icons matching the concepts provided by the TTCN-3 language, and TTCN-3 codes and attributes matching the icons. Store / manage items (s100).

사용자가 임의의 시스템에 대한 프로토콜(예컨대, SIP 프로토콜)의 적합성을 테스트하고자 스크립트의 작성을 요청하면(s102), 저장된 아이콘 목록을 읽어들여 그 아이콘 목록을 포함하는 스크립트 작업환경(즉, 도 2의 A)을 제공한다(s104).When the user requests the creation of a script to test the suitability of a protocol (eg, SIP protocol) for any system (s102), a scripted workspace that reads the stored icon list and includes the icon list (i.e., in FIG. 2). A) is provided (s104).

이때, 사용자는 스크립트 작업환경(A)의 아이콘 표시영역(즉, 도 2의 B1)에 표시된 아이콘들을 참조하여 스크립트 작성에 필요한 아이콘들을 선택한 후, 상기 스크립트 작업환경의 아이콘 작업영역(도 2의 B2)으로 끌어다 붙이는 작업을 수행한다.At this time, the user refers to the icons displayed in the icon display area (ie, B1 of FIG. 2) of the script work environment A, selects the icons necessary for script creation, and then selects the icons work area of the script work environment (B2 of FIG. 2). To drag and drop).

그러면, 본 발명에 따른 스크립트 작성장치(100)는 사용자에 의해 아이콘 작업영역(B2)으로 드래그 된 아이콘들에 매칭되는 TTCN-3 코드들을 인식한다(s106).Then, the script creation apparatus 100 according to the present invention recognizes the TTCN-3 codes matching the icons dragged by the user to the icon work area (B2) (s106).

그리고, 사용자가 드래그 된 아이콘들간의 동작순서를 설정하면, 본 발명에 따른 스크립트 작성장치(100)는 해당 아이콘들에 매칭되는 TTCN-3 코드들간의 동작순서정보를 도출한다(s108).If the user sets the operation order between the dragged icons, the script creation apparatus 100 according to the present invention derives operation order information between TTCN-3 codes matching the corresponding icons (S108).

이어서, 사용자가 드래그 된 각 아이콘들에 대한 속성 설정을 요청하면(s110), 각 아이콘들에 매칭되는 속성항목들을 속성설정화면을 통해 제공하여 사용자에 의해 설정된 각 아이콘별 속성항목들의 속성 값을 입력받는다(s112, s114).Subsequently, when the user requests the property setting for each dragged icon (s110), the property items corresponding to each icon are provided through the property setting screen to input the property values of the property items for each icon set by the user. (S112, s114).

마지막으로, 사용자로부터 다이어그램 저장이 요청되면, 사용자에 의해 작성 완료된 다이어그램(즉, 도 3e)을 저장하고, 이후, 사용자로부터 컴파일이 요청되면, s106단계에서 인식된 각 아이콘별 TTCN-3 코드들과, s108단계에서 도출된 각 TTCN-3 코드들간의 동작순서정보와, s114단계에서 입력받은 각 아이콘별 속성항목들의 속성 값에 의거하여 스크립트를 작성한다(s116). 이때, 스크립트 작성과정(s116)에 대한 설명은 도 1에 도시된 스크립트 작성부(150)의 동작 설명시 이미 언급되었으므로 생략한다.Finally, when a diagram is requested from the user, a diagram (ie, FIG. 3E) created by the user is saved. Then, when compilation is requested from the user, TTCN-3 codes for each icon recognized in step s106 and In step s116, a script is created based on the operation order information between the TTCN-3 codes derived in step S108 and the property values of the property items for each icon input in step s114. At this time, the description of the script creation process s116 is omitted since it is already mentioned when describing the operation of the script creation unit 150 shown in FIG. 1.

도 5는 본 발명에 따른 프로토콜 테스트를 위한 스크립트 작성방법에서 스크립트 편집과정에 대한 처리 흐름도이다. 먼저, 본 발명에 따른 스크립트 작성장치(100)는 도 4를 참조하여 언급한 바와 같은 과정들을 통해 작성된 스크립트와, 그 스크립트를 이루는 TTCN-3 코드들에 대응되는 아이콘들로 이루어진 다이어그램을 저장/관리하고 있다(s200).5 is a flowchart illustrating a script editing process in the script creation method for protocol testing according to the present invention. First, the script writing apparatus 100 according to the present invention stores / manages a diagram composed of a script created through the processes as described with reference to FIG. 4 and icons corresponding to the TTCN-3 codes constituting the script. (S200).

사용자가 이미 작성된 스크립트를 요청하면(s202), 해당 스크립트에 대응되는 다이어그램을 제공한다(s204).When the user requests a script that has already been written (s202), a diagram corresponding to the script is provided (s204).

이때, 사용자가 상기 다이어그램에 포함된 아이콘들 중 임의의 아이콘에 대한 편집(예컨대, 해당 아이콘을 다른 아이콘으로 변경, 아이콘 삭제, 아이콘 추가 등)작업을 수행하면(s206), 사용자에 의해 작업 처리된 아이콘에 매칭되는 TTCN-3 코드를 인식하고, 그 TTCN-3 코드의 동작순서정보를 도출한다(s208).In this case, when a user edits (eg, changes the corresponding icon into another icon, deletes an icon, adds an icon, etc.) among any of the icons included in the diagram (s206), the task is processed by the user. The TTCN-3 code matching the icon is recognized, and the operation sequence information of the TTCN-3 code is derived (s208).

그리고, 사용자로부터 컴파일이 요청되면, s208단계에서 인식된 TTCN-3 코드 및 해당 TTCN-3 코드의 동작순서정보에 의거하여 이미 작성된 스크립트를 편집 작업함으로써 스크립트를 재 작성한다(s210).When compilation is requested from the user, the script is rewritten by editing a script that has already been created based on the TTCN-3 code recognized in operation s208 and the operation order information of the corresponding TTCN-3 code (S210).

한편, 사용자가 다이어그램에 포함된 소정 아이콘의 속성 변경을 요청하면(s212), 상기 아이콘에 대한 속성항목들을 속성설정화면을 통해 제공하여(s214), 사용자에 의해 변경된 해당 아이콘의 속성항목들에 대한 속성 값을 입력받는다.On the other hand, if the user requests to change the property of the predetermined icon included in the diagram (s212), by providing the property items for the icon through the property setting screen (s214), for the property items of the icon changed by the user Get the property value.

마지막으로, 사용자로부터 컴파일이 요청되면, 해당 아이콘의 속성항목들에 대한 변경된 속성 값에 의거하여 이미 작성된 스크립트에 포함된 TTCN-3 코드들 중 상기 아이콘에 매칭되는 TTCN-3 코드의 속성항목 값을 변경함으로써 스크립트를 재 작성한다(s216).Finally, when compilation is requested from the user, based on the changed property values of the property items of the icon, the property item value of the TTCN-3 code matching the icon among the TTCN-3 codes included in the script that has already been written is determined. Rewrite the script by changing (s216).

한편, 상술한 본 발명에 따른 스크립트 작성장치(100)의 실시예는 컴퓨터에서 실행될 수 있는 프로그램으로 작성 가능하다. 그리고, 컴퓨터에서 사용되는 매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드디스크 등), 광학적 판독매체(예를 들면, 씨디롬, 디브이디 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 저장매체를 포함한다.On the other hand, the embodiment of the script creation apparatus 100 according to the present invention described above can be written as a program that can be executed on a computer. And, it can be implemented in a general-purpose digital computer for operating the program using a medium used in the computer. The media may be stored such as magnetic storage media (e.g., ROM, floppy disk, hard disk, etc.), optical read media (e.g., CD-ROM, DVD, etc.) and carrier waves (e.g., transmission over the Internet). Media.

이상의 설명은 하나의 실시예를 설명한 것에 불과하고, 본 발명은 상술한 실시예에 한정되지 않으며 첨부한 특허청구범위 내에서 다양하게 변경 가능한 것이다. 예를 들어 본 발명의 실시예에 구체적으로 나타난 각 구성 요소의 형상 및 구조는 변형하여 실시할 수 있는 것이다.The above description is only for explaining one embodiment, and the present invention is not limited to the above-described embodiment and can be variously changed within the scope of the appended claims. For example, the shape and structure of each component specifically shown in the embodiment of the present invention can be modified.

본 발명에 의하면, TTCN-3 언어에서 제공하는 개념들을 TTCN-3 코드로 매칭시키기 위한 아이콘들을 제공하고, 각 아이콘들에 대한 속성을 설정할 수 있도록 동작함으로써 사용자가 TTCN-3 언어에 대한 습득 없이도 스크립트를 작성할 수 있도록 하는 효과가 있다. 즉, 사용자는 스크립트 작성을 위한 아이콘들을 선택하고 그 아이콘들의 속성을 설정하는 과정을 통해 원하는 형태의 스크립트를 작성할 수 있다.According to the present invention, by providing icons for matching the concepts provided by the TTCN-3 language to the TTCN-3 code, and operating to set the properties for each icon, the user can use the script without learning about the TTCN-3 language. This has the effect of letting you write. That is, the user can create a script of a desired type by selecting icons for script creation and setting properties of the icons.

또한, 본 발명은 기 작성된 스크립트의 변경시, 그 스크립트에 대응되는 다이어그램을 제공함으로써 사용자가 용이하게 스크립트를 변경할 수 있도록 하는 효과가 있다. 즉, 사용자는 다이어그램에 위치한 아이콘들 또는 각 아이콘들의 속성을 변경하는 과정을 통해 기 작성된 스크립트를 원하는 형태의 스크립트로 재 작성할 수 있다.In addition, the present invention has an effect of allowing the user to easily change the script by providing a diagram corresponding to the script when the pre-written script is changed. In other words, the user may rewrite the previously written script into a desired script form by changing the icons located in the diagram or the property of each icon.

또한, 본 발명은 SIP 프로토콜 이외의 다른 프로토콜에 대하여도, 각 프로토콜에 맞게 아이콘들의 속성항목만을 변경해 줌으로써 다양한 프로토콜에서의 TTCN-3 언어를 이용한 스크립트 작성이 용이하다는 장점이 있다.In addition, the present invention has the advantage that it is easy to write a script using the TTCN-3 language in various protocols by changing only the attribute items of icons for each protocol other than the SIP protocol.

Claims (9)

(a) TTCN-3언어에서 제공되는 프로토콜 테스트를 위한 개념들을 매칭시킨 아이콘들에 대한 목록과, 각 아이콘들에 매칭되는 TTCN-3 코드들 및 속성항목들을 관리하는 단계;(a) managing a list of icons matching the concepts for protocol testing provided in the TTCN-3 language, and TTCN-3 codes and attribute items matching the icons; (b) 사용자에 의해 프로토콜 테스트를 위한 스크립트 작성이 요청되면, 아이콘 목록을 제공하는 단계;(b) providing a list of icons when requested to create a script for protocol testing by a user; (c) 사용자에 의해 스크립트 작성을 위한 아이콘들이 선택되면, 선택된 각 아이콘들에 매칭되는 TTCN-3 코드들을 인식하는 단계;(c) if icons for script writing are selected by the user, recognizing TTCN-3 codes matching each selected icon; (d) 사용자에 의해 아이콘들에 대한 속성 설정이 요청되면, 각 아이콘들에 매칭되는 속성항목들을 제공함으로써 설정된 각 아이콘별 속성항목들에 대한 속성 값을 입력받는 단계; 및(d) receiving a property value for each icon item set by providing property items matched with each icon when a property setting for the icons is requested by the user; And (e) (c)단계에서 인식된 각 아이콘별 TTCN-3 코드들과, (d)단계에서 입력받은 각 아이콘별 속성항목들의 속성 값에 의거하여 스크립트를 작성하는 단계를 포함하여 이루어지는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성방법.(e) creating a script based on the TTCN-3 codes for each icon recognized in step (c) and the property values of the property items for each icon input in step (d). How to write scripts for protocol testing. 제1항에 있어서, 상기 (e)단계는The method of claim 1, wherein step (e) (e1) 사용자에 의해 스크립트 작성을 위한 아이콘들간의 동작순서가 설정되면, 아이콘들간의 동작순서정보를 도출하는 단계와,(e1) deciding the operation sequence information between the icons when the operation order between the icons for script creation is set by the user; (e2) 사용자에 의해 다이어그램 저장이 요청되면, (c)단계에서 선택된 아이콘들 및 (e1)단계에서 아이콘들간에 동작순서가 설정됨에 따라 작성된 다이어그램을 저장하는 단계와,(e2) if the diagram is requested to be saved by the user, storing the diagram created according to the operation order between the icons selected in step (c) and the icons in step (e1); (e3) 사용자에 의해 컴파일이 요청되면, (e1)단계에서 도출된 동작순서정보에 의거하여 (c)단계에서 인식된 각 아이콘별 TTCN-3 코드들을 배치한 후, 각 TTCN-3 코드들의 속성항목 값으로 (d)단계에서 입력받은 각 아이콘별 속성항목들의 속성 값을 삽입함으로써 스크립트를 작성하는 단계로 이루어지는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성방법.(e3) If compilation is requested by the user, based on the operation sequence information derived in step (e1), the TTCN-3 codes for each icon recognized in step (c) are arranged, and then the attributes of the respective TTCN-3 codes. And a step of creating a script by inserting property values of the property items for each icon input in step (d) as the item value. 제1항에 있어서, 상기 (e)단계는The method of claim 1, wherein step (e) (e1) 사용자에 의해 스크립트 작성을 위한 아이콘들간의 동작순서가 설정되면, 아이콘들간의 동작순서정보를 도출하는 단계와,(e1) deciding the operation sequence information between the icons when the operation order between the icons for script creation is set by the user; (e2) 사용자에 의해 다이어그램 저장이 요청되면, (c)단계에서 선택된 아이콘들 및 (e1)단계에서 아이콘들간에 동작순서가 설정됨에 따라 작성된 다이어그램을 저장하는 단계와,(e2) if the diagram is requested to be saved by the user, storing the diagram created according to the operation order between the icons selected in step (c) and the icons in step (e1); (e3) 사용자에 의해 컴파일이 요청되면, (c)단계에서 인식된 각 아이콘별 TTCN-3 코드들의 속성항목 값으로 (d)단계에서 입력받은 각 아이콘별 속성항목들의 속성 값을 삽입한 후, 해당 TTCN-3 코드들을 (e1)단계에서 도출된 아이콘들간의 동작순서정보에 준하여 배치함으로써 스크립트를 작성하는 단계로 이루어지는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성방법.(e3) When the compilation is requested by the user, after inserting the attribute values of the respective attribute items for each icon input in the step (d) as the attribute item values of the TTCN-3 codes for each icon recognized in the step (c), And creating a script by arranging the TTCN-3 codes according to the operation sequence information between the icons derived in the step (e1). 제1항 내지 제3항의 방법 중 어느 한 항의 방법을 정보 처리 장치에 의해 수행되도록 구현한 소프트웨어를 기록한 컴퓨터가 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon software for implementing the method of any one of claims 1 to 3 by an information processing apparatus. TTCN-3 언어에서 제공하는 프로토콜 테스트를 위한 개념들을 매칭시킨 아이콘들에 대한 목록과, 각 아이콘들에 매칭되는 TTCN-3 코드들 및 속성항목들을 저장하는 저장부;A storage unit for storing a list of icons matching the concepts for protocol testing provided by the TTCN-3 language, and TTCN-3 codes and attribute items matching the icons; 사용자에 의해 스크립트 작성이 요청되면, 저장부를 바탕으로 아이콘 목록을 읽어들여 사용자에게 제공하는 아이콘 제공부;An icon providing unit which reads a list of icons based on a storage unit and provides them to the user when a script is requested by the user; 사용자에 의해 스크립트 작성을 위한 아이콘들이 선택되면, 저장부를 참조하여 각 아이콘들에 매칭되는 TTCN-3 코드들을 인식하는 코드 인식부;A code recognizing unit recognizing TTCN-3 codes matching each icon by referring to a storage unit when icons for script writing are selected by a user; 사용자에 의해 아이콘들에 대한 속성 설정이 요청되면, 저장부를 바탕으로 각 아이콘들에 매칭되는 속성항목들을 읽어들여 제공하고, 사용자에 의해 설정된 각 아이콘별 속성항목들에 대한 속성 값을 입력받는 속성 설정부; 및When the user is requested to set the properties of the icons, based on the storage unit reads the property items corresponding to each icon and provides, and the property settings to receive the property value for each of the icon-specific property items set by the user part; And 코드 인식부로부터 전달받은 각 아이콘별 TTCN-3 코드들과, 속성 설정부로부터 전달받은 각 아이콘별 속성항목들의 속성 값에 의거하여 스크립트를 작성하는 스크립트 작성부를 포함하여 구성되는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성장치.Protocol test, characterized in that it comprises a script writing unit for creating a script based on the TTCN-3 code for each icon received from the code recognition unit, and the attribute value of each of the attribute items for each icon received from the property setting unit Script writing device. 제5항에 있어서, 상기 코드 인식부는The method of claim 5, wherein the code recognition unit 사용자에 의해 아이콘들간의 동작순서가 설정되면, 각 아이콘들에 매칭되는 TTCN-3 코드들간의 동작순서정보를 도출하는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성장치.When the operation order between the icons is set by the user, the script writing device for protocol testing, characterized in that the operation order information between the TTCN-3 codes matching each icon is derived. 제6항에 있어서, 상기 스크립트 작성부는The method of claim 6, wherein the script creation unit 코드 인식부로부터 각 아이콘별 TTCN-3 코드들 및 각 TTCN-3 코드들간의 동작순서정보를 전달받고, 속성 설정부로부터 각 아이콘별 속성항목들에 대한 속성 값을 전달받은 후, 사용자로부터 다이어그램 저장이 요청되면, 사용자에 의해 선택된 아이콘들 및 그 아이콘들간에 설정된 동작순서에 의거하여 작성된 다이어그램을 저장부에 저장하는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성장치.After receiving the TTCN-3 codes for each icon and the operation sequence information between the TTCN-3 codes from the code recognition unit, and receiving the attribute values for the property items for each icon from the property setting unit, the diagram is saved from the user. When the request is made, the apparatus for creating a script for a protocol test, characterized in that for storing in the storage a diagram created based on the icons selected by the user and the operation order set between the icons. 제7항에 있어서, 상기 스크립트 작성부는The method of claim 7, wherein the script creation unit 사용자의 요청에 따라 다이어그램을 저장한 후, 사용자로부터 컴파일이 요청되면, 상기 동작순서정보에 의거하여 각 아이콘별 TTCN-3 코드들을 배치한 후, 해당 TTCN-3 코드들의 속성항목 값으로 상기 아이콘별 속성항목들의 속성 값을 삽입함으로써 스크립트를 작성하는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성장치.After storing the diagram according to the user's request, if compilation is requested from the user, the TTCN-3 codes for each icon are arranged based on the operation sequence information, and then the attribute item values of the corresponding TTCN-3 codes are used for each icon. A script writing device for protocol testing, characterized in that a script is created by inserting property values of property items. 제7항에 있어서, 상기 스크립트 작성부는The method of claim 7, wherein the script creation unit 사용자의 요청에 따라 다이어그램을 저장한 후, 사용자로부터 컴파일이 요청되면, 상기 아이콘별 TTCN-3 코드들의 속성항목 값으로 각 아이콘별 속성항목들의 속성 값을 삽입한 후, 해당 TTCN-3 코드들을 상기 동작순서정보에 의거하여 배치함으로써 스크립트를 작성하는 것을 특징으로 하는 프로토콜 테스트를 위한 스크립트 작성장치.After the diagram is stored according to the user's request, when compilation is requested from the user, the attribute value of each attribute item for each icon is inserted into the attribute item value of the TTCN-3 codes for each icon, and the corresponding TTCN-3 codes are recalled. A script writing device for protocol testing, characterized in that a script is created by arranging based on operation sequence information.
KR10-2003-0038026A 2003-06-12 2003-06-12 Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein KR100512875B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0038026A KR100512875B1 (en) 2003-06-12 2003-06-12 Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0038026A KR100512875B1 (en) 2003-06-12 2003-06-12 Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein

Publications (2)

Publication Number Publication Date
KR20040107140A true KR20040107140A (en) 2004-12-20
KR100512875B1 KR100512875B1 (en) 2005-09-06

Family

ID=37381416

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0038026A KR100512875B1 (en) 2003-06-12 2003-06-12 Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein

Country Status (1)

Country Link
KR (1) KR100512875B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110062875A (en) * 2009-12-04 2011-06-10 한국전자통신연구원 Testing language conversion apparatus and its method
KR101050476B1 (en) * 2009-12-03 2011-07-20 (주)한국아이오테크 Storage management server-based script management method and a computer-readable recording medium recording a program for realizing the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101050476B1 (en) * 2009-12-03 2011-07-20 (주)한국아이오테크 Storage management server-based script management method and a computer-readable recording medium recording a program for realizing the same
KR20110062875A (en) * 2009-12-04 2011-06-10 한국전자통신연구원 Testing language conversion apparatus and its method

Also Published As

Publication number Publication date
KR100512875B1 (en) 2005-09-06

Similar Documents

Publication Publication Date Title
CN109783388B (en) UI (user interface) automatic testing method and device and electronic equipment
CN107066291A (en) Packaging method, device and the equipment of SDK, computer-readable recording medium
JP4940791B2 (en) Test support program, test support apparatus, and test support method
US20110016451A1 (en) Method and system for generating test cases for a software application
US11487595B2 (en) API adapter creation device, API adapter creation method, and API adapter creation program
CN107305527B (en) Code file processing method and device
JP2009116733A (en) Application retrieval system, application retrieval method, monitor terminal, retrieval server, and program
EP1548581A2 (en) Methods, apparatus and programs for system development
CN106776266B (en) Configuration method of test tool and terminal equipment
CN115688715A (en) Report generation method and device and computer readable medium
CN106682210B (en) Log file query method and device
CN112905441A (en) Test case generation method, test method, device and equipment
CN112988600A (en) Service scene testing method and device, electronic equipment and storage medium
JP4836412B2 (en) Method and apparatus for generating a graphical user interface
US20210004524A1 (en) Catalog file creation assistance device, catalog file creation assistance method, and catalog file creation assistance program
KR20040107140A (en) Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein
CN116048517A (en) API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN109635175B (en) Page data splicing method and device, readable storage medium and electronic equipment
WO2020088087A1 (en) Method and device for testing application program interface (api)
CN113760730A (en) Automatic testing method and device
CN112394930A (en) Method, electronic device, and medium for automatically constructing front-end interface
CN110297651A (en) The update method and device of the common variable of protocol interface
JP7318704B2 (en) Test equipment, test method and program
CN109254778A (en) Method and apparatus for deployment information streaming system
CN115396343B (en) Front-end page performance detection method and device, computer equipment and storage medium

Legal Events

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

Payment date: 20110829

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20120827

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee