KR100348566B1 - Dual storage apparatus in communication system - Google Patents

Dual storage apparatus in communication system Download PDF

Info

Publication number
KR100348566B1
KR100348566B1 KR1019990057900A KR19990057900A KR100348566B1 KR 100348566 B1 KR100348566 B1 KR 100348566B1 KR 1019990057900 A KR1019990057900 A KR 1019990057900A KR 19990057900 A KR19990057900 A KR 19990057900A KR 100348566 B1 KR100348566 B1 KR 100348566B1
Authority
KR
South Korea
Prior art keywords
disk
bus
host
board
standby
Prior art date
Application number
KR1019990057900A
Other languages
Korean (ko)
Other versions
KR20010056444A (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 KR1019990057900A priority Critical patent/KR100348566B1/en
Publication of KR20010056444A publication Critical patent/KR20010056444A/en
Application granted granted Critical
Publication of KR100348566B1 publication Critical patent/KR100348566B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40084Bus arbitration
    • 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/36Handling requests for interconnection or transfer for access to common bus or bus system

Landscapes

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

Abstract

본 발명은 통신시스템의 이중화 저장장치에 관한 것으로서, 호스트의 디스크 입출력동작이 시작되면 버스사용을 요청하고 디스크 입출력동작이 종료되면 버스사용 요청을 중지하는 호스트모니터; 액티브모드로 동작하는 호스트모니터의 버스요청과 스탠바이모드로 동작하는 호스트모니터의 버스요청에 대해 버스사용을 중재하는 버스중재기; 버스중재기에서 버스사용이 허가되지 않으면, 디스크의 접근을 막고 있다가 버스사용이 허가되면 디스크의 접근을 허용하는 디스크접근 마스킹부; 버스중재기에서 버스 사용이 허가되면, 호스트와 디스크간의 데이터경로를 설정하는 경로설정부; 설정된 경로에 따라 이루어지는 액티브보드 및 스탠바이보드의 디스크 입출력 동작의 동기를 맞추는 동기부; 및 호스트의 디스크 입출력작업의 시작을 알리고, 마스킹의 상태에 따라 디스크 입출력작업의 진행을 제어하고 동기상태와 디스크 입출력동작의 정상완료 여부에 따라 디스크 입출력작업의 종료를 알리는 디스크드라이버를 포함함이 바람직하다.The present invention relates to a redundant storage device of a communication system, comprising: a host monitor for requesting bus use when a disk input / output operation of a host is started and stopping a bus use request when the disk input / output operation is terminated; A bus arbitrator that arbitrates bus usage for a bus monitor of a host monitor operating in an active mode and a bus request of a host monitor operating in a standby mode; A disk access masking unit which prevents access to the disk if the bus is not used in the bus intermediary, and permits access of the disk when the bus is permitted to use the bus; A route setting unit configured to set a data path between a host and a disk when a bus is permitted in the bus intermediator; A synchronization unit for synchronizing disk input / output operations of the active board and the standby board according to the set path; And a disk driver for notifying the start of the disk I / O operation of the host, controlling the progress of the disk I / O operation according to the masking state, and notifying the end of the disk I / O operation according to the synchronization state and whether the disk I / O operation is normally completed. Do.

본 발명에 의하면, 메모리의 이중화와 동일한 동작이 디스크에 대해서도 하드웨어적으로 이루어진다. 또한 과금정보와 같이 큰 용량의 디스크가 필요한 경우에라도 별도의 보드에 전원장치를 하고 SCSI 콘트롤러를 통해 액세스할 필요없이, 하나의 보드 내에 실장할 수 있어 공간이 절약되고 비용을 대폭 절감할 수 있다.According to the present invention, the same operation as that of duplication of the memory is performed in hardware for the disk. In addition, even when a large disk such as billing information is required, it can be mounted on one board without powering on a separate board and accessing it through a SCSI controller, thereby saving space and significantly reducing costs.

Description

통신시스템에서의 이중화 저장장치{Dual storage apparatus in communication system}Dual storage apparatus in communication system

본 발명은 통신시스템의 저장장치에 관한 것으로서, 특히 통신시스템의 이중화 저장장치에 관한 것이다.The present invention relates to a storage device of a communication system, and more particularly to a redundant storage device of a communication system.

일반적으로 통신시스템은 프로세서보드, 입출력처리용 보드 및 데이터 저장용 보드 등 그 기능별로 여러 장의 보드(board)들로 구성되어 있으며, 각 보드는 서로 버스를 통해 연결된다. 그런데 통신시스템은 신뢰성을 확보하기 위해 이중화된 시스템을 사용하며, 이를 위해 각 보드는 액티브(Active) 보드 및 스탠바이(Standby) 보드로 이중화되어 있다. 액티브 보드는 현재 동작중인 보드를말하며, 스탠바이 보드는 액티브 보드에 에러(error)가 발생했을 때 액티브 보드로 동작하는 것을 말한다.In general, a communication system includes a plurality of boards for each function, such as a processor board, an input / output processing board, and a data storage board, and each board is connected to each other through a bus. However, the communication system uses a redundant system to ensure reliability, and for this purpose, each board is duplicated into an active board and a standby board. An active board is a board that is currently operating, and a standby board is an active board when an error occurs in the active board.

그런데 스탠바이보드는 통상 액티브보드의 메인 메모리 내용(스택 포함)을 똑같게 유지하고 있다. 따라서 액티브보드에서 결함의 발생으로 스탠바이보드로 절체가 이루어지면 스탠바이보드는 자신의 메인 메모리에 있는 데이터를 이용하여 현재 진행하고 있던 작업을 계속할 수 있다. 이는 진행중인 작업과 관련한 모든 데이터가 메인 메모리에 위치해 있기 때문이다. 메인 메모리에 담기지 않는 시스템 정보나 작업 관련 데이터(과금 정보 등)는 주로 비휘발성 저장장치에 존재한다.However, standby boards usually maintain the same contents of the active board's main memory (including the stack). Therefore, if a switchover to the standby board occurs due to a fault in the active board, the standby board can continue the work currently being performed by using the data in its main memory. This is because all data related to the work in progress is located in main memory. System information or task-related data (such as billing information) that are not contained in the main memory are mainly present in nonvolatile storage.

통신시스템에서 비휘발성 저장장치를 구현할 때에는 각 특성에 따라 플래시메모리(Flash Memory), 배터리백업 메모리(Battery Backup Memory) 그리고 하드 디스크(Hard Disk) 등을 사용한다. 시스템의 신뢰성을 확보하기 위해서는 메인 메모리와 같은 하드웨어적인 방법으로 이중화를 하기도 하지만 대개는 소프트웨어적인 방법을 사용하여 두 개의 매체에 각각 데이터를 저장한다.When implementing a nonvolatile storage device in a communication system, a flash memory, a battery backup memory, and a hard disk are used according to each characteristic. In order to ensure the reliability of the system, it is redundant by hardware method such as main memory, but usually the software is used to store data in two media.

플래시메모리는 작은 공간을 차지하며 읽는 시간이 빠르다는 장점에 비해서 DRAM 보다 비싼 단가, 블록을 지우기 위한 시간 동안의 서비스 중단, 그리고 쓰기 횟수의 제한 등의 단점을 가지고 있다. 따라서 운영체제나 시스템 프로그램 등의 보관과 같이 운용 중에는 쓰기 횟수가 없고 연속적인 읽기 동작이 이루어지는 응용분야에 적합하다. 이러한 용도로 사용될 경우 데이터의 이중화는 필요 없게된다.Flash memory takes up less space and has faster read times than DRAM, which has disadvantages such as the cost of DRAM, interruption of service during the time to erase blocks, and the limitation of the number of writes. Therefore, it is suitable for applications in which there are no writes and continuous read operations during operation such as storage of an operating system or system programs. When used for this purpose, data redundancy is unnecessary.

그리고 배터리 백업을 가진 RAM, 예를 들어 SRAM에 배터리를 부착한 NVRAM과 같은 제품은 그 최대 용량이 수 MB에 그치기 때문에 극히 제한적인 용도에만 사용할 수 있고, 이에 대한 이중화 방안은 기존의 메인 메모리 방식과 동일하게 적용하면 된다. 그러나 수십 - 수백 MB에 이르는 용량의 메모리를 구현하려면 비용이 과다하게 소요되고 공간상으로 문제가 발생하여 사용하는데 매우 제한적이다.And products with RAM with battery backup, such as NVRAM with a battery attached to SRAM, can only be used in extremely limited applications because their maximum capacity is only a few megabytes. The same applies. However, implementing a memory of tens to hundreds of megabytes is too costly and space-consuming and very limited to use.

그리고 일반 DRAM에 배터리로 백업을 구현한 제품은 적당한 단가와 접근시간이 빠른 장점에 반해, 물리적인 크기가 크고 기존 회로의 변경이 있으며 최대 정전시간에 따른 배터리의 용량이 가변적인 단점이 있어서 유지보수에 어려움이 있다.In addition, the product implemented by back-up with battery in general DRAM has the advantages of reasonable price and fast access time, while the physical size is large, there is a change of existing circuit, and the capacity of battery is variable according to maximum power failure. There is a difficulty.

하드디스크는 큰 크기와 제한적인 인터페이스, 그리고 수 밀리 초의 접근시간이 단점이지만 대용량(수 GB)의 구현이 가능하고 용량대비 가격에 있어서는 상당한 장점을 가지고 있다는 점에서 통신시스템의 대용량 저장장치로 적당하다. 그러나 그 크기와 +12V 전원으로 인해서 별도의 보드로 구현해야 하고 SCSI 콘트롤러를 통해서 액세스를 하여야 한다.Hard disks are disadvantageous due to their large size, limited interface, and access time of several milliseconds, but they are suitable as mass storage devices for communication systems in that they can realize large capacity (several GBs) and have significant advantages in terms of price / capacity. . However, due to its size and + 12V supply, it must be implemented as a separate board and accessed through a SCSI controller.

본 발명이 이루고자하는 기술적 과제는 상술한 문제점을 해결하기 위한 것으로서, 액티브/스탠바이(active/standby) 두 가지 모드로 동작되도록 하기 위해 메모리의 이중화와 동일한 동작이 디스크에 대해서도 하드웨어적으로 이루어지며, 하나의 보드 내에 실장하여 원가절감과 공간절약을 할 수 있는 통신시스템의 이중화저장장치를 제공하는 것이다.The technical problem to be solved by the present invention is to solve the above-described problems, the same operation as the duplication of the memory to be operated in the hardware to the disk in order to operate in two modes of active / standby (one) It is to provide a redundant storage device of communication system that can be installed in the board of the board to save cost and space.

도 1은 이중화 디스크가 사용되는 통신시스템의 액티브 보드 및 스탠바이 보드의 개략적인 블록을 도시한 것이다.1 shows a schematic block of an active board and a standby board of a communication system in which a redundant disk is used.

도 2는 이중화 디스크 모듈의 개략적인 외관을 도시한 것이다.2 shows a schematic appearance of a redundant disk module.

도 3은 본 발명에 의한 이중화저장장치의 일실시예를 블록도로 도시한 것이다.Figure 3 shows a block diagram of an embodiment of a redundant storage device according to the present invention.

상기 기술적 과제를 달성하기 위한 본 발명에 의한, 통신시스템의 이중화 저장장치는, 적어도 하나의 액티브 보드 및 상기 액티브 보드의 결함 발생시 액티브보드로 동작하는 스탠바이 보드를 구비하고, 상기 액티브 보드 및 스탠바이 보드 각각은 장탈착 가능한 디스크를 포함하며, 상기 액티브보드 및 스탠바이 보드는 버스를 통해 서로 연결되는 통신시스템에 있어서, 상기 액티브 보드 및 스탠바이 보드의 상기 디스크 제어 블록을 호스트라 할 때, 호스트의 디스크 입출력동작이 시작되면 버스사용을 요청하고, 디스크 입출력동작이 종료되면 버스사용 요청을 중지하는 호스트모니터; 액티브모드로 동작하는 호스트모니터의 버스 요청과 스탠바이모드로 동작하는 호스트모니터의 버스요청에 대해 버스사용을 중재하는 버스중재기; 상기 버스중재기에서 버스 사용이 허가되지 않으면, 디스크의 접근을 막고 있다가 상기 버스사용이 허가되면 디스크의 접근을 허용하는 디스크접근 마스킹부; 상기 버스중재기에서 버스 사용이 허가되면, 호스트와 디스크간의 데이터 경로를 설정하는 경로설정부; 상기 경로설정부를 통해 설정된 경로에 따라 이루어지는 상기 액티브보드 및 스탠바이보드의 디스크 입출력 동작의 동기를 맞추는 동기부; 및 호스트의 디스크 입출력작업의 시작을 알리고, 상기 마스킹의 상태에 따라 디스크 입출력작업의 진행을 제어하고, 상기 동기부에서의 동기상태와 디스크 입출력동작의 정상완료 여부에 따라 디스크 입출력작업의 종료를 알리는 디스크드라이버를 포함함이 바람직하다.In accordance with another aspect of the present invention, a redundant storage device of a communication system includes at least one active board and a standby board which acts as an active board when a defect occurs in the active board, respectively. Includes a removable disk, and the active board and the standby board are connected to each other via a bus. When the disk control block of the active board and the standby board is called a host, a disk input / output operation of the host is performed. A host monitor requesting bus use when started and stopping the bus use request when the disk input / output operation is terminated; A bus arbitrator that arbitrates bus use for a bus request of a host monitor operating in an active mode and a bus request of a host monitor operating in a standby mode; A disk access masking unit for preventing access to a disk if the bus is not used in the bus intermediator, and allowing the disk to be accessed when the bus is permitted; A route setting unit configured to set a data path between a host and a disk when a bus is permitted in the bus intermediator; A synchronization unit for synchronizing disk input / output operations of the active board and the standby board according to a path set through the path setting unit; And notifying the start of the disk I / O operation of the host, controlling the progress of the disk I / O operation according to the masking state, and notifying the end of the disk I / O operation according to the synchronization state of the synchronization unit and whether the disk I / O operation is normally completed. It is preferable to include a disk driver.

이하에서 첨부된 도면을 참조하여 본 발명을 상세히 설명하기로 한다. 도 1은 본 발명에 따른 이중화 저장장치의 일실시예인 이중화 디스크가 사용되는 통신시스템의 액티브 보드 및 스탠바이 보드의 개략적인 블록을 도시한 것이다. 도 1에 도시된 바와 같이 상기 액티브보드 및 스탠바이보드는 통상백플레인(Backplane) 보드로 연결되어 있으며, 이중화 디스크 모듈의 디스크는 상기 액티브 보드 및 스탠바이 보드에 장찰탁이 가능하다. 도 2는 이중화 디스크 모듈의 개략적인 외관을 도시한 것으로서, 이중화로직이 내장된 이중화보드와 상기 이중화보드에 장탈착가능한 하드디스크로 이루어져 있다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. 1 is a schematic block diagram of an active board and a standby board of a communication system in which a redundant disk, which is an embodiment of a redundant storage device according to the present invention, are used. As shown in FIG. 1, the active board and the standby board are normally connected to a backplane board, and a disk of the redundant disk module may be loaded onto the active board and the standby board. Figure 2 shows a schematic appearance of a redundant disk module, consisting of a redundant board with a built-in redundancy logic and a hard disk removable to the redundant board.

도 3은 본 발명에 의한 이중화저장장치의 일실시예를 블록도로 도시한 것으로서, 호스트모니터(310), 버스중재기(340), 디스크접근 마스킹부(320), 경로설정부(350), 동기부(330) 및 디스크드라이버(300)로 이루어진다. 본 실시예에서는 IDE 타입의 디스크를 사용한다고 가정한다. IDE 타입의 디스크는 디스크 I/O 작업이 끝나면 인터럽트를 통해 이를 알리며, 상태레지스터(Status Register)를 두어 디스크 입출력 진행 여부(Busy bit), 디스크 동작의 정상완료여부(done bit, error bit)를 나타낸다.3 is a block diagram showing an embodiment of a redundant storage device according to the present invention, which includes a host monitor 310, a bus mediator 340, a disk access masking unit 320, a routing unit 350, and the like. The base 330 and the disk driver 300. In this embodiment, it is assumed that an IDE type disk is used. In case of IDE type disk, this is notified by interrupt when disk I / O operation is completed, and status register is indicated to indicate whether disk I / O progresses (Busy bit) and disk operation is completed normally (done bit, error bit). .

호스트모니터(310)는 호스트의 디스크 입출력동작이 시작되면 버스사용을 요청하고, 디스크 입출력동작이 종료되면 버스사용 요청을 중지한다. 보다 구체적으로 설명하면, 호스트 IDE 버스의 동작을 감시하면서 디스크 I/O가 시작되면 버스 중재기(340)에게 버스 사용을 요청하고, 디스크 I/O가 끝나면 버스 사용요청을 중지한다. 만일 본 발명에 의한 이중화 저장장치(이하 EDM이라 한다.)이 standby로 동작할 경우에는 버스의 요청을 Remote IDE 버스에 있는 액티브 EDM의 버스중재기에게 전달한다. 그리고 호스트 모니터(310)가 스탠바이 모드로 동작할 때에는 즉 Remote IDE 버스 모니터로 사용될 때에는 Remote IDE 버스 끝에 있는 EDM이 Alive한지 판단하며, Alive이면 디스크 이중화를 위해서 동기화부(330)에 관련 신호를알린다.The host monitor 310 requests the bus to be used when the disk I / O operation is started, and stops the bus to be used when the disk I / O operation is finished. In more detail, when disk I / O is started while monitoring the operation of the host IDE bus, the bus arbiter 340 is requested to use the bus, and when the disk I / O ends, the bus use request is stopped. If the redundant storage device (hereinafter, referred to as EDM) according to the present invention operates as a standby, the request of the bus is transmitted to the bus mediator of the active EDM on the Remote IDE bus. When the host monitor 310 operates in the standby mode, that is, when the remote monitor is used as a remote IDE bus monitor, the host monitor 310 determines whether the EDM at the end of the remote IDE bus is Alive. If the host monitor 310 is Alive, the host unit 310 notifies the synchronization unit 330 of a related signal for disk redundancy.

버스중재기(340)는 액티브모드로 동작하는 호스트모니터의 버스 요청과 스탠바이모드로 동작하는 호스트모니터의 버스요청에 대해 버스사용을 중재한다. 디스크의 이중화를 위해서는 동시에 두 개의 디스크에 데이터 쓰기를 해야 하는데 그렇게 하려면 Active EDM의 호스트 IDE 버스가 자신의 디스크와 standby EDM의 디스크 버스를 점유하여야 한다. 이를 위해서 중재로직이 필요한데 이 로직의 입력으로는 각 EDM의 호스트 모니터(310)에서 출력되는 신호를 사용한다. 공정(Fairness)을 구현하여 Starvation을 없게 한다. 예를 들어, 액티브보드와 스탠바이보드에서 동시에 버스요청이 있는 경우, 액티브보드의 호스트에서 버스사용권을 받았으면 다음에는 스탠바이보드의 호스트가 버스사용권을 받게 한다.The bus arbitrator 340 arbitrates the bus usage for the bus request of the host monitor operating in the active mode and the bus request of the host monitor operating in the standby mode. For disk redundancy, data must be written to two disks at the same time. To do so, the host IDE bus of Active EDM must occupy its own disk and the disk bus of standby EDM. For this, arbitration logic is required, and as the input of this logic, a signal output from the host monitor 310 of each EDM is used. Implement Fairness to eliminate Starvation. For example, if there is a bus request on the active board and the standby board at the same time, if the bus license is obtained from the host of the active board, the host of the standby board will receive the bus license next.

디스크접근 마스킹부(320)는 상기 버스중재기(340)에서 버스 사용이 허가되지 않으면, 디스크의 접근을 막고 있다가 상기 버스사용이 허가되면 디스크의 접근을 허용한다. 본 실시예에서는 IDE 타입의 디스크를 사용하고 있으므로, 상태레지스터의 busy 비트를 마스킹(masking)하여 이를 구현한다. 즉, 호스트 IDE 버스가 디스크 I/O를 시작하고 디스크로 command issue를 하려면 상태 레지스터를 읽어보고 디스크가 busy하지 않으면 명령을 내리고 그렇지 않으면 계속 기다린다. 상기 호스트 모니터(310)에서 디스크 I/O의 시작을 개시하고 이를 이용해서 버스 사용 요청을 하는데 허가가 나기 전까지는 버스를 사용할 수 없으므로 허가가 날 때까지 호스트의 버스 사용을 막기 위해서 상태레지스터의 busy 비트를 마스킹(masking)한다. 그리고 버스 사용허가가 나면 masking을 풀고 정상적인 디스크 I/O를 진행시킨다.The disk access masking unit 320 prevents the disk from accessing the bus when the bus mediator 340 does not permit the use of the bus and permits the disk access if the bus usage is permitted. In this embodiment, since an IDE type disk is used, the busy bit of the state register is masked to implement this. In other words, if the host IDE bus initiates disk I / O and issues a command with the disk, it reads the status register and issues a command if the disk is not busy; The host monitor 310 initiates the start of disk I / O and makes a bus use request using the bus. Until the permission is issued, the bus cannot be used until the host monitor 310 starts to use the bus. Mask the bits. When the bus is licensed, it releases masking and proceeds with normal disk I / O.

경로설정부(350)는 상기 버스중재기(340)에서 버스 사용이 허가되면, 호스트와 디스크간의 데이터 경로를 설정한다. 호스트 IDE 버스, Remote IDE 버스, 그리고 디스크 IDE 버스의 세 개 버스를 기능에 따라 상호연결 또는 방향전환한다. 여기서는 호스트와 디스크간, 호스트와 Remote간, Remote와 디스크간의 구성이 가능하다.The routing unit 350 sets a data path between the host and the disk when the bus is allowed to be used by the bus intermediator 340. Interconnect or redirect the three buses, the host IDE bus, the Remote IDE bus, and the disk IDE bus. Here you can configure between host and disk, between host and remote, and between remote and disk.

동기부(330)는 상기 경로설정부(350)를 통해 설정된 경로에 따라 이루어지는 상기 액티브보드 및 스탠바이보드의 디스크 입출력 동작의 동기를 ??춘다. 이중화로 동작하는 경우에 액티브 EDM의 호스트 IDE 버스에서 쓰기 동작을 하면 이를 스탠바이 디스크에도 써야 한다. 그런데 디스크가 동기되어 있지 않으면 서로 다른 액세스 타임으로 인해서 하나의 디스크 I/O가 동일하게 종료되지 못한다. 이러한 원인으로 연속적인 디스크I/O를 하지 못할 수 있다.The synchronizer 330 synchronizes disk input / output operations of the active board and the standby board according to the path set through the path setting unit 350. When working in redundancy, if you write on the host IDE bus of the active EDM, you must also write it to the standby disk. However, if the disks are not synchronized, one disk I / O cannot be terminated equally due to different access time. For this reason, continuous disk I / O may not be possible.

디스크드라이버(300)는 호스트의 디스크 입출력작업의 시작을 알리고, 상기 마스킹의 상태에 따라 디스크 입출력작업의 진행을 제어하고, 상기 동기부(330)에서의 동기상태와 디스크 입출력동작의 정상완료 여부에 따라 디스크 입출력작업의 종료를 알린다. 통상 호스트의 IDE 콘트롤러(이하 IDEC라 함)에 내장되며, 소트트웨어로 구현된다.The disk driver 300 notifies the start of the disk I / O operation of the host, controls the progress of the disk I / O operation according to the masking state, and determines whether the synchronization state of the synchronization unit 330 and the disk I / O operation are normally completed. Therefore, it informs the end of disk I / O operation. It is usually embedded in the host's IDE controller (hereinafter referred to as IDEC) and implemented as software.

본 발명의 동작을 설명하기로 한다. 본 발명에서의 저장장치는 크게 두가지 모드로 동작한다. 첫째는 액티브 보드의 호스트 IDEC가 디스크 I/O를 하는 경우이고, 둘째는 스탠바이 보드의 호스트 IDEC가 자신의 DISK read를 하는 경우이다.The operation of the present invention will be described. The storage device in the present invention operates in two main modes. The first is when the host IDEC of the active board performs disk I / O. The second is when the host IDEC of the standby board reads its own disk.

먼저, 액티브보드의 호스트 IDEC가 디스크 I/O를 하는 경우를 설명하기로 한다. 먼저 디스크 드라이버(300)에서 액티브보드의 호스트 IDEC가 디스크 I/O의 시작과 끝을 나타내는 고유의 신호를 미리 정한다.First, a description will be given of a case where disk ID / O is performed by the host IDEC of the active board. First, in the disk driver 300, the host IDEC of the active board predetermines a unique signal indicating the start and end of the disk I / O.

액티브보드의 호스트 모니터(310)는 디스크 I/O가 시작되는지 계속 체크하고 있다. 이와 더불어 IDEC(30)는 상태레지스터의 busy비트를 체크하고 있다. 여기서 상태레지스터의 busy 비트는 처음에는 busy로 masking 되어 있다. IDEC(30)는 busy 비트의 masking 비트가 풀릴 때까지 폴링(polling)을 계속하고 있다.The host monitor 310 of the active board keeps checking whether disk I / O is started. In addition, the IDEC 30 checks the busy bit of the status register. The busy bit of the state register is initially masked as busy. The IDEC 30 continues to poll until the busy bit masking bit is released.

호스트 모니터(310)에서 디스크 I/O의 시작이 검출되면, 버스중재기(340)에게 버스를 요구한다.When the host monitor 310 detects the start of the disk I / O, it requests the bus intermediator 340 for the bus.

버스중재기(340)는 자신의 액티브보드 호스트의 버스요구와 스탠바이보드 호스트의 버스요구를 체크하고 있다가 Fairness 중재를 한다. 따라서 현재 상기 호스트 IDEC(30)의 버스요구만 있다고 하면 버스 Grant를 출력한다. 상기 버스 Grant는 상태레지스터 마스킹을 하는 디스크 접근 마스킹부(320)과 스탠바이보드의 경로설정부(미도시) 및 경로설정부(350)로 간다.The bus arbitrator 340 checks the bus request of its active board host and the bus request of the standby board host, and performs fairness arbitration. Therefore, if only the bus request of the host IDEC 30 is present, a bus grant is output. The bus grant goes to the disk access masking unit 320 to perform state register masking, the routing unit (not shown) and the routing unit 350 of the standby board.

경로설정부(350)는 상기 Grant 신호를 받으면 이중화(duplication)가 되도록 호스트와 디스크 간, 호스트와 remote 간으로 경로설정을 한다.The route setting unit 350 sets a path between the host and the disk and between the host and the remote to receive the grant signal.

디스크 접근 마스킹부(320)는 상기 Grant 신호를 받으면 busy 비트의 masking을 해제한다.The disk access masking unit 320 releases the busy bit masking upon receiving the grant signal.

그리고 스탠바이 보드에 있는 경로설정부(미도시)는 상기 Grant 신호를 받으면 액티브 보드의 디스크 I/O가 자신의 디스크에서 수행되도록 경로를 설정한다.The path setting unit (not shown) on the standby board sets a path so that the disk I / O of the active board is performed on its own disk upon receiving the grant signal.

한편 액티브 보드 Host IDEC(30)는 상태레지트의 busy 비트의 마스킹이 해제된 것을 확인하면, 상기 설정된 경로에 따라 명령어(command) 및 데이터를 전송하는 등의 디스크 I/O 작업을 한다.On the other hand, when the active board Host IDEC 30 confirms that the busy bit of the status register has been released, the active board Host IDEC 30 performs disk I / O operations such as transmitting a command and data according to the set path.

액티브보드 및 스탠바이보드의 각 디스크에서는 상기 디스크 I/O 작업이 완료되면 인터럽트를 출력한다. 상기 인터럽트는 동기부(330)에 입력된다. 동기부(330)는 상기 인터럽트들을 논리곱(logic AND)하여 디스크의 동기를 맞추고, 양쪽 디스크에서의 I/O 작업이 끝나면, 호스트 IDEC(30)로 디스크 I/O가 끝났음을 알린다.Each disk of the active board and the standby board outputs an interrupt when the disk I / O operation is completed. The interrupt is input to the synchronizer 330. The synchronizer 330 logically ANDs the interrupts to synchronize the disks, and when the I / O operations on both disks are completed, the synchronizer 330 notifies the host IDEC 30 that the disk I / O is finished.

호스트 IDEC(30)는 상기 동기부(330)로부터 디스크 I/O의 완료신호를 받으면, 상태레지스터를 독출하여 상태 레지스터의 작업완료 비트를 체크한다. 작업이 완료되었으면 디스크 driver(300)는 디스크 I/O 작업의 종료를 알리는 고유의 동작을 한다. 만일 작업이 완료되지 않았으면 재시도하거나 바로 종료한다. 이는 사용자의 편의에 따라 결정될 문제이다.When the host IDEC 30 receives the completion signal of the disk I / O from the synchronizer 330, the host IDEC 30 reads the status register to check the work completion bit of the status register. When the operation is completed, the disk driver 300 performs a unique operation for notifying the end of the disk I / O operation. If the task is not completed, retry or exit immediately. This is a problem to be determined according to the user's convenience.

호스트모니터(310)는 디스크 I/O의 종료 고유동작을 검출하면 버스중재기(340)로 요구한 버스요구신호(REQ)를 디스에이블한다. 그러면 버스중재기(340)는 Grant 신호를 디스에이블 함으로써 작업을 완료한다.The host monitor 310 disables the bus request signal REQ requested by the bus intermediator 340 when detecting the end unique operation of the disk I / O. The bus intermediator 340 then completes the task by disabling the grant signal.

한편, 두 번째 동작모드인 스탠바이 보드 host에서의 DISK I/O를 설명하기로 한다. 이는 상기 첫 번째 동작모드인 액티브 보드 호스트에서의 DISK I/O와 몇가지 점에서만 차이가 나고 나머지는 유사하다. 차이나는 점은 호스트모니터(310)가 버스요구를 하면 상기 버스요구신호(REQ)는 액티브보드의 버스중재기로 전달된다.그리고 두 번째 모드는 스탠바이보드 내에서의 읽기 이므로 경로설정부(350)에서의 경로설정이 스탠바이보드 내에서의 호스트와 디스크간의 경로설정이 된다. 따라서 동기부는 바이패스된다.Meanwhile, the DISK I / O on the standby board host, which is the second operation mode, will be described. This differs only in a few ways from DISK I / O in the active board host, the first mode of operation, and the others are similar. The difference is that when the host monitor 310 requests a bus, the bus request signal REQ is transmitted to the bus intermediator of the active board. Since the second mode is a read in the standby board, the routing unit 350 Routing in the host is the path between the host and disk in the standby board. Thus, the synchronization unit is bypassed.

상술한 구성과 동작을 통해서 본 발명은 IDE 디스크와 호환이 가능하다. 즉 쌍(Pair)으로 구성되면 EDM 자체적으로 디스크의 이중화 기능이 가능하다. 액티브 모드하에서 디스크 쓰기 액세스를 하면 자신의 디스크와 스탠바이 쪽의 디스크 모두에 쓰기를 수행한다. 그리고 액티브 모드하에서 읽기 액세스는 자신의 디스크에서 읽기를 수행한다. 스탠바이 모드하에서의 모든 액세스는 자신의 디스크에서 수행한다.Through the above-described configuration and operation, the present invention is compatible with the IDE disk. In other words, when paired, EDM itself enables disk redundancy. Disk write access in active mode writes to both its own disk and the disk on the standby side. In active mode, read access reads from its disk. All access under standby mode is done on its own disk.

이상에서 본 발명의 기능을 개략적으로 기술하면 다음과 같다. 투명성(transparancy)을 가진다. 즉 호스트 IDE버스가 액세스하는 디스크 IO를 자신의 디스크로 투명하게 전달한다.The function of the present invention is briefly described as follows. It has transparency. In other words, the disk IO accessed by the host IDE bus is transparently transferred to its own disk.

이중화가 가능한다. 즉 EDM이 액티브 모드로 동작하는 경우 호스트 IDE 보스의 디스크 IO를 자신의 디스크와 Remote IDE 버스로 동일하게 전달한다. 여러개의 버스 사이클로 구성되는 디스크 I/O단위로 이중화(Mirroring)을 구현한다.Redundancy is possible. In other words, when EDM is operating in active mode, it forwards the disk IO of the host IDE boss to its own disk and to the Remote IDE bus. Mirroring is implemented in disk I / O units consisting of several bus cycles.

중재에 있어서, EDM이 액티브모드로 동작하는 경우 호스트IDE버스가 디스크 Write를 하면 이들 자신의 디스크에도 쓰기를 하지만 동시에 Remote IDE 버스에 있는 스탠바이 디스크에도 쓰기를 한다. 이 경우 스탠바이 모둘과 중재과정이 선행된다.In mediation, when EDM is running in active mode, the host IDE bus writes to its own disk, but at the same time to the standby disk on the Remote IDE bus. In this case, the standby module and the arbitration process are preceded.

스탠바이 Write를 지원한다. EDM이 스탠바이 모드로 동작하는 경우 RemoteIDE 버스를 통하여 전달되는 이중화 쓰기 동작을 자신의 디스크로 쓰게한다.Standby Write is supported. When the EDM is operating in standby mode, it writes its own disk to the redundant write operation that is sent through the RemoteIDE bus.

한편, 상술한 본 발명은 액티브보드 및 스탠바이보드에서 호스트모듈과의 접속으로 IDE버스를 일예로 들어 설명을 하였다. 그러나 상기 IDE 버스는 68K 프로세서 버스나 PCI 버스 또는 다른 버스로 대체가능하다. 즉 버스 인터페이스만 만들어 추가하면 IDE가 아닌 다른 버스 인터페이스도 본 발명에 포함된다. 상기 버스인터페이스는 본 발명이 속하는 분야의 당업자라면 용이하게 실시할 수 있으므로 여기서 별도의 설명은 하지 않고, 이로 인해 본 발명이 제한되지 않음은 분명하다 할 것이다.On the other hand, the present invention has been described by taking an IDE bus as an example by connecting to the host module in the active board and standby board. However, the IDE bus can be replaced with a 68K processor bus, a PCI bus or another bus. That is, if only the bus interface is created and added, other bus interfaces other than the IDE are included in the present invention. Since the bus interface can be easily implemented by those skilled in the art to which the present invention pertains, no separate description will be made herein, and thus the present invention is not limited thereto.

본 발명에 의하면, 메모리의 이중화와 동일한 동작이 디스크에 대해서도 하드웨어적으로 이루어진다. 따라서 액티브/스탠바이(active/standby) 두 가지 모드로 동작이 가능하다.According to the present invention, the same operation as that of duplication of the memory is performed in hardware for the disk. Therefore, it can be operated in two modes, active / standby.

또한 과금정보와 같이 큰 용량의 디스크가 필요한 경우에라도 별도의 보드에 전원장치를 하고 SCSI 콘트롤러를 통해 액세스할 필요없이, 하나의 보드 내에 실장할 수 있다. 이에 따라 결과적으로 공간이 절약되고 비용을 대폭 절감할 수 있다.In addition, even if a large capacity disk is required, such as billing information, it can be mounted on a single board without the need to power a separate board and access it through a SCSI controller. The result is space savings and significant cost savings.

Claims (1)

적어도 하나의 액티브 보드 및 상기 액티브 보드의 결함 발생시 액티브보드로 동작하는 스탠바이 보드를 구비하고, 상기 액티브 보드 및 스탠바이 보드 각각은 장탈착 가능한 디스크를 포함하며, 상기 액티브보드 및 스탠바이 보드는 버스를 통해 서로 연결되는 통신시스템에 있어서, 상기 액티브 보드 및 스탠바이 보드의 상기 디스크 제어 블록을 호스트라 할 때,At least one active board and a standby board operating as an active board in the event of a failure of the active board, each of the active board and the standby board includes a removable disk, and the active board and the standby board are connected to each other through a bus. In the communication system to be connected, when the disk control block of the active board and the standby board is called a host, 호스트의 디스크 입출력동작이 시작되면 버스사용을 요청하고, 디스크 입출력동작이 종료되면 버스사용 요청을 중지하는 호스트모니터;A host monitor requesting the use of a bus when the disk input / output operation of the host is started, and stopping the request of the bus when the disk input / output operation is terminated; 액티브모드로 동작하는 호스트모니터의 버스 요청과 스탠바이모드로 동작하는 호스트모니터의 버스요청에 대해 버스사용을 중재하는 버스중재기;A bus arbitrator that arbitrates bus use for a bus request of a host monitor operating in an active mode and a bus request of a host monitor operating in a standby mode; 상기 버스중재기에서 버스 사용이 허가되지 않으면, 디스크의 접근을 막고 있다가 상기 버스사용이 허가되면 디스크의 접근을 허용하는 디스크접근 마스킹부;A disk access masking unit for preventing access to a disk if the bus is not used in the bus intermediator, and allowing the disk to be accessed when the bus is permitted; 상기 버스중재기에서 버스 사용이 허가되면, 호스트와 디스크간의 데이터 경로를 설정하는 경로설정부;A route setting unit configured to set a data path between a host and a disk when a bus is permitted in the bus intermediator; 상기 경로설정부를 통해 설정된 경로에 따라 이루어지는 상기 액티브보드 및 스탠바이보드의 디스크 입출력 동작의 동기를 맞추는 동기부; 및A synchronization unit for synchronizing disk input / output operations of the active board and the standby board according to a path set through the path setting unit; And 호스트의 디스크 입출력작업의 시작을 알리고, 상기 마스킹의 상태에 따라 디스크 입출력작업의 진행을 제어하고, 상기 동기부에서의 동기상태와 디스크 입출력동작의 정상완료 여부에 따라 디스크 입출력작업의 종료를 알리는 디스크드라이버를 포함함을 특징으로 하는 통신시스템에서의 이중화 저장장치.A disk for notifying the start of a disk I / O operation of a host, controlling the progress of the disk I / O operation according to the masking state, and notifying the end of the disk I / O operation according to the synchronization state of the synchronization unit and whether the disk I / O operation is normally completed. Redundant storage in a communication system comprising a driver.
KR1019990057900A 1999-12-15 1999-12-15 Dual storage apparatus in communication system KR100348566B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990057900A KR100348566B1 (en) 1999-12-15 1999-12-15 Dual storage apparatus in communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990057900A KR100348566B1 (en) 1999-12-15 1999-12-15 Dual storage apparatus in communication system

Publications (2)

Publication Number Publication Date
KR20010056444A KR20010056444A (en) 2001-07-04
KR100348566B1 true KR100348566B1 (en) 2002-08-14

Family

ID=19626037

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990057900A KR100348566B1 (en) 1999-12-15 1999-12-15 Dual storage apparatus in communication system

Country Status (1)

Country Link
KR (1) KR100348566B1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07281840A (en) * 1994-04-14 1995-10-27 Ibm Japan Ltd Dual-disk recording device
JPH07302173A (en) * 1994-05-09 1995-11-14 Mitsubishi Electric Corp Data access device and distributed database system
JPH09160724A (en) * 1995-12-05 1997-06-20 Internatl Business Mach Corp <Ibm> Information processor
KR19980046492A (en) * 1996-12-12 1998-09-15 정장호 Redundancy Control Device of Accumulator in Communication Processing System
KR19980052699A (en) * 1996-12-24 1998-09-25 김광호 Data storage device with redundant structure
KR19980061785A (en) * 1996-12-31 1998-10-07 유기범 Redundant Circuit of Network Management Board in ATM Switching System
JPH10293656A (en) * 1997-04-21 1998-11-04 Toshiba Corp Disk storage system and duplexing method applied to the storage system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07281840A (en) * 1994-04-14 1995-10-27 Ibm Japan Ltd Dual-disk recording device
JPH07302173A (en) * 1994-05-09 1995-11-14 Mitsubishi Electric Corp Data access device and distributed database system
JPH09160724A (en) * 1995-12-05 1997-06-20 Internatl Business Mach Corp <Ibm> Information processor
KR19980046492A (en) * 1996-12-12 1998-09-15 정장호 Redundancy Control Device of Accumulator in Communication Processing System
KR19980052699A (en) * 1996-12-24 1998-09-25 김광호 Data storage device with redundant structure
KR19980061785A (en) * 1996-12-31 1998-10-07 유기범 Redundant Circuit of Network Management Board in ATM Switching System
JPH10293656A (en) * 1997-04-21 1998-11-04 Toshiba Corp Disk storage system and duplexing method applied to the storage system

Also Published As

Publication number Publication date
KR20010056444A (en) 2001-07-04

Similar Documents

Publication Publication Date Title
US8089487B2 (en) Storage control device and storage system
JP3628777B2 (en) External storage device
JP3732869B2 (en) External storage device
JP3136036B2 (en) Control method of disk controller
US5255367A (en) Fault tolerant, synchronized twin computer system with error checking of I/O communication
US4958273A (en) Multiprocessor system architecture with high availability
US6122685A (en) System for improving the performance of a disk storage device by reconfiguring a logical volume of data in response to the type of operations being performed
JP3772369B2 (en) Storage subsystem
WO2003030006A9 (en) Controller data sharing using a modular dma architecture
JPH06214782A (en) System and method for introduction of processor control code
JPH07244634A (en) External storage control unit and bus switching control method
KR0175742B1 (en) Operation separable high-speed data transmission apparatus in duplication system
KR100348566B1 (en) Dual storage apparatus in communication system
JP2006114064A (en) Storage subsystem
CN1363998A (en) Duplex equipment and method for large scale system
KR100331042B1 (en) Dual storage apparatus in communication system
JP3515495B2 (en) Disk control device and control method thereof
JP2966966B2 (en) Redundant device for programmable controller
JP3124201B2 (en) I / O control unit
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
KR100235884B1 (en) Method for connecting hard disk and duplexing host in the communication system
JPH0727468B2 (en) Redundant information processing device
JPH041845A (en) Adaptor access system for multiplex system
KR20030068663A (en) Apparatus and method for synchronization of non-volatile memory information between duplexing board
KR100380328B1 (en) Down prevention device at board disconnection of exchange system

Legal Events

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

Payment date: 20080717

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee