KR100303327B1 - Apparatus for duplicating of memory in switching system and method thereof - Google Patents

Apparatus for duplicating of memory in switching system and method thereof Download PDF

Info

Publication number
KR100303327B1
KR100303327B1 KR1019990026011A KR19990026011A KR100303327B1 KR 100303327 B1 KR100303327 B1 KR 100303327B1 KR 1019990026011 A KR1019990026011 A KR 1019990026011A KR 19990026011 A KR19990026011 A KR 19990026011A KR 100303327 B1 KR100303327 B1 KR 100303327B1
Authority
KR
South Korea
Prior art keywords
board
signal
memory
buffer
slave
Prior art date
Application number
KR1019990026011A
Other languages
Korean (ko)
Other versions
KR20010005208A (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 KR1019990026011A priority Critical patent/KR100303327B1/en
Publication of KR20010005208A publication Critical patent/KR20010005208A/en
Application granted granted Critical
Publication of KR100303327B1 publication Critical patent/KR100303327B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/10Logic circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories

Abstract

가. 청구범위에 기재된 발명이 속한 기술분야end. The technical field to which the invention described in the claims belongs

본 발명은 교환 시스템에서의 메모리 이중화를 위한 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for memory redundancy in an exchange system.

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

교환 시스템 내에서 데이터의 안정화를 위해 보드를 이중화 할 시에 이중화된 보드의 메모리를 공유하여 사용할 수 있도록 한다.When the board is doubled to stabilize data in the exchange system, the memory of the doubled board is shared.

다. 발명의 해결방법의 요지All. Summary of Solution of the Invention

본 발명의 요지는 교환 시스템에서의 메모리 이중화를 위한 보드의 장치에 있어서, 보드 선택 및 메모리 억세스를 위한 칩 선택신호 및 읽기/쓰기 신호에 따라 제어 신호를 출력하기 위한 신호처리부와, 상기 신호처리부에서 출력되는 신호를 외부의 보드 또는 내부의 입력버퍼로 연결하기 위한 출력버퍼와, 상기 출력버퍼 또는 외부의 보드로부터의 신호를 입력받기 위한 입력 버퍼와, 데이터를 저장하기 위한 메모리와, 상기 신호처리부의 출력 신호를 입력받아 상기 메모리에 연결하기 위한 제 1 버퍼와, 액티브 보드로 선택되었을 시에 상기 신호처리부를 통해 외부의 메모리 또는 내장된 메모리를 억세스하기 위한 상기 칩 선택신호 및 읽기/쓰기 신호를 출력하는 제어부를 구비함을 특징으로 한다.SUMMARY OF THE INVENTION In accordance with an aspect of the present invention, there is provided an apparatus of a board for memory redundancy in an exchange system, comprising: a signal processor for outputting a control signal according to a chip select signal and a read / write signal for board selection and memory access; An output buffer for connecting the output signal to an external board or an internal input buffer, an input buffer for receiving a signal from the output buffer or an external board, a memory for storing data, and the signal processor A first buffer for receiving an output signal and connecting it to the memory, and outputting the chip select signal and the read / write signal for accessing an external memory or an internal memory through the signal processor when the signal is selected as an active board; It characterized in that it comprises a control unit.

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

교환 시스템에서 메모리의 이중화에 사용된다.Used in memory redundancy in switching systems.

Description

교환 시스템에서의 메모리 이중화를 위한 장치 및 방법{APPARATUS FOR DUPLICATING OF MEMORY IN SWITCHING SYSTEM AND METHOD THEREOF}Apparatus and method for memory redundancy in an exchange system {APPARATUS FOR DUPLICATING OF MEMORY IN SWITCHING SYSTEM AND METHOD THEREOF}

본 발명은 교환 시스템에서의 메모리 사용 장치 및 방법에 관한 것으로, 특히 액티브 보드 및 스탠바이 보드에 사용되는 메모리의 이중화 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for using a memory in an exchange system, and more particularly, to an apparatus and method for redundancy of a memory used in an active board and a standby board.

종래 68000계열의 프로세서를 이용한 디램(DRAM : 이하 '디램'이라 함)의 이중화 방식은 액티브(Active) 와 스탠바이(Stanby) 보드간에서 자신의 보드에 공유된 디램은 로칼버퍼(Local buffer)를 거쳐서 자신이 억세스(억세스)하고, 리프레쉬(REFRESH)도 자신이 해주는 방식이었다. 마스터(MASTER)가 슬레이브(SLAVE)에 데이터를 써주고자 할 때. 부의 보드가 리프레쉬를 하고 있지 않거나, 부가 자신의 디램을 억세스하고 있지 않을 때까지 기다린 다음에 써줄 수 있었다. 이러한 방법을 사용하면 주와 부의 디램이 현재 쓰여지고(CURRENT WRITE) 있더라도 동시에 써주는 경우가 적고, 일정 시간(즉 부 보드가 자신의 보드를 억세스하지 않을 때까지) 기다린 다음에 쓰는 것으로 엄밀히 말하면 두개의 디램 이 동시에 업데이트(Update) 될 수 없는 문제점이 있었다.The duplexing method of DRAM (DRAM: hereinafter referred to as 'DRAM') using the 68000 series of processors is shared between the active and standby boards on its own board through a local buffer. It's the way you access, and you do the refresh. When master wants to write data to slave. I could wait until the negative board wasn't refreshing or the wealth wasn't accessing my DRAM before I could use it. In this way, even though both major and negative DRAMs are currently written (CURRENT WRITE), they are less likely to be used at the same time. There was a problem that the DRAM cannot be updated at the same time.

따라서 본 발명의 목적은 이중화된 교환 시스템에서 메모리를 이중화하여 사용할 수 있는 장치 및 방법을 제공함에 있다.Accordingly, it is an object of the present invention to provide an apparatus and method that can duplicate memory and use it in a redundant exchange system.

본 발명의 다른 목적은 이중화에 의한 절체 시에 이중화된 보드 모두와 통신을 할 수 있는 장치 및 방법을 제공함에 있다.Another object of the present invention is to provide an apparatus and method capable of communicating with all of the redundant boards when switching by redundancy.

상기와 같은 목적들을 달성하기 위하여 본 발명은 본 발명의 요지는 교환 시스템에서의 메모리 이중화를 위한 보드의 장치에 있어서, 보드 선택 및 메모리 억세스를 위한 칩 선택신호 및 읽기/쓰기 신호에 따라 제어 신호를 출력하기 위한 신호처리부와, 상기 신호처리부에서 출력되는 신호를 외부의 보드 또는 내부의 입력버퍼로 연결하기 위한 출력버퍼와, 상기 출력버퍼 또는 외부의 보드로부터의 신호를 입력받기 위한 입력 버퍼와, 데이터를 저장하기 위한 메모리와, 상기 신호처리부의 출력 신호를 입력받아 상기 메모리에 연결하기 위한 제 1 버퍼와, 액티브 보드로 선택되었을 시에 상기 신호처리부를 통해 외부의 메모리 또는 내장된 메모리를 억세스하기 위한 상기 칩 선택신호 및 읽기/쓰기 신호를 출력하는 제어부를 구비함을 특징으로 한다.In order to achieve the above objects, the present invention provides a control signal according to a chip select signal and a read / write signal for board selection and memory access in an apparatus of a board for memory redundancy in an exchange system. A signal processor for outputting, an output buffer for connecting the signal output from the signal processor to an external board or an internal input buffer, an input buffer for receiving signals from the output buffer or external board, and data A memory for storing a memory, a first buffer for receiving an output signal of the signal processor and connecting to the memory, and accessing an external memory or an internal memory through the signal processor when the active board is selected. And a controller for outputting the chip select signal and the read / write signal.

도 1은 본 발명에 따른 실시예를 개략적으로 나타낸 블록 구성도이다.1 is a block diagram schematically showing an embodiment according to the present invention.

도 2는 본 발명의 실시예에 따라 쿼런트 라이트 방식에 의해 읽고 쓰기 위한 칩 셀렉트 회로를 나타낸 도면이다.FIG. 2 is a diagram illustrating a chip select circuit for reading and writing by a quirrent write method according to an exemplary embodiment of the present invention.

도 3은 본 발명의 실시예에 따라 버퍼를 제어하기 위한 개략적인 블록 구성도이다.3 is a schematic block diagram for controlling a buffer according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따라 리프레쉬 동작을 수행하기 위한 블록 구성도이다.4 is a block diagram illustrating a refresh operation according to an embodiment of the present invention.

도 5는 리셋을 위한 신호 라인의 흐름을 나타낸 도면이다.5 is a diagram illustrating a flow of signal lines for resetting.

도 6은 제어부의 통신을 위한 신호 흐름을 나타낸 도면이다.6 is a diagram illustrating a signal flow for communication of a controller.

이하 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 특정(特定) 사항들이 나타나고 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들 없이도 본 발명이 실시될 수 있음은 이 기술 분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Specific details appear in the following description, which is provided to aid a more general understanding of the present invention, and it should be understood by those skilled in the art that the present invention may be practiced without these specific details. It will be self explanatory. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명에 따른 실시예를 개략적으로 나타낸 블록 구성도이다.1 is a block diagram schematically showing an embodiment according to the present invention.

도 2는 본 발명의 실시예에 따라 쿼런트 라이트 방식에 의해 읽고 쓰기 위한 칩 셀렉트 회로를 나타낸 도면이다.FIG. 2 is a diagram illustrating a chip select circuit for reading and writing by a quirrent write method according to an exemplary embodiment of the present invention.

도 3은 본 발명의 실시예에 따라 버퍼를 제어하기 위한 개략적인 블록 구성도이다.3 is a schematic block diagram for controlling a buffer according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따라 리프레쉬 동작을 수행하기 위한 블록 구성도이다.4 is a block diagram illustrating a refresh operation according to an embodiment of the present invention.

도 5는 리셋을 위한 신호 라인의 흐름을 나타낸 도면이다.5 is a diagram illustrating a flow of signal lines for resetting.

도 6은 제어부의 통신을 위한 신호 흐름을 나타낸 도면이다.6 is a diagram illustrating a signal flow for communication of a controller.

본 발명의 실시예를 도 1 내지 도 6을 참조하여 하기에 설명한다.An embodiment of the present invention will be described below with reference to FIGS. 1 to 6.

도 1에서 두개의 보드(180, 190)를 이중화하기 위해서 본 발명에 따른 구성은 외부로 나가는 신호선의 모두를 이중화하여 제어해 주어야 함은 물론이고, 메모리를 이중화하는데 있어서 다음과 같은 기본 구조를 가진다. 두 장의 보드(180, 190)의 메모리(디램 :110)를 공유하면서 데이터를 동시에 공유하기 위해서는 신호선의 이중화뿐만 아니라, 칩 선택의 공유, 데이터를 마스터와 슬레이브의 디램에 동시에 쓰도록 하는 컨쿼런트 라이트 방식을 사용해야 하고, 외부로 나가는 버퍼의 제어가 필요하며, 실장 시의 초기화 제어 동작 등이 필요하다.In order to duplicate the two boards 180 and 190 in FIG. 1, the configuration according to the present invention should not only control the duplexing of all signal lines going out, but also has the following basic structure in duplication of memory. . In order to share data simultaneously while sharing memory (DRAM: 110) of two boards 180 and 190, not only redundancy of signal lines, but also sharing of chip selection and writing of data to DRAM of master and slave simultaneously It is necessary to use the method, control the outgoing buffer, and initialize the initialization control at the time of implementation.

보드 두 장(180, 190)중 한 장이 액티브 일 경우, 마스터(180)와 슬레이브(190)에서 공유 디램(110)의 칩 선택을 위한 동작을 하기에 설명한다. 일반적인 경우에 두개의 보드 중 하나에 우선 순위를 두어서 액티브가 되게 한다. 이렇게 되면 액티브된 보드는 마스터(180)가 되고, 나머지는 슬레이브(190)가 된다. 이때에 공유 디램(110)을 억세스하려면, 마스터(180)가 된 보드는 슬레이브(190) 보드에 칩 선택 신호(RAS(1))를 주어 슬레이브 보드(190)의 공유 디램을 선택하고,자기 보드의 공유 디램(110)도 RAS(0)로써 선택하게 된다. 즉 마스터가 된 보드(180)에서 주는 칩 선택 신호(RAS(1))는 슬레이브 보드(190)의 칩 선택 신호(O_RAS)로 들어가도록 한다. 마더 보드에서는 두개의 칩 선택 신호가 서로 교차되어 있다. 이렇게 하면 제어부(100)에서 나오는 칩 선택 신호는 두개가 필요하게 된다. 이는 읽기/쓰기(Read/Write)에 의해 제어된다. 이렇게 해서 쿼런트 라이팅을 할 수 있다. 이는 도 2의 그림과 같이 제어 할 수 있다. 도 2에서 보면, 두개의 칩 선택 신호선으로 내부의 디램을 선택 할 때 및 외부 디램을 컨쿼런트 라이트 할 때의 과정을 나타낸다. 여기서의 중요한 점은 두개의 디램을 억세스하기 위해서, 두개의 칩 선택 신호를 쿼런트 라이트 방식에 맞게 읽을 때와 쓸 때를 나누어서 억세스한다. 또한 대기(Stand by) 상태 즉, 슬레이브가 되었을 때도, 자신의 보드에 있는 디램을 억세스 할 수 있다.When one of the two boards 180 and 190 is active, an operation for chip selection of the shared DRAM 110 in the master 180 and the slave 190 will be described below. In the general case, one of the two boards is given priority to make it active. In this case, the active board becomes the master 180 and the rest becomes the slave 190. At this time, in order to access the shared DRAM 110, the board which becomes the master 180 gives a chip select signal RAS (1) to the slave 190 board to select the shared DRAM of the slave board 190, and the magnetic board. The shared DRAM 110 is also selected as RAS (0). That is, the chip select signal RAS (1) provided by the master board 180 enters the chip select signal O_RAS of the slave board 190. On the motherboard, the two chip select signals cross each other. In this case, two chip select signals from the controller 100 are required. This is controlled by Read / Write. In this way you can do the parent lighting. This can be controlled as shown in FIG. Referring to FIG. 2, a process of selecting an internal DRAM with two chip select signal lines and performing a constant write on an external DRAM is illustrated. The important point here is to access the two DRAMs, accessing the two chip select signals separately for reading and writing according to the quaternary write method. You can also access DRAM on your board even when you are in a Stand by state, that is, when you become a slave.

공유 디램을 억세스하는 경우는 다음의 네 가지 경우가 있다.There are four cases of accessing a shared DRAM.

첫째 : 액티브 보드에서 자신의 디램을 읽을 때: Internal 억세스First: Reading your DRAM from the active board: Internal access

둘째 : 액티브 보드에서 자신의 디램에 쓰면서 외부 슬레이브 보드의 디램에는 쓰지 않는 경우 : Concurrent DisableSecond: When writing to own DRAM from active board and not to DRAM of external slave board: Concurrent Disable

셋째 : 액티브 보드에서 자신의 디램에 쓰면서 외부 슬레이브 보드의 디램에 동시에 쓰는 경우 : Concurrent WriteThird: Writing from the active board to its own DRAM and simultaneously writing to the external slave board's DRAM: Concurrent Write

넷째 : 슬레이브 보드에서 자신의 디램을 읽는 경우Fourth: read your own DRAM from slave board

액티브 된 보드에서만 모든 프로그램이 수행되고 있기 때문에, 슬레이브 보드에서는 새로운 프로그램이나 정보가 있어도, 메모리를 업데이트할 수 없게 된다.그러나, 컨쿼런트 라이트 방식을 사용하면, 액티브 된 자신의 디램뿐만 아니라, 외부의 대기 상태에 있는 보드에도 동시에 데이터를 저장 할 수 있다. 이때에는 프로그램에서 외부의 디램을 억세스할 것인지를 결정해서 알려주는 컨쿼런트 인에이블 신호(Concurrent Enable)를 먼저 송출하게 된다. 상기 신호는 마스터에서 슬레이브로 보내 주고, 슬레이브에서는 이 신호를 받아서 외부에서 들어오는 모든 신호선의 버퍼를 열어주게 된다. 또한 마스터에서는 S/W에서 결정해 주는 신호를 보고, 외부의 디램에도 데이터를 써줄지를 결정해서 칩 선택 신호를 외부로 보내게 된다.Since all programs are executed only on the active board, the slave board will not be able to update the memory even if there are new programs or information. You can also save data to a board in standby state at the same time. In this case, a Concurrent Enable signal is transmitted first, which informs the program to decide whether to access an external DRAM. The signal is sent from the master to the slave, and the slave receives this signal and opens a buffer of all signal lines coming from outside. In addition, the master sees the signal determined by S / W, decides whether to write data to an external DRAM, and sends the chip select signal to the outside.

마스터 와 슬레이브의 버퍼 제어를 도 3을 참조하여 하기에 설명한다.The buffer control of the master and the slave is described below with reference to FIG.

첫째 : 마스터가 된 보드가 자신의 디램과 슬레이브의 디램에 모두 쓰기를 하는 경우.First: When the master board writes both its own DRAM and the slave's DRAM.

둘째 : 슬레이브 가 된 보드가 자신의 디램 을 read 하는 경우.Second: When a slave board reads its DRAM.

셋째 : 마스터 가 된 보드가 자신의 디램 을 read 하는 경우.Third: When the master board reads its DRAM.

첫째의 경우에는 마스터와 슬레이브의 디램이 모두 선택되고, 동시에 쓰기가 가능하여야 하기 때문에 도 3에서 보는 바와 같이 신호선 'act_en'을 인에이블(Enable)하고, 마스터와 슬레이브 모두 'ea_en'을 인에이블하여 준다. 그러면 백핀(back pin)에서 컴온(common)으로 연결된 어드레스와 데이터가 마스터와 슬레이브의 디램에 모두 연결되어 동시에 쓸 수 있게 된다.In the first case, since both the DRAM of the master and the slave are selected and must be writeable at the same time, the signal line 'act_en' is enabled (Enable) as shown in FIG. 3, and both the master and the slave enable 'ea_en' give. Then, the address and data connected from the back pin to the common are connected to the master and slave DRAMs so that they can be written at the same time.

두 번째와 같은 경우에는 슬레이브가 된 보드의 디램의 데이터를 확인하여 보기 위해서 필요하다. 이때는 도 3에서 보는 버퍼(local buffer : 160)를 인에이블 해주는 'la_en' 을 로(low)로 해주고, 읽고 쓰게 한다. 이렇게 하면 슬레이브가될 때에도 신호선이 백핀(back pin)으로 나가지 않고 내부에서 디램을 억세스 할 수 있게 된다.In the second case, it is necessary to check and see the data of the DRAM of the slave board. In this case, 'la_en', which enables the buffer shown in FIG. 3 (local buffer: 160), is set to low, and read and write. This allows the DRAM to access the DRAM internally, even when the slave becomes a signal line without going out the back pin.

세 번째의 경우에는 마스터가 된 보드가 자신의 데이터를 읽어 오기 위한 경로를 마련해 주게 된다. 일단 액티브가 되어서 마스터가 되면, 'act_en' 이 인에이블되므로, 모든 신호선들은 백핀을 거쳐서 들어오거나 나가게 해야 한다. 따라서 이때 'ea_en'을 인에이블 해주고, 'd_dir'을 읽을 때 로(low)로 해준다. 즉, 슬레이브이고, 읽기이면 'ea_en'은 인에이블 되지 않는다.In the third case, the master board provides a path for reading its data. Once active and becoming a master, 'act_en' is enabled, so all signal lines must enter or exit via the back pin. Therefore, enable 'ea_en' and make it low when reading 'd_dir'. That is, if it is slave and read, 'ea_en' is not enabled.

이런 과정으로 두 장의 보드를 이중화하면서 디램에 데이터를 동시에 써주고, 만일 하나의 보드가 다른 하나로 절체가 될 때, 액티브 가 되었던 보드가 슬레이브로 데이터를 써주었던 그대로를 유지하면서 절체가 될 수 있다.This process duplicates two boards and writes data to the DRAM at the same time. If one board is transferred to the other, it can be transferred while maintaining the same data that the active board wrote data to the slave.

리프레쉬(REFRESH) 과정을 도 4를 참조하여 설명한다. 디램(110)의 데이터를 보존시켜 주기 위해서 리프레쉬 주기를 가진다. 이 동작은 리프레쉬 주기 동안에 이루어 져야 하는데, 그렇지 않으면, 데이터를 보존할 수 없게 된다. 따라서 이중화를 위해서 데이터를 읽고 쓰는 동안에 절체가 되면, 디램(110)의 'RAS'와 'CAS' 신호선을 마스터에서 받기 때문에 리프레쉬 주기 안에 리프레쉬를 하지 못하는 경우가 생기게 된다. 따라서 이러한 경우를 대비하기 위해, 절체가 될 때, 슬레이브를 마스터가 리프레쉬 하고자 'CAS'를 'RAS' 주기 전에 수행하면 리프레쉬 임을 알려 주는 핀을 슬레이브로 준다. 이것은 제어부(100)(예를 들어 'MPC860')에서 나오는 GPLA(3)을 사용하여서 타이밍을 맞추어 준다.The refresh (REFRESH) process will be described with reference to FIG. 4. In order to preserve the data of the DRAM 110, a refresh cycle is provided. This operation must be done during the refresh cycle or data will not be preserved. Therefore, when data is transferred while reading and writing for redundancy, the 'RAS' and 'CAS' signal lines of the DRAM 110 are received from the master, and thus the refresh cannot be performed within the refresh period. Therefore, to prepare for such a case, when the transfer is performed, if the slave performs the 'CAS' before the 'RAS' cycle to refresh the slave, the pin indicating the refresh is given to the slave. This is timed using the GPLA 3 coming from the controller 100 (eg 'MPC860').

슬레이브는 'o_refsh'가 ‘low'가 되면, 칩 선택이 되더라도, 리프레쉬임을알고 데이터나 어드레스 버퍼를 열지 않는다. 이렇게 하면 마스터가 슬레이브를 억세스 하여 리프레쉬 할 수 있게 된다.When 'o_refsh' becomes 'low', the slave knows that it is refreshed and does not open the data or address buffer even if the chip is selected. This allows the master to access and refresh the slave.

리셋 과정을 도 5를 참조하여 설명하면, 두개의 이중화되어 있는 보드를 위에서 한 방법과 같이 고려를 해준다고 하더라도, 갑작스런 오류나 보드의 탈장으로 인해서 초기화가 되면, 디램의 데이터를 업데이트하거나 보존할 수 없다. 두개의 보드를 이중화하고 디램의 데이터를 더욱 확실하게 보존하기 위한 또 한가지의 방법은 리셋이 될 때의 과정을 스위치나 전원으로 직접 초기화되지 않게 하고, 하드웨어적인 리셋 신호가 들어 왔을 때, 이를 받아서 소프트웨어적으로 리셋 동작을 수행하게 된다. 리셋 신호가 들어왔을 때, 이를 제어부(100)에 인터럽트(Interrupt)로 (Interrupt 0= IRQ(0))를 준다.Referring to the reset process with reference to FIG. 5, even if the two redundant boards are considered in the same manner as described above, once initialized due to a sudden error or board failure, the data of the DRAM cannot be updated or preserved. Another way to duplicate the two boards and more securely preserve the data on the DRAM is to prevent the reset process from being directly initiated by a switch or power supply. As a result, the reset operation is performed. When the reset signal is received, the controller 100 is interrupted (Interrupt 0 = IRQ (0)).

이 동안에 리셋이 되는 마스터 보드는 슬레이브 보드의 디램에 데이터를 넘겨주는 인터럽트 과정을 수행한 다음에 리셋이 될 수 있다. 리셋이 되고 나서, 데이터를 모두 넘겨주고 난 후에 슬레이브 보드로의 절체가 이루어지는 것이다. 또한 액티브 보드에서 스탠바이 보드로 리셋을 줄 수 있게 할 수 있다. 제어부(100)로 가는 리셋 핀(reset pin)은 양방향으로 되어 있어야 하며, 제어 회로(Control Logic : 170)에서 트라이 스테이트(Tristate) 출력으로 준다.During the reset, the master board can be reset after performing an interrupt process that passes data to the slave board's DRAM. After the reset, all data is transferred and then transferred to the slave board. It also allows the reset from the active board to the standby board. The reset pin to the control unit 100 should be bidirectional, and the control pin is provided to the tristate output from the control circuit 170.

제어부의 통신 과정을 도 6을 참조하여 하기에 설명한다. 위와 같은 이중화 방법과 함께, 이중화가 되어있는 두개의 마스터와 슬레이브 보드 사이에 항상 통신을 하면서 보드의 상태를 확인 해 볼 수 있는 방법이 필요하다. 이때 쓰이는 방법에는 여러 가지가 있을 수 있는데, HDLC 프로토콜(protocol)을 사용하는 MPC860에서 제공하는 SPI를 이용할 수 있다 여기에서는 SPI 통신 방법을 이용하여 구현하였다. 이 신호선들은 액티브, 스탠바이에 상관없이 항상 인에이블 되어야 하며, 단지 방향만을 제어하면 된다. 이 통로를 통해서 두 보드가 서로 액티브이나 슬레이브에 관계없이, 두 보드간의 상태를 간단한 데이터로 주고받을 수 있다A communication process of the controller will be described below with reference to FIG. 6. Along with the above redundancy method, there is a need for a way to check the board status while always communicating between two redundant master and slave boards. At this time, there can be various methods. SPI provided by MPC860 using HDLC protocol can be used. Here, the SPI communication method is used. These signal lines must be enabled at all times, active or standby, and only need to control the direction. This path allows two boards to communicate with each other as simple data, regardless of whether they are active or slave to each other.

한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관하여 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 안되며 후술하는 특허청구의 범위뿐 만 아니라 이 발명의 특허청구 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the claims below, but also by the equivalents of the claims of the present invention.

상술한 바와 같이 본 발명은 마스터 보드와 슬레이브 보드간에 신호라인을 이중화하고 제어신호를 부가하여 메모리를 이중화함으로써, 두개의 보드가 항상 자신의 상태를 주고받으면서 리셋이 되어 절체가 될 때, 액티브 가 되었던 보드가 가지고 있던 데이터를 잃어버리거나, 슬레이브를 다시 부팅하면서 데이터를 써줄 필요가 없다. 또한 그대로 슬레이브에 데이터를 저장할 수 있으므로 데이터를 보존한 채로 절체할 수 있다. 더욱이 컨쿼런트 라이트 방식을 사용함에 있어서 시간적으로 동시에 마스터와 슬레이브에 데이터를 써줄 수 있어 효율도 증가하게 된다.As described above, in the present invention, the signal line is duplicated between the master board and the slave board and the control signal is added to duplicate the memory, so that the two boards are always active when they are reset and transferred while exchanging their states. There is no need to lose any data the board has or write data to the slave when it is rebooted. In addition, since the data can be stored in the slave as it is, it can be transferred while keeping the data. In addition, by using the Concurrent light method, data can be written to the master and the slave at the same time, thereby increasing efficiency.

Claims (8)

교환 시스템에서의 메모리 이중화를 위한 보드의 장치에 있어서,In the apparatus of the board for memory redundancy in the switching system, 보드 선택 및 메모리 억세스를 위한 칩 선택신호 및 읽기/쓰기 신호에 따라 제어 신호를 출력하기 위한 신호처리부와,A signal processor for outputting a control signal according to a chip select signal and a read / write signal for board selection and memory access; 상기 신호처리부에서 출력되는 신호를 외부의 보드 또는 내부의 입력버퍼로 연결하기 위한 출력버퍼와,An output buffer for connecting the signal output from the signal processor to an external board or an internal input buffer; 상기 출력버퍼 또는 외부의 보드로부터의 신호를 입력받기 위한 입력 버퍼와,An input buffer for receiving a signal from the output buffer or an external board; 데이터를 저장하기 위한 메모리와,A memory for storing data, 상기 신호처리부의 출력 신호를 입력받아 상기 메모리에 연결하기 위한 제 1 버퍼와,A first buffer for receiving an output signal of the signal processor and connecting the first signal to the memory; 액티브 보드로 선택되었을 시에 상기 신호처리부를 통해 외부의 메모리 또는 내장된 메모리를 억세스하기 위한 상기 칩 선택신호 및 읽기/쓰기 신호를 출력하는 제어부를 구비함을 특징으로 하는 장치.And a controller for outputting the chip select signal and the read / write signal for accessing an external memory or an embedded memory through the signal processor when the active board is selected. 제 1 항에 있어서, 상기 신호처리부는,The method of claim 1, wherein the signal processing unit, 내장된 메모리를 억세스하기 위한 칩 선택신호와 읽기/쓰기 신호를 논리합하기 위한 제 1 오아게이트와,A first orifice for ORing the chip select signal and the read / write signal for accessing the internal memory; 상기 칩 선택신호가 인버팅된 신호와 읽기쓰기 신호를 논리합하기 위한 제 2 오아게이트와,A second orifice for ORing the inverted signal with the chip select signal and the read / write signal; 외부 보드의 메모리를 억세스하기 위한 칩 선택신호와 인버팅된 읽기/쓰기 신호를 논리합하기 위한 제 3 오아게이트와,A third orifice for ORing the chip select signal and the inverted read / write signal for accessing the memory of the external board; 상기 제 1 및 상기 제 2 오아게이트의 출력신호를 논리곱하기 위한 제 1 앤드게이트와,A first AND gate for ANDing the output signals of the first and second OA gates; 상기 제 1 및 상기 제 3 오아게이트의 출력 신호를 논리곱하기 위한 제 2 앤드게이트를 포함함을 특징으로 하는 장치.And a second end gate for ANDing the output signal of the first and third orifices. 제 1 항에 있어서,The method of claim 1, 상기 제어부에서 출력되는 제어신호를 버퍼링하여 상기 메모리를 제어하기 위한 제 2 버퍼를 더 구비함을 특징으로 하는 장치.And a second buffer for controlling the memory by buffering a control signal output from the controller. 보드의 선택을 위한 칩 선택신호 및 읽기/쓰기 신호에 따라 제어 신호를 출력하기 위한 신호처리부와, 상기 신호처리부에서 출력되는 신호를 외부의 보드 또는 내부의 입력버퍼로 연결하기 위한 출력버퍼와, 상기 신호처리부 또는 제어부의 출력 신호를 입력받아 상기 메모리에 연결하기 위한 제 1 버퍼와 상기 출력버퍼 또는 외부 보드로부터의 신호를 입력받기 위한 입력 버퍼와, 데이터를 저장하기 위한메모리를 구비한 교환 시스템에서 이중화된 보드의 메모리 억세스를 위한 버퍼 제어 방법에 있어서,A signal processor for outputting a control signal according to a chip select signal and a read / write signal for board selection, an output buffer for connecting the signal output from the signal processor to an external board or an internal input buffer, Redundancy in an exchange system having a first buffer for receiving an output signal from a signal processor or a control unit and connecting it to the memory, an input buffer for receiving a signal from the output buffer or an external board, and a memory for storing data In the buffer control method for memory access of a board, 상기 교환 시스템에서 마스터 보드 및 슬레이브 보드의 메모리를 모두 억세스하여 쓰기 동작을 수행할 시에 상기 마스터 및 슬레이브 보드의 상기 입출력 버퍼를 인에이블하는 과정과,Enabling the input / output buffers of the master and slave boards when performing a write operation by accessing all of the memories of the master board and the slave board in the switching system; 슬레이브 보드에서 내장된 메모리의 데이터를 읽을 시에 상기 슬레이브 보드의 입출력 버퍼를 디스에이블 하는 과정과,Disabling the I / O buffer of the slave board when reading the data of the internal memory from the slave board; 상기 입출력 버퍼를 디스에이블 하고, 상기 제 1 버퍼를 인에이블 하여 버퍼링을 수행하는 과정과,Disabling the input / output buffer and enabling the first buffer to perform buffering; 마스터 보드에서 내장된 메모리의 데이터를 읽을 시에 출력버퍼를 인에이블하는 과정과,Enabling the output buffer when reading data from the built-in memory on the master board, 상기 출력버퍼를 통해 출력된 신호가 상기 마스터 보드의 입력버퍼를 통해 상기 메모리로 입력되어 상기 메모리를 읽을 수 있도록 상기 입력버퍼를 인에이블하고, 외부의 슬레이브 보드로부터의 신호를 입력받기 위한 입력버퍼를 디스에이블하는 과정으로 이루어짐을 특징으로 하는 방법.A signal output through the output buffer is input to the memory through the input buffer of the master board to enable the input buffer to read the memory, and an input buffer for receiving a signal from an external slave board Disabling a process characterized in that the process. 교환 시스템에서 이중화된 보드의 메모리 리프레쉬 방법에 있어서,In the memory refresh method of the redundant board in the switching system, 마스터 보드의 절체 시에 상기 마스터 보드에서 리프레쉬를 위한 메시지를 슬레이브 보드로 전송하는 과정과,Transmitting a refresh message from the master board to a slave board when the master board is switched; 상기 메시지가 상기 슬레이브 보드에 수신되면 상기 슬레이브 보드의 메모리 리프레쉬 동작을 직접 수행하는 과정으로 이루어짐을 특징으로 하는 방법.And if the message is received by the slave board, directly performing a memory refresh operation of the slave board. 제 5 항에 있어서, 상기 슬레이브 보드의 메모리 리프레쉬 동작은,The memory refresh operation of the slave board according to claim 5, wherein: 지피엘에이를 통해 이루어짐을 특징으로 하는 방법.Method which is made through FIFA. 제 5 항에 있어서, 상기 메시지가 상기 슬레이브 보드에 수신되면,The method of claim 5, wherein when the message is received at the slave board, 상기 슬레이브 보드의 입출력 버퍼를 디스에이블하는 과정을 더 구비함을 특징으로 하는 방법.And disabling an input / output buffer of the slave board. 교환 시스템에서의 이중화된 보드의 메모리 리셋 방법에 있어서,In the memory reset method of a redundant board in a switching system, 마스터 보드에서 리셋 데이터가 발생되었을 시에 상기 마스터 보드의 내장된 메모리의 데이터를 슬레이브 보드의 메모리로 업데이트하는 과정과,Updating the data of the internal memory of the master board to the memory of the slave board when reset data is generated in the master board; 상기 업데이트 과정이 종료되었을 시에 상기 슬레이브로 액티브 보드를 천이하는 과정과,Transitioning the active board to the slave when the update process is completed; 상기 마스터 보드를 리셋하는 과정으로 이루어짐을 특징을 하는 방법.And resetting the master board.
KR1019990026011A 1999-06-30 1999-06-30 Apparatus for duplicating of memory in switching system and method thereof KR100303327B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990026011A KR100303327B1 (en) 1999-06-30 1999-06-30 Apparatus for duplicating of memory in switching system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990026011A KR100303327B1 (en) 1999-06-30 1999-06-30 Apparatus for duplicating of memory in switching system and method thereof

Publications (2)

Publication Number Publication Date
KR20010005208A KR20010005208A (en) 2001-01-15
KR100303327B1 true KR100303327B1 (en) 2001-11-01

Family

ID=19598110

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990026011A KR100303327B1 (en) 1999-06-30 1999-06-30 Apparatus for duplicating of memory in switching system and method thereof

Country Status (1)

Country Link
KR (1) KR100303327B1 (en)

Also Published As

Publication number Publication date
KR20010005208A (en) 2001-01-15

Similar Documents

Publication Publication Date Title
KR101558482B1 (en) Bank sharing and refresh in a shared multi-port memory device
US5125081A (en) Inter-configuration changing controller based upon the connection and configuration information among plurality of clusters and the global storage
KR20010007009A (en) Power management on a memory card having a signal processing element
JPS6353579B2 (en)
CN107257964B (en) DRAM circuit, computer system and method for accessing DRAM circuit
JP3789998B2 (en) Memory built-in processor
JPH0146946B2 (en)
KR100303327B1 (en) Apparatus for duplicating of memory in switching system and method thereof
KR100298955B1 (en) Data processing system
TWI694331B (en) Memory sharing dual-mode network communication device
KR100208276B1 (en) Apparatus for doubling data in full electronic switching system
KR20000007754A (en) Duplication device and method of main control unit of non-synchronized transmission mode switchboard
KR20000032947A (en) Processor duplexing device of communication system
KR100270683B1 (en) Duplication apparatus of main process in atm exchanger
KR100283009B1 (en) Redundant Architecture of Processor Boards in Exchanges
JPS63142455A (en) Semiconductor storage device
KR100194819B1 (en) Bit division type asynchronous transfer mode switching device
KR200210744Y1 (en) Apparatus for data communication between processors
KR20080046066A (en) Synchronization control device, dual port memory having synchornization control device and method for controlling synchonization in dual port memory
KR20000055425A (en) Selective Simultaneous Copy Method And Apparatus For Memory In Dual Board
JP3868316B2 (en) Multiprocessor and control method thereof
JPH02132543A (en) Information processor
JPS59135684A (en) Data bypass system between buffer memories
KR0165505B1 (en) The communication apparatus using shared memory
KR20030024472A (en) Apparatus for multiplexing CPU and Method thereof

Legal Events

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

Payment date: 20070611

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee