KR20130131024A - Automation system and method for testing embedded device using independent interface - Google Patents
Automation system and method for testing embedded device using independent interface Download PDFInfo
- Publication number
- KR20130131024A KR20130131024A KR1020120054747A KR20120054747A KR20130131024A KR 20130131024 A KR20130131024 A KR 20130131024A KR 1020120054747 A KR1020120054747 A KR 1020120054747A KR 20120054747 A KR20120054747 A KR 20120054747A KR 20130131024 A KR20130131024 A KR 20130131024A
- Authority
- KR
- South Korea
- Prior art keywords
- test
- unit
- embedded device
- data packet
- target
- Prior art date
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 182
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000005540 biological transmission Effects 0.000 claims abstract description 15
- 230000008569 process Effects 0.000 claims abstract description 7
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 229920001690 polydopamine Polymers 0.000 description 2
- 208000006930 Pseudomyxoma Peritonei Diseases 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 229920000306 polymethylpentene Polymers 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/273—Tester hardware, i.e. output processing circuits
- G06F11/2733—Test interface between tester and unit under test
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
본 발명은 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템 및 그 방법에 관한 것으로서, 테스트 제어명령들을 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 테스트 대상에 전송하는 호스트 단말기; 및 상기 호스트 단말기로부터 수신한 상기 데이터 패킷을 분석하여 해당 제어명령에 따라 테스트를 하고, 테스트한 결과를 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 상기 호스트 단말기로 전송하는 임베디드 장치; 를 포함하되, 상기 호스트 단말기는, 임의의 데이터값 또는 테스트 제어명령을 수신하는 입력부; 상기 임베디드 장치에 대한 테스트를 요청하는 호스트 어플리케이션부; 테스트 프로토콜을 구현하여, 상기 호스트 어플리케이션부에 표준화된 테스트 어플리케이션프로그램인터페이스를 제공하는 테스트 라이브러리부; 상기 테스트 제어명령을 데이터 패킷으로 변환시키고, 상기 임베디드 장치로부터 수신한 데이터 패킷을 분석하는 추상화부; 상기 임베디드 장치와 송수신을 처리하는 인터페이스부; 상기 인터페이스부와 연결되어 임베디드 장치와 물리적인 링크를 제공하는 드라이버부; 및 상기 입력부, 호스트 어플리케이션부, 테스트 라이브러리부, 추상화부, 인터페이스부 및 드라이버부를 제어하는 제어부; 를 포함한다. The present invention relates to an embedded device test automation system and method using an independent interface method, comprising: a host terminal converting test control commands into a data packet according to a test protocol and transmitting the data to a test target; And an embedded device that analyzes the data packet received from the host terminal, performs a test according to a corresponding control command, converts the test result into a data packet according to a test protocol, and transmits the result to the host terminal. Including, The host terminal, Input unit for receiving any data value or test control command; A host application unit requesting a test for the embedded device; A test library unit implementing a test protocol to provide a standardized test application program interface to the host application unit; An abstraction unit converting the test control command into a data packet and analyzing the data packet received from the embedded device; An interface unit configured to process transmission and reception with the embedded device; A driver unit connected to the interface unit to provide a physical link with an embedded device; And a control unit controlling the input unit, the host application unit, the test library unit, the abstraction unit, the interface unit, and the driver unit. .
Description
본 발명은 인터페이스 장치 임베디드 장치 시험 자동화 시스템 및 그 방법에 관한 것으로서, 더욱 상세하게는 PC와 임베디드 장치간의 물리적 연결 방법, 통신 프로토콜에 독립적인 데이터 전송 방식으로 임베디드 장치를 시험하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템 및 그 방법에 관한 것이다. The present invention relates to an interface device embedded device test automation system and method thereof, and more particularly, to a physical connection method between a PC and an embedded device, and an independent interface method for testing an embedded device by a data transmission method independent of a communication protocol. An embedded device test automation system and method thereof are provided.
최근 들어 휴대폰, PDA, PMP, 네비게이터, 셋탑박스 등 임베디드 시스템의 구성이 다양화됨에 따라 하나의 데이터 전송 방식으로 다양한 임베디드 시스템들과의 통신하고자 하는 요구 사항이 급속히 증가하고 있다.Recently, as the configuration of embedded systems, such as mobile phones, PDAs, PMPs, navigators, and set-top boxes, is diversified, requirements for communicating with various embedded systems through a single data transmission method are rapidly increasing.
퀄컴(Qualcomm) 칩을 사용하는 CDMA 휴대폰의 경우에는 퀄컴사에서 정의한 DM(Diagnostic Monitor)프로토콜을 이용하여 PC 등과 데이터를 주고 받을 수 있으나 다른 칩을 이용하는 GSM 휴대폰의 경우에는 다른 프로토콜을 정의해서 사용한다. 마이크로소프트사의 윈도우즈 모바일(Windows Mobile)을 탑재한 스마트폰, PDA 등은 ActiveSync 기반으로 PC와 통신할 수는 있지만 어플리케이션들끼리 주고 받는 데이터에 대한 프로토콜은 각 어플리케이션마다 별도로 정의되고 개발되어야 한다.In case of CDMA mobile phone using Qualcomm chip, data can be exchanged with PC using DM (Diagnostic Monitor) protocol defined by Qualcomm, but in case of GSM mobile phone using other chip, use other protocol. . Smartphones and PDAs with Microsoft's Windows Mobile can communicate with PCs based on ActiveSync, but protocols for data exchange between applications must be defined and developed for each application separately.
종래, 임베디드 디바이스 테스트에 대한 기술은 대한민국 공개특허 제2003-0070420호 '임베디드 시스템의 디버깅 장치' 이외에 다수 출원 및 공개된 상태이다.Conventionally, the technology for the embedded device test has been published and published a number of applications other than the Republic of Korea Patent Publication No. 2003-0070420 'debugging device of the embedded system'.
상기 임베디드 시스템의 디버깅 장치는 다수의 태스크를 실행함과 아울러 소프트웨어 에이전트를 실행하여 태스크의 동작상태를 감지하여, 그 동작상태를 송출하고, 외부에서 전송된 제어신호에 응답하여 레지스터를 변경하는 프로세서와, 그 프로세서에서 검출된 동작상태를 외부로 전송하고, 외부의 제어신호를 수신하는 적외선 포트를 구비하는 임베디드 시스템과; 상기 임베디드 시스템과 적외선 통신이 가능하며, 사용자와 상기 임베디드 시스템의 소프트웨어 에이전트를 인터페이스하는 에이전트 모니터 소프트웨어를 구비하는 퍼스널 컴퓨터;를 포함한다.The debugging device of the embedded system executes a plurality of tasks, and also executes a software agent to detect an operation state of the task, send the operation state, and change a register in response to a control signal transmitted from the outside; An embedded system including an infrared port for transmitting an operation state detected by the processor to an external device and receiving an external control signal; And a personal computer capable of infrared communication with the embedded system and including agent monitor software for interfacing a user with a software agent of the embedded system.
그러나, 상기 종래기술은 퍼스털 컴퓨터와 특정한 임베디드 시스템이 데이터를 주고 받기 위해서는 임베디드 시스템의 하드웨어, 운영체제, 통신 프로토콜에 따라 각각 다른 데이터 전송 방식을 이용하여야 하는 문제점이 있었다.However, the conventional technology has a problem in that the personal computer and a specific embedded system must use different data transmission methods according to the hardware, operating system, and communication protocol of the embedded system.
본 발명은 상기와 같은 문제점을 감안하여 안출된 것으로, PC와 임베디드 장치간의 물리적 연결 방법, 통신 프로토콜에 독립적인 데이터 전송 방식으로 임베디드 장치를 시험하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템 및 그 방법을 제공함에 그 목적이 있다. The present invention has been made in view of the above problems, and the embedded device test automation system using an independent interface method for testing the embedded device in a data transmission method independent of the physical connection method, communication protocol between the PC and the embedded device and its The purpose is to provide a method.
이러한 기술적 과제를 달성하기 위한 본 발명은 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템에 관한 것으로서, 테스트 제어명령들을 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 테스트 대상에 전송하는 호스트 단말기; 및 상기 호스트 단말기로부터 수신한 상기 데이터 패킷을 분석하여 해당 제어명령에 따라 테스트를 하고, 테스트한 결과를 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 상기 호스트 단말기로 전송하는 임베디드 장치; 를 포함하되, 상기 호스트 단말기는, 임의의 데이터값 또는 테스트 제어명령을 수신하는 입력부; 상기 임베디드 장치에 대한 테스트를 요청하는 호스트 어플리케이션부; 테스트 프로토콜을 구현하여, 상기 호스트 어플리케이션부에 표준화된 테스트 어플리케이션프로그램인터페이스를 제공하는 테스트 라이브러리부; 상기 테스트 제어명령을 데이터 패킷으로 변환시키고, 상기 임베디드 장치로부터 수신한 데이터 패킷을 분석하는 추상화부; 상기 임베디드 장치와 송수신을 처리하는 인터페이스부; 상기 인터페이스부와 연결되어 임베디드 장치와 물리적인 링크를 제공하는 드라이버부; 및 상기 입력부, 호스트 어플리케이션부, 테스트 라이브러리부, 추상화부, 인터페이스부 및 드라이버부를 제어하는 제어부; 를 포함하는 것을 특징으로 한다.The present invention for achieving the technical problem relates to an embedded device test automation system using an independent interface method, the host terminal for converting the test control commands to a data packet according to the test protocol to transmit to the test target; And an embedded device that analyzes the data packet received from the host terminal, performs a test according to a corresponding control command, converts the test result into a data packet according to a test protocol, and transmits the result to the host terminal. Including, The host terminal, Input unit for receiving any data value or test control command; A host application unit requesting a test for the embedded device; A test library unit implementing a test protocol to provide a standardized test application program interface to the host application unit; An abstraction unit converting the test control command into a data packet and analyzing the data packet received from the embedded device; An interface unit configured to process transmission and reception with the embedded device; A driver unit connected to the interface unit to provide a physical link with an embedded device; And a control unit controlling the input unit, the host application unit, the test library unit, the abstraction unit, the interface unit, and the driver unit. And a control unit.
한편, 본 발명은 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법에 관한 것으로서, (a) 호스트 단말기의 제어부가 입력부를 통해 임의의 데이터값 또는 제어명령을 수신하는 단계; (b) 상기 제어부가 테스트 라이브러리부로부터 테스트 프로토콜을 호스트 어플리케이션부로 로드시키는 단계; (c) 상기 제어부가 탐색부를 통해 테스트 대상 임베디드 장치를 탐색하여 연결하는 단계; (d) 상기 제어부가 탐색된 임베디드 장치의 테스트 프로토콜에 대한 지원여부를 탐색부를 통해 판단하는 단계; (e) 상기 제 (d) 단계의 판단결과, 탐색된 임베디드 장치가 테스트 프로토콜을 지원하는 경우, 제어부가 탐색된 임베디드 장치에 대한 테스트를 수행하는 단계; (f) 상기 제어부가 연결된 임베디드 장치를 연결해체시키는 단계; 및 (g) 상기 제어부가 테스트 라이브러리부로부터 테스트 프로토콜을 언로드시키는 단계; 를 포함한다. Meanwhile, the present invention relates to an embedded device test automation method using an independent interface method, the method comprising: (a) a control unit of a host terminal receiving an arbitrary data value or a control command through an input unit; (b) the control unit loading a test protocol from a test library unit to a host application unit; (c) searching and connecting the test target embedded device through the search unit; (d) determining, by the searching unit, whether the control unit supports the test protocol of the found embedded device; (e) if the found embedded device supports the test protocol as a result of the determination of step (d), performing a test on the found embedded device by the controller; (f) disconnecting the embedded device to which the control unit is connected; (G) the controller unloading a test protocol from a test library unit; .
상기와 같은 본 발명에 따르면, PC와 임베디드 장치간의 물리적 연결 방법, 통신 프로토콜에 독립적인 데이터 전송 방식으로 임베디드 장치를 시험할 수 있는 효과가 있다.According to the present invention as described above, the physical connection method between the PC and the embedded device, there is an effect that can test the embedded device by a data transmission method independent of the communication protocol.
또한 본 발명에 따르면, 다양한 종류의 임베디드 장치에 대한 시험 자동화를 수행하는 경우, 임베디드 디바이스에 본 데이터 전송 프로토콜이 적용되어 있으면 호스트 단말기에서 한 가지 종류의 테스팅 도구를 이용하여 모든 종류의 임베디드 디바이스에 대한 시험을 실시할 수 있는 효과도 있다. In addition, according to the present invention, in the case of performing test automation for various types of embedded devices, if the data transmission protocol is applied to the embedded device, one type of testing tool may be used for all types of embedded devices in the host terminal. There is also the effect that the test can be carried out.
그리고 본 발명에 따르면, 임베디드 디바이스의 안정성을 향상시키고 개발기간을 단축시키는 효과도 있다. In addition, according to the present invention, there is an effect of improving the stability of the embedded device and shorten the development period.
도 1 은 본 발명에 따른 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템을 개념적으로 도시한 전체 구성도.
도 2 는 본 발명에 따른 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법에 관한 전체 흐름도.
도 3 은 본 발명에 따른 임베디드 장치 시험 수행에 대한 상세 흐름도.
도 4 는 본 발명에 따른 호스트 단말기 및 임베디드 장치의 통신에 대한 상세 흐름도.
도 5 는 본 발명에 따른 임베디드 장치의 시험 동작에 대한 상세 흐름도.1 is an overall configuration diagram conceptually showing an embedded device test automation system using an independent interface method according to the present invention.
2 is an overall flowchart of an embedded device test automation method using an independent interface method according to the present invention.
3 is a detailed flow diagram for performing an embedded device test in accordance with the present invention.
4 is a detailed flowchart of communication of a host terminal and an embedded device according to the present invention.
5 is a detailed flowchart of the test operation of the embedded device according to the present invention.
본 발명의 구체적 특징 및 이점들은 첨부도면에 의거한 다음의 상세한 설명으로 더욱 명백해질 것이다. 이에 앞서 본 발명에 관련된 공지 기능 및 그 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는, 그 구체적인 설명을 생략하였음에 유의해야 할 것이다.Specific features and advantages of the present invention will become more apparent from the following detailed description based on the accompanying drawings. It is to be noted that the detailed description of known functions and constructions related to the present invention is omitted when it is determined that the gist of the present invention may be unnecessarily blurred.
이하, 첨부된 도면을 참조하여 본 발명을 상세하게 설명한다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described in detail with reference to the accompanying drawings.
본 발명에 따른 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템에 관하여 도 1 을 참조하여 설명하면 다음과 같다. The embedded device test automation system using the independent interface method according to the present invention will be described with reference to FIG. 1 as follows.
도 1 은 본 발명에 따른 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템(S)을 개념적으로 도시한 전체 구성도로서, 도시된 바와 같이 호스트(host) 단말기(100) 및 다수의 임베디드 장치(200)를 포함한다.1 is an overall configuration diagram conceptually showing an embedded device test automation system S using an independent interface method according to the present invention. As illustrated, a
호스트 단말기(100)는 임베디드 장치(200)를 테스트하기 위한 테스트 제어명령들을 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 테스트 대상에 전송하여 테스트 결과를 수신하는 기능을 수행하는 바, 상기 도 1 에 도시된 바와 같이 입력부(110), 호스트 어플리케이션부(120), 테스트 라이브러리부(130), 추상화부(140), 탐색부(150), 인터페이스부(160), 드라이버부(170), 출력부(180) 및 제어부(190)를 포함한다.The
구체적으로, 입력부(110)는 사용자로부터 임의의 데이터값 또는 테스트 제어명령을 수신한다.
In detail, the
호스트 어플리케이션부(120)는 임베디드 장치에 대한 테스트를 요청한다.The
본 발명의 일실시예에 따른 호스트 어플리케이션부(120)는 TestQuest Pro, SKT TIM과 같은 테스트 자동화 프로그램, 타겟 동작 로깅/분석 프로그램, 타겟 동작 모니터링 프로그램 등 다양한 형태의 프로그램을 포함한다.
The
테스트 라이브러리부(130)는 테스트 프로토콜을 구현한 라이브러리 컴포넌트로서, 상기 호스트 어플리케이션부(120)에 표준화된 테스트 어플리케이션프로그램인터페이스(Application Programming Interface: Test API)를 제공한다.The
본 발명의 실시예에 따른 테스트 프로토콜은 Serial, HDLC, TCP/IP, EMMI 등을 통합한 것으로, [표 1] 과 같은 테스트 제어명령(command)들을 포함하는 데이터 패킷으로 정의되고, 상기 테스트 제어명령들은 필요에 따라 확장될 수 있다.
The test protocol according to the embodiment of the present invention is an integrated serial, HDLC, TCP / IP, EMMI, etc., is defined as a data packet including the test control commands (Table 1), the test control command Can be expanded as needed.
추상화부(140)는 상기 테스트 프로토콜에 따른 데이터 패킷으로 변환시키고, 임베디드 장치(200)로부터 수신한 데이터 패킷을 분석하는 기능을 수행하는 바, 상기 도 1 에 도시된 바와 같이 추상화부(140)는 변환모듈(141) 및 분석모듈(142)을 포함한다.The
상기 추상화부(140)의 변환모듈(141)은 일관되고 동일한 응용프로그램인터페이스로(API)로 사용 가능하도록 테스트 프로토콜에 따른 데이터 패킷으로 변환시키고, 상기 추상화부(140)의 분석모듈(142)는 임베디드 장치(200)로부터 수신한 데이터 패킷을 분석한다.
The
탐색부(150)는 테스트 대상인 임베디드 장치를 탐색하고, 상기 테스트 대상 임베디드 장치에 대한 테스트 프로토콜의 지원여부를 판단한다.
The
인터페이스부(160)는 임베디드 장치(200)와 각종 개별 네트워크 전송 프로토콜의 실제 송수신을 처리한다. 본 실시예에서 상기 각종 개별 네트워크 전송 프로토콜은 TCP/IP, UDP, OBEX, Serial Communication 등을 말한다.
The
드라이버부(170)는 임베디드 장치(200)와 물리적인 링크(link)를 제공한다.The
본 실시예에 따른 드라이버부(170)는 Ethernet, USB, RS-232C, Bluetooth, Wireless Network Connection 등을 포함한다.
The
출력부(180)는 임베디드 장치(200)를 테스트한 결과를 출력한다.
The
제어부(190)는 상술한 입력부(110), 호스트 어플리케이션부(120), 테스트 라이브러리부(130), 추상화부(140), 탐색부(150), 인터페이스부(160), 드라이버부(170) 및 출력부(180)를 제어한다.
The
그리고, 임베디드 장치(200)는 상기 호스트 단말기(100)로부터 수신한 테스트 프로토콜에 따른 데이터 패킷을 분석하여 해당 제어명령에 따라 테스트를 하고, 테스트한 결과를 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 호스트 단말기(100)로 전송하는 기능을 수행하는 바, 상기 도 1 에 도시된 바와 같이 타겟 테스트부(210), 타겟 추상화부(220), 타겟 인터페이스부(230), 타겟 드라이버부(240) 및 타겟 제어부(250)를 포함한다.The embedded
타겟 테스트부(210)는 호스트 단말기(100)로부터 전달되는 테스트 요청을 처리한다.
The
타겟 추상화부(220)는 호스트 단말기(100)로부터 수신하는 테스트 프로토콜에 따른 데이터 패킷을 분석하고, 상기 타겟 테스트부(210)에서 처리한 테스트 결과를 테스트 프로토콜에 따른 데이터 패킷으로 변환시킨다.
The
타겟 인터페이스부(230)는 호스트 단말기(100)와 네트워크 전송 프로토콜의 송수신을 처리한다.
The
타겟 드라이버부(240)는 호스트 단말기(100)와 물리적인 링크를 제공한다.
The
타겟 제어부(250)는 상기 타겟 테스트부(210), 타겟 추상화부(220), 타겟 인터페이스부(230) 및 타겟 드라이버부(240)를 제어한다.
The
이하에서는, 상술한 시스템을 이용한 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법에 관하여 도 2 내지 도 5 를 참조하여 설명하면 다음과 같다.Hereinafter, an embedded device test automation method using an independent interface method using the above-described system will be described with reference to FIGS. 2 to 5.
도 2 는 본 발명에 따른 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법에 관한 전체 흐름도로서, 도시된 바와 같이 호스트 단말기(100)의 제어부(190)는 입력부를 통해 임의의 데이터값 또는 제어명령을 수신한다(S2).2 is a flowchart illustrating a method for automating an embedded device test using an independent interface method according to an exemplary embodiment of the present invention. As illustrated, the
다음으로, 제어부(190)는 테스트 라이브러리부(130)로부터 테스트 프로토콜을 호스트 어플리케이션부(120)로 로드시킨다(S4).Next, the
다음으로, 제어부(190)는 탐색부(150)를 통해 테스트 대상인 임베디드 장치(200)를 탐색하여 연결한다(S6).Next, the
다음으로, 제어부(190)는 탐색된 임베디드 장치(200)를 탐색부(150)를 통해 테스트 프로토콜의 지원여부를 판단한다(S8).Next, the
다음으로, 제 S8 단계의 판단결과, 탐색된 임베디드 장치(200)가 테스트 프로토콜을 지원하는 경우, 제어부(190)는 탐색된 임베디드 장치(200)에 대한 테스트를 수행한다(S10).Next, as a result of the determination in step S8, when the found embedded
다음으로, 제어부(190)는 연결된 임베디드 장치(200)를 연결해제시킨다(S12).Next, the
다음으로, 제어부(190)는 테스트 라이브러리부(130)로부터 테스트 프로토콜을 언로드시킨다(S14).Next, the
그리고, 제 S8 단계의 판단결과, 탐색된 임베디드 장치(200)가 테스트 프로토콜을 지원하지 아니한 경우, 제 S12 단계로 절차를 이행한다.
As a result of the determination of step S8, when the found embedded
도 3 은 본 발명에 따른 임베디드 장치 시험 수행에 대한 상세 흐름도로서, 도시된 바와 같이 호스트 단말기(100)의 제어부(190)는 테스트 라이브러리부(130)를 통해 호스트 어플리케이션부(120)로 테스트 어플리케이션프로그램인터페이스(Test API)를 호출한다(S22).3 is a detailed flowchart of performing an embedded device test according to the present invention. As illustrated, the
다음으로, 제어부(190)는 추상화부(140)의 변환모듈(141)을 통해 테스트 제어명령을 테스트 프로토콜에 따른 데이터 패킷으로 변환시킨다(S24).Next, the
다음으로, 제어부(190)는 상기 데이터 패킷을 인터페이스부(160)로부터 드라이버부(170)를 통해 임베디드 장치(200)와 통신한다(S26).Next, the
다음으로, 제어부(190)는 추상화부(140)의 분석모듈(142)을 통해 임베디드 장치(200)로부터 수신한 데이터 패킷을 분석한다(S28).Next, the
그리고, 제어부(190)는 분석된 데이터 패킷에 대한 테스트 결과를 출력부(180)를 통해 출력한다(S30).
The
도 4 는 본 발명에 따른 호스트 단말기 및 임베디드 장치의 통신에 대한 상세 흐름도로서, 도시된 바와 같이 호스트 단말기(100)의 제어부(190)는 추상화부(140)로부터 변환된 데이터 패킷을 인터페이스부(160)로 전송한다(S32).4 is a detailed flowchart illustrating communication between a host terminal and an embedded device according to the present invention. As illustrated, the
다음으로, 제어부(190)는 인터페이스부(160)로부터 드라이버부(170)를 통해 변환된 데이터 패킷을 임베디드 장치(200)로 전송하여 테스트 동작을 하도록 한다(S34).Next, the
다음으로, 제어부(190)는 임베디드 장치(200)의 테스트 동작에 대한 결과에 따른 데이터 패킷을 드라이버부(170)로부터 인터페이스부(160)를 통해 수신한다(S36).Next, the
그리고, 제어부(190)는 테스트 동작에 대한 결과에 따른 데이터 패킷을 추상화부(140)로 전송한다(S38).
The
도 5 는 본 발명에 따른 임베디드 장치의 시험 동작에 대한 상세 흐름도로서, 도시된 바와 같이 임베디드 장치(200)의 타겟 제어부(250)는 호스트 단말기(100)의 드라이버부(170)로부터 타겟 드라이버부(240)를 통해 타겟 인터페이스부(230)로 데이터 패킷을 수신한다(S42).FIG. 5 is a detailed flowchart illustrating a test operation of an embedded device according to the present disclosure. As shown in FIG. 5, the
다음으로, 타겟 제어부(250)는 타겟 추상화부(220)를 통해 데이터 패킷을 분석한다(S44).Next, the
다음으로, 타겟 제어부(250)는 제 S44 단계의 분석결과, 테스트 프로토콜에서 정의하는 데이터 패킷인지를 판단한다(S46).Next, the
다음으로, 타겟 제어부(250)는 제 S46 단계의 판단결과, 테스트 프로토콜에서 정의하는 데이터 패킷인 경우, 타겟 테스트부(210)를 통해 데이터 패킷의 해당 테스트 제어명령에 따라 테스트한다(S48).Next, when the
다음으로, 타겟 제어부(250)는 타겟 테스트부(210)의 테스트 결과를 타겟 추상화부(220)를 통해 테스트 프로토콜에 따른 데이터 패킷으로 변환시킨다(S50).Next, the
그리고, 타겟 제어부(250)는 타겟 인터페이스부(230)로부터 타겟 드라이버부(240)를 통해 테스트 결과에 대한 데이터 패킷을 호스트 단말기(100)로 전송한다(S52).
The
이상으로 본 발명의 기술적 사상을 예시하기 위한 바람직한 실시예와 관련하여 설명하고 도시하였지만, 본 발명은 이와 같이 도시되고 설명된 그대로의 구성 및 작용에만 국한되는 것이 아니며, 기술적 사상의 범주를 일탈함이 없이 본 발명에 대해 다수의 변경 및 수정이 가능함을 당업자들은 잘 이해할 수 있을 것이다. 따라서, 그러한 모든 적절한 변경 및 수정과 균등물들도 본 발명의 범위에 속하는 것으로 간주되어야 할 것이다. While the present invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. It will be appreciated by those skilled in the art that numerous changes and modifications may be made without departing from the invention. Accordingly, all such appropriate modifications and changes, and equivalents thereof, should be regarded as within the scope of the present invention.
S: 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템
100 : 호스트 단말기 110 : 입력부
120 : 호스트 어플리케이션부 130 : 테스트 라이브러리부
140 : 추상화부 141 : 변환모듈
142 : 분석모듈 150 : 탐색부
160 : 인터페이스부 170 : 드라이버부
180 : 출력부 190 : 제어부
200 : 임베디드 장치 210 : 타겟 테스트부
220 : 타겟 추상화부 230 : 타겟 인터페이스부
240 : 타겟 드라이버부 250 : 타겟 제어부S: Embedded Device Test Automation System Using Independent Interface
100: host terminal 110: input unit
120: host application unit 130: test library unit
140: abstraction unit 141: conversion module
142: analysis module 150: search unit
160: interface unit 170: driver unit
180: output unit 190: control unit
200: embedded device 210: target test unit
220: target abstraction unit 230: target interface unit
240: target driver 250: target controller
Claims (10)
테스트 제어명령들을 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 테스트 대상에 전송하는 호스트 단말기; 및
상기 호스트 단말기로부터 수신한 상기 데이터 패킷을 분석하여 해당 제어명령에 따라 테스트를 하고, 테스트한 결과를 테스트 프로토콜에 따른 데이터 패킷으로 변환시켜 상기 호스트 단말기로 전송하는 임베디드 장치; 를 포함하되,
상기 호스트 단말기는,
임의의 데이터값 또는 테스트 제어명령을 수신하는 입력부;
상기 임베디드 장치에 대한 테스트를 요청하는 호스트 어플리케이션부;
테스트 프로토콜을 구현하여, 상기 호스트 어플리케이션부에 표준화된 테스트 어플리케이션프로그램인터페이스를 제공하는 테스트 라이브러리부;
상기 테스트 제어명령을 데이터 패킷으로 변환시키고, 상기 임베디드 장치로부터 수신한 데이터 패킷을 분석하는 추상화부;
상기 임베디드 장치와 송수신을 처리하는 인터페이스부;
상기 인터페이스부와 연결되어 임베디드 장치와 물리적인 링크를 제공하는 드라이버부; 및
상기 입력부, 호스트 어플리케이션부, 테스트 라이브러리부, 추상화부, 인터페이스부 및 드라이버부를 제어하는 제어부; 를 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템.
In the embedded device test automation system using an independent interface method,
A host terminal converting the test control commands into a data packet according to the test protocol and transmitting the test control commands to the test target; And
An embedded device that analyzes the data packet received from the host terminal, performs a test according to a corresponding control command, converts the test result into a data packet according to a test protocol, and transmits the result to the host terminal; , ≪ / RTI &
The host terminal,
An input unit for receiving an arbitrary data value or a test control command;
A host application unit requesting a test for the embedded device;
A test library unit implementing a test protocol to provide a standardized test application program interface to the host application unit;
An abstraction unit converting the test control command into a data packet and analyzing the data packet received from the embedded device;
An interface unit configured to process transmission and reception with the embedded device;
A driver unit connected to the interface unit to provide a physical link with an embedded device; And
A control unit controlling the input unit, the host application unit, the test library unit, the abstraction unit, the interface unit, and the driver unit; Embedded device test automation system using an independent interface method comprising a.
상기 호스트 단말기는,
상기 임베디드 장치를 탐색하여 연결하고, 탐색된 임베디드 장치에 대한 테스트 프로토콜의 지원여부를 판단하는 탐색부;
상기 임베디드 장치를 테스트한 결과를 출력하는 출력부; 및
상기 탐색부 및 출력부를 제어하는 제어부; 를 더 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템.
The method of claim 1,
The host terminal,
A search unit for searching for and connecting the embedded device, and determining whether a test protocol is supported for the found embedded device;
An output unit configured to output a test result of the embedded device; And
A control unit controlling the search unit and the output unit; Embedded device test automation system using an independent interface method characterized in that it further comprises.
상기 임베디드 장치는,
상기 호스트 단말기로부터 전달되는 테스트 요청을 처리하는 타겟 테스트부;
상기 테스트 프로토콜에 따른 데이터 패킷을 분석하고, 상기 타겟 테스트부에서 처리한 테스트 결과를 상기 테스트 프로토콜에 따른 데이터 패킷으로 변환시키는 타겟 추상화부;
상기 호스트 단말기와 송수신을 처리하는 타겟 인터페이스부;
상기 호스트 단말기와 물리적인 링크를 제공하는 타겟 드라이버부; 및
상기 타겟 테스트부, 타겟 추상화부, 타겟 인터페이스부 및 타겟 드라이버부를 제어하는 타겟 제어부; 를 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템.
The method of claim 1,
The embedded device,
A target tester which processes a test request transmitted from the host terminal;
A target abstraction unit analyzing a data packet according to the test protocol and converting a test result processed by the target test unit into a data packet according to the test protocol;
A target interface unit configured to process transmission and reception with the host terminal;
A target driver unit providing a physical link with the host terminal; And
A target controller configured to control the target test unit, the target abstraction unit, the target interface unit, and the target driver unit; Embedded device test automation system using an independent interface method comprising a.
상기 테스트 프로토콜은,
테스트 제어명령들을 포함하는 데이터 패킷으로 정의되는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템.
The method of claim 1,
The test protocol,
Embedded device test automation system using an independent interface method, characterized in that defined as a data packet containing test control commands.
상기 추상화부(140)는,
테스트 프로토콜에 따라 데이터 패킷으로 변환시키는 변환모듈(141); 및
상기 임베디드 장치(200)로부터 수신한 데이터 패킷을 분석하는 분석모듈(142); 을 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 시스템.
The method of claim 1,
The abstraction unit 140,
A conversion module 141 converting the data packet according to the test protocol; And
An analysis module 142 analyzing the data packet received from the embedded device 200; Embedded device test automation system using an independent interface method comprising a.
(a) 호스트 단말기의 제어부가 입력부를 통해 임의의 데이터값 또는 제어명령을 수신하는 단계;
(b) 상기 제어부가 테스트 라이브러리부로부터 테스트 프로토콜을 호스트 어플리케이션부로 로드시키는 단계;
(c) 상기 제어부가 탐색부를 통해 테스트 대상 임베디드 장치를 탐색하여 연결하는 단계;
(d) 상기 제어부가 탐색된 임베디드 장치의 테스트 프로토콜에 대한 지원여부를 탐색부를 통해 판단하는 단계;
(e) 상기 제 (d) 단계의 판단결과, 탐색된 임베디드 장치가 테스트 프로토콜을 지원하는 경우, 제어부가 탐색된 임베디드 장치에 대한 테스트를 수행하는 단계;
(f) 상기 제어부가 연결된 임베디드 장치를 연결해체시키는 단계; 및
(g) 상기 제어부가 테스트 라이브러리부로부터 테스트 프로토콜을 언로드시키는 단계; 를 포함하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법.
In the method of automating embedded device test using an independent interface method,
(a) receiving, by the controller of the host terminal, an arbitrary data value or a control command through the input unit;
(b) the control unit loading a test protocol from a test library unit to a host application unit;
(c) searching and connecting the test target embedded device through the search unit;
(d) determining, by the searching unit, whether the control unit supports the test protocol of the found embedded device;
(e) if the found embedded device supports the test protocol as a result of the determination of step (d), performing a test on the found embedded device by the controller;
(f) disconnecting the embedded device to which the control unit is connected; And
(g) the controller unloading a test protocol from a test library unit; Embedded device test automation method using an independent interface method including a.
상기 (e) 단계는,
(e-1) 상기 호스트 단말기의 제어부가 테스트 라이브러리부를 통해 테스트 어플리케이션프로그램인터페이스를 호출하여 호스트 어플리케이션부로 제공하는 단계;
(e-2) 상기 제어부가 추상화부를 통해 테스트 제어명령을 테스트 프로토콜에 따른 데이터 패킷으로 변환시키는 단계;
(e-3) 상기 제어부가 상기 데이터 패킷을 인터페이스부로부터 드라이버부를 통해 임베디드 장치와 통신하는 단계; 및
(e-4) 상기 제어부가 상기 추상화부를 통해 임베디드 장치로부터 수신한 데이터 패킷을 분석하는 단계; 를 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법.
The method according to claim 6,
The step (e)
(e-1) a control unit of the host terminal calling a test application program interface through a test library unit and providing the test application program interface to the host application unit;
(e-2) converting, by the control unit, a test control command into a data packet according to a test protocol through an abstraction unit;
(e-3) the control unit communicating the data packet with an embedded device from an interface unit through a driver unit; And
(e-4) analyzing, by the controller, the data packet received from the embedded device through the abstraction unit; Embedded device test automation method using an independent interface method comprising a.
상기 (e-4) 단계 이후에,
(e-5) 상기 제어부가 분석된 데이터 패킷에 대한 테스트 결과를 출력부를 통해 출력하는 단계; 를 더 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법.
The method of claim 7, wherein
After the step (e-4),
(e-5) the control unit outputting a test result for the analyzed data packet through an output unit; Embedded device test automation method using an independent interface method characterized in that it further comprises.
상기 (e-3) 단계는,
(e-3-1) 상기 제어부가 추상화부로부터 변환된 데이터 패킷을 인터페이스부로 전송하는 단계;
(e-3-2) 상기 제어부가 상기 인터페이스부로부터 드라이버부를 통해 변환된 데이터 패킷을 상기 임베디드 장치로 전송하여 테스트 동작을 하도록 하는 단계;
(e-3-3) 상기 제어부가 상기 임베디드 장치의 테스트 동작에 대한 결과에 따른 데이터 패킷을 상기 드라이버부로부터 상기 인터페이스부를 통해 수신하는 단계; 및
(e-3-4) 상기 제어부가 테스트 동작에 대한 결과에 다른 데이터 패킷을 상기 추상화부로 전송하는 단계; 를 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법.
The method of claim 7, wherein
The step (e-3),
(e-3-1) the control unit transmitting a data packet converted from the abstraction unit to an interface unit;
(e-3-2) the control unit transmitting a data packet converted from the interface unit through the driver unit to the embedded device to perform a test operation;
(e-3-3) receiving, by the controller, a data packet according to a result of a test operation of the embedded device from the driver through the interface; And
(e-3-4) the control unit transmitting a data packet different from the result of the test operation to the abstraction unit; Embedded device test automation method using an independent interface method comprising a.
상기 제 (e-3-2) 단계는,
(h-1) 임베디드 장치의 타겟 제어부가 호스트 단말기의 드라이버부로부터 타겟 드라이버부를 통해 타겟 인터페이스부로 데이터 패킷을 수신하는 단계;
(h-2) 상기 타겟 제어부가 타겟 추상화부를 통해 데이터 패킷을 분석하는 단계;
(h-3) 상기 타겟 제어부가 테스트 프로토콜에서 정의하는 데이터 패킷인지를 판단하는 단계;
(h-4) 상기 제 (h-3) 단계의 판단결과, 테스트 프로토콜에서 정의하는 데이터 패킷인 경우, 상기 타겟 제어부가 타겟 테스트부를 통해 데이터 패킷의 해당 테스트 제어명령에 따라 테스트하는 단계;
(h-5) 상기 타겟 제어부가 상기 타겟 테스트부의 테스트 결과를 상기 타겟 추상화부를 통해 테스트 프로토콜에 따른 데이터 패킷으로 변환시키는 단계; 및
(h-6) 상기 타겟 제어부가 상기 타겟 인터페이스부로부터 상기 타겟 드라이버부를 통해 테스트 결과에 대한 데이터 패킷을 상기 호스트 단말기로 전송하는 단계; 를 포함하는 것을 특징으로 하는 독립적인 인터페이스 방식을 이용한 임베디드 장치 시험 자동화 방법.The method of claim 9,
The (e-3-2) step,
(h-1) receiving, by the target controller of the embedded device, a data packet from the driver of the host terminal to the target interface through the target driver;
(h-2) analyzing, by the target controller, a data packet through a target abstraction unit;
(h-3) determining, by the target controller, whether the data packet is defined by a test protocol;
(h-4) in the case of the data packet defined in the test protocol as a result of the determination in the (h-3) step, testing by the target control unit according to a corresponding test control command of the data packet through a target test unit;
(h-5) the target controller converting a test result of the target test unit into a data packet according to a test protocol through the target abstraction unit; And
(h-6) the target control unit transmitting a data packet for a test result from the target interface unit to the host terminal through the target driver unit; Embedded device test automation method using an independent interface method comprising a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120054747A KR20130131024A (en) | 2012-05-23 | 2012-05-23 | Automation system and method for testing embedded device using independent interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120054747A KR20130131024A (en) | 2012-05-23 | 2012-05-23 | Automation system and method for testing embedded device using independent interface |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20130131024A true KR20130131024A (en) | 2013-12-03 |
Family
ID=49980396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120054747A KR20130131024A (en) | 2012-05-23 | 2012-05-23 | Automation system and method for testing embedded device using independent interface |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20130131024A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190812A (en) * | 2019-12-12 | 2020-05-22 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Automatic test framework based on embedded equipment |
CN117724920A (en) * | 2024-02-07 | 2024-03-19 | 四川赛狄信息技术股份公司 | Test method and device of embedded equipment, upper computer and medium |
-
2012
- 2012-05-23 KR KR1020120054747A patent/KR20130131024A/en not_active Application Discontinuation
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190812A (en) * | 2019-12-12 | 2020-05-22 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Automatic test framework based on embedded equipment |
CN111190812B (en) * | 2019-12-12 | 2023-12-08 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Automatic test framework system based on embedded equipment |
CN117724920A (en) * | 2024-02-07 | 2024-03-19 | 四川赛狄信息技术股份公司 | Test method and device of embedded equipment, upper computer and medium |
CN117724920B (en) * | 2024-02-07 | 2024-04-26 | 四川赛狄信息技术股份公司 | Test method and device of embedded equipment, upper computer and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6271520B2 (en) | Efficient parallel test method for time division duplex (TDD) communication systems | |
JP5266206B2 (en) | Method for testing an embedded radio transceiver with minimal interaction between the radio transceiver and the host processor during testing | |
CN107848522B (en) | System and method for transmitting diagnostic commands to a vehicle | |
JP5971767B2 (en) | System and method for providing driver software to a test controller to facilitate testing of a device under test by a wireless transceiver tester | |
KR100925517B1 (en) | Embedded device test system and method | |
US9179341B2 (en) | Method and system for simplifying WiFi setup for best performance | |
US8312330B2 (en) | System and method for testing wireless devices | |
US20220012165A1 (en) | Method and apparatus for debugging device | |
CN102413500A (en) | Method and system for testing throughput of wireless network card in wireless local area network | |
CN105874748B (en) | There are the system and method for the data packets transceiver of different performance characteristics and requirement using standard test equipment test | |
Tosi et al. | Throughput analysis of BLE sensor network for motion tracking of human movements | |
US7363188B1 (en) | Apparatus and method for operating automated test equipment (ATE) | |
CN104536900A (en) | Method and device for controlling mobile terminal | |
KR20150074375A (en) | Smart device for controlling robot of various type in robot platform configuration and method thereof | |
CN111651232A (en) | One-machine multi-control method, device and system and electronic equipment | |
EP3314872B1 (en) | Location-based wireless device presentation and connection | |
KR20130131024A (en) | Automation system and method for testing embedded device using independent interface | |
KR101523702B1 (en) | IoT PLATFORM SERVER AND GENERATING METHOD FOR MATCHING INFORMATION BETWEEN IoT DEVICE AND AVAILABLE APPLICATION | |
CN109194535A (en) | A kind of terminal test system and method | |
KR20120069320A (en) | System for testing realtime embedded device and method therefor | |
US10554509B2 (en) | Information processing system and delay measurement method | |
JP6566070B1 (en) | Flow management server, flow management system, flow management method, and flow management program | |
KR20200088757A (en) | Test apparatus, test method and interface unit | |
KR20160004030A (en) | Test apparatus of mobile device, system and controlling method | |
Sieczkowski et al. | A method for real-time data acquisition using Matlab software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20120523 |
|
PG1501 | Laying open of application | ||
PC1203 | Withdrawal of no request for examination | ||
WITN | Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid |