KR100298208B1 - Method for remote program execution interfacting in switching system - Google Patents

Method for remote program execution interfacting in switching system Download PDF

Info

Publication number
KR100298208B1
KR100298208B1 KR1019980052247A KR19980052247A KR100298208B1 KR 100298208 B1 KR100298208 B1 KR 100298208B1 KR 1019980052247 A KR1019980052247 A KR 1019980052247A KR 19980052247 A KR19980052247 A KR 19980052247A KR 100298208 B1 KR100298208 B1 KR 100298208B1
Authority
KR
South Korea
Prior art keywords
message
program execution
remote program
exchange
remote
Prior art date
Application number
KR1019980052247A
Other languages
Korean (ko)
Other versions
KR20000037616A (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 KR1019980052247A priority Critical patent/KR100298208B1/en
Publication of KR20000037616A publication Critical patent/KR20000037616A/en
Application granted granted Critical
Publication of KR100298208B1 publication Critical patent/KR100298208B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0062Provisions for network management
    • H04Q3/0095Specification, development or application of network management software, e.g. software re-use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/05Software aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13349Network management

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 교환시스템에서의 원격 프로그램 수행 인터페이싱 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.The present invention relates to a remote program execution interfacing method in an exchange system and a computer readable recording medium having recorded thereon a program for realizing the same.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 실시간 기능을 교환 제어기에서 실행하고 실시간 특성이 적은 데이터 처리 기능을 시스템 관리기에서 분리 처리하는 교환시스템에서 교환 제어기와 시스템 관리기 사이의 정보 교류시나 상호 수행 제어시에, 교환 제어기에서 시스템 관리기에 있는 프로그램을 원격 프로그램 호출 인터페이스를 이용함으로써, 교환시스템을 구성하고 있는 하드웨어나 운용체계의 상이함에 최소 영향을 받으면서 교환 기능을 구현하기 위한 원격 프로그램 수행 인터페이싱 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.The present invention relates to a system manager in an exchange controller during information exchange or mutual performance control between an exchange controller and a system manager in an exchange system that executes a real-time function in an exchange controller and separates a data processing function having low real-time characteristics from the system manager. By using the remote program call interface, a program in the remote program execution interface for realizing the exchange function and the program for realizing the exchange function are minimally affected by the difference in hardware or operating system constituting the exchange system. To provide a readable recording medium.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 분산된 구조의 제어 프로세서로 구성된 교환 제어기와 워크스테이션으로 구성된 시스템 관리기를 포함하는 교환시스템에 적용되는 원격 프로그램 수행 인터페이싱 방법에 있어서, 상기 교환 제어기의 교환기 제어부가 원격 프로그램 수행 요구 처리부를 호출하는 제 1 단계; 호출된 원격 프로그램 수행 요구 처리부가 프로그램과 일련의 입력 인수의 의미를 갖는 문자열 값을 입력받아, 원격 프로그램 수행 요구 메시지를 구성하여 통신 프로토콜을 통해 상기 시스템 관리기로전송하는 제 2 단계; 상기 시스템 관리기의 원격 프로그램 처리부가 상기 원격 프로그램 수행 요구 처리부로부터의 원격 프로그램 수행 요구에 따라, 처리 큐와 메시지 리스트에 있는 수신된 메시지를 조합하여 교환기 운용/관리 프로그램내의 해당 프로그램을 동작시킨 후에, 그 수행 결과를 상기 원격 프로그램 수행 요구 처리부로 알리는 제 3 단계; 및 상기 원격 프로그램 수행 요구 처리부가 상기 시스템 관리기의 원격 프로그램 처리부로부터 전달받은 결과를 상기 교환기 제어부로 반환하는 제 4 단계를 포함함.The present invention provides a remote program execution interfacing method applied to an exchange system including an exchange controller comprising a control processor having a distributed structure and a system manager comprising a workstation, wherein the exchange controller of the exchange controller comprises a remote program execution request processing unit. Calling first step; A second step of receiving, by the called remote program execution request processing unit, a string value having a meaning of a program and a series of input arguments, constructing a remote program execution request message and transmitting the message to the system manager through a communication protocol; In response to a remote program execution request from the remote program execution request processing unit, operating the corresponding program in the exchange operation / management program by combining the received message in the processing queue with the message list. A third step of notifying an execution result to the remote program execution request processing unit; And a fourth step in which the remote program execution request processing unit returns the result received from the remote program processing unit of the system manager to the switch controller.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 분산 처리 교환시스템 등에 이용됨.The present invention is used in distributed processing exchange systems and the like.

Description

교환시스템에서의 원격 프로그램 수행 인터페이싱 방법{METHOD FOR REMOTE PROGRAM EXECUTION INTERFACTING IN SWITCHING SYSTEM}Remote program execution interfacing method in exchange system {METHOD FOR REMOTE PROGRAM EXECUTION INTERFACTING IN SWITCHING SYSTEM}

본 발명은 실시간 기능을 교환 제어기에서 분산처리로 실행하고 실시간 특성이 적은 데이터 처리 기능을 시스템 관리기에서 처리하는 교환시스템에서, 교환 제어기와 시스템 관리기 사이의 정보 교류시나 상호 수행 제어시에, 교환 제어기에서 시스템 관리기에 있는 프로그램을 원격 프로그램 호출 인터페이스를 이용하여 수행시키는 원격 프로그램 수행 인터페이싱 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to an exchange system that executes real-time functions in a distributed process in an exchange controller and processes a data processing function having low real-time characteristics in a system manager, when exchanging information between an exchange controller and a system manager or controlling mutual performance. A remote program execution interfacing method for executing a program in a system manager using a remote program call interface, and a computer-readable recording medium having recorded thereon a program for realizing the same.

교환기는 실시간 시스템의 성격을 갖는다.The exchange has the nature of a real time system.

그러나, 이러한 교환기는 실시간적인 동작을 위한 많은 데이터 작업이 또한 요구된다.However, such exchanges also require a lot of data work for real-time operation.

교환기 소프트웨어는 호의 발생에서 해제까지 직접적인 서비스를 실시간 적으로 수행시키는 호처리 소프트웨어와 하드웨어와 소프트웨어의 비정상 동작을 감지하여 격리하고 복구하는 일련의 절차를 제공하는 유지보수 소프트웨어, 서비스에 따른 과금 수록을 실행하는 소프트웨어로 크게 분리할 수 있다.The exchange software implements call processing software that performs direct services in real time, from call origination to release, and maintenance software that provides a set of procedures to detect, isolate, and recover from abnormal behavior of hardware and software. Can be largely separated by software.

종래에는, 이 모든 소프트웨어를 교환기의 프로세서에 실장하여 실행하는 형태로 구성되었다.In the related art, all such software is configured to be implemented by being mounted on a processor of an exchange.

그러나, 이러한 소프트웨어 구성은 많은 메모리를 필요로 하므로 실시간적인 호 처리 기능이 메모리를 사용하는데 제한을 받아서 동시 처리할 수 있는 호의 수가 제한되어 실시간적인 성능을 감소시킬 수도 있다. 따라서, 실시간 특성의 기능과 데이터 작업 관련된 기능을 분리하여 데이터 작업 유형의 기능을 컴퓨터를 이용할 때에 양 시스템간에 정보를 교환하는 인터페이스가 필요하다. 이때에 인터페이스는 통신 메시지의 제약과 관계없이 설계 제공될 필요가 있는 것이 제작된 소프트웨어 기능을 시스템에 종속되지 않도록 만들 수 있기 때문이다.However, this software configuration requires a lot of memory, so that the real-time call processing function is limited to using the memory, thereby limiting the number of calls that can be processed concurrently, thereby reducing real-time performance. Therefore, there is a need for an interface for exchanging information between the two systems when using a computer to separate the functions of the real-time characteristic and the functions related to the data task, and to use the functions of the data task type. In this case, the interface needs to be designed and provided irrespective of the communication message because it can make the produced software function independent of the system.

종래의 교환시스템에서 응용 프로그램간의 인터페이스는 시그널을 이용한 메시지 통신과 데이터베이스를 이용한 인터페이스를 이용하였다.In the conventional exchange system, the interface between application programs uses a message communication using a signal and an interface using a database.

이러한 종래의 교환시스템은 실시간 처리나 관리 부문에 관계없이 모든 시스템내의 소프트웨어를 교환기에 실장하여 수행하였다.This conventional exchange system is implemented by mounting the software in all systems on the exchange regardless of real-time processing or management.

따라서, 종래에는 교환시스템의 메모리의 많은 부분을 비실시간 기능이 점유하거나, 비실시간적이지만 종합적인 판단이 요구되는 기능이 실시간 기능과 함께 동작하여 성능을 저하시키는 문제점이 있었다.Therefore, in the related art, a large portion of the memory of the exchange system occupies a large amount of non-real-time function, or a function that requires a non-real-time but comprehensive judgment operates with a real-time function, thereby degrading performance.

상기한 바와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 실시간 기능을 교환 제어기에서 실행하고 실시간 특성이 적은 데이터 처리 기능을 시스템 관리기에서 분리 처리하는 교환시스템에서 교환 제어기와 시스템 관리기 사이의 정보 교류시나 상호 수행 제어시에, 교환 제어기에서 시스템 관리기에 있는 프로그램을 원격 프로그램 호출 인터페이스를 이용함으로써, 교환시스템을 구성하고 있는 하드웨어나 운용체계의 상이함에 최소 영향을 받으면서 교환 기능을 구현하기 위한 원격 프로그램 수행 인터페이싱 방법 및 그를 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention provides a method for exchanging information between an exchange controller and a system manager in an exchange system that executes a real time function in an exchange controller and separates a data processing function having a low real-time characteristic from the system manager. In the mutual performance control, by using the remote program call interface of the program in the system manager in the exchange controller, the remote program execution interfacing to implement the exchange function with minimal impact on the hardware or operating system constituting the exchange system. It is an object of the present invention to provide a computer-readable recording medium recording a method and a program for realizing the same.

도 1 은 본 발명이 적용되는 교환시스템의 구성 예시도.1 is an exemplary configuration diagram of an exchange system to which the present invention is applied.

도 2 는 본 발명이 적용되는 유연한 교환시스템 구성을 위한 소프트웨어의 구조를 나타낸 일실시예 설명도.2 is a diagram illustrating an embodiment of software for a flexible switching system configuration to which the present invention is applied.

도 3 은 본 발명에 따른 교환 제어기와 시스템 관리기 사이의 원격 프로그램 수행 관계를 나타낸 일실시예 설명도.3 is a diagram illustrating an embodiment of a remote program execution relationship between an exchange controller and a system manager according to the present invention;

도 4 도는 본 발명에 따른 원격 프로그램 수행 인터페이싱 방법중 교환 제어기에서의 원격 프로그램 수행 처리 과정에 대한 일실시예 상세 흐름도.4 is a detailed flowchart of an embodiment of a remote program execution process in an exchange controller in a remote program execution interfacing method according to the present invention;

도 5 는 본 발명에 따른 원격 프로그램 수행 인터페이싱 방법중 시스템 관리기에서의 원격 프로그램 수행 처리 과정에 대한 일실시예 상세 흐름도.5 is a detailed flowchart illustrating an embodiment of a remote program execution process in a system manager in a remote program execution interfacing method according to the present invention;

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

11 : 교환 제어기 12 : 시스템 관리기11: exchange controller 12: system manager

13 : 교환기 14 : 가입자 단말13: switch 14: subscriber terminal

상기 목적을 달성하기 위한 본 발명은, 분산된 구조의 제어 프로세서로 구성된 교환 제어기와 워크스테이션으로 구성된 시스템 관리기를 포함하는 교환시스템에 적용되는 원격 프로그램 수행 인터페이싱 방법에 있어서, 상기 교환 제어기의 교환기 제어부가 원격 프로그램 수행 요구 처리부를 호출하는 제 1 단계; 호출된 원격 프로그램 수행 요구 처리부가 프로그램과 일련의 입력 인수의 의미를 갖는 문자열 값을 입력받아, 원격 프로그램 수행 요구 메시지를 구성하여 통신 프로토콜을 통해 상기 시스템 관리기로 전송하는 제 2 단계; 상기 시스템 관리기의 원격 프로그램 처리부가 상기 원격 프로그램 수행 요구 처리부로부터의 원격 프로그램 수행 요구에 따라, 처리 큐와 메시지 리스트에 있는 수신된 메시지를 조합하여 교환기 운용/관리 프로그램내의 해당 프로그램을 동작시킨 후에, 그 수행 결과를 상기 원격 프로그램 수행 요구 처리부로 알리는 제 3 단계; 및 상기 원격 프로그램 수행 요구 처리부가 상기 시스템 관리기의 원격 프로그램 처리부로부터 전달받은 결과를 상기 교환기 제어부로 반환하는 제 4 단계를 포함하여 이루어진 것을 특징으로 한다.In accordance with another aspect of the present invention, there is provided a remote program execution interfacing method applied to an exchange system including a system controller configured with a workstation and an exchange controller configured with a distributed control processor. A first step of calling a remote program execution request processing unit; A second step of receiving, by the called remote program execution request processing unit, a string value having a meaning of a program and a series of input arguments, and constructing a remote program execution request message to the system manager through a communication protocol; In response to a remote program execution request from the remote program execution request processing unit, operating the corresponding program in the exchange operation / management program by combining the received message in the processing queue with the message list. A third step of notifying an execution result to the remote program execution request processing unit; And a fourth step in which the remote program execution request processing unit returns the result received from the remote program processing unit of the system manager to the switch controller.

그리고, 본 발명은 원격 프로그램 수행 인터페이스를 위하여, 프로세서를 구비한 교환시스템에, 교환 제어기의 교환기 제어부가 원격 프로그램 수행 요구 처리부를 호출하는 제 1 기능; 호출된 원격 프로그램 수행 요구 처리부가 프로그램과 일련의 입력 인수의 의미를 갖는 문자열 값을 입력받아, 원격 프로그램 수행 요구 메시지를 구성하여 통신 프로토콜을 통해 상기 시스템 관리기로 전송하는 제 2 기능; 상기 시스템 관리기의 원격 프로그램 처리부가 상기 원격 프로그램 수행 요구 처리부로부터의 원격 프로그램 수행 요구에 따라, 처리 큐와 메시지 리스트에 있는 수신된 메시지를 조합하여 교환기 운용/관리 프로그램내의 해당 프로그램을 동작시킨 후에, 그 수행 결과를 상기 원격 프로그램 수행 요구 처리부로 알리는 제 3 기능; 및 상기 원격 프로그램 수행 요구 처리부가 상기 시스템 관리기의 원격 프로그램 처리부로부터 전달받은 결과를 상기 교환기 제어부로 반환하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention provides a switching system including a processor for a remote program execution interface, comprising: a first function of a switch controller of an exchange controller calling a remote program execution request processing unit; A second function of receiving, by the called remote program execution request processing unit, a string value having a meaning of a program and a series of input arguments, and constructing a remote program execution request message to transmit to the system manager through a communication protocol; In response to a remote program execution request from the remote program execution request processing unit, operating the corresponding program in the exchange operation / management program by combining the received message in the processing queue with the message list. A third function of notifying an execution result to the remote program execution request processing unit; And a computer readable recording medium having recorded thereon a program for realizing a fourth function of returning a result received from the remote program processor of the system manager to the switch controller.

본 발명은 교환 제어기와 시스템 관리기 사이의 연관 관계를 맺을 때에 응용 프로그램 인터페이스에서 상호 기능을 수행시킬 수 있도록 하여 소프트웨어의 시스템 독립성을 도모한다. 이를 위해, 본 발명은 범용 운용체계를 이용한 시스템 관리기에서 정보 처리 시스템을 구현하고 교환 제어 프로세서와 시스템 관리기 사이와 시스템 관리기와 외부 사이에 응용 프로그램 인터페이스를 사용하여 시스템의 유연성을 확보한다. 이를 통해, 시스템 관리기의 범용성을 확보하여 소프트웨어의 재활용성을 높일 수 있다.The present invention achieves system independence of software by enabling mutual functioning at an application program interface when establishing an association between an exchange controller and a system manager. To this end, the present invention implements an information processing system in a system manager using a general-purpose operating system and secures the flexibility of the system by using an application program interface between the exchange control processor and the system manager and between the system manager and the outside. Through this, it is possible to increase the reusability of the software by securing the versatility of the system manager.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명의 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 교환시스템의 구성 예시도이다.1 is an exemplary configuration diagram of an exchange system to which the present invention is applied.

도 1에 도시된 바와 같이, 본 발명이 적용되는 교환시스템은 데이터의 교환을 실행하는 스위칭부(113)와 스위칭부(113)에 연결된 정합부(111,112)와 교환을 제어하는 프로세서(114)로 결합되어 있는 1개 이상의 서브시스템으로 구성되는 교환 제어기(11)와, 모니터(122)와 컴퓨터 본체(121)와 저장 장치(123)로 구성되어 정보 처리 및 시스템 관리를 담당하는 시스템 관리기(12)를 구비한다.As shown in FIG. 1, an exchange system to which the present invention is applied includes a switching unit 113 that executes data exchange, a matching unit 111 and 112 connected to the switching unit 113, and a processor 114 that controls the exchange. A system manager 12 composed of an exchange controller 11 composed of one or more subsystems coupled together, a monitor 122, a computer body 121, and a storage device 123, which is in charge of information processing and system management. It is provided.

교환 제어기(11)의 정합부(111,112)는 가입자 정합장치인 경우에는 외부의 가입자 단말(14)과 링크(132)로 연결되고, 중계선 정합장치인 경우에는 다른 교환기(13)와 링크(131)로 연결된다.The matching units 111 and 112 of the switching controller 11 are connected to the external subscriber station 14 and the link 132 in the case of the subscriber matching device, and the other exchange 13 and the link 131 in the case of the relay line matching device. Leads to.

교환 제어기(11)내의 정합부(111)와 스위칭부(113)는 내부 데이터 전송 링크(118)로 연결된다.The matching section 111 and the switching section 113 in the switching controller 11 are connected by an internal data transmission link 118.

교환 제어기(11)의 서브시스템의 프로세서(114)에는 데이터 교환을 제어하는 소프트웨어(115)와 제어를 지원하는 소프트웨어(116)가 정합부(111)와 스위칭부(113)의 제어를 위하여 실장된다.In the processor 114 of the subsystem of the exchange controller 11, software 115 for controlling data exchange and software 116 for supporting control are mounted for the control of the matching unit 111 and the switching unit 113. .

서브시스템이 다수인 경우에 교환은 3단계의 데이터 교환을 거칠 수 있다. 이때에 중앙의 스위칭부(117)를 구비하는 서브시스템이 존재하게 된다.In the case of multiple subsystems, the exchange can go through three stages of data exchange. At this point, there is a subsystem with a central switching section 117.

시스템 관리기(12)에는 교환 제어기(11) 전체의 서비스 상태와 자원의 상태를 관리하거나, 교환에 필요한 정보를 관리하는 소프트웨어(124)가 실장되어 정보 처리와 운용자 정합을 담당한다. 또한, 과금과 서비스 통계등에 대한 정보를 저장장치(123)에 저장한다.In the system manager 12, software 124 for managing the service state and resource state of the entire exchange controller 11 or managing information necessary for exchange is mounted to perform information processing and operator registration. In addition, the storage device 123 stores information on billing and service statistics.

도 2 는 본 발명이 적용되는 유연한 교환시스템 구성을 위한 소프트웨어의 구조를 나타낸 일실시예 설명도이다2 is a diagram illustrating an embodiment of a software structure for configuring a flexible switching system to which the present invention is applied.

본 발명은 교환시스템을 실시간 부분과 데이터 처리 부분에 대한 기능간 분배를 명확하게 하는 구조에서, 상호간의 정보 교류를 위한 인터페이스를 응용 프로그램 편의를 위하여 설계하고 적용하는 것으로, 이러한 인터페이스는 교환기를 구성하고 있는 하드웨어나 운용체계의 상이함에 최소 영향을 받으면서 교환 기능을 구현할 수 있도록 하여 응용 기능의 발전과 재사용성을 확보하게 되고 통일된 교환기 소프트웨어 플랫폼을 제공할 수 있게 한다.The present invention is to design and apply an interface for information exchange between the exchange system in the structure to clarify the distribution between the functions for the real-time portion and the data processing portion for the convenience of the application program, such an interface constitutes the exchange and It is possible to implement the exchange function with the least influence on the difference of the existing hardware or the operating system to secure the development and reuse of the application function and to provide a unified exchange software platform.

이러한 통일된 교환기 소프트웨어 플랫폼을 제공하기 위해서, 소프트웨어(115,116,124)는 시스템 관리기(12)와 교환 제어기(11)에 분리하여 위치한다.In order to provide such a unified exchange software platform, the software 115, 116, 124 is located separately in the system manager 12 and the exchange controller 11.

교환 제어기(11)의 프로그램은 메모리에 상주하여 동작하고, 시스템 제어기(12)의 소프트웨어(124)는 응용 프로그램을 위한 인터페이싱 기능만 메모리에 상주하여 동작하고 응용 소프트웨어는 디스크에 있다가 인터페이싱 기능에서 필요시에 수행시킨다.The program of the exchange controller 11 resides in memory and operates, and the software 124 of the system controller 12 operates only in the memory for the interfacing function for the application program and the application software resides on the disk and is required for the interfacing function. Run at hour.

교환 제어기(11)의 프로세서(114)에는 실시간 운용체계(201)가 동작되고, 시스템 관리기(12)에서는 범용 운용체계(211)가 동작된다.The real time operating system 201 is operated in the processor 114 of the exchange controller 11, and the general purpose operating system 211 is operated in the system manager 12.

교환 제어기(11)의 프로세서(114)와 시스템 관리기(12)는 통신 프로토콜에 의하여 정보를 교류한다.The processor 114 of the exchange controller 11 and the system manager 12 exchange information by a communication protocol.

교환 제어기(11)의 실시간 운용체계(201)가 수용할 수 있는 프로토콜의 종류에 따라서 응용 소프트웨어의 수정이 발생하지 않도록 교환 제어기(11)내에 응용 프로그램 인터페이싱부(210)를 둔다.The application program interface 210 is provided in the exchange controller 11 so that modification of the application software does not occur according to the type of protocol that the real time operating system 201 of the exchange controller 11 can accommodate.

시스템 관리기(12)의 소프트웨어(124)가 교환 제어기(11)의 소프트웨어(115,116)와 통신하기 위해서는 원격 라이브러리, 원격 공유 메모리, 원격 프로세스를 이용한다. 이를 위한 응용 프로그램 인터페이싱부(210)가 교환 제어기(11)에 위치한다. 또한, 시스템 관리기(12)에도 교환 제어기(11)에서 요구하는 통신을 위한 응용 프로그램 인터페이싱부(212)가 동작한다. 이때, 교환 제어기(11)에서 시스템 관리기(12)에 접근하는 인터페이스는 원격 프로그램 수행과 원격 파일 접근 방식이다.Software 124 of system manager 12 utilizes a remote library, remote shared memory, remote process to communicate with software 115, 116 of exchange controller 11. An application program interface 210 for this purpose is located in the exchange controller 11. In addition, the system manager 12 also operates an application program interface 212 for communication required by the exchange controller 11. At this time, the interface for accessing the system manager 12 from the exchange controller 11 is remote program execution and remote file access.

교환 제어기(11)의 프로세서(114)는 신호 처리, 호 제어, 번호 번역, 루트 제어 등의 실시간 작업을 수행한다(203).The processor 114 of the exchange controller 11 performs real time tasks such as signal processing, call control, number translation, route control, and the like (203).

실시간 작업의 진행 상태는 호 서비스 통계 수집부(202)에 통보되고, 호 서비스 통계 수집부(202)에 통보된 통계 정보는 사전에 제공되는 응용 프로그램 인터페이싱부(210)를 통해 시스템 관리기(12)의 응용 프로그램 인터페이싱부(212)를 경유하여 과금/통계부(219)에 전달되고, 운용/관리 정보 데이터베이스(218)에 수록된다. 이러한 실시간 작업에서 참조해야 하는 각종 정보 및 데이터는 메모리상의 공유 영역에 있는 제어 데이터(204)를 이용한다.The call service statistics collection unit 202 is notified of the progress of the real-time operation, and the statistical information notified to the call service statistics collection unit 202 is provided to the system manager 12 through the application program interface 210 provided in advance. It is delivered to the billing / statistics unit 219 via the application program interface 212 of the and is stored in the operation / management information database 218. The various information and data to be referred to in this real time task utilize the control data 204 in the shared area on the memory.

제어 데이터(204)는 시스템 관리기(12)를 통하여 변경되고 유지되는 것과 교환 제어기(11)내에서 발생되는 사건에 의하여 변경된다. 여기서, 교환 제어기(11)내의 사건은 실질적인 서비스와 장애 상태 변경이다.The control data 204 is changed by being changed and maintained through the system manager 12 and by the events occurring in the exchange controller 11. Here, the event in the exchange controller 11 is the actual service and failure state change.

장애 상태의 변경은 상태 감시부(205) 및 시험부(206)에 의하여 변경된다. 또한, 장애의 변경은 응용 프로그램 인터페이싱부(210,212)를 통하여 시스템 관리기(12)의 장애 분석 및 경보 출력부(217)에 전달되며, 전달된 내용은 운용/관리 정보 데이터베이스(218)에 수록됨과 동시에 공통 게이트웨이인 운용 인터페이싱부(225)를 경유하여 웹 서버(226)를 통해 운용 관리자의 웹 브라우저(228)로 출력되고 통합 망 관리 응용 프로그램 인터페이싱부(227)를 통하여 통합 망 관리부(229)에 전달된다.The change of the fault state is changed by the state monitoring unit 205 and the testing unit 206. In addition, the change of the failure is transmitted to the failure analysis and alarm output unit 217 of the system manager 12 through the application interface unit 210, 212, the contents are delivered to the operation / management information database 218 and at the same time It is output to the web browser 228 of the operation manager via the web server 226 via the management interface 225 which is a common gateway, and is transmitted to the integrated network manager 229 through the integrated network management application interface 227. do.

시스템 관리기(12)에서 교환 제어기(11)의 제어 데이터(204)를 변경시에는, 운용 관리자나 망관리 센터에서의 요구에 의하여 변경된다.When the system manager 12 changes the control data 204 of the switching controller 11, it is changed by a request from an operation manager or a network management center.

운용 관리자의 요구는 웹 서버(226)와 웹 브라우저(228)를 이용하여 구현된 공통 게이트 웨이인 운용 인터페이싱부(225)를 경유하게 된다. 그리고, 운용 인터페이스는 입력된 명령어를 분석하여 해당하는 시스템 관리기(12)내의 프로그램(213 내지 216)을 동작시킨다.The request of the operation manager is via the operation interface 225, which is a common gateway implemented using the web server 226 and the web browser 228. The operation interface analyzes the input command to operate the programs 213 to 216 in the corresponding system manager 12.

예를들면, 신호점 등록, 번호 등록, 루트 등록, 및 서비스 등록(213)의 운용자 요구가 입력되면, 운용 인터페이싱부(225)를 경유하여 해당하는 프로그램(213)이 동작되어 운용/관리 정보 데이터베이스(218)를 변경한 후에, 응용 프로그램 인터페이스싱부(212,210)를 경유하여 교환 제어기(11)의 서비스 제어부(207)를 통해 제어 데이터(204)를 변경하고, 변경된 제어 데이터(204)를 기반으로 실시간 기능이 동작된다.For example, when an operator request for signal point registration, number registration, route registration, and service registration 213 is input, the corresponding program 213 is operated via the management interface 225 to operate the operation / management information database. After changing 218, the control data 204 is changed through the service control unit 207 of the exchange controller 11 via the application program interface 212 and 210, and based on the changed control data 204 in real time. The function is activated.

한편, 시동 관리에 관련된 요구가 입력되면, 시동 관리부(214)가 교환 제어기(11)의 시동 제어부(209)와 상호 교류하여 필요한 기능을 교환 제어기(11)에 적재시킨다.On the other hand, when a request relating to startup management is input, the startup management unit 214 interacts with the startup control unit 209 of the exchange controller 11 to load the necessary functions into the exchange controller 11.

그리고, 교환기 구성 변경 요구가 입력되면, 형상 변경부(215)가 동작되어 교환 제어기(11)의 형상 제어부(208)를 경유하여 제어 데이터(204)에 형상 관련 사항을 변경시킨다.Then, when an exchange configuration change request is input, the shape change unit 215 is operated to change the shape related matters in the control data 204 via the shape control unit 208 of the exchange controller 11.

시험이나 감시의 진행 여부에 대한 제어 명령어가 입력되면, 시스템 제어부(216)가 동작되어 교환 제어기(11)내의 상태 감시부(205) 또는 시험부(206)를 경유하여 제어 데이터(204)를 변경한다.When a control command for whether a test or monitoring is in progress is input, the system control unit 216 is operated to change the control data 204 via the state monitoring unit 205 or the test unit 206 in the exchange controller 11. do.

이와 같이, 시스템 관리기(12)에서 운용자 명령어에 의하여 변경된 내용은 시스템 관리기(12)의 운용/관리 정보 데이터베이스(218)와 제어 데이터(204)에 반영되고, 교환 제어기(11)에서 발생하는 사건도 제어 데이터(204)와 시스템 관리기(12)의 운용/관리 정보 데이터베이스(218)에 수록된다.As such, the contents changed by the operator command in the system manager 12 are reflected in the operation / management information database 218 and the control data 204 of the system manager 12, and the event occurring in the exchange controller 11 is also included. It is stored in the control data 204 and the operation / management information database 218 of the system manager 12.

따라서, 각종 정보의 출력이나 서비스 및 자원의 상태에 관련된 명령어는 시스템 관리기(12) 자체에서 수행될 수 있다. 이러한 시스템 관리기(12)의 기능으로 호 제어 정보 출력부(220), 자원의 상태 출력부(221), 과금 통계 정보 출력부(222), 형상 출력부(223), 시스템 제어 정보 출력부(224)가 있다.Thus, commands related to the output of various information or the status of services and resources may be performed by the system manager 12 itself. As a function of the system manager 12, the call control information output unit 220, the resource status output unit 221, the charging statistics information output unit 222, the shape output unit 223, and the system control information output unit 224. There is).

이상에서와 같이, 본 발명이 적용되는 유연한 교환시스템 구성을 위한 소프트웨어의 구조는 교환 제어기(11)의 프로세서(114)에 있는 소프트웨어 사이에 메시지 통신을 사용하지 않고, 시스템 관리기(12)내에 있는 소프트웨어 사이에도 메시지 통신을 사용하지 않는다. 그리고, 교환 제어기(11)의 프로세서와 시스템관리기(12)의 프로세서 사이에 메시지 통신을 직접적으로 응용 소프트웨어들이 사용하지 않고, 응용 프로그램 인터페이싱부(210,212)를 사용하기 때문에 소프트웨어를 시스템 구조 독립적인 소프트웨어로 작성할 수 있어 교환시스템 소프트웨어의 재사용성을 증가시킬 수 있다.As described above, the structure of the software for the flexible switching system configuration to which the present invention is applied is the software in the system manager 12 without using message communication between the software in the processor 114 of the switching controller 11. Do not use message communication between them. In addition, since the application software does not directly use message communication between the processor of the exchange controller 11 and the processor of the system manager 12, and uses the application program interface units 210 and 212, the software is converted into system independent software. Can increase the reusability of the exchange system software.

도 3 은 본 발명에 따른 교환 제어기와 시스템 관리기 사이의 원격 프로그램 수행 관계를 나타낸 일실시예 설명도로서, 교환 제어기쪽에서 시스템 관리기의 프로그램을 수행시키는 인터페이스 관계를 나타낸다.3 is an exemplary explanatory diagram illustrating a remote program execution relationship between the exchange controller and the system manager according to the present invention, and illustrates an interface relationship for executing a program of the system manager on the exchange controller side.

본 실시예는 실시간 기능은 교환 제어기(11)에서 실행하고 실시간 특성이 적은 데이터 처리 기능은 시스템 관리기(12)에서 분리하여 처리하는 교환시스템에서 두 기능 사이에 정보를 교류하는 인터페이스 방법에 있어서, 교환 제어기(11)에서 시스템 관리기(12)에 있는 프로그램을 원격 프로그램 호출 인터페이스를 이용하여 수행시키는 인터페이스 방법에 관한 것이다.In the present embodiment, in the interface method of exchanging information between two functions in an exchange system in which a real time function is executed by the exchange controller 11 and a data processing function having less real time characteristics is separated and processed by the system manager 12, An interface method for executing a program in the system manager 12 in a controller 11 using a remote program call interface.

도 3을 참조하면, 교환기에 있는 제어 기능이 시스템 관리기(12)에 프로그램을 수행시켜야 하는 경우에, 교환 제어기(11)내의 교환기 제어부(301)는 원격 프로그램 수행 요구 처리부(302)를 호출한다.Referring to Fig. 3, when the control function in the exchange needs to execute a program to the system manager 12, the exchange control unit 301 in the exchange controller 11 calls the remote program execution request processing unit 302.

원격 프로그램 수행 요구 처리부(302)가 호출되면, 교환 제어기(11)의 원격 프로그램 수행 요구 처리부(302)는 프로그램과 일련의 입력 인수의 의미를 갖는 문자열 값을 입력받아, 시스템 관리기(12) 사이에 구현된 통신 프로토콜을 이용하여 시스템 관리기(12)에 문자열 값을 메시지 통신으로 전달한다. 이때, 시스템 관리기(12)내에 있는 원격 프로그램 처리부(303)가 항상 동작하면서 교환제어기(11)의 원격 프로그램 요구 처리부(302)로부터 전달된 메시지를 수신한다.When the remote program execution request processing unit 302 is called, the remote program execution request processing unit 302 of the exchange controller 11 receives a string value having a meaning of a program and a series of input arguments, and is connected between the system manager 12. The string value is transmitted to the system manager 12 through message communication using the implemented communication protocol. At this time, the remote program processing unit 303 in the system manager 12 always operates and receives a message transmitted from the remote program request processing unit 302 of the exchange controller 11.

시스템 관리기(12)내의 원격 프로그램 처리부(303)는 처리 큐와 메시지 리스트를 관리하고, 처리 큐와 메시지 리스트에 있는 수신된 메시지를 조합하여 시스템 관리기(12)에 있는 교환기 운용/관리 프로그램(304)중에서 해당되는 프로그램을 동작시킨다.The remote program processing unit 303 in the system manager 12 manages the processing queue and the message list, combines the received messages in the processing queue and the message list, and exchanges the operation / management program 304 in the system manager 12. Run the corresponding program.

시스템 관리기(12)는 운용체계로 유닉스와 같은 범용 운용체계(305)를 사용한다. 이때, 교환 제어기(11)와 시스템 관리기(12) 사이에 전달되는 메시지(306)에는 프로그램 이름, 원격 프로그램을 수행하기를 요구한 프로세스의 구분자, 한 개 이상의 메시지가 필요한 경우의 메시지 번호, 및 프로그램에 전달된 매개 변수인 입력 문자열들이 메시지에 삽입된다. 그리고, 시스템 관리기(12)에서 응답하는 메시지인 경우에는 프로그램 수행의 정상 여부를 표시하는 수행 코드가 입력 문자열 대신 삽입된다.The system manager 12 uses a general operating system 305 such as Unix as the operating system. In this case, the message 306 transmitted between the exchange controller 11 and the system manager 12 includes a program name, a separator of a process requiring a remote program to be executed, a message number when one or more messages are needed, and a program. The input strings, the parameters passed to, are inserted into the message. If the message is a response from the system manager 12, execution code indicating whether the program execution is normal is inserted instead of the input string.

본 발명은 교환기의 디바이스를 제어하는 교환 제어기(11)와 구성된 교환기를 관리하는 시스템 관리기(12)로 분리된 교환시스템에서 시스템 구성의 유연성을 제공하기 위하여 시스템 종속성이 약하면서 독립적인 진화가 가능한 상기 도 2와 같은 소프트웨어 구조를 바탕으로 원격 라이브러리 처리부(305)를 교환 제어기(11)에 위치시켜 교환기 제어부(301)에서 호출할 수 있도록 구성하고, 시스템 관리기(12)에서 원격 프로그램 수행 요구 처리를 위해 처리 큐와 메시지 리스트를 관리하여 시스템 관리기(12)의 교환기 운용 및 관리 프로그램(304)을 수행시킨다.The present invention provides the above system capable of independent evolution with weak system dependencies in order to provide flexibility of system configuration in an exchange system separated into an exchange controller 11 for controlling a device of an exchange and a system manager 12 for managing an exchange. Based on the software structure as shown in FIG. 2, the remote library processing unit 305 is located in the exchange controller 11 so that the exchange control unit 301 can be called, and the system manager 12 processes the remote program execution request. The queue and message list are managed to execute the exchange operation and management program 304 of the system manager 12.

여기에서는 교환 제어기(11)와 시스템 관리기(12) 사이에 원격 프로그램 수행을 실현하기 위한 방법으로 사용되는 메시지 통신에 있어서 프로그램 이름과 요구 프로세스 구분자와 메시지의 일련 번호와 메시지내에 포함되어 있는 입력 문자열의 크기와 입력 문자열을 포함하도록 한다.Here, in the message communication used as a method for realizing remote program execution between the exchange controller 11 and the system manager 12, the program name and request process identifier, the serial number of the message, and the input string contained in the message are used. Be sure to include the size and input string.

도 4 도는 본 발명에 따른 원격 프로그램 수행 인터페이싱 방법중 교환 제어기에서의 원격 프로그램 수행 처리 과정에 대한 일실시예 상세 흐름도로서, 교환 제어기(11)가 시스템 관리기(12)의 원격 프로그램 처리부(303)의 수행을 요구하는 원격 프로그램 수행 과정을 나타낸다.4 is a detailed flowchart illustrating a remote program execution process in an exchange controller in the remote program execution interfacing method according to the present invention, in which the exchange controller 11 of the remote program processor 303 of the system manager 12 is used. Shows the remote program execution process that requires execution.

본 실시예에서는 교환 제어기(11)에서 원격 프로그램을 요구할 때에 원격 프로그램 수행 요구 처리부(302)가 프로그램 이름과 요구 프로세서 구분자와 입력 문자열의 크기를 전달할 문자열의 크기가 최대 문자열보다 크지 않도록 하여 시스템 관리기(12)에 메시지를 전송하고 마지막 메시지인 경우에는 메시지 번호를 0으로 하여 원격 프로그램 수행 요청 메시지(306)를 구성하여 전달한다.In this embodiment, when the exchange controller 11 requests a remote program, the remote program execution request processing unit 302 prevents the size of the string to which the program name, the request processor delimiter, and the size of the input string are transmitted to be larger than the maximum string. In step 12), if the message is the last message, the remote program execution request message 306 is configured and delivered with the message number 0.

도 4에 도시된 바와 같이, 본 발명에 따른 원격 프로그램 수행 인터페이싱 방법중 교환 제어기에서의 원격 프로그램 수행 처리 과정은, 먼저 교환 제어기(11)의 원격 프로그램 수행 요구 처리부(302)가 호출되어, 원격 프로그램 수행 요구 처리부(302)에서 호출과 함께 넘어오는 일련의 문자열에서 프로그램 이름을 분리하여 전달할 메시지에 할당하고(401), 원격지의 프로그램 수행을 요구한 프로세스의 구분자를 할당한다(402). 이후에, 원격 프로그램 수행을 요구하는 첫 메시지를 나타내는 메시지 번호를 1로 할당하고(403), 입력 문자열의 크기를 0으로 초기화한다(404).As shown in FIG. 4, in the remote program execution interfacing method according to the present invention, in the remote program execution processing in the exchange controller, the remote program execution request processing unit 302 of the exchange controller 11 is called and the remote program is executed. The execution request processing unit 302 separates a program name from a series of strings passed along with the call and assigns it to a message to be transmitted (401), and allocates a delimiter of a process requesting to perform a remote program execution (402). Thereafter, the message number indicating the first message requesting the remote program execution is assigned to 1 (403), and the size of the input string is initialized to 0 (404).

이후, 입력 문자열의 크기와 메시지내에서 수용할 수 있는 인수의 최대 크기를 비교한다(405).Then, the size of the input string is compared with the maximum size of the argument that can be accommodated in the message (405).

비교결과, 현재 입력 문자열의 크기가 최대 문자열 크기보다 크면, 메시지를 시스템 관리기(12)로 전송한 후에(406), 입력 문자열의 크기를 0으로 초기화하고 메시지 번호를 하나씩 증가시킨다(메시지번호=메시지번호+1)(407). 이후에, 현재 입력 문자를 메시지에 할당한 후에(408), 모든 문자열의 메시지 할당이 종료되었는지를 검사한다(409). 여기서, 입력 문자열의 크기는 하나씩 순차적으로 증가한다(입력 문자열 크기=입력 문자열 크기 +1).As a result of the comparison, if the size of the current input string is larger than the maximum string size, after the message is sent to the system manager 12 (406), the size of the input string is initialized to 0 and the message number is incremented by one (message number = message). Number + 1) (407). Thereafter, after allocating the current input character to the message (408), it is checked whether the message allocation of all strings has been completed (409). Here, the size of the input string is sequentially increased one by one (input string size = input string size +1).

비교결과, 현재 입력 문자열의 크기가 최대 문자열 크기보다 크지 않으면, 입력 문자를 메시지에 할당한 후에(408), 모든 문자열의 메시지 할당이 종료되었는지를 검사한다(409).As a result of the comparison, if the size of the current input string is not larger than the maximum string size, after the input character is assigned to the message (408), it is checked whether the message allocation of all the strings is finished (409).

검사결과, 모든 문자열 할당이 종료되지 않았으면, 다음 문자열을 처리하기 위해(410), 다음 입력 문자열의 크기와 메시지내에서 수용할 수 있는 인수의 최대 크기를 비교한다(405).If the result of the check is that all string allocation has not been completed, to process the next string (410), the size of the next input string is compared with the maximum size of an argument that can be accepted in the message (405).

검사결과, 모든 문자열을 할당하였으면, 메시지 번호를 0으로 설정한 후에(411), 메시지를 시스템 관리기(12)로 전송한다(412). 여기서, 메시지 번호 0은 마지막 메시지임을 나타낸다.If all the character strings have been allocated as a result of the check, after setting the message number to 0 (411), the message is transmitted to the system manager 12 (412). Here, message number 0 indicates that this is the last message.

이처럼, 교환 제어기(11)의 원격 프로그램 요구 처리부(302)는 모든 메시지를 시스템 관리기(12)의 원격 프로그램 처리부(303)에 전송한다.As such, the remote program request processing unit 302 of the exchange controller 11 transmits all messages to the remote program processing unit 303 of the system manager 12.

만약, 교환 제어기(11)에 시스템 관리기(12)로부터 프로그램 동작 여부 결과가 수신되면(413), 교환 제어기(11)의 원격 프로그램 수행 요구 처리부(302)에서는 결과의 내용에 오류가 발생하였거나 수신 시간을 초과하였는지를 분석한다(414).If the exchange controller 11 receives the result of program operation from the system manager 12 (413), the remote program execution request processing unit 302 of the exchange controller 11 has an error in the content of the result or the reception time. Analyze if exceeded (414).

분석결과, 수신 결과에 오류가 발생하였거나 수신 시간이 초과되었으면, 반환값에 오류 번호를 할당하여(415) 비정상적으로 수행되었음을 교환기 제어부(301)로 반환하고(417), 수신결과가 정상이면 반환값을 성공으로 할당하여(416) 정상적으로 수행되었음을 교환기 제어부(301)로 반환한다(417).As a result of the analysis, if an error occurs in the reception result or the reception time is exceeded, an error number is assigned to the return value (415) and returned to the exchange control unit 301 that it has been abnormally performed (417). (416) and returns to the exchange controller 301 that the operation was successful (417).

도 5 는 본 발명에 따른 원격 프로그램 수행 인터페이싱 방법중 시스템 관리기에서의 원격 프로그램 수행 처리 과정에 대한 일실시예 상세 흐름도로서, 시스템 관리기에서 교환 제어기로부터 호출된 원격 프로그램을 수행시키는 과정을 나타낸다.FIG. 5 is a detailed flowchart illustrating a remote program execution process in a system manager in a remote program execution interfacing method according to the present invention, and illustrates a process of executing a remote program called from an exchange controller in the system manager.

본 실시예에서는 시스템 관리기(12)에서 요구된 프로그램을 수행시키고 그 결과를 전달함에 있어서, 프로그램 수행 요구 메시지를 수신하여 메시지 리스트에 삽입한 후에 메시지 번호가 0이면 처리 큐에 입력시킨 후에 처리 큐에서 한 개의 개체를 삭제하여 추출하고 메시지 리스트에서 동일한 라이브러리를 위한 메시지를 검색하고 메시지를 조합하여 프로그램을 수행시킬 수 있는 준비를 한다.In the present embodiment, the system manager 12 executes the requested program and delivers the result thereof. After receiving and inserting the program execution request message into the message list, if the message number is 0, the message is entered into the processing queue and then in the processing queue. Delete and extract a single object, retrieve a message from the message list for the same library, and prepare the program to run the message together.

그리고, 본 실시예에서는 메시지 조합이 정상적으로 이루어 졌을 때에 프로그램 이름과 동일한 프로그램을 수행시키기 위하여 자 프로세스 이미지를 생성하고 해당하는 프로그램을 찾아서 수행을 시키고 자 프로세스로 요구된 프로그램을 수행시킨 것에 대한 처리 결과를 교환 제어기(11)에 전달한다.In the present embodiment, when the message combination is normally performed, in order to execute the same program as the program name, the child process image is generated, the corresponding program is found and executed, and the processing result for executing the program requested by the child process is shown. Transfer to exchange controller 11.

도 5에 도시된 바와 같이, 본 발명에 따른 원격 프로그램 수행 인터페이싱방법중 시스템 관리기에서의 원격 프로그램 수행 처리 과정은, 먼저 시스템 관리기(12)의 원격 프로그램 처리부(303)가 무한 수행 동작중에 원격 프로그램 수행 요청 메시지를 수신하면(501), 메시지 리스트에 수신된 메시지를 삽입한다(502).As shown in FIG. 5, in the remote program execution interfacing method according to the present invention, the remote program execution process in the system manager may be performed by the remote program processor 303 of the system manager 12 during an infinite execution operation. Upon receiving the request message (501), it inserts the received message into the message list (502).

이후, 수신된 메시지 번호가 0인지를 분석하여(503), 수신된 메시지 번호가 0일 때만 원격 프로그램 수행을 요구하는 마지막 메시지이므로 메시지를 처리 큐에 삽입한 후에(504), 처리 큐의 개체 수가 0보다 큰지를 검사한다(505).Then, after analyzing whether the received message number is 0 (503), and inserting the message into the processing queue because the last message requiring remote program execution only when the received message number is 0 (504), the number of objects in the processing queue Check if greater than zero (505).

검사결과, 처리 큐의 개체 수가 0이면(즉, 큐가 비어 있으면), 수행시켜야 할 프로그램이 없는 것이므로 프로그램 수행 요구 메시지 수신 단계(501)로 천이한다.If the result of the check is that the number of objects in the processing queue is zero (that is, the queue is empty), there is no program to be executed, and therefore, the process transitions to the program execution request message receiving step 501.

검사결과, 처리 큐의 개체 수가 0보다 크면(즉, 큐가 비어 있지 않으면), 처리 큐에 수행시켜야 할 프로그램이 있는 것으로 한 개의 처리 객체를 삭제하고 개체를 추출한다(506).If the result of the check is that the number of objects in the processing queue is greater than zero (ie, the queue is not empty), there is a program to be executed in the processing queue, and one processing object is deleted and the object is extracted (506).

다음으로, 선택된 개체와 동일한 프로그램 이름과 호출 프로세스가 동일한 메시지를 메시지 리스트에서 모두 검색하여(507) 검색된 메시지들을 순서대로 조합한 후에(508), 조합된 메시지들에 오류가 있는지를 판단한다(509).Next, the same program name and calling process as the selected entity retrieve all the same messages from the message list (507), combine the retrieved messages in order (508), and determine whether there are errors in the combined messages (509). ).

판단결과, 메시지 조합에 순서상의 오류가 있으면, 오류 횟수가 n회 이상인지를 검사한다(510).As a result of the determination, if there is an error in the sequence of message combinations, it is checked whether the number of errors is n or more (510).

검사결과, 오류 횟수가 n회 이상이면, 메시지 리스트에서 검색한 메시지들을 삭제한 후에(511), 프로그램 수행 요구 메시지 수신 단계(501)로 천이한다.As a result of the check, if the error number is n or more times, the message is retrieved from the message list (511), and then the process proceeds to the program execution request message receiving step (501).

검사결과, 오류 횟수가 n회 미만이면, 처리 큐에 개체를 재삽입한 후에(512), 해당 라이브러리에 대한 오류 횟수도 함께 저장하고 프로그램 수행 요구 메시지 수신 단계(501)로 천이한다.As a result of the check, if the number of errors is less than n, after reinserting the object into the processing queue (512), the number of errors for the corresponding library is also stored and the program transition request message reception step 501 is executed.

판단결과, 메시지 조합에 순서상의 오류가 없으면, 메시지 리스트에서 검색한 메시지들을 삭제한 후에(513), 운용체계(305)에서 자 프로세스의 영역을 확보하기 위하여 메모리상에 자 프로세스의 이미지를 확보한다(514).As a result of determination, if there is no error in the sequence of messages, after deleting the retrieved messages from the message list (513), the operating system 305 secures an image of the child process in memory to secure the area of the child process. (514).

이미지가 확보되면(514), 메시지에 있는 프로그램 이름과 동일한 이름의 프로그램을 찾아서 자 프로세스로 수행시킨다(515).Once the image is obtained (514), a program having the same name as the program name in the message is found and executed by the child process (515).

이러한 자 프로세스의 처리 과정을 살펴보면, 먼저 메시지 번호를 0로 하고(516), 반환 코드를 정상값으로 초기화한 후에(517), 프로그램 수행이 실패하였는지를 분석한다(518).Looking at the process of the child process, first the message number is set to 0 (516), the return code is initialized to the normal value (517), and then the program execution is analyzed (518).

분석결과, 프로그램 수행이 실패이면, 반환 코드에 오류 번호를 할당하고(519) 이러한 실패 결과 메시지를 원격 프로그램 수행 요구 처리부(302)로 전송한 후에(520), 프로그램 수행 요구 메시지 수신 단계(501)로 천이한다.As a result of the analysis, if the program execution fails, an error number is assigned to the return code (519), and after the failure result message is transmitted to the remote program execution request processing unit 302 (520), the program execution request message receiving step 501 To transition to.

분석결과, 프로그램 수행이 성공이면, 이러한 성공 결과 메시지를 원격 프로그램 수행 요구 처리부(302)로 전송한 후에(520), 프로그램 수행 요구 메시지 수신 단계(501)로 천이한다.As a result of the analysis, if the program execution is successful, the success result message is transmitted to the remote program execution request processing unit 302 (520), and then the process transitions to the program execution request message receiving step 501.

상기한 바와 같은 본 발명은, 교환기를 구성하고 있는 하드웨어나 운용체계의 상이함에 최소 영향을 받으면서 교환 기능을 구현할 수 있어 응용 기능의 발전과 재사용성을 확보하고, 통일된 교환기 소프트웨어 플랫폼을 제공할 수 있다.As described above, the present invention can implement the exchange function with the least influence on the difference in the hardware or the operating system constituting the exchange, thereby ensuring the development and reusability of application functions, and providing a unified exchange software platform. have.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.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, and the above-described embodiments and accompanying It is not limited to the drawing.

상기한 바와 같은 본 발명은, 분산 처리를 기반으로 하는 전전자 교환기에서 실시간 특성과 정보처리 특성의 소프트웨어를 특성에 따라 역할 분담하여 동작할 때에, 필요한 상호간의 인터페이스 방식을 원격 프로그램 수행 인터페이스를 사용하여 프로토콜과 같은 시스템의 제약성의 영향을 받지 않도록 하면서 응용 프로그램을 쉽게 구성하여 응용 기능의 재사용성을 높일 수 있는 효과가 있다.As described above, the present invention uses a remote program execution interface to implement a mutual interface method that is required when operating software in a real time characteristic and information processing characteristic according to a characteristic in an electronic switching system based on distributed processing. The application can be easily configured to increase the reusability of application functions without being affected by system constraints such as protocols.

Claims (6)

분산된 구조의 제어 프로세서로 구성된 교환 제어기와 워크스테이션으로 구성된 시스템 관리기를 포함하는 교환시스템에 적용되는 원격 프로그램 수행 인터페이싱 방법에 있어서,A remote program execution interfacing method applied to an exchange system including a system controller comprising a switch controller and a workstation configured as a control processor having a distributed structure, the method comprising: 상기 교환 제어기의 교환기 제어부가 원격 프로그램 수행 요구 처리부를 호출하는 제 1 단계;A first step of the exchange controller of the exchange controller calling a remote program execution request processing unit; 호출된 원격 프로그램 수행 요구 처리부가 프로그램과 일련의 입력 인수의 의미를 갖는 문자열 값을 입력받아, 원격 프로그램 수행 요구 메시지를 구성하여 통신 프로토콜을 통해 상기 시스템 관리기로 전송하는 제 2 단계;A second step of receiving, by the called remote program execution request processing unit, a string value having a meaning of a program and a series of input arguments, and constructing a remote program execution request message to the system manager through a communication protocol; 상기 시스템 관리기의 원격 프로그램 처리부가 상기 원격 프로그램 수행 요구 처리부로부터의 원격 프로그램 수행 요구에 따라, 처리 큐와 메시지 리스트에 있는 수신된 메시지를 조합하여 교환기 운용/관리 프로그램내의 해당 프로그램을 동작시킨 후에, 그 수행 결과를 상기 원격 프로그램 수행 요구 처리부로 알리는 제 3 단계; 및In response to a remote program execution request from the remote program execution request processing unit, operating the corresponding program in the exchange operation / management program by combining the received message in the processing queue with the message list. A third step of notifying an execution result to the remote program execution request processing unit; And 상기 원격 프로그램 수행 요구 처리부가 상기 시스템 관리기의 원격 프로그램 처리부로부터 전달받은 결과를 상기 교환기 제어부로 반환하는 제 4 단계A fourth step of returning the result received from the remote program processor of the system manager to the switch controller by the remote program execution request processor; 를 포함하는 교환시스템에서의 원격 프로그램 수행 인터페이싱 방법.Remote program execution interfacing method in a switching system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 원격 프로그램 수행 요구 메시지는,The remote program execution request message, 실질적으로, 프로그램 이름, 원격 프로그램을 수행하기를 요구한 프로세스의 구분자, 한 개 이상의 메시지가 필요한 경우의 메시지의 일련번호, 메시지내에 포함되어 있는 입력 문자열의 크기, 그리고 입력 문자열(입력인수) 정보를 포함하는 것을 특징으로 하는 교환시스템에서의 원격 프로그램 수행 인터페이싱 방법.In practice, the program name, the identifier of the process that required the remote program to run, the serial number of the message if more than one message is required, the size of the input string contained in the message, and the input string (input argument) information Remote program execution interfacing method in a switching system comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 2 단계는,The second step, 상기 교환 제어기의 상기 원격 프로그램 요구 처리부가 호출과 함께 넘어오는 일련의 문자열에서 프로그램 이름을 분리하여 전달할 메시지에 할당하고, 원격지의 프로그램 수행을 요구한 프로세스의 구분자를 할당하는 제 5 단계;A fifth step of dividing a program name from a series of strings transmitted with the call by the remote program request processing unit of the exchange controller and assigning the program name to a message to be transmitted, and allocating a separator of a process requesting to perform a remote program; 원격 프로그램 수행을 요구하는 첫 메시지를 나타내는 메시지 번호를 일("1")로 할당하고, 입력 문자열의 크기를 영("0")으로 초기화시키는 제 6 단계;A sixth step of allocating a message number indicating a first message requiring remote program execution to be one ("1") and initializing the size of the input string to zero ("0"); 입력 문자열의 크기와 메시지내에서 수용할 수 있는 인수의 최대 크기를 비교하는 제 7 단계;A seventh step of comparing the size of the input string with the maximum size of arguments that can be accommodated in the message; 상기 제 7 단계의 비교결과, 현재 입력 문자열의 크기가 최대 문자열 크기보다 크면, 메시지를 상기 시스템 관리기로 전송한 후에, 입력 문자열의 크기를 영("0")으로 초기화하고 메시지 번호를 순차적으로 증가시키는 제 8 단계;As a result of the comparison in the seventh step, if the size of the current input string is larger than the maximum string size, after the message is sent to the system manager, the size of the input string is initialized to zero ("0") and the message number is sequentially increased. An eighth step to make; 현재 입력 문자를 메시지에 할당한 후에, 모든 문자열의 메시지 할당이 종료되었는지를 검사하는 제 9 단계;A ninth step of checking whether message allocation of all character strings is finished after allocating a current input character to the message; 상기 제 7 단계의 비교결과, 현재 입력 문자열의 크기가 최대 문자열 크기보다 크지 않으면, 상기 제 9 단계로 넘어가는 제 10 단계;A tenth step if the size of the current input string is not greater than the maximum string size, as a result of the comparison in the seventh step; 상기 제 9 단계의 검사결과, 모든 문자열 할당이 종료되지 않았으면 다음 문자열을 수행하기 위해 상기 제 5 단계로 넘어가고, 모든 문자열을 할당하였으면 마지막 메시지에 대해 메시지 번호를 영("0")으로 설정한 후에, 마지막 메시지를 상기 시스템 관리기로 전송하는 제 11 단계;As a result of the check of the ninth step, if all strings have not been allocated, the process proceeds to the fifth step to perform the next string. If all the strings have been allocated, the message number is set to zero ("0") for the last message. An eleventh step of sending a last message to the system manager; 상기 시스템 관리기로부터 프로그램 동작 여부 결과가 수신되면, 상기 교환 제어기가 결과의 내용에 오류가 발생하였거나 수신 시간을 초과하였는지를 분석하는 제 12 단계; 및A twelfth step of analyzing, by the exchange controller, whether a program operation result is received from the system manager whether an error occurs in the content of the result or the reception time has been exceeded; And 상기 제 12 단계의 분석결과, 수신 결과에 오류가 발생하였거나 수신 시간이 초과되었으면, 반환값에 오류 번호를 할당하여 비정상적으로 수행되었음을 반환하고, 수신결과가 정상이면 반환값을 성공으로 할당하여 정상적으로 수행되었음을 반환하는 제 13 단계As a result of the analysis of the twelfth step, if an error occurs in the reception result or the reception time is exceeded, an error number is assigned to the return value and returned abnormally. If the reception result is normal, the return value is successively assigned and the operation is performed normally. 13th step to return 를 포함하는 교환시스템에서의 원격 프로그램 수행 인터페이싱 방법.Remote program execution interfacing method in a switching system comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 3 단계는,The third step, 상기 시스템 관리기의 상기 원격 프로그램 처리부가 무한 수행 동작중에 원격 프로그램 수행 요청 메시지를 수신하면, 메시지 리스트에 수신된 메시지를 삽입하는 제 5 단계;A fifth step of inserting the received message into a message list when the remote program processor of the system manager receives a remote program execution request message during an infinite execution operation; 상기 수신된 메시지의 번호가 영("0")인지(즉, 마지막 메시지인지)를 분석하여, 수신된 메시지 번호가 영("0")이면 원격 프로그램 수행을 요구하는 마지막 메시지이므로 메시지를 처리 큐에 삽입한 후에, 처리 큐의 개체 수가 영("0")보다 큰지를 검사하는 제 6 단계;Analyzes whether the received message number is zero ("0") (i.e., the last message). If the received message number is zero ("0"), it is the last message requiring remote program execution. A sixth step after checking whether the number of objects in the processing queue is greater than zero ("0"); 상기 제 6 단계의 검사결과, 처리 큐의 개체 수가 영("0")이면(즉, 큐가 비어 있으면) 수행시켜야 할 프로그램이 없는 것이므로 상기 제 5 단계로 넘어가고, 처리 큐의 개체 수가 영("0")보다 크면(즉, 큐가 비어 있지 않으면) 처리 큐에 수행시켜야 할 프로그램이 있는 것으로 한 개의 처리 객체를 삭제하고 개체를 추출하는 제 7 단계;As a result of the check in the sixth step, if the number of objects in the processing queue is "0" (that is, if the queue is empty), there is no program to execute, and the process proceeds to the fifth step. Greater than " 0 " (i.e., if the queue is not empty), there is a program to be executed in the processing queue, and the seventh step of deleting one processing object and extracting the object; 선택된 개체와 동일한 프로그램 이름과 호출 프로세스가 동일한 메시지를 메시지 리스트에서 모두 검색하여 검색된 메시지들을 순서대로 조합한 후에, 조합된 메시지들에 오류가 있는지를 판단하는 제 8 단계;An eighth step in which the same program name and calling process as the selected entity retrieve all the same messages from the message list and combine the retrieved messages in order, and then determine whether there are errors in the combined messages; 상기 제 8 단계의 판단결과, 메시지 조합에 순서상의 오류가 있으면, 오류 횟수가 소정의 값(n) 이상인지를 검사하는 제 9 단계;A ninth step of checking whether the number of errors is equal to or greater than a predetermined value (n) when there is an error in the sequence of messages as a result of the determination in the eighth step; 상기 제 9 단계의 검사결과, 오류 횟수가 상기 소정의 값(n) 이상이면, 메시지 리스트에서 검색한 메시지들을 삭제한 후에, 상기 제 5 단계로 넘어가는 제 10 단계;A tenth step if the number of errors is equal to or greater than the predetermined value (n), after deleting the searched messages in the message list, the process proceeds to the fifth step; 상기 제 9 단계의 검사결과, 오류 횟수가 상기 소정의 값(n) 미만이면, 처리 큐에 개체를 재삽입한 후에, 해당 라이브러리에 대한 오류 횟수도 함께 저장하고 상기 제 5 단계로 넘어가는 제 11 단계;As a result of the check in the ninth step, if the number of errors is less than the predetermined value n, after reinserting the object into the processing queue, the number of errors for the corresponding library is also stored and the eleventh step is passed to the fifth step. step; 상기 제 8 단계의 판단결과, 메시지 조합에 순서상의 오류가 없으면, 메시지 리스트에서 검색한 메시지들을 삭제한 후에, 운용체계에서 자 프로세스의 영역을 확보하기 위하여 메모리상에 자 프로세스의 이미지를 확보하는 제 12 단계;As a result of the determination of the eighth step, if there is no error in the sequence of message combination, after deleting the messages retrieved from the message list, the operating system obtains an image of the child process in the memory to secure the area of the child process. 12 steps; 메시지에 있는 프로그램 이름과 동일한 이름의 프로그램을 찾아서 자 프로세스를 수행시키는 제 13 단계;A thirteenth step of searching for a program having the same name as the program name in the message and executing the child process; 메시지 번호를 영("0")으로 설정하고, 반환 코드를 정상값으로 초기화한 후에, 프로그램 수행이 실패하였는지를 분석하는 제 14 단계;A fourteenth step of setting a message number to zero ("0"), and initializing a return code to a normal value and analyzing whether program execution has failed; 상기 제 14 단계의 분석결과, 프로그램 수행이 실패이면, 반환 코드에 오류 번호를 할당하고 이러한 실패 결과 메시지를 상기 원격 프로그램 수행 요구 처리부로 전송한 후에, 상기 제 5 단계로 넘어가는 제 15 단계; 및A fifteenth step, if the execution of the program results in failure of the fourteenth step, assigning an error number to a return code and transmitting the failure result message to the remote program execution request processing unit; And 상기 제 14 단계의 분석결과, 프로그램 수행이 성공이면, 이러한 성공 결과 메시지를 상기 원격 프로그램 수행 요구 처리부로 전송한 후에, 상기 제 5 단계로 넘어가는 제 16 단계If the result of the analysis of the fourteenth step, the program execution is successful, the sixteenth step to transfer to the fifth step after transmitting the success result message to the remote program execution request processing unit; 를 포함하는 교환시스템에서의 원격 프로그램 수행 인터페이싱 방법.Remote program execution interfacing method in a switching system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 교환시스템은,The exchange system, 실질적으로, 실시간 기능을 상기 교환 제어기에서 실행하고, 실시간 특성이 적은 데이터 처리 기능을 상기 시스템 관리기에서 분산 처리하는 것을 특징으로 하는 교환시스템에서의 원격 프로그램 수행 인터페이싱 방법.Substantially, a remote program execution interfacing method in a switching system, wherein a real time function is executed in the switching controller, and a data processing function having a low real time characteristic is distributed in the system manager. 원격 프로그램 수행 인터페이스를 위하여, 프로세서를 구비한 교환시스템에,In a switching system having a processor for a remote program execution interface, 교환 제어기의 교환기 제어부가 원격 프로그램 수행 요구 처리부를 호출하는 제 1 기능;A first function of causing the exchange controller of the exchange controller to call the remote program execution request processing unit; 호출된 원격 프로그램 수행 요구 처리부가 프로그램과 일련의 입력 인수의 의미를 갖는 문자열 값을 입력받아, 원격 프로그램 수행 요구 메시지를 구성하여 통신 프로토콜을 통해 상기 시스템 관리기로 전송하는 제 2 기능;A second function of receiving, by the called remote program execution request processing unit, a string value having a meaning of a program and a series of input arguments, and constructing a remote program execution request message to transmit to the system manager through a communication protocol; 상기 시스템 관리기의 원격 프로그램 처리부가 상기 원격 프로그램 수행 요구 처리부로부터의 원격 프로그램 수행 요구에 따라, 처리 큐와 메시지 리스트에 있는 수신된 메시지를 조합하여 교환기 운용/관리 프로그램내의 해당 프로그램을 동작시킨 후에, 그 수행 결과를 상기 원격 프로그램 수행 요구 처리부로 알리는 제 3 기능; 및In response to a remote program execution request from the remote program execution request processing unit, operating the corresponding program in the exchange operation / management program by combining the received message in the processing queue with the message list. A third function of notifying an execution result to the remote program execution request processing unit; And 상기 원격 프로그램 수행 요구 처리부가 상기 시스템 관리기의 원격 프로그램 처리부로부터 전달받은 결과를 상기 교환기 제어부로 반환하는 제 4 기능A fourth function of returning a result received from the remote program processor of the system manager to the switch controller by the remote program execution request processor; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019980052247A 1998-12-01 1998-12-01 Method for remote program execution interfacting in switching system KR100298208B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980052247A KR100298208B1 (en) 1998-12-01 1998-12-01 Method for remote program execution interfacting in switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980052247A KR100298208B1 (en) 1998-12-01 1998-12-01 Method for remote program execution interfacting in switching system

Publications (2)

Publication Number Publication Date
KR20000037616A KR20000037616A (en) 2000-07-05
KR100298208B1 true KR100298208B1 (en) 2001-08-07

Family

ID=19560754

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980052247A KR100298208B1 (en) 1998-12-01 1998-12-01 Method for remote program execution interfacting in switching system

Country Status (1)

Country Link
KR (1) KR100298208B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595089B1 (en) * 1999-10-13 2006-06-28 엘지엔시스(주) Financial terminal remote management apparatus and method
KR100461882B1 (en) * 2000-11-22 2004-12-14 엘지전자 주식회사 Software package application method for exchange system
KR100442599B1 (en) * 2001-09-06 2004-08-02 삼성전자주식회사 Message handling apparatus and method in exchange system using distributed objects of workstation

Also Published As

Publication number Publication date
KR20000037616A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
US20020087734A1 (en) System and method for managing dependencies in a component-based system
Cheng et al. Using architectural style as a basis for system self-repair
US6922705B1 (en) Access-method-independent exchange with communication request
US6519635B1 (en) SNMP master agent that translates messages to a sub-agent proprietary format using a translation table by the sub-agent
CA2582380C (en) Network management apparatus and method based on simple network management protocol
EP1838035A2 (en) Network device managing apparatus and method
US20020161859A1 (en) Workflow engine and system
US5729688A (en) Network element managing system
JP2001520777A (en) Interface for interfacing a client program to a network device in a telecommunications network
US20240118935A1 (en) Pod deployment method and apparatus
KR100298208B1 (en) Method for remote program execution interfacting in switching system
EP0787396A1 (en) Parallel execution of requests in osi agents
US5966713A (en) Method for determining the contents of a restoration log
KR100298206B1 (en) Method for remote library call interfacing in switching system
KR100308903B1 (en) Exchange management function system using ooad and method for the exchange resourses installation
US20050076343A1 (en) Persistent storage of network management data using object references
JP3937371B2 (en) Competition control method and competition control system
KR100316841B1 (en) Method for restarting an agent and apparatus thereof
KR100299057B1 (en) Method for ontrol data processing in switching system
US20080172552A1 (en) Method for the selective and collective transmission of messages in a tmn network
KR100293913B1 (en) Method for form filling command processing in switching system
KR100856258B1 (en) Charging data collection method by group service in mobile switching system
KR20000037612A (en) Method for modifying and repairing operation and management data in switching system
EP0890901A1 (en) Method, system and program storage for operating a group of computers
US20020040385A1 (en) Method and device for data communication, and a computer product

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: 4

LAPS Lapse due to unpaid annual fee