KR100442664B1 - Method for managing an operation package of a switching system, especially concerned with backing up a database to be changed and booting the backed-up database in a switching system having dualized hard disks - Google Patents
Method for managing an operation package of a switching system, especially concerned with backing up a database to be changed and booting the backed-up database in a switching system having dualized hard disks Download PDFInfo
- Publication number
- KR100442664B1 KR100442664B1 KR1019970031905A KR19970031905A KR100442664B1 KR 100442664 B1 KR100442664 B1 KR 100442664B1 KR 1019970031905 A KR1019970031905 A KR 1019970031905A KR 19970031905 A KR19970031905 A KR 19970031905A KR 100442664 B1 KR100442664 B1 KR 100442664B1
- Authority
- KR
- South Korea
- Prior art keywords
- database
- hard disk
- switching system
- hdd
- booting
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1471—Saving, restoring, recovering or retrying involving logging of persistent data for recovery
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/80—Database-specific techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
본 발명은 교환시스템의 운용 패키지를 관리하는 방법에 관한 것으로, 특히 이중화된 하드디스크를 가지는 교환시스템에서 변경을 위한 데이터베이스를 백업하고 그 백업된 데이터베이스를 부팅하는 방법에 관한 것이다.The present invention relates to a method of managing an operational package of a switching system, and more particularly, to a method of backing up a database for change and booting the backed up database in a switching system having a redundant hard disk.
일반적으로 교환시스템은 그 기능에 따라 가입자 처리부와, 주처리부와, 입출력처리부와 같은 구성요소들로 구분할 수 있으며, 부가적으로 교환시스템의 프로그램 및 데이터베이스를 저장하고 있는 매체로 더 구분할 수 있다. 이러한 교환시스템의 저장매체로는 통상 하드디스크(Hard Disk Drive: 이하 "HDD"라 칭함)가 이용되고 있다.In general, the switching system may be divided into components such as a subscriber processing unit, a main processing unit, and an input / output processing unit according to its function, and may be further divided into media storing programs and databases of the switching system. As a storage medium of such an exchange system, a hard disk drive (hereinafter referred to as "HDD") is generally used.
한편 대부분의 교환시스템에서는 보다 신뢰성있는 데이터의 관리를 위해 이중화된 구조의 HDD를 채용하여 이용하고 있는 추세에 있다. 이러한 기술, 즉 교환시스템에 이중화된 HDD를 채용하는 기술은 본원 출원인에 의해 선출원된 대한민국 특허출원 제92-761호 제목 "화일의 이중화 관리방법"하에 상세하게 개시되어 있는 바와 같이 이미 널리 이용되고 있는 기술이다.On the other hand, most exchange systems tend to adopt a dual structured HDD for more reliable data management. This technique, that is, a technique employing a redundant HDD in an exchange system, is already widely used as disclosed in detail under the Korean Patent Application No. 92-761 entitled "File Redundancy Management Method" filed by the applicant of the present application. Technology.
도 1은 이중화된 HDD를 가지는 교환시스템의 구성을 보여주는 도면이다. 도 1에서 주처리부 20은 입출력 처리부 40에 연결된 HDD에 저장되어 있는 프로그램 및 데이터베이스(이하 "패키지"라 칭함)를 입출력 처리부 40을 통하여 주처리부 20의 메모리인 DRAM(Dynamic Random Access Memory) 30에 읽어 들임으로써 교환시스템을 동작시키게 된다. 이러한 동작은 널리 알려진 바와 같이 부팅(booting)이라고 불리우는 동작이다. 부팅동작시 이중화된 HDD A 51, HDD B 52에 저장된 교환시스템 운용 패키지의 버전(version)이 동일할 경우에는 액티브(Active) HDD인 HDD 51에 저장되어 있는 운용 패키지를 부팅하게 된다.1 is a diagram showing the configuration of an exchange system having a redundant HDD. In FIG. 1, the
한편 이중화된 HDD에 존재하는 시스템의 패키지가 동일 버전이라 할지라도 교환시스템 운용중에 변경된 데이터베이스의 내용이 서로 다를 수 있다. 즉, 데이터베이스 백업(back-up) 도중에 이중화된 HDD중 어느 한 HDD의 장애 또는 입출력 처리부 40 자체의 비정상적인 중단(Restart) 등의 이유로 이중화된 HDD중 어느 한 HDD에는 데이터베이스 백업이 되지 않는 상황이 발생할 수 있다. 이러한 상태에서 시스템을 다시 부팅하는 경우에는 최근에 변경/백업된 데이터베이스가 저장되어 있는 HDD로부터 부팅되지 않고 무조건 Active HDD로부터 부팅이 되기 때문에 최근에 수정된 데이터베이스가 유실되는 문제가 발생한다. 이러한 데이터베이스의 유실은 시스템 운용에 반영되지 않기 때문에 결과적으로 교환시스템에서 효율적인 데이터베이스 관리를 할 수 없다는 문제점을 야기시킨다.On the other hand, even if the package of the system in the redundant HDD is the same version, the contents of the database changed during the operation of the switching system may be different. That is, a database backup may not occur on any one of the redundant HDDs due to a failure of one of the redundant HDDs or an abnormal restart of the I /
따라서 본 발명의 목적은 이중화된 HDD를 가지는 교환시스템에서 데이터베이스가 유실됨을 방지하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for preventing a database from being lost in an exchange system having a redundant HDD.
본 발명의 다른 목적은 이중화된 HDD를 가지는 교환시스템에서 효율적인 데이터베이스 관리를 가능하게 하는 방법을 제공함에 있다.Another object of the present invention is to provide a method for enabling efficient database management in a switching system having a redundant HDD.
이러한 목적들을 달성하기 위한 본 발명은 이중화된 HDD로부터 시스템 운용패키지를 부팅함에 있어서 동일 버전의 패키지가 Active HDD, StandBy HDD에 저장되어 있다 할지라도 데이터베이스가 백업된 시간을 검사하여 최근에 백업된 데이터베이스가 저장된 HDD로부터 부팅되도록 하는 방법을 제시한다. 이에 따라 본 발명은 시스템 운용중 가장 최근에 변경/백업된 데이터베이스를 유실없이 부팅할 수 있도록 하여 효율적인 데이터 관리를 가능하게 한다.In order to achieve the above object, the present invention provides a method of booting a system operation package from a redundant HDD, even if the same version of the package is stored in an Active HDD or a StandBy HDD. It suggests how to boot from a stored HDD. Accordingly, the present invention enables efficient data management by allowing the most recently changed / backup database to be booted without loss.
도 1은 본 발명이 적용되는 이중화된 하드디스크를 가지는 교환시스템의 구성을 보여주는 도면.1 is a view showing the configuration of an exchange system having a redundant hard disk to which the present invention is applied.
도 2는 본 발명에 따른 동작을 위해 구조되는 하드디스크의 디스크정보영역을 보여주는 도면.2 illustrates a disk information area of a hard disk structured for operation according to the present invention.
도 3은 본 발명에 따라 변경을 위한 데이터베이스를 백업 처리하는 흐름을 보여주는 도면.3 is a flowchart illustrating a process of backing up a database for change according to the present invention.
도 4는 본 발명에 따라 변경된 데이터베이스를 부팅 처리하는 흐름을 보여주는 도면.4 is a flowchart illustrating a process of booting a modified database according to the present invention.
이하 본 발명의 바람직한 실시예의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의내려진 용어들로서 이는 사용자 또는 칩설계자의 의도 또는 관례 등에 따라 달라질 수 있으므로, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings. 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. In addition, the terms to be described below are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of the user or chip designer, and the definitions should be made based on the contents throughout the present specification.
도 2는 본 발명에 따른 데이터베이스 관리 동작을 위해 도 1의 Active HDD 51과, StandBy HDD 52에 구조되는 디스크정보영역(Disk Information Area)을 보여주는 도면이다. 이러한 디스크정보영역은 Active HDD 51과, StandBy HDD 52의 각 첫 번째 영역(sector)에 구조된다.FIG. 2 is a diagram illustrating a disk information area structured in the
도 2를 참조하면, 디스크정보영역은 디스크 아이디 마크(Disk ID Mark)가 저장되는 영역(oh∼10h)과, Active(or StandBy) HDD ID가 저장되는 영역(10h∼20h)과, 디스크섹터(Disk Sector) 제어정보가 저장되는 영역(20h∼30h)과, 파일(file) 제어정보가 저장되는 영역(30h∼40h)과, 시스템 패키지 버전 번호가 저장되는 영역(40h∼50h)과, 시스템 패키지 버전 날짜가 저장되는 영역(50h∼60h)과, 데이터베이스 백업시간이 저장되는 영역(60h∼70h)으로 구조된다.Referring to FIG. 2, the disk information area includes an area (oh to 10h) where a disk ID mark is stored, an area (10h to 20h) where an active (or standby) HDD ID is stored, and a disk sector ( Disk Sector)
본 발명에 따른 데이터베이스 관리 동작은 변경을 위한 데이터베이스를 백업시키는 동작과, 백업된 데이터베이스의 내용을 읽어들여 부팅하는 동작으로 나누어진다. 데이터베이스의 백업 및 부팅 동작은 도 3 및 도 4에 도시된 바와 같은 흐름에 따라 수행된다.The database management operation according to the present invention is divided into an operation of backing up a database for change and an operation of reading and booting the contents of the backed up database. Backup and boot operations of the database are performed according to the flow as shown in FIGS. 3 and 4.
도 3은 본 발명에 따라 변경을 위한 데이터베이스를 백업 처리하는 흐름을 보여주는 도면이다. 이러한 처리흐름에 따른 프로그램은 도 1에 도시된 DRAM 30에 저장되게 된다.3 is a flowchart illustrating a process of backing up a database for change according to the present invention. The program according to this processing flow is stored in the
도 3을 참조하면, 데이터베이스의 백업 동작시 도 1의 주처리부 20은 우선 301단계에서 데이터베이스를 변경하고, 302단계에서 변경된 데이터베이스 내용을 입출력 처리부 40으로 송신한다. 입출력 처리부 40은 303단계에서 변경된 데이터베이스 내용을 Active HDD 51과, StandBy HDD 52에 백업시킨다. 상기 입출력 처리부 40은 변경된 데이터베이스 내용을 백업시킴과 동시에 304단계에서 Active HDD 51과, StandBy HDD 52의 디스크정보영역에 데이터베이스 백업시간을 기록한다. 이에 따라 도 2에 도시된 바와 같은 Active HDD 51과, StandBy HDD 52의 각 디스크정보영역중 60h∼70h영역에는 변경된 데이터베이스 내용이 백업된 시간이 기록되게 된다.Referring to FIG. 3, in the backup operation of the database, the
도 4는 본 발명에 따라 변경된 데이터베이스를 부팅 처리하는 흐름을 보여주는 도면이다. 이러한 처리흐름에 따른 프로그램은 도 1에 도시된 DRAM 30에 저장되게 된다.4 is a flowchart illustrating a process of booting a modified database according to the present invention. The program according to this processing flow is stored in the
도 4를 참조하면, 변경된 데이터베이스의 부팅시 주처리부 20은 우선 401단계에서 입출력 처리부 40으로 부팅요구를 하게 된다. 그러면 입출력 처리부 40은 402단계에서 Active HDD 51과, StandBy HDD 52의 디스크정보영역을 조회하고, 403단계에서 시스템 패키지의 버전번호를 검색한다. 이때 두 HDD이 시스템 패키지 버전번호가 동일한 경우에는 404단계의 동작을 수행하고, 동일하지 않은 경우에는 405단계의 동작을 수행한다. 404단계에서 입출력 처리부 40은 각 HDD의 디스크정보영역을 조회하여 데이터베이스 백업시간을 검색한 후 최근 데이터베이스가 백업된 HDD를 선정한다. 405단계에서 입출력 처리부 40은 각 HDD의 디스크정보영역을 조회하여 패키지 버전 날짜를 검색한 후 최근 버전의 패키지가 저장되어 있는 HDD를 선정한다. 상기 404단계 및 405단계를 수행한 후에 406단계에서 입출력 처리부 40은 이전 단계에서 선정된 HDD에서 패키지 데이터를 읽어들여 주처리부 20으로 송신한다. 이에 따라 주처리부 20은 패키지 데이터를 수신하여 부팅동작을 수행한다.Referring to FIG. 4, when booting the changed database, the
상술한 바와 같이 본 발명은 이중화된 HDD로부터 시스템 패키지를 부팅함에 있어서 동일 버전의 패키지가 Active HDD 51, StandBy HDD 52에 저장되어 있다 할지라도 데이터베이스가 백업된 시간을 검사하여 최근에 백업된 데이터베이스가 저장된 HDD로부터 부팅을 수행한다. 이에 따라 시스템 운용중 가장 최근에 변경/백업된 데이터베이스를 유실없이 부팅할 수 있으며, 결과적으로 데이터베이스를 효율적으로 관리할 수 있다는 이점이 있다.As described above, in the present invention, when booting a system package from a redundant HDD, even if the same version of the package is stored in the Active HDD 51 and the StandBy HDD 52, the latest backup database is stored by checking the time when the database is backed up. Boot from the HDD. As a result, the most recently changed / backup database can be booted without losing the system, resulting in an efficient database management.
한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도내에서 여러가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 않되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made 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 scope of the following claims, but also by the equivalents of the claims.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970031905A KR100442664B1 (en) | 1997-07-10 | 1997-07-10 | Method for managing an operation package of a switching system, especially concerned with backing up a database to be changed and booting the backed-up database in a switching system having dualized hard disks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970031905A KR100442664B1 (en) | 1997-07-10 | 1997-07-10 | Method for managing an operation package of a switching system, especially concerned with backing up a database to be changed and booting the backed-up database in a switching system having dualized hard disks |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990009485A KR19990009485A (en) | 1999-02-05 |
KR100442664B1 true KR100442664B1 (en) | 2004-09-18 |
Family
ID=37357600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970031905A KR100442664B1 (en) | 1997-07-10 | 1997-07-10 | Method for managing an operation package of a switching system, especially concerned with backing up a database to be changed and booting the backed-up database in a switching system having dualized hard disks |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100442664B1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR910019371A (en) * | 1990-04-19 | 1991-11-30 | 정용문 | Hard Disk Redundancy Method of Automatic Voice Answering Device |
JPH05143248A (en) * | 1991-11-18 | 1993-06-11 | Fujitsu Ltd | Data backup system for semiconductor disk device |
JPH05153643A (en) * | 1991-11-28 | 1993-06-18 | Toshiba Corp | Electronic private branch exchange |
US5321826A (en) * | 1990-11-30 | 1994-06-14 | Kabushiki Kaisha Toshiba | Disk control system in which spare disk and master disks are dynamically exchanged |
JPH09146848A (en) * | 1995-11-16 | 1997-06-06 | Omron Corp | Automatic control method, device therefor and transaction processor |
KR100210790B1 (en) * | 1996-11-26 | 1999-07-15 | 유기범 | Method for testing doubling apparatus in full electronic switching system |
-
1997
- 1997-07-10 KR KR1019970031905A patent/KR100442664B1/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR910019371A (en) * | 1990-04-19 | 1991-11-30 | 정용문 | Hard Disk Redundancy Method of Automatic Voice Answering Device |
US5321826A (en) * | 1990-11-30 | 1994-06-14 | Kabushiki Kaisha Toshiba | Disk control system in which spare disk and master disks are dynamically exchanged |
JPH05143248A (en) * | 1991-11-18 | 1993-06-11 | Fujitsu Ltd | Data backup system for semiconductor disk device |
JPH05153643A (en) * | 1991-11-28 | 1993-06-18 | Toshiba Corp | Electronic private branch exchange |
JPH09146848A (en) * | 1995-11-16 | 1997-06-06 | Omron Corp | Automatic control method, device therefor and transaction processor |
KR100210790B1 (en) * | 1996-11-26 | 1999-07-15 | 유기범 | Method for testing doubling apparatus in full electronic switching system |
Also Published As
Publication number | Publication date |
---|---|
KR19990009485A (en) | 1999-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6560617B1 (en) | Operation of a standby server to preserve data stored by a network server | |
US7152184B2 (en) | Storage device, backup method and computer program code of this storage device | |
US8074035B1 (en) | System and method for using multivolume snapshots for online data backup | |
US5086502A (en) | Method of operating a data processing system | |
US6205558B1 (en) | Recovery of file systems after modification failure | |
EP0786111B1 (en) | Snapshot of data stored on a mass storage system | |
US6907505B2 (en) | Immediately available, statically allocated, full-logical-unit copy with a transient, snapshot-copy-like intermediate stage | |
US8032707B2 (en) | Managing cache data and metadata | |
US5089958A (en) | Fault tolerant computer backup system | |
US5497483A (en) | Method and system for track transfer control during concurrent copy operations in a data processing storage subsystem | |
US7281160B2 (en) | Rapid regeneration of failed disk sector in a distributed database system | |
US7363540B2 (en) | Transaction-safe FAT file system improvements | |
US6799244B2 (en) | Storage control unit with a volatile cache and a non-volatile backup cache for processing read and write requests | |
US6766491B2 (en) | Parity mirroring between controllers in an active-active controller pair | |
US7174420B2 (en) | Transaction-safe FAT file system | |
CN102012852B (en) | Method for implementing incremental snapshots-on-write | |
EP0869436A2 (en) | Method of storing data in a redundant array of disks and redundant array of disks | |
KR950014175B1 (en) | Method and means for time zero backup copying of data | |
US6944789B2 (en) | Method and apparatus for data backup and recovery | |
US20100115310A1 (en) | Disk array apparatus | |
US20050033933A1 (en) | Systems and methods for modifying disk drive firmware in a raid storage system | |
US7263581B2 (en) | System and method for accessing and verifying the validity of data content stored in the cache memory on disk | |
KR100442664B1 (en) | Method for managing an operation package of a switching system, especially concerned with backing up a database to be changed and booting the backed-up database in a switching system having dualized hard disks | |
JP4390618B2 (en) | Database reorganization program, database reorganization method, and database reorganization apparatus | |
JPH09212424A (en) | Disk cache and disk caching method |
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: 20120628 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20130627 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |