KR20030054985A - Apparatus for reduplication over warm standby system - Google Patents

Apparatus for reduplication over warm standby system Download PDF

Info

Publication number
KR20030054985A
KR20030054985A KR1020010085426A KR20010085426A KR20030054985A KR 20030054985 A KR20030054985 A KR 20030054985A KR 1020010085426 A KR1020010085426 A KR 1020010085426A KR 20010085426 A KR20010085426 A KR 20010085426A KR 20030054985 A KR20030054985 A KR 20030054985A
Authority
KR
South Korea
Prior art keywords
data
interconnector
memory
board
cpu
Prior art date
Application number
KR1020010085426A
Other languages
Korean (ko)
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 KR1020010085426A priority Critical patent/KR20030054985A/en
Publication of KR20030054985A publication Critical patent/KR20030054985A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1652Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Abstract

PURPOSE: A warm standby duplexer is provided to enable a CPU of an active board to store data at an interconnector, which records data at a memory of a standby board, at the same time as the CPU records the data at a memory so that it can duplex a system irrespective of an operating system. CONSTITUTION: The system comprises an active board(100) and a standby board(200). The active board(100) includes a CPU(110), a memory(120), an interconnection matcher(130), and an interconnector(140). The interconnection matcher(130) includes a direction controller(131), a latch(132), a decoder(133), and an approaching time matcher(134). The direction controller(131) controls a data flow according as the CPU or the interconnector(140) has a bus control right. The latch(132) temporarily stores data when the CPU(110) records the data at the memory(120). The decoder(133) decodes the address and the control signal output by the CPU(110) for making the address and the control signal approachable to a register of the interconnector(140) and the memory(120). The approaching time matcher(134) matches the time, when the CPU(110) approaches the memory(120), with the time, when the CPU(110) approaches the interconnector(140). The standby board(200) has the same structure as the active board(100), and the components of the standby board(200) also have the same functions as those of the active board(100).

Description

웜 스탠바이 이중화 장치{APPARATUS FOR REDUPLICATION OVER WARM STANDBY SYSTEM}Warm standby redundancy unit {APPARATUS FOR REDUPLICATION OVER WARM STANDBY SYSTEM}

본 발명은 웜 스탠바이 이중화 장치에 관한 것으로, 특히 이동통신 시스템과 같은 실시간 시스템에서 씨피유의 부하를 최소로 줄이고 운영체제와 독립적인 이중화 시스템을 구현하기에 적당하도록 한 웜 스탠바이 이중화 장치에 관한 것이다.The present invention relates to a warm standby redundancy device, and more particularly, to a warm standby redundancy device suitable for implementing a duplication system independent of the operating system and minimizing the load of CPI in a real time system such as a mobile communication system.

일반적으로 이중화 방법에는 코울드 스탠바이(Cold Standby), 웜 스탠바이(Warm Standby) 그리고 핫 스탠바이(Hot Standby) 방법이 있다.In general, there are two methods of redundancy: cold standby, warm standby, and hot standby.

먼저, 코울드 스탠바이 방법은 프로그램이 동작하고 있는 활성 보드(Active Board)에 문제가 발생하여 대기 보드(Standby Board)로 대체될 경우 대기 보드는 부팅부터 다시 시작하여 프로그램을 수행하는 방법이다.First, in the standby standby method, when a problem occurs in an active board in which a program operates and is replaced with a standby board, the standby board restarts the boot and executes the program.

그리고, 핫 스탠바이 방법은 활성 보드와 대기 보드에서 동시에 프로그램이 동작하는 중 활성 보드에서 문제가 생길 경우 동시에 대기 보드의 프로그램이 멈춤이 없이 동작하는 방법이다.In addition, the hot standby method is a method in which a program on a standby board operates without stopping at the same time when a problem occurs in an active board while a program is simultaneously operated on an active board and a standby board.

또한, 웜 스탠바이 방법은 대체되는 시간동안 프로그램이 멈춘 상태이지만 대기 보드는 활성 보드로 바뀌면서 이전 활성 보드의 프로그램의 멈춘 부분에 해당하는 현재 활성 보드의 프로그램을 실행시키는 방법이다.In addition, the warm standby method is a method in which a program is stopped for a replacement time, but a standby board is changed to an active board, so that the program of the currently active board corresponding to the stopped portion of the program of the previous active board is executed.

여기서, 웜 스탠바이 방법은 이중 기록(Dual Copy, 이하 이중 기록으로 표기함), 병행 기록(Concurrent Write, 이하 병행 기록으로 표기함)이라는 두 가지 과정에 의해 활성 보드의 메모리에 기록된 데이터와 대기 보드의 메모리에 기록된 데이터를 일치시킨다.In this case, the warm standby method includes data written in the memory of the active board and the standby board by two processes: dual copy (hereinafter referred to as dual write) and parallel write (hereinafter referred to as parallel write). Match the data recorded in the memory.

상기 이중 기록은 활성 보드의 메모리에 기록된 데이터를 대기 보드의 메모리에 기록하는 과정이다.The dual write is a process of writing data written in the memory of the active board to the memory of the standby board.

또한, 병행 기록은 활성 보드의 프로그램이 수행되면서 메모리에 기록된 데이터를 변경시킬 경우 이 변경된 데이터를 대기 보드의 메모리에 기록하는 과정이다.In addition, parallel writing is a process of writing the changed data in the memory of the standby board when the data of the memory is changed while the program of the active board is executed.

상기 두 과정을 도 1을 참조하여 상세히 설명하면 다음과 같다.The two processes will be described in detail with reference to FIG. 1 as follows.

먼저, 시스템이 부팅되면 이중화된 보드 중 하나는 활성 보드(10)가 되고 다른 하나는 대기 보드(20)가 된다. 이때, 활성 보드(10)에서는 운영체제와 응용 프로그램이 수행된다.First, when the system boots, one of the redundant boards becomes the active board 10 and the other becomes the standby board 20. In this case, the active board 10 performs an operating system and an application program.

이후, 활성 보드(10)는 운영체제를 대기 보드(20)에 기록하며, 이 과정을 운영체제 이중 기록이라 한다.The active board 10 then writes the operating system to the standby board 20, which is referred to as operating system dual recording.

대기 보드(20)는 복사된 운영체제로 재부팅하고 활성 보드(10)에 응용 프로그램을 요구한다. 이에 따라, 활성 보드(10)는 응용 프로그램을 대기 보드(20)에 기록하며, 이 과정을 응용 프로그램 이중 기록이라 한다.The standby board 20 reboots into the copied operating system and requests an application program from the active board 10. Accordingly, the active board 10 writes the application program to the standby board 20, which is referred to as application program double recording.

이후, 활성 보드(10)의 메모리(12)에 기록된 데이터가 변경되면 대기 보드(20)의 메모리(22)에 이 변경된 데이터가 동시에 기록된다. 이 과정을 병행 기록이라 한다.Thereafter, when the data recorded in the memory 12 of the active board 10 is changed, the changed data is simultaneously written to the memory 22 of the standby board 20. This process is called a parallel record.

여기서, 활성 보드(10)에 하드웨어적인 문제가 발생하면 활성 보드(10)의 레지스터에 저장된 데이터가 대기 보드(20)의 레지스터에 기록되고 활성 보드(10)는재부팅한다.Here, when a hardware problem occurs in the active board 10, the data stored in the register of the active board 10 is written to the register of the standby board 20, and the active board 10 reboots.

이때, 대기 보드(20)는 프로그램 카운터에 저장된 주소에 해당하는 명령을 수행한다.At this time, the standby board 20 performs a command corresponding to the address stored in the program counter.

따라서, 활성 보드(10)에 문제가 발생하여 대기 보드(20)로 대체될 때 활성 보드(10)의 메모리(12)의 데이터와 대기 보드(20)의 메모리(22)의 데이터가 같고 대기 보드(20)의 레지스터에 저장된 데이터가 활성 보드(10)의 레지스터에 저장된 데이터와 같다면 대기 보드는 활성 보드의 프로그램을 중단 없이 연속적으로 수행할 수 있다.Therefore, when a problem occurs in the active board 10 and is replaced by the standby board 20, the data of the memory 12 of the active board 10 and the data of the memory 22 of the standby board 20 are the same, and the standby board 20 is identical. If the data stored in the register of 20 is the same as the data stored in the register of the active board 10, the standby board may continuously execute the program of the active board without interruption.

그러나, 종래 기술에 있어서 시스템이 이중화로 운영되지 않을 때 사용되는 기준 주소(Base Address)와 시스템이 이중화로 운영될 경우(이중 기록과 병행 기록이 수행될 때)에 사용되는 기준 주소가 다르게 사용되었다.However, in the prior art, the base address used when the system is not operated with redundancy and the base address used when the system is operated with redundancy (when dual recording and parallel recording are performed) are used differently. .

또한, 운영체제와 밀접한 관계를 가지고 있어서 다른 운영체제로 바꿀 경우 종래의 이중화 방법을 사용하지 못하는 문제점이 있다.In addition, since there is a close relationship with the operating system, there is a problem that the conventional duplication method cannot be used when changing to another operating system.

또한, 활성 보드의 씨피유(CPU:Central Processing Unit,이하 씨피유로 표기함)가 이중 기록을 수행하므로 씨피유의 부하가 상승하는 문제점이 있다.In addition, since the CPI of the active board (CPU: denoted CPI) performs a double recording, there is a problem that the CPI load increases.

따라서, 본 발명은 상기와 같은 문제점을 감안하여 창안한 것으로, 활성 보드에서 씨피유가 메모리에 접근하는 시간과 활성 보드의 메모리의 데이터가 대기 보드의 메모리에 저장시키는 역할을 하는 상호연결기에 데이터가 기록되는 시간을 일치시켜 활성 보드와 대기 보드간의 데이터의 흐름을 제어함으로써 운영체제와의연관성을 최소화하여 시스템의 이중화 구현을 가능하게 하여 운영체제와 독립적인 웜 스탠바이 이중화 장치를 제공함에 그 목적이 있다.Accordingly, the present invention has been made in view of the above problems, in which the data is written to the interconnector, which serves to store the time when the CPI accesses the memory in the active board and the data in the memory of the active board in the memory of the standby board. The purpose is to provide a warm standby redundancy device independent of the operating system by minimizing the linkage with the operating system by controlling the flow of data between the active board and the standby board by matching the set time.

도 1은 종래의 이중화 장치의 구성을 보인 블록도.1 is a block diagram showing the configuration of a conventional redundancy apparatus.

도 2는 본 발명 웜 스탠바이 이중화 장치의 구성을 보인 블록도.Figure 2 is a block diagram showing the configuration of the present invention warm standby redundant device.

도 3은 도 2의 각각의 구성 요소가 동작하는 조건을 나타내는 예시도.FIG. 3 is an exemplary diagram illustrating a condition under which each component of FIG. 2 operates. FIG.

도 4는 도 2의 디코더의 입출력 신호의 종류를 보인 예시도.4 is an exemplary diagram illustrating types of input / output signals of the decoder of FIG. 2.

도 5는 도 2의 방향제어기의 입출력 신호의 종류를 보인 예시도.5 is an exemplary view illustrating types of input / output signals of the direction controller of FIG. 2.

도 6은 도 2의 래치의 입출력 신호의 종류를 보인 예시도.FIG. 6 is an exemplary view illustrating types of input / output signals of the latch of FIG. 2. FIG.

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

100 : 활성 보드 110, 210 : 씨피유100: active board 110, 210: CPI oil

120, 220 : 메모리 130, 230 : 상호연결정합기120, 220: memory 130, 230: interconnection combiner

131, 231 : 방향제어기 132, 232 : 래치131, 231: direction controller 132, 232: latch

133, 233 : 디코더 134, 234 : 접근시간정합기133, 233: decoder 134, 234: access time matcher

200 : 대기 보드200: standby board

상기와 같은 목적을 달성하기 위한 본 발명은, 씨피유나 상호연결기가 버스 제어권을 가진 것에 따라 데이터의 흐름을 제어하는 방향제어기와; 상기 씨피유가 메모리에 데이터를 기록할 때 이 데이터를 임시 저장하는 래치와; 상기 씨피유에서 출력된 주소와 제어 신호를 상호 연결기의 레지스터나 상기 메모리 영역에 접근 가능하도록 디코딩하는 디코더와; 상기 씨피유가 메모리에 접근하는 시간과 상호연결기에 접근하는 시간을 정합시키는 접근시간정합기로 구성한 것을 특징으로 한다.The present invention for achieving the above object is a direction controller for controlling the flow of data according to the CFI or interconnector having a bus control right; A latch for temporarily storing the data when the CPU writes the data into a memory; A decoder for decoding the address and the control signal output from the CPI so that they are accessible to a register of the interconnector or the memory area; And the access time matcher for matching the time when the CPU accesses the memory with the time when the interconnector is accessed.

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

씨피유의 종류에 따라 상호연결기의 종류가 달라진다. 예를 들어, 씨피유가 파워피씨(Power PC)이면 상호연결기는 파워피씨와 호환되는 피씨아이 브리지(PCI Bridge: Peripheral Component Interconnect Bridge)가 사용된다.The type of interconnector depends on the type of CPI. For example, if the PC is a Power PC, the interconnect uses a PCI bridge (PCI Bridge).

여기서, 상호연결기는 다음과 같은 기능을 가져야 한다.Here, the interconnector shall have the following functions.

먼저, 상호연결기의 레지스터와 대기 보드의 메모리를 다른 주소로 접근이 가능해야 한다. 즉, 두 개 이상의 이미지(Image)를 가져야 한다.First, registers on the interconnector and memory on the standby board must be accessible to different addresses. That is, it should have two or more images.

또한, 버스 인터페이스 기능 중에 버스 마스터(Bus Master) 기능이 있어야 한다.In addition, one of the bus interface functions should be the bus master function.

그리고, 씨피유에 상관없이 메모리에 직접적으로 접근이 가능해야 한다. 따라서, 이중 기록이 수행될 때 씨피유의 부하가 줄어든다.And, regardless of CPI, the memory must be directly accessible. Therefore, the load of the seed oil is reduced when the double recording is performed.

위와 같은 기능을 가진 툰드라(Tundra)사의 파워스팬(PowerSpan) 칩을 사용하여 본 발명 웜 스탠바이 이중화 장치를 구현한다.The present invention implements a warm standby redundancy device using a Tunsund PowerSpan chip having the above functions.

도 2는 본 발명 웜 스탠바이 이중화 장치를 보인 블록도로서, 이에 도시한 바와 같이 씨피유(110)나 상호연결기(140)가 버스 제어권을 가진 것에 따라 데이터의 흐름을 제어하는 방향제어기(131)와, 상기 씨피유(110)가 메모리(120)에 데이터를 기록할 때 이 데이터를 임시 저장하는 래치(132)와, 상기 씨피유(110)에서 출력된 주소와 제어 신호를 상호 연결기(140)의 레지스터나 상기 메모리(120) 영역에 접근 가능하도록 디코딩하는 디코더(133)와, 상기 씨피유(110)가 메모리(120)에 접근하는 시간과 상호연결기(140)에 접근하는 시간을 정합시키는 접근시간정합기(134)로 구성된 활성 보드(100)와; 씨피유(210)나 상호연결기(240)가 버스 제어권을 가진 것에 따라 데이터의 흐름을 제어하는 방향제어기(231)와, 상기 씨피유(210)가 메모리(220)에 접근하는 시간과 상호연결기(240)에 접근하는 시간을 정합시키는 접근시간정합기(234)로 구성된 대기 보드(200)로 구성한 것으로 본 발명의 일실시예를 설명한다.Figure 2 is a block diagram showing a warm standby redundant device of the present invention, the direction controller 131 for controlling the flow of data in accordance with the CFI 110 or the interconnector 140 has a bus control rights, When the CPI 110 writes data to the memory 120, the latch 132 temporarily stores the data, and the address and the control signal output from the CPI 110 are stored in the register of the interconnector 140 or the Decoder 133 for decoding the memory 120 region accessible, and access time matcher 134 for matching the time that the CPI 110 accesses the memory 120 and the time to access the interconnector 140. An active board (100) composed of; The direction controller 231 controls the flow of data according to the CPI 210 or the interconnector 240 having the bus control right, and the time when the CPI 210 approaches the memory 220 and the interconnector 240. An embodiment of the present invention will be described as being composed of a standby board 200 composed of an access time matcher 234 for matching a time to approach.

시스템에 전원이 인가되면 먼저 부팅하는 쪽을 활성 보드(100)라고 가정하고, 나중에 부팅하는 쪽을 대기 보드(200)라고 가정하자.When power is applied to the system, assume that the booting side is the active board 100 first, and the booting side is the standby board 200.

먼저, 활성 보드(100)는 메모리(120)에 저장된 데이터를 상호연결정합기(130)와 상호연결기(140, 240)를 통해서 대기 보드(200)의 메모리(220)에 기록한다. 이를 통해 활성 보드(100)는 이중 기록을 수행한다.First, the active board 100 writes data stored in the memory 120 to the memory 220 of the standby board 200 through the interconnector 130 and the interconnectors 140 and 240. Through this, the active board 100 performs a double write.

이때, 이중 기록을 수행함에 있어서, 디엠에이(DMA: Direct Memory Access, 이하 디엠에이로 표기함) 제어기를 이용하면 씨피유와 관계없이 이중 기록의 수행이 가능하다.At this time, in performing the double recording, using a DM (Direct Memory Access, hereinafter referred to as a DM) controller it is possible to perform the double recording regardless of the CAPI.

여기서, 이중 기록의 수행 순서를 디엠에이를 이용할 경우와 디엠에이를 이용하지 않을 경우 두 가지 예를 들어 상세히 설명하면 다음과 같다.Here, the case where the dual recording is performed in the case of using the DM and the case of not using the DM will be described in detail with two examples.

먼저, 디엠에이를 이용할 경우는 상호연결기(140)(파워스팬)는 버스의 사용을 요구하는 신호(BR: Bus Request)를 버스 중재기에 출력한다.First, when using a DM, the interconnector 140 (powerspan) outputs a signal (BR: Bus Request) requesting the use of the bus to the bus arbiter.

상기 버스 중재기는 상호연결기(140)(파워스팬)에 버스의 사용을 허가하는 신호(BG: Bus Grant)를 출력한다.The bus arbiter outputs a signal to the interconnector 140 (powerspan) to permit use of the bus (BG).

이 두 과정 실행 후, 활성 보드(100)의 상호연결기(140)(파워스팬)는 메모리(120)로부터 데이터를 읽어서 피씨아이 버스(PCI Bus: Peripheral Component Interconnect Bus)를 통해서 대기 보드(200)의 상호연결기(240)(파워스팬)에 출력한다.After the execution of these two processes, the interconnector 140 (powerspan) of the active board 100 reads data from the memory 120 to read the data from the standby board 200 through the PCI Bus (Pipheral Component Interconnect Bus). Output to interconnector 240 (powerspan).

이후, 대기 보드(200)의 상호연결기(240)(파워스팬)는 버스 중재기(Bus Arbiter, 이하 버스 중재기로 표기함)에 버스의 사용을 요구하고 버스 사용권(Bus Grant)을 얻으면 메모리(220)에 데이터를 기록한다.Thereafter, the interconnector 240 (powerspan) of the standby board 200 requests the bus arbiter (Bus Arbiter, hereinafter referred to as bus arbiter) to use the bus and obtains a bus grant. Record the data in).

또 다른 경우로 디엠에이를 이용하지 않을 경우 이중 기록이 수행되는 순서는 다음과 같다.In another case, when the DM is not used, the duplex recording is performed in the following order.

먼저, 활성 보드(100)의 씨피유(110)는 메모리(120)에서 데이터를 읽어 상호연결기(140)(파워스팬)에 출력한다. 이후, 상호연결기(140)(파워스팬)는 버스 중재기로부터 버스의 사용 허가 신호를 받으면 메모리(120)로부터 데이터를 읽어 피씨아이 버스를 통해서 대기 보드(200)의 상호연결기(240)(파워스팬)에 출력한다.First, the CPI 110 of the active board 100 reads data from the memory 120 and outputs the data to the interconnector 140 (powerspan). Then, the interconnector 140 (powerspan) reads data from the memory 120 when receiving a bus permission signal from the bus arbiter through the PCI bus interconnector 240 (powerspan) of the standby board 200 )

이후, 대기 보드(200)의 상호연결기(240)(파워스팬)는 버스 중재기에 버스의 사용을 요구하고 버스의 사용 허가를 얻으면 메모리(220)에 데이터를 기록한다.Thereafter, the interconnector 240 (powerspan) of the standby board 200 requests the bus arbiter to use the bus and writes data to the memory 220 when the bus permit is obtained.

이상, 이중 기록이 수행되는 순서에 대해 살펴보았고 이후 병행 기록의 수행 순서를 살펴보면 다음과 같다.In the above, the order in which the dual recording is performed has been described, and in the following, the order of performing parallel writing will be described.

활성 보드(100)의 상호연결정합기(130)는 씨피유(110)가 메모리(120)와 상호연결기(140)(파워스팬)에 접근하는 시간을 동일하게 정합시킨다.The interconnector 130 of the active board 100 equally matches the time that CPI 110 approaches the memory 120 and the interconnector 140 (powerspan).

그리고, 상호연결정합기(130)는 씨피유(110)가 메모리(120)를 읽을 때는 상호연결기(140)(파워스팬)에서 데이터가 출력되지 않도록 한다.The interconnection combiner 130 prevents data from being output from the interconnector 140 (powerspan) when the CPI 110 reads the memory 120.

또한, 상호연결정합기(130)는 상호연결기(140)(파워스팬)의 레지스터가 접근될 때 상호연결기(140)(파워스팬)에서 출력된 인식(Acknowledge)신호(PowerPC의 경우 TA)가 출력되게 하고 병행 기록이 수행될 때는 이 인식 신호가 출력되지 않게 한다.In addition, the interconnector 130 outputs an acknowledgment signal (TA in PowerPC) output from the interconnector 140 (powerspan) when the register of the interconnector 140 (powerspan) is accessed. This recognition signal is not output when parallel recording is performed.

반대로, 대기 보드(200)의 상호연결정합기(230)는 아무런 동작을 행하지 않고 단지 데이터의 전달만을 행한다.Conversely, the interconnector 230 of the standby board 200 does not perform any operation but merely transfers data.

이후, 활성 보드(100)에서 문제가 발생하면 상호연결기(140)의 디엠에이 제어기(DMA Controller: Direct Memory Access Controller)가 씨피유(110)의 레지스터에 저장된 데이터를 대기 보드(200)의 씨피유(210)의 레지스터에 기록한다.Subsequently, when a problem occurs in the active board 100, the DM controller of the interconnector 140 reads the data stored in the register of the CPI 110 from the CPI 210 of the standby board 200. In the register).

따라서, 대기 보드(200)는 활성 보드(100)로의 동작이 가능해진다.Therefore, the standby board 200 can operate as the active board 100.

이하, 활성 보드(100)와 대기 보드(200)에서 동작이 다른 상호연결정합기(130)(230)를 도 3 내지 도 6을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, the interconnection combiners 130 and 230 having different operations in the active board 100 and the standby board 200 will be described in detail with reference to FIGS. 3 to 6.

먼저, 디코더(133)(233)는 도 4에 도시된 바와 같이 씨피유(110)(210)에서 출력되는 주소(CAS: CPU_Address_Signal는 PSAS: PowerSpan_Address_Signal로 디코딩됨), 데이터(CDB: CPU_Date_Bus) 및 제어 신호(CCS: CPU_Control_Signal는 PSCS: PowerSpan_Control_Signal로 디코딩됨 , CBR: CPU_Bus_Request는 PowerSpan_Bus_Request로 디코딩됨, CBG: CPU_Bus_Grant는 PSBG: PowerSpan_Bus_Grant로 디코딩됨)를 입력받아 상호연결기(140)(240)(파워스팬)의 레지스터나 메모리(동기식 디램(SDRAM): Synchronous DRAM)의 영역에 매핑시킨다.First, the decoders 133 and 233 may output an address (CAS: CPU_Address_Signal decoded into PSAS: PowerSpan_Address_Signal), data (CDB: CPU_Date_Bus), and a control signal as shown in FIG. 4. (CCS: CPU_Control_Signal decoded to PSCS: PowerSpan_Control_Signal, CBR: CPU_Bus_Request decoded to PowerSpan_Bus_Request, CBG: CPU_Bus_Grant decoded to PSBG: PowerSpan_Bus_Grant). It maps to the area of memory (synchronous DRAM).

여기서, 방향제어기(131)(231)는 도 3에 도시된 바와 같이 시스템이 이중화되어 있지 않거나, 시스템이 이중화되어 있고 대기 보드이거나, 상호연결기가 버스 사용권을 가진 때거나, 상호연결기(파워스팬)의 레지스터를 읽을 경우에 동작하며 도 5에 도시된 바와 같이, 씨피유(110)(210)가 버스를 사용하면 씨피유(110)(210)에서 출력된 신호(CCS: CPU_Control_Signal, CAB: CPU_Address_Bus, CDB: CPU_Data_Bus)가 상호연결기(140)(240)(파워스팬)에 출력되게 하고 상호연결기(140)(240)(파워스팬)가 버스를 사용하면 상호연결기(140)(240)(파워스팬)로부터 출력된 신호(PSCS: PowerSpan_Control_Signal, PSAB: PowerSpan_Address_Bus, PSDB: PowerSpan_Data_Bus)가 씨피유(110)(210)에 출력되게 한다.Here, the direction controllers 131 and 231 may be used when the system is not redundant as shown in FIG. 3, the system is redundant and the standby board, the interconnector has a bus right, or the interconnector (powerspan). 5 is operated when reading the register of CPI, the signal output from the CPI (110) 210 when using the bus (CCS: CPU_Control_Signal, CAB: CPU_Address_Bus, CDB :) CPU_Data_Bus) is output to interconnectors 140, 240 (powerspan) and outputs from interconnectors 140, 240 (powerspan) when interconnectors 140, 240 (powerspan) uses a bus. The output signals PSCS: PowerSpan_Control_Signal, PSAB: PowerSpan_Address_Bus, and PSDB: PowerSpan_Data_Bus are outputted to the CAPI 110 and 210.

이때, OC(Output_Enable_Control) 신호가 액티브이고 DC(Direction_Control) 신호의 온/오프에 따라 상기의 과정이 수행된다.At this time, the above process is performed according to the OC (Output_Enable_Control) signal is active and the on / off of the DC (Direction_Control) signal.

다른 경우로, 메모리(동기식 디램: SDRAM: Synchronous DRAM)의 데이터를 읽을 경우 상호연결정합기(130, 230)는 아무런 동작을 행하지 않고 입력되는 신호를 하이 임피던스로 만든다.In other cases, when reading data from a memory (synchronous DRAM: synchronous DRAM), the interconnector 130 and 230 make the input signal high impedance without performing any operation.

또 다른 경우로, 래치(132)(232)는 도 3에 도시된 바와 같이, 활성보드의 씨피유(110)(210)가 마스터가 되고 메모리(동기식 디램)(120)(220)에 기록할 때 동작하며 도 6에 도시된 바와 같이 씨피유(110)(210)에서 출력된 주소(CAB: CPU_Address_Bus), 데이터(CPU_Data_Bus) 및 제어신호(CPU_Control_Signal)를 임시 저장한후 상호연결기(140)(240)(파워스팬)에 데이터 및 제어 신호(PSCS: PoweSpan_Control_Signal, PSAB: PowerSpan_Address_Bus, CDB:CPU_Data_Bus)를 출력한다.In another case, the latches 132 and 232 are shown in FIG. 3, when the CPI 110 and 210 of the active board become the master and write to the memory (synchronous DRAM) 120 and 220. 6 and temporarily store the address (CAB: CPU_Address_Bus), the data (CPU_Data_Bus), and the control signal (CPU_Control_Signal) output from CPI 110 and 210, as shown in FIG. Outputs data and control signals (PSCS: PoweSpan_Control_Signal, PSAB: PowerSpan_Address_Bus, CDB: CPU_Data_Bus) to the span).

이때, 메모리의 버스트 모드(Burst Mode)의 동작을 고려하여 래치(132, 232)에 4개 이상의 데이터가 저장될 수 있게 한다.In this case, at least four data may be stored in the latches 132 and 232 in consideration of the operation of the burst mode of the memory.

또한, 상기 래치(132)(232)에 저장된 정보가 상호연결기(140)(240)(파워스팬)에 출력되는 동작은 상호연결기(240)(140)(파워스팬)가 레지스터에 접근하는 동작이 종료되었음을 알리는 종료 신호가 출력될 때까지 계속된다.In addition, the operation of outputting the information stored in the latches 132 and 232 to the interconnectors 140 and 240 (powerspan) may be performed by the interconnectors 240 and 140 (powerspan) accessing the registers. The process continues until an end signal is outputted.

또 다른 실시예로, 상호 연결기에 피씨아이 브리지를 사용하지 않고 피씨아이-엑스나 기타 다른 버스 방식을 사용하여도 같은 이중화 시스템을 구현할 수 있다.In another embodiment, the same redundancy system can be implemented using a PC-X or other bus scheme without using a PC-I bridge in the interconnect.

이상에서 상세히 설명한 바와 같이, 본 발명은 씨피유가 메모리에 접근하는 시간과 상호 연결기에 접근하는 시간을 정합시킴으로써 시스템에 사용되는 운영체제와의 연관성을 최소로 하여 상용 운영체제를 사용하는 시스템에서도 웜 스탠바이 이중화 시스템을 용이하게 구현하게 하는 효과가 있다.As described in detail above, the present invention matches the time of accessing the memory and the time of the interconnector to the warm-up duplication system even in a system using a commercial operating system with minimal correlation with the operating system used in the system. There is an effect that makes it easy to implement.

또한, 활성 보드와 대기 보드에 데이터를 이중으로 기록할 때 상호 연결기가 활성 보드의 씨피유를 거치지 않고 직접 대기 보드의 메모리에 데이터를 기록할 수 있으므로 활성 보드의 씨피유에 걸리는 부하를 줄일 수 있다.In addition, when data is repeatedly recorded on the active board and the standby board, the interconnector can directly write data to the memory of the standby board without passing through the active board's CPU, thereby reducing the load on the CPU of the active board.

또한, 상호연결기에 피씨아이 버스가 사용되면 버스의 신뢰도를 높일 수 있다. 예를 들어 이중화 버스에 에러가 발생할 경우 패리티 체크가 가능하므로 에러의 원인을 파악하기가 용이한 효과가 있다.In addition, the use of PCI buses in the interconnector can increase the reliability of the bus. For example, parity check is possible when an error occurs in the redundant bus, so it is easy to determine the cause of the error.

Claims (4)

씨피유나 상호연결기가 버스 제어권을 가진 것에 따라 데이터의 흐름을 제어하는 방향제어기와; 상기 씨피유가 메모리에 데이터를 기록할 때 이 데이터를 임시 저장하는 래치와; 상기 씨피유에서 출력된 주소와 제어 신호를 상호 연결기의 레지스터나 상기 메모리 영역에 접근 가능하도록 디코딩하는 디코더와; 상기 씨피유가 메모리에 접근하는 시간과 상호연결기에 접근하는 시간을 정합시키는 접근시간정합기를 포함하여 구성된 보드를 이중화하여 구성된 것을 특징으로 하는 웜 스탠바이 이중화 장치.A direction controller that controls the flow of data as the CAPI or interconnector has bus control; A latch for temporarily storing the data when the CPU writes the data into a memory; A decoder for decoding the address and the control signal output from the CPI so that they are accessible to a register of the interconnector or the memory area; Warm standby redundancy device, characterized in that configured to duplicate the board configured to include the access time matcher for matching the time when the CPI accesses the memory and the time to access the interconnector. 제1항에 있어서, 상기 래치는 시스템이 이중화되고 보드가 활성 보드로 동작할 때 씨피유가 메모리에 데이터를 기록하면 동작하고 씨피유의 주소, 데이터 및 제어 신호를 임시 저장하여 상호연결기에 출력하고 메모리의 데이터 기록 모드가 버스트 모드일 때 소정 개수 이상의 데이터의 저장이 가능하게 구성된 것을 특징으로 하는 웜 스탠바이 이중화 장치.The latch of claim 1, wherein the latch is operated when the system writes data to the memory when the system is redundant and the board operates as an active board, and temporarily stores the address, data and control signals of the CPU and output them to the interconnector. A warm standby redundancy apparatus, characterized in that configured to be capable of storing a predetermined number or more of data when the data recording mode is a burst mode. 제2항에 있어서, 상기 래치에 저장된 데이터가 상호연결기에 기록되는 동작은 상호연결기의 레지스터의 접근이 종료될 때까지 계속되게 구성된 것을 특징으로 하는 웜 스탠바이 이중화 장치.3. The warm standby redundancy apparatus of claim 2, wherein the operation of writing data stored in the latch to the interconnector is configured to continue until access of the register of the interconnector is terminated. 제1항에 있어서, 상기 접근시간정합기는 씨피유가 메모리에 기록하는 시간과 상호연결기에 기록하는 시간을 일치시켜 데이터의 기록 대기 시간이 다른 메모리의 사용이 용이하게 구성된 것을 특징으로 하는 웜 스탠바이 이중화 장치.The warm standby redundancy apparatus of claim 1, wherein the access time matcher is configured to facilitate the use of a memory having a different waiting time for data recording by matching the time that CPI writes to the memory with the time that is written to the interconnector. .
KR1020010085426A 2001-12-26 2001-12-26 Apparatus for reduplication over warm standby system KR20030054985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010085426A KR20030054985A (en) 2001-12-26 2001-12-26 Apparatus for reduplication over warm standby system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010085426A KR20030054985A (en) 2001-12-26 2001-12-26 Apparatus for reduplication over warm standby system

Publications (1)

Publication Number Publication Date
KR20030054985A true KR20030054985A (en) 2003-07-02

Family

ID=32213698

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010085426A KR20030054985A (en) 2001-12-26 2001-12-26 Apparatus for reduplication over warm standby system

Country Status (1)

Country Link
KR (1) KR20030054985A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100818837B1 (en) * 2001-10-16 2008-04-01 엘지노텔 주식회사 Using pci bridge of duplex apparatus
KR100968587B1 (en) * 2010-03-18 2010-07-08 (주)동남티디에스 Folded large-sized electric sign and radiator
CN103561197A (en) * 2013-11-12 2014-02-05 杭州恒生数字设备科技有限公司 End-to-end duplicated hot-standby recording and broadcasting system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100818837B1 (en) * 2001-10-16 2008-04-01 엘지노텔 주식회사 Using pci bridge of duplex apparatus
KR100968587B1 (en) * 2010-03-18 2010-07-08 (주)동남티디에스 Folded large-sized electric sign and radiator
CN103561197A (en) * 2013-11-12 2014-02-05 杭州恒生数字设备科技有限公司 End-to-end duplicated hot-standby recording and broadcasting system

Similar Documents

Publication Publication Date Title
US6408369B1 (en) Internal copy for a storage controller
US6529989B1 (en) Intelligent expansion ROM sharing bus subsystem
US5187792A (en) Method and apparatus for selectively reclaiming a portion of RAM in a personal computer system
KR20170139438A (en) System and method for operating a ddr-compatible asynchronous memory module
US7007126B2 (en) Accessing a primary bus messaging unit from a secondary bus through a PCI bridge
JP2586138B2 (en) Microprocessor
US5467461A (en) Multiprocessor computer system having bus control circuitry for transferring data between microcomputers
JP3514651B2 (en) Reboot control device
KR20030054985A (en) Apparatus for reduplication over warm standby system
KR100324279B1 (en) System and Method of Coherencing Memory between Two Duplication Processors in the Switching System
KR100398731B1 (en) Method For Inter Processor Memory Coherency Verification in Switching System and apparatus therefor
JPS60123952A (en) Input-output controlling system
WO1996042056A1 (en) A cache flush mechanism for a secondary cache memory
KR200216750Y1 (en) Access Speed Enhancement Device at SCS
WO2000049792A1 (en) System for hot standby of a telephone switching matrix
JPS59135684A (en) Data bypass system between buffer memories
JP2003140966A (en) Cache memory control system of computer system
JP2001290790A (en) Disk controller
US20030120862A1 (en) Controlling method of storage apparatus, and storage apparatus, disk array device, and disk controller used in the method thereof
KR100319782B1 (en) Method of maintaining the consistent data access on a storage in processors duplex-controlled, sharing the storage physically
JP2766399B2 (en) Small computer and method of accessing its internal disk
JPS62169244A (en) System for writing data simultaneously on both systems of duplex memory
JP3219422B2 (en) Cache memory control method
JPH0287253A (en) Equipment address setting system
JPS62154153A (en) Control system for external storage

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination