KR101626382B1 - Testing language conversion apparatus and its method - Google Patents
Testing language conversion apparatus and its method Download PDFInfo
- Publication number
- KR101626382B1 KR101626382B1 KR1020090119728A KR20090119728A KR101626382B1 KR 101626382 B1 KR101626382 B1 KR 101626382B1 KR 1020090119728 A KR1020090119728 A KR 1020090119728A KR 20090119728 A KR20090119728 A KR 20090119728A KR 101626382 B1 KR101626382 B1 KR 101626382B1
- Authority
- KR
- South Korea
- Prior art keywords
- language
- testing
- conversion
- integrated modeling
- modeling language
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
- G06F16/1794—Details of file format conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/84—Mapping; Conversion
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
본 발명은 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는 장치 및 그 방법에 관한 것으로, 본 발명은, 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성함으로써, 테스팅 언어를 통합 모델링 언어로 변환하여 테스팅 언어의 이해성을 향상시킬 수 있는 것이다.The present invention relates to an apparatus and a method for converting a test case written in a testing language into an integrated modeling language (UML). The present invention relates to an apparatus and method for extracting necessary elements and phrases of a testing language And the type conversion is performed by referring to the element matching table. After converting the objects of the testing language into the objects of the integrated modeling language, the conversion result is verified and corrected, and the integrated modeling language model By creating the XMI format, you can improve the understanding of the testing language by converting the testing language into an integrated modeling language.
AUTOSAR(automotive open systems architecture), 테스팅 언어(TTCN), 통합 모델링 언어(UML) Automotive open systems architecture (AUTOSAR), testing languages (TTCN), integrated modeling languages (UML)
Description
본 발명은 테스팅 언어를 변환하는 기법에 관한 것으로, 더욱 상세하게는 테스트 케이스의 테스팅 언어를 통합 모델링 언어(UML : unified modeling language)로 변환하는데 적합한 테스팅 언어 변환 장치 및 그 방법에 관한 것이다.The present invention relates to a technique for converting a testing language, and more particularly, to a testing language conversion apparatus and method suitable for converting a testing language of a test case into a unified modeling language (UML).
본 발명은 지식경제부의 IT성장동력기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2008-S-007-02, 과제명: 차량 전장용 통합제어 SW 플랫폼 개발].The present invention is derived from research carried out as part of the IT growth engine technology development project of the Ministry of Knowledge Economy [Task Control Number: 2008-S-007-02, Project: Development of Integrated Control SW Platform for Vehicle Electric Field].
잘 알려진 바와 같이, 휴대인터넷 서비스(worldwide interoperability for micro-wave access, 이하 'WiMax' 또는 '와이맥스'라고 함)는 노트북 컴퓨터, PDA(personal digital assistant), 핸드셋(hand-set) 및 스마트 폰(smart phone) 등과 같은 다양한 형태의 휴대 단말기를 이용하여 실내는 물론 실외에서 정지 및 이동 중에도 고속으로 인터넷에 접속하여 필요한 정보나 멀티미디어 컨텐츠를 이용할 수 있는 통신서비스이다.As is well known, worldwide interoperability for micro-wave access (hereinafter referred to as 'WiMax' or 'WiMAX') is used in notebook computers, personal digital assistants (PDAs), hand- phone and the like, and can access necessary information and multimedia contents by accessing the Internet at high speed even when the user is stationary or moving in the room as well as indoors using various types of portable terminals.
이러한 휴대인터넷 서비스는 가정, 학교 및 회사 등 인터넷 회선이 설치된 고정된 장소에서 인터넷 이용이 가능한 초고속 인터넷 서비스와 달리 도심지의 거리나 공원 및 이동 중인 차량과 같은 옥외에서도 인터넷 이용을 가능하게 한다.Unlike high-speed Internet service, which can be used in a fixed place where Internet lines such as home, school, and company are installed, such a portable Internet service makes it possible to use the Internet even in the outdoors such as a city street, a park, and a moving vehicle.
한편, 이러한 휴대 인터넷 기술을 적용한 장비들 사이의 호환성 확보를 위해 통신 사업자, 통신 장비 제조업체 및 반도체 기업들에 의해 와이맥스 포럼(WiMax forum)이 결성되어 있는바, 이러한 와이맥스 포럼은 IEEE(Institute of Electrical and Electronics Engineers, 국제 전기 전자 학회) 광대역 무선 접속 기술 표준인 802.16을 기반으로 하고 있으며 기존의 고정형 표준(802.16d)에서 이동형 표준(802.16e)으로의 발전을 모색 중이다.Meanwhile, the WiMax forum is formed by telecommunication carriers, telecommunication equipment manufacturers and semiconductor companies to ensure compatibility between the devices using the portable Internet technology. Electronics Engineers, International Institute of Electrical and Electronics Engineers) is based on 802.16, a broadband wireless access technology standard, and is seeking to develop from a fixed standard (802.16d) to a mobile standard (802.16e).
그런데, 통신 프로토콜은 통신 장비들 사이의 통신을 규정하는 규칙이나 포맷의 세트로서, 임의의 프로토콜 구현 장비는 그 프로토콜 명세에 따라 개발될 것이다. 그러나, 프로토콜 명세의 모호성이나 제조사에 의한 이의 잘못된 해석 및 프로토콜 명세에서 다른 옵션을 사용하는 다른 프로토콜 구현 장비에 의해 장비들 사이에 비호환성이 야기될 수도 있다.By the way, a communication protocol is a set of rules or formats that define communication between communication devices, and any protocol implementation equipment will be developed according to the protocol specification. However, there may be incompatibilities between devices due to protocol specification ambiguity, misinterpretation by the manufacturer, and other protocol implementations that use different options in the protocol specification.
이러한 문제를 해결하기 위해 그 표준과 관련하여 프로토콜 구현 장비의 적합성 테스트가 요구되는바, 이러한 프로토콜 적합성 테스트(PCT : protocol conformance test)의 목적은 테스트하의 시스템(system under tester)이 그 프로토콜 명세에 적합한지를 체크하는 것이다.In order to solve this problem, conformance testing of protocol implementation equipment is required in relation to the standard. The purpose of this protocol conformance test (PCT) is to ensure that the system under tester is suitable for the protocol specification .
그리고, 이를 위해 유럽 통신 기술 협회(ETSI : European Telecommunication Standards Institute)에서는 프로토콜 적합성 테스트를 위한 수많은 테스트 케이스가 기술된 스크립트 파일을 배포하고 있다.To this end, the European Telecommunication Standards Institute (ETSI) is distributing a script file describing a number of test cases for protocol conformance testing.
이러한 스크립트 파일은 통상 개발된 장비의 블랙 박스 테스트를 위한 테스트 절차를 규정한 테스트 명세 및 구현 언어인 TTCN(testing and test control notation, 이하 'TTCN'이라 함)으로 기술되어 있는데, Telelogic Tau TTCN 테스트 스크립트 언어는 전세계적으로 가장 널리 사용되고 특화된 언어이며, 복잡한 통신 시스템을 테스트하는 용도로 ISO(International Standardization Organization, 국제 표준화 기구)에 의해 표준화된 언어이기도 하다.These script files are described as testing and test control notation (TTCN), which is a test specification and implementation language that defines a test procedure for a black box test of a developed device. The Telelogic Tau TTCN test script Language is the most widely used and specialized language in the world, and it is also a language standardized by ISO (International Standardization Organization) for testing complex communication systems.
한편, TTCN3 언어는 통신 시스템의 적합성 테스팅을 위해 정의된 TTCN2 언어를 업그레이드시켜 모든 분야에서 범용적으로 사용할 수 있도록 새롭게 정의한 테스팅 언어로서, 자동차 전장 소프트웨어(SW) 아키텍쳐 표준인 AUTOSAR(automotive open systems architecture, 이하 'AUTOSAR'라 함)과 같은 시스템 표준은 하드웨어의 독립성과 소프트웨어 컴포넌트의 표준화를 가능하게 한다.The TTCN3 language is a newly defined testing language that can be used universally in all fields by upgrading the TTCN2 language defined for the conformance testing of communication systems. The AUTOSAR (automotive open system architecture, Hereinafter " AUTOSAR ") enables hardware independence and standardization of software components.
이를 통해 소프트웨어의 재사용과 완성차 업체와 부품업체간의 교환이 가능한 소프트웨어 모듈 개발이 가능해지고, 단일 전자 제어 장치를 여러 기능에 사용해 자동차 내의 전자 제어 장치수와 부품 단가 및 개발 비용을 감소시키는 효과를 얻을 수 있고, 임베디드 시스템 복잡도를 해소할 수 있는 많은 장점을 제공할 수 있다.This makes it possible to reuse software and develop software modules that can be exchanged between automobile manufacturers and parts suppliers. By using a single electronic control device for various functions, it is possible to reduce the number of electronic control devices, parts cost and development cost And can provide many advantages to overcome the complexity of the embedded system.
상술한 바와 같이 향후에는 업체 고유의 표준이 사라지고, 업계 전체의 개방된 표준이 보편화될 것으로 전망되고 있는 가운데, 전장 소프트웨어(SW)의 핵심인 전장 소프트웨어(SW) 플랫폼이 AUTOSAR 표준에 따라 개발되어야만 하고, 이를 보증할 수 있는 핵심 기반 기술들이 필요한 시점이다.As described above, in the future, vendor-specific standards will disappear and industry-wide open standards will become commonplace. In the meantime, the mainstream software platform (SW) platform must be developed in accordance with the AUTOSAR standard , And the core technologies that can guarantee this are needed.
이에 따라, 본 발명은 테스팅 언어로 작성된 AUTOSAR 기반 전장 소프트웨어 플랫폼의 테스트 케이스를 통합 모델링 언어(UML)로 변환함으로써, 테스팅 언어의 이해성을 향상시킬 수 있는 테스팅 언어 변환 장치 및 그 방법을 제공하고자 한다.Accordingly, the present invention provides a testing language conversion apparatus and method that can improve the understanding of a testing language by converting a test case of an AUTOSAR-based full-length software platform written in a testing language into an integrated modeling language (UML).
본 발명의 일 실시 예에 따르면, 테스팅 언어로 작성된 테스트 케이스가 입력되면, 상기 테스팅 언어의 요소 및 구문을 추출하고, 상기 요소 및 구문이 추출된 상기 테스팅 언어에서 통합 모델링 언어로의 타입 변환을 수행하며, 상기 테스팅 언어의 개체를 상기 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대응하는 통합 모델링 언어 모델을 XMI(XML metadata interchange) 포맷으로 생성하는 언어 변환 블록과, 언어 변환 중에 필요한 각종 파일들을 관리하고, 각각의 결과를 시각적으로 표시하는 사용자 인터페이스 블록을 포함하는 테스팅 언어 변환 장치가 제공된다.According to an embodiment of the present invention, when a test case written in a testing language is inputted, elements and syntax of the testing language are extracted, and type conversion from the testing language into which the element and the syntax are extracted is performed A language conversion block for converting an object of the testing language into an object of the integrated modeling language and then generating an integrated modeling language model corresponding to the conversion result in an XML metadata interchange (XMI) format; And a user interface block for visually displaying the respective results.
바람직하게는, 상기 언어 변환 블록은, 상기 테스팅 언어의 내용 중 언어 변환에 필요한 요소 및 구문을 추출하는 구문 추출부와, 요소 매칭 테이블을 참조하여 상기 테스팅 언어에서 상기 통합 모델링 언어로의 타입 정보를 변환하는 타입 변환부와, 상기 추출된 요소 및 구문과, 상기 변환된 타입 정보와, 상기 요소 매칭 테이블을 참조하여 상기 테스팅 언어의 개체에 대응되는 상기 통합 모델링 언어의 개체로 변환하는 매핑 처리부와, 상기 매핑 처리부를 통해 변환된 결과에 대해 검 증 및 수정을 수행하는 매핑 검증 관리부와, 상기 검증 및 수정이 완료된 상기 통합 모델링 언어 모델을 상기 XMI 포맷으로 생성하여 저장하는 생성부를 포함하는 테스팅 언어 변환 장치가 제공된다.Preferably, the language conversion block includes: a syntax extracting unit for extracting elements and phrases necessary for language conversion among the contents of the testing language; and a syntax analyzing unit for referring to the element matching table and storing type information in the integrated modeling language in the testing language A mapping processor for converting the extracted element and syntax, the converted type information, and the element matching table into an entity of the integrated modeling language corresponding to an entity of the testing language; A mapping verification manager for performing verification and correction on results converted by the mapping processor; and a generator for generating and storing the integrated modeling language model in the XMI format, Is provided.
바람직하게는, 상기 언어 변환 블록은, 상기 테스팅 언어의 각 요소에 대응되는 상기 통합 모델링 언어 모델의 변환 규칙 정보를 포함하는 상기 요소 매칭 테이블을 저장하는 요소 매칭 테이블부를 더 포함하는 테스팅 언어 변환 장치가 제공된다.Preferably, the language conversion block further includes an element matching table unit for storing the element matching table including conversion rule information of the integrated modeling language model corresponding to each element of the testing language / RTI >
바람직하게는, 상기 테스팅 언어는, TTCN(testing and test control notation)인 테스팅 언어 변환 장치가 제공된다.Preferably, the testing language is a testing language conversion apparatus, which is a testing and test control notation (TTCN).
본 발명의 다른 실시 예에 따르면, 테스팅 언어로 작성된 테스트 케이스가 입력되면, 상기 테스팅 언어의 요소 및 구문을 추출하는 단계와, 상기 요소 및 구문이 추출된 상기 테스팅 언어에서 통합 모델링 언어로의 타입 변환을 수행하는 단계와, 상기 타입 변환이 수행된 상기 테스팅 언어의 개체를 상기 통합 모델링 언어의 개체로 변환하는 단계와, 상기 통합 모델링 언어의 개체로 변환된 변환 결과에 대한 검증 및 수정을 수행하는 단계와, 상기 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI(XML metadata interchange) 포맷으로 생성하는 단계를 포함하는 테스팅 언어 변환 방법이 제공된다.According to another embodiment of the present invention, there is provided a method of testing a test language, the method comprising: extracting elements and phrases of the testing language when a test case written in a testing language is input; Converting the entity of the testing language in which the type conversion is performed into an entity of the integrated modeling language; and performing verification and modification of the conversion result converted into the entity of the integrated modeling language And generating an integrated modeling language model that has been verified and corrected in an XML metadata interchange (XMI) format.
바람직하게는, 상기 테스팅 언어 변환 방법은, 각각의 상기 단계에서 처리된 각 처리 결과를 시각적으로 표시하는 단계를 더 포함하는 테스팅 언어 변환 방법이 제공된다.Preferably, the testing language conversion method further comprises visually displaying each processing result processed in each of the steps.
바람직하게는, 상기 통합 모델링 언어의 개체로 변환하는 단계는, 상기 테스팅 언어의 각 요소에 대응되는 상기 통합 모델링 언어 모델의 변환 규칙 정보를 포함하는 요소 매칭 테이블과, 상기 추출된 요소 및 구문과, 상기 변환된 타입 정보를 참조하여 수행되는 테스팅 언어 변환 방법이 제공된다.Preferably, the step of converting into the entity of the integrated modeling language includes: an element matching table including transformation rule information of the integrated modeling language model corresponding to each element of the testing language; And a testing language conversion method performed by referring to the converted type information.
바람직하게는, 상기 테스팅 언어는, TTCN(testing and test control notation)인 테스팅 언어 변환 방법이 제공된다.Preferably, the testing language is a testing language conversion method that is a testing and test control notation (TTCN).
본 발명은, 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성함으로써, 테스팅 언어를 통합 모델링 언어로 변환하여 테스팅 언어의 이해성을 향상시킬 수 있다.In the present invention, when a test case written in a testing language is input, a necessary element and a syntax of a testing language are extracted, a type conversion is performed by referring to an element matching table, and an object of the testing language is converted into an object of an integrated modeling language Later, it is possible to improve the understanding of the testing language by converting the testing language into the integrated modeling language by performing verification and modification of the conversion result, and generating the integrated modeling language model that has been verified and corrected in the XMI format.
본 발명은, 테스팅 언어 변환 장치에서 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성한다는 것이며, 이러한 기술적 수단을 통해 종래 기술에서의 문제점을 해결할 수 있다.The present invention is characterized in that when a test case written in a testing language is inputted in a testing language conversion device, the necessary elements and syntax of a testing language are extracted, type conversion is performed by referring to an element matching table, The verification and modification of the conversion result is performed, and the integrated modeling language model in which the verification and the modification are completed is generated in the XMI format. This technical solution can solve the problems in the prior art.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.
본 발명의 실시 예들을 설명함에 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명의 실시 예에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. The following terms are defined in consideration of the functions in the embodiments of the present invention, which may vary depending on the intention of the user, the intention or the custom of the operator. Therefore, the definition should be based on the contents throughout this specification.
첨부된 블록도의 각 블록과 흐름도의 각 단계의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수도 있다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 블록도의 각 블록 또는 흐름도의 각 단계에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 블록도의 각 블록 또는 흐름도 각 단계에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 블록도의 각 블록 및 흐름도의 각 단계에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다. Each block of the accompanying block diagrams and combinations of steps of the flowchart may be performed by computer program instructions. These computer program instructions may be loaded into a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus so that the instructions, which may be executed by a processor of a computer or other programmable data processing apparatus, And means for performing the functions described in each step are created. These computer program instructions may also be stored in a computer usable or computer readable memory capable of directing a computer or other programmable data processing apparatus to implement the functionality in a particular manner so that the computer usable or computer readable memory It is also possible for the instructions stored in the block diagram to produce a manufacturing item containing instruction means for performing the functions described in each block or flowchart of the block diagram. Computer program instructions may also be stored on a computer or other programmable data processing equipment so that a series of operating steps may be performed on a computer or other programmable data processing equipment to create a computer- It is also possible that the instructions that perform the processing equipment provide the steps for executing the functions described in each block of the block diagram and at each step of the flowchart.
또한, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실시 예들에서는 블록들 또는 단계들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들 또는 단계들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.Also, each block or each step may represent a module, segment, or portion of code that includes one or more executable instructions for executing the specified logical function (s). It should also be noted that in some alternative embodiments, the functions mentioned in the blocks or steps may occur out of order. For example, two blocks or steps shown in succession may in fact be performed substantially concurrently, or the blocks or steps may sometimes be performed in reverse order according to the corresponding function.
먼저, 본 발명에서 사용되는 용어에 대해 설명한다.First, terms used in the present invention will be described.
첫째, 통합 모델링 언어(UML)는 소프트웨어 공학에서 사용되는 표준화된 범용 모델링 언어로서, 이 표준은 통합 모델링 언어(UML)을 고안한 객체 관리 그룹이 관리하고 있으며, 소프트웨어 집약 시스템의 시각적 모델을 만들기 위한 도안 표기법을 포함한다.First, the Unified Modeling Language (UML) is a standardized general purpose modeling language used in software engineering. This standard is managed by an object management group devising an integrated modeling language (UML), and is used to create a visual model of a software- Includes pattern notation.
둘째, XMI(XML metadata interchange, 이하 'XMI'라 함)는 확장성 생성 언어(XML) 기반 데이터 관리를 위한 표준으로, 메타 모델 정의 언어 기반 모델을 XML로 매핑하기 위한 표준 명세이다. 이러한 XMI는 문서형 정의와 스키마를 통해 XML로 메타 모델과 모델의 표현(representation)을 표준화하고, XMI 문서형 정의와 스키마는 모델들에 대한 메타 데이터가 되며, 객체와 객체 간의 관계를 나타내기 위해 태그 기반의 언어를 사용한다.Second, XMI (XML metadata interchange, hereinafter referred to as "XMI") is a standard for data management based on extensibility creation language (XML), and is a standard specification for mapping a metamodel definition language-based model to XML. These XMIs standardize the representation of metamodels and models in XML through document type definitions and schemas, and the XMI document type definitions and schemas are metadata about the models and represent relationships between objects and objects. Use a tag-based language.
이하, 첨부된 도면을 참조하여 본 발명의 실시 예를 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시 예에 따라 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는데 적합한 테스팅 언어 변환 장치의 블록 구성도로서, 사용자 인터페이스 블록(100), 언어 변환 블록(200) 등을 포함할 수 있다.FIG. 1 is a block diagram of a testing language conversion apparatus suitable for converting a test case written in a testing language into an integrated modeling language (UML) according to an embodiment of the present invention. The testing language conversion apparatus includes a
도 1을 참조하면, 사용자 인터페이스 블록(100)은 언어 변환 중에 필요한 각종 파일들을 관리하고, 각각의 결과를 시각적으로 표시하는 것으로, 테스팅 언어(TTCN)로 작성된 테스트 케이스가 입력되어 통합 모델링 언어(UML)로 변환하는 과정 중에 그 테스팅 언어의 구문 추출 파일, 테스팅 언어(TTCN)와 통합 모델링 언어(UML)의 요소 매칭 테이블 파일, 타입 변환 파일, 매핑 처리 파일, 매핑 검증 관리 파일, XMI 생성 파일 등을 관리하며, 이에 따라 구문 추출 결과, 타입 변환 결과, 매핑 처리 결과, 매핑 검증 결과, XMI 생성 결과 등을 시각적으로 표시한다.Referring to FIG. 1, the
그리고, 언어 변환 블록(200)은 테스팅 언어(TTCN)로 작성된 테스트 케이스가 입력되면, 테스팅 언어(TTCN)의 내용 중 언어 변환에 필요한 요소 및 구문들을 추출하고, 테스팅 언어의 각 요소에 대응되는 통합 모델링 언어(UML) 모델의 클래스 등과 같은 변환 규칙 정보를 저장하고 있는 요소 매칭 테이블을 참조하여 테스팅 언어(TTCN)와 통합 모델링 언어(UML)간의 타입 정보를 변환하며, 추출된 요소 및 구문들과, 변환된 타입 정보와, 요소 매칭 테이블을 참조하여 테스팅 언어(TTCN)의 개체에 대응되는 통합 모델링 언어(UML)의 개체로 변환한다.When a test case written in a testing language (TTCN) is inputted, the
또한, 언어 변환 블록(200)은 테스팅 언어(TTCN)의 개체에 대응되는 통합 모델링 언어(UML)의 개체로 변환된 결과에 대해 예를 들면, 검증, 수정 등을 수행한 후에, 검증, 수정 등이 완료된 통합 모델링 언어(UML) 모델을 XMI 포맷으로 생성하여 저장한다.In addition, the
따라서, 테스팅 언어로 작성된 AUTOSAR 기반 전장 소프트웨어 플랫폼의 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 이러한 결과물을 참조하여 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성함으로써, 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어로 효과적으로 변환할 수 있다.Therefore, when the test case of the AUTOSAR-based full-length software platform written in the testing language is input, the necessary elements and syntax of the testing language are extracted, type conversion is performed referring to the element matching table, Is converted into an object of the integrated modeling language and then the verification result of the conversion result is verified and corrected and the integrated modeling language model which is verified and corrected is generated in the XMI format so that the test case written in the testing language is effectively converted into the integrated modeling language Can be converted.
다음에, 상술한 바와 같은 구성을 갖는 테스팅 언어 변환 장치에서 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추 출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성하는 언어 변환 블록에 대해 설명한다.Next, when the test case written in the testing language is input in the testing language conversion apparatus having the above-described configuration, the necessary elements and syntax of the testing language are extracted, type conversion is performed referring to the element matching table, A language conversion block for converting an object of a language into an object of an integrated modeling language and then verifying and modifying the result of the conversion and generating an integrated modeling language model that has been verified and corrected in the XMI format will be described.
도 2는 본 발명의 일 실시 예에 따라 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는데 적합한 언어 변환 블록의 구성도로서, 언어 변환 블록(200)은 구문 추출부(202), 요소 매칭 테이블부(204), 타입 변환부(206), 매핑 처리부(208), 매핑 검증 관리부(210), 생성부(212) 등을 포함할 수 있다.FIG. 2 is a block diagram of a language conversion block suitable for converting a test case written in a testing language into an integrated modeling language (UML) according to an embodiment of the present invention. The
도 2를 참조하면, 구문 추출부(202)는 테스팅 언어(TTCN)로 작성된 테스트 케이스가 입력되면, 테스팅 언어(TTCN)의 내용 중 언어 변환에 필요한 요소 및 구문들을 추출한다.Referring to FIG. 2, the
그리고, 요소 매칭 테이블부(206)는 테스팅 언어의 각 요소에 대응되는 통합 모델링 언어(UML) 모델의 클래스 등과 같은 변환 규칙 정보를 저장하고 있으며, 이들을 필요에 따라 추출되어 구문 추출부(202), 타입 변환부(206), 매핑 처리부(208) 등에 제공될 수 있다.The element matching
다음에, 타입 변환부(206)는 요소 매칭 테이블을 참조하여 테스팅 언어(TTCN)와 통합 모델링 언어(UML)간의 타입 정보를 변환한다.Next, the
또한, 매핑 처리부(208)는 구문 추출부(202)를 통해 추출된 요소 및 구문들과, 타입 변환부(206)를 통해 변환된 타입 정보와, 요소 매칭 테이블부(204)에서 추출된 요소 매칭 테이블을 참조하여 테스팅 언어(TTCN)의 개체에 대응되는 통합 모델링 언어(UML)의 개체로 변환한다.In addition, the
그리고, 매핑 검증 관리부(210)는 테스팅 언어(TTCN)의 개체에 대응되는 통합 모델링 언어(UML)의 개체로 변환된 결과에 대해 예를 들면, 검증, 수정 등을 수행한다.The mapping
다음에, 생성부(212)는 검증, 수정 등이 완료된 통합 모델링 언어(UML) 모델을 XMI 포맷으로 생성하여 저장한다.Next, the generating
따라서, 테스팅 언어 변환 장치에 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성할 수 있다.Accordingly, when a test case written in a testing language is input to the testing language conversion apparatus, the necessary elements and syntax of the testing language are extracted, type conversion is performed by referring to the element matching table, , The verification and correction of the conversion result are performed, and the integrated modeling language model in which the verification and the modification are completed can be generated in the XMI format.
예를 들면, 도 3은 본 발명의 실시 예에 따라 자동차 전장 시스템 시험을 위한 테스팅 언어 변환 장치가 적용된 시스템을 예시한 도면으로, 자동차 전장 시스템 시험을 위한 AUTOSAR CT 시스템은 일반적으로 C/C++ 플랫폼에 기반하거나 자바 플랫폼(java platform)에 기반으로 구성되는데, 자동차 전장 시스템 시험을 수행하기 위해서는 테스팅 언어(예를 들면, TTCN3 등)가 C/C++ 플랫폼 또는 자바 플랫폼의 언어 중 어느 하나를 선택하여 변환되어야만 하고, 이렇게 변환된 테스팅 언어는 동일한 플랫폼에 있는 TRI(TTCN3 runtime interface)와 TCI(TTCN3 control interface) 구현과 링크되어 실행 가능한 테스트 케이스(excutable test case)를 생성할 수 있다.For example, FIG. 3 illustrates a system to which a testing language conversion apparatus for testing an automotive electric field system is applied according to an embodiment of the present invention. The AUTOSAR CT system for testing an automotive electric field system generally includes a C / (Eg, TTCN3, etc.) must be selected from the C / C ++ platform or the language of the Java platform in order to perform automotive field system testing. , And the translated test language can be linked to TRI (TTCN3 runtime interface) and TCI (TTCN3 control interface) implementations on the same platform to create an excutable test case.
다음에, 상술한 바와 같은 구성을 갖는 테스팅 언어 변환 장치에서 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성하는 과정에 대해 설명한다.Next, when a test case written in a testing language is input in the testing language conversion apparatus having the above-described configuration, the necessary elements and syntax of the testing language are extracted, type conversion is performed referring to the element matching table, Is converted into an object of the integrated modeling language, and then verification and modification of the conversion result are performed, and the integrated modeling language model in which verification and correction are completed is generated in the XMI format.
도 4는 본 발명의 다른 실시 예에 따라 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는 과정을 도시한 플로우차트이다.FIG. 4 is a flowchart illustrating a process of converting a test case written in a testing language into an integrated modeling language (UML) according to another embodiment of the present invention.
도 4를 참조하면, 테스팅 언어 변환 장치에 테스팅 언어(TTCN)로 작성된 테스트 케이스가 입력되면(단계402), 언어 변환 블록(200)의 구문 추출부(202)에서는 테스팅 언어(TTCN)의 내용 중 언어 변환에 필요한 요소 및 구문들을 추출한다(단계404).4, when a test case written in a testing language (TTCN) is input to the testing language conversion apparatus (step 402), the
그리고, 타입 변환부(206)에서는 테스팅 언어의 각 요소에 대응되는 통합 모델링 언어(UML) 모델의 클래스 등과 같은 변환 규칙 정보를 저장하고 있는 요소 매칭 테이블부(204)에서 추출된 테스팅 언어와 통합 모델링 언어간의 요소 매칭 테이블을 참조하여 테스팅 언어(TTCN)와 통합 모델링 언어(UML)간의 타입 정보를 변환한다(단계406).The
또한, 매핑 처리부(208)에서는 구문 추출부(202)를 통해 추출된 요소 및 구문들과, 타입 변환부(206)를 통해 변환된 타입 정보와, 요소 매칭 테이블부(204)에서 추출된 요소 매칭 테이블을 참조하여 테스팅 언어(TTCN)의 개체에 대응되는 통 합 모델링 언어(UML)의 개체로 변환한다(단계408).In the
그리고, 매핑 검증 관리부(210)에서는 테스팅 언어(TTCN)의 개체에 대응되는 통합 모델링 언어(UML)의 개체로 변환된 결과에 대해 예를 들면, 검증, 수정 등을 수행한다(단계410).Then, the mapping
이어서, 생성부(212)에서는 검증, 수정 등이 완료된 통합 모델링 언어(UML) 모델을 XMI 포맷으로 생성하여 저장한다(단계412).Then, the generating
따라서, 테스팅 언어로 작성된 테스트 케이스가 입력되면, 테스팅 언어의 필요 요소 및 구문을 추출하고, 요소 매칭 테이블을 참조하여 타입 변환을 수행하며, 테스팅 언어의 개체를 통합 모델링 언어의 개체로 변환한 후에, 변환 결과에 대한 검증 및 수정을 수행하고, 검증 및 수정이 완료된 통합 모델링 언어 모델을 XMI 포맷으로 생성함으로써, 테스팅 언어를 통합 모델링 언어로 변환하여 테스팅 언어의 이해성을 향상시킬 수 있다.Therefore, when a test case written in a testing language is input, the necessary elements and phrases of the testing language are extracted, type conversion is performed with reference to the element matching table, the object of the testing language is converted into an object of the integrated modeling language, By verifying and modifying the conversion result and generating the integrated modeling language model that has been verified and modified in the XMI format, it is possible to improve the understanding of the testing language by converting the testing language into the integrated modeling language.
이상의 설명에서는 본 발명의 다양한 실시 예들을 제시하여 설명하였으나 본 발명이 반드시 이에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능함을 쉽게 알 수 있을 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It will be readily apparent that such substitutions, modifications, and alterations are possible.
도 1은 본 발명의 일 실시 예에 따라 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는데 적합한 테스팅 언어 변환 장치의 블록 구성도,1 is a block diagram of a testing language conversion apparatus suitable for converting a test case written in a testing language into an integrated modeling language (UML) according to an embodiment of the present invention;
도 2는 본 발명의 일 실시 예에 따라 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는데 적합한 언어 변환 블록의 구성도,FIG. 2 is a block diagram of a language conversion block suitable for converting a test case written in a testing language into an integrated modeling language (UML) according to an embodiment of the present invention;
도 3은 본 발명의 실시 예에 따라 자동차 전장 시스템 시험을 위한 테스팅 언어 변환 장치가 적용된 시스템을 예시한 도면,3 is a diagram illustrating a system to which a testing language conversion apparatus for testing an automotive electric system is applied according to an embodiment of the present invention;
도 4는 본 발명의 다른 실시 예에 따라 테스팅 언어로 작성된 테스트 케이스를 통합 모델링 언어(UML)로 변환하는 과정을 도시한 플로우차트.4 is a flowchart illustrating a process of converting a test case written in a testing language into an integrated modeling language (UML) according to another embodiment of the present invention.
<도면의 주요부분에 대한 부호의 설명>Description of the Related Art
100 : 사용자 인터페이스 블록 200 : 언어 변환 블록100: user interface block 200: language conversion block
202 : 구문 추출부 204 : 요소 매칭 테이블부202: Syntax extraction unit 204: Element matching table unit
206 : 타입 변환부 208 : 매핑 처리부206: type conversion unit 208: mapping processing unit
210 : 매핑 검증 관리부 212 : 생성부210: mapping verification management unit 212:
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090119728A KR101626382B1 (en) | 2009-12-04 | 2009-12-04 | Testing language conversion apparatus and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090119728A KR101626382B1 (en) | 2009-12-04 | 2009-12-04 | Testing language conversion apparatus and its method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20110062875A KR20110062875A (en) | 2011-06-10 |
KR101626382B1 true KR101626382B1 (en) | 2016-06-01 |
Family
ID=44396983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090119728A KR101626382B1 (en) | 2009-12-04 | 2009-12-04 | Testing language conversion apparatus and its method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101626382B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190096159A (en) | 2018-02-08 | 2019-08-19 | 주식회사 케이티 | Apparatus, device and method for gernerating customised language model |
KR102102546B1 (en) * | 2018-12-06 | 2020-04-22 | 한국전력공사 | Scl validation detection method and scl validation detection device therefor |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102026662B1 (en) * | 2013-04-22 | 2019-09-30 | 삼성전자 주식회사 | Apparatus and method for generating test case for processor verification and, verification apparatus |
KR101629068B1 (en) * | 2013-12-10 | 2016-06-21 | 건국대학교 산학협력단 | Apparatus for converting program language and verification device having the same |
KR101432972B1 (en) * | 2014-05-20 | 2014-08-25 | 비티에스테크놀로지스(주) | multi language test method of using vision recognition in lcd display device |
KR101424804B1 (en) * | 2014-05-31 | 2014-08-01 | 비티에스테크놀로지스(주) | method of verifying test results asynchronously in automatic test execution system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100533558B1 (en) | 1999-09-25 | 2005-12-06 | 가부시키가이샤 어드밴티스트 | Test language conversion method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100512875B1 (en) * | 2003-06-12 | 2005-09-06 | 텔코웨어 주식회사 | Apparatus and method framing script for protocol test, computer readable recording medium having script frame software stored therein |
KR20090056071A (en) * | 2007-11-29 | 2009-06-03 | 대구대학교 산학협력단 | Autosar service system for exchangeability and easy assembly |
-
2009
- 2009-12-04 KR KR1020090119728A patent/KR101626382B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100533558B1 (en) | 1999-09-25 | 2005-12-06 | 가부시키가이샤 어드밴티스트 | Test language conversion method |
Non-Patent Citations (1)
Title |
---|
"AUTOSAR 기반 차량용 소프트웨어를 위한 NVRAM Manager 및 시스템 서비스 구조 설계", 류현기 외 2명, 2008 한국 컴퓨터종합학술대회 논문집 Vol.35, No. 1(B), pp. 437-440 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190096159A (en) | 2018-02-08 | 2019-08-19 | 주식회사 케이티 | Apparatus, device and method for gernerating customised language model |
KR102102546B1 (en) * | 2018-12-06 | 2020-04-22 | 한국전력공사 | Scl validation detection method and scl validation detection device therefor |
Also Published As
Publication number | Publication date |
---|---|
KR20110062875A (en) | 2011-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101626382B1 (en) | Testing language conversion apparatus and its method | |
CN103810008B (en) | Plug-in loading method and system | |
CN111290760B (en) | Application program compiling method and device, electronic equipment and storage medium | |
CN103853535B (en) | The method and apparatus for changing middleware | |
CN109375903A (en) | SCA waveform components construction method, device, computer equipment and storage medium | |
CN104866298A (en) | Flow chart based process business implementing method and device | |
CN109255107A (en) | Configuration software processing method and device, computer equipment and storage medium | |
CN102262684A (en) | Method and device for generating webpage page of mobile terminal | |
Elsner et al. | Consistent product line configuration across file type and product line boundaries | |
CN111427583A (en) | Component compiling method and device, electronic equipment and computer readable storage medium | |
CN112147983B (en) | Vehicle diagnosis method and device, electronic equipment and storage medium | |
WO2023103712A1 (en) | Ecu upgrade method and device, and readable storage medium | |
CN114895935A (en) | Method and device for flashing vehicle ECU, electronic equipment and storage medium | |
US10606569B2 (en) | Declarative configuration elements | |
Wenger et al. | Transformation of IEC 61131-3 to IEC 61499 based on a model driven development approach | |
US20100088656A1 (en) | Property checking system, property checking method, and computer-readable storage medium | |
CN110659022A (en) | Method for automatically calling Python script based on Java | |
Vuli et al. | Maximizing test asset re-use across MIL, SIL, and HIL development platforms | |
CN111539200B (en) | Method, device, medium and electronic equipment for generating rich text | |
Schulz et al. | Towards model-based testing with architecture models | |
US20130305213A1 (en) | Modularized customization of a model in a model driven development environment | |
US9886538B1 (en) | System and method for using heterogeneous hierarchical configurations for electronic design reuse | |
CN113553040B (en) | Registration realization method, device, equipment and medium for visible and spoken identification function | |
CN112051990A (en) | Network management northbound interface model adaptation method and system | |
CN117407048B (en) | Flow configuration method and system of plug-in data processing software |
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: 20190528 Year of fee payment: 4 |
|
R401 | Registration of restoration |