Nothing Special   »   [go: up one dir, main page]

KR20050023582A - UPnP TEST APARTUS AND METHOD THEREOF - Google Patents

UPnP TEST APARTUS AND METHOD THEREOF Download PDF

Info

Publication number
KR20050023582A
KR20050023582A KR1020030059918A KR20030059918A KR20050023582A KR 20050023582 A KR20050023582 A KR 20050023582A KR 1020030059918 A KR1020030059918 A KR 1020030059918A KR 20030059918 A KR20030059918 A KR 20030059918A KR 20050023582 A KR20050023582 A KR 20050023582A
Authority
KR
South Korea
Prior art keywords
test
upnp
networking
network
tester
Prior art date
Application number
KR1020030059918A
Other languages
Korean (ko)
Inventor
정성원
장영숙
성숙희
김태식
김성남
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020030059918A priority Critical patent/KR20050023582A/en
Publication of KR20050023582A publication Critical patent/KR20050023582A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: A UPnP(Universal Plug and Play) test device and a method thereof are provided to test an operated state of a middleware through various test cases in accordance with a UPnP standard specification, thereby exactly checking the operated state of the middleware regardless of functions of a controlling device and a controlled device. CONSTITUTION: A UPnP test device(300) comprises as follows. A network interface(310) transmits/receives data through a network communication channel. A data manager(320) manages inputting/outputting of all data. A test controller(330) tests a networking state of a UPnP middleware by networking with a target network device, and supplies the tested results to the data manager(320). An input unit(340) receives a control command for controlling a UPnP networking test from a tester. A display(350) supplies a UPnP networking test process and the tested results to the tester through a GUI screen.

Description

UPnP 테스트 장치 및 그 방법{UPnP TEST APARTUS AND METHOD THEREOF}JPNP test apparatus and its method {UPnP TEST APARTUS AND METHOD THEREOF}

본 발명은 UPnP 테스트 장치 및 그 방법에 관한 것으로, 특히 홈 네트워크상에서 동작하는 네트워크 장치들을 하나의 네트워크에 연결하여 통제하기 위한 네트워크 미들웨어를 표준 스펙에 따른 소정의 테스트 케이스들을 통해 테스트 함으로써 테스터가 네트워크 미들웨어의 동작 상태를 특정 대상 네트워크 장치를 통해 자동으로 테스할 수 있도록 하는 것이다.The present invention relates to a UPnP test apparatus and a method thereof, and in particular, a tester performs network middleware by testing network middleware for controlling network devices operating on a home network through a predetermined test case according to a standard specification. It is to be able to automatically test the operating state of a specific target network device.

최근들어 디지털 TV, 디지털 VCR, 디지털 셋톱박스 등의 각종 디지털 기기들이 널리 사용되면서, 이러한 디지털 기기 및 기존의 가전 제품(일 예로, 냉장고, 세탁기 등)에 디지털 기능을 부가하여 이들을 하나의 네트워크로 연결시켜 통제하는 홈 네트워크 환경에 대한 관심이 점차 높아져가고 있다.Recently, as digital devices such as digital TVs, digital VCRs, and digital set-top boxes are widely used, digital functions are added to these digital devices and existing home appliances (eg, refrigerators, washing machines, etc.) to connect them to one network. There is a growing interest in home network environments that can be controlled.

홈 네트워크 환경에서는 홈 네트워크 상에서 동작하는 여러가지 가전 기기(이하, 네트워크 장치라 칭함)들의 상태를 모니터링하고 사용자의 요청에 따라 제어 명령을 전달 할 수 있도록 하는 홈 네트워크 시스템이 널리 이용 가상의 공통 컴퓨팅 환경 구축이 요구된다.In a home network environment, a virtual common computing environment is widely used by a home network system that monitors the status of various home appliances (hereinafter, referred to as network devices) operating on a home network and transmits control commands according to a user's request. Is required.

홈 네트워크에서는 가상의 공통 컴퓨팅 환경 구축을 위해 홈 네트워크용 통신 채널의 종류와 각 네트워크 장치의 운영 체제등의 실행 환경에 따라, HAVI(Home Audio Video Interoperability), UPnP(Universal Plug and Play Control Device), Jini(Java Intelligent Network Infra-structure), HWW(Home Wide Web)등과 같은 미들웨어가 사용된다.In the home network, the home audio video interoperability (HAVI), universal plug and play control device (UPnP), Middleware such as Java Intelligent Network Infrastructure (Jini), Home Wide Web (HWW), etc. are used.

이러한 미들웨어는 홈 네트워크 상에서 동작하는 다양한 네트워크 장치들을 피어-투-피어(Peer-to-Peer) 방식으로 연결하여 네트워크 장치들간의 통신이 가능하도록 하기 위해 소정의 표준 규격에 따른 프로토콜 구조를 갖는데, 도 1은 UPnP 프로토콜 구조를 개략적으로 나타낸 것이다.The middleware has a protocol structure according to a predetermined standard to enable communication between network devices by connecting various network devices operating on a home network in a peer-to-peer manner. 1 schematically illustrates the structure of the UPnP protocol.

도 1에 도시된 바와 같이, UPnP는 인터넷 프로토콜(Internet Protocol; 이하, IP라 칭함)을 기반으로 하여 역할에 따라 크게 제어 장치 (Control Point)와 피제어 장치(Controlled Device)로 구분되는데, 제어 장치는 네트워크 상에서 동작하는 다른 네트워크 장치의 상태 정보를 수집하여 리스트를 체크하고 리스트 정보를 주기적으로 업데이트하며 피제어 장치를 동작제어한다. As shown in FIG. 1, UPnP is largely classified into a control point and a controlled device according to a role based on an Internet protocol (hereinafter, referred to as IP). Collects state information of other network devices operating on the network, checks the list, periodically updates the list information, and controls the controlled device.

이러한 UPnP에 따라 네트워크 장치(이하, 루트 디바이스라 칭함)는 임베디드(embedded)되는 장치(device) 또는 네트워크 장치와 임베디드 장치를 통해 제공하는 서비스 템플릿에 관련된 주요 정보를 XML(eXtensible Markup Language) 형태의 파일로 다른 네트워크 장치와 교환함으로써, UPnP에 따른 네트워킹을 통해 네트워크 장치간에 장치 및 서비스 이용이 가능하게 한다.According to the UPnP, a network device (hereinafter referred to as a root device) is a file in the form of an XML (eXtensible Markup Language) file that provides important information related to an embedded device or a service template provided through the network device and the embedded device. By exchanging with other network devices, it is possible to use devices and services between network devices through networking according to UPnP.

즉, UPnP에서는 IP를 기반하여 네트워크 장치들간의 상호 운용성을 제공하는것으로, TCP/IP 또는 UDP/IP를 네트워킹 프로토콜로 사용하는데, TCP/IP 서비스의 경우 각 네트워크 장치는 동적 호스트 구성 규약(Dynamic Host Configuration Protocol; 이하, DHCP라 칭함)을 통해 할당되거나 자동 IP 지정 기능(Auto IP)을 통해 할당되는 IP 주소를 사용한다.In other words, UPnP provides interoperability between network devices based on IP, and uses TCP / IP or UDP / IP as a networking protocol. In the case of TCP / IP service, each network device is a dynamic host configuration protocol (Dynamic Host). IP address assigned through the Configuration Protocol (hereinafter referred to as DHCP) or assigned through the Auto IP assignment function (Auto IP).

그 다음, TCP/IP에서의 HTTP와 UDP/IP에서의 HTTPMU 또는 HTTPPU는 Simple Service Discovery Protocol(이하, SSDP라 칭함)를 통해 홈 네트워크상에서 동작하는 피제어 장치들을 검색하거나, GENA (Generic Event Notification Architecture)를 통해 통보(notifications)를 송/수신하거나, Simple Object Access Protocol(이하, SOAP라 칭함)을 통해 제어 명령을 전달하는데 사용된다.Then, HTTPMU or HTTPPU over TCP / IP and HTTPMU or HTTPPU over UDP / IP can search for controlled devices operating on a home network through the Simple Service Discovery Protocol (hereinafter referred to as SSDP), or GENA (Generic Event Notification Architecture). It is used for sending / receiving notifications through the system or transmitting control commands through the Simple Object Access Protocol (hereinafter referred to as SOAP).

이와 같은 프로토콜 구조를 기반으로 하여 네트워크 장치간의 네트워킹이 가능하게 되는데, 이를 제공하는 UPnP가 정상적으로 동작하는지 여부를 판별하기 위해서는 UPnP 표준에 따른 네트워크 장치간의 네트워킹 과정에서 송/수신되는 메시지를 통해 확인할 수 있다.Networking between network devices is possible based on the protocol structure as described above. In order to determine whether UPnP is normally operating, it can be confirmed through messages transmitted / received during the networking process between network devices according to the UPnP standard. .

이러한 UPnP 테스트 방법으로는 미국특허 등록 제 0027569 호(발명의 명칭: Generic User Control Point Tool For Universal Plug and Play(UPnP) Devices)를 이용하여 피제어 장치의 기본적 기능들을 테스트할 수 있는데, 이 방법은 제어 장치를 이용하여 피제어 장치의 UPnP 동작 상태를 테스트하는 것으로, 테스트 범위가 제한적이어서 피제어 장치의 모든 기능들을 테스트하기 어려운 문제점이 있었다.This UPnP test method can be used to test the basic functions of the controlled device using US Patent Registration No. 0027569 (named Generic User Control Point Tool For Universal Plug and Play (UPnP) Devices), By testing the UPnP operation state of the controlled device using the control device, there is a problem that it is difficult to test all the functions of the controlled device because the test range is limited.

따라서, 제어 장치와 피제어 장치의 기능을 동시에 가지면서 홈 네트워크 상에서 동작하는 제어 장치와 피제어 장치에 따라 수행되는 모든 동작 과정을 테스트할 수 있는 UPnP 테스트 방법이 요구되고 있는 실정이다. Accordingly, there is a demand for a UPnP test method capable of testing all operation processes performed by the control device and the controlled device operating on the home network while simultaneously having the functions of the control device and the controlled device.

본 발명은 상기한 문제점들을 해결하기 위해 안출된 것으로, UPnP 표준 스펙에 따른 동작 과정으로 이루어지는 다양한 테스트 케이스들을 통해 미들웨어의 동작 상태를 테스트 함으로써, 제어 장치와 피제어 장치의 기능에 구애받지 않고 네트워크 미들웨어의 동작 상태를 정확하게 검사할 수 있도록 하는 것을 주 목적으로 한다.The present invention has been made to solve the above problems, by testing the operating state of the middleware through various test cases consisting of the operation process according to the UPnP standard specification, regardless of the function of the control device and the controlled device network middleware The main purpose is to be able to accurately check the operating state of the.

본 발명은 테스터로부터 입력되는 다양한 테스트 케이스들을 네트워크 미들웨어의 동작 상태를 테스트 하기 위해 저장하고, 테스터에 의해 특정 테스트 케이스가 선택되면 선택된 테스트 케이스를 이용하여 제어 장치 또는 피제어 장치를 대상 네트워크 장치로하여 네트워킹 동작 상태를 테스트하는 것이다. The present invention stores various test cases input from the tester for testing the operation state of the network middleware, and when a specific test case is selected by the tester, the control device or the controlled device is used as the target network device by using the selected test case. Is to test the networking operation.

테스트 케이스는 네트워크 미들웨어의 표준에 따른 네트워크 장치간의 다양한 네트워킹 과정 및 각 네트워킹 과정에 따라 예상되는 결과 값으로 이루어진다.The test case consists of various networking processes between network devices according to the standard of network middleware and the expected result value of each networking process.

이하, 본 발명의 일 실시 예에 따른 테스트 장치 및 그 방법을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, a test apparatus and a method thereof according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 일 실시 예에 따른 UPnP 테스트 장치는 네트워크 통신 채널로 상호 연결되는 다수의 네트워크 장치간의 네트워킹이 가능하도록 하는 네트워크 미들웨어가 정상적으로 동작하는지 여부를 테스트 하기 위해 피제어 장치와 제어 장치의 기능을 동시에 가지면서 테스터의 선택에 따라 소정의 테스트 케이스들을 이용하여 피제어 장치 또는 제어 장치를 대상으로 네트워킹을 수행하는 것을 특징으로 한다.The UPnP test apparatus according to an embodiment of the present invention simultaneously performs the functions of the controlled device and the control device to test whether the network middleware that enables networking between a plurality of network devices interconnected by a network communication channel operates normally. It is characterized in that the networking to the controlled device or the control device using predetermined test cases according to the selection of the tester.

이러한, 본 발명의 일 실시 예에 따른 UPnP 네트워크 장치는 네트워크 미들웨어의 네트워킹 상태를 테스트하기 위한 다수의 테스트 케이스들을 테스터로부터 입력받아 저장하는 테스트 케이스 저장부, 및 테스터의 제어 명령에 따라 소정의 테스트 케이스를 생성하며 테스터의 테스트 케이스 선택에 따라 대상 네트워크 장치와의 네트워킹을 위한 역할을 결정하고 결정된 역할을 통해 대상 네트워크 장치와의 네트워킹 동작을 수행하는 테스트 제어부를 포함하는 것을 특징으로 하며, 테스트 제어부는 대상 네트워크 장치와의 네트워킹 과정에서 대상 네트워크 장치로부터 수신되는 소정의 메시지를 이용하여 상기 테스트 케이스에 따른 네트워킹 동작이 정상적으로 이루어지는지 여부를 판별하고, 판별 결과를 수집하는 것을 특징으로 한다.The UPnP network device according to an embodiment of the present invention includes a test case storage unit configured to receive and store a plurality of test cases for testing a networking state of network middleware from a tester, and a predetermined test case according to a control command of the tester. And a test controller for determining a role for networking with the target network device according to the test case selection of the tester, and performing a networking operation with the target network device through the determined role. In the networking process with the network device, a predetermined message received from the target network device is used to determine whether the networking operation according to the test case is normally performed, and the determination result is collected.

또한, 테스트 제어부를 통한 네트워크 미들웨어 테스트를 위해 네트워크 통신 채널을 통한 데이터 송/수신을 처리하는 네트워크 인터페이스부, 네트워크 인터페이스부를 통한 데이터 입/출력을 포함하는 모든 데이터 입/출력 관리를 처리하는 데이터 관리부, 테스트 제어부에서의 네트워크 미들웨어 테스트를 통해 얻어지는 테스트 결과를 포함하는 테스트에 대한 모든 기록을 저장하는 테스트 기록부, 테스트 제어부를 통한 네트워크 미들웨어 테스트에 대한 제어 명령을 테스터로부터 입력받는 입력부, 및 테스트 제어부에서의 테스트 과정을 GUI 화면을 통해 테스터에게 제공하는 표시부를 더 포함하는 것을 특징으로 한다.In addition, the network management unit for processing data transmission / reception through the network communication channel for the network middleware test through the test control unit, a data management unit for processing all data input / output management, including data input / output through the network interface unit, A test recorder for storing all records of the test including the test result obtained through the network middleware test in the test control unit, an input unit for receiving a control command for the network middleware test through the test control unit from the tester, and a test in the test control unit. It characterized in that it further comprises a display unit for providing a process to the tester through the GUI screen.

본 발명의 일 실시 예에 따른 UPnP 테스트 방법은 네트워크 통신 채널로 상호 연결되는 다수의 네트워크 장치간의 네트워킹이 가능하도록 하는 네트워크 미들웨어를 테스트 하기 위한 테스트 케이스들을 테스터로부터 입력받아 등록하는 단계; 및 테스터의 선택에 따라 선택된 테스트 케이스들을 이용하여 특정 대상 네트워크 장치와의 네트워킹 동작을 수행하면서 상기 네트워크 미들웨어가 정상적으로 동작하는지 여부를 테스트하는 단계를 포함하는 것을 특징으로 한다.UPnP test method according to an embodiment of the present invention comprises the steps of receiving a test case for testing the network middleware to enable networking between a plurality of network devices interconnected by a network communication channel from the tester; And testing whether the network middleware operates normally while performing a networking operation with a specific target network device using test cases selected according to a tester's selection.

또한, 테스트 단계는 테스터로부터 네트워크 미들웨어 테스트를 위한 대상 네트워크 장치 및 테스트 케이스들을 입력받는 단계; 입력된 테스트 케이스들을 이용하여 테스트 항목을 생성하고, 테스트 케이스 저장부로부터 상기 테스트 케이스를 검출하는 단계; 검출된 테스트 케이스에 따라 대상 네트워크 장치와의 네트워킹 동작을 수행하기 위한 테스트 환경을 구축하는 단계; 구축된 테스트 환경을 통해 상기 테스트 항목의 소정 테스트 케이스에 상응하는 메시지를 상기 대상 네트워크 장치로 전송하는 단계; 및 전송된 메시지에 따라 대상 네트워크 장치로부터 소정의 메시지가 수신되면, 수신된 메시지를 이용하여 상기 테스트 케이스의 네트워킹 동작에 대한 테스트 결과를 판별하는 단계를 포함하는 것을 특징으로 한다.The test step may further include receiving target network devices and test cases for network middleware testing from a tester; Generating a test item using the input test cases and detecting the test case from a test case storage; Establishing a test environment for performing a networking operation with the target network device according to the detected test case; Transmitting a message corresponding to a predetermined test case of the test item to the target network device through the established test environment; And if a predetermined message is received from the target network device according to the transmitted message, determining a test result for the networking operation of the test case using the received message.

이하, 본 발명에 따른 UPnP 테스트 장치 및 그 방법에 대하여 설명함에 있어서, UPnP 테스트 장치는 네트워크 등록 과정에서 각각의 네트워크 장치에 할당되는 IP 주소 정보를 제공받아 각각의 네트워크 장치에 대한 IP 주소 정보를 저장하거나, 테스터가 소정의 수단(일 예로, 각 네트워크 장치별로 고정 IP를 할당하는 IP 서버)을 통해 각 네트워크장치에 할당되는 IP 주소 정보를 인지하는 것을 전제로 설명한다.Hereinafter, in describing the UPnP test apparatus and method thereof, the UPnP test apparatus receives IP address information allocated to each network device during a network registration process and stores IP address information for each network device. Or, it will be described on the premise that the tester recognizes the IP address information allocated to each network device through a predetermined means (for example, an IP server that allocates a fixed IP for each network device).

이에 따라, UpnP 테스트 장치에서는 테스터에 의해 대상 네트워크 장치가 선택되면 해당 네트워크 장치의 IP주소를 검출하여 대상 네트워크 장치와의 UpnP 네트워킹을 수행하거나, 테스터에 의해 대상 네트워크 장치가 선택되면 테스터로부터 대상 네트워크 장치의 IP주소를 입력받아 대상 네트워크 장치와의 UpnP 네트워킹을 수행한다. Accordingly, when the target network device is selected by the tester, the UpnP test device detects the IP address of the corresponding network device to perform UpnP networking with the target network device, or when the target network device is selected by the tester, the target network device from the tester. UpnP networking with target network device is performed by inputting IP address of.

또한, 본 발명에 따른 UPnP 테스트 장치 및 그 방법에 대하여 설명함에 있어서, UPnP 미들웨어를 통해 구현되는 것으로 설명하고 있으나, 이 또한 예시적인 것에 불과하며, IP기반에서 네트워크 통신 채널로 상호 연결되는 다수의 네트워크 장치들간의 네트워킹이 가능하도록 하는 다양한 네트워크 미들웨어에서의 네트워킹 동작이 정상적으로 이루어지는지 여부를 판별하는 방법으로의 다양한 변형 및 균등한 타 실시예가 가능하다는 점은 본 기술분야의 통상의 지식을 가진 자라면 이해할 수 있을 것이다. In addition, in the description of the UPnP test apparatus and the method according to the present invention, it is described as being implemented through the UPnP middleware, but this is also merely exemplary, a plurality of networks interconnected by a network communication channel based on IP It will be appreciated by those skilled in the art that various modifications and equivalent embodiments of the present invention are possible as a method of determining whether or not the networking operation is normally performed in various network middlewares that enable networking between devices. Could be.

따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 청구범위의 기술적 사상에 의해 정해져야 할 것이다.Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

도 2는 본 발명의 일 실시예에 따른 UPnP 테스트 구조를 개략적으로 나타낸 것이다.2 schematically illustrates a UPnP test structure according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명에 따른 UPnP 테스트 구조는 네트워크 통신 채널(예를 들어, IEEE1394, HomePNA 및 인터넷 등)로 상호 연결되는 다수의 네트워크 장치(100:101, 102, …, 10n)와 다수의 네트워크 장치간의 네트워킹이 가능하도록 하는 UPnP 미들웨어의 네트워킹 상태를 테스트하기 위한 테스트 장치(300)를 포함한다.As shown in Fig. 2, the UPnP test structure according to the present invention is a plurality of network devices (100: 101, 102, ..., 10n) interconnected by a network communication channel (e.g., IEEE1394, HomePNA, and the Internet). And a test device 300 for testing the networking state of the UPnP middleware to enable networking between the plurality of network devices.

다수의 네트워크 장치(100)는 UPnP 미들웨어가 설치되는 것으로, UPnP 네트워킹을 위해 결정되는 역할에 따라 크게 제어 장치 및 피제어 장치로 구분된다.The plurality of network devices 100 are installed with UPnP middleware, and are classified into a control device and a controlled device according to a role determined for UPnP networking.

UPnP 테스트 장치(300)는 UPnP 네트워킹이 정상적으로 동작하는지 여부를 테스트하기 위한 UPnP 테스트 툴(UPnP Test Tool)이 설치되는 것으로, 피제어 장치 및 제어 장치의 기능을 동시에 가지면서 UpnP 네트워킹에서의 역할이 피제어 장치 또는 제어 장치인 네트워크 장치(100)를 테스터에 의해 선택되는 소정의 테스트 케이스들을 이용하여 테스트한다.UPnP test device 300 is a UPnP test tool (UPnP Test Tool) is installed to test whether the UPnP networking is operating normally, while having a function of the controlled device and the control device at the same time, the role in the UpnP networking is avoided The network device 100, which is a control device or a control device, is tested using predetermined test cases selected by the tester.

테스트 케이스들은 테스터의 선택에 따라 다양하게 구성될 수 있는 것으로, UPnP 표준 규격에 따른 네트워크 장치간의 다양한 네트워킹 과정 및 각 네트워킹 과정에 따라 예상되는 결과 값으로 이루어진다.The test cases can be configured in various ways according to the tester's choice. The test cases consist of various networking processes between network devices according to the UPnP standard specification and result values expected by each networking process.

이러한 소정의 테스트 케이스들은 테스터의 선택에 따라 UpnP 테스트를 위한 테스트 항목으로 구성된다. These predetermined test cases consist of test items for the UpnP test according to the tester's choice.

일 예로, UPnP 표준에 따른 테스트 케이스는 피제어 장치에서 자신의 서비스 정보를 멀티캐스트하고 제어 장치에서 피제어 장치와 서비스를 검색하는 디스커버리 스텝(Dscovery Step), 제어 장치에서 발견된 피제어 장치의 장치나 서비스에 대한 디스크립션(description)을 요청하는 디스크립션 스텝(description Step), 제어 장치에서 피제어 장치로 명령을 보내거나 장치의 상태 정보를 요청하는 컨트롤 스텝(control Step), 피제어 장치에서 제어 장치의 명령을 받아 상태 변화가 발생하여 이를 제어 장치에게 알리고 동기화하는 이벤팅 스텝(eventing Step) 등으로 이루어진다. For example, a test case according to the UPnP standard may include a discovery step of multicasting its own service information in a controlled device and searching for a controlled device and a service in the control device, and a device of the controlled device found in the control device. Or a description step for requesting a description of a service, a control step for sending a command from the control device to the controlled device or requesting status information of the device, and for the control device from the controlled device. It is composed of an eventing step for informing and synchronizing the control device with a change in state by receiving a command.

도 3은 본 발명의 일 실시예에 따른 UPnP 테스트 장치의 구조를 개략적으로 나타낸 것이다.3 schematically illustrates the structure of a UPnP test apparatus according to an embodiment of the present invention.

도 3에 도시된 바와 같이, UPnP 테스트 장치(300)는 네트워크 통신 채널을 통한 데이터 송/수신을 처리하는 네트워크 인터페이스부(310), 네트워크 인터페이스부(310)를 통한 데이터 입/출력을 포함하는 모든 데이터 입/출력 관리를 수행하는 데이터 관리부(320), 데이터 관리부(320)를 통한 대상 네트워크 장치(100)와의 네트워킹을 통해 UPnP 미들웨어의 네트워킹 상태를 테스트하며 테스트 결과를 데이터 관리부(320)로 제공하는 테스트 제어부(330), 테스트 제어부(330)를 통한 UPnP 네트워킹 테스트를 동작 제어하기 위한 제어 명령을 테스터로부터 입력받는 입력부(340), 테스트 제어부(330)를 통한 UPnP 네트워킹 테스트 과정 및 테스트 결과를 테스터에게 GUI(Graphic User Interfcae) 화면을 통해 제공하는 표시부(350)를 포함하여 구성된다.As shown in FIG. 3, the UPnP test apparatus 300 includes a network interface unit 310 that processes data transmission / reception through a network communication channel, and all data including input / output data through the network interface unit 310. The data management unit 320 that performs data input / output management, testing the networking state of the UPnP middleware through networking with the target network device 100 through the data management unit 320 and providing the test results to the data management unit 320. The test control unit 330, the input unit 340 for receiving a control command for controlling the operation of the UPnP networking test through the test control unit 330, the UPnP networking test process and test results through the test control unit 330 to the tester It is configured to include a display unit 350 provided through the GUI (Graphic User Interfcae) screen.

또한, 입력부(340)로 입력되는 테스터의 제어 명령에 따라 테스트 제어부(330)를 통해 생성되는 다수의 테스트 케이스들을 저장하는 테스트 케이스 저장부(360)와 테스트 제어부(330)를 통해 제공되는 테스트 결과를 포함하는 UPnP 네트워킹 테스트에 대한 모든 기록을 저장하는 테스트 기록 저장부(370)를 더 포함한다.In addition, a test result provided through the test case storage unit 360 and the test control unit 330 for storing a plurality of test cases generated through the test control unit 330 according to a control command of the tester input to the input unit 340. The test record storage unit 370 further stores all records for the UPnP networking test including a.

그리고, 데이터 관리부(320)에서는 테스트 케이스 저장부(360)와 테스트 기록 저장부(370)에 저장된 데이터들의 입/출력을 포함하는 데이터 관리를 수행한다.In addition, the data management unit 320 performs data management including input / output of data stored in the test case storage unit 360 and the test record storage unit 370.

테스트 제어부(330)는 UPnP 네트워킹 테스트를 위한 전반적인 동작 제어를 수행하는 것으로, 입력부(340)로 입력되는 테스터의 제어 명령에 따라 소정의 테스트 케이스를 생성하여 데이터 관리부(320)를 통해 테스트 케이스 저장부(330)에 저장하며, 테스터의 대상 네트워크 장치(100) 및 테스트 케이스 선택에 따라 대상 네트워크 장치(100)와의 네트워킹을 위한 역할을 결정하고, 결정된 역할로 대상 네트워크 장치(100)와의 네트워킹 동작을 수행한다.The test control unit 330 performs overall operation control for the UPnP networking test. The test control unit 330 generates a predetermined test case according to the control command of the tester input to the input unit 340, and stores the test case storage unit through the data management unit 320. In operation 330, the network device 100 determines a role for networking with the target network device 100 according to the tester's target network device 100 and test case selection, and performs a networking operation with the target network device 100 with the determined role. do.

그리고, 테스트 제어부(330)에서는 대상 네트워크 장치(100)와의 네트워킹 과정에서 대상 네트워크 장치로부터 UPnP 네트워킹 동작에 따라 소정의 메시지가 수신되면, 수신된 메시지를 테스트 케이스에 설정된 예상되는 결과 값과 비교하여 UPnP 네트워킹이 정상적으로 동작하는지 여부를 판별한다.In addition, when a predetermined message is received from the target network device according to the UPnP networking operation during the networking process with the target network device 100, the test controller 330 compares the received message with the expected result value set in the test case to UPnP. Determine whether networking is operating normally.

일 예로, UPnP 테스트 장치(300)의 TCP/IP 주소가 '165.213.174.96'이라고 가정하고 네트워크 장치(100) 가운데 피제어 장치(101)를 통해 UPnP 네트워킹 상태를 테스트하고자 하는 경우를 설명한다.For example, assuming that the TCP / IP address of the UPnP test apparatus 300 is '165.213.174.96', a case in which the UPnP networking state is to be tested through the controlled device 101 among the network devices 100 will be described.

먼저, UPnP 테스트 장치(300)의 네트워크인터페이스부(310)에서는 도 4에 도시한 바와 같이, TCP 포트(port) 5200번을 사용하여 피제어 장치(101)와의 네트워킹을 위한 프로토콜 구조를 형성시켜 네트워킹이 가능하도록 한다. First, as shown in FIG. 4, the network interface 310 of the UPnP test apparatus 300 uses a TCP port 5200 to form a protocol structure for networking with the controlled device 101 by networking. Make this possible.

이와 같은 과정을 통해 피제어 장치(101)와의 네트워킹을 위한 네트워킹 구조가 형성되면, UPnP 테스트 장치(300)의 테스트 제어부(330)에서는 피제어 장치(101)와의 네트워킹을 위한 UPnP 네트워킹 역할로 제어 장치를 선택한다.When the networking structure for networking with the controlled device 101 is formed through the above process, the test controller 330 of the UPnP test apparatus 300 serves as a UPnP networking role for networking with the controlled device 101. Select.

그 다음, 테스트 제어부(330)에서는 테스터에 의해 선택되는 테스트케이스에 따라 피제어 장치(101)와의 UPnP 네트워킹을 수행하면서, 피제어 장치(101)로부터 수신되는 메시지를 이용해 피제어 장치(101)에서의 UPnP 네트워킹 동작이 정상적으로 이루어지고 있는지 여부를 테스트한다.Then, the test control unit 330 performs UPnP networking with the controlled device 101 according to the test case selected by the tester, and uses the message received from the controlled device 101 in the controlled device 101. Test whether the UPnP networking operation is working properly.

만일, 테스터에 의해 선택된 테스트 케이스가 디스커버리 스텝(Discovery Step)이면, UPnP 테스트 장치(300)에서는 UPnP 프로토콜에 따른 에드버타이즈(advertise) 동작 및 검색(search) 동작을 수행한다.If the test case selected by the tester is a discovery step, the UPnP test apparatus 300 performs an advertise operation and a search operation according to the UPnP protocol.

UPnP 테스트 장치(300)에서는 이와 같이 에드버타이징 동작 및 검색 동작을 수행하는 과정에서 피제어 장치(101)로부터 수신되는 메시지를 해당 테스트 케이스에 설정된 예상되는 결과 값과 비교한다.The UPnP test apparatus 300 compares the message received from the controlled apparatus 101 with the expected result value set in the corresponding test case in the process of performing the advertising operation and the search operation.

그 결과에 따라, UPnP 테스트 장치(300)에서는 해당 테스트 케이스에 대한 피제어 장치(101)에서의 UPnP 네트워킹 동작이 정상적으로 이루어지는지 여부를 결정한다.As a result, the UPnP test apparatus 300 determines whether the UPnP networking operation in the controlled device 101 for the test case is normally performed.

참고로, 전술한 본 발명의 일 실시 예에 따른 UPnP 테스트 장치는 각 모듈이 모두 하드웨어로 구성되거나, 일부 모듈이 소프트웨어로 구성되거나, 또는 전체 모듈이 소프트웨어로 구성될 수 있다.For reference, in the UPnP test apparatus according to the exemplary embodiment of the present invention, each module may be configured in hardware, some modules may be configured in software, or the entire module may be configured in software.

따라서, 본 발명의 일 실시 예에 따른 UPnP 테스트 장치가 하드웨어 또는 소프트웨어로 구성되는 것은 본 발명의 사상을 벗어나지 않으며, 본 발명의 사상에서 벗어나지 않으면서 소프트웨어 및/또는 하드웨어로 구성됨에 따른 수정과 변경이 부가될 수 있음은 자명하다.Therefore, the configuration of the UPnP test apparatus according to an embodiment of the present invention in hardware or software does not depart from the spirit of the present invention, and modifications and changes as the software and / or hardware are made without departing from the spirit of the present invention. It is obvious that it can be added.

이와 같이 구성되는 UPnP 테스트 장치를 이용한 UPnP 테스트 방법을 첨부된 도면을 참조하여 상세히 설명한다The UPnP test method using the UPnP test apparatus configured as described above will be described in detail with reference to the accompanying drawings.

도 5는 본 발명의 일 실시 예에 따른 UPnP 테스트 동작 과정을 개략적으로 나타낸 것이다.5 schematically illustrates a UPnP test operation process according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 먼저, UPnP 테스트 장치(300)에서는 네트워크 미들웨어를 테스트 하기 위해 테스터로부터 입력받아 미리 등록된 테스트 케이스를 이용하여, 입력부(340)를 통해 테스터로부터 UPnP 테스트를 위한 대상 네트워크 장치(100) 및 테스트 케이스를 선택받는다(S1).As shown in FIG. 5, first, in the UPnP test apparatus 300, a target network for a UPnP test from a tester through the input unit 340 using a test case registered in advance by input from a tester for testing network middleware. The device 100 and the test case are selected (S1).

테스터의 대상 네트워크 장치(100) 선택에 따라, UPnP 테스트 장치(300)에서는 해당 네트워크 장치(100)의 IP 주소를 검색하고, 대상 네트워크 장치(100)와의 네트워킹을 위한 역할을 결정한다.According to the target network device 100 selected by the tester, the UPnP test device 300 searches for the IP address of the network device 100 and determines a role for networking with the target network device 100.

그리고, 테스터의 선택에 따라 소정의 테스트 케이스를 이용하여 테스트 항목을 생성하고, 생성된 테스트 항목과 테스트 진행 정보를 표시부(350)를 통해 테스터에게 제공한다(S2).Then, a test item is generated using a predetermined test case according to the tester's selection, and the generated test item and test progress information are provided to the tester through the display unit 350 (S2).

이때, UPnP 테스트를 위한 대상 네트워크 장치(100)의 IP 주소는 시스템 환경에 따라 테스터에 의해 직접 입력될 수도 있다.In this case, the IP address of the target network device 100 for the UPnP test may be directly input by the tester according to the system environment.

그 다음, UPnP 테스트 장치(300)의 테스트 제어부(330)에서는 데이터 관리부(320)를 통해 테스터에 의해 선택된 테스트 케이스를 검출하고(S3), 네트워크 인터페이스부(310)를 통해 검출된 테스트 케이스에 따라 대상 네트워크 장치(100)와의 네트워킹 동작을 수행하기 위한 송신 메시지 포맷 및 필요한 프로토콜 설정 등의 테스트 환경 구축을 수행한다(S4) Next, the test control unit 330 of the UPnP test apparatus 300 detects a test case selected by the tester through the data management unit 320 (S3), and according to the test case detected through the network interface unit 310. A test environment such as a transmission message format and necessary protocol setting for performing a networking operation with the target network device 100 is performed (S4).

그 다음, UPnP 테스트 장치(300)에서는 네트워크 인터페이스부(310)를 통해 테스트 항목에 따라 소정의 테스트 케이스에 상응하는 메시지를 대상 네트워크 장치(100)로 전송한다(S5).Next, the UPnP test apparatus 300 transmits a message corresponding to a predetermined test case to the target network apparatus 100 through the network interface 310 according to the test item (S5).

그리고, 전송된 메시지에 따라 대상 네트워크 장치(100)로부터 소정의 메시지가 수신되면, UPnP 테스트 장치(300)에서는 수신된 메시지를 이용하여 해당 테스트 케이스의 네트워킹 동작에 대한 테스트 결과로 성공 또는 실패(pass/fail)를 결정한다(S6).When a predetermined message is received from the target network device 100 according to the transmitted message, the UPnP test device 300 succeeds or fails as a test result for the networking operation of the corresponding test case using the received message. / fail) is determined (S6).

이와 같은, 테스트 과정은 테스트 항목을 구성하는 각각의 테스트 케이스마다 수행되고, UPnP 테스트 장치(300)의 테스트 제어부(330)에서는 각 테스트 케이스에 따른 UPnP 테스트 결과를 수집하여 테스트 기록 저장부(370)에 저장한다.As described above, the test process is performed for each test case constituting the test item, and the test control unit 330 of the UPnP test apparatus 300 collects the UPnP test results according to each test case and stores the test record storage unit 370. Store in

이러한 UPnP 테스트 방법은 테스터에 의해 선택되는 대상 네트워크 장치(100)에 따라 크게, 피제어 장치(101)에 대한 테스트 과정과 제어 장치(102)에 대한 테스트 과정으로 이루어진다.The UPnP test method is largely comprised of a test process for the controlled device 101 and a test process for the control device 102 according to the target network device 100 selected by the tester.

이하, 본 발명에 따른 UPnP 테스트 방법을 설명함에 있어서, 먼저, 피제어 장치(101)를 UPnP 테스트 대상으로 하는 피제어 장치(101)를 통한 UPnP 테스트 과정을 설명하고, 제어 장치(102)를 UPnP 테스트 대상으로 하는 제어 장치(102)를 통한 UPnP 테스트 과정을 설명한다.Hereinafter, in describing the UPnP test method according to the present invention, first, a UPnP test process through the controlled device 101 whose target device 101 is the UPnP test target will be described, and the control device 102 will be UPnP. The UPnP test process through the control device 102 to be tested will be described.

또한, 본 발명에 따른 UpnP 테스트 방법을 설명함에 있어서, 피제어 장치(101), 제어 장치(102) 및 UPnP 테스트 장치(300) 등의 네트워크 장치에서 검색 프로토콜인 DHCP 혹은 Auto IP 기술을 통해 소정의 IP 주소를 할당받는 어드레싱(addressing) 과정이 수행된 이후의 동작 과정으로 설명한다. In addition, in describing the UpnP test method according to the present invention, network devices such as the controlled device 101, the control device 102, and the UPnP test device 300 are configured through a DHCP or Auto IP technology, which is a discovery protocol. An operation process after an addressing process of assigning an IP address is described.

Ⅰ. 피제어 장치(101)를 통한 UPnP 테스트 과정I. UPnP test process through the controlled device 101

피제어 장치(101)를 통한 UPnP 테스트 과정은 UPnP 테스트 장치(300)의 테스트 제어부(330)에서 피제어 장치(101)와의 네트워킹을 위해 네트워킹 역할을 제어 장치로 결정한 후 테스터에 의해 결정되는 테스트 케이스에 따라 피제어 장치(101)와의 네트워킹 동작을 수행하는 것이다.In the UPnP test process through the controlled device 101, a test case determined by the tester after determining a networking role as a control device for networking with the controlled device 101 in the test control unit 330 of the UPnP test device 300. In accordance with this, the networking operation with the controlled device 101 is performed.

이하, UPnP 표준에 따른 테스트 케이스인 디스커버리 스텝(Discovery Step), 디스크립션 스텝(Discription Step), 콘트롤 스텝(Control Step), 이벤팅 스텝(Eventing Step) 순으로 UPnP 테스트 방법에 따른 네트워킹 과정을 설명한다. Hereinafter, a networking process according to the UPnP test method will be described in order of a discovery step, a discovery step, a control step, and an eventing step, which are test cases according to the UPnP standard.

1. Discovery Step1. Discovery Step

도 6은 본 발명의 일 실시 예에 따른 피제어 장치와 테스트 장치간의 디스커버리 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.6 schematically illustrates a discovery step networking process between a controlled device and a test device according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 먼저 피제어 장치(101)에서는 할당된 IP 주소를 통해 네트워크 상의 피제어 및 제어 장치들에게 자신의 장치와 서비스 정보를 알리는(advertise) 메시지(notify message) 를 멀티캐스트(Multicast) 하여 자신의 장치를 통해 제공되는 서비스를 알린다(S11).As shown in FIG. 6, first, the controlled device 101 multicasts a notify message advertizing its device and service information to the controlled and controlled devices on the network through the assigned IP address. (Multicast) to inform the service provided through its device (S11).

또한, 피제어 장치(101)의 동작 제어가 가능하도록 네트워크 역할(즉, 제어 장치)이 결정된 UPnP 테스트 장치(300)에서는 멀티캐스트로 제공되는 advertise를 받아 제어 대상으로 등록한다.In addition, the UPnP test apparatus 300 in which the network role (that is, the control apparatus) is determined to enable the operation of the controlled apparatus 101 to receive the advertise provided by multicast is registered as the control target.

동시에, 네트워크에 새로 연결되는 제어 장치인 UPnP 테스트 장치(300)에서는 할당된 IP 주소를 이용하여 네트워크 상에서 동작하는 피제어 장치들을 확인하기 위해 검색프로토콜인 SSDP 기술에 따라 검색(search) 메시지(M-search discovery message)를 멀티캐스트한다(S12).At the same time, the UPnP test device 300, which is a control device newly connected to the network, searches for a search message (M-) according to the SSDP technology, which is a search protocol, to identify the controlled devices operating on the network by using the assigned IP address. search discovery message) is multicasted (S12).

이 과정에서 UPnP 테스트 장치(300)로부터 멀티캐스트되는 search 메시지를 수신하는 피제어 장치(101)에서는 수신된 search 메시지에 대한 응답으로 UPnP 테스트 장치(300) 에게 응답메시지(response)를 유니캐스트(unicast)한다(S13).In this process, the controlled device 101 receiving the multicast search message from the UPnP test device 300 unicasts a response message to the UPnP test device 300 in response to the received search message. (S13).

이러한 디스커버리 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 피제어 장치(101)로부터 응답 메시지가 수신되면, 수신된 응답 메시지와 테스트 케이스에 설정된 응답 메시지 타입을 비교하여 피제어 장치(101)에서의 디스커버리 스텝이 정상적으로 동작하는지 여부를 결정한다. When the UPnP test apparatus 300 receives the response message from the controlled apparatus 101 through the operation process according to the discovery step, the controlled apparatus 101 compares the received response message with the response message type set in the test case. It is determined whether or not the discovery step at is operating normally.

2. Discription Step2. Discription Step

도 7은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 디스크립션 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.7 schematically illustrates a description step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 먼저, UPnP 테스트 장치(300)에서는 피제어 장치(101)의 IP 주소를 이용하여 피제어 디바이스(101)에 대한 디바이스 디스크립션을 요청한다(S21).As shown in FIG. 7, first, the UPnP test apparatus 300 requests a device description for the controlled device 101 using the IP address of the controlled device 101 (S21).

이에 따라, 피제어 장치(101)에서는 XML 파일 형태의 루트 디바이스에 대한 디바이스 디스크립션(Device Description for CD(Controlled Device))을 UPnP 테스트 장치(300)로 전송한다(S22). Accordingly, the controlled device 101 transmits a device description for a root device in the form of an XML file to the UPnP test device 300 (S22).

또한, UPnP 테스트 장치(300)에서는 피제어 장치(101)에 임베디드된 소정의 장치를 통해 제공되는 서비스 정보인 서비스 디스크립션을 정상적으로 제공하는지 여부를 파악하기 위해 피제어 장치(101)의 서비스 기능을 제공하는 서비스 디스크립션을 피제어 장치(101)에게 요청한다(S23).In addition, the UPnP test apparatus 300 provides a service function of the controlled device 101 to determine whether the service description, which is service information provided through a predetermined device embedded in the controlled device 101, is normally provided. The service description is requested to the controlled device 101 (S23).

이에 따라, 피제어 장치(101)에서는 XML 파일 형태의 피제어 장치(101)의 서비스에 대한 서비스 디스크립션(Service Description for Service)을 UPnP 테스트 장치(300)로 전송한다(S24). Accordingly, the controlled device 101 transmits a service description for service of the controlled device 101 in the form of an XML file to the UPnP test device 300 (S24).

이러한 디스크립션 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 피제어 장치(101)로부터 디바이스 및 서비스 디스크립션 메시지가 수신되면, 수신된 디바이스 및 서비스 디스크립션 메시지와 테스트 케이스에 설정된 디바이스 및 서비스 디스크립션 타입을 비교하여 피제어 장치(101)에서의 디스크립션 스텝이 정상적으로 동작하는지 여부를 결정한다.When the UPnP test apparatus 300 receives a device and a service description message from the controlled device 101 through the operation according to the description step, the device and service description message and the device and service description type set in the test case are received. In comparison, it is determined whether or not the description step in the controlled device 101 operates normally.

3. Control Step3.Control Step

도 8은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 컨트롤 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.8 schematically illustrates a control step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 8에 도시된 바와 같이, UPnP 테스트 장치(300)에서는 디스크립션 동작과정에서 얻어지는 디바이스 디스크립션 및 서비스 디스크립션을 참조하여 피제어 장치(101)에게 소정의 서비스 기능을 수행하도록 명령을 보내거나 피제어 장치(101)의 상태정보를 요청하는 등의 Action 메시지를 전송한다(S31).As illustrated in FIG. 8, the UPnP test apparatus 300 sends a command to the controlled apparatus 101 to perform a predetermined service function or refers to a device description and a service description obtained during a description operation. In step S31, an action message for requesting status information is transmitted.

이러한 제어 메시지를 수신한 피제어 장치(101)에서는 Action 메시지에 따라 요구되는 기능을 실행시키고 그 결과(result) 메시지를 UPnP 테스트 장치(300)로 전송한다(S32).The controlled device 101 receiving the control message executes the required function according to the action message, and transmits the result message to the UPnP test device 300 (S32).

그 다음, UPnP 테스트 장치(300)에서는 Action 메시지에 따른 동작에 의해 변경되는 쿼리 변수(Query Variable)를 피제어 장치(101)에게 요청하고(S33), 피제어 장치(101)로부터 전송되는 변수값(Variable Value)을 수신한다(S34).Next, the UPnP test apparatus 300 requests the controlled device 101 to change the query variable that is changed by the action according to the action message (S33), and transmits the variable value transmitted from the controlled device 101. (Variable Value) is received (S34).

이러한 컨트롤 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 피제어 장치(101)로부터 결과 메시지 및 변수값 메시지가 수신되면, 수신된 결과 메시지 및 변수값 메시지와 테스트 케이스에 설정된 결과 메시지 및 변수값 메시지 타입을 비교하여 피제어 장치(101)에서의 컨트롤 스텝이 정상적으로 동작하는지 여부를 결정한다.When the UPnP test apparatus 300 receives the result message and the variable value message from the controlled device 101 through the operation according to the control step, the received result message and the variable value message and the result message and variable set in the test case. The value message types are compared to determine whether the control step in the controlled device 101 operates normally.

4. Eventing Step4. Eventing Step

도 9는 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 이벤팅 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.9 schematically illustrates an eventing step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 9에 도시된 바와 같이, UPnP 테스트 장치(300)에서는 컨트롤 스텝을 통해 수행되는 동작에 따라 피제어 장치(101)의 정보 변경 상태를 확인하기 위해 서브스크립션(subscription)을 요청하는 메시지(subscribe message)를 피제어 장치(101)로 전송한다(S41).As illustrated in FIG. 9, in the UPnP test apparatus 300, a message for requesting a subscription for confirming an information change state of the controlled apparatus 101 according to an operation performed through a control step is provided. message) is transmitted to the controlled device 101 (S41).

그러면, 피제어 장치(101)에서는 UPnP 테스트 장치(300)의 서브스크립션 요청에 따라 요청된 서비스의 서브스크립션을 전송한다(S42).Then, the controlled device 101 transmits the subscription of the requested service according to the subscription request of the UPnP test device 300 (S42).

또한, 피제어 장치(101)에서는 변경된 정보를 알리기 위해 GENA(Generic Event Notification Architecture)를 통해 포맷된 XML 형태의 최초 이벤트 메시지(Initial Event Message)를 UPnP 테스트 장치(300)로 전송한다(S43).In addition, the controlled device 101 transmits an initial event message in XML format to the UPnP test device 300 through a generic event notification architecture (GENA) to notify the changed information (S43).

UPnP 테스트 장치(300)에서는 이벤트 메시지가 수신되면 이벤트 메시지에 기록된 변경된 정보에 따라 피제어 장치(101)에 대한 디스크립션 정보를 업데이트하고, 피제어 장치(101)로 응답 신호(response)를 전송한다(S44).When the event message is received, the UPnP test apparatus 300 updates description information about the controlled device 101 according to the changed information recorded in the event message, and transmits a response signal to the controlled device 101. (S44).

그 다음, UPnP 테스트 장치(300)에서는 피제어 장치(101)의 서브스크립션이 다시 요구되면, 피제어 장치(101)로 서브스크립션을 다시 요청하는 메시지(Renewal Subscribe Message)를 전송한다(S45).Next, when the subscription of the controlled device 101 is requested again, the UPnP test apparatus 300 transmits a renewal subscription message to the controlled device 101 again (S45). ).

이에 따라, 피제어 장치(101)에서는 UPnP 테스트 장치(300)에 의해 요구된 서비스의 서브스크립션을 전송한다(S46).Accordingly, the controlled device 101 transmits the subscription of the service requested by the UPnP test device 300 (S46).

그 다음, 피제어 장치(101)에서는 변경된 정보를 알리기 위해 GENA(Generic Event Notification Architecture)를 통해 포맷된 XML 형태의 이벤트 메시지(Event Message)를 UPnP 테스트 장치(300)로 전송한다(S47).Next, the controlled device 101 transmits an event message in XML format to the UPnP test device 300 through GENA (Generic Event Notification Architecture) to inform the changed information (S47).

이러한 서브스크립션 과정에서, UPnP 테스트 장치(300)에서는 더 이상 피제어 장치(101)의 이벤트 메시지 전송이 요구되지 않으면, 피제어 장치(101)의 이벤트 메시지 전송을 중단하도록 요청하는 취소 메시지(Cancellation)를 피제어 장치(101)로 전송한다(S48).In this subscription process, when the UPnP test apparatus 300 no longer needs to transmit the event message of the controlled device 101, a cancellation message requesting to stop transmitting the event message of the controlled device 101 is cancelled. ) Is transmitted to the controlled device 101 (S48).

이러한 이벤팅 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 피제어 장치(101)로부터 서브스크립션 및 이벤트 메시지가 수신되면, 수신된 서브스크립션 및 이벤트 메시지와 테스트 케이스에 설정된 서브스크립션 및 이벤트 메시지 타입을 비교하여 피제어 장치(101)에서의 이벤팅 스텝이 정상적으로 동작하는지 여부를 결정한다.When a subscription and an event message are received from the controlled device 101 in the UPnP test apparatus 300 through the operation according to the eventing step, the subscription set in the received subscription and event message and the test case And comparing the event message type to determine whether an eventing step in the controlled device 101 operates normally.

Ⅱ. 제어 장치(102)를 통한 UPnP 테스트 과정II. UPnP test process with control unit 102

제어 장치(102)를 통한 UPnP 테스트 과정은 UPnP 테스트 장치(300)의 테스트 제어부(330)에서 제어 장치(102)와의 네트워킹을 위해 네트워킹 역할을 피제어 장치로 결정한 후 테스터에 의해 결정되는 테스트 케이스에 따라 제어 장치(102)와의 네트워킹 동작을 수행하는 것이다.The UPnP test process through the control device 102 determines the networking role as the controlled device for networking with the control device 102 in the test control unit 330 of the UPnP test device 300, and then applies the test case to the test case determined by the tester. Accordingly, the networking operation with the control device 102 is performed.

이하, UPnP 표준에 따른 테스트 케이스인 디스커버리 스텝(Discovery Step), 디스크립션 스텝(Discription Step), 콘트롤 스텝(Control Step), 이벤팅 스텝(Eventing Step) 순으로 UPnP 테스트 방법에 따른 네트워킹 과정을 설명한다. Hereinafter, a networking process according to the UPnP test method will be described in order of a discovery step, a discovery step, a control step, and an eventing step, which are test cases according to the UPnP standard.

1. Discovery Step1. Discovery Step

도 10은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 디스커버리 네트워킹 과정을 개략적으로 나타낸 것이다.10 schematically illustrates a discovery networking process between a UPnP test device and a control device according to an embodiment of the present invention.

도 10에 도시된 바와 같이, 먼저 제어 장치(101)의 동작 제어가 가능하도록 네트워크 역할(즉, 피제어 장치)이 결정된 UPnP 테스트 장치(300) 에서는 할당된 IP 주소를 통해 네트워크 상의 피제어 및 제어 장치들에게 자신의 장치와 서비스를 알리는 advertise(notify message)를 멀티캐스트(Multicast)하여 자신의 장치를 통해 제공되는 서비스를 알린다(S51).As shown in FIG. 10, the UPnP test apparatus 300 in which a network role (that is, a controlled device) is determined to enable operation control of the control device 101 is controlled and controlled on the network through an assigned IP address. Multicasting the advertise (notify message) for informing the devices and services of the devices to inform the devices provided through their devices (S51).

또한, 제어 장치(102)에서는 멀티캐스트로 제공되는 advertise를 받아 제어 대상으로 등록한다.In addition, the control device 102 receives the advertise provided by the multicast and registers it as the control target.

동시에, 네트워크에 새로 연결되는 제어 장치(102)에서는 할당된 IP 주소를 이용하여 네트워크 상에서 동작하는 피제어 디바이스들을 확인하기 위해 검색프로토콜인 SSDP 기술에 따라 검색(search) 메시지(M-search discovery message)를 멀티캐스트한다(S52).At the same time, the control device 102 newly connected to the network uses the assigned IP address to search for controlled devices operating on the network according to the search protocol SSDP technology, an M-search discovery message. Multicast (S52).

이 과정에서 제어 장치(102)로부터 멀티캐스트되는 search 메시지를 수신하는 UPnP 테스트 장치(300)에서는 수신된 search 메시지에 대한 응답으로 제어 장치(102)에게 응답메시지(response)를 유니캐스트(unicast)한다(S53).In this process, the UPnP test apparatus 300 that receives the multicast search message from the control device 102 unicasts a response message to the control device 102 in response to the received search message. (S53).

이러한 디스커버리 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 제어 장치(102)로부터 search 메시지가 수신되면, 수신된 search 메시지와 테스트 케이스에 설정된 srarch 메시지 타입을 비교하여 피제어 장치(101)에서의 디스커버리 스텝이 정상적으로 동작하는지 여부를 결정한다.When the search message is received from the control device 102 in the UPnP test apparatus 300 through the operation process according to the discovery step, the controlled device 101 compares the received search message with the srarch message type set in the test case. Determine whether or not the discovery step of the normal operation.

2. Discription Step2. Discription Step

도 11은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 디스크립션 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.11 schematically illustrates a description step networking process between a UPnP test apparatus and a control apparatus according to an embodiment of the present invention.

도 11에 도시된 바와 같이, 먼저, 제어 장치(102)에서는 UPnP 테스트 장치(300)의 IP 주소를 이용하여 루트 디바이스에 대한 디바이스 디스크립션을 요청한다(S61).As shown in FIG. 11, first, the control device 102 requests a device description for a root device using the IP address of the UPnP test device 300 (S61).

이에 따라, UPnP 테스트 장치(300)에서는 루트 디바이스에 대한 디바이스 디스크립션 XML (device description Extensible Markup Language)파일을 제어 장치(102)로 전송한다(S62). Accordingly, the UPnP test apparatus 300 transmits a device description XML (device description Extensible Markup Language) file for the root device to the control device 102 (S62).

또한, 제어 장치(102)에서는 UPnP 테스트 장치(300)에서 서비스 디스크립션을 정상적으로 제공하는지 여부를 파악하기 위해 UPnP 테스트 장치(300) 의 서비스 기능을 제공하는 서비스 디스크립션을 UPnP 테스트 장치(300)에게 요청한다(S63).In addition, the control device 102 requests the UPnP test device 300 to provide a service description providing a service function of the UPnP test device 300 in order to determine whether the UPnP test device 300 normally provides the service description. (S63).

이에 따라, UPnP 테스트 장치(300)에서는 UPnP 테스트 장치(300)의 서비스에 대한 서비스 디스크립션(service description) XML 파일을 제어 장치(102)로 전송한다(S64).Accordingly, the UPnP test apparatus 300 transmits a service description XML file for the service of the UPnP test apparatus 300 to the control apparatus 102 (S64).

이러한 디스크립션 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 제어 장치(102)로부터 디바이스 및 서비스 디스크립션 요청 메시지가 수신되면, 수신된 디바이스 및 서비스 디스크립션 요청 메시지와 테스트 케이스에 설정된 디바이스 및 서비스 디스크립션 요청 메시지 타입을 비교하여 제어 장치(102)에서의 디스크립션 스텝이 정상적으로 동작하는지 여부를 결정한다.When the UPnP test apparatus 300 receives the device and service description request message from the control device 102 through the operation according to the description step, the device and service description request set in the received device and service description request message and the test case are received. The message types are compared to determine whether the description step in the control device 102 operates normally.

3. Control Step3.Control Step

도 12는 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 컨트롤 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.12 schematically illustrates a control step networking process between a UPnP test apparatus and a control apparatus according to an embodiment of the present invention.

도 12에 도시된 바와 같이, 제어 장치(102)에서는 디스크립션 동작과정에서 얻어지는 디바이스 디스크립션 및 서비스 디스크립션을 참조하여 UPnP 테스트 장치(300)에게 소정의 서비스 기능을 수행하도록 요청하는 action 메시지를 전송한다(S71).As shown in FIG. 12, the control device 102 transmits an action message for requesting the UPnP test apparatus 300 to perform a predetermined service function by referring to the device description and the service description obtained in the description operation (S71). ).

이러한 action 메시지를 수신한 UPnP 테스트 장치(300)에서는 요청한 기능을 실행시키고 그 결과(result) 메시지를 제어 장치(102)로 전송한다(S72).In response to the action message, the UPnP test apparatus 300 executes the requested function and transmits the result message to the control device 102 (S72).

그 다음, 제어 장치(102)에서는 전송한 action 메시지에 따른 동작에 의해 변경되는 쿼리 변수(Query Variable)를 UPnP 테스트 장치(300)에게 요청하고(S73), UPnP 테스트 장치(300)로부터 전송되는 변수값(Variable Value)을 수신한다(S74).Next, the control device 102 requests the UPnP test device 300 to request a query variable that is changed by an operation according to the transmitted action message (S73), and the variable transmitted from the UPnP test device 300. A variable value is received (S74).

이러한 컨트롤 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 제어 장치(102)로부터 제어 메시지 및 쿼리 변수 요청 메시지가 수신되면, 수신된 제어 메시지 및 쿼리 변수 요청 메시지와 테스트 케이스에 설정된 제어 메시지 및 쿼리 변수 요청 메시지 타입을 비교하여 제어 장치(102)에서의 컨트롤 스텝이 정상적으로 동작하는지 여부를 결정한다.When the control message and the query variable request message are received from the control device 102 through the operation process according to the control step, the control message and the query variable request message, the control message set in the test case and The query variable request message types are compared to determine whether the control step in the control device 102 operates normally.

4. Eventing Step4. Eventing Step

도 13은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 이벤팅 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.FIG. 13 schematically illustrates an eventing step networking process between a UPnP test device and a control device according to an embodiment of the present invention.

도 13에 도시된 바와 같이, 제어 장치(102)에서는 컨트롤 스텝을 통해 수행되는 동작에 따라 UPnP 테스트 장치(300)의 정보 변경 상태를 확인하기 위해 서브스크립션(subscription)을 요청하는 서브스크립션 메시지를 UPnP 테스트 장치(300)로 전송한다(S81).As shown in FIG. 13, the control device 102 requests a subscription to confirm the information change state of the UPnP test device 300 according to an operation performed through the control step. It is transmitted to the UPnP test device 300 (S81).

그러면, UPnP 테스트 장치(300)에서는 제어 장치(102)의 서브스크립션 요청에 따라 서브스크립션을 제어 장치(102)로 전송한다(S82).Then, the UPnP test apparatus 300 transmits the subscription to the control apparatus 102 according to the subscription request of the control apparatus 102 (S82).

또한, UPnP 테스트 장치(300)에서는 변경된 정보를 알리기 위해 GENA(Generic Event Notification Architecture)를 통해 포맷된 XML 형태의 이벤트 메시지(event message)를 제어 장치(102)로 전송한다(S83).In addition, the UPnP test apparatus 300 transmits an event message in XML format to the control apparatus 102 through GENA (Generic Event Notification Architecture) to inform the changed information (S83).

제어 장치(102)에서는 이벤트 메시지가 수신되면 이벤트 메시지에 기록된 변경된 정보에 따라 UPnP 테스트 장치(300)에 대한 디스크립션 정보를 업데이트하고, UPnP 테스트 장치(300)로 응답 신호(response)를 전송한다(S84).When the event message is received, the control device 102 updates the description information for the UPnP test device 300 according to the changed information recorded in the event message, and transmits a response signal to the UPnP test device 300 ( S84).

그 다음, 제어 장치(102)에서는 UPnP 테스트 장치(300)의 서브스크립션이 다시 요구되면, UPnP 테스트 장치(300)로 서브스크립션을 다시 요청하는 메시지(Renewal Subscribe Message)를 전송한다(S85).Next, when the subscription of the UPnP test device 300 is requested again, the control device 102 transmits a renewal subscription message to the UPnP test device 300 (S85). .

이에 따라, UPnP 테스트 장치(300)에서는 제어 장치(102)에 의해 요구된 서비스의 서브스크립션을 전송한다(S86).Accordingly, the UPnP test apparatus 300 transmits the subscription of the service requested by the control apparatus 102 (S86).

그 다음, UPnP 테스트 장치(300)에서는 변경된 정보를 알리기 위해 GENA(Generic Event Notification Architecture)를 통해 포맷된 XML 형태의 이벤트 메시지(Event Message)를 제어 장치(102)로 전송한다(S87).Next, the UPnP test apparatus 300 transmits an event message in XML format to the control apparatus 102 through GENA (Generic Event Notification Architecture) to notify the changed information (S87).

이러한 서브스크립션 과정에서, 제어 장치(102)에서는 더 이상 UPnP 테스트 장치(300)의 이벤트 메시지 전송이 요구되지 않으면, UPnP 테스트 장치(300)의 이벤트 메시지 전송을 중단하도록 요청하는 취소 메시지(Cancellation)를 UPnP 테스트 장치(300)로 전송한다(S88).In this subscription process, when the control device 102 is no longer required to transmit the event message of the UPnP test device 300, a cancellation message (Cancellation) requesting to stop the event message transmission of the UPnP test device 300 is stopped. It is transmitted to the UPnP test device 300 (S88).

이러한 이벤팅 스텝에 따른 동작 과정을 통해 UPnP 테스트 장치(300)에서는 제어 장치(102)로부터 서브스크립션 요청 및 응답 메시지가 수신되면, 수신된 서브스크립션 요청 및 응답 메시지와 테스트 케이스에 설정된 서브스크립션 요청 및 응답 메시지 타입을 비교하여 제어 장치(102)에서의 이벤팅 스텝이 정상적으로 동작하는지 여부를 결정한다.When the UPnP test apparatus 300 receives the subscription request and response message from the control device 102 through the operation according to the eventing step, the subscription set in the received subscription request and response message and the test case is received. The option request and response message types are compared to determine whether an eventing step in the control device 102 operates normally.

이러한 각 테스트 케이스에 따른 UPnP 네트워킹 테스트 결과는 UPnP 테스트 장치(300)의 테스트 제어부(330)에 의해 테스트 기록 저장부(370)에 기록되고, 이를 통해 테스터는 네트워크 상의 UPnP네트워킹이 피제어 장치(101) 및 제어 장치(102)에서 UPnP 네트워킹이 정상적으로 동작하는지 여부를 확인할 수 있게 된다. The UPnP networking test result according to each of these test cases is recorded in the test record storage unit 370 by the test control unit 330 of the UPnP test apparatus 300, whereby the tester can control the UPnP networking on the network. And the UPnP networking in the control device 102 can be checked whether or not.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정하는 것은 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited to drawing.

상기한 바와 같이 이루어진 본 발명에 따르면, UPnP 표준의 네트워킹 동작에 따른 다양한 테스트 케이스를 통해 피제어 장치 및 제어 장치를 대상으로 UPnP 네트워킹을 테스트 함으로써, 테스터가 다양한 테스트 케이스를 생성함으로써 보다 UPnP 테스트의 정확도와 효율성을 높일 수 있는 잇점이 있다.According to the present invention made as described above, by testing the UPnP networking of the controlled device and the control device through a variety of test cases according to the networking operation of the UPnP standard, the tester generates a variety of test cases more accurate UPnP test And there is an advantage to increase the efficiency.

도 1은 UPnP의 전체 프로토콜 구조를 개략적으로 나타낸 것이다.Figure 1 schematically shows the overall protocol structure of UPnP.

도 2는 본 발명의 일 실시 예에 따른 UPnP 테스트 구조를 개략적으로 나타낸 것이다.2 schematically illustrates a UPnP test structure according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 UPnP 테스트 장치의 구조를 개략적으로 나타낸 것이다.3 schematically illustrates the structure of a UPnP test apparatus according to an embodiment of the present invention.

도 4는 본 발명의 일 실시 예에 따른 네트워크 인터페이스부의 네트워크 프로토콜 구조를 개략적으로 나타낸 것이다.4 schematically illustrates a network protocol structure of a network interface unit according to an embodiment of the present invention.

도 5는 본 발명의 일 실시 예에 따른 UPnP 테스트 동작 과정을 개략적으로 나타낸 것이다.5 schematically illustrates a UPnP test operation process according to an embodiment of the present invention.

도 6은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 디스커버리 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.6 schematically illustrates a discovery step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 7은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 디스크립션 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.7 schematically illustrates a description step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 8은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 컨트롤 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.8 schematically illustrates a control step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 9는 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 피제어 장치간의 이벤팅 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.9 schematically illustrates an eventing step networking process between a UPnP test device and a controlled device according to an embodiment of the present invention.

도 10은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 디스커버리 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.10 schematically illustrates a discovery step networking process between a UPnP test apparatus and a control apparatus according to an embodiment of the present invention.

도 11은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 디스크립션 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.11 schematically illustrates a description step networking process between a UPnP test apparatus and a control apparatus according to an embodiment of the present invention.

도 12는 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 컨트롤 스텝 네트워킹 과정을 개략적으로 나타낸 것이다.12 schematically illustrates a control step networking process between a UPnP test apparatus and a control apparatus according to an embodiment of the present invention.

도 13은 본 발명의 일 실시 예에 따른 UPnP 테스트 장치와 제어 장치간의 이벤팅 스텝 네트워킹 과정을 개략적으로 나타낸 것이다. FIG. 13 schematically illustrates an eventing step networking process between a UPnP test device and a control device according to an embodiment of the present invention.

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

100(101, 102, … ,10n) : 네트워크 장치100 (101, 102,…, 10n): network device

101 : 제어 장치 102 : 피제어 장치101: control device 102: controlled device

300 : UPnP 테스트 장치 310 : 네트워크 인터페이스부300: UPnP test device 310: network interface unit

320 : 데이터 관리부 330 : 테스트 제어부320: data management unit 330: test control unit

340 : 입력부 350 : 표시부340: input unit 350: display unit

360 : 테스트 케이스 저장부 370 : 테스트 기록 저장부360: test case storage unit 370: test record storage unit

Claims (10)

네트워크 통신 채널로 상호 연결되는 다수의 네트워크 장치간의 네트워킹이 가능하도록 하는 네트워크 미들웨어가 정상적으로 동작하는지 여부를 테스트 하기 위해 피제어 장치와 제어 장치의 기능을 동시에 가지면서 테스터의 선택에 따라 소정의 테스트 케이스들을 이용하여 피제어 장치 또는 제어 장치를 대상으로 네트워킹을 수행하는 것을 특징으로 하는 UPnP 테스트 장치.In order to test whether the network middleware which enables the networking between a plurality of network devices interconnected by a network communication channel operates normally, the test cases may be selected depending on the tester's choice while having the functions of the controlled device and the control device. UPnP test apparatus, characterized in that for performing networking to the controlled device or the control device by using. 제 1항에 있어서,The method of claim 1, 상기 테스트 케이스는 The test case 상기 네트워크 미들웨어의 표준에 따른 네트워크 장치간의 다양한 네트워킹 과정 및 각 네트워킹 과정에 따라 예상되는 결과 값으로 이루어지는 것을 특징으로 하는 UPnP 테스트 장치.UPnP test device, characterized in that consisting of a variety of networking process between the network devices in accordance with the standard of the network middleware and the expected value according to each networking process. 제 1항에 있어서,The method of claim 1, 상기 네트워크 미들웨어의 네트워킹 상태를 테스트하기 위한 다수의 테스트 케이스들을 테스터로부터 입력받아 저장하는 테스트 케이스 저장부, 및A test case storage unit receiving and storing a plurality of test cases for testing a networking state of the network middleware from a tester, and 상기 테스터의 제어 명령에 따라 소정의 테스트 케이스를 생성하며 테스터의 테스트 케이스 선택에 따라 대상 네트워크 장치와의 네트워킹을 위한 역할을 결정하고 결정된 역할을 통해 대상 네트워크 장치와의 네트워킹 동작을 수행하는 테스트 제어부를 포함하는 것을 특징으로 하는 UPnP 테스트 장치.A test control unit for generating a predetermined test case according to the control command of the tester, determining a role for networking with the target network device according to the test case selection of the tester, and performing a networking operation with the target network device through the determined role; UPnP test apparatus comprising a. 제 3항에 있어서,The method of claim 3, wherein 상기 테스트 제어부는 The test control unit 상기 대상 네트워크 장치와의 네트워킹 과정에서 대상 네트워크 장치로부터 수신되는 소정의 메시지를 이용하여 상기 테스트 케이스에 따른 네트워킹 동작이 정상적으로 이루어지는지 여부를 판별하고, 판별 결과를 수집하는 것을 특징으로 하는 UPnP 테스트 장치.The UPnP test device, characterized in that whether the networking operation according to the test case is normally performed by using a predetermined message received from the target network device during the networking process with the target network device, and collects the determination result. 제 4항에 있어서,The method of claim 4, wherein 상기 상기 테스트 케이스에 따른 네트워킹 동작이 정상적으로 이루어지는지 여부를 판별하는 것은Determining whether the networking operation according to the test case is normally performed 상기 대상 네트워크 장치로부터 수신된 메시지와 상기 테스트 케이스에 미리 설정된 예상 결과 값을 비교하여 비교 결과를 통해 판별되는 것을 특징으로 하는 UPnP 테스트 장치.The UPnP test apparatus according to claim 1, wherein the message received from the target network device is compared with an expected result value preset in the test case, and is determined through a comparison result. 제 3항에 있어서,The method of claim 3, wherein 상기 테스트 제어부를 통한 네트워크 미들웨어 테스트를 위해 네트워크 통신 채널을 통한 데이터 송/수신을 처리하는 네트워크 인터페이스부,A network interface unit for processing data transmission / reception over a network communication channel for network middleware testing through the test control unit; 상기 네트워크 인터페이스부를 통한 데이터 입/출력을 포함하는 모든 데이터 입/출력 관리를 처리하는 데이터 관리부,A data management unit for processing all data input / output management including data input / output through the network interface unit; 상기 테스트 제어부에서의 네트워크 미들웨어 테스트를 통해 얻어지는 테스트 결과를 포함하는 테스트에 대한 모든 기록을 저장하는 테스트 기록부,A test recorder for storing all records of a test including a test result obtained through a network middleware test at the test controller; 상기 테스트 제어부를 통한 네트워크 미들웨어 테스트에 대한 제어 명령을 테스터로부터 입력받는 입력부, 및An input unit for receiving a control command for a network middleware test through the test controller from a tester; 상기 테스트 제어부에서의 테스트 과정을 GUI 화면을 통해 테스터에게 제공하는 표시부를 더 포함하는 것을 특징으로 하는 UPnP 테스트 장치.UPnP test apparatus, characterized in that further comprising a display unit for providing a test process to the tester through the GUI screen in the test control unit. 네트워크 통신 채널로 상호 연결되는 다수의 네트워크 장치간의 네트워킹이 가능하도록 하는 네트워크 미들웨어를 테스트 하기 위한 테스트 케이스를 테스터로부터 입력받아 등록하는 단계; 및Receiving a test case from a tester and registering a test case for testing network middleware that enables networking between a plurality of network devices interconnected through a network communication channel; And 상기 테스터의 선택에 따라 선택된 테스트 케이스를 이용하여 특정 대상 네트워크 장치와의 네트워킹 동작을 수행하면서 상기 네트워크 미들웨어가 정상적으로 동작하는지 여부를 테스트하는 단계를 포함하는 것을 특징으로 하는 UPnP 테스트 방법.And testing whether the network middleware operates normally while performing a networking operation with a specific target network device by using a test case selected according to the tester's selection. 제 7항에 있어서,The method of claim 7, wherein 상기 테스트 단계는 The test step 상기 테스터로부터 네트워크 미들웨어 테스트를 위한 대상 네트워크 장치 및 테스트 케이스를 입력받는 단계;Receiving a target network device and a test case for network middleware test from the tester; 상기 입력된 테스트 케이스를 이용하여 테스트 항목을 생성하고, 테스트 케이스 저장부로부터 상기 테스트 케이스를 검출하는 단계;Generating a test item by using the input test case and detecting the test case from a test case storage; 상기 검출된 테스트 케이스에 따라 대상 네트워크 장치와의 네트워킹 동작을 수행하기 위한 테스트 환경을 구축하는 단계;Establishing a test environment for performing a networking operation with a target network device according to the detected test case; 상기 구축된 테스트 환경을 통해 상기 테스트 항목의 소정 테스트 케이스에 상응하는 메시지를 상기 대상 네트워크 장치로 전송하는 단계; 및Transmitting a message corresponding to a predetermined test case of the test item to the target network device through the established test environment; And 상기 전송된 메시지에 따라 대상 네트워크 장치로부터 소정의 메시지가 수신되면, 수신된 메시지를 이용하여 상기 테스트 케이스의 네트워킹 동작에 대한 테스트 결과를 판별하는 단계를 포함하는 것을 특징으로 하는 UPnP 테스트 방법.And if a predetermined message is received from a target network device according to the transmitted message, determining a test result for a networking operation of the test case using the received message. 제 8항에 있어서,The method of claim 8, 상기 판별되는 테스트 결과를 수집하여 테스트 기록 저장부에 저장하는 단계를 더 포함하는 것을 특징으로 하는 UPnP 테스트 방법.And collecting and storing the determined test result in a test record storage unit. 제 8항에 있어서,The method of claim 8, 상기 테스트 케이스는 The test case 상기 네트워크 미들웨어의 표준에 따른 네트워크 장치간의 다양한 네트워킹 과정 및 각 네트워킹 과정에 따라 예상되는 결과 값으로 이루어지는 것을 특징으로 하는 UPnP 테스트 방법. UPnP test method comprising a variety of networking process between network devices according to the standard of the network middleware and the expected result value according to each networking process.
KR1020030059918A 2003-08-28 2003-08-28 UPnP TEST APARTUS AND METHOD THEREOF KR20050023582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030059918A KR20050023582A (en) 2003-08-28 2003-08-28 UPnP TEST APARTUS AND METHOD THEREOF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030059918A KR20050023582A (en) 2003-08-28 2003-08-28 UPnP TEST APARTUS AND METHOD THEREOF

Publications (1)

Publication Number Publication Date
KR20050023582A true KR20050023582A (en) 2005-03-10

Family

ID=37231068

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030059918A KR20050023582A (en) 2003-08-28 2003-08-28 UPnP TEST APARTUS AND METHOD THEREOF

Country Status (1)

Country Link
KR (1) KR20050023582A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643294B1 (en) * 2005-05-04 2006-11-10 삼성전자주식회사 System and method simulating for home network
KR100750135B1 (en) * 2005-10-25 2007-08-21 삼성전자주식회사 Method and system for recovering an interruption of network connection caused by IP address change of UPnP device
KR101472104B1 (en) * 2008-12-19 2014-12-10 주식회사 케이티 System and method for testing service flow

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100643294B1 (en) * 2005-05-04 2006-11-10 삼성전자주식회사 System and method simulating for home network
KR100750135B1 (en) * 2005-10-25 2007-08-21 삼성전자주식회사 Method and system for recovering an interruption of network connection caused by IP address change of UPnP device
US9419936B2 (en) 2005-10-25 2016-08-16 Samsung Electronics Co., Ltd. Method and apparatus for recovering interruption of network connection caused by IP address change of universal plug and play (UPnP) device
KR101472104B1 (en) * 2008-12-19 2014-12-10 주식회사 케이티 System and method for testing service flow

Similar Documents

Publication Publication Date Title
KR100555809B1 (en) Network device and network device controlling method
KR100474485B1 (en) Apparatus for controlling sub-network in home-network
CN1332541C (en) Control point server system and method for admission of effective access for household network devices
US9225540B2 (en) Method and apparatus for relaying communication between universal plug and play device and remote user interface client
US7844738B2 (en) Method of and apparatus for bridging a UPnP network and a rendezvous network
JP3661936B2 (en) Information processing apparatus and method, recording medium, and program
US9160625B2 (en) System, method, and computer-readable medium for dynamics device discovery for servers binding to multiple masters
KR20030073544A (en) Aparatus for providing device information via network and method thereof
CN102177684A (en) Method and apparatus for resolving IP address collision in remote access service
KR20020035645A (en) Server-based multi-standard home network bridging
Evensen et al. SenseWrap: A service oriented middleware with sensor virtualization and self-configuration
US8176343B2 (en) Method for providing information for power management of devices on a network
JP5214929B2 (en) Method and apparatus for managing device services in home network
JP2003308264A (en) Network equipment and method for controlling network equipment
KR20050023582A (en) UPnP TEST APARTUS AND METHOD THEREOF
JP2008525878A (en) Apparatus, system, and method for providing failure information in an XHT network
JP4792964B2 (en) Location information system
KR100455123B1 (en) Control message multicasting method and apparatus for universal plug and play network system
KR20040055446A (en) Control point and cognition method among control points
CN101785246B (en) Method of receiving/transmitting event message, controlled device, and control point
JP4792963B2 (en) Location information system
KR100507130B1 (en) Apparatus for bridging between Simple Network Management Protocol agent and Universal Plug and Paly Control Point, and Method for the same
JP4743178B2 (en) Network system
KR100513288B1 (en) System and method for accessing to home network public network
KR100794041B1 (en) Network system and method of operating the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application