KR100204056B1 - Method for testing protocol by interrupt in remote tester - Google Patents

Method for testing protocol by interrupt in remote tester Download PDF

Info

Publication number
KR100204056B1
KR100204056B1 KR1019960054742A KR19960054742A KR100204056B1 KR 100204056 B1 KR100204056 B1 KR 100204056B1 KR 1019960054742 A KR1019960054742 A KR 1019960054742A KR 19960054742 A KR19960054742 A KR 19960054742A KR 100204056 B1 KR100204056 B1 KR 100204056B1
Authority
KR
South Korea
Prior art keywords
test
observation point
pdu
communication channel
response
Prior art date
Application number
KR1019960054742A
Other languages
Korean (ko)
Other versions
KR19980036222A (en
Inventor
김석배
이석기
최강일
Original Assignee
이계철
한국전기통신공사
정선종
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 이계철, 한국전기통신공사, 정선종, 한국전자통신연구원 filed Critical 이계철
Priority to KR1019960054742A priority Critical patent/KR100204056B1/en
Publication of KR19980036222A publication Critical patent/KR19980036222A/en
Application granted granted Critical
Publication of KR100204056B1 publication Critical patent/KR100204056B1/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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. Technical field to which the invention described in the claims belongs

원격 시험기에서 인터럽트에 의한 프로토콜 시험 방법.Protocol test method by interrupt in remote tester.

2. 발명이 해결하려고 하는 기술적 과제2. Technical Challenges to be Solved by the Invention

시험대상 시스템에서 시험하고자 하는 계층의 입/출력에 제어 관찰점을 각각 설정하고, 그 계층에서 출력되는 PDU를 통신 채널을 이용하여 원격 시험기에 전달하며, 원격 시험기에서 발생된 PDU를 통신 채널을 이용하여 그 계층의 입력으로 설정하도록 함.Each control observation point is set to the input / output of the layer to be tested in the test target system, and the PDU output from the layer is transmitted to the remote tester through the communication channel, and the PDU generated from the remote tester is used for the communication channel To be set as the input of the layer.

3. 발명의 해결방법의 요지3. The point of the solution of the invention

원격 시험과 시험대상 시스템과의 통신 채널을 설정하는 제1단계와, 통신 상태에서 원격 시험기에서 시험대상 시스템의 관찰점을 설정하도록 지시하는 제2단계와, 실제의 시험을 실시하는 제3단계와, N 계층의 시험이 완료되거나 다른 계층의 시험을 수행할 필요가 있으면, 현재 설정된 제어 관찰점을 해제하는 제4단계와, 시험하고자 하는 모든 시험 절차가 완료되면, 원격 시험기와 시험대상 시스템간의 설정된 통신 채널을 해제하는 제5단계를 포함함.A first step of setting a communication channel between the remote test and the system under test, a second step of instructing the remote tester to set an observation point of the system under test in a communication state, a third step of performing an actual test, A fourth step of releasing the currently set control observation point when the test of the Nth layer is completed or the test of another layer is required to be performed; And a fifth step of releasing the communication channel.

4. 발명의 중요한 용도4. Important Uses of the Invention

시험대상 시스템에 이용됨.Used for the system under test.

Description

원격 시험기에서 인터럽트에 의한 프로토콜 시험 방법Protocol test method by interrupt in remote tester

본 발명은 광대역 종합정보통신망(B-ISDN) 프로토콜과 같이 하나의 서비스를 제공하는데 여러 개의 계층으로 구성되어 있는 장치를 원격 시험기를 이용하여 시험하는 방법에 관한 것이다.The present invention relates to a method for testing a device composed of several layers using a remote tester to provide a single service such as a Broadband Integrated Services Digital Network (B-ISDN) protocol.

지금까지 여러 가지 프로토콜의 시험을 위하여 객관적으로 사용되어 온 방법은 원격 시험 방법이다. 이러한 원격 시험 방법에서는 원격 시험기에서 미리 정의한 시험 항목을 가지고 각 시험 항목에 대하여 정해진 일련의 순서에 따라 프로토콜 데이터 유닛(PDU : Protocol Data Unit)을 보내고 시험대상 장치에서 그에 따른 응답을 확인하였다.Until now, the method that has been objectively used for testing various protocols is a remote test method. In this remote test method, a protocol data unit (PDU) is sent according to a predetermined sequence for each test item with a predefined test item in a remote tester, and the corresponding response is confirmed on the test target device.

그러나, B-ISDN 프로토콜처럼 여러 개의 계층으로 구성된 경우에는 특정 계층의 프로토콜을 시험하기 위해서는 하위 계층의 프로토콜 시험이 완전히 종료되어 하위 계층의 프로토콜이 완전하다고 인정되어야만 그 계층의 시험을 진행할 수 있었다. 왜냐하면 상위 계층의 프로토콜이 잘못된 경우도 있지만, 하위 계층의 프로토콜을 아무리 디버깅하여도 그 원인을 찾을 수가 없기 때문에 오류의 주된 원인을 정확히 알아내야 디버깅을 할 수 있는 것이다.However, in the case of the B-ISDN protocol consisting of several layers, in order to test the protocol of a specific layer, the protocol test of the lower layer was completely completed and the protocol of the lower layer was considered to be complete. Because the protocol of the upper layer may be wrong, it is not possible to find the cause even if the lower layer protocol is debugged. Therefore, it is necessary to accurately identify the main cause of the error so that debugging can be performed.

이처럼 종래의 기술로는 하위 계층의 프로토콜이 완전하다고 인정된 후에야 상위 계층의 시험을 진행할 수밖에 없었다. 이처럼 시험이 순서에 따라서만 진행되어야 한다는 것은 프로토콜 계층이 많을수록 시험에 소요되는 시간이 늘어나는 것을 의미하며, 하위 계층의 시험이 통과하였다고 해도 모든 경우를 시험할 수는 없기 때문에, 그 계층의 프로토콜이 완벽하는 것을 입증하지는 못한다.As described above, in the conventional technology, only after the protocol of the lower layer has been recognized as complete, it has been forced to test the upper layer. The fact that the test should proceed only in order means that the time required for the test increases with the number of protocol layers. Even if the lower layer test passes, it can not be tested in all cases. It does not prove that

따라서, 본 발명은 상기한 종래기술의 문제를 해결하기 위하여 안출된 것으로, 시험대상 시스템에서 시험하고자 하는 계층의 입/출력에 제어 관찰점을 각각 설정하고, 그 계층에서 출력되는 PDU를 통신 채널을 이용하여 원격 시험기에 전달하며, 원격 시험기에서 발생된 PDU를 통신 채널을 이용하여 그 계층의 입력으로 설정하는 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION Accordingly, the present invention has been made in order to solve the problems of the prior art described above, and it is an object of the present invention to provide a method and apparatus for setting a control observation point on input / output of a layer to be tested, To a remote tester, and to set a PDU generated in a remote tester to an input of the layer using a communication channel.

본 발명은 양방향 통신이 가능한 I/O(Input/Output)를 가지는 시험대상 시스템에 적용이 가능하다.The present invention is applicable to a test target system having I / O (input / output) capable of bidirectional communication.

도 1 은 본 발명이 적용되는 원격 시험기를 이용한 시험 환경 구성도,1 is a configuration diagram of a test environment using a remote tester to which the present invention is applied,

도 2 는 본 발명에 따른 인터럽트에 의한 시험대상 시스템의 블럭도,2 is a block diagram of a system under test by an interrupt according to the present invention;

도 3A 내지 3D 는 본 발명에 따른 인터럽트에 의한 프로토콜 시험방법의 흐름도3A to 3D are flowcharts of a protocol test method by an interrupt according to the present invention

*도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

201 : 소극형 통신 채널 제어기 202 : 관찰점 제어기201: Pole-shaped communication channel controller 202: Observation point controller

203 : 시험 PDU(Protocol Data Unit) 분배기 204 : 응답 PDU 수집기203: Test Protocol Data Unit (PDU) distributor 204: Response PDU collector

205 : (n+1) 계층의 프로그램 206 : n 계층의 프로그램205: (n + 1) -th layer program 206: n-th layer program

207 : (n-1) 계층의 프로그램207: (n-1) -th layer program

본 발명은 원격 시험기와 시험대상 시스템을 구비한 시스템에 적용되며, 이들은 다음과 같은 기능을 가져야 한다.The present invention is applied to a system having a remote tester and a system under test, and these should have the following functions.

먼저 원격시험기는 다음과 같은 기능들로 구성된다.First, the remote tester consists of the following functions.

첫째 기능은 원격 시험기와 시험대상 시스템간의 통신 채널을 제어하는 적극형 통신 채널 제어기이다. 둘째 기능은 시험대상 시스템의 시험에 필요한 메시지를 생성하고 시험대상 시스템에서 받은 응답 메시지를 분석하는 시험에 필요한 메시지를 생성하고 시험대상 시스템에서 받은 응답 메시지를 분석하는 시험 메시지 처리기이다. 셋째 기능은 시험 메시지 처리기와 원격 시험기의 운용자와의 인터페이스를 담당하는 시험자 인터페이스이다.The first function is an aggressive communication channel controller that controls the communication channel between the remote tester and the system under test. The second function is a test message handler that generates a message necessary for the test of the test object system, generates a message necessary for the test to analyze the response message received from the test object system, and analyzes the response message received from the test object system. The third function is a tester interface that handles the interface between the test message handler and the operator of the remote tester.

그리고, 시험 대상 시스템은 다음과 같은 기능들로 구성된다.The system under test consists of the following functions.

첫째 기능은 시험대상 시스템과 원격 시험기 간의 통신 채널을 제어해주는 소극형 통신 채널 제어기이다. 둘째 기능은 시험대상 시스템에서 제어 관찰점을 설정해주는 관찰점 제어기이다. 셋째 기능은 시험하고자 하는 원래 기능의 프로토콜로 구성된다. 이때 소극형 통신 채널 제어기에서는 원격 시험기로부터 시험 메시지를 수신하면 이미 설정된 제어 관찰점의 경로를 통하여 시험 계층의 프로토콜에 인터럽트를 이용하여 시험 PUD가 전달되고, 시험 계층의 응답으로 발생된 응답 PDU도 제어 관찰점의 경로를 통하여 인터럽트로 소극적 통신 채널에 전달된다.The first function is a non-polar communication channel controller that controls the communication channel between the test target system and the remote tester. The second function is an observation point controller that sets the observation point in the system under test. The third function consists of the protocol of the original function to be tested. At this time, when receiving the test message from the remote tester, the non-polarized communication channel controller transmits the test PUD using the interrupt to the protocol of the test layer through the path of the previously set control observation point, And is transmitted to the passive communication channel through the interruption path through the observation point.

본 발명은 위와 같은 환경에 적용되며, 원격 시험기와 시험대상 시스템과의 통신 채널을 설정하는 제1단계와, 통신 상태에서 원격 시험기에서 시험대상 시스템의 관찰점을 설정하도록 지시하는 제2단계와, 실제의 시험을 실시하는 제3단계와, N 계층의 시험이 완료되거나 다른 계층의 시험을 수행할 필요가 있으면, 현재 설정된 제어 관찰점을 해제하는 제4단계와, 시험하고자 하는 모든 시험 절차가 완료되면, 원격 시험기와 시험대상 시스템간의 설정된 통신 채널을 해제하는 제5단계를 포함하는 것을 특징으로 한다.The present invention is applied to the above environment and includes a first step of setting a communication channel between a remote tester and a system under test, a second step of instructing a remote tester to set observation points of the system under test in a communication state, A third step of performing an actual test, and a fourth step of releasing the presently set control observation point when the test of the Nth layer is completed or the test of another layer is required, And a fifth step of releasing the established communication channel between the remote tester and the test target system.

이하, 첨부된 도면을 이용하여 본 발명의 일실시예를 상세히 설명한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도1은 원격 시험 방법을 사용한 시험 환경 구성도이다.1 is a configuration diagram of a test environment using a remote test method.

원격 시험기의 내부는 시험자 인터페이스(101)와 시험용 프로그램(102)과 적극형 통신 채널 제어기(103)를 구비한 구성을 가진다. 시험대상 시스템의 내부는 시험대상 프로그램(107)과 관찰점 제어기(106)와 소극형 통신 채널 제어기(105) 를 구비한 구성을 가진다. 그리고 원격 시험기와 시험장치는 통신 채널(104)로 연결된다.The inside of the remote tester has a configuration including a tester interface 101, a test program 102, and an aggressive communication channel controller 103. The inside of the system to be tested has a configuration including a test object program 107, an observation point controller 106, and a non-polarized communication channel controller 105. And the remote tester and test apparatus are connected to the communication channel 104.

시험자 인터페이스(101)는 원격 시험기와 시험자 간의 인터페이스를 담당하는 기능으로, 이 기능으로 시험에 필요한 모든 명령을 지시하고, 시험결과를 확인할 수 있다. 시험용 프로그램(102)은 원격 시험기에서 시험대상 시스템을 실제로 제어하는 시험 주체이며, 시험자 인터페이스(101)의 지시를 받아 시험용 메시지를 작성하여 적극형 통신 채널 제어기(103)에게 전달하고, 시험대상 시스템의 응답을 적극형 통신 채널 제어기(103)를 통하여 수신하면, 응답 메시지를 분석하여 시험자 인터페이스(101)로 전달하거나 시험용 프로그램(102)에서 응답 메시지에 적절한 다음의 시험 메시지를 생성하여 적극형 통신 채널 제어기(103)을 통하여 시험대상 시스템에게 전달한다. 적극형 통신 채널 제어기(103)는 시험대상 시스템과 통신 채널을 제어하는 기능으로 통신 채널을 설정하고, 해제하는 기능과 통신 채널의 상태를 감시하고 제어한다. 통신 채널(104)은 원격 시험기와 시험대상 시스템을 연결해주며, 논리적인 채널이거나 물리적인 채널이 모두 가능하다.The tester interface (101) is a function for interfacing between the remote tester and the tester. This function instructs all commands necessary for the test and confirms the test results. The test program 102 is a test subject that actually controls the test target system in the remote tester. The test target program 102 generates a test message according to the instruction of the tester interface 101 and transmits the test message to the positive type communication channel controller 103, Upon receipt of the response via the aggressive communication channel controller 103, the response message is analyzed and transmitted to the tester interface 101, or the test program 102 generates the next test message appropriate for the response message, (103) to the system under test. The positive type communication channel controller 103 is a function for controlling a communication channel with the test target system, and monitors and controls the communication channel setting and releasing functions and the state of the communication channel. The communication channel 104 connects the remote tester and the system under test, and both a logical channel and a physical channel are available.

그리고, 소극형 통신 채널 제어기(105)는 적극형 통신 채널 제어기(103)와 짝을 이루어 통신 채널(104)을 감시하고 제어하는데, 적극형 통신 채널 제어기(103)에 비하여 통신 채널(104)을 설정하거나 해제하는 기능이 없어 소극적인 기능을 갖는다. 관찰점 제어기(106)는 원격 시험기에서 보내온 관찰점 관련된 명령을 소극형 통신 채널 제어기(105)로부터 수신하여 시험대상 시스템에서 원하는 위치에 관찰점을 설정하여 통신 채널(104)로 경로를 설정하는 기능이다. 시험대상 프로그램(107)은 시험하고자 하는 계층의 프로그램이다. 시험대상 프로그램(107)은 하나 또는 연속된 여러 개의 계층으로 구성될 수도 있다.The non-polarized type communication channel controller 105 monitors and controls the communication channel 104 in a pair with the positive type communication channel controller 103 and controls the communication channel 104 in comparison with the positive type communication channel controller 103 It has a passive function because it has no function of setting or releasing it. The observation point controller 106 receives the observation point related command sent from the remote tester from the non-polarized communication channel controller 105 and sets an observation point at a desired position in the test target system to set a path to the communication channel 104 to be. The test target program 107 is a program of the layer to be tested. The test target program 107 may be composed of one or a plurality of successive layers.

도2는 본 발명에 따른 인터럽트에 의한 시험 대상 시스템의 블럭도이다.2 is a block diagram of a system under test by an interrupt according to the present invention.

소극형 통신 채널 제어기(201)는 상술한 바와 같다. 도1의 관찰점 제어기(106)는 본 도에서는 구체적으로 관찰점 제어기(202)와 시험 PDU 분배기(203) 응답 PDU 수집기(204)를 구비한다.The non-polarized-type communication channel controller 201 is as described above. The viewpoint controller 106 of FIG. 1 specifically includes an observation point controller 202 and a test PDU distributor 203 response PDU collector 204 in the figure.

관찰점 제어기(202)는 원격 시험기에서 관찰점 제어와 관련된 명령을 받으면 입력 PCO(Point of Control and Observation)에 관련된 내용은 시험 PDU 분배기(203)에게 설정을 요구하고, 출력 PCO에 관련된 내용은 응답 PDU 수집기(204)에 보내어 설정을 요구한다. 시험 PDU 분배기(203)는 원격 시험기에서 프로토콜 시험에 관련된 PDU를 수신하면, 이미 설정된 입력 관찰점을 확인하고 원하는 계층의 프로그램의 입력으로 설정한다. 응답 PDU 수집기(204)는 이미 설정된 출력 관찰점을 주시하다가 응답 PDU가 발생하면 이를 소극형 통신 채널 제어기(201)를 통하여 원격 시험기에게로 보낸다. (n+1) 계층(205)과 n 계층(206)과 (n-1)계층은 시험대상 프로그램의 일부이며 각각 해당 계층의 프로그램이며 n 계층이 주된 시험대상의 프로그램으로 설정되었고, 각각 상위 계층과 하위 계층을 표현한다.When the observation point controller 202 receives a command related to the observation point control in the remote tester, the contents related to the input PCO (Point of Control and Observation) are requested to the test PDU distributor 203 for setting, PDU collector 204 to request a setting. When the test PDU distributor 203 receives the PDU related to the protocol test from the remote tester, it confirms the previously set input observation point and sets it as an input of the program of the desired layer. The response PDU collector 204 keeps a predetermined output observation point and sends an acknowledgment PDU to the remote tester through the non-polarized communication channel controller 201 when the response PDU is generated. The (n + 1) th layer 205, the nth layer 206 and the (n-1) th layer are part of the test target program, And the lower layer.

제3도는 본 발명에 해당하는 인터럽트에 의한 시험방법의 처리 흐름도로서, 시험대상 시스템의 동작을 나타낸다.FIG. 3 is a processing flowchart of the test method by the interrupt according to the present invention, and shows the operation of the system under test.

본 발명에서의 시험 방법은 다음과 같은 순서를 따른다.The test method in the present invention follows the following procedure.

첫째는 통신 채널의 설정(301∼305)이다. 원격 시험기의 운용자는 먼저 시험대상 시스템과의 통신 채널(104)을 설정하여야 한다. 통신 채널의 설정은 시험자 인터페이스(101)에서 설정하거나 또는 원격 시험기의 프로그램의 시작 시에 자동적으로 설정할 수 있다. 원격 시험기에서 통신 채널 설정 요구(302) PDU를 시험대상 시스템에게 전달하면, 소극형 통신 채널 제어기(105, 201)에서는 통신 채널의 설정(303)에 필요한 절차를 수행하게 된다. 이 절차를 수행하고 나면, 소극형 통신 채널 제어기(201)에서는 통신 채널의 설정이 완료되었다는 것을 통신 채널 설정 응답(304) PDU로 응답한다. 적극형 통신 채널 제어기(103)에서는 이 PDU를 받아 통신 상태(305)가 된다. 통신 상태(305)에서는 원격 시험기와 시험대상 시스템간의 시험용이나 기타 목적의 PDU를 주고 받을 수 있는 상태가 된다.The first is the setting of the communication channel (301 to 305). The operator of the remote tester must first establish a communication channel 104 with the system under test. The setting of the communication channel can be set at the tester's interface 101 or automatically at the start of the program of the remote tester. When the remote tester transmits the communication channel setting request 302 PDU to the test target system, the non-polarized communication channel controllers 105 and 201 perform the procedure necessary for the communication channel setting 303. After performing this procedure, the non-polarized communication channel controller 201 replies with the communication channel setting response 304 PDU that the setting of the communication channel is completed. The positive type communication channel controller 103 receives this PDU and becomes the communication state 305. [ In the communication state (305), a test or other purpose PDU can be exchanged between the remote tester and the test target system.

둘째는 제어 관찰점의 설정(305, 306, 307, 308, 305)이다. 통신 상태(305)에서 원격 시험기의 시험자는 시험대상 시스템의 관찰점을 설정(202, 203, 204)하도록 지시한다. 제어 관찰점(202)은 시험 목적에 따라 하나의 계층으로 구성되거나 연속적인 여러 개의 계층으로 구성될 수도 있다. 원격 시험기에서 PCO 설정 요구(306)를 보내면 시험대상 시스템의 관찰점 제어기(202)가 받아서 입력 관찰점은 시험 PDU 분배기(203)에게 보내고 출력 관찰점은 응답 PDU 수집기(204)에게 보내어 PCO를 설정(307) 절차를 수행한다. 이 절차가 완료되면 관찰점 제어기(202)는 소극형 통신 채널 제어기(201)에게 PCO 설정 응답(308)을 보내도록 요구한다. 적극형 통신 채널 제어기(103)가 PCO 설정 응답을 받으면 제어 관찰점이 성공적으로 설정된 것이다.The second is the setting of the control observation point (305, 306, 307, 308, 305). In the communication state 305, the tester of the remote tester instructs to set (202, 203, 204) the observation point of the system under test. The control observation point 202 may be composed of one layer or a plurality of consecutive layers according to the purpose of the test. When the PCO setting request 306 is sent from the remote tester, the observation point controller 202 of the test target system receives the input observation point to the test PDU distributor 203 and sends the output observation point to the response PDU collector 204 to set the PCO (307). When this procedure is completed, the observation point controller 202 requests the non-polarized communication channel controller 201 to send a PCO setup response 308. [ When the aggressive communication channel controller 103 receives the PCO setting response, the control observation point is successfully set.

셋째는 실제의 시험을 실시한다. 시험의 실시는 시험자 인터페이스(101)에서 주어지는 메뉴에 따라 시험자가 항목을 선택하면, 시험용 프로그램(102)이 적극형 통신 채널 제어기(103)에게 시험 메시지를 보내고, 시험 메시지가 통신 채널(104)를 통하여 이미 설정된 제어 관찰점의 경로에 따라 인터럽트에 의하여 실시간에 시험용 PDU 분배기(203)를 거쳐 n 계층(206)의 입력으로 된다. n 계층(206)에서는 시험 메시지가 시험 환경에 의한 것인지 실제 환경인지 알지 못한 채, 원래의 목적에 따라 프로그램이 진행되며, 그 결과가 응답 PDU 수집기(204), 소극형 통신 채널 제어기(201)을 통하여 시험용 프로그램(102)에게 전달되고, 결과가 시험자 인터페이스(101)로 나타나거나 연속적인 시험인 경우에는 시험용 프로그램(102)에서 응답 메시지가 분석되어 자동적으로 새로운 시험 메시지가 생성되어 앞과 같은 절차가 반복이 된다. 원격 시험기로부터 시험 PDU(309)를 수신하면, 소극형 통신 채널 제어기(201)는 시험 PDU 분배기(203)로 보낸다. 시험 PDU 분배기에서는 입력 관찰점이 설정되어 있는가(310)를 확인하며, 이어서 시험 PDU(309)의 수신 계층과 비교(311)를 검사한다. 수신 계층이 맞으면 시험 PDU를 n 계층의 입력(312)으로 한다. 수신 계층 검사 시 오류가 발생되면 잘못된 PDU로 판정하고 시험 PDU 오류(313)을 원격 시험기로 보낸다. 제어 관찰점이 설정되지 않았다면, 시험 PDU 오류(314)를 원격 시험기로 보낸다. N 계층에서 시험 PDU(312)를 받으면 해당 프로그램이 동작하여 응답 PDU(315)가 출력된다. 응답 PDU 수집기(204)에서 응답 PDU의 PCO가 설정(316)되어 있다면, 응답 PDU의 발생지를 검사(317)한다. 발생지 검사가 통과되면, 인터럽트에 의하여 실시간에 응답 PDU(318)는 원격 시험기로 보내어 진다. 응답 PDU의 발생지 검사를 통과하지 못하면, 응답 PDU 오류(319)가 만들어져서 원격 시험기에게 전달된다. 응답 PDU 수집기(204)의 관찰점이 설정되지 않았다면 응답 PDU(315)는 무시된다.Third, the actual test is conducted. The test is performed by the test program 102 sending a test message to the aggressive communication channel controller 103 when the tester selects an item according to the menu given in the tester interface 101 and the test message is sent to the communication channel 104 The test PDU distributor 203 and the input of the n-layer 206 in real time by an interrupt according to the path of the already set control observation point. In the n-th layer 206, the program proceeds according to the original purpose without knowing whether the test message is in the test environment or the real environment, and the result is sent to the response PDU collector 204, the non- The test message 102 is transmitted to the test program 102. If the test result is displayed on the tester interface 101 or is a continuous test, the response message is analyzed in the test program 102 and a new test message is automatically generated, Repeat. When receiving the test PDU 309 from the remote tester, the non-polarized communication channel controller 201 sends it to the test PDU distributor 203. The test PDU distributor checks whether the input observation point is set (310), and then checks the comparison (311) with the receive layer of the test PDU (309). If the receiving layer is correct, the test PDU is taken as the n-th layer's input 312. If an error occurs during the reception layer check, it is determined to be an invalid PDU and a test PDU error (313) is sent to the remote tester. If the control observation point is not set, a test PDU error 314 is sent to the remote tester. When the test PDU 312 is received in the N-th layer, the corresponding program operates and the response PDU 315 is output. If the PCO of the response PDU is set 316 in the response PDU collector 204, the source of the response PDU is checked 317. If the source check passes, the response PDU 318 is sent to the remote tester in real time by an interrupt. If it does not pass the origin check of the acknowledgment PDU, an acknowledgment PDU error 319 is generated and forwarded to the remote tester. If the observation point of the response PDU collector 204 is not set, the response PDU 315 is ignored.

넷째는 제어 관찰점의 해제(305, 320, 321, 322)이다. n 계층의 시험이 완료되거나 다른 계층의 시험을 수행하고자 한다면, 현재 설정된 제어 관찰점을 해제할 필요가 있다. 제어 관찰점의 해제는 다음과 같다. 먼저 원격 시험기에서 PCO 해제 요구(320)를 시험대상 시스템으로 보낸다. 관찰점 제어기가 이 요구(320)를 받으면, 입력 관찰점 해제는 시험 PDU 분배기(203)에게로, 출력 관찰점 해제는 응답 PDU 수집기(204)에게로 각각 보내어 설정된 관찰점을 해제(321)한다. 관찰점이 해제되면 관찰점 제어기(202)는 PCO 해제 응답(322)을 원격 시험기로 보내어 제어 관찰점 해제 절차를 완료한다. 이어서 다른 계층의 시험을 계속하고자 한다면, 적절한 위치에 제어 관찰점을 다시 설정하여 시험을 계속할 수 있다.The fourth is the release of the control observation point (305, 320, 321, 322). If the n-tier test is completed or if you want to test another tier, you need to release the currently set control observation point. The release of the control observation point is as follows. First, the remote tester sends a PCO release request (320) to the test target system. When the observation point controller receives this request 320, the input observation point release is sent to the test PDU distributor 203 and the output observation point release is sent to the response PDU collector 204, respectively, to release (321) the set observation point . When the observation point is released, the observation point controller 202 sends the PCO release response 322 to the remote tester to complete the control observation point release procedure. Then, if you want to continue testing another layer, you can resume the test by resetting the control observation point to the appropriate location.

다섯째는 통신 채널의 해제(305, 323, 324, 325, 326, 327)이다. 시험하고자 하는 모든 시험 절차가 완료되면, 원격 시험기와 시험대상 시스템간의 설정된 통신 채널(104)을 해제하다. 원격 시험기에서 통신 채널 해제 요구(323)를 받으면, 소극형 통신 채널 제어기(201)는 관찰점 제어기(202)에게 현재 설정된 관찰점이 있는가(324)를 확인한다. 설정된 관찰점이 있으면, 앞의 절차에 따라 설정된 관찰점을 해제(327)한다. 설정된 관찰점이 없다면 바로 통신 채널의 해제(325) 절차를 수행한다. 시험대상 시스템에서 통신 채널이 해제되었다면, 통신 채널 해제 응답(326)을 원격 시험기로 보내어 통신 채널(104)의 상태가 대기 상태(301)가 된다.The fifth is the release of the communication channel (305, 323, 324, 325, 326, 327). Upon completion of all the test procedures to be tested, the communication channel 104 between the remote tester and the system under test is released. When the remote tester receives the communication channel release request 323, the non-polarized communication channel controller 201 confirms whether the observation point controller 202 has a currently set observation point 324. If there is a set observation point, the observation point set in accordance with the above procedure is released (327). If there is no set observation point, the procedure of canceling the communication channel 325 is performed. If the communication channel is released in the system under test, the communication channel release response 326 is sent to the remote tester so that the state of the communication channel 104 becomes the standby state 301.

이상에서 설명한 본 발명은 본 발명이 속하는 기술분야에서 통상의 지식을 가진자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러가지 치환, 변형 및 변경이 가능하므로, 전술한 실시예 및 도면에 한정되는 것이 아니다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. It is not.

이와 같은 본 발명의 효과는 다음과 같다.The effects of the present invention are as follows.

첫째, B-ISDN 프로토콜처럼 여러 개의 계층으로 구성되는 시험대상 시스템의 시험을 하위 계층의 시험이 완료와 관계없이 상위 계층을 독자적으로 시행함으로써 시험의 기간을 단축시킨다.First, the testing of the test system consisting of several layers like the B-ISDN protocol shortens the test period by independently executing the upper layer independently of the test of the lower layer.

둘째, 상위 계층의 시험에서 하위 계층을 격리함으로써 하위 계층의 오류를 배제할 수 있어 시험 진행 중 오류가 발견되었을 때, 적극적으로 대처할 수 있다.Second, by isolating the lower layer in the upper layer test, errors in the lower layer can be excluded, and when an error is found during the test, it can be actively counteracted.

세째, 원격 시험기에서 시험재상 시스템의 제어 관찰점을 변경함으로써 다른 계층의 시험을 간단하게 실시할 수 있다.Third, testing of other layers can be easily performed by changing the control observation point of the test recirculation system in the remote tester.

네째, 원격 시험기에서 시험대상 시스템의 제어 관찰점을 변경함으로써 둘 이상의 계층 시험을 간단하게 실시할 수 있다.Fourth, it is possible to easily perform two or more layer tests by changing the control observation point of the system under test in the remote tester.

다섯째, 각종 PDU의 전달을 인터럽트로 전달하여 다른 방식보다 실시간 시험이 가능하다.Fifth, it is possible to test in real time by transferring various PDUs through interrupts.

여섯째, 시험대상 시스템에서 시험 구성에 필요한 부하가 적어 시스템 운용 중에도 온라인 모니터링이 가능하다.Sixth, the load required for the test configuration in the test target system is small, so online monitoring is possible during system operation.

Claims (6)

시험자 인터페이스(101)와, 시험용 프로그램(102)과, 적극형 통신채널 제어기(103)을 구비하는 원격시험기와; 소극형 통신채널 제어기(201)와, 시험 프로토콜 데이터 유닛(PDU) 분배기(203)와, 관찰점 제어기(202)와, 응답 프로토콜 데이터 유닛(PDU) 수집기(204)와, 계층 프로그램(205 내지 207)을 구비한 시험 대상 시스템을 구비한 시험장치에 적용되는 인터럽트에 의한 프로토콜 시험방법에 있어서,A remote tester having a tester interface 101, a test program 102, and an aggressive communication channel controller 103; A test protocol data unit (PDU) distributor 203, an observation point controller 202, a response protocol data unit (PDU) collector 204, layer programs 205 to 207 , The method comprising the steps of: (a) 원격 시험기와 시험대상 시스템과의 통신 채널을 설정하는 제1단계와,A first step of setting a communication channel between the remote tester and the system under test, 통신 상태에서 원격 시험기에서 시험대상 시스템의 관찰점을 설정하도록 지시하는 제2단계와,A second step of instructing a remote tester to set an observation point of the test target system in a communication state, 실제의 시험을 실시하는 제3단계와,A third step of performing an actual test, N 계층의 시험이 완료되거나 다른 계층의 시험을 수행할 필요가 있으면, 현재 설정된 제어 관찰점을 해제하는 제4단계와,A fourth step of releasing the currently set control observation point when the test of the N-layer is completed or the test of another layer is required, 시험하고자 하는 모든 시험 절차가 완료되면, 원격 시험기와 시험대상 시스템간의 설정된 통신 채널을 해제하는 제5단계를 포함하는 것을 특징으로 하는 인터럽트에 의한 프로토콜 시험방법.And a fifth step of, when all the test procedures to be tested are completed, releasing a communication channel established between the remote tester and the system under test. 제1항에 있어서,The method according to claim 1, 상기 제1단계는,In the first step, 원격 시험기에서 통신 채널 설정 요구 PDU를 시험대상 시스템에게 전달하면, 소극형 통신 채널 제어기(201)에서는 통신 채널의 설정에 필요한 절차를 수행하는 제6단계와,A sixth step of performing a procedure necessary for establishing a communication channel in the non-polarized communication channel controller 201 when the remote tester transmits the communication channel setting request PDU to the test target system, 소극형 통신 채널 제어기(201)에서 통신 채널의 설정의 완료를 통신 채널 설정 응답 PDU로 응답하는 제7단계와,A seventh step of responding to completion of setting of the communication channel in the non-polarized communication channel controller 201 with a communication channel setting response PDU, 원격시험기의 적극형 통신 채널 제어기(103)에서 상기 응답 PDU를 받아 통신 상태로 설정하는 제8단계를 포함하는 것을 특징으로 하는 인터럽트에 의한 프로토콜 시험방법.And an eighth step of receiving the response PDU from the aggressive communication channel controller (103) of the remote tester and setting the response PDU to a communication state. 제1항에 있어서,The method according to claim 1, 상기 제2단단계는,Wherein the second step comprises: 원격 시험기에서 제어관찰점(PCO) 설정 요구를 보내면 시험대상 시스템의 관찰점 제어기가 받아서 입력 관찰점은 시험 PDU 분배기(203)에게 보내고 출력 관찰점은 응답 PDU 수집기(204)에게 보내어 제어관찰점(PCO) 설정 절차를 수행하는 제6단계와,(PCO) setting request from the remote tester is received by the observation point controller of the system under test and the input observation point is sent to the test PDU distributor 203 and the output observation point is sent to the response PDU collector 204 to the control observation point A sixth step of performing a PCO setting procedure, 절차가 완료되면 관찰점 제어기(202)는 소극형 통신 채널 제어기(201)에게 제어관찰점 설정 응답을 보내도록 요구하여 응답을 받으면 제어 관찰점의 설정을 성공으로 판단하는 제7단계를 구비하는 인터럽트에 의한 프로토콜 시험방법.When the procedure is completed, the observation point controller 202 requests the non-polarized communication channel controller 201 to send a control observation point setting response, and if the response is received, determines that the setting of the control observation point is successful. Protocol test method. 제1항에 있어서,The method according to claim 1, 상기 제3단계는,In the third step, 시험자 인터페이스(101)에서 주어지는 메뉴에 따라 시험자가 항목을 선택하면, 시험용 프로그램(102)이 적극형 통신 채널 제어기(103)에게 시험 메시지를 보내는 제6단계와,A sixth step of the test program 102 sending a test message to the aggressive communication channel controller 103 when the tester selects an item according to a menu given in the tester's interface 101, 시험 메시지가 통신 채널(104)를 통하여 이미 설정된 제어 관찰점의 경로에 따라 인터럽트에 의하여 실시간에 시험용 PDU 분배기(203)를 거쳐 n 계층(206)의 입력으로 되도록 하는 제7단계와,The test message is input to the n-th layer 206 via the test PDU distributor 203 in real time by an interrupt according to the path of the control observation point already established through the communication channel 104; n 계층(206)에서 원래의 목적에 따라 프로그램을 수행하여 그 결과를 응답 PDU 수집기(204), 소극형 통신 채널 제어기(201)을 통하여 시험용 프로그램(102)에게 전달하는 제8단계,an eighth layer 206 executing a program according to the original purpose and transmitting the result to the test program 102 through the response PDU collector 204 and the pseudo-communication channel controller 201, 원격 시험기로부터 시험 PDU를 수신하면, 소극형 통신 채널 제어기(201)는 시험 PDU 분배기(203)로 보내는 제9단계와,Upon receiving the test PDU from the remote tester, the non-polarized communication channel controller 201 sends the test PDU to the test PDU distributor 203, 시험 PDU 분배기에서는 입력 관찰점이 설정되어 있는가를 확인하고, 이어서 시험 PDU의 수신 계층과 비교하는 제10단계,The test PDU distributor checks whether the input observation point is set, and then compares the input observation point with the reception layer of the test PDU, 수신 계층이 맞으면 시험 PDU를 n 계층의 입력으로 하고, 수신 계층 검사 시 오류가 발생되면 잘못된 PDU로 판정하고 시험 PDU 오류를 원격 시험기로 보내는 제11단계와,An eleventh step of setting the test PDU as an input of the n-th layer if the receiving layer is correct, determining that it is an erroneous PDU if an error occurs in the receiving layer inspection and sending a test PDU error to the remote tester, n 계층에서 시험 PDU를 받으면 해당 프로그램이 동작하여 응답 PDU를 출력하고 응답 PDU 수집기(204)에서 응답 PDU의 제어 관찰점(PCO)이 설정되어 있다면, 응답 PDU의 발생지를 검사하는 제12단계와,a step 12 of checking whether the response PDU is generated when the corresponding PDU is received and the PDU collector 204 sets a control observation point PCO of the response PDU, 발생지 검사가 통과되면, 응답 PDU를 인터럽트에 의하여 실시간으로 원격 시험기로 보내는 제13단계와,A step 13 of sending an acknowledgment PDU to the remote tester in real time by means of an interrupt, 응답 PDU가 발생지 검사를 통과하지 못하면, 응답 PDU 오류를 원격 시험기에게 전달하는 제14단계를 포함하는 것을 특징으로 하는 인터럽트에 의한 프로토콜 시험방법.And if the response PDU does not pass the generation test, the response PDU error is transmitted to the remote tester. 제1항에 있어서,The method according to claim 1, 상기 제4단계는,In the fourth step, 원격 시험기에서 제어 관찰점(PCO) 해제 요구를 시험대상 시스템으로 보내는 제6단계와,A sixth step of sending a control observation point (PCO) release request from the remote tester to the test target system, 관찰점 제어기가 이 요구를 받으면, 입력 관찰점 해제는 시험 PDU 분배기(203)에게로, 출력 관찰점 해제는 응답 PDU 수집기(204)에게로 각각 보내어 설정된 관찰점을 해제하는 제7단계와,A seventh step of, when the observation point controller receives this request, releasing the observation point to which the input observation point release is sent to the test PDU distributor 203 and the output observation point release is sent to the response PDU collector 204, respectively, 관찰점이 해제되면 관찰점 제어기(202)는 제어관찰점(PCO) 해제 응답을 원격 시험기로 보내 제어 관찰점 해제 절차를 완료하는 제8단계를 포함하는 인터럽트에 의한 프로토콜 시험방법.And when the observation point is released, the observation point controller (202) sends a control observation point (PCO) release response to the remote tester to complete the control observation point release procedure. 제1항에 있어서,The method according to claim 1, 상기 제5단계는,In the fifth step, 원격 시험기에서 통신 채널 해제 요구를 받으면, 소극형 통신 채널 제어기(201)는 관찰점 제어기(202)에게 현재 설정된 관찰점이 있는가를 확인하는 제6단계와,When the remote tester receives the communication channel release request, the non-polarized communication channel controller 201 confirms to the observation point controller 202 whether there is a currently set observation point, 설정된 관찰점이 있으면, 설정된 관찰점을 해제하고, 설정된 관찰점이 없다면 바로 통신 채널의 해제 절차를 수행하는 제7단계와,A seventh step of releasing the set observation point if there is a set observation point and performing a release procedure of the communication channel immediately if there is no set observation point; 시험대상 시스템에서 통신 채널의 해제에 따라 통신 채널 해제 응답을 원격 시험기로 보내 통신 채널의 상태를 대기상태로 하는 제8단계를 포함하는 인터럽트에 의한 프로토콜 시험방법.And an eighth step of causing the test target system to send a communication channel release response to the remote tester in response to the release of the communication channel to put the state of the communication channel into a standby state.
KR1019960054742A 1996-11-16 1996-11-16 Method for testing protocol by interrupt in remote tester KR100204056B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960054742A KR100204056B1 (en) 1996-11-16 1996-11-16 Method for testing protocol by interrupt in remote tester

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960054742A KR100204056B1 (en) 1996-11-16 1996-11-16 Method for testing protocol by interrupt in remote tester

Publications (2)

Publication Number Publication Date
KR19980036222A KR19980036222A (en) 1998-08-05
KR100204056B1 true KR100204056B1 (en) 1999-06-15

Family

ID=19482204

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960054742A KR100204056B1 (en) 1996-11-16 1996-11-16 Method for testing protocol by interrupt in remote tester

Country Status (1)

Country Link
KR (1) KR100204056B1 (en)

Also Published As

Publication number Publication date
KR19980036222A (en) 1998-08-05

Similar Documents

Publication Publication Date Title
US4684885A (en) Arrangement for on-line diagnostic testing of an off-line standby processor in a duplicated processor configuration
KR100204056B1 (en) Method for testing protocol by interrupt in remote tester
US5056090A (en) Data transmission apparatus to be connected to multiplexed transmission line
CN112506633B (en) Multi-machine redundancy system and processing method
JP3192890B2 (en) Parallel test equipment
CN107342914A (en) A kind of high availability for cloud platform verifies system
CN114585039B (en) Switching method and device for ten-gigabit network data transmission link in fault state
JPH0865331A (en) Monitor and control device
KR100186221B1 (en) Method for testing subscriber of contact module for remote-subscribers
JPH10285165A (en) Network test system
JPH0619810A (en) Duplex device
JPH064496A (en) Operating method of network computer system wherein data-conversion overhead is minimized
KR960011135B1 (en) Protocol dualization and control method of message communication in the satellite network
JPH09101907A (en) Program test method
JPH1051980A (en) Monitoring control system
JPH01231453A (en) Gpib interface device
JPS61282940A (en) Control program inspection system using event table
JPH0319038A (en) Data transmission/reception device
JPH04188934A (en) Communicating function confirming system
JPH0630002A (en) Redundant system
JPH06119198A (en) Shared terminal equipment control system
JPH08171552A (en) Multiple simulation device
JPS6276344A (en) Testing instrument for protocol conversion function
JPH03130803A (en) Programmable controller
JPH01251938A (en) System for testing data transfer of terminal adaptor

Legal Events

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

Payment date: 20030226

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee