KR20030039738A - Fault tolerance apparatus and the method for processor duplication in wireless communication system - Google Patents

Fault tolerance apparatus and the method for processor duplication in wireless communication system Download PDF

Info

Publication number
KR20030039738A
KR20030039738A KR1020010070774A KR20010070774A KR20030039738A KR 20030039738 A KR20030039738 A KR 20030039738A KR 1020010070774 A KR1020010070774 A KR 1020010070774A KR 20010070774 A KR20010070774 A KR 20010070774A KR 20030039738 A KR20030039738 A KR 20030039738A
Authority
KR
South Korea
Prior art keywords
data
message
board
task
backup
Prior art date
Application number
KR1020010070774A
Other languages
Korean (ko)
Other versions
KR100408979B1 (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 KR20010070774A priority Critical patent/KR100408979B1/en
Publication of KR20030039738A publication Critical patent/KR20030039738A/en
Application granted granted Critical
Publication of KR100408979B1 publication Critical patent/KR100408979B1/en

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE: A device of permitting a defect for processor duplexing in a wireless communication system is provided to construct a defect permitting system based on interworking between tasks, and to prevent a processing function from being deteriorated owing to overhead of a duplexing function, thereby precisely constructing a dump and backup function. CONSTITUTION: A defect permitting control module(41) generates a defect permitting control signal for processor duplexing according to a control command of a task control module. A transmission data control module(42) separates dump and backup data into packet units according to a transmission environment of a duplexing path before transmitting the data to a standby board from an active board, based on the defect permitting control signal, and attaches sequence numbers for reassembling the data, then adds header information corresponding to each packet. A data transmission module(43) transmits the dump and backup data reconfigured according to the transmission data control module(42) by managing the duplexing path and controlling an Ethernet transmission buffer.

Description

무선통신시스템에서 프로세서 이중화를 위한 결함 허용 장치 및 그 방법{Fault tolerance apparatus and the method for processor duplication in wireless communication system}Fault tolerance apparatus and the method for processor duplication in wireless communication system

본 발명은 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 기술에 관한 것으로, 특히 차세대 이동통신시스템(IMT-2000) 내 무선망 제어기(RNC)의 다양한 종류의 호 처리 요구를 제어하는 호 처리 프로세스를 이중화하기 위하여, 레지스터 및 프로세서의 상태 정보를 필요로 하지 않고, 데이터 백업 시의 동기화 기능 및 절차를 간략화하고 구현을 용이하게 하기 위한 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 장치 및 그 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a fault-tolerant technology for processor duplication in a wireless communication system. In particular, the present invention relates to a duplication of a call processing process for controlling various types of call processing requests of a radio network controller (RNC) in a next generation mobile communication system (IMT-2000). In order to simplify the synchronization functions and procedures during data backup and to facilitate the implementation, a fault-tolerant apparatus and method and method thereof for redundancy in a wireless communication system are not required. A computer readable recording medium having recorded thereon a program for realization.

현재 프로세서의 결함 허용을 위하여, 활성-대기(Active-Standby), 주-보조 (Master-Assistant), 그리고 부하 분산(Load-Sharing) 등의 프로세서 이중화 방안이 연구되고 있지만, 안정성 확보를 최우선으로 하는 교환시스템과 같은 장치는 프로세서의 신뢰성을 높이기 위하여, 활성-대기 프로세서 이중화를 일반적으로 사용한다. 이 구조는 두 프로세서에 동일한 기억장소를 부여하고 절체에 대비하는 준비(Ready) 단계와, 실제 활성-절체가 발생하는 절체(Take-over) 단계, 절체 후 다시 준비 단계로 들어가기 위하여 대기 프로세서를 복구(Recovery)하는 재준비(Re-ready) 단계를 거친다.At present, the processor redundancy schemes such as Active-Standby, Master-Assistant, and Load-Sharing have been studied for the fault tolerance of the processor. Devices such as switching systems generally use active-standby processor redundancy to increase processor reliability. This architecture gives the two processors the same storage and prepares for a switchover, recovers the standby processor to enter the take-over phase after the actual active-switchover, and then transitions back to the preparation phase. It goes through a re-ready phase of recovering.

일반적으로, 활성-대기-절체를 준비하는 준비 단계 또는 재준비 단계의 수행 과정 및 방법에 따라, 현재 프로세서 이중화를 위하여 동시 동작(Concurrent Processing) 방식, 동시 쓰기(Concurrent Write) 방식, 상태 체크포인팅(State Check-pointing) 방식 및 자동 체크포인팅 방식과 같은 기술을 적용하여 시스템을 구현하고 있다.In general, depending on the preparation and re-preparation phase of preparing for active-standby-switch, the method of concurrent processing, concurrent write, and state checkpointing for current processor redundancy The system is implemented by applying technology such as state check-pointing method and automatic check pointing method.

즉, 동시 동작 방식은 활성(Active) 프로세서와, 대기(Standby) 프로세서가 독립된 하드웨어 모듈에서 같은 코드를 수행함으로써, 한 모듈이 결함에 의한 절체가 요구될 때에, 다른 모듈의 외부통신 경로만 변경해 주면 실시간 결함 허용이 가능하다. 그러나, 초기에 활성 보드(Active Board)와 대기 보드(Standby Board)가 동시에 시동되어야 하는 제약이 있으며, 대기 보드가 늦게 동작한다면 활성 보드의 기억장소를 일괄 복제하는 과정이 필요하다. 무선망 제어기(RNC)에서는 실행의 기본 단위가 호(call) 처리 메시지이고, 어떤 일시적인 결함으로 인해 각 태스크간의 컨텍스트(Context)가 불일치할 수 있으므로, 동시 동작 방식을 사용한다면 시스템의 안정성이 문제가 될 수 있다. 또한, 동시 동작 방식은 절체 시 완벽하게 연속적인 서비스가 가능하지만, 두 프로세서의 동기화가 어렵다.In other words, the simultaneous operation method requires that the active processor and the standby processor execute the same code in separate hardware modules so that when one module requires a fault transfer, only the external communication path of another module needs to be changed. Real time fault tolerance is possible. However, there is a constraint that the active board and the standby board must be started at the same time. If the standby board operates late, a process of collectively replicating the storage of the active board is required. In RNC, the basic unit of execution is call processing message, and the context of each task can be inconsistent due to some temporary defect. Can be. In addition, the simultaneous operation can provide a completely continuous service when switching, but it is difficult to synchronize the two processors.

동시 쓰기 방식은 활성 보드가 기억장소의 내용을 변경하면 동시에 활성 보드의 기억장소도 변경한다. 이를 위해서는 공유 기억장치를 이용하거나, 동시 쓰기를 지원하는 특별한 하드웨어가 필요하다. 결함에 의해 절체가 요구될 때에는 활성 프로세서의 컨텍스트만을 복사하여 자신의 컨텍스트에 적용한 후 활성화하며, 액티브 프로세서가 수행하던 작업을 연속적으로 수행한다. 이런 방식은 활성 프로세서의 오 동작이 그대로 대기 프로세서에 넘겨지기 때문에 이중화 다운(dual down)이 발생하며, 동시 쓰기를 위한 하드웨어 구성이 어렵고 그에 따라 더 많은 비용이 추가된다.Simultaneous writes change the memory location of the active board when the active board changes its contents. This requires special hardware that uses shared storage or supports concurrent writes. When switching is required due to a defect, only the context of the active processor is copied, applied to its own context, and activated, and the work performed by the active processor is continuously performed. This approach results in dual down because the active processor's misbehavior is left to the standby processor, which makes it difficult to configure the hardware for concurrent writes and adds more cost.

상태 체크포인팅 방식은 활성 프로세서의 동작의 결과로, 상태가 변화하면 대기 프로세서에 상태정보를 전송한다. 부 프로세서는 주 프로세서가 전송한 상태 정보를 저장하고, 활성 프로세스의 작업 중 오류나 결함 발생시 대기 프로세서는 최근의 체크포인트(checkpoint) 데이터를 토대로 복구를 시도한다. 중요한 작업마다 상태 정보를 갖게 되므로 복구율이 높지만, 이를 위하여 이중화 전담 태스크가 운영체제와 IPC(Inter-process Communication)의 지원을 받아 기억장소의 변경 내역, 레지스터 등의 컨텍스트 정보(Context Information), 입력 큐(Input Queue)의 내용 등을 로그(log)로 작성하여 대기 프로세서로 전송해야 하므로, 이중화 모듈의 오버헤드(overhead)가 크고 구현하기가 어렵다.The state checkpointing method is a result of the operation of the active processor, and transmits state information to the standby processor when the state changes. The subprocessor stores state information transmitted by the main processor, and when an error or defect occurs during the operation of the active process, the standby processor attempts to recover based on the latest checkpoint data. The recovery rate is high because each important task has status information, but for this purpose, a dedicated task for redundancy is supported by the operating system and inter-process communication (IPC), and the context information such as the change history of the storage location, context information such as registers, and the input queue ( Since the contents of the input queue must be written to a log and transmitted to the standby processor, the overhead of the redundancy module is large and difficult to implement.

자동 체크포인팅 방식은 이중화를 지원하는 운영체제가 자동적으로 로그 정보를 생성하여 대기 프로세서로 전달하는 방식으로, 이는 상태 체크포인팅 방식의 구현의 부담을 줄이기 위해 제안되었다. 그러나, 이를 지원하는 운영체제를 새로 구축해야 하는 비용 상승 문제와 대기 프로세서로 전송되는 데이터의 양이 급증하므로 관리 비용이 크다.The automatic checkpointing method is a method in which an operating system that supports redundancy automatically generates log information and passes it to a standby processor. This has been proposed to reduce the burden of implementing the status checkpointing method. However, the management cost is high because of the cost increase to build a new operating system supporting this, and the amount of data transferred to the standby processor is soaring.

따라서, 상기의 이런 방식들은 동기화 문제, 이중화 다운, 그리고 이중화 전담 AP(Application Program)의 오버헤드 문제 등이 시스템 구현에 많은 영향을 끼치게 되는 문제점들이 있었다.Therefore, the above schemes have a problem in that synchronization problems, redundancy down, and overhead problems of a dedicated dedicated application program (AP) have a great influence on the system implementation.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 태스크 간의 연동을 기반으로 결함 허용 시스템을 구축하고, 이를 통하여 이중화 기능의 오버헤드로 인한 호 처리 프로세서의 처리 기능 저하를 막아 덤프 및 백업을 정밀하고 효율적으로 구축할 수 있는 프로세서 이중화를 위한 결함 허용 장치 및 그 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, to build a fault-tolerant system based on the interworking between tasks, thereby preventing the degradation of processing of the call processing processor due to the overhead of redundancy function, dump and It is an object of the present invention to provide a fault-tolerant device for processor redundancy and a method thereof, and a computer-readable recording medium having recorded thereon a program for realizing the method.

도 1a 는 본 발명이 적용되는 프로세서간 이중화 시스템의 구성 예시도.1A is an exemplary configuration diagram of an interprocessor redundancy system to which the present invention is applied.

도 1b는 상기 도 1a의 활성 보드에서의 결함 허용 모듈에 대한 일실시예 구성도.FIG. 1B illustrates an embodiment configuration of a fault tolerance module in the active board of FIG. 1A.

도 1c는 상기 도 1a의 대기 보드에서의 결함 허용 모듈에 대한 일실시예 구성도.1C is a diagram illustrating an embodiment of a fault-tolerant module in the standby board of FIG. 1A.

도 2 는 상기 도 1a를 구동했을 경우, 활성/대기 보드의 설정 과정에 대한 일실시예 흐름도.FIG. 2 is a flowchart illustrating a process of setting an active / standby board when driving FIG. 1A.

도 3 은 본 발명에 따른 프로세서 이중화를 위한 결함 허용 방법을 나타낸 일실시예 설명도.3 is a diagram illustrating an embodiment of a fault-tolerant method for processor duplication according to the present invention;

도 4 는 본 발명에 따른 프로세서 이중화를 위한 결함 허용 방법에 대한 일실시예 흐름도.4 is a flow diagram of an embodiment of a fault tolerance method for processor redundancy in accordance with the present invention.

도 5 는 본 발명에 따른 메시지의 삭제 및 재구성을 위한 메시지 처리 구조도.5 is a diagram illustrating a message processing structure for deleting and reconstructing a message according to the present invention.

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

11, 21 : 결함 허용 모듈41 : 결함 허용 제어 모듈11, 21: fault tolerance module 41: fault tolerance control module

42 : 송신 데이터 제어 모듈43 : 데이터 전송 모듈42: transmission data control module 43: data transmission module

44 : 데이터 수신 모듈45 : 수신 데이터 전송 모듈44: data receiving module 45: receiving data transmission module

46 : 메시지 관리 모듈46: message management module

상기 목적을 달성하기 위한 본 발명은, 무선통신시스템에서 프로세서 이중화를 위한 활성 보드의 결함 허용 장치에 있어서, 태스크 제어 모듈로부터의 제어 명령에 따라, 프로세서 이중화를 위한 결함 허용 제어 신호를 발생하는 결함 허용 제어수단; 상기 결함 허용 제어 신호에 따라, 상기 활성 보드에서 생성된 덤프 및 백업 데이터를 대기 보드로 전달하기 전에 이중화 패스의 전송 환경에 맞게 패킷 단위로 분리하고 이들이 재조합 가능하도록 순서 번호(Sequency Number)를 붙이며 각패킷에 해당하는 헤더 정보를 부가하는 송신 데이터 제어수단; 및 상기 결함 허용 제어 신호에 따라, 이중화 패스를 관리하고 이더넷 송신 버퍼를 제어하여 상기 송신 데이터 제어수단에 의해 재구성된 덤프 및 백업 데이터를 송신하는 데이터 전송수단을 포함하여 이루어진 것을 특징으로 한다.The present invention for achieving the above object, the fault tolerance device of the active board for processor duplication in a wireless communication system, the fault tolerance to generate a fault-tolerant control signal for processor duplication in accordance with a control command from the task control module Control means; According to the fault-tolerant control signal, before dump and backup data generated in the active board are transferred to the standby board, the packet is separated into packet units according to the transmission environment of the redundant path, and a sequence number is attached to each other so that they can be recombined. Transmission data control means for adding header information corresponding to the packet; And data transmission means for managing the redundancy path and controlling the Ethernet transmission buffer according to the fault tolerance control signal to transmit dump and backup data reconstructed by the transmission data control means.

또한, 본 발명은, 무선통신시스템에서 프로세서 이중화를 위한 대기 보드의 결함 허용 장치에 있어서, 이중화 패스를 관리하고 이더넷 수신 버퍼를 제어하여 활성 보드로부터 전송된 덤프 및 백업 데이터를 수신하는 데이터 수신수단; 상기 데이터 수신수단을 통해 수신된 상기 활성 보드의 덤프 및 백업 데이터를 대기 보드의 해당 태스크의 전용 메모리에 저장하기 위하여, 수신된 패킷에서 헤더 정보를 삭제하고 그 순서 번호에 따라 원래의 데이터를 재구성하는 수신 데이터 제어수단; 및 상기 대기 보드로 수신되는 외부 메시지를 관리하기 위하여, 상기 활성 보드의 메시지 처리 결과로 생성된 데이터의 백업 완료시 이와 동일한 메시지를 상기 대기 보드의 메시지 테이블에서 삭제하고, 상기 활성 보드의 결함에 의하여 절체될 경우 상기 메시지 테이블에 남아있는 메시지를 활성화 상태가 된 상기 대기 보드의 해당 태스크로 전송하여 결함 발생 이전의 상태로 복구하는 메시지 관리수단을 포함하여 이루어진 것을 특징으로 한다.In addition, the present invention, a fault-tolerant device of the standby board for processor redundancy in a wireless communication system, comprising: data receiving means for managing a redundancy path and controlling an Ethernet receive buffer to receive dump and backup data transmitted from an active board; In order to store the dump and backup data of the active board received through the data receiving means in a dedicated memory of the task of the standby board, the header information is deleted from the received packet and the original data is reconstructed according to the sequence number. Receiving data control means; And deleting the same message from the message table of the standby board when the backup of the data generated as a result of the message processing of the active board is completed in order to manage the external message received by the standby board. And a message management means for transmitting the message remaining in the message table to the task of the standby board in the activated state and restoring to a state before the occurrence of a defect when the transfer is performed.

또한, 본 발명은 무선통신 시스템에 적용되는 프로세서 이중화를 위한 결함 허용 방법에 있어서, 호 처리와 관련된 정보를 태스크 단위로, 활성 보드에서 대기 보드로 덤프하는 제 1 단계; 각 태스크가 메시지 처리 결과에 따라 변경된 메모리의 내용을 이중화 송신 버퍼에 저장하는 제 2 단계; 각 태스크의 제어 하에 관련정보를 이용하여 상기 이중화 송신 버퍼에 저장된 데이터를 상기 대기 보드로 전송하고, 이를 이중화 수신 버퍼에 저장하는 제 3 단계; 상기 이중화 수신 버퍼에 저장된 데이터를 상기 대기 보드의 해당 태스크 전용 메모리에 저장하는 제 4 단계; 및 상기 전송된 데이터의 헤더정보를 이용하여 상기 대기 보드의 메시지 테이블에서 동일한 메시지를 삭제하는 제 5 단계를 포함하여 이루어진 것을 특징으로 한다.In addition, the present invention provides a fault tolerance method for processor duplication applied to a wireless communication system, comprising: a first step of dumping information related to call processing on a task basis from an active board to a standby board; A second step in which each task stores the contents of the memory changed according to a message processing result in a redundant transmission buffer; A third step of transmitting data stored in the redundant transmission buffer to the standby board using the related information under control of each task, and storing the data in the redundant reception buffer; A fourth step of storing data stored in the redundant reception buffer in a corresponding task dedicated memory of the standby board; And a fifth step of deleting the same message from the message table of the standby board by using the header information of the transmitted data.

또한, 본 발명은, 프로세서를 구비한 무선통신 시스템에, 호 처리와 관련된 정보를 태스크 단위로, 활성 보드에서 대기 보드로 덤프하는 제 1 기능; 각 태스크가 메시지 처리 결과에 따라 변경된 메모리의 내용을 이중화 송신 버퍼에 저장하는 제 2 기능; 각 태스크의 제어 하에 관련 정보를 이용하여 상기 이중화 송신 버퍼에 저장된 데이터를 상기 대기 보드로 전송하고, 이를 이중화 수신 버퍼에 저장하는 제 3 기능; 상기 이중화 수신 버퍼에 저장된 데이터를 상기 대기 보드의 해당 태스크 전용 메모리에 저장하는 제 4 기능; 및 상기 전송된 데이터의 헤더정보를 이용하여 상기 대기 보드의 메시지 테이블에서 동일한 메시지를 삭제하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a wireless communication system including a processor, comprising: a first function of dumping information related to call processing on a task basis from an active board to a standby board; A second function in which each task stores the contents of the memory changed according to a message processing result in a redundant transmission buffer; A third function of transmitting data stored in the redundant transmission buffer to the standby board under the control of each task and storing the data in the redundant reception buffer; A fourth function of storing data stored in the redundant reception buffer in a corresponding task dedicated memory of the standby board; And a computer readable recording medium having recorded thereon a program for realizing a fifth function of deleting the same message from the message table of the standby board using the header information of the transmitted data.

본 발명은 동기화 문제, 이중화 다운(dual down) 문제 등을 극복하는 태스크 기반 결함 허용 구조를 실시간적인 메시지 처리 및 덤프, 그리고 동기화 구조 측면에서 제시한 것이다. 이 방식은 레지스터 및 프로세서의 상태 정보를 필요로 하지 않고 메시지 단위로 프로세서간의 동기화를 처리하기 때문에, 동기화 기능이 간략하고 구현이 용이하다. 또한, 오 동작한 내용을 대기 보드에 전달하지 않기 때문에 이중화 다운 문제도 해결할 수 있는 특징이 있다.The present invention proposes a task-based fault tolerance scheme that overcomes synchronization issues, dual down issues, and the like in terms of real-time message handling and dumping, and synchronization schemes. This method handles synchronization between processors on a message-by-message basis without requiring register and processor state information, so that the synchronization function is simple and easy to implement. In addition, since the malfunctioning information is not transmitted to the standby board, the redundancy down problem can be solved.

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

도 1a 는 본 발명이 적용되는 프로세서간 이중화 시스템의 구성 예시도이다.1A is an exemplary configuration diagram of an interprocessor redundancy system to which the present invention is applied.

도 1a에 도시된 바와 같이, 활성 보드(10)의 태스크(12)는 ATM 처리 모듈(15)을 경유하여 프로세서간 통신 모듈(IPC)(14)로부터 전송된 메시지를 처리하고, 그 처리 결과로 생성된 백업/덤프 데이터를 활성 보드(10)의 결함 허용 모듈(FTM)(11)로 전송하면, 결함 허용 모듈(11)은 태스크(12)를 관리하는 태스크 제어 모듈(Task Control Module)(16)의 제어(Control) 명령에 의하여 이를 대기 보드(20)로 전송한다.As shown in FIG. 1A, task 12 of active board 10 processes a message sent from interprocessor communication module (IPC) 14 via ATM processing module 15, and as a result of the processing. When the generated backup / dump data is transferred to the fault-tolerant module (FTM) 11 of the active board 10, the fault-tolerant module 11 manages the task 12. ) Is transmitted to the standby board 20 by the control command of the control panel.

이에, 대기 보드(20)의 결함 허용 모듈(21)은 활성 보드(10)를 통해 전송된 백업/덤프 데이터를 전달받아 태스크(22)의 메모리(23)에 저장하고, ATM 처리 모듈(25)을 경유하여 프로세서간 통신 모듈(IPC)(24)로부터 대기 보드(20)로 입력된 외부 메시지(활성 보드로 전송된 메시지와 동일한 메시지)는 IPC 버퍼에 일시 저장한 후, 활성 보드(10)에서 대기 보드(20)로 전송된 백업 데이터의 헤더에 저장된 메시지 정보를 전달받아 동일한 메시지이면 이를 삭제한다.Accordingly, the fault-tolerant module 21 of the standby board 20 receives the backup / dump data transmitted through the active board 10 and stores the backup / dump data in the memory 23 of the task 22 and the ATM processing module 25. The external message (the same message as the message sent to the active board) input from the interprocessor communication module (IPC) 24 to the standby board 20 is temporarily stored in the IPC buffer via the active board 10. The message information stored in the header of the backup data transmitted to the standby board 20 is received, and if it is the same message, it is deleted.

입력 메시지 정보는 각 프로세서간 통신 모듈(14, 24)을 통해 전달받은 메시지의 순서를 결정하는데 사용하며, 백업 데이터는 응용 프로그램들의 메모리 갱신 및 동일 메시지 삭제에 사용한다.The input message information is used to determine the order of messages received through the interprocessor communication modules 14 and 24, and the backup data is used to update the memory of the application programs and delete the same message.

데이터 덤프는 대기 보드(20)가 실장된 초기에 활성 보드(10)와 대기보드(20)의 전용 메모리(13,23) 상태를 일치시키기 위한 것으로, 덤프 데이터를 이용하여 해당 태스크의 메모리(23)를 갱신한다.The data dump is to match the state of the dedicated boards 13 and the dedicated memories 13 and 23 of the standby board 20 at the initial stage when the standby board 20 is mounted. ).

본 발명의 결함 허용 구조에서는 마지막 데이터가 수신될 때까지 태스크 제어 모듈(26)에서 백업 데이터를 관리하고, 마지막 데이터가 수신되기 전에 활성 보드(10)에 오류가 발생한다면 해당 데이터를 태스크 제어 모듈(26)의 이중화 수신 버퍼에서 삭제하는 기본 구조를 갖는다. 이를 효율적으로 구현하기 위하여, 백업 데이터의 관리는 태스크별로 수행되며, 태스크 제어 모듈(16,26)을 구축해 백업될 영역에 대한 시작 주소와 크기를 관리한다.In the fault-tolerant structure of the present invention, the task control module 26 manages backup data until the last data is received, and if the error occurs in the active board 10 before the last data is received, the data is transferred to the task control module ( 26) has a basic structure of deleting from the redundant receive buffer. In order to efficiently implement this, management of backup data is performed for each task, and the task control modules 16 and 26 are constructed to manage start addresses and sizes of areas to be backed up.

태스크(12)의 백업 메시지와 제어 명령에 의하여 태스크 제어 모듈(16)에 등록되어 있는 일련의 백업 데이터를 대기 보드(20)로 전달하기 위해, 활성 보드(10)의 결함 허용 모듈(11)은 일단 패킷(packet)의 크기(1024 바이트)에 맞게 데이터를 분리하고, 이들이 재조합 가능하도록 순서 번호를 붙인다. 그리고 대기 보드(20)로 전송한다.In order to deliver a series of backup data registered in the task control module 16 to the standby board 20 by the backup message of the task 12 and the control command, the fault tolerance module 11 of the active board 10 Once the data is separated according to the size of the packet (1024 bytes), they are numbered so that they can be recombined. Then, the transfer to the standby board 20.

백업 데이터를 수신한 대기 보드(20)의 결함 허용 모듈(21)은 데이터를 재구성하기 위해 활성 보드(10)로부터 전달된 패킷을 활성 보드(10)에서와 같이 태스크 제어 모듈(26)의 이중화 버퍼를 이용하여 관리한다. 즉, 대기 보드(20)의 결함 허용 모듈(21)에서 데이터가 재구성되기 전까지 활성 보드(10)로부터 전달된 패킷을 태스크 제어 모듈(26)에서 관리한다.Upon receiving the backup data, the fault-tolerant module 21 of the standby board 20 transfers the packets transferred from the active board 10 to reconstruct the data, as in the active board 10, the redundant buffer of the task control module 26. Manage using That is, the task control module 26 manages the packet transferred from the active board 10 until data is reconstructed in the fault-tolerant module 21 of the standby board 20.

그리고, 데이터의 마지막 패킷이 도착하게 되면, 해당 백업 데이터를 시작 주소와 동일한 메모리(23)에 저장함으로써 동기를 유지한다. 만약, 마지막 패킷을전달받기 전에 절체된다면, 이 불완전한 데이터를 삭제함으로서 동기화를 효율적으로 유지한다.When the last packet of data arrives, synchronization is maintained by storing the backup data in the same memory 23 as the start address. If it transfers before the last packet is delivered, the synchronization is effectively maintained by deleting this incomplete data.

도 1b는 상기 도 1a의 활성 보드에서의 결함 허용 모듈에 대한 일실시예 구성도이다.FIG. 1B is a diagram illustrating an embodiment of a fault-tolerant module in the active board of FIG. 1A.

도 1b에 도시된 바와 같이, 활성 보드(10)에서의 결함 허용 모듈(11)은, 태스크 제어 모듈(16)로부터의 제어 명령에 따라, 프로세서 이중화를 위한 결함 허용 제어 신호를 발생하는 결함 허용 제어 모듈(41)과, 결함 허용 제어 모듈(41)의 결함 허용 제어 신호에 따라, 활성 보드(10)에서 생성된 덤프 및 백업 데이터를 대기 보드(20)로 전달하기 전에 이중화 패스의 전송 환경에 맞게 패킷 단위로 분리하고 이들이 재조합 가능하도록 순서 번호(Sequency Number)를 붙이며 각 패킷에 해당하는 헤더 정보를 부가하는 송신 데이터 제어 모듈(42), 그리고 결함 허용 제어 모듈(41)의 결함 허용 제어 신호에 따라, 이중화 패스를 관리하고 이더넷 송신 버퍼를 제어하여 송신 데이터 제어 모듈(42)에 의해 재구성된 덤프 및 백업 데이터를 송신하는 데이터 전송 모듈(43)을 구비한다.As shown in FIG. 1B, the fault tolerance module 11 in the active board 10 generates, in accordance with a control command from the task control module 16, fault tolerance control that generates a fault tolerance control signal for processor redundancy. According to the module 41 and the fault-tolerant control signal of the fault-tolerant control module 41, before the dump and backup data generated by the active board 10 is transferred to the standby board 20, the transmission environment of the redundant pass is adapted. In accordance with the fault-tolerant control signal of the transmission data control module 42 and the fault-tolerant control module 41, which are separated into packet units, add sequence numbers so that they can be recombined, and add header information corresponding to each packet. And a data transfer module 43 for managing the redundant paths and controlling the Ethernet transmit buffer to transmit the dump and backup data reconstructed by the transmit data control module 42.

도 1c는 상기 도 1a의 대기 보드에서의 결함 허용 모듈에 대한 일실시예 구성도이다.FIG. 1C is a diagram illustrating an embodiment of a fault-tolerant module in the standby board of FIG. 1A.

도 1c에 도시된 바와 같이, 대기 보드(20)에서의 결함 허용 모듈(21)은, 이중화 패스를 관리하고 이더넷 수신 버퍼를 제어하여 활성 보드(10)로부터 전송된 덤프 및 백업 데이터를 수신하는 데이터 수신 모듈(44)과, 데이터 수신 모듈(44)을 통해 수신된 활성 보드(10)의 덤프 및 백업 데이터를 대기 보드(20)의 해당태스크(22)의 전용 메모리(23)에 저장하기 위하여, 수신된 패킷에서 헤더 정보를 삭제하고 그 순서 번호에 따라 원래의 데이터를 재구성하는 수신 데이터 제어 모듈(45), 그리고 대기 보드(20)로 수신되는 외부 메시지를 관리하기 위하여, 활성 보드(10)의 메시지 처리 결과로 생성된 데이터의 백업 완료시 이와 동일한 메시지를 대기 보드(20)의 메시지 테이블에서 삭제하고, 활성 보드(10)의 결함에 의하여 절체될 경우 메시지 테이블에 남아있는 메시지를 활성화 상태가 된 대기 보드(20)의 해당 태스크(22)로 전송하여 결함 발생 이전의 상태로 복구하는 메시지 관리 모듈(46)을 구비한다.As shown in FIG. 1C, the fault-tolerant module 21 in the standby board 20 manages the redundancy path and controls the Ethernet receive buffer to receive dump and backup data sent from the active board 10. In order to store dump and backup data of the active board 10 received through the receiving module 44 and the data receiving module 44 in the dedicated memory 23 of the corresponding task 22 of the standby board 20, The receiving data control module 45 deletes header information from the received packet and reconstructs original data according to the sequence number, and manages an external message received by the standby board 20. When the backup of the data generated as a result of message processing is completed, the same message is deleted from the message table of the standby board 20, and the message remaining in the message table is transferred if it is switched over by the fault of the active board 10. It includes a message management module 46 to transfer them to the task (22) of the standby board 20 is activated state recovery to the state before the fault occurs.

도 2 는 상기 도 1a를 구동했을 경우, 활성/대기 보드의 설정 과정에 대한 일실시예 흐름도이다.FIG. 2 is a flowchart illustrating a process of setting an active / standby board when driving FIG. 1A.

도 2에 도시된 바와 같이, 활성/대기 보드가 실장된 상태이면(211,221) 각 활성/대기 보드 상태는 실장된 위치에 따라 미리 결정된다.As shown in FIG. 2, when the active / standby board is mounted (211,221), each active / standby board state is predetermined according to the mounted position.

즉, A-사이드(side)(210)에 실장된 보드는 활성 비정상(Active abnormal) 상태로, B-사이드(side)(220)에 실장된 보드는 대기 비정상(Standby abnormal) 상태로 결정된다(212,222). 통신 링크를 통해 각 보드는 상대 보드의 하드웨어 상태를 체크한다(213,223). 상대 보드의 하드웨어 상태 신호를 수신하여 점검하고, 이 과정에서 보드는 활성 정상(Active normal) 또는 대기 정상(Standby normal) 상태로 동작 모드(mode)가 결정된다(214,224). 이 정보를 이용하여 두 보드가 동시에 활성화되었다면, A-사이드(210)에 실장된 보드를 활성 보드(10)로, B-사이드(220)에 실장된 보드를 대기 보드(20)로 결정한다.That is, the board mounted on the A-side 210 is determined to be an active abnormal state, and the board mounted on the B-side 220 is determined to be a standby abnormal state ( 212,222). Each board checks the hardware state of the other board through the communication link (213, 223). The board receives the hardware status signal of the other board and checks it. In this process, the board is determined to be in an active normal or standby normal state (214, 224). If two boards are simultaneously activated using this information, the board mounted on the A-side 210 is determined as the active board 10, and the board mounted on the B-side 220 is determined as the standby board 20.

이렇게, 동작 모드가 결정되면, 각 보드는 호처리 관련 태스크를 등록한다(215,225). 등록 도중에 대기 보드(20)의 태스크(22)는 개별적으로 활성 보드(10)의 동일 태스크(12)에 데이터 덤프를 요구하기 위하여, 데이터 덤프 요구 메시지를 전송한다(226). 이를 수신한 활성 보드(10)의 해당 태스크(12)는 덤프 데이터를 대기 보드(20)로 전송한다(216).Thus, once the operation mode is determined, each board registers call processing related tasks (215 and 225). During registration, the task 22 of the standby board 20 sends a data dump request message to request the data dump to the same task 12 of the active board 10 individually (226). The task 12 of the active board 10 having received this transmits the dump data to the standby board 20 (216).

이어서, 덤프를 완료한 태스크(12)는 메시지 처리 과정을 주기적으로 수행하고, 그 결과로 메모리(13)가 변경되었다면 그 변경된 메모리의 백업 데이터를 제어 조건에 따라 대기 보드(20)로 전송한다(217).Subsequently, the task 12 which has completed the dump periodically performs a message processing process, and as a result, if the memory 13 has been changed, the backup data of the changed memory is transferred to the standby board 20 according to the control condition ( 217).

도 3 은 본 발명에 따른 프로세서 이중화를 위한 결함 허용 방법을 나타낸 일실시예 설명도로서, 이중화 버퍼는 태스크 제어 모듈에서 관리하며, 메시지의 실시간적인 처리를 담당한다.3 is a diagram illustrating an example of a fault-tolerant method for processor duplication according to the present invention. The duplication buffer is managed by a task control module and is responsible for real-time processing of a message.

도 3에 도시된 바와 같이, 활성 보드의 태스크의 메시지 처리 결과로 변경된 태스크 전용 메모리(31)의 내용은 태스크 제어 모듈의 제어 하에 이중화 송신 버퍼(32)에 실시간으로 저장된다. 이중화 송신 버퍼(32)에 저장된 데이터의 헤더 부분에 메시지 정보를 부가하여 이더넷 송신 버퍼(33)에 저장하고, 다시 이더넷 헤더를 부가하여 대기 보드로 데이터를 전송한다.As shown in Fig. 3, the contents of the task dedicated memory 31 changed as a result of the message processing of the task of the active board are stored in the redundant transmission buffer 32 in real time under the control of the task control module. Message information is added to the header portion of the data stored in the redundant transmission buffer 32 to be stored in the Ethernet transmission buffer 33, and the Ethernet header is added again to transmit data to the standby board.

이어서, 전송된 데이터는 이더넷 수신 버퍼(34)에 저장되어 이더넷 헤더정보를 제거하고, 이중화 수신 버퍼(35)에 저장된다. 이 데이터의 헤더정보에서 데이터의 시작 주소(Start address)를 참조하여 해당 태스크의 전용 메모리(31,36)에 해당 데이터를 저장한다.Subsequently, the transmitted data is stored in the Ethernet receive buffer 34 to remove the Ethernet header information, and stored in the redundant receive buffer 35. The data is stored in the dedicated memories 31 and 36 of the task by referring to the start address of the data in the header information of the data.

이렇게, 이중화 송/수신 버퍼(32,35)를 사용함으로써 덤프 동안에 메시지의 실시간적인 처리를 보장하게 된다. 일반적으로, 두 보드의 데이터 일치성을 보장하기 위하여, 덤프 동안 해당 태스크를 보류(suspend)시킴으로써 메시지 처리를 일시 중단한다.Thus, the use of redundant transmit / receive buffers 32 and 35 ensures real-time processing of messages during the dump. In general, to ensure data consistency between two boards, suspend message processing by suspending the task during a dump.

그러나, 이는 메시지의 실시간 처리를 불가능하게 함으로써, 응답시간(Response time)의 증가를 초래하는 등의 다른 오버헤드를 발생시킨다.However, this disables real-time processing of the message, resulting in other overhead, such as an increase in response time.

따라서, 본 발명에서는 덤프 동안에 데이터의 불일치성을 일으키지 않고, 메시지를 실시간으로 처리하기 위하여 태스크 제어 모듈의 이중화 버퍼를 이용하여 이를 개선하였다.Therefore, the present invention improves this by using the redundant buffer of the task control module to process the message in real time without causing inconsistency of data during the dump.

덤프 도중에 해당 태스크는 보류되지 않고 내부 및 외부 메시지들을 처리한다. 메시지들의 처리로 생성된 데이터들을 다른 태스크 및 사용자와의 인터페이스에 사용하고, 그 태스크의 덤프가 완료될 때까지 생성된 데이터들을 이중화 송신 버퍼(32)에 계속 저장한다. 그리고 나서, 그 태스크의 덤프가 완료될 때까지 이들 데이터를 관리한다. 덤프를 완료한 태스크가 완료 신호를 태스크 제어 모듈로 전송하면, 이를 수신한 태스크 제어 모듈은 이중화 송신 버퍼(32)에 저장된 데이터들을 일괄적으로 대기 보드로 전송한다. 이를 통하여 덤프 동안에도 데이터의 불일치를 일으키지 않고 메시지의 실시간적인 처리가 가능하다.During the dump, the task is not held and processes internal and external messages. The data generated by the processing of the messages is used for interfacing with other tasks and users, and the generated data continues to be stored in the redundant transmission buffer 32 until the dump of the task is completed. Then, it manages these data until the dump of the task is completed. When the task having completed the dump transmits a completion signal to the task control module, the task control module receiving the dump transmits the data stored in the redundant transmission buffer 32 to the standby board in a batch. This allows messages to be processed in real time without causing data inconsistencies during the dump.

도 4 는 본 발명에 따른 프로세서 이중화를 위한 결함 허용 방법에 대한 일실시예 흐름도이다.4 is a flowchart illustrating a fault tolerance method for processor duplication according to the present invention.

도 4에 도시된 바와 같이, 태스크 기반 결함 허용 방법은 태스크를 기반으로결함 허용 시스템을 구축하기 위해, 태스크를 이용하여 동기화를 수행한다. 제시한 방식은 동기화를 메시지 단위로 수행하므로, 기존 방식에 비하여 태스크의 컨텍스트 상태 정보 및 레지스터 값 등이 필요하지 않다.As shown in FIG. 4, the task-based fault tolerance method performs synchronization using a task to build a fault-tolerant system based on a task. The proposed method performs synchronization on a per-message basis, so there is no need for task status information and register values, compared to the conventional method.

즉, 태스크 기반 결함 허용 방법은 활성 보드(10)와 대기 보드(20)에 적재되는 각 태스크들이 초기화될 때, 결함 허용 모듈(11,21)로 자신의 기억장소 영역을 등록한다. 이 과정은 활성 보드(10)와 대기 보드(20)가 동일한 절차로 수행되는데, 이 처리 과정을 살펴보면 다음과 같다.That is, the task-based fault tolerance method registers its storage area with the fault tolerance modules 11 and 21 when the tasks loaded on the active board 10 and the standby board 20 are initialized. This process is performed by the active board 10 and the standby board 20 in the same procedure, looking at this process as follows.

먼저, 활성 보드 및 대기 보드의 태스크 A가 각 메시지 A를 동시에 수신하면(411,421), 활성 보드의 해당 태스크 A는 메시지 처리에 의한 백업 데이터를 생성하고, 태스크 전용 메모리에 백업 데이터를 저장하여, 메시지 처리 결과로 인해 메모리의 내용이 변경되었을 경우(412,413), 백업 데이터(시작 주소와 크기를 포함한 변경된 내역 및 그 메시지에 대한 정보)를 태스크 제어 모듈(16)의 이중화 송신 버퍼(32)에 일시 저장한다(414).First, when task A of the active board and the standby board receives each message A at the same time (411,421), the corresponding task A of the active board generates the backup data by processing the message, and stores the backup data in the task dedicated memory, When the contents of the memory change due to the processing result (412,413), the backup data (the changed history including the start address and size and information about the message) are temporarily stored in the redundant transmission buffer 32 of the task control module 16. (414).

대기 보드(20)에서도 태스크가 메시지 처리를 시도하지만, 대기 상태이므로 해당 태스크의 수행이 일시 중지되며(422), 해당 메시지는 메시지 테이블에 일시 저장된다(423).In the standby board 20, the task attempts to process a message, but since the task is in a standby state, execution of the task is suspended (422), and the message is temporarily stored in the message table (423).

활성 보드(10)의 태스크 제어 모듈(16)은 백업 데이터를 태스크별로 관리하다가 해당 태스크(12)가 제어 명령을 호출하면 결함 허용 모듈(11)로 백업 데이터를 전송하고, 결함 허용 모듈(11)은 이를 다시 대기 보드(20)의 결함 허용 모듈(21)로 전송함으로서 동기화를 수행한다(415). 태스크가 제어 명령을 사용하여백업 여부를 관리함으로서 동기화의 융통성을 부여한다.The task control module 16 of the active board 10 manages backup data for each task. When the task 12 calls a control command, the task control module 16 transmits the backup data to the fault-tolerant module 11 and the fault-tolerant module 11. The synchronization is performed by transmitting the data back to the fault-tolerant module 21 of the standby board 20 (415). The task uses control commands to manage the backups, giving synchronization flexibility.

대기 보드(20)의 태스크 제어 모듈(26)의 이중화 버퍼를 이용하여 오류 확산으로 인한 이중화 다운(dual down) 문제를 해결한다. 메시지 처리 결과로 생성된 백업 데이터의 저장을 활성 보드(10)로부터 최종 데이터가 전송될 때까지 지연한 후, 대기 보드(20)에 최종 데이터가 도착하면 해당 태스크(22)의 메모리(23)에 데이터를 저장한다(424).The duplication buffer due to error diffusion is solved by using the duplication buffer of the task control module 26 of the standby board 20. Delaying the storage of the backup data generated as a result of message processing until the final data is transmitted from the active board 10, and when the final data arrives on the standby board 20, the memory 23 of the task 22 is stored. Store the data (424).

대기 보드(20)의 메시지 테이블에 저장된 메시지는 대기 보드(20)로 전송된 최종 데이터 헤더의 메시지 정보를 이용하여, 동일한 메시지이면 메시지 테이블에서 삭제한다(425).The message stored in the message table of the standby board 20 is deleted from the message table if it is the same message using the message information of the last data header transmitted to the standby board 20 (425).

도 5 는 본 발명에 따른 메시지의 삭제 및 재구성을 위한 메시지 처리 구조도이다.5 is a diagram illustrating a message processing structure for deleting and reconstructing a message according to the present invention.

도 5에 도시된 바와 같이, 활성 보드(10)와 동일하게 입력되는 IPC 호 메시지(55)는 대기 보드(20)의 메시지 버퍼(MSGBuf : Message Buffer)(52)에 연결한다. 각 MSGBuf(52)는 태스크 아이디(id)(53)당 하나씩 할당된다. 이때, IPC 호 메시지(55)는 IPC로부터 할당받은 버퍼를 그대로 사용하며, MSGBuf는 IPC 호 메시지(55)의 포인터만을 관리한다.As shown in FIG. 5, the IPC call message 55 inputted in the same manner as the active board 10 is connected to a message buffer 52 (MSGBuf) 52 of the standby board 20. Each MSGBuf 52 is assigned one per task ID 53. At this time, the IPC call message 55 uses the buffer allocated from the IPC as it is, and MSGBuf manages only the pointer of the IPC call message 55.

데이터 백업 시에는, 대기 보드(20)가 활성 보드(10)로부터 마지막 패킷의 헤더 정보에 포함된 백업 메시지를 전달받으면, 데이터의 백업에 관여했던 모든 메시지들을 MSGbuf(52)로부터 삭제해야 한다. 이를 위하여, 백업된 데이터와 연관된 태스크 id(53)를 찾고, 이 태스크 id(53)로부터 해당 MSGbuf(52)를 찾는다.In the data backup, if the standby board 20 receives the backup message included in the header information of the last packet from the active board 10, all messages involved in the backup of the data should be deleted from the MSGbuf 52. To do this, find the task id 53 associated with the backed up data, and find the corresponding MSGbuf 52 from this task id 53.

그리고, 이 MSGbuf(52)에 연결된 메시지 중에서 데이터의 백업에 관여했던 메시지를 찾고, 이 메시지 이하를 모두 삭제한다. 만약, 백업 메시지를 받지 못하고 절체되어 활성 보드(10)가 된다면 해당 메시지를 재수행하여 데이터를 복구한다.Then, among the messages connected to the MSGbuf 52, a message related to the backup of the data is found, and all the messages below this message are deleted. If the backup board does not receive the backup message and becomes the active board 10, the message is restored by restoring the data.

데이터 백업 동안에 발생하는 데이터 손실 문제를 해결하기 위하여, 백업의 완료 시점을, 메시지 처리 결과로 생성된 데이터들이 대기 보드(20)의 해당 태스크(22)의 메모리에 모두 저장되는 시점으로 보고, 저장 완료 후에만 대기 보드(20)의 동일 메시지를 삭제 가능하게 한다. 백업하지 못하고 절체한다면 이 메시지를 다시 수행함으로서 손실된 데이터를 복구한다.In order to solve the data loss problem during the data backup, the completion time of the backup is viewed as the time when the data generated as a result of the message processing are all stored in the memory of the task 22 of the standby board 20, and the storage is completed. The same message of the standby board 20 can be deleted only afterwards. If you fail to back it up, recover the lost data by running this message again.

한편, 보드를 복원할 때, MSGbuf(52)에 있는 메시지들을 해당 태스크(22)로 전송하고 메시지를 MSGBuf(52)에서 삭제한다. 이 작업은 MSGbuf(52)에 메시지가 없을 때까지 수행한 후, 활성 보드로서 동작한다. 이런 일련의 과정을 통하여, 활성 보드에서는 처리가 됐으나 백업하지 못하여 발생하는 관련 데이터의 손실을 방지한다.On the other hand, when restoring the board, the messages in the MSGbuf 52 are sent to the task 22 and the messages are deleted from the MSGBuf 52. This operation is performed until there is no message in the MSGbuf 52, and then acts as an active board. This series of steps prevents the loss of associated data that was processed on the active board but could not be backed up.

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.The method of the present invention as described above may be implemented as a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.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.

상기한 바와 같은 본 발명은, 태스크의 제어에 의한 결함 허용 구조를 사용하여 간단하고 정확한 동기화가 가능하며, 시스템에 구현도 용이하게 할 수 있는 효과가 있다.The present invention as described above has the effect that simple and accurate synchronization is possible using a fault-tolerant structure under the control of a task, and can be easily implemented in a system.

또한, 본 발명은, 덤프 동안에도 실시간 적인 메시지 처리가 가능하며, 오동작으로 인한 치명적인 장애시에는, 관련 정보를 대기 보드의 관련 태스크로 전송하지 않으므로 오류 데이터의 확산을 억제하여 이중화 다운을 막을 수 있고, 이외에 데이터 손실을 방지할 수 있으며, 이를 통하여 좀 더 정확한 동기화를 이룰 수 있는 효과가 있다.In addition, the present invention enables real-time message processing during a dump, and in the event of a catastrophic failure due to a malfunction, the related information is not transmitted to the related task of the standby board, thereby preventing the duplication down by preventing the spread of error data. In addition to this, data loss can be prevented, and this can achieve more accurate synchronization.

Claims (8)

무선통신시스템에서 프로세서 이중화를 위한 활성 보드의 결함 허용 장치에 있어서,In a fault-tolerant device of an active board for processor redundancy in a wireless communication system, 태스크 제어 모듈로부터의 제어 명령에 따라, 프로세서 이중화를 위한 결함 허용 제어 신호를 발생하는 결함 허용 제어수단;Fault tolerance control means for generating a fault tolerance control signal for processor redundancy in accordance with a control command from the task control module; 상기 결함 허용 제어 신호에 따라, 상기 활성 보드에서 생성된 덤프 및 백업 데이터를 대기 보드로 전달하기 전에 이중화 패스의 전송 환경에 맞게 패킷 단위로 분리하고 이들이 재조합 가능하도록 순서 번호(Sequency Number)를 붙이며 각 패킷에 해당하는 헤더 정보를 부가하는 송신 데이터 제어수단; 및According to the fault-tolerant control signal, before dump and backup data generated in the active board are transferred to the standby board, the packet is separated into packet units according to the transmission environment of the redundant path, and a sequence number is attached to each other so that they can be recombined. Transmission data control means for adding header information corresponding to the packet; And 상기 결함 허용 제어 신호에 따라, 이중화 패스를 관리하고 이더넷 송신 버퍼를 제어하여 상기 송신 데이터 제어수단에 의해 재구성된 덤프 및 백업 데이터를 송신하는 데이터 전송수단Data transmission means for managing a redundant path and controlling an Ethernet transmission buffer according to the fault-tolerant control signal to transmit dump and backup data reconstructed by the transmission data control means. 을 포함하는 무선통신시스템에서 프로세서 이중화를 위한 활성 보드의 결함 허용 장치.Device for fault tolerance of the active board for processor redundancy in a wireless communication system comprising a. 무선통신시스템에서 프로세서 이중화를 위한 대기 보드의 결함 허용 장치에 있어서,In the fault tolerance device of the standby board for processor redundancy in a wireless communication system, 이중화 패스를 관리하고 이더넷 수신 버퍼를 제어하여 활성 보드로부터 전송된 덤프 및 백업 데이터를 수신하는 데이터 수신수단;Data receiving means for managing a redundant path and controlling an Ethernet receive buffer to receive dump and backup data transmitted from an active board; 상기 데이터 수신수단을 통해 수신된 상기 활성 보드의 덤프 및 백업 데이터를 대기 보드의 해당 태스크의 전용 메모리에 저장하기 위하여, 수신된 패킷에서 헤더 정보를 삭제하고 그 순서 번호에 따라 원래의 데이터를 재구성하는 수신 데이터 제어수단; 및In order to store the dump and backup data of the active board received through the data receiving means in a dedicated memory of the task of the standby board, the header information is deleted from the received packet and the original data is reconstructed according to the sequence number. Receiving data control means; And 상기 대기 보드로 수신되는 외부 메시지를 관리하기 위하여, 상기 활성 보드의 메시지 처리 결과로 생성된 데이터의 백업 완료시 이와 동일한 메시지를 상기 대기 보드의 메시지 테이블에서 삭제하고, 상기 활성 보드의 결함에 의하여 절체될 경우 상기 메시지 테이블에 남아있는 메시지를 활성화 상태가 된 상기 대기 보드의 해당 태스크로 전송하여 결함 발생 이전의 상태로 복구하는 메시지 관리수단In order to manage an external message received by the standby board, upon completion of the backup of the data generated as a result of the message processing of the active board, the same message is deleted from the message table of the standby board, and switched by a defect of the active board. Message management means for transmitting the remaining message in the message table to the task of the standby board in the activated state and restoring it to the state before the occurrence of the defect. 을 포함하는 무선통신시스템에서 프로세서 이중화를 위한 대기 보드의 결함 허용 장치.Device for fault tolerance of the standby board for processor redundancy in a wireless communication system comprising a. 무선통신시스템에 적용되는 프로세서 이중화를 위한 결함 허용 방법에 있어서,In the defect tolerance method for processor duplication applied to a wireless communication system, 호 처리와 관련된 정보를 태스크 단위로, 활성 보드에서 대기 보드로 덤프하는 제 1 단계;Dumping information related to call processing on a task basis from an active board to a standby board; 각 태스크가 메시지 처리 결과에 따라 변경된 메모리의 내용을 이중화 송신 버퍼에 저장하는 제 2 단계;A second step in which each task stores the contents of the memory changed according to a message processing result in a redundant transmission buffer; 각 태스크의 제어 하에 관련 정보를 이용하여 상기 이중화 송신 버퍼에 저장된 데이터를 상기 대기 보드로 전송하고, 이를 이중화 수신 버퍼에 저장하는 제 3 단계;A third step of transmitting data stored in the redundant transmission buffer to the standby board using the related information under control of each task, and storing the data in the redundant reception buffer; 상기 이중화 수신 버퍼에 저장된 데이터를 상기 대기 보드의 해당 태스크 전용 메모리에 저장하는 제 4 단계; 및A fourth step of storing data stored in the redundant reception buffer in a corresponding task dedicated memory of the standby board; And 상기 전송된 데이터의 헤더정보를 이용하여 상기 대기 보드의 메시지 테이블에서 동일한 메시지를 삭제하는 제 5 단계A fifth step of deleting the same message from the message table of the standby board by using the header information of the transmitted data; 를 포함하는 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 방법.A fault tolerance method for processor redundancy in a wireless communication system comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 1 단계는,The first step is, 덤프 동안에도 메시지를 실시간으로 처리하도록, 태스크 제어 모듈의 이중화 버퍼를 이용하여 데이터를 일시 저장하고, 덤프 완료 후에 태스크의 제어 명령에 의하여 상기 대기 보드로 전송하는 것을 특징으로 하는 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 방법.In the wireless communication system, the data is temporarily stored using a duplication buffer of the task control module so as to process the message in real time during the dump, and transmitted to the standby board by the control command of the task after the dump is completed. Fault Tolerance Method 제 3 항 또는 제 4 항에 있어서,The method according to claim 3 or 4, 상기 메시지 테이블은,The message table, 데이터 백업 시, 상기 대기 보드가 상기 활성 보드로부터 마지막 패킷의 헤더 정보에 포함된 백업 메시지를 전달받으면, 데이터의 백업에 관여했던 모든 메시지들을 메시지 버퍼(MSGbuf)부터 삭제하고, 백업된 데이터와 연관된 태스크 아이디(id)를 찾으며, 이 태스크 아이디로부터 해당 메시지 버퍼를 찾고, 메시지 버퍼에 연결된 메시지 중에서 데이터의 백업에 관여했던 메시지를 찾아, 메시지 이하를 모두 삭제하고, 백업 메시지를 받지 못하고 절체되어 상기 활성 보드가 될 경우, 해당 메시지를 재수행하여 데이터를 복구하며, 데이터 백업 동안에 데이터 손실이 발생할 경우, 백업의 완료 시점을, 메시지 처리 결과로 생성된 데이터들이 상기 대기 보드의 해당 태스크 메모리에 모두 저장되는 시점으로 보고, 저장 완료 후에만 상기 대기 보드의 동일 메시지를 삭제하며, 백업하지 못하고 절체될 경우, 이 메시지를 다시 수행하여 손실된 데이터를 복구하도록 하는 것을 특징으로 하는 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 방법.During the data backup, if the standby board receives the backup message included in the header information of the last packet from the active board, deletes all the messages involved in the backup of the data from the message buffer MSGbuf, and performs the task associated with the backed up data. It finds the ID, finds the corresponding message buffer from this task ID, finds the message that was involved in the backup of the data among the messages connected to the message buffer, deletes all the messages below, and transfers without receiving the backup message. If the data is restored, the data is restored by re-executing the message, and if data loss occurs during the data backup, the completion time of the backup is a point where all the data generated as a result of the message processing are stored in the corresponding task memory of the standby board. Only after the completion of viewing and saving If transfer does not back up, and if removed, the fault-tolerant method for a redundant processor in a wireless communication system, characterized in that to recover the lost data by performing this message again. 제 5 항에 있어서,The method of claim 5, 상기 메시지 테이블은,The message table, 상기 손실된 보드를 복원할 경우, 메시지 버퍼(MSGbuf)에 있는 메시지들을 해당 태스크로 전송하고 메시지를 메시지 버퍼에서 삭제하여, 메시지 버퍼에 메시지가 없을 때까지 수행한 후, 상기 활성 보드로서 동작하고, 이러한 과정을 통하여 상기 활성 보드에서 처리가 됐으나 백업하지 못하여 발생하는 경우에 대해서는 관련 데이터의 손실을 방지하도록 하는 것을 특징으로 하는 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 방법.When restoring the lost board, it transmits the messages in the message buffer (MSGbuf) to the task and deletes the message from the message buffer until there is no message in the message buffer, and then operates as the active board, Through this process, if the processing occurs on the active board, but the backup does not occur in the case of a fault tolerance method for processor redundancy in a wireless communication system, characterized in that to prevent the loss of related data. 제 6 항에 있어서,The method of claim 6, 상기 대기 보드는,The standby board, 상기 백업 데이터를 수신한 결함 허용 모듈에서 데이터가 재구성되기 전까지 상기 활성 보드로부터 전달된 패킷을 상기 태스크 제어 모듈을 통해 관리하고, 데이터의 마지막 패킷이 도착되면, 해당 백업 데이터를 시작 주소와 동일한 메모리에 저장하여 동기를 유지하며, 마지막 패킷을 전달받기 전에 절체될 경우, 불완전한 데이터를 삭제하여 동기화를 유지하는 것을 특징으로 하는 무선통신시스템에서 프로세서 이중화를 위한 결함 허용 방법.The packet transmitted from the active board is managed through the task control module until the data is reconstructed in the fault-tolerant module receiving the backup data, and when the last packet of data arrives, the corresponding backup data is stored in the same memory as the start address. A method for fault tolerance for processor redundancy in a wireless communication system, characterized by storing and maintaining synchronization, and maintaining synchronization by deleting incomplete data when it is transferred before receiving the last packet. 프로세서를 구비한 무선통신 시스템에,In a wireless communication system having a processor, 호 처리와 관련된 정보를 태스크 단위로, 활성 보드에서 대기 보드로 덤프하는 제 1 기능;A first function of dumping information related to call processing on a task basis from an active board to a standby board; 각 태스크가 메시지 처리 결과에 따라 변경된 메모리의 내용을 이중화 송신 버퍼에 저장하는 제 2 기능;A second function in which each task stores the contents of the memory changed according to a message processing result in a redundant transmission buffer; 각 태스크의 제어 하에 관련 정보를 이용하여 상기 이중화 송신 버퍼에 저장된 데이터를 상기 대기 보드로 전송하고, 이를 이중화 수신 버퍼에 저장하는 제 3 기능;A third function of transmitting data stored in the redundant transmission buffer to the standby board under the control of each task and storing the data in the redundant reception buffer; 상기 이중화 수신 버퍼에 저장된 데이터를 상기 대기 보드의 해당 태스크 전용 메모리에 저장하는 제 4 기능; 및A fourth function of storing data stored in the redundant reception buffer in a corresponding task dedicated memory of the standby board; And 상기 전송된 데이터의 헤더정보를 이용하여 상기 대기 보드의 메시지 테이블에서 동일한 메시지를 삭제하는 제 5 기능A fifth function of deleting the same message from the message table of the standby board by using the header information of the transmitted data 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR20010070774A 2001-11-14 2001-11-14 Fault tolerance apparatus and the method for processor duplication in wireless communication system KR100408979B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20010070774A KR100408979B1 (en) 2001-11-14 2001-11-14 Fault tolerance apparatus and the method for processor duplication in wireless communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20010070774A KR100408979B1 (en) 2001-11-14 2001-11-14 Fault tolerance apparatus and the method for processor duplication in wireless communication system

Publications (2)

Publication Number Publication Date
KR20030039738A true KR20030039738A (en) 2003-05-22
KR100408979B1 KR100408979B1 (en) 2003-12-12

Family

ID=29569412

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20010070774A KR100408979B1 (en) 2001-11-14 2001-11-14 Fault tolerance apparatus and the method for processor duplication in wireless communication system

Country Status (1)

Country Link
KR (1) KR100408979B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040020514A (en) * 2002-08-30 2004-03-09 주식회사 현대시스콤 Method for matching of PLD to processor duplexing
KR101133866B1 (en) * 2010-08-18 2012-04-06 케이티텔레캅 주식회사 Improved signal dual processing system of private security service base
KR101586377B1 (en) 2014-07-09 2016-01-18 주식회사 수면과건강 Easy to carry, functional height adjustable pillow

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040020514A (en) * 2002-08-30 2004-03-09 주식회사 현대시스콤 Method for matching of PLD to processor duplexing
KR101133866B1 (en) * 2010-08-18 2012-04-06 케이티텔레캅 주식회사 Improved signal dual processing system of private security service base
KR101586377B1 (en) 2014-07-09 2016-01-18 주식회사 수면과건강 Easy to carry, functional height adjustable pillow

Also Published As

Publication number Publication date
KR100408979B1 (en) 2003-12-12

Similar Documents

Publication Publication Date Title
US4628508A (en) Computer of processor control systems
JP3156083B2 (en) Fault-tolerant computer equipment
US7565572B2 (en) Method for rolling back from snapshot with log
EP1459487B1 (en) Methods and apparatus for implementing a high availability fibre channel switch
US20070008890A1 (en) Method and apparatus for non-stop multi-node system synchronization
EP0395563A2 (en) Method and apparatus for providing continuous availability of applications in a computer network
US8862541B1 (en) N-site asynchronous replication
US20080162844A1 (en) Four site triangular asynchronous replication
JP2002522845A (en) Fault tolerant computer system
US7752404B2 (en) Toggling between concurrent and cascaded triangular asynchronous replication
US7734884B1 (en) Simultaneous concurrent and cascaded triangular asynchronous replication
US20030202508A1 (en) Internet protocol compliant private branch electronic exchange and a method for redundantly configuring terminal interfaces
JPH08212095A (en) Client server control system
US7680997B1 (en) Data recovery simulation
JP2002049502A (en) Update system for multiprocessor systems
CN112052127B (en) Data synchronization method and device for dual-computer hot standby environment
KR100408979B1 (en) Fault tolerance apparatus and the method for processor duplication in wireless communication system
US20100229029A1 (en) Independent and dynamic checkpointing system and method
KR20030048503A (en) Communication system and method for data synchronization of duplexing server
JP2007207250A (en) Software duplication
KR100455872B1 (en) Duplication method for real-time fault tolerance in wireless communication system
JP2000066913A (en) Program/data non-interruption updating system for optional processor
KR100349666B1 (en) Access control system and fault-tolerance method using the same
JP2015153128A (en) Call processing control device and software update method of the same, call processing system, and computer program
JPH11120017A (en) Automatic numbering system, duplex system, and cluster system

Legal Events

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

Payment date: 20121030

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20131030

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee