KR100349666B1 - Access control system and fault-tolerance method using the same - Google Patents

Access control system and fault-tolerance method using the same Download PDF

Info

Publication number
KR100349666B1
KR100349666B1 KR1020000002773A KR20000002773A KR100349666B1 KR 100349666 B1 KR100349666 B1 KR 100349666B1 KR 1020000002773 A KR1020000002773 A KR 1020000002773A KR 20000002773 A KR20000002773 A KR 20000002773A KR 100349666 B1 KR100349666 B1 KR 100349666B1
Authority
KR
South Korea
Prior art keywords
control means
message
information
state
transaction
Prior art date
Application number
KR1020000002773A
Other languages
Korean (ko)
Other versions
KR20010075875A (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 KR1020000002773A priority Critical patent/KR100349666B1/en
Publication of KR20010075875A publication Critical patent/KR20010075875A/en
Application granted granted Critical
Publication of KR100349666B1 publication Critical patent/KR100349666B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/18Electrical details
    • H04Q1/20Testing circuits or apparatus; Circuits or apparatus for detecting, indicating, or signalling faults or troubles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1307Call setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13166Fault prevention
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/167Redundancy

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Hardware Redundancy (AREA)

Abstract

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

본 발명은 통신 제어장치 및 그를 이용한 고장 감내 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것임.The present invention relates to a communication control apparatus, a fault-tolerant method using the same, and a computer-readable recording medium having recorded thereon a program for realizing the method.

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

본 발명은, 액티브(Active) 모듈과 스탠바이(Standby) 모듈로 이중화하여 오류(Fault)가 발생하면 호 설정중에 있는 호 처리 프로세스들을 스탠바이(Standby) 모듈에서 계속 수행하도록 하며, 호 설정을 트랜잭션으로 나누어 제어하여 고장 감내를 이루는 통신 제어장치 및 그를 이용하는 고장 감내 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.According to the present invention, if a fault occurs by duplication into an active module and a standby module, call processing processes in call setup are continuously performed in the standby module, and the call setup is divided into transactions. A communication control device for controlling faults and providing a fault-tolerant method using the same, and a computer-readable recording medium having recorded thereon a program for realizing the method.

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

본 발명은, 호 설정 메시지를 수신하여 제어 처리를 수행하고 그에 따른 응답 메시지를 전송하며 호 메시지 단위로 형성된 트랜잭션에 따라 프로세스를 생성하여 호 설정을 수행하기 위한 액티브 제어수단; 및 상기 호 설정 메시지를 상기 액티브 제어수단과 같이 수신하여 저장하며 상기 액티브 제어수단으로부터 이중화 제어 채널이나 동시쓰기 채널을 통해 정보를 받아 저장하고 상기 액티브 제어수단의 오류 발생시에 상기 액티브 제어수단으로부터 전달된 트랜잭션 단위의 처리 결과에 뒤이어서 호 설정을 수행하기 위한 대기 제어수단을 포함함.The present invention provides an apparatus comprising: active control means for receiving a call setup message, performing control processing, transmitting a response message accordingly, and generating a process according to a transaction formed in a call message unit to perform call setup; And receives and stores the call setup message together with the active control means, receives and stores information from the active control means through a redundant control channel or a simultaneous write channel, and transmits the information from the active control means when an error occurs in the active control means. A wait control means for performing call establishment following a transaction-based processing result.

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

본 발명은 통신 시스템 등에 이용됨.The invention is used in communication systems and the like.

Description

통신 제어장치 및 그를 이용한 고장 감내 방법{ACCESS CONTROL SYSTEM AND FAULT-TOLERANCE METHOD USING THE SAME}ACCESS CONTROL SYSTEM AND FAULT-TOLERANCE METHOD USING THE SAME}

본 발명은 통신 제어장치 및 그를 이용한 고장 감내 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 특히 유무선 통신을 위한 호 처리 과정에서 발생하는 오류(Fault)에 관계없이 진행중인 호를 계속 진행시킬 수 있는 통신 제어장치 및 그를 이용한 고장 감내 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a communication control device and a method for fault tolerance using the same, and a computer-readable recording medium having recorded thereon a program for realizing the method. The present invention relates to a fault occurring during a call processing process for wired and wireless communication. The present invention relates to a communication control apparatus capable of continuing a call in progress without failure, a method for fault tolerance using the same, and a computer-readable recording medium having recorded thereon a program for realizing the method.

본 발명의 적용 대상으로 고려한 제어국은 통화자가 많은 시간대에 오류(Fault)가 발생하면, 호 설정을 한 단위로 하는 트랜잭션을 사용하는 경우에 호 설정이 완결되지 않고 진행중인 호는 해당 프로세스에서 초기부터 다시 호 설정을 시작하게 됨으로 해서 많은 호가 해제되는 문제점이 있었다.The control station considered to be the subject of the present invention is that when a call occurs in a time zone with a large number of callers, the call setup is not completed when the call setup is used as a unit. There was a problem that many calls are released by starting call setup again.

즉, 통화를 위한 호 설정 요청에 따른 처리는 어떠한 경우에도 최소의 호 해제가 있어야 하는데 이를 위해서는 고장을 감내할 수 있는 장치 및 방법이 필요하다. 종래에도 고장 감내 장치나 방법이 있었지만 호 해제의 문제가 남아있어 이의 보완이 필요한 실정이다.That is, the processing according to the call setup request for the call should be minimum call release in any case, for this purpose, an apparatus and method capable of withstanding a failure are required. Conventionally, there has been a fault tolerance device or method, but there is a problem of call release, and this situation needs to be supplemented.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 액티브(Active) 모듈과 스탠바이(Standby) 모듈로 이중화하여 오류(Fault)가 발생하면 호 설정중에 있는 호 처리 프로세스들을 스탠바이(Standby) 모듈에서 계속 수행하도록 하며, 호 설정을 트랜잭션으로 나누어 제어하여 고장 감내를 이루는 통신 제어장치 및 그를 이용하는 고장 감내 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above-mentioned problems. When a fault occurs due to duplication of an active module and a standby module, the call processing processes in call setup are standby. The module provides a communication control apparatus for performing fault tolerance by controlling call establishment by dividing the transaction into a transaction, a method of fault tolerance using the same, and a computer-readable recording medium recording a program for realizing the method. There is this.

도 1 은 본 발명에 따른 통신 제어장치의 일실시예 구성도.1 is a configuration diagram of an embodiment of a communication control device according to the present invention.

도 2 내지 도 5 는 본 발명에 따른 통신 제어장치를 이용한 고장 감내 방법에 대한 일실시예 흐름도.2 to 5 is a flow chart of an embodiment of the fault tolerance method using a communication control device according to the present invention.

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

101 : 제1 제어 프로세스 보드 102 : 동시쓰기 메모리101: first control process board 102: simultaneous write memory

103 : 제2 제어 프로세스 보드 104 : 동시쓰기 메모리103: second control process board 104: simultaneous write memory

상기 목적을 달성하기 위한 본 발명의 장치는, 고장 감내를 위한 통신 제어장치에 있어서, 호 설정 메시지를 수신하여 제어 처리를 수행하고 그에 따른 응답 메시지를 전송하며 호 메시지 단위로 형성된 트랜잭션에 따라 프로세스를 생성하여 호 설정을 수행하기 위한 액티브 제어수단; 및 상기 호 설정 메시지를 상기 액티브 제어수단과 같이 수신하여 저장하며 상기 액티브 제어수단으로부터 이중화 제어 채널이나 동시쓰기 채널을 통해 정보를 받아 저장하고 상기 액티브 제어수단의 오류 발생시에 상기 액티브 제어수단으로부터 전달된 트랜잭션 단위의 처리 결과에 뒤이어서 호 설정을 수행하기 위한 대기 제어수단을 포함하는 것을 특징으로 한다.The apparatus of the present invention for achieving the above object, in the communication control device for fault tolerance, receives a call setup message, performs a control process, transmits a response message accordingly, and performs a process according to a transaction formed in units of call messages Active control means for generating and performing call setup; And receives and stores the call setup message together with the active control means, receives and stores information from the active control means through a redundant control channel or a simultaneous write channel, and transmits the information from the active control means when an error occurs in the active control means. And standby control means for performing call setup subsequent to the transaction result.

또한, 본 발명의 방법은, 통신 제어장치에 적용되는 고장 감내 방법에 있어서, 정상상태에서의 액티브 제어수단이 호 설정 메시지를 읽어 와 프로세스를 통해 처리하여 그 결과를 동시쓰기 채널을 통해 동시쓰기 메모리에 저장하고, 트랜잭션 상태에 따라 상기 프로세스 정보를 이중화 제어채널을 통해 대기 제어수단으로 전달하는 제 1 단계; 정상상태에서의 상기 액티브 제어수단으로부터 상기 대기 제어수단이 상기 이중화 제어채널을 통해 트랜잭션 상태에 따른 상기 프로세스 정보를 수신하여 트랜잭션 정보를 저장하고 그에 따른 상기 프로세스의 상태를 관리하고 메시지 큐에 있는 메시지에 대한 삭제를 수행하는 제 2 단계; 오류상태에서의 상기 액티브 제어수단이 상기 대기 제어수단으로 상기 프로세스의 상태 정보를 전송하는 제 3 단계; 및 상기 대기 제어수단이 오류상태에서의 상기 액티브 제어수단으로부터 상기 프로세스의 상태 정보를 수신하여 가지고 있던 정보를 수신된 정보로 업데이트하여 정상상태에서의 상기 액티브 제어수단의 역할을 수행하는 제 4 단계를 포함하는 것을 특징으로 한다.In addition, the method of the present invention, in the fault tolerance method applied to the communication control device, the active control means in the normal state reads the call setup message and processes it through the simultaneous write channel through the simultaneous write memory A first step of transmitting the process information to a standby control means through a redundant control channel according to a transaction state; From the active control means in the normal state, the standby control means receives the process information according to the transaction state through the redundant control channel, stores the transaction information, manages the state of the process accordingly, and sends the message to the message in the message queue. Performing a deletion for the second step; A third step of transmitting, by the active control means in an error state, state information of the process to the standby control means; And a fourth step in which the standby control means receives the state information of the process from the active control means in the error state and updates the information it has with the received information to perform the role of the active control means in the normal state. It is characterized by including.

또한, 본 발명은, 프로세스를 구비한 통신 제어장치에, 정상상태에서의 액티브 제어수단이 호 설정 메시지를 읽어와 프로세스를 통해 처리하여 그 결과를 동시쓰기 채널을 통해 동시쓰기 메모리에 저장하고, 트랜잭션 상태에 따라 상기 프로세스 정보를 이중화 제어채널을 통해 상기 대기 제어수단으로 전달하는 제 1 기능; 정상상태에서의 상기 액티브 제어수단으로부터 대기 제어수단이 상기 이중화 제어채널을 통해 트랜잭션 상태에 따른 상기 프로세스 정보를 수신하여 트랜잭션 정보를 저장하고 그에 따른 상기 프로세스의 상태를 관리하고 메시지 큐에 있는 메시지에 대한 삭제를 수행하는 제 2 기능; 오류상태에서의 상기 액티브 제어수단이 상기 대기 제어수단으로 상기 프로세스의 상태 정보를 전송하는 제 3 기능; 및 상기 대기 제어수단이 오류상태에서의 상기 액티브 제어수단으로부터 상기 프로세스의 상태 정보를 수신하여 가지고 있던 정보를 수신된 정보로 업데이트하여 정상상태에서의 상기 액티브 제어수단의 역할을 수행하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention, in the communication control device having a process, the active control means in the normal state reads the call setup message and processes it through the process and stores the result in the simultaneous write memory through the simultaneous write channel, the transaction A first function of transferring the process information to the standby control means through a redundant control channel according to a state; From the active control means in the normal state, the standby control means receives the process information according to the transaction state through the redundant control channel to store transaction information, manage the state of the process accordingly, and the message for the message in the message queue. A second function of performing a deletion; A third function of transmitting, by the active control means in an error state, state information of the process to the standby control means; And a fourth function in which the standby control means receives the state information of the process from the active control means in the error state and updates the information it has with the received information to serve as the active control means in the normal state. A computer readable recording medium having recorded thereon a program for realization is provided.

본 발명은, 하드웨어와 소프트웨어의 고장 감내 기법을 상호 보완하는 방안을 사용하여, 한가지 방법에 치중하여 고장 감내 기법을 적용하였을 경우 발생하는 단점을 제거하고, 하드웨어와 소프트웨어 기법을 같이 적용하는 시스템을 구성하여 무선 통신 제어국에서 오류(Fault)가 발생하였을 경우 호 제어를 효율적으로 운용할 수 있게 한다. 이중화 메시지를 이중화 제어 채널과 동시쓰기 채널로 이원화하여 이중화 제어 채널로는 소프트웨어 방식의 적용에 필요한 이중화 제어 메시지를, 동시쓰기 채널로는 메시지 처리 결과를 전송한다. 동시쓰기 메모리를 최대한 이용하여 소프트웨어 방식의 제어 방안을 단순화시키며, 스탠바이 모듈의 프로세스는 메시지를 처리하지 않고 결과만 저장함으로써 시스템의 부하를 줄이는 결과를 얻는다.The present invention eliminates the disadvantages of applying the fault-tolerance technique by focusing on one method using a method of complementing the fault-tolerance technique of hardware and software, and constructs a system that applies the hardware and software techniques together. Therefore, call control can be efficiently operated when a fault occurs in the wireless communication control station. The duplication message is dualized into a duplication control channel and a simultaneous write channel, and the duplication control channel transmits the duplication control message necessary for the application of the software method, and the result of the message processing to the simultaneous write channel. Simplify the software control scheme by making the best use of concurrent write memory, and the standby module's process reduces the load on the system by storing the results without processing the messages.

차세대 이동통신(IMT-2000) 시스템 등과 같은 통신 시스템 제어국의 호 처리 프로세스는 시스템의 장애에 미치는 영향이 큼으로 고장 감내형 장치나 방법의 적용이 중요한 문제이다. 본 발명에서는 기존의 하드웨어와 소프트웨어 고장 감내 기법을 상호 보완하여 사용할 수 있는 방안을 제시한다. 소프트웨어 방식으로는 호 설정 과정을 기억장치에 영향을 미치는 호 메시지 단위를 하나의 묶음으로 트랜잭션을 형성하여, 트랜잭션 단위로 호 설정 과정을 제어한다. 하드웨어 방식으로는 동시쓰기 메모리와 이중화 제어 채널을 이용하여, 호 처리 절차는 액티브 모듈에서만 수행이 되고, 스탠바이 모듈은 이중화 제어 채널을 통해 상태를 관리하고, 동시쓰기 메모리를 통해 액티브 모듈에서의 실행 결과를 저장한다. 동시쓰기 메모리의 사용으로 이중화 메시지의 양을 줄이고, 스탠바이 모듈의 프로세스의 수행에 따른 부하를 줄이게 된다.The call processing process of a communication system control station such as next generation mobile communication (IMT-2000) system has a large impact on the system failure, so the application of a fault tolerance device or method is an important problem. The present invention proposes a method that can complement the existing hardware and software fault tolerance techniques. In the software method, the call establishment process forms a transaction as a bundle of call message units that affect the storage device, and controls the call establishment process in units of transactions. In the hardware method, using the simultaneous write memory and the redundant control channel, the call processing procedure is performed only in the active module, the standby module manages the state through the redundant control channel, and the execution result in the active module through the concurrent write memory. Save it. The use of concurrent write memory reduces the amount of redundant messages and reduces the load on the performance of the standby module's processes.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.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 a configuration diagram of an embodiment of a communication control apparatus according to the present invention.

호 처리를 위한 고장 감내형 시스템을 구성하는데 프로세스의 이중화와 상태 관리를 위해 필요한 몇가지 요소들이 있다. 먼저 운영체제로는 실시간 운영체제를 사용하고, 고장 감내를 요구하는 모듈을 제어 프로세스 보드(CPB : Control Processor Board)라 한다. 시스템에는 동시쓰기 채널(Concurrent Write Channel), 이중화 제어 채널(Duplex Control Channel), 동시쓰기 메모리(Concurrent Write Memory)와 같은 하드웨어의 지원이 필요하다.There are several elements necessary for process redundancy and state management to construct a fault tolerant system for call processing. First, a real-time operating system is used as an operating system, and a module requiring a fault tolerance is called a control processor board (CPB). The system requires hardware support such as Concurrent Write Channel, Duplex Control Channel, and Concurrent Write Memory.

즉, 본 발명에 따른 유무선 통신 제어장치는, 제1 제어 프로세스 보드(CPB, 101), 동시쓰기 메모리(102, 104) 및 제2 제어 프로세스 보드(CPB, 103)으로 이루어진다.That is, the wired / wireless communication control apparatus according to the present invention includes first control process boards CPB 101, simultaneous write memories 102 and 104, and second control process boards CPB 103.

메모리는 각 사용 목적에 따라 프로그램 수행을 위한 영역, 동시쓰기에 사용되는 영역, 이중화 제어 영역, 개별 프로세스의 메모리 영역, 일시적으로 사용되는 로컬영역으로 구분된다.The memory is divided into the area for program execution, the area used for simultaneous writing, the redundancy control area, the memory area of individual processes, and the temporarily used local area according to each purpose of use.

제1 CPB(101)와 제2 CPB(102)는 각각 액티브(Active) 모듈과 스탠바이(Standby) 모듈에 해당한다.The first CPB 101 and the second CPB 102 correspond to an active module and a standby module, respectively.

액티브 모듈에서 주 프로세스의 작업 결과는 동시쓰기 메모리에 저장되어 스탠바이 모듈의 부 프로세스의 데이터를 업데이트한다.The work result of the main process in the active module is stored in the simultaneous write memory to update the data of the sub process of the standby module.

기본적으로 도 1 과 같이 액티브 모듈과 스탠바이 모듈이 동시에 메시지를 수신하며, 액티브 모듈은 메시지를 처리하고, 스탠바이 모듈은 메시지를 메시지 큐에 저장하여 놓는다. 저장된 메시지는 이중화 제어 채널을 통해 액티브 모듈에서 온 제어 정보에 따라 큐에서 삭제한다. 메시지의 송신은 액티브 모듈이 담당하며, 스탠바이 모듈은 단지 수신된 메시지를 이중화 제어 정보에 따라 큐에 관리하고, 수행 결과는 동시쓰기 채널을 통해 동시쓰기 메모리(102, 104)에 기록된다.Basically, as shown in FIG. 1, the active module and the standby module simultaneously receive a message, the active module processes the message, and the standby module stores the message in the message queue. Stored messages are deleted from the queue according to control information from the active module through the redundant control channel. The active module is responsible for the transmission of messages, and the standby module only manages the received messages in the queue according to the redundancy control information, and the results of the execution are recorded in the simultaneous write memories 102 and 104 through the simultaneous write channel.

본 발명에서는 호 설정중에 발생하는 고장에 따라 호가 해제되는 것을 방지하기 위해 호 설정의 과정에 대해 기억 장치에 영향을 미치는 호 메시지 단위를 하나의 묶음으로 트랜잭션을 형성하고, 액티브 모듈에서 본 트랜잭션 단위로 실행한 후 액티브 모듈 프로세스의 컨택스트에 해당하는 상태 정보를 기억장치의 로컬 영역에 저장하고, 이중화 제어 채널을 통하여 스탠바이 모듈로 보내 프로세스의 상태 정보를 업데이트한다. 스탠바이 모듈의 프로세스는 트랜잭션 단위로 상태정보가 업데이트되며, 고장시 로컬 영역에 저장된 상태정보에 따라 현재 트랜잭션의 처음부터 시작된다.In the present invention, in order to prevent the call from being released due to a failure occurring during call setup, a transaction is formed in a bundle of call message units that affect the storage device for the call setup process. After execution, the state information corresponding to the context of the active module process is stored in the local area of the storage device, and is sent to the standby module through the redundant control channel to update the state information of the process. In the standby module, the status information is updated in a transaction unit, and when a failure occurs, the process starts from the beginning of the current transaction according to the status information stored in the local area.

따라서, 스탠바이 모듈의 프로세스는 고장이 발생하기 전에는 상태 정보에 따라 생성, 소멸되면서 유지되므로 시스템의 부하를 줄일 수 있다.Therefore, the standby module process is generated and destroyed according to the status information before the failure occurs, thereby reducing the load on the system.

도 2 내지 도 5 는 본 발명에 따른 통신 제어장치를 이용한 고장 감내 방법에 대한 일실시예 흐름도이다.2 to 5 are flowcharts of one embodiment of a fault tolerant method using a communication control apparatus according to the present invention.

도 2 및 도 3 은 본 발명에 따른 정상상태에서의 이중화 제어 과정을 제시한다.2 and 3 show a redundancy control process in a steady state according to the present invention.

도 2 는 본 발명에 따른 액티브 모듈의 정상상태 이중화 제어 과정에 대한 일실시예 흐름도이다.2 is a flowchart illustrating a steady state redundancy control process of an active module according to the present invention.

액티브 모듈에서 오류(Fault)가 발생하기 전에 이중화 정보 제어 과정은 도 2 에서 자세히 설명한다.The redundant information control process before the fault occurs in the active module will be described in detail with reference to FIG. 2.

메시지 큐에서 M을 가져와(201), M이 호 설정의 첫번째 메시지인지를 확인한다(202). 확인 결과, 호 설정의 첫번째 메시지이면, 프로세스 Pi를 생성한다(203). 그리고, 메시지 Mij를 해당 프로세스에서 실행하고 그 결과를 액티브 모듈과 스탠바이 모듈에 존재하는 동시쓰기 메모리에 저장한다(204). 여기서, 메시지 Mij는 프로세스 Pi를 위한 j번째의 호 메시지를 의미한다.M is taken from the message queue (201) to see if M is the first message of call establishment (202). If it is confirmed that the first message of call establishment, process Pi is generated (203). Then, the message Mij is executed in the process and the result is stored in the simultaneous write memory existing in the active module and the standby module (204). Here, the message Mij means the j th call message for the process Pi.

M이 호 설정의 첫번째 메시지인지를 확인한 결과, 호 설정의 첫번째 메시지가 아니면, 메시지 Mij를 해당 프로세스에서 실행하고 그 결과를 동시쓰기 메모리에 저장한다(204).As a result of checking whether M is the first message of call setup, if it is not the first message of call setup, message Mij is executed in the process and the result is stored in the concurrent write memory (204).

처리된 호 메시지 Mij가 트랜잭션 Tik의 첫번째 메시지인지를 판단한다(205). 판단 결과, 처리된 호 메시지 Mij가 트랜잭션 Tik의 첫번째 메시지이면, 프로세스 Pi의 상태 정보를 스탠바이 모듈로 이중화 제어 체널을 통하여 전송한다(206).It is determined whether the processed call message Mij is the first message of the transaction Tik (205). If it is determined that the processed call message Mij is the first message of the transaction Tik, the state information of the process Pi is transmitted to the standby module through the duplication control channel (206).

판단 결과, 처리된 호 메시지 Mij가 트랜잭션 Tik의 첫번째 메시지가 아니면, 호 메시지 Mij가 트랜잭션 ik의 마지막 메시지인지를 점검한다(207). 점검 결과, 호 메시지 Mij가 트랜잭션 ik의 마지막 메시지이면, 트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션인지를 판별한다(208). 판별 결과, 트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션이 아니면, 프로세스 Pi의 상태 정보를 스탠바이 모듈로 이중화 제어 체널을 통하여 전송한다(206).As a result, if the processed call message Mij is not the first message of the transaction Tik, it is checked whether the call message Mij is the last message of the transaction ik (207). As a result of the check, if the call message Mij is the last message of the transaction ik, it is determined whether the transaction Tik is the last transaction of the process Pi (208). As a result of the determination, if the transaction Tik is not the last transaction of the process Pi, the state information of the process Pi is transmitted to the standby module through the duplication control channel (206).

판별 결과, 트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션이면, 프로세스 Pi를 삭제하고(209), 프로세스 Pi의 상태 정보를 스탠바이 모듈로 이중화 제어 체널을 통하여 전송한다(206).As a result of the determination, if the transaction Tik is the last transaction of the process Pi, the process Pi is deleted (209), and the state information of the process Pi is transmitted to the standby module through the duplication control channel (206).

프로세스 Pi의 상태 정보를 스탠바이 모듈로 이중화 제어 체널을 통하여 전송한 다음에는 메시지 큐에서 다음 메시지를 가져오는 과정(201)부터 반복 수행한다.After transmitting the status information of the process Pi to the standby module through the duplication control channel, the process is repeatedly performed in step 201 of obtaining the next message from the message queue.

호 메시지 Mij가 트랜잭션 Tik의 마지막 메시지인지를 점검한 결과, 호 메시지 Mij가 트랜잭션 ik의 마지막 메시지가 아니면, 메시지 큐에서 다음 메시지를 가져오는 과정(201)부터 반복 수행한다.As a result of checking whether the call message Mij is the last message of the transaction Tik, if the call message Mij is not the last message of the transaction ik, the call message Mij is repeated from the process of obtaining the next message from the message queue (201).

도 3 은 본 발명에 따른 스탠바이 모듈의 정상상태 이중화 제어 과정에 대한 일실시예 흐름도이다.3 is a flowchart illustrating a steady state redundancy control process of the standby module according to the present invention.

스탠바이 모듈에서 오류(Fault)가 발생하기 전에 정상상태에서의 이중화 정보에 따른 상태 관리 과정은 도 3 에서 설명한다.The state management process according to the duplication information in the normal state before the fault occurs in the standby module will be described with reference to FIG. 3.

우선, 이중화 제어 채널로부터 이중화 제어 메시지를 수신한다(301). 수신된 메시지가 호 설정의 첫번째 제어 메시지인지를 확인한다(302). 확인 결과, 호 설정의 첫번째 제어 메시지이면, 프로세스 Pi를 생성하고(303), 수신된 제어 메시지가 트랜잭션 Tik의 첫번째 메시지인지를 판단한다(304).First, a duplicated control message is received from a duplicated control channel (301). Check whether the received message is the first control message of call establishment (302). As a result of the check, if it is the first control message of the call setup, the process Pi is generated (303), and it is determined whether the received control message is the first message of the transaction Tik (304).

확인 결과, 호 설정의 첫번째 제어 메시지가 아니면, 수신된 제어 메시지가 트랜잭션 Tik의 첫번째 메시지인지를 판단한다(304).As a result of the check, if it is not the first control message of call establishment, it is determined whether the received control message is the first message of transaction Tik (304).

판단 결과, 수신된 제어 메시지가 트랜잭션 Tik의 첫번째 메시지이면, 트랜잭션 Tik의 시작점을 저장하고, 프로세스 Pi의 컨택스트 정보를 업데이트한다(305). 그리고, 메시지 큐로부터 트랜잭션 Tik의 첫번째 메시지를 제거한다(306). 그 다음에는 이중화 제어 채널로부터 이중화 제어 메시지를 수신하는 과정(301)부터 반복 수행한다.If it is determined that the received control message is the first message of transaction Tik, the starting point of transaction Tik is stored and the context information of process Pi is updated (305). Then, the first message of the transaction Tik is removed from the message queue (306). Thereafter, the process is repeated from step 301 of receiving a duplicated control message from the duplicated control channel.

판단 결과, 수신된 제어 메시지가 트랜잭션 Tik의 첫번째 메시지가 아니면, 수신된 제어 메시지가 트랜잭션 Tik의 마지막 메시지인지를 검사한다(307). 검사 결과, 수신된 제어 메시지가 트랜잭션 Tik의 마지막 메시지이면, 트랜잭션 Tik의 끝점을 저장하고, 프로세스 Pi의 컨택스트 정보를 업데이트한다(308). 그리고, 메시지 큐로부터 트랜잭션 Tik에 해당하는 모든 메시지를 제거한다(309).As a result of the determination, if the received control message is not the first message of the transaction Tik, it is checked whether the received control message is the last message of the transaction Tik (307). As a result of the check, if the received control message is the last message of transaction Tik, the endpoint of transaction Tik is stored and the context information of process Pi is updated (308). Then, all messages corresponding to transaction Tik are removed from the message queue (309).

그 다음에는 트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션인지를 확인한다(310). 확인 결과, 트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션이면, 프로세스 Pi를 소멸시킨다(311). 그리고, 이중화 제어 채널로부터 이중화 제어 메시지를 수신하는 과정(301)부터 반복 수행한다.Next, it is checked whether the transaction Tik is the last transaction of the process Pi (310). If it is confirmed that the transaction Tik is the last transaction of the process Pi, the process Pi is destroyed (311). In step 301 of receiving a duplicated control message from the duplicated control channel, the process is repeatedly performed.

트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션인지를 확인한 결과, 트랜잭션 Tik가 프로세스 Pi의 마지막 트랜잭션이 아니면, 이중화 제어 채널로부터 이중화 제어 메시지를 수신하는 과정(301)부터 반복 수행한다.As a result of confirming that the transaction Tik is the last transaction of the process Pi, if the transaction Tik is not the last transaction of the process Pi, the process is repeatedly performed in step 301 of receiving a replication control message from the replication control channel.

수신된 제어 메시지가 트랜잭션 Tik의 마지막 메시지인지를 검사한 결과, 수신된 제어 메시지가 트랜잭션 Tik의 마지막 메시지가 아니면, 이중화 제어 채널로부터 이중화 제어 메시지를 수신하는 과정(301)부터 반복 수행한다.As a result of checking whether the received control message is the last message of the transaction Tik, if the received control message is not the last message of the transaction Tik, the process is repeated from the step 301 of receiving the duplicated control message from the duplicated control channel.

도 4 및 도 5 는 오류(Fault)가 발생한 상태에서의 이중화 절체 과정에 대해 설명한다.4 and 5 illustrate a redundant switching process in a state where a fault occurs.

도 4 는 본 발명에 따른 액티브 모듈의 오류상태 이중화 제어 과정에 대한일실시예 흐름도이다.4 is a flowchart illustrating an error state redundancy control process of an active module according to the present invention.

오류(Fault)가 발생하면(401), 액티브 모듈에서는 스탠바이 모듈로 프로세스의 컨택스트 정보를 전송한다(402).If a fault occurs (401), the active module transmits the context information of the process to the standby module (402).

도 5 는 본 발명에 따른 스탠바이 모듈의 오류상태 이중화 제어 과정에 대한 일실시예 흐름도이다.5 is a flowchart illustrating an error state redundancy control process of the standby module according to the present invention.

오류가 발생하면(501), 액티브 모듈로부터 프로세스의 컨택스트 정보를 수신한 스탠바이 모듈은 현재의 컨택스트 정보를 수신한 정보로 업데이트하고(502), 메시지 큐에 있는 메시지들을 가져다가 정상상태에서의 액티브 모듈이 수행하는 과정대로 메시지를 처리한다(503).If an error occurs (501), the standby module receiving the context information of the process from the active module updates the current context information with the received information (502), takes the messages in the message queue and returns them to the normal state. The message is processed as the active module performs (503).

본 발명에서 제안한 고장에 따른 절체방법은 절체가 일어날 때 스탠바이 모듈의 메시지 큐에 폐기되지 않고 저장된 호 설정 메시지를 이중화 제어 메시지에 따라 업데이트된 상태 정보에 맞추어 트랜잭션 단위로 완료되지 않은 트랜잭션의 처음부터 수행함으로 해서 호 설정 전체를 한 단위로 하여 호 설정을 처음부터 시작하는 방법보다 효과적으로 오류(Fault)가 발생한 후에 진행중인 호 처리 과정을 유지할 수가 있다. 트랜잭션은 현재 설정중인 호를 호 설정이라는 큰 트랜잭션 안에 상태 변화에 영향을 미치는 작은 단위의 트랜잭션으로 나누어 효과적으로 호 설정 과정을 제어할 수 있게 한다.The transfer method according to the failure proposed in the present invention performs a call setup message stored without being discarded in the message queue of the standby module from the beginning of a transaction that is not completed in a transaction unit according to the updated status information according to the redundancy control message when the transfer occurs. In this way, the call processing process can be maintained after a fault occurs more effectively than the method of starting call setup from the beginning using the whole call setup as a unit. Transactions can effectively control the call setup process by dividing the current call into smaller transactions that affect state changes within a larger transaction called call setup.

본 발명의 적용 대상으로 고려한 통신 시스템의 제어국은 통화자가 많은 시간대에 오류(Fault)가 발생하면 호 설정을 한 단위로 하는 트랜잭션을 사용하는 경우, 호 설정이 완결되지 않고 진행중인 호는 해당 프로세스에서 초기부터 다시 호 설정을 시작하게 됨으로 많은 호가 해제되는 문제점을 지닌다. 그래서 진행중인 호가 해제되는 양을 충분히 줄일 수가 있는 작은 단위의 트랜잭션을 사용하는 본 발명의 적용을 고려하게 된 것이다. 제어국에서 호 처리를 하는 경우, 하드웨어와 소프트웨어 두가지를 상호 보완 관계로 적용을 하여 구현할 수가 있다.상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등에 저장될 수 있다.When the control station of the communication system considered to be the subject of the present invention uses a transaction that sets up a call as a unit when a caller encounters an error in a large time zone, the call setup is not completed and the call in progress is not performed. Since the call setup is started again from the beginning, many calls are released. Thus, we consider the application of the present invention to use a small unit of transactions that can sufficiently reduce the amount of ongoing calls released. In the case of call processing at the control station, both hardware and software can be implemented in a complementary relationship. The above-described method of the present invention can be implemented by a program and a computer-readable form of a recording medium (CD-ROM, It can be stored in RAM, ROM, floppy disk, hard disk, magneto-optical disk, or the like.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 종래에 호 설정을 담당하는 시스템에서 호가 설정중에 오류(Fault)가 발생하면 설정중인 호를 모두 복구해야 하였던 것과 달리 하드웨어와 소프트웨어 방식의 혼합 적용으로 시스템을 구성하여 통화량이 많은 시간대에 오류(Fault)가 발생하는 경우에는 복구되지 못하는 호가 많이 발생하는 기존의 문제점을 줄이는 효과가 있다.According to the present invention as described above, in case of a call setup in the system that is in charge of call setup in the prior art, the call volume is configured by using a mixed application of hardware and software, in contrast to having to recover all the setup calls. If a fault occurs in many of these times, there is an effect of reducing the existing problem that a lot of calls that cannot be recovered occur.

또한, 본 발명은, 통화량이 증가되어 호의 복구가 더욱 중요한 문제로 대두된 상황에서 하드웨어적인 측면과 소프트웨어적인 측면을 혼합한 고장 감내 기법을 통해 안정된 호 처리를 보장하는 효과가 있다.In addition, the present invention has the effect of ensuring stable call processing through a fault tolerance technique that combines the hardware and software aspects in a situation where the call volume is increased to become a more important problem.

Claims (4)

고장 감내를 위한 통신 제어장치에 있어서,In the communication control device for fault tolerance, 호 설정 메시지를 수신하여 제어 처리를 수행하고 그에 따른 응답 메시지를 전송하며 호 메시지 단위로 형성된 트랜잭션에 따라 프로세스를 생성하여 호 설정을 수행하기 위한 액티브 제어수단; 및Active control means for receiving a call setup message, performing control processing, transmitting a response message accordingly, and generating a process according to a transaction formed in units of call messages to perform call setup; And 상기 호 설정 메시지를 상기 액티브 제어수단과 같이 수신하여 저장하며 상기 액티브 제어수단으로부터 이중화 제어 채널이나 동시쓰기 채널을 통해 정보를 받아 저장하고 상기 액티브 제어수단의 오류 발생시에 상기 액티브 제어수단으로부터 전달된 트랜잭션 단위의 처리 결과에 뒤이어서 호 설정을 수행하기 위한 대기 제어수단Receives and stores the call setup message together with the active control means, receives and stores information from the active control means through a redundant control channel or a simultaneous write channel, and transmits the transaction from the active control means when an error occurs in the active control means. Standby control means for performing call setup following the processing result of the unit 을 포함하는 통신 제어장치.Communication control device comprising a. 제 1 항에 있어서,The method of claim 1, 상기 대기 제어수단은,The standby control means, 상기 액티브 제어수단의 정상 동작시에 상기 액티브 제어수단에서와 같지만 호 설정 처리를 수행하지 않는 프로세스가 생성되고 소멸되면서 유지되는 것을 특징으로 하는 통신 제어장치.And during the normal operation of the active control means, a process, which is the same as in the active control means but which does not perform the call setup process, is generated and destroyed and maintained. 통신 제어장치에 적용되는 고장 감내 방법에 있어서,In the fault tolerance method applied to the communication control device, 정상상태에서의 액티브 제어수단이 호 설정 메시지를 읽어 와 프로세스를 통해 처리하여 그 결과를 동시쓰기 채널을 통해 동시쓰기 메모리에 저장하고, 트랜잭션 상태에 따라 상기 프로세스 정보를 이중화 제어채널을 통해 대기 제어수단으로 전달하는 제 1 단계;The active control means in the normal state reads the call setup message and processes it through the process, and stores the result in the simultaneous write memory through the simultaneous write channel, and waits for the process information through the redundant control channel according to the transaction state. Delivering to the first step; 정상상태에서의 상기 액티브 제어수단으로부터 상기 대기 제어수단이 상기 이중화 제어채널을 통해 트랜잭션 상태에 따른 상기 프로세스 정보를 수신하여 트랜잭션 정보를 저장하고 그에 따른 상기 프로세스의 상태를 관리하고 메시지 큐에 있는 메시지에 대한 삭제를 수행하는 제 2 단계;From the active control means in the normal state, the standby control means receives the process information according to the transaction state through the redundant control channel, stores the transaction information, manages the state of the process accordingly, and sends the message to the message in the message queue. Performing a deletion for the second step; 오류상태에서의 상기 액티브 제어수단이 상기 대기 제어수단으로 상기 프로세스의 상태 정보를 전송하는 제 3 단계; 및A third step of transmitting, by the active control means in an error state, state information of the process to the standby control means; And 상기 대기 제어수단이 오류상태에서의 상기 액티브 제어수단으로부터 상기 프로세스의 상태 정보를 수신하여 가지고 있던 정보를 수신된 정보로 업데이트하여 정상상태에서의 상기 액티브 제어수단의 역할을 수행하는 제 4 단계A fourth step in which the standby control means receives the state information of the process from the active control means in the error state and updates the information it has with the received information to perform the role of the active control means in the normal state; 를 포함하는 고장 감내 방법.The fault tolerance method comprising a. 프로세스를 구비한 통신 제어장치에,In the communication control apparatus provided with the process, 정상상태에서의 액티브 제어수단이 호 설정 메시지를 읽어 와 프로세스를 통해 처리하여 그 결과를 동시쓰기 채널을 통해 동시쓰기 메모리에 저장하고, 트랜잭션 상태에 따라 상기 프로세스 정보를 이중화 제어채널을 통해 대기 제어수단으로 전달하는 제 1 기능;The active control means in the normal state reads the call setup message and processes it through the process, and stores the result in the simultaneous write memory through the simultaneous write channel, and waits for the process information through the redundant control channel according to the transaction state. A first function of delivering to; 정상상태에서의 상기 액티브 제어수단으로부터 상기 대기 제어수단이 상기 이중화 제어채널을 통해 트랜잭션 상태에 따른 상기 프로세스 정보를 수신하여 트랜잭션 정보를 저장하고 그에 따른 상기 프로세스의 상태를 관리하고 메시지 큐에 있는 메시지에 대한 삭제를 수행하는 제 2 기능;From the active control means in the normal state, the standby control means receives the process information according to the transaction state through the redundant control channel, stores the transaction information, manages the state of the process accordingly, and sends the message to the message in the message queue. A second function of performing a delete on; 오류상태에서의 상기 액티브 제어수단이 상기 대기 제어수단으로 상기 프로세스의 상태 정보를 전송하는 제 3 기능; 및A third function of transmitting, by the active control means in an error state, state information of the process to the standby control means; And 상기 대기 제어수단이 오류상태에서의 상기 액티브 제어수단으로부터 상기 프로세스의 상태 정보를 수신하여 가지고 있던 정보를 수신된 정보로 업데이트하여 정상상태에서의 상기 액티브 제어수단의 역할을 수행하는 제 4 기능A fourth function in which the standby control means receives the state information of the process from the active control means in the error state and updates the information it has with the received information to serve as the active control means in the normal state 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1020000002773A 2000-01-21 2000-01-21 Access control system and fault-tolerance method using the same KR100349666B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000002773A KR100349666B1 (en) 2000-01-21 2000-01-21 Access control system and fault-tolerance method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000002773A KR100349666B1 (en) 2000-01-21 2000-01-21 Access control system and fault-tolerance method using the same

Publications (2)

Publication Number Publication Date
KR20010075875A KR20010075875A (en) 2001-08-11
KR100349666B1 true KR100349666B1 (en) 2002-08-23

Family

ID=19640204

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000002773A KR100349666B1 (en) 2000-01-21 2000-01-21 Access control system and fault-tolerance method using the same

Country Status (1)

Country Link
KR (1) KR100349666B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020059481A (en) * 2001-01-06 2002-07-13 윤종용 Duplex apparatus and method of large scale system
KR100735435B1 (en) * 2001-03-27 2007-07-04 삼성전자주식회사 Data processing method in duplicated boards
CN108205342A (en) * 2016-12-16 2018-06-26 财团法人工业技术研究院 The feed sensing control device and its method of controlled system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100198416B1 (en) * 1996-10-16 1999-06-15 이계철 Synchronization monitor circuit for duplicated control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100198416B1 (en) * 1996-10-16 1999-06-15 이계철 Synchronization monitor circuit for duplicated control system

Also Published As

Publication number Publication date
KR20010075875A (en) 2001-08-11

Similar Documents

Publication Publication Date Title
US9274906B2 (en) Implementing failover processes between storage stamps
US20070008890A1 (en) Method and apparatus for non-stop multi-node system synchronization
JPH0619743B2 (en) Storing method, control method, and storage device for application session in computer network
CN101989922A (en) Method and system for recovering session initial protocol affairs
CN109582502A (en) Storage system fault handling method, device, equipment and readable storage medium storing program for executing
US6654880B1 (en) Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage
KR100349666B1 (en) Access control system and fault-tolerance method using the same
JP2006285443A (en) Object relief system and method
JP2006058960A (en) Synchronization method and system in redundant configuration server system
JP2001154896A (en) Computer and method for updating file
KR100408979B1 (en) Fault tolerance apparatus and the method for processor duplication in wireless communication system
KR100455872B1 (en) Duplication method for real-time fault tolerance in wireless communication system
JP2015153128A (en) Call processing control device and software update method of the same, call processing system, and computer program
JP4193754B2 (en) Data duplication method and program
KR100319742B1 (en) Replication method of distributed dbms
CN111563010B (en) Data synchronization method, system and storage medium based on dual-computer redundancy system
KR100404547B1 (en) Call Processing Method for Processor Duplications in Wireless Communication System
JP2001350736A (en) Method and device for online processing and recording medium recording processing program therefor
CN113467717A (en) Double-machine volume mirror image management method, device, equipment and readable storage medium
JPH11265361A (en) Multicomputer system, communication processor, transaction processing system, method for transferring operation of transaction processing system, and recording medium recording transaction processing system operation transferring program
TWI735518B (en) Service provision method and system of database
KR100241335B1 (en) Method for prohibiting the disc data backup for standby loading of exchange database backup system
KR100596002B1 (en) System and method for synchronizing call information in internet protocol exchange system replicated in active-standby mode
JP3177675B2 (en) Uninterrupted service data transfer destination transfer method
KR0131155B1 (en) Remote backup method for subscriber location information

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

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee