KR960016272B1 - Double making processor - Google Patents

Double making processor Download PDF

Info

Publication number
KR960016272B1
KR960016272B1 KR1019930026294A KR930026294A KR960016272B1 KR 960016272 B1 KR960016272 B1 KR 960016272B1 KR 1019930026294 A KR1019930026294 A KR 1019930026294A KR 930026294 A KR930026294 A KR 930026294A KR 960016272 B1 KR960016272 B1 KR 960016272B1
Authority
KR
South Korea
Prior art keywords
standby
error
signal
main processor
data
Prior art date
Application number
KR1019930026294A
Other languages
Korean (ko)
Other versions
KR950022612A (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 KR1019930026294A priority Critical patent/KR960016272B1/en
Publication of KR950022612A publication Critical patent/KR950022612A/en
Application granted granted Critical
Publication of KR960016272B1 publication Critical patent/KR960016272B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/2028Failover techniques eliminating a faulty processor or activating a spare
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • G06F11/2033Failover techniques switching over of hardware resources
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The apparatus comprises an error sensing/processing apparatus on an operation part and the same on a stand-by part. The apparatus on the operation part comprises: a data and address-buffering means(21) transmitting data and address to the operation part; a buffer control means(22) which outputs a buffer control signal to the buffering means(21) and outputs a control signal to the stand-by part; an address latch means(26) which latches the next address after receiving a transmission-verifying signal, and maintaining the present address if receiving an error signal; a mode control means(24) controlling the doubling operation type; a main processor-inspecting means(25) inspecting a main processor; an error-sensing and processing means(27) outputting an error signal and an error interrupt signal; and a data transmission-verifying means(23) which outputs a transmission-verifying signal if receiving a write completion signal, and outputs an error signal otherwise.

Description

이중화프로세서의 에러 감지/처리 장치 및 그 방법Error Detection / Processing Device of Redundant Processor and Its Method

제1도는 본 발명에 따른 이중화프로세서의 에러 감지/처리 장치의 연결 구조도.1 is a connection structure diagram of an error sensing / processing device of a redundant processor according to the present invention.

제2도는 본 발명에 따른 이중화프로세서의 에러 감지/처리 장치의 구성도.2 is a block diagram of an error detection / processing device of a redundant processor according to the present invention.

제3도는 본 발명에 따른 에러 감지/처리 흐름도.3 is an error detection / processing flow chart in accordance with the present invention.

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

1,1' : 주프로세서 보드2,2' : I/O보드1,1 ': Main processor board 2,2': I / O board

3,3' : 이중화프로세서의 에러 감지/처리 장치3,3 ': Error detection / processing device of redundant processor

21 : 데이타 및 어드레스 버퍼부22 : 버퍼제어부21: data and address buffer unit 22: buffer control unit

23 : 데이타 전송 확인부24 : 모드 제어부23: data transmission check unit 24: mode control unit

25 : 주 프로세서 감시부26 : 어드레스 래치부25: main processor monitoring unit 26: address latch unit

27 : 에러 감지 및 처리부27: error detection and processing unit

본 발명은 전전자교환기에서 동작/대기 형태로 동작하는 이중화된 프로세서의 기능중 동작측 주프로세서가 비정상적으로 동작하는 경우에 동작측 주프로세서가 대기측 메모리를 액세스할 때 발생하는 에러를 감지하여 처리하는 에러 감지/처리 장치 및 그 방법에 관한 것이다.The present invention detects and handles an error that occurs when an operating main processor accesses a standby memory when an operating main processor abnormally operates among functions of a redundant processor operating in an electronic / exchange type. An error detection / processing device and a method thereof are provided.

종래에는 중앙처리장치(CPU)가 내장된 보드의 에러일 경우에 이에 대한 감지 및 처리에 어려움이 있었다.Conventionally, in the case of an error of a board having a central processing unit (CPU), there is a difficulty in detecting and processing the same.

상기 종래 기술의 문제점을 해결하기 위하여 안출된 본 발명은, 이중화로 동작하는 전전자교환기의 프로세서에서 동작측 주프로세서가 동작/대기측 메모리를 동시 또는 각각 액세스할 수 있도록 시스템 버스의 확장 및 주프로세서의 정상적인 동작 유무를 감시하는 에러 감지/처리 장치 및 그 방법을 제공하는데 그 목적이 있다.The present invention has been made to solve the above problems of the prior art, the expansion of the system bus and the main processor so that the operating main processor can access the operation / standby memory at the same time, respectively, in the processor of the electronic switching system operating in redundancy An object of the present invention is to provide an error detecting / processing device and a method for monitoring the normal operation of the system.

상기 목적을 달성하기 위한 본 발명의 장치는, 동작측 에러 감지/처리 장치와 대기측 에러 감지/처리 장치가 동일한 구조를 가지는 이중화프로세서의 에러 감지/처리 장치에 있어서, 상기 동작측 에러 감지/처리 장치는, 시스템 버스를 통하여 데이타와 어드레스를 입력받아 버퍼제어신호에 따라 상기 대기측 에러 감지/처리 장치에 데이타와 어드레스를 전송하는 데이타 및 어드레스 버퍼링 수단; 시스템 버스의 제어신호에 의해 상기 데이타 및 어드레스 버퍼링 수단에 버퍼제어신호를 출력하고, 상기 대기측 에러 감지/처리 장치에 제어신호를 출력하는 버퍼 제어수단; 시스템 버스를 통하여 어드레스를 입력받아 대기측 메모리 쓰기시 해당 어드레스를 정상적인 완료시점까지 유지한 후에 데이타 전송 확인 신호를 입력받으면 다음 어드레스를 래치하고, 에러신호를 입력받으면 현재 어드레스를 유지하는 어드레스 래치 수단; 이중화 동작 형태를 동작/대기 상태로 제어하는 모드 제어 수단; 주프로세서를 감시하는 주프로세서 감시 수단; 대기측 에러신호를 입력받으면 상기 어드레스 래치 수단으로 에러신호를 출력하고 주프로세서로 에러 인터럽트 신호를 출력하며, 상기 모드 제어 수단으로부터 이중화모드 변경유무의 출력신호를 입력받아 모드 변경에 대한 에러 유무를 감시하여 에러 발생을 감지하면 상기 주프로세서와 대기측 에러 감지/처리 장치로 에러 인터럽트 신호를 출력하고, 상기 주프로세서 감시 수단의 출력을 입력받아 상기 주프로세서의 정상 동작 유무를 감시하여 에러 발생을 감지하면 상기 대기측 에러 감지/처리 장치와 주프로세서로 에러 인터럽트 신호를 출력하여 이중화 절체가 이루어지도록 하는 에러 감지 및 처리 수단; 상기 대기측 에러 감지/처리 장치로부터 쓰기 완료신호를 받으면 상기 어드레스 래치 수단으로 데이타 전송 확인 신호를 출력하고, 쓰기완료신호가 없으면 상기 에러 감지 및 처리 수단으로 에러신호를 출력하는 데이타 전송 확인 수단을 포함하고, 상기 대기측 에러 감지/처리 장치는, 상기 동작측 에러 감지/처리 장치와 동일한 구조를 가지되 역으로 동작하도록 한다.An apparatus of the present invention for achieving the above object is, in the error detection / processing apparatus of the redundant processor having the same structure of the operating error detection / processing device and the standby error detection / processing device, the operation error detection / processing The apparatus comprises: data and address buffering means for receiving data and addresses via a system bus and transmitting data and addresses to the standby error detection / processing apparatus in accordance with a buffer control signal; Buffer control means for outputting a buffer control signal to said data and address buffering means by a control signal of a system bus and for outputting a control signal to said standby error detection / processing device; Address latch means for latching a next address upon receiving a data transfer confirmation signal after receiving an address through a system bus and maintaining the address until a normal completion point when writing a standby memory, and holding a current address upon receiving an error signal; Mode control means for controlling the duplex operation mode to an operation / standby state; Main processor monitoring means for monitoring the main processor; When receiving a standby error signal, an error signal is output to the address latch means, an error interrupt signal is output to the main processor, and the mode control means receives an output signal of the presence or absence of a redundancy mode change and monitors whether there is an error on mode change. If an error occurrence is detected, an error interrupt signal is output to the main processor and the standby error detection / processing device, and the output of the main processor monitoring means is received and the normal operation of the main processor is monitored to detect an error occurrence. Error detection and processing means for outputting an error interrupt signal to said standby side error detection / processing device and a main processor so that duplication switching is performed; And a data transfer confirmation means for outputting a data transfer confirmation signal to the address latch means when receiving a write completion signal from the standby error detection / processing device, and outputting an error signal to the error detection and processing means if there is no write completion signal. The standby error detection / processing device has the same structure as the operation side error detection / processing device but operates in reverse.

그리고, 본 발명의 방법은, 이중화프로세서의 에러 감지/처리 장치에 적용되는 에러 감지/처리 방법에 있어서, 전원이 온(ON)되면 양측의 주프로세서 보드에 내장된 뷰터 롬(Booter ROM)에 의해 프로그램이 수행되어 초기화를 수행한 후에 뷰터 롬의 이중화 프로그램에서 상기 양측 주프로세서 보드간의 통신을 수행하여 이중화 상태를 결정하는 제1단계; 상기 제1단계에서 동작/대기 상태가 결정되면 양측 각각 입출력 보드를 통하여 운영체계 및 사용자 응용프로그램을 로딩받아 초기화를 수행한 후에 동작측은 프로그램이 수행되고, 대기측은 대기 동작 수행을 위하여 더미루프(Dummy Loop)을 수행하는 제2단계; 동작측 주프로세서가 메모리에 데이타를 동작/대기 동시 쓰기도중 레러 감지 및 처리부에 의해 대기측 쓰기 에러가 감지되면 어드레스 래치부에 의해 래치된 어드레스를 읽어서 이중화의 모드중 대기 쓰기 기능을 이용하여 다시 한번 더 데이타의 쓰기를 수행하여 정상적으로 데이타 쓰기가 이루어지면 정상적으로 프로그램을 수행하고, 데이타 쓰기 에러인 경우에는 이중화 모드를 단일 모드로 전환하여 동작측은 계속 프로그램을 수행하고 대기측은 운용자의 조치 후에 뷰터 프로그램이 수행되어 이중화 모드의 대기로 동작하는 제3단계; 및 동작측 주프로세서가 메모리에 데이타를 동작/대기 동시 쓰기도중 에러 감지 및 처리부에 의해 대기측 쓰기 에러외의 에러가 감지되면 대기측으로 절체신호를 송출하고, 대기측은 절체신호를 수신하여 중앙처리장치(CPU) 에러인 경우에는 대기에서 동작으로 모드전환하여 프로그램을 수행하고, 다른 보드의 기능 장애인 경우에는 동작측 주프로세서의 보드의 현재 수행중인 프로그램의 카운터와 프로그램 수행에 필요한 데이타를 수신하여 프로그램을 수행하는 제4단계를 포함한다.In addition, the method of the present invention, in the error detection / processing method applied to the error detection / processing apparatus of the redundant processor, when the power is turned on (Booter ROM) embedded in the main processor board on both sides A first step of determining a redundancy state by performing communication between the two main processor boards in a redundancy program of a viewr ROM after a program is executed to perform initialization; When the operation / standby state is determined in the first step, after both the operating system and the user application program are loaded and initialized through each of the input / output boards, the operation side executes the program, and the standby side performs a dummy loop to perform the standby operation. Performing a loop); When the main processor of the operating side detects a write error during the simultaneous operation / standby data in memory and the standby write error is detected by the processing unit, it reads the address latched by the address latch unit and uses the standby write function in the redundant mode once again. If the data is written normally and the data is written normally, the program is executed normally.In case of a data write error, the duplex mode is changed to single mode, and the operating side continues to execute the program, and the standby side executes the viewer program after the operator's action. A third step of operating as a standby in a duplication mode; And when an operation other than the standby write error is detected by the error detection and processing unit during the operation / standby simultaneous write of data to the memory, the operation main processor sends a transfer signal to the standby side, and the standby side receives the transfer signal. CPU) In case of error, it executes the program by changing the mode from standby to operation, and in case of malfunction of other board, it executes the program by receiving the counter of the program currently running on the board of the main processor of the operating side and the data necessary for program execution. It includes a fourth step.

이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;

제1도는 본 발명에 따른 이중화프로세서의 에러 감지/처리 장치의 연결 구조도로서, 도면에서 1,1'는 주프로세서 보드, 2.2'는 입출력(I/O) 보드, 3,3'는 이중화프로세서의 에러 감지/처리 장치를 각각 나타낸다.1 is a connection structure diagram of an error sensing / processing device of a redundant processor according to the present invention, in which 1, 1 'is a main processor board, 2.2' is an input / output (I / O) board, and 3, 3 'is a redundant processor. Each error detection / processing device is shown.

동작측과 대기측 각각의 보드는 동일한 내부 구조를 가지며, 각각의 보드는 시스템 버스에 정합되어 주프로세서 보드와 통신이 이루어진다.Each board on the operating and standby sides has the same internal structure, and each board is matched to the system bus to communicate with the main processor board.

이러한 동작측 시스템 버스와 대기측 시스템 버스는 이중화프로세서의 에러 감지/처리 장치에 의해 서로 분리되어 있으며, 이중화프로세서의 에러 감지/처리 장치는 시스템 버스의 확장 기능을 갖도록 설계되어져 있다.The operating system bus and the standby system bus are separated from each other by the error detection / processing device of the redundant processor, and the error detection / processing device of the redundant processor is designed to have an extension function of the system bus.

전반적인 동작을 살펴보면, 사용자가 전원을 온(ON)하면 주프로세서 보드의 뷰터(booter)가 먼저 중앙처리장치(CPU) 및 주변 장치를 초기화한 후에 상대측 주프로세서 보드와 서로 통신하여 동작/대기 상태가 결정되며, 동작 및 대기측 주프로세서(1,1')는 입출력(I/O) 보드(2,2')를 통하여 운영체계(Operating system) 및 사용자의 응용프로그램(Application Program)을 로딩받아 운영체계의 동작에 필요한 주변 장치를 정의된 데이타로 초기화한 다음에 동작측 주프로세서(1)가 운영체계의 이중화 처리 루틴 프로그램을 동작시켜 이중화프로세서의 에러 감지/처리 장치(3)의 이중화 모드 상태를 모드 제어부의 모드 레지스터에 쓰면 동작/대기로 동작된다.In general operation, when the user turns on the power, the main processor board's booter first initializes the CPU and peripherals, and then communicates with the other main processor board to get the operation / standby state. The operation and standby main processor (1,1 ') is operated by loading the operating system and the application program of the user through the input / output (I / O) board (2,2') After initializing the peripheral devices necessary for the operation of the system with the defined data, the operating main processor (1) operates the redundancy processing routine program of the operating system to check the redundancy mode status of the error detection / processing device (3) of the redundant processor. Writing to the mode register of the mode control unit activates / standby.

이때의 이중화 동작 모드 형태는 크게 4가지 형태로 이루어진다.At this time, the duplex operation mode has four types.

첫째는 동작측 메모리의 읽기로서 정상적인 프로그램의 수행인 경우의 대부분이며, 둘째는 대기측 메모리의 읽기로서 이 경우에는 동작측 메모리의 데이타와 대기측 메모리의 데이타를 비교하여 데이타의 일치여부를 판단하며, 셋째는 대기측 데이타의 쓰기에 사용되는 모드로서 동작/대기측 데이타의 불일치가 발생할 경우에 불일치된 대기측 어드레스를 확인하여 동작측 데이타를 읽어서 대기측에 데이타를 쓸 때 이용되며, 넷째는 동작/대기의 동시 쓰기로서 동작측의 운영체계가 동작측 메모리에 데이타를 쓰면 동시에 대기측 메모리에도 쓰기가 가능한 이중화 모드로서 정상적인 이중화 동작일 경우에 사용된다.The first is the reading of the operating memory and most of the normal program execution. The second is the reading of the standby memory. In this case, the data of the operating memory and the data of the standby memory are compared to determine whether the data match. The third mode is used to write the standby data. When the operation / standby data inconsistency occurs, it is used to check the mismatched standby address and read the operation data to write the data to the standby. Simultaneous write / waiting. This is a duplication mode in which the operating system writes data to the operating memory and writes to the standby memory at the same time.

제2도는 본 발명에 따른 이중화프로세서의 에러 감지/처리 장치의 구성도로서, 도면에서 21은 데이타 및 어드레스 버퍼부, 22는 버퍼 제어부, 23은 데이타 전송 확인부, 24는 모드 제어부, 25는 주프로세서 감시부, 26은 어드레스 래치부, 27은 에러 감지 및 처리부를 각각 나타내며, 두개의 이중화프로세서 에러 감지/처리 장치는 동일한 구조이므로 여기서는 동작측 이중화프로세서의 에러 감지/처리 장치만을 설명한다.2 is a block diagram of an error detection / processing device of a redundant processor according to the present invention, in which 21 is a data and address buffer unit, 22 is a buffer control unit, 23 is a data transmission confirmation unit, 24 is a mode control unit, and 25 is a main unit. The processor monitoring unit, 26 denotes an address latch unit, and 27 denotes an error detecting and processing unit, respectively. Since the two redundant processor error detecting / processing units have the same structure, only the error detecting / processing unit of the operation side redundant processor will be described.

도면에 도시한 바와 같이 이중화프로세서의 에러/감지 처리 장치(3)는, 시스템 버스를 통하여 데이타와 어드레스를 입력받아 버퍼제어신호에 따라 상대측 이중화프로세서 에러 감지/처리 장치에 데이타와 어드레스를 전송하는 데이타 및 어드레스 버퍼부(21), 시스템 버스의 제어신호에 의해 데이타 및 어드레스 버퍼부(21)에 버퍼제어신호를 출력하고 상대측 이중화프로세서 에러 감지/처리 장치에 제어신호를 출력하는 버퍼제어부(22), 시스템 버스를 통하여 어드레스를 입력받아 대기측 메모리 쓰기시 해당 어드레스를 정상적인 완료시점까지 유지한 후에 데이타 전송 확인 신호를 입력받으면 다음 어드레스를 래치하고 에러 감지 및 처리부(27)로부터 에러신호를 입력받으면 현재 어드레스를 유지하는 어드레스 래치부(26), 상기 이중화 동작 형태를 동작/대기 상태로 제어하는 모드 제어부(24), 주프로세서를 감시하는 주프로세서 감시부(25), 데이타 전송 확인부(23)으로부터 상대측 에러신호를 입력받으면 어드레스 래치부(26)로 에러신호를 출력하고 주프로세서로 에러 인터럽트 신호를 출력하고, 모드 제어부(24)로부터 이중화모드 변경 유무의 출력신호를 입력받아 모드 변경에 대한 에러 유무를 감시하여 에러 발생을 감지하면 주프로세서와 대기측 장치로 에러 인터럽트 신호를 출력하고, 주프로세서 감시부(24)의 출력을 입력받아 주프로세서의 정상 동작 유무를 감시하여 에러 발생을 감지하면 상대측 이중화프로세서 에러 감지/처리 장치(3')와 주프로세서로 에러 인터럽트 신호를 출력하여 이중화 절체가 신속히 이루어지도록 하는 에러 감지 및 처리부(23), 대기측 장치로부터 쓰기완료신호를 받으면 상기 어드레스 래치부(26)로 데이타 전송 확인 신호를 출력하고 쓰기완료신호가 없으면 상기 에러 감지 및 처리부(27)로 에러신호를 출력하는 데이타 전송 확인부(23)를 구비한다.As shown in the figure, the error / sensing processing apparatus 3 of the redundant processor receives data and an address through a system bus, and transmits data and addresses to the other redundant processor error sensing / processing apparatus according to the buffer control signal. And an address buffer unit 21, a buffer control unit 22 for outputting a buffer control signal to the data and address buffer unit 21 according to a control signal of a system bus, and outputting a control signal to a counterpart redundant processor error detection / processing device. When the address is input through the system bus, the corresponding address is maintained until the normal completion point when writing to the standby memory, and when the data transmission confirmation signal is received, the next address is latched, and when the error signal is received from the error detection and processing unit 27, the current address is received. Address latch section 26 for holding the Outputs an error signal to the address latch unit 26 when an error signal is received from the mode control unit 24 for controlling the standby / standby state, the main processor monitoring unit 25 for monitoring the main processor, and the data transmission confirmation unit 23. And outputs an error interrupt signal to the main processor, receives an output signal of the presence or absence of a redundancy mode change from the mode control unit 24, monitors the presence or absence of an error on mode change, and detects an error occurrence. Outputs the signal, and receives the output of the main processor monitoring unit 24 and monitors the normal operation of the main processor to detect an error occurrence. The error interrupt signal is transmitted to the counterpart redundant processor error detection / processing device 3 'and the main processor. When the error detection and processing unit 23 to output a signal to quickly perform a redundancy transfer, and receives a write completion signal from the standby device And a data transfer confirmation unit 23 for outputting a data transfer confirmation signal to the address latch unit 26 and outputting an error signal to the error detection and processing unit 27 when there is no write completion signal.

주프로세서 보드(1)와 다른 보드간 통신을 위해서 사용되는 시스템 버스에 주프로세서가 데이타 및 어드레스와 제어신호를 쓰면, 동작측 이중화프로세서의 에러 감지/처리 장치(3)는 시스템 버스의 제어 신호를 입력받는 버퍼 제어부(22)의 제어에 따라 데이타 및 어드레스 버퍼부(21)를 통하여 대기측 이중화프로세서의 에러 감지/처리 장치의 데이타 및 어드레스 버퍼부(21')(도시하지 않음)에 데이타와 어드레스를 전송한다. 이후, 대기측 이중화프로세서 에러 감지/처리 장치(3')가 동작측 제어 신호에 따라 메모리에 데이타를 쓰면 대기측 메모리의 데이타 쓰기 완료 신호가 동작측 데이타 전송 확인부(23)에 전달되어 동작/대기의 쓰기가 완료된다.When the main processor writes data and address and control signals to the system bus used for communication between the main processor board (1) and other boards, the error detection / processing unit (3) of the redundant processor on the operating side receives the control signals of the system bus. Data and address to the data and address buffer unit 21 '(not shown) of the error detection / processing device of the standby redundant processor under the data and address buffer unit 21 under the control of the buffer controller 22 receiving the input. Send it. Thereafter, when the standby side redundant processor error detection / processing device 3 'writes data to the memory according to the operation side control signal, the data write completion signal of the standby side memory is transmitted to the operation side data transfer confirming unit 23 to perform operation / The write of the wait is completed.

이때, 동작측 주프로세서 보드(1)는 동작측 메모리의 데이타 쓰기가 정확히 이루어지면 수행 사이클을 종료하고, 다음 사이클의 수행이 이루어진다. 그리고, 대기측 데이타의 정확한 쓰기를 위하여 동작측 이중화프로세서의 에러 감지/처리 장치(3)에서 어드레스 래치부(26)에 어드레스를 래치한 후에 대기측 메모리의 쓰기 완료 신호가 데이타 전송 확인부(23)에 의해 감지되면 데이타 전송 확인부(23)는 어드레스 래치부(26)에 데이타 전송 확인 신호를 출력하며, 어드레스 래치부(26)에는 다음의 쓰기 어드레스의 래치가 이루어진다.At this time, the operating main processor board 1 ends the execution cycle when the data of the operating memory is correctly written, and the next cycle is performed. After the address latch unit 26 latches an address in the error detection / processing apparatus 3 of the operation side redundant processor for accurate writing of the standby data, the write completion signal of the standby memory is transmitted to the data transfer confirmation unit 23. Is detected, the data transfer confirmation unit 23 outputs a data transfer confirmation signal to the address latch unit 26, and the address latch unit 26 latches the next write address.

그러나, 데이타 전송 확인부(23)에 대기측 메모리의 데이타 쓰기 완료 신호가 감지되지 않으면 에러 감지 처리부(27)에 에러신호를 전송하며, 에러 감지 및 처리부(27)는 정의된 인터럽트 신호로 주프로세서 보드(1)에 대기측 프로세서에서의 에러발생을 알려주고 어드레스 래치부(26)에 에러신호를 출력하며, 주프로세서 보드(1)는 이중화프로세서 에러 감지/처리 장치(3)의 어드레스 래치부(26)에 래치된 어드레스를 읽어서 해당 어드레스에 데이타 재쓰기를 수행한다. 재쓰기에서도 정확한 데이타 쓰기가 이루어지지 않으면 이중화 모드의 상태를 단중화 상태로 천이하도록 함과 동시에 시스템 운용자에게는 현재의 프로세서 상태를 알려주어 운용자가 조치를 취하도록 한다. 이때, 동작측은 정상적으로 계속 동작되지만 대기측은 시스템 리셋 신호를 이용하면 다운시킨다.However, if the data write completion signal of the standby memory is not detected by the data transfer confirmation unit 23, the error signal is transmitted to the error detection processing unit 27, and the error detection and processing unit 27 uses the defined interrupt signal as the main processor. Informs the board 1 of an error in the standby processor and outputs an error signal to the address latch unit 26. The main processor board 1 is an address latch unit 26 of the redundant processor error detection / processing apparatus 3. Reads the address latched in the) and rewrites the data. If the correct data is not written even during rewriting, the state of the duplication mode is shifted to the state of the redundancy and the system operator is informed of the current processor state so that the operator can take action. At this time, the operation side continues to operate normally, but the standby side is turned down by using the system reset signal.

주프로세서 감시부(25)는 동작측 주프로세서 보드(1)의 정상 동작 유무를 감시하는 기능을 감당하는 수단으로, 동작측 주프로세서 보드가 운영체계 및 사용자 응용프로그램의 에러에 의해 무한루프에서 계속 동작중일 경우에 이를 감지하여 에러 감지 및 처리부(27)에 알려주면 에러 감지 및 처리부(27)는 주프로세서와 무관하게 대기측 주프로세서에 동작측 주프로세서의 동작 불가능 상태를 알려주어 대기측이 동작으로 전환하도록 함과 동시에 동작측은 다운이 되도록 주프로세서 보드에 리셋 신호를 전송한다. 주프로세서 감시부(25)는 레지스터 및 조정 가능한 타이머를 사용하여 구성하고, 동작측 주프로세서 보드(1)가 세트된 시간 이내에 레지스터를 액세스하지 않으면 에러 신호가 발생되도록 하였으며, 에러 감지 및 처리부(27)는 프로그램이 어레이 로직(PAL)로 구성하였다.The main processor supervisor 25 is a means for monitoring the normal operation of the main processor board 1 on the operating side, and the operating main processor board continues in an infinite loop due to an error of an operating system and a user application. If it detects the operation and notifies the error detecting and processing unit 27, the error detecting and processing unit 27 notifies the standby main processor of the inoperable state of the operating main processor regardless of the main processor so that the standby side operates. At the same time, the operating side sends a reset signal to the main processor board to be down. The main processor monitoring unit 25 is configured using a register and an adjustable timer, and an error signal is generated if the operating main processor board 1 does not access the register within a set time, and the error detection and processing unit 27 The program consists of array logic (PAL).

제3도는 본 발명에 따른 에러 감지/처리 흐름도이다.3 is an error detection / processing flow chart according to the present invention.

먼저, 사용자가 전원을 온(ON)하면 양측의 주프로세서 보드(1,1')에 내장된 뷰터 롬(Booter ROM)에 의해 프로그램이 수행되어(31) 중앙처리장치(CPU) 및 주변 장치가 초기화되면 뷰터 롬의 이중화 프로그램에서 양측 주프로세서 보드간 통신을 하여 이중화 상태가 결정되면(32) 동작/대기 양측 각각 입출력 보드(2,2')를 통하여 운영체계 및 사용자 응용프로그램을 로딩받아(33,42) 운용체계에서 정의된 디바이스의 운용 데이타로 디바이스 초기화(34,43)를 수행한 후에 동작측 프로그램이 수행(35)되며 대기측 프로그램은 디바이스 초기화(43) 후 대기 동작 수행을 위하여 주프로세서 보드는 더미루프(Dummy Loop)만 수행한다(44).First, when the user turns the power ON, the program is executed by the viewr ROM embedded in the main processor boards 1 and 1 'on both sides (31), so that the CPU and the peripheral device When initialized, the redundancy program of the viewer ROM communicates between the two main processor boards, and when the redundancy state is determined (32), the operating system and the user application are loaded through the input / output boards (2, 2 ') on both sides of the operation / standby (33). 42) After performing device initialization (34, 43) with the operation data of the device defined in the operating system, the operating program is executed (35), and the standby program is the main processor for performing the standby operation after the device initialization (43). The board performs only a dummy loop (44).

이때, 동작측 주프로세서가 프로그램의 수행을 위하여 메모리에 데이타를 동작/대기 동시 쓰기도중 에러 감지 및 처리부(27)에 의해 쓰기 에러외의 에러가 감지되면 대기측으로 절체신호를 송출하면, 대기측 쓰기 에러가 감지되면(36) 주프로세서 보드는 어드레스 래치부(26)에 의해 래치된 어드레스를 읽어서 이중화의 모드중 대기 쓰기기능을 이용하여 다시 한번 더 데이타의 쓰기를 수행하여(38) 정상적으로 데이타 쓰기가 이루어지면 계속 프로그램 수행 후 종료하고(40), 데이타 쓰기 에러인 경우에 이중화 모드를 단일 모드로 전환하여(39) 동작측은 계속 프로그램이 수행됨과 아울러 운용자에게 시스템의 상태를 알려주어 시스템의 조치가 이루어지면 다시 처음부터 뷰터 프로그램이 수행되어 이중화 모드의 대기로 동작하도록 한다(41).At this time, if an error other than the write error is detected by the error detection and processing unit 27 during the operation / standby simultaneous write of data to the memory for the execution of the program, if the main processor sends a switching signal to the standby, the standby write error Is detected (36), the main processor board reads the address latched by the address latch unit 26, and writes data once again using the standby write function during the redundancy mode (38). If the program continues to run after the program is terminated (40), and in the case of a data write error, the duplex mode is changed to a single mode (39), and the operating side continues to execute the program and informs the operator of the system status. The viewer program is executed again from the beginning to operate in the standby of the duplication mode (41).

주프로세서 감시부(25)에서 정의된 해당 레지스터로 정의된 시간동안 동작측 주프로세서 보드(1)의 액세스가 없으면 주프로세서 에러로 판단하여 에러 감지 및 처리부(27)에 알리면 에러 감지 및 처리부(27)에서 대기측 주프로세서에 동작 신호로 알리고 대기 주프로세서는 동작으로 전환을 위하여 동작측 중앙처리장치(CPU)의 에러, 동작측 전원 및 보드의 기능 장애에 따라(45) 중앙처리장치(CPU) 에러인 경우에는 바로 동작으로 전환하여 프로그램이 계속 수행되고 종료한다(46).If there is no access of the operating main processor board 1 for a time defined by the corresponding register defined in the main processor monitoring unit 25, the main processor error is determined and the error detection and processing unit 27 is notified. In this case, the standby main processor sends an operation signal to the standby main processor, and the standby main processor changes its operation according to the error of the operating central processing unit (CPU), the operating power supply and the board malfunction (45). In case of an error, the program immediately proceeds to operation and terminates (46).

이때, 이전 동작측은 이중화프로세서의 에러/감지 처리 장치(3,3')에 의해 주프로세서 보드 시스템 리셋신호가 전송되면 프로세서 장치의 모든 보드가 다운되어 동작이 된 주프로세서 보드의 사용자 응용프로그램에서 현재의 프로세서 상태를 알려주어 운용자가 조치를 취한후 처음부터 다시 수행하여 정상적인 대기로 동작하도록 한다.At this time, the previous operating side may transmit the main processor board system reset signal by the error / detection processing unit (3, 3 ') of the redundant processor. Inform the processor status so that the operator takes action and restarts from the beginning to operate in normal standby.

다른 보드의 기능 장애인 경우에는 동작측 주프로세서 보드의 현재 수행중인 프로그램의 카운터와 프로그램 수행에 필요한 데이타를 받기 위하여 수신 준비를 하며(47) 데이타 수신이 완료되면 동작측 프로그램이 수행되고 종료한다(48).In case of a functional disorder of another board, the receiver prepares to receive the counter of the program currently running on the main processor board of the operating board and the data necessary for the program execution (47). ).

따라서, 상기와 같이 구성되어 동작하는 본 발명은 동작/대기로 동작하는 프로세서 장치에 있어서 동작/대기 동시 쓰기시 대기측 데이타 쓰기와 관계없이 동작측에서는 사전 데이타 쓰기 종료 신호를 생성하여 계속 다음 사이클을 수행함으로써 성능 향상 및 대기측 쓰기 에러 발생을 감지할 뿐만아니라 주프로세서 보드의 정상 동작 유무를 감지할 수 있는 효과가 있다.Accordingly, the present invention constructed and operated as described above continuously generates the pre-data write end signal on the operation side regardless of the standby data write during operation / standby simultaneous write in the processor device operating / standby to continue the next cycle. This not only improves performance and detects write-side errors, but also detects whether the main processor board is operating normally.

Claims (2)

동작측 에러 감지/처리 장치와 대기측 에러 감지/처리 장치가 동일한 구조를 가지는 이중화프로세서의 에러 감지/처리 장치에 있어서, 상기 동작측 에러 감지/처리 장치는, 시스템 버스를 통하여 데이타와 어드레스를 입력받아 버퍼제어신호에 따라 상기 대기측 에러 감지/처리 장치에 데이타와 어드레스를 전송하는 데이타 및 어드레스 버퍼링 수단; 시스템 버스의 제어신호에 의해 상기 데이타 및 어드레스 버퍼링 수단에 버퍼제어신호를 출력하고, 상기 대기측 에러 감지/처리 장치에 제어신호를 출력하는 버퍼 제어수단; 시스템 버스를 통하여 어드레스를 입력받아 대기측 메모리 쓰기시 해당 어드레스를 정상적인 완료시점까지 유지한 후에 데이타 전송 확인 신호를 입력받으면 다음 어드레스를 래치하고, 에러신호를 입력받으면 현재 어드레스를 유지하는 어드레스 래치 수단; 이중화 동작 형태를 동작/대기 상태로 제어하는 모드 제어 수단; 주프로세서를 감시하는 주프로세서 감시 수단; 대기측 에러신호를 입력받으면 상기 어드레스 래치 수단으로 에러신호를 출력하고 주프로세서로 에러 인터럽트 신호를 출력하며, 상기 모드 제어 수단으로부터 이중화모드 변경유무의 출력신호를 입력받아 모드 변경에 대한 에러 유무를 감시하여 에러 발생을 감지하면 상기 주프로세서와 대기측 에러 감지/처리 장치로 에러 인터럽트 신호를 출력하고, 상기 주프로세서 감시 수단의 출력을 입력받아 상기 주프로세서의 정상 동작 유무를 감시하여 에러 발생을 감지하면 상기 대기측 에러 감지/처리 장치와 주프로세서로 에러 인터럽트 신호를 출력하여 이중화 절체가 이루어지도록 하는 에러 감지 및 처리 수단; 상기 대기측 에러 감지/처리 장치로부터 쓰기 완료 신호를 받으면 상기 어드레스 래치 수단으로 데이타 전송 확인 신호를 출력하고, 쓰기 완료 신호가 없으면 상기 에러 감지 및 처리 수단으로 에러신호를 출력하는 데이타 전송 확인 수단을 포함하고, 상기 대기측 에러 감지/처리 장치는, 상기 동작측 에러 감지/처리 장치와 동일한 구조를 가지되 역으로 동작하도록 한 이중화프로세서의 에러 감지/처리 장치.In an error detection / processing device of a redundant processor in which an operation side error detection / processing device and a standby side error detection / processing device have the same structure, the operation side error detection / processing device inputs data and an address via a system bus. Data and address buffering means for receiving and transmitting data and an address to the standby error detection / processing device according to a buffer control signal; Buffer control means for outputting a buffer control signal to said data and address buffering means by a control signal of a system bus and for outputting a control signal to said standby error detection / processing device; Address latch means for latching a next address upon receiving a data transfer confirmation signal after receiving an address through a system bus and maintaining the address until a normal completion point when writing a standby memory, and holding a current address upon receiving an error signal; Mode control means for controlling the duplex operation mode to an operation / standby state; Main processor monitoring means for monitoring the main processor; When receiving a standby error signal, an error signal is output to the address latch means, an error interrupt signal is output to the main processor, and the mode control means receives an output signal of the presence or absence of a redundancy mode change and monitors whether there is an error on mode change. If an error occurrence is detected, an error interrupt signal is output to the main processor and the standby error detection / processing device, and the output of the main processor monitoring means is received and the normal operation of the main processor is monitored to detect an error occurrence. Error detection and processing means for outputting an error interrupt signal to said standby side error detection / processing device and a main processor so that duplication switching is performed; And a data transfer confirmation means for outputting a data transfer confirmation signal to the address latch means when receiving a write completion signal from the standby error detection / processing device, and outputting an error signal to the error detection and processing means if there is no write completion signal. And the standby error detecting / processing device has the same structure as the operating side error detecting / processing device but operates in reverse. 이중화프로세서의 에러 감지/처리 장치에 적용되는 에러 감지/처리 방법에 있어서, 전원이 온(ON)되면 양측의 주프로세서 보드에 내장된 뷰터 롬(Booter ROM)에 의해 프로그램이 수행되어 초기화를 수행한 후에 뷰터 롬의 이중화 프로그램에서 상기 양측 주프로세서 보드간의 통신을 수행하여 이중화 상태를 결정하는 제1단계; 상기 제1단계에서 동작/대기 상태가 결정되면 양측 각각 입출력 보드를 통하여 운영체계 및 사용자 응용프로그램을 로딩받아 초기화를 수행한 후에 동작측은 프로그램이 수행되고, 대기측은 대기 동작 수행을 위하여 더미루프(Dummy Loop)을 수행하는 제2단계; 동작측 주프로세서가 메모리에 데이타를 동작/대기 동시 쓰기도중 레러 감지 및 처리부에 의해 대기측 쓰기 에러가 감지되면 어드레스 래치부에 의해 래치된 어드레스를 읽어서 이중화의 모드중 대기 쓰기 기능을 이용하여 다시 한번 더 데이타의 쓰기를 수행하여 정상적으로 데이타 쓰기가 이루어지면 정상적으로 프로그램을 수행하고, 데이타 쓰기 에러인 경우에는 이중화 모드를 단일 모드로 전환하여 동작측은 계속 프로그램을 수행하고 대기측은 운용자의 조치 후에 뷰터 프로그램이 수행되어 이중화 모드의 대기로 동작하는 제3단계; 및 동작측 주프로세서가 메모리에 데이타를 동작/대기 동시 쓰기도중 에러 감지 및 처리부에 의해 대기측 쓰기 에러외의 에러가 감지되면 대기측으로 절체신호를 송출하고, 대기측은 절체신호를 수신하여 중앙처리장치(CPU) 에러인 경우에는 대기에서 동작으로 모드전환하여 프로그램을 수행하고, 다른 보드의 기능 장애인 경우에는 동작측 주프로세서의 보드의 현재 수행중인 프로그램의 카운터와 프로그램 수행에 필요한 데이타를 수신하여 프로그램을 수행하는 제4단계를 포함하여 이루어진 이중화프로세서의 에러 감지/처리 방법.In the error detection / processing method applied to the error detection / processing device of the redundant processor, when the power is turned on, the program is executed by the booter ROM embedded in both main processor boards to perform initialization. A first step of determining a redundancy state by performing communication between the two main processor boards in a redundancy program of the viewr ROM; When the operation / standby state is determined in the first step, after both the operating system and the user application program are loaded and initialized through each of the input / output boards, the operation side executes the program, and the standby side performs a dummy loop to perform the standby operation. Performing a loop); When the main processor of the operating side detects a write error during the simultaneous operation / standby data in memory and the standby write error is detected by the processing unit, it reads the address latched by the address latch unit and uses the standby write function in the redundant mode once again. If the data is written normally and the data is written normally, the program is executed normally.In case of a data write error, the duplex mode is changed to single mode, and the operating side continues to execute the program, and the standby side executes the viewer program after the operator's action. A third step of operating as a standby in a duplication mode; And when an operation other than the standby write error is detected by the error detection and processing unit during the operation / standby simultaneous write of data to the memory, the operation main processor sends a transfer signal to the standby side, and the standby side receives the transfer signal. CPU) In case of error, it executes the program by changing the mode from standby to operation, and in case of malfunction of other board, it executes the program by receiving the counter of the program currently running on the board of the main processor of the operating side and the data necessary for program execution. Error detection / processing method of a redundant processor comprising a fourth step.
KR1019930026294A 1993-12-02 1993-12-02 Double making processor KR960016272B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930026294A KR960016272B1 (en) 1993-12-02 1993-12-02 Double making processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930026294A KR960016272B1 (en) 1993-12-02 1993-12-02 Double making processor

Publications (2)

Publication Number Publication Date
KR950022612A KR950022612A (en) 1995-07-28
KR960016272B1 true KR960016272B1 (en) 1996-12-07

Family

ID=19369752

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930026294A KR960016272B1 (en) 1993-12-02 1993-12-02 Double making processor

Country Status (1)

Country Link
KR (1) KR960016272B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100377931B1 (en) * 1995-12-23 2003-06-19 삼성전자주식회사 Control apparatus and method of duplex system
KR19990075767A (en) * 1998-03-24 1999-10-15 김영환 Fault control method of digital cellular system
KR19990080485A (en) * 1998-04-17 1999-11-15 김영환 Monitoring Method of Active Processor of Mobile Communication Switch
KR100426841B1 (en) * 2001-12-20 2004-04-14 엘지전자 주식회사 Method of Controlling Duplexed Processors

Also Published As

Publication number Publication date
KR950022612A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
US8700835B2 (en) Computer system and abnormality detection circuit
US20240012727A1 (en) Processor with debug pipeline
KR960016272B1 (en) Double making processor
KR900016885A (en) Duplex computer system
US11704215B2 (en) Central processing unit
JP2693627B2 (en) Redundant system of programmable controller
JPS6155759A (en) Interface control device
US20230011127A1 (en) Introduction and Detection of Parity Error in a UART
KR960005743B1 (en) Data transmit inspecting circuit
JPH05100883A (en) Semiconductor device for processing data
JP2706027B2 (en) Programmable controller
JPH03222020A (en) Reset system for multi-micro processor system
JPH05224999A (en) Runaway processor
JP2870101B2 (en) Data path diagnostic circuit
KR970004888B1 (en) Method for controlling double scsi adapter at a time in full electronic switching system
JPH03244045A (en) Microcomputer circuit
WO2023283074A1 (en) Introduction and detection of parity error for self testing of a universal asynchronous receiver transmitter
KR930004425B1 (en) Computer system with debugging function and method therefor
JP2919366B2 (en) Bus failure handling method
JPH0612292A (en) Microcomputer
CN114647611A (en) Central processing unit
JPH02297650A (en) Receiver
JPH0223446A (en) Access abnormal completion response system
JPH0981465A (en) Main storage controller

Legal Events

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

Payment date: 20071115

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee