KR100337296B1 - Apparatus and Method for Data Copy between Duplicated Circuit Board - Google Patents
Apparatus and Method for Data Copy between Duplicated Circuit Board Download PDFInfo
- Publication number
- KR100337296B1 KR100337296B1 KR1019990059289A KR19990059289A KR100337296B1 KR 100337296 B1 KR100337296 B1 KR 100337296B1 KR 1019990059289 A KR1019990059289 A KR 1019990059289A KR 19990059289 A KR19990059289 A KR 19990059289A KR 100337296 B1 KR100337296 B1 KR 100337296B1
- Authority
- KR
- South Korea
- Prior art keywords
- circuit board
- data
- memory
- signal
- address
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 230000015654 memory Effects 0.000 claims abstract description 98
- 230000002730 additional effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/20—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10833—Copying or moving data from one record carrier to another
Abstract
본 발명은 이중화 회로보드간의 데이터 복사장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for copying data between redundant circuit boards.
종래 이중화 회로보드의 데이터 복사장치에서는 회로보드가 자신의 데이터를 상대편 다른 회로보드에 복사하는 경우에, 데이터를 상대편 회로보드측에 복사하는 회로보드의 CPU는 자신의 관할하에 어드레스와 데이터를 상대편 회로보드에게 전송하여야 하므로 데이터 복사시에 해당 회로보드의 CPU에 대한 부하가 증가되는 문제점이 있다. 또한, 회로보드간에 데이터 복사하는 경우 어드레스 버스와 데이터 버스 모두를 구비하여 어드레스와 데이터를 전송하므로 회로보드를 접속하기 위한 엣지 핀이 많이 소요되는 문제점이 있다.In the data copying apparatus of the conventional redundant circuit board, when the circuit board copies its data to the other circuit board on the other side, the CPU of the circuit board which copies the data to the other circuit board side stores the address and data under the jurisdiction of its own circuit. Since the data must be transmitted to the board, there is a problem in that the load on the CPU of the circuit board increases when data is copied. In addition, when copying data between circuit boards, since both an address bus and a data bus are provided to transmit an address and data, an edge pin for connecting the circuit board is required.
본 발명은 이중화되어 있는 회로보드간에 데이터를 복사하는 경우 각 회로보드의 CPU에 의한 데이터 복사의 관여를 감소시키므로 회로보드에 구비된 CPU의 부하를 감소시게 되고, 어드레스 전송을 위한 어드레스 버스를 제거하였으므로 회로보드를 접속하기 위한 엣지 핀을 감소시키게 된다. 또한, 본 발명은 데이터 복사를 위해 데이터를 래치하지 않고 기록제어신호와 판독제어신호에 의해 직접 메모리간에 데이터를 복사하므로 데이터 복사 동작을 신속히 하게 된다는 부가적인 효과도 있다.Since the present invention reduces the involvement of data copy by the CPU of each circuit board when copying data between the redundant circuit boards, it reduces the load of the CPU provided in the circuit board and removes the address bus for address transfer. This will reduce the edge pins for connecting the circuit board. In addition, the present invention also has the additional effect of speeding up the data copying operation because data is copied directly between memories by the write control signal and the read control signal without latching the data for data copying.
Description
본 발명은 이중화 회로보드에 관한 것으로, 특히 이중화되어 있는 회로보드간에 데이터를 복사하는 경우 각 회로보드의 메모리간에 데이터를 직접적으로 복사케함으로써 각 회로보드의 CPU(Central Processing Unit)에 의한 데이터 복사의 관여를 감소시켜 회로보드에 구비된 CPU의 부하를 감소시킴과 아울러 어드레스 전송을 위한 어드레스 버스를 제거하여 회로보드를 접속하기 위한 엣지 핀을 감소시키도록 하는 이중화 회로보드간의 데이터 복사장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a redundant circuit board. In particular, when copying data between redundant circuit boards, the data is copied directly by the CPU (Central Processing Unit) of each circuit board. A device and method for copying data between redundant circuit boards to reduce the involvement of the CPU on the circuit board and to reduce the edge pins for connecting the circuit board by eliminating the address bus for address transmission. will be.
일반적으로 교환기 등과 같은 시스템에서는 각종 데이터를 처리하는 다수개의 회로보드를 구비하여 해당 회로보드에서 주어진 기능을 수행케 하고 있는데, 시스템에서는 시스템의 동작 중단을 방지하기 위하여 각 회로보드 들을 이중화시켜 운용하고 있다.In general, a system such as an exchanger is provided with a plurality of circuit boards that process various data to perform a given function in the circuit board. In the system, each circuit board is dualized to prevent the operation of the system. .
이와같이 이중화 되어 있는 회로보드에서는 하나의 회로보드를 액티브 모드(Active Mode)로 운용하고 다른 하나의 회로보드를 스탠바이 모드(Standby Mode)로 운용하는데, 액티브 모드의 회로보드가 동작을 수행하는 중에 해당 액티브 모드에 장애가 발생되는 경우 스탠바이 모드를 액티브 모드로 전환하여 동작시켜 장애 발생된 액티브 모드의 회로보드에 대신하여 계속적으로 동작 수행케 함으로써 시스템의 동작 중단을 방지한다.In this redundant circuit board, one circuit board is operated in the active mode and the other circuit board is operated in the standby mode. If a failure occurs in the mode, the standby mode is switched to the active mode to operate continuously in place of the failed active circuit board to prevent the operation of the system.
이중화 회로보드가 이와같은 이중화 동작을 수행하기 위해서는 액티브 모드의 회로보드와 스탠바이 모드의 회로보드는 동일한 데이터를 유지하고 있어야 한다. 즉, 액티브 모드의 회로보드가 동작 수행하는 중에 발생되는 데이터를 스탠바이 모드의 회로보드도 마찬가지로 유지하고 있어야 만이 액티브 모드의 회로보드에 장애가 발생되었을때 스탠바이 모드의 회로보드가 액티보 모드의 회로보드에서 처리되던 데이터를 계속적으로 처리하여 이중화 동작을 수행할 수 있다.In order for a redundant circuit board to perform such a redundant operation, the active circuit board and the standby mode circuit board must maintain the same data. In other words, the data generated during the operation of the active mode circuit board must be maintained in the standby mode circuit board as well. The redundancy operation can be performed by continuously processing the processed data.
이와같이 이중화된 회로보드는 동일한 데이터를 유지하기 위해서 회로보드간에 데이터를 복사하여 저장하는 동작을 수행하는데, 종래에는 이중화 회로보드간에 데이터를 복사하는 경우 도1에 도시된 바와같은 데이터 복사장치를 사용하였다.Thus, the redundant circuit board performs an operation of copying and storing data between circuit boards in order to maintain the same data. Conventionally, when copying data between redundant circuit boards, a data copy apparatus as shown in FIG. 1 is used. .
즉, 종래 이중화 회로보드의 데이터 복사장치는 도1에 도시된 바와같이 액티브측 회로보드(10)와 스탠바이측 회로보드(20)를 구비하되, 해당 회로보드(10),(20)는 백보드(30)의 데이터선, 어드레스선 및, 제어신호선을 통해 상호 연결되어 데이터를 주고 받도록 구성되어 있다. 액티브측 회로보드(10)에는 CPU(11)와 메모리(12)를 구비하고 있고, 스탠바이측 회로보드(20)에도 CPU(21)와 메모리(22)가 구비되어 있다.That is, the data copying apparatus of the conventional redundant circuit board includes an active side circuit board 10 and a standby side circuit board 20, as shown in FIG. 1, and the circuit boards 10 and 20 correspond to a back board ( 30 is connected to each other via a data line, an address line, and a control signal line to exchange data. The active circuit board 10 includes a CPU 11 and a memory 12. The standby circuit board 20 is also provided with a CPU 21 and a memory 22.
이와같은 이중화 회로보드의 데이터 복사장치에서 액티브측 회로보드(10)가 스탠바이측 회로보드(20)의 메모리(22)에 데이터를 복사하는 경우에, 액티브측 회로보드(10)의 CPU(11)가 메모리(12)측에 판독제어신호(/IN_RD)와 어드레스(ADDRESS)를 인가하여 메모리(12)를 억세스하여 메모리(12)의 데이터(DATA)를 읽어내어 백보드(30)의 데이터 버스를 경유하여 스탠바이측 회로보드(20)의 메모리(22)측에 송출함과 동시에 해당 메모리(22)측에 기록제어신호(/OUT_WR)를 송출함과 더불어 어드레스(ADDRESS)를 백보드(30)의 어드레스 버스를 통해 해당 메모리(22)측에 송출한다. 이에, 스탠바이측 회로보드(20)의 메모리(22)는 액티브측 회로보드(10)의 CPU(11)로부터 인가되는 기록제어신호(/OUT_WR)와 어드레스(ADDRESS)와 데이터(DATA)를 인가받아 해당 데이터(DATA)를 기록제어신호(/OUT_WR)와 어드레스(ADDRESS)에 따라 저장함으로써 액티브측 회로보드(10)의 데이터를 복사하여 저장한다.In the data copying apparatus of such a redundant circuit board, when the active circuit board 10 copies data to the memory 22 of the standby circuit board 20, the CPU 11 of the active circuit board 10 Applies the read control signal / IN_RD and the address ADDRESS to the memory 12 side to access the memory 12 to read the data DATA of the memory 12 and via the data bus of the back board 30. To the memory 22 side of the standby circuit board 20, to send the write control signal / OUT_WR to the memory 22 side, and to add the address ADDRESS to the address bus of the back board 30. Is sent to the corresponding memory 22 side. Accordingly, the memory 22 of the standby circuit board 20 receives the write control signal / OUT_WR, the address ADDRESS, and the data DATA from the CPU 11 of the active circuit board 10. The data DATA is stored in accordance with the write control signal / OUT_WR and the address ADDRESS to copy and store the data of the active circuit board 10.
이상과 같은 종래 이중화 회로보드의 데이터 복사장치에서는 액티브측 회로보드(10)가 자신의 데이터를 스탠바이측 회로보드(20)에 복사하는 경우에 데이터를 바이트 단위나 워드단위로 송출하여 저장하는데, 해당 데이터 복사 동작을 수행하는 경우에 스탠바이측 회로보드(20)에 대하여 데이터를 복사하는 액티브측 회로보드(10)의 CPU(11)는 자신의 관할하에 어드레스와 데이터를 스탠바이측 회로보드(20)에게 전송하여야 하므로 데이터 복사시에 해당 액티브측 회로보드(10)의 CPU(11)에 대한 부하가 증가되는 문제점이 있다. 또한, 회로보드간에 데이터 복사하는 경우 어드레스 버스와 데이터 버스 모두를 구비하여 어드레스와 데이터를 전송하므로 회로보드를 접속하기 위한 엣지 핀(EDGE-PIN)이 많이 소요되는 문제점이 있다.In the data copying apparatus of the conventional redundant circuit board as described above, when the active circuit board 10 copies its data to the standby circuit board 20, the data is transmitted and stored in byte units or word units. When performing the data copy operation, the CPU 11 of the active circuit board 10 which copies data to the standby circuit board 20 sends the address and data to the standby circuit board 20 under its jurisdiction. Since the data must be transmitted, there is a problem in that the load on the CPU 11 of the active circuit board 10 is increased during data copying. In addition, when copying data between circuit boards, since both an address bus and a data bus are provided to transmit an address and data, an edge pin (EDGE-PIN) for connecting the circuit board is required.
본 발명은 상술한 바와같은 문제점을 해결하기 위하여 안출된 것으로, 그 목적은 이중화되어 있는 회로보드간에 데이터를 복사하는 경우 각 회로보드의 CPU에 의한 데이터 복사의 관여를 감소시켜 회로보드에 구비된 CPU의 부하를 감소시킴과 아울러 어드레스 전송을 위한 어드레스 버스를 제거하여 회로보드를 접속하기 위한엣지 핀을 감소시키도록 하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the problems described above, and its object is to reduce the involvement of data copy by the CPU of each circuit board when copying data between redundant circuit boards, thereby providing a CPU provided in the circuit board. In addition to reducing the load of the circuit, the address bus for address transmission is eliminated, and the edge pin for connecting the circuit board is reduced.
도1은 종래 이중화 회로보드간의 데이터 복사장치 구성도.1 is a block diagram of a data copying apparatus between conventional redundant circuit boards.
도2는 본 발명에 따른 이중화 회로보드간의 데이터 복사장치 구성도.2 is a block diagram of a data copying device between redundant circuit boards according to the present invention;
도3은 본 발명에 따른 이중화 회로보드간의 데이터 복사 과정을 도시한 순서도.3 is a flowchart illustrating a data copying process between redundant circuit boards according to the present invention.
도4는 본 발명에서의 데이터 복사 타이밍을 도시한 도.4 is a diagram showing data copy timing in the present invention.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
40 : 액티브측 회로보드 41 : CPU 42 : 메모리40: active circuit board 41: CPU 42: memory
43 : 앤드게이트 44 : 레지스터 45 : 카운터43: AND gate 44: register 45: counter
46 : 신호발생부 50 : 스탠바이측 회로보드46: signal generator 50: standby circuit board
51 : CPU 52 : 메모리 53 : 앤드게이트51: CPU 52: Memory 53: Endgate
54 : 레지스터 55 : 카운터 56 : 신호발생부54: Register 55: Counter 56: Signal generator
이상과 같은 목적을 달성하기 위한 본 발명의 장치적인 특징은, 제1 및 제2 회로보드 사이에 데이터를 복사하는 이중화 회로보드간의 데이터 복사장치에 있어서, 상기 제1 및 제2 회로보드에는, 하이 니블 어드레스, 로우 니블 어드레스, 기록제어신호 및 판독어드레스를 입력받아 데이터를 저장 및 출력하는 메모리와; 인에이블 신호와 스타트신호를 입력받아 상기 메모리를 억세스하기 위한 로우 니블 어드레스를 생성하여 상기 메모리에 인가하고 판독제어신호를 생성하여 상기 메모리에 인가함과 아울러 상대편 회로보드측에 기록제어신호로서 인가하는 억세스 신호 발생수단과; 입력받은 복사 대상의 섹터 정보를 상기 상대편 회로보드에게 전송하는 섹터정보 교환수단과; 데이터 복사를 위한 제어 동작을 수행하되 데이터 복사의 진행을 통지하는 플레그신호를 상기 상대편 회로보드와 송수신하고 복사 대상의 섹터 정보를 상기 섹터정보 교환수단에 출력함과 아울러 복사 대상의 섹터정보를 상기 상대편 회로보드로부터 수신하고 데이터 복사 동작을 제어하기 위한 인에이블 신호를 상기 억세스 신호 발생수단에게 출력함과 아울러 스타트신호를 상기 억세스 신호 발생수단과 상대편 회로보드에게 출력하고 하이 니블 어드레스를 상기 메모리에게 출력하는 제어수단을 구비하는데 있다.An apparatus feature of the present invention for achieving the above object is a data copying device between redundant circuit boards for copying data between first and second circuit boards, wherein the first and second circuit boards are high. A memory configured to receive a nibble address, a row nibble address, a write control signal, and a read address to store and output data; Generates a low nibble address for accessing the memory by receiving an enable signal and a start signal, applies it to the memory, generates a read control signal, applies it to the memory, and applies it as a write control signal to the other circuit board. Access signal generating means; Sector information exchange means for transmitting the received sector information of the copy object to the opposite circuit board; Perform a control operation for data copying, transmit and receive a flag signal notifying the progress of data copying with the counterpart circuit board, output sector information of a copy object to the sector information exchange means, and send sector information of the copy object to the counterpart; Outputting an enable signal for receiving from a circuit board and controlling a data copy operation to the access signal generating means, outputting a start signal to the access signal generating means and the opposite circuit board, and outputting a high nibble address to the memory; It is provided with a control means.
한편, 본 발명의 방법적인 특징은, 이중화 회로보드의 데이터 복사 방법에 있어서, 제1 회로보드가 제2 회로보드에게 플레그 신호를 보내고, 상기 제2 회로보드에게 복사 대상의 메모리 섹터 정보를 보내어 주는 과정과; 상기 제2 회로보드가 상기 플레그 신호를 받고 상기 메모리 섹터 정보에 의거하여 메모리 억세스를 위한 하이 니블 어드레스를 생성하여 자신의 메모리에 인가한후 상기 제1 회로보드에게 플레그 신호를 보내주는 과정과; 상기 제1 회로보드가 제2 회로보드로부터의 플레그 신호를 입력받으면 상기 메모리 섹터 정보에 의거하여 메모리 억세스를 위한 하이 니블 어드레스 및 로우 니블 어드레스와 판독제어신호를 생성하여 자신의 메모리에 인가하여 해당 메모리의 데이터를 상기 제2 회로보드측에 출력하는 과정과; 상기 제2 회로보드가 제1 회로보드에 의한 상기 로우 니블 어드레스의 발생에 동기하여 메모리 억세스를 위한 로우 니블 어드레스를 생성하여 자신의 메모리에 인가함과 아울러 상기 제1 회로보드에 의해 생성된 판독제어신호를 기록제어신호로서 자신의 메모리에 인가하여 상기 제1 회로보드로부터 출력된 데이터를 자신의 메모리에 저장하여 복사하는 과정을 포함하는데 있다.On the other hand, the method features of the present invention, in the data copying method of a redundant circuit board, the first circuit board sends a flag signal to the second circuit board, and the memory sector information of the copy target to the second circuit board Process; Receiving, by the second circuit board, the flag signal, generating a high nibble address for memory access based on the memory sector information, applying it to its memory, and then sending a flag signal to the first circuit board; When the first circuit board receives the flag signal from the second circuit board, a high nibble address, a low nibble address, and a read control signal for memory access are generated based on the memory sector information and applied to a memory of the memory. Outputting the data to the second circuit board side; The second circuit board generates a low nibble address for memory access and applies it to its own memory in synchronization with the generation of the low nibble address by the first circuit board, and the read control generated by the first circuit board. And applying a signal to its own memory as a write control signal to store and copy the data output from the first circuit board into its own memory.
이하 첨부 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명에 따른 이중화 회로보드간의 데이터 복사 장치는 도2에 도시된 바와같이 구성된다. 즉, 액티브측 회로보드(40)와 스탠바이측 회로보드(50)를 구비하되, 해당 회로보드(40),(50)는 백보드(60)의 데이터선 및, 제어신호선을 통해 상호 연결되어 데이터를 주고 받도록 구성되어 있다. 액티브측 회로보드(40)에는 CPU(41), 메모리(42), 앤드게이트(43), 레지스터(44), 카운터(45) 및, 신호발생부(46)를 구비하고 있으며, 스탠바이측 회로보드(50)에도 CPU(51), 메모리(52), 앤드게이트(53), 레지스터(54), 카운터(55) 및, 신호발생부(56)를 구비하고 있다.The data copying device between the redundant circuit boards according to the present invention is constructed as shown in FIG. That is, the active circuit board 40 and the standby circuit board 50 is provided, and the circuit boards 40 and 50 are connected to each other through a data line and a control signal line of the back board 60 to receive data. It is configured to send and receive. The active circuit board 40 includes a CPU 41, a memory 42, an end gate 43, a register 44, a counter 45, and a signal generator 46. The CPU 50 also includes a CPU 51, a memory 52, an end gate 53, a register 54, a counter 55, and a signal generator 56.
액티브측 회로보드(40)에 있어서, CPU(41)는 상위 명령의 데이터 복사 지령에 따라 스탠바이측 회로보드(50)의 CPU(51)와 데이터 복사를 위한 정보를 송수신하고 메모리(42)의 데이터 저장 및 판독을 위한 각종 제어신호를 출력함으로써 메모리(42)에 스탠바이측 회로보드(50)의 데이터를 저장하여 복사하거나 메모리(42)의 데이터를 스탠바이측 회로보드(50)의 메모리(52)에 저장하여 복사케 한다. 레지스터(44)는 CPU(41)로부터 인가되는 데이터 복사에 필요한 데이터 복사 섹터 정보를 저장하여 스탠바이측 회로보드(50)의 CPU(51)에게 전송한다. 앤드 게이트(43)는 CPU(41)로부터 인가되는 인에이블 신호(GLen_A)와 스타트 신호(STT)를 논리곱하여 카운터(45)측에 출력하거나, CPU(41)로부터 인가되는 인에이블 신호(GLen_A)와 CPU(51)로부터 인가되는 스타트 신호(STT)를 논리곱하여 카운터(45)측에 출력한다. 카운터(45)는 앤드 게이트(43)로부터 인가되는 신호에 의거하여 동작 개시하여 기준클럭에 따라 카운트해서 생성되는 로우 니블 어드레스(LNA_A; Low nibble Address)를 메모리(42)측에 인가하며, 신호 발생부(46)는 카운터(45)로부터 출력되는 로우 니블 어드레스(LNA_A)에 동기하여 생성한 판독제어신호(/RD_A)를 메모리(42),(52)측에 출력한다. 메모리(42)는 신호발생부(46)로부터 인가되는 판독제어신호(/RD_A)에 따라 자신의 저장 데이터를 스탠바이측 회로보드(50)의 메모리(52)측에 송출하고, 스탠바이측 회로보드(50)로부터 인가되는 판독제어신호(/RD_S)를 기록제어신호(/WR_A)로 받아들여 스탠바이측 회로보드(50)의 메모리(52)로부터 인가되는 데이터를 저장하되, CPU(41)로부터 인가되는 하이 니블 어드레스(HNA_A)와 카운터(45)로부터 인가되는 로우 니블 어드레스(LNA_A)에 따라 대응되는 저장 섹터에 대하여 데이터를 저장하거나 출력한다.In the active circuit board 40, the CPU 41 transmits / receives information for data copy with the CPU 51 of the standby circuit board 50 in accordance with the data copy command of the high-order command, and transmits the data of the memory 42. By outputting various control signals for storage and reading, the data of the standby circuit board 50 is stored and copied to the memory 42 or the data of the memory 42 is transferred to the memory 52 of the standby circuit board 50. Save and copy. The register 44 stores data copy sector information necessary for data copy applied from the CPU 41 and transmits it to the CPU 51 of the standby circuit board 50. The AND gate 43 logically multiplies the enable signal GLen_A and the start signal STT from the CPU 41 and outputs the result to the counter 45, or the enable signal GLen_A applied from the CPU 41. And the start signal STT applied from the CPU 51 are logically multiplied and output to the counter 45 side. The counter 45 starts operation based on the signal applied from the AND gate 43, applies a low nibble address (LNA_A) generated by counting according to the reference clock to the memory 42, and generates a signal. The unit 46 outputs the read control signal / RD_A generated in synchronization with the row nibble address LNA_A output from the counter 45 to the memory 42, 52 side. The memory 42 sends its stored data to the memory 52 side of the standby side circuit board 50 in accordance with the read control signal / RD_A applied from the signal generator 46, and sends the standby side circuit board ( The read control signal / RD_S applied from 50 is received as the write control signal / WR_A to store data applied from the memory 52 of the standby circuit board 50, but is applied from the CPU 41. Data is stored or output for the corresponding storage sector according to the high nibble address HNA_A and the low nibble address LNA_A applied from the counter 45.
스탠바이측 회로보드(50)에 있어서, CPU(51)는 액티브측 회로보드(40)의 CPU(41)와 데이터 복사를 위한 정보를 송수신하고 메모리(52)의 데이터 저장 및 판독을 위한 각종 제어신호를 출력함으로써 메모리(52)에 액티브측 회로보드(40)의 데이터를 저장하여 복사하거나 메모리(52)의 데이터를 액티브측 회로보드(40)의 메모리(42)에 저장하여 복사케 한다. 레지스터(54)는 CPU(51)로부터 인가되는 데이터 복사에 필요한 데이터 복사 섹터 정보를 저장하여 액티브측 회로보드(40)의 CPU(41)에게 전송한다. 앤드 게이트(53)는 CPU(51)로부터 인가되는 인에이블 신호(GLen_S)와 스타트 신호(STT)를 논리곱하여 카운터(55)측에 출력하거나, CPU(51)로부터 인가되는 인에이블 신호(GLen_S)와 CPU(41)로부터 인가되는 스타트 신호(STT)를 논리곱하여 카운터(55)측에 출력한다. 카운터(55)는 앤드 게이트(53)로부터 인가되는 신호에 의거하여 동작 개시하여 기준클럭에 따라 카운트해서 생성되는 로우 니블 어드레스(LNA_S)를 메모리(52)측에 인가하며, 신호 발생부(56)는 카운터(55)로부터 출력되는 로우 니블 어드레스(LNA_S)에 동기하여 생성한 판독제어신호(/RD_S)를 메모리(42),(52)측에 출력한다. 메모리(52)는 신호발생부(56)로부터 인가되는 판독제어신호(/RD_S)에 따라 자신의 저장 데이터를 액티브측 회로보드(40)의 메모리(42)측에 송출하고, 액티브측 회로보드(40)로부터 인가되는 판독제어신호(/RD_A)를 기록제어신호(/WR_S)로 받아들여 액티브측 회로보드(40)의 메모리(42)로부터 인가되는 데이터를 저장하되, CPU(51)로부터 인가되는 하이 니블 어드레스(HNA_S)와 카운터(55)로부터 인가되는 로우 니블 어드레스(LNA_S)에 따라 대응되는 저장 섹터에 대하여 데이터를 저장하거나 출력한다.In the standby circuit board 50, the CPU 51 transmits and receives information for data copy with the CPU 41 of the active circuit board 40, and various control signals for data storage and reading of the memory 52. By outputting the data, the data of the active circuit board 40 is stored and copied in the memory 52 or the data of the memory 52 is stored in the memory 42 of the active circuit board 40 and copied. The register 54 stores data copy sector information required for data copying applied from the CPU 51 and transmits it to the CPU 41 of the active circuit board 40. The AND gate 53 logically multiplies the enable signal GLen_S and the start signal STT from the CPU 51 and outputs the result to the counter 55, or the enable signal GLen_S applied from the CPU 51. And the start signal STT applied from the CPU 41 are logically multiplied and output to the counter 55 side. The counter 55 starts operation based on the signal applied from the AND gate 53 and applies the row nibble address LNA_S generated by counting according to the reference clock to the memory 52, and the signal generator 56. Outputs the read control signal / RD_S generated in synchronization with the row nibble address LNA_S output from the counter 55 to the memory 42, 52 side. The memory 52 transmits its stored data to the memory 42 side of the active circuit board 40 in accordance with the read control signal / RD_S applied from the signal generator 56, and the active circuit board ( The read control signal / RD_A applied from 40 is received as the write control signal / WR_S to store data applied from the memory 42 of the active circuit board 40, but is applied from the CPU 51. Data is stored or output for the corresponding storage sector according to the high nibble address HNA_S and the low nibble address LNA_S applied from the counter 55.
이상과 같이 구성된 본 발명에 따른 이중화 회로보드의 데이터 복사장치에서는 액티브측 회로보드(40)와 스탠바이측 회로보드(50)간에 데이터를 복사하는 경우 메모리에 대하여 섹터 별로 데이터를 복사하는데, 예를들어 액티브측 회로보드(40)의 데이터를 스탠바이측 회로보드(50)에 복사하는 경우에 CPU(41)가 레지스터(44)를 통해 스탠바이측 회로보드(50)의 CPU(51)에게 복사 섹터 정보를 알려주고 복사 대상의 섹터 시작을 나타내는 하이 니블 어드레스(HNA_A)를 메모리(42)에 인가함과 더불어 카운터(45)가 로우 니블 어드레스(LNA_A)를 메모리(42)에 인가하여 메모리(42)를 어드레싱 함으로써 메모리(42)로부터 해당 어드레스에 대응되는 섹터의 데이터를 판독하여 스탠바이측 회로보드(50)의 메모리(52)에 송출하고, 스탠바이측 회로보드(50)에서는 CPU(51)가 레지스터(44)로부터 인가되는 복사 섹터 정보에 의거하여 복사 대상의 섹터 시작을 나타내는 하이 니블 어드레스(HNA_S)를 메모리(52)에 인가함과 더불어 카운터(55)가 로우 니블 어드레스(LNA_S)를 메모리(52)에 인가하여 메모리(52)를 어드레싱 함으로써 해당 어드레스에 대응되는 메모리(52)의 섹터에 액티브측 회로보드(40)의 데이터를 저장하여 복사케 한다.In the data copying apparatus of the redundant circuit board according to the present invention configured as described above, when copying data between the active circuit board 40 and the standby circuit board 50, the data is copied sector by sector with respect to the memory. When copying data from the active circuit board 40 to the standby circuit board 50, the CPU 41 sends copy sector information to the CPU 51 of the standby circuit board 50 via the register 44. In addition, the counter 45 applies the low nibble address LNA_A to the memory 42 and addresses the memory 42 by applying a high nibble address HNA_A indicating the sector to be copied to the memory 42. The data of the sector corresponding to the address is read from the memory 42 and sent to the memory 52 of the standby circuit board 50. In the standby circuit board 50, the CPU 51 registers ( On the basis of the copy sector information supplied from 44, the high nibble address HNA_S indicating the start of a copy target is applied to the memory 52, and the counter 55 supplies the low nibble address LNA_S to the memory 52. The memory 52 is addressed to store the data of the active circuit board 40 in a sector of the memory 52 corresponding to the address.
이상과 같은 본 발명에 따른 이중화 회로보드간의 데이터 복사장치에서 예를들어 액티브측 회로보드(40)의 데이터를 스탠바이측 회로보드(50)에 복사하는 과정을 도3에 도시된 순서도에 의거하여 설명하면 다음과 같다.In the data copying device between the redundant circuit boards according to the present invention as described above, for example, the process of copying data from the active circuit board 40 to the standby circuit board 50 will be described based on the flowchart shown in FIG. Is as follows.
먼저, 메모리(42)의 특정 섹터의 데이터를 스탠바이측 회로보드(50)에 복사할 것을 요구하는 상위 명령이 액티브측 회로보드(40)의 CPU(41)에 인가되면(스텝 S1), CPU(41)가 메모리 섹터의 데이터를 복사할 것임을 알리기 위한 플레그 신호(FLG_A)를 토글시켜 스탠바이측 회로보드(50)의 CPU(51)에게 송출함과 아울러 복사 대상의 섹터 정보를 레지스터(44)에 기록하여 놓는다(스텝 S2). 이때, 스탠바이측 회로보드(50)의 CPU(51)는 플레그 신호(FLG_A)가 토글되었음을 인지하고, 레지스터(44)로부터 섹터 정보를 읽어들인후, 인에이블 신호(GLen_S)를 활성화시켜 앤드 게이트(53)에 인가함과 동시에 읽어들인 섹터 정보에 대응하는 하이 니블 어드레스(HNA_S)를 활성화시켜 메모리(52)에 인가하고, 플레그 신호(FLG_S)를 토글시켜 액티브측 회로보드(40)의 CPU(41)에 인가한다(스텝 S3). 이에, 액티브측 회로보드(40)의 CPU(41)가 스탠바이측 회로보드(50)의 CPU(51)로부터의 플레그신호(FLG_S)가 토글되었음을 인지하고, 인에이블 신호(GLen_A)를 활성화시켜 앤드 게이트(43)에 인가함과 동시에 복사 대상의 섹터 정보에 대응하는 하이 니블 어드레스(HNA_A)를 활성화시켜 메모리(42)에 인가한후, 스타트신호(STT)를 활성화시켜 앤드 게이트(43),(53)에 인가하여 카운터(45)와 카운터(55)를 활성화시킨다(스텝 S4).First, when a higher order instruction requesting to copy data of a specific sector of the memory 42 to the standby side circuit board 50 is applied to the CPU 41 of the active side circuit board 40 (step S1), the CPU ( Toggles the flag signal FLG_A for notifying that 41 will copy the data of the memory sector, sends it to the CPU 51 of the standby side circuit board 50, and records the sector information of the copy object in the register 44. (Step S2). At this time, the CPU 51 of the standby circuit board 50 recognizes that the flag signal FLG_A is toggled, reads sector information from the register 44, and activates the enable signal GLen_S to activate the AND gate ( 53, the high nibble address HNA_S corresponding to the read sector information is activated and applied to the memory 52, and the flag signal FLG_S is toggled to toggle the CPU 41 of the active circuit board 40. ) (Step S3). Accordingly, the CPU 41 of the active circuit board 40 recognizes that the flag signal FLG_S from the CPU 51 of the standby circuit board 50 is toggled, and activates the enable signal GLen_A. After applying to the gate 43 and activating the high nibble address HNA_A corresponding to the copy target sector information to the memory 42, the start signal STT is activated to activate the AND gate 43, ( 53 to activate the counter 45 and the counter 55 (step S4).
이에따라, 신호발생부(46)가 카운터(45)의 로우 니블 어드레스(LNA_A)에 동기되어 판독제어신호(/RD_A)를 발생하여 메모리(42)와 메모리(52)측에 출력하는데, 이에 액티브측 회로보드(40)의 메모리(42)는 CPU(41)의 하이 니블 어드레스(HNA_A)와 카운터(45)의 로우 니블 어드레스(LNA_A)에 의해 지정되는 섹터의 데이터를 판독하여 스탠바이측 회로보드(50)의 메모리(52)측에 출력한다(스텝 S5). 이와 동시에, 스탠바이측 회로보드(50)의 메모리(52)는 액티브측 회로보드(40)의 신호발생부(46)로부터 인가되는 판독제어신호(/RD_)를 기록제어신호(/WR_S)로 사용하여 메모리(42)로부터 인가되는 데이터를 저장하되, CPU(51)의 하이 니블 어드레스(HNA_S)와 카운터(55)의 로우 니블 어드레스(LNA_S)에 의해 지정되는 섹터에 메모리(42)의 데이터를 저장하여 복사한다(스텝 S6). 이때, 카운터(45)와 카운터(55)의 동작 타이밍과, 신호발생부(46)에 의해 생성된 판독제어신호(/RD_A)와 기록제어신호(/WR_S) 사이의 타이밍은 도4에 도시된 바와같다.Accordingly, the signal generator 46 generates a read control signal / RD_A in synchronization with the row nibble address LNA_A of the counter 45 and outputs the read control signal / RD_A to the memory 42 and the memory 52 side. The memory 42 of the circuit board 40 reads data of a sector designated by the high nibble address HNA_A of the CPU 41 and the low nibble address LNA_A of the counter 45, and then stores the standby side circuit board 50. ) Is output to the memory 52 side (step S5). At the same time, the memory 52 of the standby circuit board 50 uses the read control signal / RD_ applied from the signal generator 46 of the active circuit board 40 as the write control signal / WR_S. The data applied from the memory 42 to be stored, but the data of the memory 42 is stored in a sector designated by the high nibble address HNA_S of the CPU 51 and the low nibble address LNA_S of the counter 55. And copy (step S6). At this time, the operation timing of the counter 45 and the counter 55 and the timing between the read control signal / RD_A and the write control signal / WR_S generated by the signal generator 46 are shown in FIG. As
한편, 이상 설명한 바와같은 마찬가지의 방법으로 스탠바이측 회로보드(50)의 메모리(52)에 저장되어 있는 데이터를 액티브측 회로보드(40)의 메모리(42)에 복사하여 저장할 수도 있는데, 이때 스탠바이측 회로보드(50)의 메모리(52)는 신호발생부(56)에 의해 생성되는 판독제어신호(/RD_S)를 사용하여 데이터를 판독하여 출력하고, 액티브측 회로보드(40)의 메모리(42)는 해당 판독제어신호(/RD_S)를 기록제어신호(/WR_A)로 사용하여 메모리(52)의 데이터를 저장한다.In the same manner as described above, data stored in the memory 52 of the standby circuit board 50 may be copied and stored in the memory 42 of the active circuit board 40. The memory 52 of the circuit board 50 reads and outputs data using the read control signal / RD_S generated by the signal generator 56, and the memory 42 of the active circuit board 40 is read. Stores the data in the memory 52 using the read control signal / RD_S as the write control signal / WR_A.
이상 설명한 바와 같이, 본 발명은 이중화되어 있는 회로보드간에 데이터를 복사하는 경우 각 회로보드의 CPU에 의한 데이터 복사의 관여를 감소시키므로 회로보드에 구비된 CPU의 부하를 감소시키게 되고, 어드레스 전송을 위한 어드레스 버스를 제거하였으므로 회로보드를 접속하기 위한 엣지 핀을 감소시키게 된다. 또한, 본 발명은 데이터 복사를 위해 데이터를 래치하지 않고 기록제어신호와 판독제어신호에 의해 직접 메모리간에 데이터를 복사하므로 데이터 복사 동작을 신속히 하게 된다는 부가적인 효과도 있다.As described above, the present invention reduces the involvement of data copy by the CPU of each circuit board when copying data between the redundant circuit boards, thereby reducing the load of the CPU provided in the circuit board, Eliminating the address bus reduces the edge pins for connecting the circuit board. In addition, the present invention also has the additional effect of speeding up the data copying operation because data is copied directly between memories by the write control signal and the read control signal without latching the data for data copying.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990059289A KR100337296B1 (en) | 1999-12-20 | 1999-12-20 | Apparatus and Method for Data Copy between Duplicated Circuit Board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990059289A KR100337296B1 (en) | 1999-12-20 | 1999-12-20 | Apparatus and Method for Data Copy between Duplicated Circuit Board |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20010057212A KR20010057212A (en) | 2001-07-04 |
KR100337296B1 true KR100337296B1 (en) | 2002-05-17 |
Family
ID=19627196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990059289A KR100337296B1 (en) | 1999-12-20 | 1999-12-20 | Apparatus and Method for Data Copy between Duplicated Circuit Board |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100337296B1 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63233439A (en) * | 1987-03-20 | 1988-09-29 | Nec Corp | Duplex processor system |
JPH02228740A (en) * | 1989-03-01 | 1990-09-11 | Mitsubishi Electric Corp | Duplex processing system |
JPH0418642A (en) * | 1990-04-04 | 1992-01-22 | Mitsubishi Electric Corp | Duplex data processor |
JPH04263333A (en) * | 1991-02-19 | 1992-09-18 | Nec Corp | Memory duplication system |
KR19990030143U (en) * | 1997-12-29 | 1999-07-26 | 서평원 | Memory Copy System on Redundant CPI Board of ATM Switch |
JPH11259324A (en) * | 1998-03-13 | 1999-09-24 | Fujitsu Ltd | Main storage device copying system |
KR19990074420A (en) * | 1998-03-11 | 1999-10-05 | 윤종용 | Memory control method for implementing redundancy using specific signal |
-
1999
- 1999-12-20 KR KR1019990059289A patent/KR100337296B1/en not_active IP Right Cessation
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63233439A (en) * | 1987-03-20 | 1988-09-29 | Nec Corp | Duplex processor system |
JPH02228740A (en) * | 1989-03-01 | 1990-09-11 | Mitsubishi Electric Corp | Duplex processing system |
JPH0418642A (en) * | 1990-04-04 | 1992-01-22 | Mitsubishi Electric Corp | Duplex data processor |
JPH04263333A (en) * | 1991-02-19 | 1992-09-18 | Nec Corp | Memory duplication system |
KR19990030143U (en) * | 1997-12-29 | 1999-07-26 | 서평원 | Memory Copy System on Redundant CPI Board of ATM Switch |
KR19990074420A (en) * | 1998-03-11 | 1999-10-05 | 윤종용 | Memory control method for implementing redundancy using specific signal |
JPH11259324A (en) * | 1998-03-13 | 1999-09-24 | Fujitsu Ltd | Main storage device copying system |
Also Published As
Publication number | Publication date |
---|---|
KR20010057212A (en) | 2001-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5687393A (en) | System for controlling responses to requests over a data bus between a plurality of master controllers and a slave storage controller by inserting control characters | |
US5537609A (en) | Mini cache operational module for enhancement to general cache | |
JPH04302041A (en) | Address specifying device for memory | |
KR100337296B1 (en) | Apparatus and Method for Data Copy between Duplicated Circuit Board | |
KR100298955B1 (en) | Data processing system | |
CA1324679C (en) | Method and means for interfacing a system control unit for a multi-processor system with the system main memory | |
KR100339653B1 (en) | Apparatus for a control board in a switch | |
JPH10116243A (en) | Memory device | |
JP3079956B2 (en) | Printer | |
KR100208276B1 (en) | Apparatus for doubling data in full electronic switching system | |
JPS6326753A (en) | Memory bus control method | |
JPH064398A (en) | Information processor | |
KR100283009B1 (en) | Redundant Architecture of Processor Boards in Exchanges | |
KR200210744Y1 (en) | Apparatus for data communication between processors | |
JP2002215413A (en) | Firmware transfer method and inter-module data transmission system | |
KR0165505B1 (en) | The communication apparatus using shared memory | |
KR100272050B1 (en) | Data comtrolling method | |
JP3797507B2 (en) | Printer control apparatus and control method | |
JPH1145209A (en) | Program transfer system | |
JPH07281917A (en) | Cpu switchin circuit | |
KR20000055425A (en) | Selective Simultaneous Copy Method And Apparatus For Memory In Dual Board | |
JPH0449593A (en) | Dynamic ram control circuit | |
JPH0581856A (en) | Dynamic ram | |
JPH06195260A (en) | Stram controller | |
JPH08292917A (en) | Controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20050330 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |