KR100584393B1 - Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system - Google Patents

Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system Download PDF

Info

Publication number
KR100584393B1
KR100584393B1 KR1019980058340A KR19980058340A KR100584393B1 KR 100584393 B1 KR100584393 B1 KR 100584393B1 KR 1019980058340 A KR1019980058340 A KR 1019980058340A KR 19980058340 A KR19980058340 A KR 19980058340A KR 100584393 B1 KR100584393 B1 KR 100584393B1
Authority
KR
South Korea
Prior art keywords
message
module
queue
generated
recorded
Prior art date
Application number
KR1019980058340A
Other languages
Korean (ko)
Other versions
KR20000042215A (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 KR1019980058340A priority Critical patent/KR100584393B1/en
Publication of KR20000042215A publication Critical patent/KR20000042215A/en
Application granted granted Critical
Publication of KR100584393B1 publication Critical patent/KR100584393B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2207/00Type of exchange or network, i.e. telephonic medium, in which the telephonic communication takes place
    • H04M2207/12Type of exchange or network, i.e. telephonic medium, in which the telephonic communication takes place intelligent networks

Abstract

본 발명은 ITU-T Q.1200 시리즈 권고안에 따른 지능망 교환시스템에 관한 것으로, 특히, 상기 권고안에 따라 별도의 머신(Machine)들 각각에 구현된 지능망 교환시스템의 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP )모듈을 한 머신내에 통합하여 구현하는 방법에 관한 것이다. 이러한 본 발명은, 상기 IP, SSM, SSM내에 각각 독립된 Rx 부분 및 Tx부분 프로세스를 생성하는 과정과, 상기 생성된 Tx부분 프로세스에 의해 상기 모듈내에 생성된 각 프로세스가 전송하고자 하는 메시지를 기록하고 기록된 메시지의 전송 버퍼로서 사용되는 프로세스 큐를 생성하는 과정과, 상기 생성된 Tx부분 프로세스에 의해 미리 정의된 키값을 가지며 상기 생성된 Rx부분 프로세스로 기록된 소정 메시지를 전달하는 Tx 메시지 큐를 생성하는 과정과, 상기 프로세스 큐와 상기 Tx 메시지 큐를 IPC(Inter Process Communication) 접속하여 상기 프로세스 큐에 기록된 메시지를 상기 Tx 메시지 큐로 전송하여 상기 Tx 메시지 큐에 기록하는 과정과, 상기 Rx부분 프로세스가 상기 Tx 메시지 큐의 생성 여부를 확인하여, 상기 Tx 메시지 큐의 생성이 확인된 경우, 상기 Tx 메시지 큐에 기록된 메시지를 독출하는 루프를 반복하여 수행하는 과정을 통해 이루어지는 한 머신상에 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP)모듈을 구현하는 방법을 특징으로 한다. The present invention relates to an intelligent network switching system according to the ITU-T Q.1200 series recommendation, and in particular, to a service exchanger module (SSM) and service control of an intelligent network switching system implemented in each of the separate machines according to the recommendation. Module (SCM), intelligent information providing system (IP) to a method of integrating and implementing in a machine. In the present invention, a process of generating independent Rx part and Tx part processes in the IP, SSM and SSM, respectively, and recording and recording a message to be transmitted by each process generated in the module by the generated Tx part process Generating a process queue used as a transmission buffer of the generated message, and generating a Tx message queue having a key value predefined by the generated Tx partial process and delivering a predetermined message recorded by the generated Rx partial process And transmitting the message recorded in the process queue to the Tx message queue by recording the process queue and the Tx message queue by IPC (Inter Process Communication), and writing the Tx message queue to the Tx message queue. If it is confirmed that the Tx message queue is created, the Tx message is generated. A method of implementing a service exchanger module (SSM), a service control module (SCM), and an intelligent information system (IP) module on a machine is performed by repeatedly performing a loop for reading a message written to a queue. It features.

Description

지능망 교환시스템에서 서비스 교환기 모듈, 서비스 제어 모듈, 지능형 정보제공 시스템 모듈 통합 방법Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system

본 발명은 ITU-T Q.1200 시리즈 권고안에 따른 지능망 교환시스템에 관한 것으로, 특히, 상기 권고안에 따라 별도의 머신(Machine)들 각각에 구현된 지능망 교환시스템의 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP )모듈을 한 머신상에 통합하여 구현하는 방법에 관한 것이다. The present invention relates to an intelligent network switching system according to the ITU-T Q.1200 series recommendation, and in particular, to a service exchanger module (SSM) and service control of an intelligent network switching system implemented in each of the separate machines according to the recommendation. Module (SCM), intelligent information providing system (IP) to a method of integrating and implementing on a machine.

지능망(Advanced Intelligent Network ; AIN)의 일반적인 구조는 ITU-T Q.1200 시리즈 권고안에 따라, 서비스 교환기 모듈(Service Switching Module ; SSM), 서비스 제어 모듈(Service Control Module ; SCM), 지능형 정보제공 시스템(Intelligent Peripheral ; IP )모듈로 나누어지도록 되어있다. 특히, ITU-T Q.1200 시리즈 권고안에서는 나누어진 각 모듈을 독립된 상용 시스템에 분리하여 구축하거나, 혹은 한 시스템에 통합된 형태로 구축하도록 권고되어 있다. 여기서 한 시스템이라 함은 실제 하드웨어 구성을 갖는 머신(Machine)들을 칭하며, 이는 통상 워크스테이션(Workstation)이나 개인용 PC로 구현되어 실시되고 있다. The general structure of the Advanced Intelligent Network (AIN) is in accordance with the ITU-T Q.1200 Series Recommendations, Service Switching Module (SSM), Service Control Module (SCM) and Intelligent Information System (SCM). Intelligent Peripheral (IP) module. In particular, the ITU-T Q.1200 Series Recommendation recommends that each module be divided into separate commercial systems, or integrated into one system. Here, a system refers to machines having a real hardware configuration, which is usually implemented as a workstation or a personal PC.

한편, 첨부된 도 1에 도시된 바와 같이, 통상적인 지능망 교환시스템의 각 모듈은 TCP/IP 망을 근간으로 한 소켓(Socket) 통신(Communication)을 사용하여 필요한 메시지 및 발생되는 메시지를 다른 모듈과 송수신하는 동작을 행한다. 특히, 각 모듈은 각각 별도의 머신에 구현되어 있으며, 이러한 구조는 대용량의 지능망 교환시스템을 제공하는데 있어 권고되는 구조이다.On the other hand, as shown in Figure 1, each module of the conventional intelligent network switching system uses a socket (Communication) communication based on the TCP / IP network (Communication) necessary messages and generated messages with other modules The operation of transmitting and receiving is performed. In particular, each module is implemented on a separate machine, and this structure is recommended for providing a large capacity intelligent network switching system.

상기 도 1은 통상적인 지능망 교환시스템의 내부 아키텍쳐 구조를 나타내는 도면으로서, 서비스 교환기 모듈( SSM)110, 서비스 제어 모듈(SCM)120, 지능형 정보제공 시스템(IP )모듈130으로 이루어짐을 보여준다. 상기 모듈들은 대용량 지능망 시스템에서 독립적인 머신(Machine)상에 구현되고, 각 모듈간에는 TCP/IP를 바탕으로 한 소켓 커넥션을 사용하여 필요 및 발생된 메시지를 전송한다.1 is a diagram showing the internal architecture of a conventional intelligent network switching system, and shows that the service switch module (SSM) 110, service control module (SCM) 120, intelligent information providing system (IP) module 130. The modules are implemented on an independent machine in a high-capacity intelligent network system, and each module transmits necessary and generated messages using socket connections based on TCP / IP.

도 2는 통상적인 지능망 교환시스템에서 모듈간 메시지 전송 메카니즘을 나타내는 도면으로서, 소정 모듈내에 생성된 프로세스가 어떤 서비스나 기능의 필요에 따라 다른 모듈과의 메시지를 전송하는 상태를 나타내는 도면이다. 도 2를 참조하여 통상적인 지능망 교환시스템의 모듈간의 메시지 전송 상태를 설명하면, 한 모듈내의 프로세스213이 소정 기능이나 서비스를 필요로 하여 다른 모듈과 통신(Communication)을 필요로 하게 되는데, 이때에는 전송 메시지(Message)를 Tx부분(Part) 프로세스210으로 전송하게 된다. 그러면, 상기 Tx부분 프로세스210은 해당하는 루틴(Routine)을 호출하고, 호출된 루틴은 주기적으로 메시지 큐(Queue)212에 기록(Writing)된 메시지를 독출(Reading)하여 독출된 메시지를 상대측 모듈로 전송하게 된다. 상기 메시지 전송은 TCP/IP 소켓 커넥션을 통해 이루어져 다른 모듈의 Rx부분 프로세스220에 전송된다. 이때 상기 Rx부분 프로세스220은 상기 전송된 메시지를 분석한 후, 분석 결과에 따라 해당하는 프로세스로 전송하게 되며, 상기 메시지가 프로세스에 전송되기 전에 해당되는 프로세스의 메시지 큐222에 임시로 기록된다. FIG. 2 is a diagram illustrating a message transmission mechanism between modules in a typical intelligent network switching system, in which a process generated in a module transmits a message to another module according to a need of a service or a function. Referring to FIG. 2, a message transmission state between modules of a typical intelligent network switching system is described. A process 213 in one module needs a predetermined function or service and requires communication with another module. The message is sent to the Tx Part process 210. Then, the Tx part process 210 calls the corresponding routine, and the called routine periodically reads the message written to the message queue 212 and sends the read message to the counterpart module. Will be sent. The message transfer is made over a TCP / IP socket connection and sent to the Rx part process 220 of another module. At this time, the Rx part process 220 analyzes the transmitted message and transmits it to the corresponding process according to the analysis result, and is temporarily recorded in the message queue 222 of the corresponding process before the message is transmitted to the process.

도 3은 상기 도 1 및 도 2에서 설명한 모듈간 메시지 전송 상태에 따른 메시지 전송 알고리즘을 나타내는 도면으로서, 임의의 모듈 상호간에 수행되는 메시지 전송 흐름, 즉, Tx/ Rx 루틴간의 동작 알고리즘을 나타내는 도면이다. FIG. 3 is a diagram illustrating a message transfer algorithm according to the inter-module message transfer state described with reference to FIGS. 1 and 2. FIG. .

도 3에 도시된 알고리즘은, Tx부분 프로세스210이 메시지 전송을 위해 Rx부분 프로세스220과 소켓 커넥션을 설정하는 과정(312단계), 모듈내에 생성된 각 프로세스가 전송하는 메시지를 받는 메시지 큐212를 생성하는 과정(314단계)과, 상기 Tx부분 프로세스210이 상기 메시지 큐212를 주기적으로 읽어 메시지를 Rx부분 프로세스220으로 전송하는 동작을 반복하여 수행하는 과정(316단계)이 송신측에서 이루어지며, Rx부분 프로세스220이 상기 Tx부분 프로세스210의 소켓 커넥션 요청을 받아 커넥션(Connection)을 설정하고 메시지를 대기하는 과정(322단계), 전송되는 메시지를 해당되는 모듈의 메시지 큐222에 전송하는 동작을 반복하여 수행하는 과정(324단계)이 수신측에서 이루어짐을 나타낸다. In the algorithm shown in FIG. 3, the process of establishing a socket connection with the Rx part process 220 by the Tx part process 210 (step 312), and generates a message queue 212 that receives a message transmitted by each process created in the module. (Step 314), and the process of repeatedly reading the message queue 212 by the Tx part process 210 and transmitting a message to the Rx part process 220 (step 316) is performed at the transmitting side. The partial process 220 receives the socket connection request of the Tx partial process 210 to establish a connection and waits for a message (step 322), and repeatedly transmits the transmitted message to the message queue 222 of the corresponding module. A process (step 324) is performed at the receiving side.

그러나, 상기 도 1 및 도 2, 도 3에 도시된 바와 같은 지능망 교환시스템 구조 및 메시지 전송에 있어서, 각 모듈이 독립된 상용 호스트, 즉, 머신(Machine)들 상에 구현됨을 전제로 하여 동작하게 되는 제한이 있어, 실질적인 지능망 교환시스템 서비스를 구현함에 있어 다양한 플랫폼(Flat Form)을 마련하기 어렵다. 또한, 각 모듈마다 별도의 머신을 구비하여야 하므로, 굳이 대용량 지능망 교환시스템 서비스를 필요로 하지 않는 상황에서도 추가 비용이 발생하는 문제가 있었다. However, in the intelligent network exchange system structure and message transmission as shown in FIGS. 1, 2, and 3, each module operates under the assumption that each module is implemented on a separate commercial host, that is, machines. Due to limitations, it is difficult to prepare various platforms in implementing the actual intelligent network switching system service. In addition, since each module must be provided with a separate machine, there is a problem in that additional cost occurs even in a situation that does not require a large capacity intelligent network switching system service.

따라서 본 발명의 목적은, ITU-T Q.1200 시리즈 권고안에 따라 별도의 머신(Machine)들 각각에 구현된 지능망 교환시스템의 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP )모듈을 한 머신에 통합하여 구현하는 방법을 구현함에 있다. Accordingly, an object of the present invention is to provide a service exchanger module (SSM), a service control module (SCM), and an intelligent information provision system of an intelligent network switching system implemented on each of separate machines according to the ITU-T Q.1200 series recommendation. (IP) is to implement the method to integrate the module into one machine.

또한, 본 발명은, 지능망 교환시스템에 구현되는 각 모듈의 구현에 있어, 다양한 플랫폼에 따라 구현이 가능하도록 하는 지능망 교환시스템 구현 방법을 제안함에 그 목적이 있다. In addition, an object of the present invention is to propose a method for implementing an intelligent network switching system that can be implemented according to various platforms in the implementation of each module implemented in the intelligent network switching system.

이러한 목적을 달성하기 위해 본 발명은, 지능망 교환시스템 모듈 구현 방법에 있어서, 상기 IP, SSM, SSM내에 각각 독립된 Rx 부분 및 Tx부분 프로세스를 생성하는 과정과, 상기 생성된 Tx부분 프로세스에 의해 상기 모듈내에 생성된 각 프로세스가 전송하고자 하는 메시지를 기록(Writing)하고 기록된 메시지의 전송 버퍼(Buffer)로서 사용되는 프로세스 큐(Queue)를 생성하는 과정과, 상기 생성된 Tx부분 프로세스에 의해 미리 정의된 키(Key)값을 가지며 상기 생성된 Rx부분 프로세스로 기록(Writing)된 소정 메시지를 전달하는 Tx 메시지 큐(Queue)를 생성하는 과정과, 상기 프로세스 큐(Queue)와 상기 Tx 메시지 큐를 IPC(Inter Process Communication) 커넥션(Connection)하여 상기 IPC 커넥션을 통해 상기 Tx 메시지 큐에 기록된 메시지를 상기 Tx 메시지 큐로 전송하여 상기 Tx 메시지 큐에 기록하는 과정과, 상기 Rx부분 프로세스가 상기 Tx 메시지 큐의 생성 여부를 확인하여, 상기 Tx 메시지 큐의 생성이 확인된 경우, 상기 Tx 메시지 큐에 기록된 메시지를 독출하는 루프를 반복하여 수행하는 과정을 통해 이루어지는 모듈 통합 방법을 제안한다. In order to achieve the above object, the present invention provides a method for implementing an intelligent network switching system module, the process of generating independent Rx part and Tx part processes in the IP, SSM, and SSM, and the module by the generated Tx part process. Recording a message to be transmitted by each process created in the process and creating a process queue used as a transmission buffer of the recorded message, and predefined by the generated Tx partial process Creating a Tx message queue having a key value and delivering a predetermined message written to the generated Rx partial process, and performing a process process on the process queue and the Tx message queue by IPC ( Inter Process Communication) connects and transmits a message recorded in the Tx message queue to the Tx message queue through the IPC connection to the Tx message queue. Recording and if the Rx partial process checks whether or not the Tx message queue is generated, and if the creation of the Tx message queue is confirmed, a loop for reading a message recorded in the Tx message queue is repeatedly performed. We propose a module integration method through the process.

또한, 본 발명의 제안에 있어, Tx 부분 프로세스는 상기 프로세스 큐(Queue)를 독출(Reading)하여, 상기 모듈내에 생성된 소정 프로세스로부터 전송된 메시지의 기록 여부를 확인하고, 기록되어 있는 것으로 확인되면, 상기 프로세스 큐(Queue)에 기록된 메시지를 상기 Tx 메시지 큐로 전송하는 과정이 더 부가된다.Further, in the proposal of the present invention, the Tx partial process reads the process queue, checks whether a message transmitted from a predetermined process generated in the module is written, and if it is confirmed that it is recorded. The process of transmitting the message recorded in the process queue to the Tx message queue is further added.

이하 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로서 이는 사용자 또는 칩 설계자의 의도 또는 관례 등에 따라 달라질 수 있으므로, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even if displayed on different drawings. In addition, in the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. The terms to be described below are terms defined in consideration of functions in the present invention, and may be changed according to the intention or custom of a user or a chip designer, and the definitions should be made based on the contents throughout the present specification.

한편, 본 발명의 상세한 설명에 앞서, 상기한 본 발명의 목적 및 기술적 과제를 이루기 위한 실시 방안을 요약하여 설명한다.On the other hand, prior to the detailed description of the present invention, a summary of the implementation method for achieving the above object and technical problem of the present invention.

우선, 본 발명에서는 TCP/IP바탕의 소켓 커뮤니케이션을 통해 모듈간의 메시지를 전달하는 종래 지능망 교환시스템의 구조를 사용하지 않고, 프로세스들간의 IPC(Inter Process Communication) 방식을 통한 메시지 전송 구조를 이용한다. First, the present invention does not use a structure of a conventional intelligent network switching system for transferring a message between modules through a socket communication based on TCP / IP, but uses a message transmission structure through an inter process communication (IPC) method between processes.

이러한 메시지 전송 구조가 제안된 것은, 첫째로, 종래 방식에서 전달되는 메시지 포맷(Format)을 전혀 변경하지 않도록 하기 위함이고, 둘째, 메시지를 전달하거나 전달받는 프로세스들의 인터페이스(Interface)가 변경되지 않게 하기위함이고, 셋째로, TCP/IP 바탕의 소켓 커뮤니케이션을 생성하는 과정의 오버헤드(Over Head)를 감소시키기 위함이다. 따라서, 하나의 머신(Machine)에서 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP )모듈을 구동할 수 있게 하여, 소용량의 지능망 교환 시스템을 제공할 수 있는 기본 플랫폼을 제공하게 된다. This message transmission structure is proposed, firstly, so as not to change the message format delivered in the conventional manner at all, and secondly, to not change the interface of processes that deliver or receive the message. And third, to reduce the overhead of creating TCP / IP-based socket communications. Therefore, it is possible to run a service exchanger module (SSM), a service control module (SCM), and an intelligent information system (IP) module in one machine, thereby providing a basic platform for providing a small capacity intelligent network exchange system. Will be provided.

먼저, 첨부된 도 4를 참조하여 본 발명에 따른 지능망 교환시스템의 내부 아키텍쳐 구조를 설명한다. 상기 도 4는 하나의 머신상에서 IPC를 이용한 메시지 전송에 대한 기본 구조를 나타내는 도면이다. First, with reference to the accompanying Figure 4 will be described the internal architecture of the intelligent network switching system according to the present invention. 4 is a diagram illustrating a basic structure of message transmission using IPC on one machine.

상기 도 4에서 서비스 교환기 모듈(SSM)410과 서비스 제어 모듈(SCM)420, 지능형 정보제공 시스템(IP)모듈430간의 커넥션은, 도 1에 도시된 종래 지능망 교환시스템의 소켓 커넥션과 달리, 프로세스간 IPC구조로 대치되어 있음을 나타낸다. 이는 한 머신내에 각 모듈간의 메시지 전송을 이루기 위한 구조로서, 한 모듈의 Tx부분 프로세스와 다른 모듈의 Rx부분 프로세스간에 메시지가 전송되도록 되어 있다. In FIG. 4, the connection between the service switch module (SSM) 410, the service control module (SCM) 420, and the intelligent information providing system (IP) module 430 is different from the socket connection of the conventional intelligent network switching system shown in FIG. 1. It is replaced by an IPC structure. This is a structure for transmitting messages between modules in one machine. Messages are transmitted between the Tx part process of one module and the Rx part process of another module.

상기 도 4에 도시된 모듈간의 메시지 전송 메카니즘은 첨부된 도 5에 도시되어 있다. 도 5는 본 발명에 따른 지능망 교환시스템에서 IPC를 통한 모듈간 메시지 전송 메카니즘을 나타내는 도면으로서, 소정 모듈내에 생성된 프로세스가 어떤 서비스나 기능의 필요에 따라 다른 모듈과의 메시지를 IPC구조를 통해 전송하는 상태를 나타내는 도면이다.The message transfer mechanism between modules shown in FIG. 4 is shown in FIG. FIG. 5 is a diagram illustrating a message transfer mechanism between modules through IPC in an intelligent network switching system according to the present invention, wherein a process generated in a given module transmits a message with another module through an IPC structure according to a need of a service or function It is a figure which shows the state to make.

도 5를 참조하여 본 발명에 따른 지능망 교환시스템의 모듈간의 메시지 전송 상태를 설명하면, 한 모듈내에 생성된 소정 프로세스512가 소정 기능이나 서비스를 필요로 하여 서비스 교환기 모듈(SSM)410과의 통신(Communication)을 필요로 하게 된다. 이때, 상기 프로세스512는 소정 메시지 큐(Message Queue)를 생성한다. 상기 프로세스512는 Tx부분 프로세스이며, 이는 상기 모듈들 내에 독립적으로 생성된다. Referring to FIG. 5, a message transmission state between modules of an intelligent network switching system according to the present invention is described. A predetermined process 512 generated in one module requires a predetermined function or service to communicate with a service exchange module (SSM) 410 ( Communication is required. At this time, the process 512 creates a predetermined message queue. The process 512 is a Tx partial process, which is created independently in the modules.

그리고 상기 생성된 메시지 큐514는 상기 생성된 Tx부분 프로세스에 의해 상기 모듈내에 생성된 각 프로세스가 전송하고자 하는 메시지를 기록(Writing)하고 기록된 메시지의 전송 버퍼(Buffer)로서 사용되는 프로세스 큐(Queue)로서 기능한다. 또한, 상기 생성된 Tx부분 프로세스에 의해 미리 정의된 키(Key)값을 가지며, 상기 기록된 메시지 큐를 소정 Rx부분 프로세스로 전달하는 Tx 메시지 큐(Queue)516을 생성한다. 이는 상기 프로세스 큐(Queue)514에 전송된 메시지가 IPC를 통하여 전송되어 저장되는 메시지이며, Tx 와 Rx루틴(Routine)이 동시에 억세스(Access)할 수 있는 구조를 가진다. 상기 Tx 메시지 큐516에 기록된 메시지는 메시지를 전송하고자 하는 상대측 모듈에 구현된 Rx부분 프로세스로 전송되게 된다.The generated message queue 514 records a message to be transmitted by each process created in the module by the generated Tx partial process and is used as a transmission buffer of the recorded message. Function as). In addition, a Tx message queue 516 having a key value predefined by the generated Tx partial process and delivering the recorded message queue to a predetermined Rx partial process is generated. This is a message in which the message transmitted to the process queue 514 is transmitted and stored through IPC, and has a structure in which Tx and Rx routines can simultaneously access. The message recorded in the Tx message queue 516 is transmitted to the Rx partial process implemented in the counterpart module to transmit the message.

이의 동작은, 송신측 모듈내의 임의 프로세스로부터 전송 메시지(Message)가 Tx부분(Part) 프로세스512로 전송되면, 상기 Tx부분 프로세스512는 해당하는 루틴(Routine)을 호출하고, 호출된 루틴은 주기적으로 프로세스 큐(Queue)514에 전송 메시지를 임시 기록하고, 상기 기록된 전송 메시지는 IPC접속을 통해 Tx 메시지 큐516으로 전송되어 기록된다. 그러면, 상기 기록된 메시지는 독출(Reading)되어 상대측 모듈의 Rx부분 프로세스518로 전송되는 과정을 통해 수행된다. 이때 상기 Rx부분 프로세스518은 상기 Tx 메시지 큐516이 생성되어 있는지 여부를 판단함과 동시에, 상기 Tx 메시지 큐516에 기록된 메시지를 분석한 후, 분석 결과에 따라 상기 기록된 메시지를 해당프로세스로 전송한다. Its operation is that if a transmission message is sent to a Tx Part process 512 from any process in the sending module, the Tx Part process 512 calls the corresponding Routine, and the called routine periodically The transmission message is temporarily recorded in the process queue 514, and the recorded transmission message is transmitted to and recorded in the Tx message queue 516 through the IPC connection. Then, the recorded message is read and transmitted to the Rx part process 518 of the counterpart module. At this time, the Rx partial process 518 determines whether the Tx message queue 516 is generated, analyzes the message recorded in the Tx message queue 516, and transmits the recorded message to the corresponding process according to the analysis result. do.

즉, 도 5에 도시된 본 발명은 한 모듈의 Tx부분 프로세스와 다른 모듈의 Rx부분 프로세스간에 메시지를 주고받을 수 있는 Tx 메시지 큐를 생성하는 부분과, 각 프로세스로부터 전송되는 메시지를 받기 위한 프로세스 큐(Queue)를 생성하는 부분으로 구성되고, 메시지를 주기적으로 읽어 상기 메시지 큐에 전송하는 Tx부분 프로세스와 주기적으로 메시지 큐에서 기록된 메시지를 독출하여 적절한 해당 프로세스로 메시지를 전송하는 Tx부분 프로세스 구성되는 것이다. 그리고, 상기 프로세스 큐(Queue), Tx 메시지 큐간의 메시지 전송은 IPC를 통해 이루어지며, 상기 프로세스들은 각각 독립되어 생성되어 동작한다. That is, the present invention shown in FIG. 5 generates a Tx message queue capable of exchanging messages between a Tx partial process of one module and an Rx partial process of another module, and a process queue for receiving a message transmitted from each process. It consists of a part that creates a queue, and consists of a Tx part process that periodically reads messages and sends them to the message queue, and a Tx part process that periodically reads messages written from the message queue and sends them to the appropriate process. will be. The message transmission between the process queue and the Tx message queue is performed through IPC, and the processes are independently generated and operated.

도 6은 상기 도 4 및 도 5에 도시된 구조를 갖는 지능망 교환시스템에서 각 모듈간의 메시지 전송을 위한 알고리즘을 나타내는 도면으로, 본 발명에 따른 지능망 교환시스템에서 IPC를 통한 모듈간 메시지 전송 알고리즘을 나타내는 도면이다.FIG. 6 is a diagram illustrating an algorithm for message transmission between modules in an intelligent network switching system having the structures shown in FIGS. 4 and 5, and illustrates an inter-module message transmission algorithm through IPC in an intelligent network switching system according to the present invention. Drawing.

상기 도 6을 참조하면, 생성된 Tx부분 프로세스512는 메시지 전송을 위해 메시지 Tx루틴을 시작한다. 이때 동시에 메시지 Rx 루틴이 호출되어 해당 동작이 시작된다. 그러면, 612단계에서 상기 Tx부분 프로세스512는 Rx루틴과 메시지 전송을 위한 Tx 메시지 큐516을 생성한다. 상기 생성된 Tx 메시지 큐516은 미리 정의된 키(Key)값을 가지며, 상기 Tx 메시지 큐516은 상대측 모듈의 Rx부분 프로세스로 메시지를 전달하는데 사용된다. 상기 Tx 메시지 큐516의 생성 여부는 IPC접속을 통해 이루어지며, 622단계에서 상기 Rx부분 프로세스는 이의 사실을 확인 한다. 그리고, 614단계에서 상기 Tx부분 프로세스512에 의해 상기 모듈내에 생성된 각 프로세스가 전송하고자 하는 메시지를 기록(Writing)하고 기록된 메시지의 전송 버퍼(Buffer)로서 사용되는 프로세스 큐(Queue)514가 생성된다. 상기 생성된 프로세스 큐514는 616단계에서 서로 다른 프로세스들의 메시지 전송에 대한 버퍼로서 동작하며, 상기 프로세스 큐(Queue)514로부터 메시지를 독출한 후 IPC를 통해 상기 Tx 메시지 큐516으로 넘겨주게 된다. 이 동작은 반복되어 수행된다. 동시에 624단계에서 상기 Tx 메시지 큐516이 생성됨을 확인한 Rx부분 프로세스518은 상기 Tx 메시지 큐516으로부터 메시지를 독출하여 메시지를 전송 받는 동작을 수행하며, 이는 반복적으로 이루어진다. 즉, Rx부분 프로세스518은 상기 Tx부분 프로세스에 의해 생성된 Tx 메시지 큐의 존재 여부를 확인한 후, 생성된 것으로 판단되면, 상기 Tx 메시지 큐로부터 메시지를 독출하기 위해 상기 624단계의 동작 수행을 반고하게 되는 것이다. Tx부분 프로세스 역시 주기적으로 각 프로세스가 메시지를 전송하였는지를 상기 프로세스 큐(Queue)를 통해 확인하며, 확인이 되면 상기 프로세스 큐(Queue)에 기록된 메시지를 IPC를 통해 Rx메시지 큐로 계속하여 전송한다. Referring to FIG. 6, the generated Tx partial process 512 starts a message Tx routine for message transmission. At the same time, the message Rx routine is called to start the operation. Then, in step 612, the Tx partial process 512 creates an Rx routine and a Tx message queue 516 for message transmission. The generated Tx message queue 516 has a predefined key value, and the Tx message queue 516 is used to deliver a message to the Rx part process of the counterpart module. Whether to create the Tx message queue 516 is made through an IPC connection. In step 622, the Rx partial process confirms the fact. In operation 614, a process queue 514 is used to record a message to be transmitted by each process created in the module by the Tx partial process 512 and to be used as a transmission buffer of the recorded message. do. The generated process queue 514 operates as a buffer for message transmission of different processes in step 616, reads a message from the process queue 514, and passes the message to the Tx message queue 516 through IPC. This operation is repeated. At the same time, in step 624, the Rx partial process 518 confirming that the Tx message queue 516 is generated, reads a message from the Tx message queue 516 and receives a message, which is repeatedly performed. That is, the Rx partial process 518 checks the existence of the Tx message queue generated by the Tx partial process, and if it is determined to be generated, the Rx partial process 518 performs the operation of step 624 to read a message from the Tx message queue. Will be. The Tx part process also periodically checks whether each process has sent a message through the process queue, and if confirmed, continuously transmits the message recorded in the process queue to the Rx message queue through IPC.

따라서, Tx부분 프로세스와 Rx부분 프로세스는 한 개의 메시지 큐를 통해 메시지를 주고받게 된다. Therefore, the Tx partial process and the Rx partial process exchange messages through one message queue.

결론적으로, 본 발명에 따른 지능망 교환시스템의 구현은, IP, SSM, SSM내에 각각 독립된 Rx 부분 및 Tx부분 프로세스를 생성한 후, 상기 생성된 Tx부분 프로세스에 의해 상기 모듈내에 생성된 각 프로세스가 전송하고자 하는 메시지를 기록(Writing)하고 기록된 메시지의 전송 버퍼(Buffer)로서 사용되는 프로세스 큐(Queue)와, 미리 정의된 키(Key)값을 가지며 상기 생성된 Rx부분 프로세스로 기록(Writing)된 소정 메시지를 전달하는 Tx 메시지 큐(Queue)를 생성한다. 그리고, 상기 프로세스 큐(Queue)와 상기 Tx 메시지 큐를 IPC(Inter Process Communication) 커넥션(Connection)하여 상기 IPC 커넥션을 통해 상기 프로세스 큐(Queue)에 기록된 메시지를 상기 Tx 메시지 큐로 전송하여 상기 Tx 메시지 큐에 기록하면, 상기 Rx부분 프로세스가 상기 Tx 메시지 큐의 생성 여부를 확인한 후, 상기 Tx 메시지 큐에 기록된 메시지를 독출하는 루프를 반복하여 수행하는 과정의 구성으로 이루어진다. In conclusion, in the implementation of the intelligent network switching system according to the present invention, after generating independent Rx part and Tx part processes in IP, SSM, and SSM, each process generated in the module is transmitted by the generated Tx part process. A process queue used to record a message to be written and used as a transmission buffer of the recorded message, and has a predefined key value and is written to the generated Rx partial process. Create a Tx message queue that delivers a message. The Tx message is transmitted by interprocess communication (IPC) connection between the process queue and the Tx message queue to transmit the message recorded in the process queue to the Tx message queue through the IPC connection. When writing to the queue, the Rx partial process checks whether the Tx message queue is created and then repeats a loop for reading the message written to the Tx message queue.

상술한 바와 같이 본 발명은 지능망 교환시스템을 구현함에 있어, 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP)모듈을 한 머신에 통합할 수 있어, 소규모 용량의 지능망 교환시스템에 적합한 이점을 제공해 준다. As described above, in the present invention, in implementing an intelligent network exchange system, a service exchanger module (SSM), a service control module (SCM), and an intelligent information providing system (IP) module can be integrated into a single machine, thereby enabling a small capacity intelligent network. It provides a suitable advantage for the exchange system.

동시에, 효율적인 지능망 교환시스템 개발을 위한 플랫폼을 제공해 준다. At the same time, it provides a platform for developing an efficient intelligent network switching system.

도 1은 통상적인 지능망 교환시스템의 내부 프로세스 연결 구조를 나타내는 도면.1 is a diagram showing an internal process connection structure of a conventional intelligent network switching system.

도 2는 통상적인 지능망 교환시스템에서 Tx/Rx부분 프로세스들간의 메시지 전송을 위한 전송 메카니즘을 나타내는 도면.2 is a diagram illustrating a transmission mechanism for message transmission between Tx / Rx partial processes in a typical intelligent network switching system.

도 3은 통상적인 지능망 교환시스템에서 모듈간 메시지 전송 수행에 대한 알고리즘을 나타내는 도면.3 is a diagram illustrating an algorithm for performing message transmission between modules in a typical intelligent network switching system.

도 4는 본 발명에 따른 지능망 교환시스템의 내부 프로세스 연결 구조를 나타내는 도면.4 is a diagram illustrating an internal process connection structure of an intelligent network switching system according to the present invention;

도 5는 본 발명에 따른 지능망 교환시스템에서 IPC를 통한 모듈간 메시지 전송을 위한 전송 메카니즘을 나타내는 도면.5 is a diagram illustrating a transmission mechanism for message transmission between modules through IPC in an intelligent network switching system according to the present invention;

도 6은 본 발명에 따른 지능망 교환시스템에서 모듈간 메시지 전송 수행에 대한 알고리즘을 나타내는 도면.6 is a diagram illustrating an algorithm for performing message transmission between modules in an intelligent network switching system according to the present invention.

Claims (3)

지능망 교환시스템의 서비스 교환기 모듈(SSM), 서비스 제어 모듈(SCM), 지능형 정보제공 시스템(IP)모듈을 한 머신에 통합하는 방법에 있어서,In a method of integrating a service exchanger module (SSM), a service control module (SCM), and an intelligent information system (IP) module of an intelligent network switching system into a machine, 상기 서비스 교환기 모듈, 서비스 제어 모듈, 지능형 정보제공 시스템 모듈내에 각각 독립된 수신(Rx) 부분 및 송신(Tx) 부분 프로세스를 생성하는 과정과,Generating independent receiving (Rx) and transmitting (Tx) partial processes in the service exchanger module, service control module, and intelligent information providing system module, respectively; 상기 생성된 송신 부분 프로세스에 의해 상기 모듈내에 생성된 각 프로세스가 전송하고자 하는 메시지를 기록하고 기록된 메시지의 전송 버퍼로서 사용되는 프로세스 큐를 생성하는 과정과,Recording a message to be transmitted by each process generated in the module by the generated transmission partial process and creating a process queue used as a transmission buffer of the recorded message; 상기 생성된 송신 부분 프로세스에 의해 미리 정의된 키값을 가지며 상기 생성된 수신 부분 프로세스로 기록된 소정 메시지를 전달하는 송신 메시지 큐를 생성하는 과정과,Generating a transmission message queue having a key value predefined by the generated transmission partial process and delivering a predetermined message recorded by the generated reception partial process; 상기 프로세스 큐와 상기 송신 메시지 큐를 아이.피.씨(IPC) 커넥션 하여 상기 아이.피.씨 커넥션을 통해 상기 프로세스 큐에 기록된 메시지를 상기 송신 메시지 큐로 전송하여 상기 송신 메시지 큐에 기록하는 과정과,IPC connection of the process queue and the transmission message queue to transmit a message recorded in the process queue to the transmission message queue via the IP connection to write to the transmission message queue. and, 상기 수신 부분 프로세스가 상기 송신 메시지 큐의 생성 여부를 확인하여, 상기 송신 메시지 큐의 생성이 확인된 경우, 상기 송신 메시지 큐에 기록된 메시지를 독출하는 루프를 반복하여 수행하는 과정을 통해 이루어지는 서비스 교환기 모듈, 서비스 제어 모듈, 지능형 정보제공 시스템모듈을 한 머신으로 통합하는 방법.The receiving partial process checks whether the transmission message queue is created, and if the creation of the transmission message queue is confirmed, the service is performed by repeatedly performing a loop for reading a message recorded in the transmission message queue. How to integrate the exchange module, service control module and intelligent information system module into one machine. 제1항에 있어서,The method of claim 1, 상기 송신 부분 프로세스가 상기 프로세스 큐를 독출하여, 상기 모듈내에 생성된 소정 프로세스로부터 전송된 메시지의 기록 여부를 확인하고, 기록되어 있는 것으로 확인되면, 상기 프로세스 큐에 기록된 메시지를 상기 송신 메시지 큐로 전송하는 과정을 더 부가하여 이루어지는 서비스 교환기 모듈, 서비스 제어 모듈, 지능형 정보제공 시스템 모듈을 한 머신으로 통합하는 방법.The transmission partial process reads the process queue, checks whether a message transmitted from a predetermined process generated in the module is recorded, and if it is confirmed that it is recorded, transmits the message recorded in the process queue to the transmission message queue. A method of integrating a service exchanger module, a service control module, and an intelligent information providing system module by adding an additional process to a machine. 지능망 교환 시스템에 구현되는 소정 모듈간의 메시지 전송 방법에 있어서,In the message transmission method between predetermined modules implemented in an intelligent network switching system, 송신측 모듈내의 프로세스에 의해 생성되며, 메시지를 전송하고자 하는 모듈들 내에 생성된 소정 프로세스로부터 메시지를 받아들여 프로세스 큐에 기록하는 과정과,A process of receiving a message from a predetermined process generated in a module to which a message is to be transmitted and writing the message to a process queue, which is generated by a process in a sending module; 상기 송신측 모듈내의 프로세스에 의해 생성되며, 송신측 및 수신측 모듈내의 프로세스가 기록된 메시지를 공유하고, 상기 프로세스 큐에 기록된 소정 메시지가 전송되어 기록된 후, 상기 기록된 메시지가 수신측 모듈내의 프로세스에 의해 독출되는 송신(Tx) 메시지 큐를 아이.피.씨(IPC) 커넥션하여, 상기 프로세스 큐와 상기 수신(Rx) 메시지 큐간에 메시지를 전송하는 과정을 포함하는 지능망 교환시스템에서 모듈간의 메시지 전송 방법.Generated by the process in the sending module, the process in the sending and receiving modules share the recorded message, and after the predetermined message recorded in the process queue is transmitted and recorded, the recorded message is received in the receiving module An IPC connection of a transmission (Tx) message queue read by a process in the process is performed to transmit a message between the process queue and the reception (Rx) message queue. How to send a message.
KR1019980058340A 1998-12-24 1998-12-24 Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system KR100584393B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980058340A KR100584393B1 (en) 1998-12-24 1998-12-24 Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980058340A KR100584393B1 (en) 1998-12-24 1998-12-24 Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system

Publications (2)

Publication Number Publication Date
KR20000042215A KR20000042215A (en) 2000-07-15
KR100584393B1 true KR100584393B1 (en) 2006-08-18

Family

ID=19565462

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980058340A KR100584393B1 (en) 1998-12-24 1998-12-24 Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system

Country Status (1)

Country Link
KR (1) KR100584393B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0123065B1 (en) * 1994-12-12 1997-11-19 양승택 High intellectual exchanger
KR19980703288A (en) * 1995-04-15 1998-10-15 포만제프리엘 SD / Sonenet Interface
KR20000013278A (en) * 1998-08-06 2000-03-06 윤종용 Intelligent network service switching module for managing call processing operation and service switching function having the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0123065B1 (en) * 1994-12-12 1997-11-19 양승택 High intellectual exchanger
KR19980703288A (en) * 1995-04-15 1998-10-15 포만제프리엘 SD / Sonenet Interface
KR20000013278A (en) * 1998-08-06 2000-03-06 윤종용 Intelligent network service switching module for managing call processing operation and service switching function having the same

Also Published As

Publication number Publication date
KR20000042215A (en) 2000-07-15

Similar Documents

Publication Publication Date Title
CN1964285A (en) A master control device with double CPU and realization method
EP0097028A2 (en) Multiple-microcomputer communications system
CN100428684C (en) Scheme with external channels
CN101175073B (en) Double-controller communication system and method based on hard disk controller
KR100584393B1 (en) Integration method of service exchanger module, service control module and intelligent information system module in intelligent network exchange system
CN1964286B (en) A master control device with double CPU
US6058440A (en) Programmable and adaptive resource allocation device and resource use recorder
CA2234635C (en) Method and device for exchanging data
JP2571360B2 (en) Facsimile machine
JP2002163164A (en) Multi-protocol corresponding agent system
KR100311315B1 (en) Protocol processing system using a high-speed data transmission path
EP0226688B1 (en) Serial link adapter for a communication controller
JPH113154A (en) Interface control device
KR100214136B1 (en) Method for transmitting map protocol in gsm
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
JPH07321990A (en) Facsimile modem
JPS6229335A (en) Communication control method
JP2721290B2 (en) Communication control device
JPS59127462A (en) Facsimile equipment
KR19990047721A (en) Data redundancy processing unit
KR20000034431A (en) Method for joining between switching board and network managing center using card for processing x.25 protocol
KR100256563B1 (en) Method for operating dual port ram
JPH0670054A (en) Facsimile adapter equipment
KR19990035234A (en) Diagnosis information management device and method in electronic exchange
JP2000049888A (en) Communication protocol controller and communication equipment between different kinds of networks

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

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140429

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150429

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee