KR100216513B1 - Exchanger software testing method - Google Patents

Exchanger software testing method Download PDF

Info

Publication number
KR100216513B1
KR100216513B1 KR1019960030340A KR19960030340A KR100216513B1 KR 100216513 B1 KR100216513 B1 KR 100216513B1 KR 1019960030340 A KR1019960030340 A KR 1019960030340A KR 19960030340 A KR19960030340 A KR 19960030340A KR 100216513 B1 KR100216513 B1 KR 100216513B1
Authority
KR
South Korea
Prior art keywords
signal
communication
message
exchange
module
Prior art date
Application number
KR1019960030340A
Other languages
Korean (ko)
Other versions
KR980013097A (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 KR1019960030340A priority Critical patent/KR100216513B1/en
Publication of KR980013097A publication Critical patent/KR980013097A/en
Application granted granted Critical
Publication of KR100216513B1 publication Critical patent/KR100216513B1/en

Links

Abstract

본 발명은 교환기 소프트웨어의 시험방법에 관한 것으로서, 교환기의 운용보전을 위한 사용자 인터페이스 및 사용자로부터 입력된 명령어의 분석기능을 수행하는 운용보전 시스템과 범용 UNIX 운영체제를 기반으로 교환기 소프트웨어의 모듈을 개발 및 시험하는 호스트 시스템간의 메시지를 이더넷 통신을 이용하여 전달하고, 교환기 관리자로부터 입력된 명령어를 상기 운용보전 시스템의 내부 사용자 인터페이스에서 분석한 후 상기 교환기에 필요한 정보의 요청을 위한 메시지를 만들어 통신 인터페이스 데몬에게 전달하는 통신 라이브러리를 호출하며, 상기 요청 메시지를 전달받은 상기 통신 인터페이스 데몬은 상기 호스트 시스탬내 호스트 시험환경에 존재하여 목적 프로세스 확인 및 해당 프로세스로의 메시지 전달을 수행하는 프로세스간 통신관리자로 상기 메시지를 전달하고, 상기 메시지를 전달받은 프로세스는 필요한 동작 수행 후 그 처리결과 정보를 상기 프로세스간 통신관리자에게 시그널로 전달하며, 시그널을 전달받은 상기 프로세스간 통신 관리자는 상기 운용보전 시스템 내의 통신 인터페이스 데몬에게 상기 메시지를 전달하고, 메시지를 전달받은 통신 인터페이스 데몬은 상기 통신 라이브러리를 통해 상기 사용자 인터페이스로 메시지를 전달함으로써, 교환기 개발시간의 단축과 충분한 시험수행에 따라 개발된 소프트웨어의 오류발생을 줄일 수 있는 효과를 갖는다.The present invention relates to a test method of the exchange software, and to develop and test a module of the exchange software on the basis of a general-purpose UNIX operating system and an operation maintenance system that performs an analysis function of a user interface and an instruction inputted from a user. It transmits the message between the host systems using Ethernet communication, analyzes the command inputted from the exchange manager in the internal user interface of the operation preservation system, and makes a message for requesting the information required by the exchange to the communication interface daemon. The communication interface daemon, which receives the request message, exists in a host test environment in the host system, and performs inter-process communication for identifying a target process and delivering a message to the corresponding process. The message is delivered to an administrator, and the process which has received the message transmits the processing result information to the inter-process communication manager as a signal after performing a necessary operation, and the inter-process communication manager receiving the signal is in the operation maintenance system. Delivering the message to the communication interface daemon, and the communication interface daemon receives the message to the user interface through the communication library, thereby reducing the exchange development time and error occurrence of the software developed according to sufficient test performance. It has an effect that can be reduced.

Description

교환기 소프트웨어의 시험방법Test Method of Exchange Software

제1도는 본 발명에 따른 시스템간 통신 개념도.1 is a conceptual diagram of intersystem communication in accordance with the present invention.

제2도는 본 발명에 따른 호스트 시험 환경의 처리 흐름도.2 is a process flow diagram of a host test environment in accordance with the present invention.

제3도는 본 발명에 따른 모듈 프로세스의 실행 흐름도.3 is a flowchart of execution of a modular process according to the present invention.

제4도는 본 발명에 따른 프로세스간 통신관리자의 처리 흐름도.4 is a process flow diagram of an inter-process communication manager in accordance with the present invention.

제5도는 본 발명에 따른 통신 인터페이스 데몬의 처리 흐름도.5 is a process flow diagram of a communication interface daemon according to the present invention.

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

10 : 교환기 운용보전 시스템 11 : 사용자 인터페이스10: exchange operation maintenance system 11: user interface

12 : 통신 라이브러리 13 : 통신 인터페이스 데몬12: communication library 13: communication interface daemon

20 : 범용 UNIX 운영체제를 기반으로 한 호스트 시스템20: Host system based on general-purpose UNIX operating system

21 : 모듈 22 : 호스트 시험환경21: Module 22: Host Test Environment

23 : 프로세스간 통신관리자 30 : 이더넷(ethernet)23: communication manager between processes 30: ethernet

본 발명은 교환기 소프트웨어의 시험방법에 관한 것으로서, 특히 다른 시스템에 분리되어 있는 운용보전 시스템과 연동하여 교환기 소프트웨어를 범용 UNIX 시스템 상에서 시험하는 방법에 관한 것이다.The present invention relates to a test method of the exchange software, and more particularly to a method for testing the exchange software on a general-purpose UNIX system in conjunction with an operational maintenance system that is separate from other systems.

일반적으로, 교환기는 소프트웨어에 의해 제어되고 운용보전 시스템에 의해 가입자 관리 및 과금관리 등의 통화관리가 이루어진다.In general, the exchange is controlled by software and call management such as subscriber management and billing management is performed by the operation maintenance system.

본 명세서에서 쓰이는 용어를 몇 가지 정리하면 다음과 같다.The terms used in this specification are summarized as follows.

모듈이란, 독립적으로 실행가능한 프로그램을 가리킨다.A module is a program that can be executed independently.

하나의 모듈이 실행될 때에 여러 프로세스가 생성되어 동시에 수행이 될 수 있으며, 프로세스끼리도 동기화 및 통신을 할 수가 있는데, 그 동기화 및 통신을 위한 수단으로 시그널을 사용할 수 있다.When a module is executed, several processes can be created and executed simultaneously. Processes can also be synchronized and communicate with each other. Signals can be used as a means for the synchronization and communication.

그리고, 호스트 시스템이란, 교환기 모듈의 개발 및 시험에 사용되는 범용 UNIX 시스템을 가리킨다.The host system refers to a general-purpose UNIX system used for the development and testing of the exchange module.

교환기와 운용보전 시스템이 이더넷(ethernet)으로 연결되어 있다.The exchange and the operational maintenance system are connected by Ethernet.

여기서 이더넷이란, 교환기와 운용보전 시스템이 서로 통신할 수 있도록 통신 프로토콜이 구비된 물리적인 연결망을 일컫는 것이다.Here, Ethernet refers to a physical connection network equipped with a communication protocol so that the exchange and the operation maintenance system can communicate with each other.

교환기 모듈과 운용보전 시스템 내의 프로세스 사이에는 시그널이 전송된다.Signals are sent between the exchange module and a process in the OS.

종래의 교환기 소프트웨어의 시험방법으로는, 목적 시스템인 교환기에서 직접 실행 및 시험을 수행하는 방법과 범용 UNIX 시스템에서 시험하는 방법의 두 가지가 있다.There are two conventional test methods of the exchange software, a method of directly executing and testing in an exchange system, which is a target system, and a method of testing in a general-purpose UNIX system.

전자의 방법은 동시에 여러 명이 시험하기 어려우며, 시험을 위한 환경이 완전히 구비되기도 어려우므로 일반적으로는 이용되지 않고 있다.The former method is not generally used because it is difficult to test several people at the same time, and it is difficult to have a complete environment for testing.

그래서, 후자의 방법으로 시험을 하는데, 그런 경우에는 교환기를 위한 소프트웨어가 개발되면 이것을 시험하기 위하여 시험환경 소프트웨어와 함께 새로 개발된 교환기 소프트웨어와 운용보전 시스템의 소프트웨어들을 하나의 범용 UNIX 시스템 상에 적재시켜 놓고서 시험해야만 하는 번거로운 문제점이 있었다.Thus, the latter method is tested, in which case, once the software for the exchange has been developed, the newly developed exchange software and the software of the operational maintenance system, together with the test environment software, are loaded onto a general-purpose UNIX system to test it. There was a cumbersome problem to put and test.

상기 문제점을 해결하기 위한 본 발명의 목적은, 교환기 소프트웨어와 운용보전 시스템을 호스트 시스템에서 시험하기 위한 방법으로, 교환기 소프트웨어와 운용보전 시스템을 서로 다른 시스템에서 구동시켜가면서 그 사이의 통신 인터페이스를 제공하여 운용보전 시스템과 연동하여 동작하는 교환기 소프트웨어를 호스트 시스템에서 시험하는 방법을 제공하는 데에 있다.An object of the present invention for solving the above problems is a method for testing the exchange software and the operation maintenance system in the host system, by providing a communication interface between the switch software and the operation maintenance system while running in different systems The present invention provides a method for testing a switch system in a host system that operates in conjunction with an operation maintenance system.

상기 목적을 달성하기 위한 본 발명의 특징은 교환기 소프트웨어의 시험방법에 있어서, 운용보전 시스템과 연동하여 동작하는 교환기 소프트웨어의 호스트 시스템내 시험 방법에 있어서, 교환기의 운용보전을 위한 사용자 인터페이스 및 사용자로부터 입력된 명령어의 분석기능을 수행하는 상기 운용보전 시스템과 범용 UNIX 운영체제를 기반으로 교환기 소프트웨어의 모듈을 개발 및 시험하는 호스트 시스템간의 메시지를 이더넷 통신을 이용하여 전달하는 단계와, 관리자로부터 입력된 명령어를 상기 운용보전 시스템의 내부 사용자 인터페이스에서 분석한 후 필요한 정보를 상기 교환기에 요청하기 위해 필요한 메시지를 만들어 통신 인터페이스 데몬에게 전달하는 통신 라이브러리를 호출하는 단계와, 교환기에 필요한 정보 요청을 위한 메시지를 전달받은 상기 통신 인터페이스 데몬은 상기 호스트 시스템내 호스트 시험환경에 존재하여 목적 프로세스 확인 및 해당 프로세스로의 메시지 전달을 수행하는 프로세스간 통신관리자로 상기 메시지를 전달하는 단계와, 상기 메시지를 전달받은 프로세스는 필요한 동작 수행 후 그 처리결과 정보를 상기 프로세스간 통신관리자에게 시그널로 전달하는 단계와, 시그널을 전달받은 상기 프로세스간 통신 관리자는 상기 운용보전 시스템 내의 통신 인터페이스 데몬에게 상기 메시지를 전달하는 단계 및 메시지를 전달받은 상기 통신 인터페이스 데몬은 상기 통신 라이브러리를 통해 사용자 인터페이스로 이를 전달하는 단계로 이루어지는 데에 있다.A feature of the present invention for achieving the above object is in the test method of the exchange software, in the test method in the host system of the exchange software operating in conjunction with the operation maintenance system, the user interface for operation maintenance of the exchange and input from the user Transmitting a message using Ethernet communication between the operation preservation system that performs the function of analyzing the command and the host system that develops and tests the module of the exchange software based on the general-purpose UNIX operating system, and recalls the command input from the administrator. Analyzing the internal user interface of the operation preservation system and invoking a communication library that makes the necessary messages to request the exchange and sends them to the communication interface daemon; The received communication interface daemon is present in the host test environment in the host system to deliver the message to the inter-process communication manager that performs the confirmation of the target process and message delivery to the process, and the process of receiving the message Transmitting the result of the processing to the inter-process communication manager as a signal after performing the necessary operation; and receiving the signal, the inter-process communication manager delivering the message to the communication interface daemon in the operation preservation system and sending a message. The received communication interface daemon consists of delivering it to the user interface through the communication library.

교환기와 운용보전 시스템은 분산환경이므로 교환기 모듈 내의 프로세스가 서로 시그널을 주고받는 것처럼 호스트 시스템의 시험환경 소프트웨어도 운용보전시스템 내의 프로세스와 시그널을 주고받을 수 있어야 한다.Since the exchange and the OSS are distributed environments, the test environment software of the host system should be able to communicate with the processes within the OSS, just as the processes in the exchange module communicate with each other.

또한, 운용보전 시스템은 사용자 인터페이스를 제공하는데, 이는 명령어를 입력받고 명령의 처리결과를 관리자에게 보여주는 데에 사용된다.In addition, the operational maintenance system provides a user interface, which is used to receive commands and display the results of the processing to the administrator.

교환기에 연결되어 있는 운용보전 시스템은, 교환기 관리자로부터 사용자 인터페이스를 통하여 교환기의 운용관리 명령어를 입력받는다.The operation maintenance system connected to the exchange receives the operation management command of the exchange through the user interface from the exchange manager.

교환기를 운용/관리하는 데에 필요한 교환기 관련 정보는 교환기 내에 저장되어 있으므로 운용보전 시스템은 관리자가 입력한 명령어를 분석한 후, 필요한 정보를 교환기에 요청한다.Since the exchange-related information necessary to operate / manage the exchange is stored in the exchange, the operation maintenance system analyzes the command input by the administrator and then requests the exchange for the necessary information.

이를 위하여 운용보전 시스템은 교환기와 통신하기 위한 기능들을 라이브러리 형태로 제공하며, 외부 시스템과의 통신을 담당하는 통신 인터페이스 데몬을 둔다.To this end, the operation maintenance system provides functions to communicate with the exchange in the form of a library, and has a communication interface daemon that manages communication with external systems.

운용보전 시스템의 기본 기능을 담당하는 소프트웨어와 링크되어 컴파일되는 통신 라이브러리는 같은 시스템 내의 통신 인터페이스 데몬에게 교환기(혹은 호스트 시스템)로 가는 메시지를 전달한다.The communication library, which is compiled in conjunction with the software that is responsible for the basic functions of the operational preservation system, communicates messages to the exchange (or host system) to communication interface daemons within the same system.

통신 인터페이스 데몬은 교환기와의 통신을 담당하는 것과 호스트 시스템과의 시험통신을 위한 것의 두 종류를 두어 , 해당 데몬을 실행시킴으로써 운용보전 모듈의 재컴파일(recompile) 없이 통신환경을 바꿀 수 있다.There are two types of communication interface daemons, one for communication with the exchange and one for test communication with the host system. By running the daemon, the communication environment can be changed without recompiling the operation maintenance module.

호스트 시험 환경은 운용보전 시스템과의 통신을 지원하는 프로세스간 통신 관리자(InterProcess Communication Manager)를 생성하여 시험할 교환기용 모듈과 운용보전 시스템 내의 프로세스 사이의 통신을 지원한다.The host test environment creates an InterProcess Communication Manager, which supports communication with the OS, to support communication between the modules for the exchange to be tested and processes within the OS.

즉, 호스트 시험 환경이 프로세스간 통신관리자를 생성하면, 프로세스간 통신관리자는 통신을 위한 환경을 초기화하고 운용보전 시스템으로부터 오는 초기 시그널을 대기한다.That is, when the host test environment creates an interprocess communication manager, the interprocess communication manager initializes the environment for communication and waits for an initial signal from the operation preservation system.

해당 시그널을 수신하면 운용보전 시스템의 주소를 저장하고 운용보전 시스템에게로 전송될 시그널을 대기한다.When the signal is received, it saves the address of the OS and waits for the signal to be sent to the OS.

그 후, 호스트 시험 환경은 시험 환경 명령어를 대기하여 시험 모듈을 실행하는 명령어가 들어오면 새로운 모듈을 위한 프로세스를 생성한다.The host test environment then waits for test environment commands to generate a process for the new module when a command comes in to execute the test module.

그리고 나서, 호스트 시험 환경은 새로운 모듈이 프로세스간 통신관리자와 통신할 수 있도록 통신을 위한 자원을 할당한 후 프로세스간 통신관리자에게로 초기 시그널을 전송한다.The host test environment then allocates resources for communication so that the new module can communicate with the interprocess communication manager and sends initial signals to the interprocess communication manager.

이후, 시험 모듈 내의 프로세스가 보내는 시그널의 목적 주소가 교환기 내의 프로세스이면 시그널은 기존의 통신 방법을 이용하여 전달되고, 목적 주소가 운용보전 시스템 내의 프로세스이면 프로세스간 통신관리자를 통하여 운용보전 시스템으로 전달된다.Then, if the destination address of the signal sent by the process in the test module is a process in the exchange, the signal is transmitted using the existing communication method, and if the destination address is a process in the operation maintenance system, the signal is delivered to the operation maintenance system through the interprocess communication manager. .

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예들 중의 하나를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail one of the preferred embodiments according to the present invention.

제1도는 본 발명에 따른 시스템간 통신 개념도이다.1 is a conceptual diagram of intersystem communication according to the present invention.

제1도를 참조하여 본 발명에 적용되는 하드웨어의 구성과 본 발명에 따른 시스템간 통신에 관하여 설명하면 다음과 같다.Referring to FIG. 1, a configuration of hardware applied to the present invention and communication between systems according to the present invention will be described.

운용보전 시스템(10)은 교환기의 운용보전을 위한 사용자 인터페이스 기능과 사용자가 입력한 명령어를 분석하는 기능을 담당한다.The operation maintenance system 10 is responsible for a user interface function for operating maintenance of the exchange and a function of analyzing a command input by the user.

호스트 시스템(20)은 범용 UNIX 운영체제를 기반으로 하고 있으며, 교환기 소프트웨어 모듈이 호스트 시스템(20)에서 개발되고 시험된다.The host system 20 is based on a general-purpose UNIX operating system, and exchange software modules are developed and tested on the host system 20.

이더넷(30)은 두 시스템이 연결되어 있는 근거리 통신망으로서, 두 시스템간에 주고받는 메시지는 이더넷을 통하여 전달된다.Ethernet 30 is a local area network to which two systems are connected, and messages sent and received between the two systems are transmitted through Ethernet.

운용보전 시스템(10)에서 관리자가 명령을 입력하면 사용자 인터페이스(11)는 입력된 명령을 분석한 후, 필요한 정보를 교환기에 요청하기 위하여 통신 라이브러리(12)를 호출한다.When the administrator inputs a command in the operation preservation system 10, the user interface 11 analyzes the input command, and then calls the communication library 12 to request the necessary information to the exchange.

통신 라이브러리(12)는 필요한 메시지를 만들어 통신 인터페이스 데몬(13)에게 전달한다.The communication library 12 generates the necessary messages and delivers them to the communication interface daemon 13.

메시지를 전달받은 통신 인터페이스 데몬(13)은 호스트 시스템(20) 내의 호스트 시험환경(22)에 있는 프로세스간 통신관리자(23)에게로 시스템간을 연결하는 통신망인 이더넷(ethernet)을 통해 메시지를 전달한다.The communication interface daemon 13 receiving the message transmits the message through the Ethernet, which is a communication network connecting the systems to the inter-process communication manager 23 in the host test environment 22 in the host system 20. do.

호스트 시스템(20)의 시험환경(22) 내의 프로세스간 통신관리자(23)는 상기통신 인터페이스 데몬으로부터 전달된 메시지의 목적 프로세스를 확인하고, 해당 프로세스에게로 메시지를 전달한다.The interprocess communication manager 23 in the test environment 22 of the host system 20 confirms the target process of the message transmitted from the communication interface daemon, and delivers the message to the corresponding process.

메시지를 전달받은 프로세스는 필요한 동작을 수행한 후에 처리결과 정보를 프로세스간 통신관리자(23)에게 시그널로 전달한다.After receiving the message, the process delivers the processing result information to the interprocess communication manager 23 as a signal after performing the necessary operation.

시그널을 전달받은 프로세스간 통신관리자(23)는 운용보전 시스템(10) 내의 통신 인터페이스 데몬(13)에게로 메시지를 전달한다.The interprocess communication manager 23 receiving the signal delivers a message to the communication interface daemon 13 in the operation maintenance system 10.

통신 인터페이스 데몬(13)은 전달받은 메시지를 통신 라이브러리(12)를 통하여 사용자 인터페이스(11)에게로 전달한다.The communication interface daemon 13 delivers the received message to the user interface 11 through the communication library 12.

제2도는 본 발명에 따른 호스트 시험 환경의 처리 흐름도이다.2 is a process flow diagram of a host test environment in accordance with the present invention.

제2도는 참조하여 분산환경 시험을 위한 호스트 시험환경의 처리에 관하여 설명하면 다음과 같다.2 is a description of the processing of the host test environment for the distributed environment test with reference to the following.

S11에서는 호스트 시험환경이 자식 프로세스를 생성함으로써 통신을 담당하는 프로세스간 통신관리자를 생성한다.In S11, the host test environment creates a child process, thereby creating an interprocess communication manager in charge of communication.

S12에서는 사용자 명령을 입력받는다.In S12, a user command is input.

S13에서는 입력된 사용자 명령이 어떤 명령인지 판단한다.In S13, it is determined which command the input user command is.

상기 S13에서 사용자 명령이 종료 명령이라고 판단되면, S14에서는 프로세스간 통신관리자를 비롯하여 호스트 시험환경이 생성한 모든 자식 프로세스를 죽이고 종료한다.If it is determined in S13 that the user command is a termination command, in S14, all child processes generated by the host test environment including the interprocess communication manager are killed and terminated.

상기 S13에서 사용자 명령이 모듈실행 명령이라고 판단되면, S15에서는 모듈을 실행시키기 위한 새로운 자식 프로세스를 생성하고 상기 S12로 진행한다.If it is determined in S13 that the user command is a module execution command, then in S15, a new child process for executing the module is generated and the process proceeds to S12.

상기 S13에서 사용자 명령이 그 외의 기타 명령이라고 판단되면, S16에서는 해당 명령을 처리하고 나서 상기 S12로 진행한다.If it is determined in S13 that the user command is any other command, the process proceeds to S12 after processing the command in S16.

제3도는 본 발명에 따른 모듈 프로세스의 실행 흐름도.3 is a flowchart of execution of a modular process according to the present invention.

S21에서는 모듈이 통신을 위한 자원을 할당받는다.In S21, the module is allocated a resource for communication.

S22에서는 프로세스간 통신관리자에게로 초기 시그널을 전송한다.In S22, the initial signal is sent to the interprocess communication manager.

S23에서는 모듈 내의 실행문을 수행하면서 호스트 시험환경에서 제공하는 통신 라이브러리로부터 통신기능을 지원받는다.In S23, the communication function is supported from the communication library provided by the host test environment while executing the execution statement in the module.

이때에, 통신 라이브러리는 모듈 내의 프로세스가 시그널을 송신할때에 시그널의 목적조소가 운용보전 시스템이면 시그널을 내용으로 하는 통신용 메시지를 구성하여 프로세스간 통신관리자에게 송신한다.At this time, when the process in the module transmits a signal, if the target object of the signal is an operation preservation system, the communication library constructs a message for communication with the content of the signal and sends it to the inter-process communication manager.

S24에서는 모듈이 차지하였던 자원을 반납하고 종료한다.In S24, the resource occupied by the module is returned and terminated.

제4도는 본 발명에 따른 프로세스간 통신관리자의 처리 흐름도이다.4 is a process flow diagram of an inter-process communication manager according to the present invention.

제4도를 참조하여 본 발명에 따른 프로세스간 통신관리자의 처리에 관하여 설명하면 다음과 같다.Referring to Figure 4 describes the processing of the inter-process communication manager in accordance with the present invention.

S31에서는 프로세스간 통신관리자가 통신을 위한 자원을 할당하고 환경을 초기화한다.In S31, the interprocess communication manager allocates resources for communication and initializes the environment.

S32에서는 초기 시그널을 수신받는다.In S32, the initial signal is received.

S33에서는 수신받은 초기 시그널이 운용보전 시스템에서 보내어진 시그널인지 판단한다.In S33, it is determined whether the received initial signal is a signal sent from the operation maintenance system.

상기 S33에서 초기 시그널이 운용보전 시스템에서 보내어진 시그널이 아니라고 판단되면, 상기 S31로 진행한다.If it is determined in S33 that the initial signal is not a signal sent from the operation maintenance system, the process proceeds to S31.

상기 S33에서 초기 시그널이 운용보전 시스템에서 보내어진 시그널이라고 판단되면, S34에서는 시그널에 실려온 운용보전 시스템의 주소를 저장한다.If it is determined in step S33 that the initial signal is a signal sent from the operation maintenance system, S34 stores the address of the operation maintenance system carried on the signal.

S35에서는 시그널을 수신받는다.In S35, the signal is received.

S36에서는 시그널이 시험 모듈로부터 보내어진 초기 시그널인지 판단한다.In S36 it is determined whether the signal is an initial signal sent from the test module.

S37에서는 시그널이 시험 모듈로부터 보내어진 초기 시그널이라고 판단되면, 모듈에 의해 사용되는 포트번호와 주소 등과 같은 필요한 정보를 저장하고 상기 S35로 진행한다.If it is determined in S37 that the signal is an initial signal sent from the test module, it stores necessary information such as a port number and an address used by the module and proceeds to S35.

S38에서는 시그널이 초기 시그널이 아닌 일반 시그널이라고 판단되면, 목적지를 분석한다.In S38, if the signal is determined to be a normal signal rather than an initial signal, the destination is analyzed.

S39에서는 해당 시그널을 목적지 즉, 운용보전 시스템이나 호스트 시스템 내의 일반 프로세스에게로 전송하고 상기 S35로 진행한다.In S39, the signal is transmitted to the destination, that is, the general process in the operation preservation system or the host system, and the process proceeds to S35.

제5도는 본 발명에 따른 통신 인터페이스 데몬의 처리 흐름도이다.5 is a process flow diagram of a communication interface daemon according to the present invention.

제5도를 참조하여 운용보전 시스템의 통신 인터페이스 데몬의 처리흐름을 설명하면 다음과 같다.Referring to Figure 5 describes the processing flow of the communication interface daemon of the operation maintenance system as follows.

S41에서는 운용보전 시스템의 통신 인터페이스 데몬이 통신을 위한 자원을 생성된 모듈 프로세스에게 할당해 주고 초기화한다.In S41, the communication interface daemon of the operation maintenance system allocates resources for communication to the generated module process and initializes them.

S42에서는 호스트 시스템의 프로세스간 통신관리자에 초기시그널을 전송한다.In S42, the initial signal is transmitted to the interprocess communication manager of the host system.

S43에서는 시그널을 수신한다.In S43, a signal is received.

X44에서는 수신된 시그널이 어디서 보낸 시그널인지 판단한다.The X44 determines where the received signal is from.

상기 S44에서 시그널이 운용보전 시스템 내의 프로세스로부터 보내어진 시그널이라고 판단되면, S45에서는 시그널을 호스트 시스템 내의 프로세스간 통신관리자에 전송하고 상기 S43으로 진행한다.If it is determined in step S44 that the signal is a signal sent from a process in the operation preservation system, step S45 transmits the signal to the interprocess communication manager in the host system and proceeds to step S43.

상기 S44에서 시그널이 호스트 시스템으로부터 보내어진 시그널이라고 판단되면, S46에서는 운용보전 시스템의 통신 라이브러리에 시그널을 전송하고 상기 S43으로 진행한다.If it is determined in S44 that the signal is a signal sent from the host system, in S46 the signal is transmitted to the communication library of the operation maintenance system and the process proceeds to S43.

상기 S44에서 시그널이 기타 다른 곳에서 보내어진 시그널이라고 판단되면, 사이 S43으로 진행한다.If it is determined in step S44 that the signal is sent from elsewhere, the process proceeds to step S43.

그래서 본 발명은, 호스트 시스템과 운용보전 시스템이 이더넷으로 연결된 분산환경에서도 프로세스간 통신을 위한 기능을 지원함으로써 호스트 시스템의 시험환경에서 교환기 소프트웨어 모듈과 운용보전 시스템과의 연동시험이 가능하게 되었다.Therefore, the present invention enables the interoperability test between the exchange software module and the operation maintenance system in a test environment of the host system by supporting a function for interprocess communication even in a distributed environment where the host system and the operation maintenance system are connected by Ethernet.

그러므로 상기와 같은 본 발명은, 운용보전 기능을 담당하는 모듈의 경우에 운용보전 시스템과의 직접시험을 통해 시험의 효율성을 높이게 되어 대부분의 오류를 호스트 시스템에서 수정함으로써 교환기 소프트웨어의 개발시간을 단축하고, 충분한 시험을 수행함으로써 개발된 소프트웨어의 오류발생을 줄일 수 있다는 데에 그 효과가 있다.Therefore, the present invention as described above, in the case of the module in charge of the operation maintenance function to improve the efficiency of the test through a direct test with the operation maintenance system to shorten the development time of the exchange software by correcting most errors in the host system This has the effect of reducing the error of developed software by performing sufficient tests.

Claims (7)

운용보전 시스템과 연동하여 동작하는 교환기 소프트웨어의 호스트 시스템내 시험 방법에 있어서, 교환기의 운용보전을 위한 사용자 인터페이스 및 사용자로부터 입력된 명령어의 분석기능을 수행하는 상기 운용보전 시스템과 범용 UNIX 운영체제를 기반으로 교환기 소프트웨어의 모듈을 개발 및 시험하는 호스트 시스템간의 메시지를 이더넷 통신을 이용하여 전달하는 단계, 교환기 관리자로부터 입력된 명령어를 상기 운용보전 시스템의 내부 사용자 인터페이스에서 분석한 후 필요한 정보를 상기 교환기에 요청하기 위해 필요한 메시지를 만들어 통신 인터페이스 데몬에게 전달하는 통신 라이브러리를 호출하는 단계, 교환기에 필요한 정보 요청을 위한 메시지를 전달받은 상기 통신 인터페이스 데몬은 상기 호스트 시스템내 호스트 시험환경에 존재하여 목적 프로세스 확인 및 해당 프로세스로의 메시지 전달을 수행하는 프로세스간 통신관리자로 상기 메시지를 전달하는 단계, 상기 메시지를 전달받은 프로세스는 필요한 동작 수행 후 그 처리결과 정보를 상기 프로세스간 통신관리자에게 시그널로 전달하는 단계, 시그널을 전달받은 상기 프로세스간 통신관리자는 상기 운용보전 시스템 내의 통신 인터페이스 데몬에게 상기 메시지를 전달하는 단계, 메시지를 전달받은 통신 인터페이스 데몬은 상기 통신 라이브러리를 통해 상기 사용자 인터페이스로 메시지를 전달하는 단계로 이루어지는 것을 특징으로 하는 교환기 소프트웨어의 시험방법.A test method in a host system of exchange software operating in conjunction with an operation maintenance system, comprising: a user interface for operation maintenance of an exchange and an analysis of a command input from a user based on the operation maintenance system and a general-purpose UNIX operating system; Transmitting a message between host systems for developing and testing a module of the exchange software using Ethernet communication, analyzing the command input from the exchange manager in the internal user interface of the operation preservation system, and requesting the exchange the necessary information. Invoking a communication library to create and deliver the necessary messages to the communication interface daemon; wherein the communication interface daemon receiving the message for requesting information required by the exchange resides in a host test environment in the host system. Transmitting the message to an inter-process communication manager performing the target process confirmation and message delivery to the corresponding process, and the process receiving the message sends the processing result information to the inter-process communication manager as a signal after performing a necessary operation. The step of transmitting, the inter-process communication manager receiving the signal delivers the message to the communication interface daemon in the operation maintenance system, the communication interface daemon receiving the message delivers the message to the user interface through the communication library Test method of the exchange software, characterized in that consisting of a step. 제1항에 있어서, 상기호스트 시험환경이, 자식 프로세스를 생성함으로써 통신을 담당하는 프로세스간 통신관리자를 생성하는 단계, 사용자 명령을 입력받은 단계, 상기 입력단계에서 입력된 사용자 명령이 어떤 명령인지 판단하는 단계, 상기 판단단계에서 상기 사용자 명령이 종료명령이라고 판단되면, 상기 프로세스간 통신관리자를 비롯하여 상기 호스트 시험환경이 생성한 모든 자식 프로세스를 죽이고 종료하는 단계, 상기 판단단계에서 상기 사용자 명령이 모듈실행 명령이라고 판단되면, 모듈을 실행시키기 위한 새로운 자식 프로세스를 생성하고 상기 입력단계부터 다시 수행하는 단계, 및 상기 판단단계에서 상기 사용자 명령이 그 외의 기타 명령이라고 판단되면, 해당 명령을 처리하고 나서 상기 입력단계부터 다시 수행하는 단계로 이루어지는 것을 특징으로 하는 교환기 소프트웨어의 시험방법.The method of claim 1, wherein the host test environment generates an interprocess communication manager in charge of communication by generating a child process, receives a user command, and determines which command is a user command input in the input step. And if the user command is determined to be a termination command in the determination step, killing and terminating all child processes generated by the host test environment including the inter-process communication manager, and executing the module in the determination step. If it is determined that the command is generated, a new child process for executing the module and performing again from the input step, and if it is determined that the user command is any other command in the determination step, after processing the command, the input Step by step Test method of switching software features that. 제2항에 있어서, 상기 모듈이, 통신을 위한 자원을 할당받는 단계, 상기 프로세스간 통신관리자에게로 초기 시그널을 전송하는 단계, 실행문을 수행하는 단계, 및 상기 모듈이 차지하였던 자원을 반납하고 종료하는 단계로 이루어지는 것을 특징으로 하는 교환기 소프트웨어의 시험방법.The method of claim 2, wherein the module is allocated resources for communication, transmitting an initial signal to the inter-process communication manager, executing an execution statement, and returning resources occupied by the module. Test method of the switch software, characterized in that it comprises the step of terminating. 제3항에 있어서, 상기 실행문 수행단계에서 상기 호스트 시험환경으로부터 제공되는 통신 라이브러리로부터 통신기능을 지원받되, 상기 모듈 내의 프로세스가 시그널을 송신할 때에 시그널의 목적주소가 운용보전 시스템이면 상기 통신 라이브러리가 시그널을 내용으로 하는 통신용 메시지를 구성하여 프로세스간 통신관리자에게 송신하는 것을 특징으로 하는 교환기 소프트웨어의 시험방법.The communication library of claim 3, wherein the communication library is supported by a communication library provided from the host test environment in the execution statement execution step, and the communication library is provided when the target address of the signal is an operation preservation system when a process in the module sends a signal. A method for testing switch software, comprising: constructing a message for communication with the signal as its content and transmitting it to the inter-process communication manager; 제2항에 있어서, 상기 프로세스간 통신관리자가, 환경을 초기화하고 운용보전 시스템으로부터 보내어진 시그널을 수신하여 상기 시그널에 실려온 상기 운용보전 시스템의 주소를 저장하는 단계, 시그널을 수신받는 단계, 상기 시그널이 시험 모듈로부터 보내어진 초기 시그널인지 판단하는 단계, 상기 판단단계에서 상기 시그널이 시험 모듈로부터 보내어진 초기 시그널이라고 판단되면, 모듈에 의해 사용되는 필요한 정보를 저장하고 상기 시그널 수신 단계부터 다시 수행하는 단계, 상기 판단단계에서 상기 시그널이 초기 시그널이 아닌 일반 시그널이라고 판단되면, 목적지를 분석하여 해당 시그널을 해당 목적지에 전송하고 상기 시그널 수신 단계부터 다시 수행하는 단계로 이루어지는 것을 특징으로 하는 교환기 소프트웨어의 시험방법.The method of claim 2, wherein the interprocess communication manager initializes an environment and receives a signal sent from an operation maintenance system to store an address of the operation maintenance system loaded on the signal, receiving a signal, and receiving the signal. Determining whether the signal is an initial signal sent from the test module, and if it is determined that the signal is an initial signal sent from the test module, storing necessary information used by the module and performing the signal from the signal receiving step again. In the determining step, if the signal is determined to be a general signal rather than an initial signal, analyzing the destination, transmitting the signal to the corresponding destination, and performing the signal from the signal receiving step again. . 제5항에 있어서, 상기 프로세스간 통신관리자의 초기화 단계가, 통신을 위한 자원을 할당하고 환경을 초기화하는 단계, 초기 시그널을 입력받는 단계, 입력받은 상기 초기 시그널이 운용보전 시스템으로부터 보내어진 시그널인지 판단하는 단계, 및 상기 판단단계에서 상기 초기 시그널이 상기 운용보전 시스템으로부터 보내어진 시그널이 아니라고 판단되면, 다시 초기화 단계부터 다시 수행하는 단계로 이루어지는 것을 특징으로 하는 교환기 소프트웨어의 시험방법.The method of claim 5, wherein the initializing of the inter-process communication manager comprises: allocating resources for communication and initializing an environment, receiving an initial signal, and whether the received initial signal is a signal sent from an operation preservation system. And determining if the initial signal is not a signal sent from the operation preservation system in the determining step, and performing the process again from the initializing step. 제1항에 있어서, 상기 통신 인터페이스 데몬이, 통신을 위한 자원을 생성된 모듈 프로세스에게 할당해 주고 초기화하는 단계, 상기 호스트 시스템의 프로세스간 통신관리자에 초기 시그널을 전송하는 단계, 시그널을 수신하는 단계, 상기 수신단계에서 수신된 상기 시그널이 어디서 보낸 시그널인지 판단하는 단계, 상기 판단단계에서 상기 시그널이 상기 운용보전 시스템 내의 프로세스로부터 보내어진 시그널이라고 판단되면, 상기 호스트 시스템 내의 프로세스간 통신관리자에게 상기 시그널을 전송하고 상기 수신단계부터 다시 수행하는 단계, 상기 판단단계에서 상기 시그널이 상기 호스트 시스템으로부터 보내어진 시그널이라고 판단되면, 상기 운용보전 시스템의 통신 라이브러리에게 상기 시그널을 전송하고 상기 수신단계부터 다시 수행하는 단계, 및 상기 시그널이 기타 다른 곳에서 보내어진 시그널이라고 판단되면, 상기 수신단계부터 다시 수행하는 단계로 이루어지는 것을 특징으로 하는 교환 소프트웨어의 시험방법.The method of claim 1, wherein the communication interface daemon allocates and initializes a resource for communication to a generated module process, transmitting an initial signal to an interprocess communication manager of the host system, and receiving a signal. Determining whether the signal received in the receiving step is a signal sent from the receiving step; and in the determining step, determining that the signal is a signal sent from a process in the operation preservation system, to the inter-process communication manager in the host system. Transmitting the signal to the communication library of the operation preservation system and performing the process again from the receiving step if the signal is transmitted from the host system in the determining step.Based, and the other two signal If it is determined that eojin signal sent elsewhere, the test method of exchanging software which comprises the steps of the process from the receiving again.
KR1019960030340A 1996-07-25 1996-07-25 Exchanger software testing method KR100216513B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960030340A KR100216513B1 (en) 1996-07-25 1996-07-25 Exchanger software testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960030340A KR100216513B1 (en) 1996-07-25 1996-07-25 Exchanger software testing method

Publications (2)

Publication Number Publication Date
KR980013097A KR980013097A (en) 1998-04-30
KR100216513B1 true KR100216513B1 (en) 1999-08-16

Family

ID=19467464

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960030340A KR100216513B1 (en) 1996-07-25 1996-07-25 Exchanger software testing method

Country Status (1)

Country Link
KR (1) KR100216513B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100815666B1 (en) * 2002-05-31 2008-03-20 엘지노텔 주식회사 Method for Bill Data Management When the MSC Restart

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100815666B1 (en) * 2002-05-31 2008-03-20 엘지노텔 주식회사 Method for Bill Data Management When the MSC Restart

Also Published As

Publication number Publication date
KR980013097A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
US5551035A (en) Method and apparatus for inter-object communication in an object-oriented program controlled system
US6549932B1 (en) System, method and computer program product for discovery in a distributed computing environment
US7243352B2 (en) Distributed process runner
CN110365751B (en) Service processing method, device and equipment of gateway system
US5021949A (en) Method and apparatus for linking an SNA host to a remote SNA host over a packet switched communications network
US4893307A (en) Method and apparatus for linking SNA terminals to an SNA host over a packet switched communications network
US6253252B1 (en) Method and apparatus for asynchronously calling and implementing objects
US20050268308A1 (en) System and method for implementing a general application program interface
KR19980032250A (en) Scalable, scalable systems management architecture with dataless endpoints
JP2000500940A (en) Registry communication middleware
US7478141B2 (en) Accessing firmware of a remote computer system using a remote firmware interface
CA2365730A1 (en) Method and device to assist in the execution of tasks of parallel jobs
CN111147308B (en) Network management method and system based on micro-service architecture
US20020007410A1 (en) Scalable java servers for network server applications
JPH10133895A (en) Method for operating multiplex os network
EP0405829B1 (en) Object oriented software system architecture
US20010011215A1 (en) Network device simulation system and method
CN108536484A (en) Parameter amending method, device, terminal device and storage medium
GB2336969A (en) PC-based PBX
US7043726B2 (en) Binding of processes in network systems
US20080281969A1 (en) Controlling access to versions of application software by a server, based on site ID
KR100216513B1 (en) Exchanger software testing method
US5668994A (en) Conversation management routine for co-operative processing applications
Csoma et al. Management and orchestration for network function virtualization: An open source mano approach
US6757747B1 (en) Proxy object for managing an application instance on a dataless client machine

Legal Events

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

Payment date: 20040401

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee