KR100307925B1 - Data Back-up Method of the Switching System - Google Patents

Data Back-up Method of the Switching System Download PDF

Info

Publication number
KR100307925B1
KR100307925B1 KR1019990039407A KR19990039407A KR100307925B1 KR 100307925 B1 KR100307925 B1 KR 100307925B1 KR 1019990039407 A KR1019990039407 A KR 1019990039407A KR 19990039407 A KR19990039407 A KR 19990039407A KR 100307925 B1 KR100307925 B1 KR 100307925B1
Authority
KR
South Korea
Prior art keywords
disk
backup
dbms
hold
pld
Prior art date
Application number
KR1019990039407A
Other languages
Korean (ko)
Other versions
KR20010027602A (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 KR1019990039407A priority Critical patent/KR100307925B1/en
Publication of KR20010027602A publication Critical patent/KR20010027602A/en
Application granted granted Critical
Publication of KR100307925B1 publication Critical patent/KR100307925B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • H04M3/241Arrangements for supervision, monitoring or testing with provision for checking the normal operation for stored program controlled exchanges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/554Data synchronization

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 교환기에서 데이터 백업 방법에 관한 것으로, 특히 교환기의 PLD(Processor Loading Data) 덤프(Dump) 시와 백업 시를 분리시켜 처리하도록 한 교환기에서 데이터 백업 방법에 관한 것이다.The present invention relates to a method for backing up data at an exchange, and more particularly, to a method for backing up data at an exchange for processing a PLD (Processor Loading Data) dump and a backup at the exchange.

본 발명의 방법은 운용자의 백업 요구 시에 DBMS 디스크 백업 홀드의 요청에 따라 DBMS 디스크 백업 홀드를 수행하는 과정과; 상기 DBMS 디스크 백업 홀드가 완료되면 중복 관련 동기를 수행한 후에 해당 중복 관련 동기가 완료되었는지를 확인하는 과정과; 원본의 PLD 파일을 다른 이름으로 디스크에 복사한 후에 상기 DBMS 디스크 백업 홀드를 해제하는 과정과; 상기 디스크에 복사된 PLD 파일을 원래 이름의 PLD 파일로 백업하는 과정을 포함하여 이루어진 것을 특징으로 한다. 다르게는, 본 발명의 다른 방법은 운용자의 백업 요구 시에 DBMS 디스크 백업 홀드의 요청에 따라 DBMS 디스크 백업 홀드를 수행하는 과정과; 상기 DBMS 디스크 백업 홀드가 완료되면 중복 관련 동기를 수행한 후에 해당 중복 관련 동기가 완료되었는지를 확인하는 과정과; 디스크의 이중화를 해제하여 활성화 디스크와 백업 디스크로 분리하는 과정과; 상기 DBMS 디스크 백업 홀드를 해제하여 상기 백업 디스크에서 PLD 파일을 백업하는 과정을 포함하여 이루어진 것을 특징으로 한다.The method of the present invention comprises the steps of performing a DBMS disk backup hold in response to a request of the DBMS disk backup hold when an operator requests a backup; When the DBMS disk backup hold is completed, performing duplication related synchronization and checking whether the duplication related synchronization is completed; Releasing the DBMS disk backup hold after copying the original PLD file to the disk under another name; And backing up the PLD file copied to the disk to a PLD file of an original name. Alternatively, another method of the present invention includes the step of performing a DBMS disk backup hold in response to a request of the DBMS disk backup hold when an operator requests a backup; When the DBMS disk backup hold is completed, performing duplication related synchronization and checking whether the duplication related synchronization is completed; De-duplicating the disk and separating the disk into an active disk and a backup disk; And releasing the DBMS disk backup hold to back up the PLD file from the backup disk.

Description

교환기에서 데이터 백업 방법 {Data Back-up Method of the Switching System}Data back-up method of the switching system

본 발명은 교환기에서 데이터 백업 방법에 관한 것으로, 특히 교환기의 PLD(Processor Loading Data) 덤프(Dump) 시와 백업 시를 분리시켜 처리하도록 한 교환기에서 데이터 백업 방법에 관한 것이다.The present invention relates to a method for backing up data at an exchange, and more particularly, to a method for backing up data at an exchange for processing a PLD (Processor Loading Data) dump and a backup at the exchange.

일반적으로 대부분의 교환기들은 프로세서(Processor) 별로 존재하는 교환기 운용 데이터(Data)인 PLD의 적용 및 보존을 위하여 MTU(Magnetic Tape Unit) 및 TCP/IP(Transmission Control Protocol/Internet Protocol)를 통한 원격 시스템(System)으로, 교환기 디스크(Disk)로 운용 데이터를 복사하는 기능인 덤프 및 교환기 디스크에 존재하는 운용 데이터를 보존 등의 기타 목적을 위하여 교환기 외부로 복사하는 기능인 백업을 수행하고 있다.In general, most exchanges have a remote system (MTU) and TCP / IP (Transmission Control Protocol / Internet Protocol) for the application and preservation of the PLD, which is the exchange operation data. System), which is a function of copying operation data to an exchange disk, and a backup function of copying operation data existing on the exchange disk to the outside of the exchange for preservation and other purposes.

상기 교환기의 운용 중에는 교환기의 운용 데이터의 변경이 자동 또는 운용자의 요구에 의해 빈번히 일어나게 되는데, 이때 변경된 운용 데이터는 DBMS(Database Management System)를 통하여 디스크에 있는 PLD에 변경 저장되어진다.During the operation of the exchange, the change of the operation data of the exchange occurs frequently or at the request of the operator. The changed operation data is changed and stored in the PLD on the disk through the DBMS (Database Management System).

그리고, 교환기의 덤프 시에는 동시에 디스크 PLD의 이중 억세스, 즉 덤프를 위한 PLD 억세스와 교환기 운용 데이터의 변경으로 인한 DBMS의 데이터베이스 업데이터 억세스가 발생하게 되므로, 안전을 위하여 DBMS의 디스크 백업을 중지하게 된다.At the same time, the dump of the exchange causes the double access of the disk PLD, that is, the PLD access for the dump and the database updater access of the DBMS due to the change of the exchange operation data. Therefore, the disk backup of the DBMS is stopped for safety.

또한, 교환기의 백업 시에는 이중 억세스 및 백업되는 PLD의 일치성 및 무결성을 위하여 DBMS의 디스크 백업을 중지한다. 여기서, 해당 PLD는 파일(File) 형태로 존재하게 되는데, 교환기 운용 중에는 계속적으로 변경이 일어나며, 이때 백업을 수행하게 되면 먼저 백업되는 PLD 파일의 앞부분에는 적용되지 않은 운용 데이터의 변경 내용이 시간이 지난 후에 백업되는 PLD 파일의 뒷부분에는 적용되는등의 백업되는 시간 차이로 인하여 문제점이 발생하게 된다.In addition, the backup of the exchange stops the disk backup of the DBMS for dual access and consistency and integrity of the backed up PLD. In this case, the PLD exists in the form of a file, and changes continuously occur during the operation of the exchange, and when the backup is performed, changes in the operational data that have not been applied to the front of the PLD file to be backed up first have passed. Problems occur due to the time difference being backed up, such as applied later in the PLD file backed up.

그러면, 종래 교환기에서 데이터 백업 방법을 도 1의 플로우챠트를 참고하여 다음과 같이 살펴본다.Then, a data backup method in the conventional exchange will be described as follows with reference to the flowchart of FIG. 1.

먼저, 운용자가 교환기의 백업을 요구하게 되면, 해당 백업 요구를 수신하여(단계 T1) 이중 억세스 및 백업되는 PLD의 일치성 및 무결성을 위하여 DBMS의 디스크 백업 금지를 요구하는데(단계 T2), 이에 해당 DBMS의 디스크 백업이 금지되었는지를 확인한다(단계 T3).First, when an operator requests a backup of the exchange, the user receives a backup request (step T1) and requests the DBMS to prohibit disk backup for dual access and consistency and integrity of the backed up PLD (step T2). Check whether the disk backup of the DBMS is prohibited (step T3).

이에, 상기 제3단계(T3)에서 DBMS의 디스크 백업이 금지되었을 경우, 교환기는 다수의 프로세서로 운용되게 되고 각 프로세서가 공통적으로 가지게 되는 공통 데이터베이스는 변경 시에 여러 번의 디스크 억세스해야 하는 비효율성을 감소시키기 위하여 한 개의 프로세서 PLD에만 변경 내용을 저장하게 되는데, 상기 백업 수행 시에는 해당 변경 내용을 나머지의 프로세서 PLD에도 동일하게 생성시켜 주는 중복 관련 동기(Relation Synchronization)를 수행하게 된다(단계 T4).Therefore, when the disk backup of the DBMS is prohibited in the third step (T3), the exchange is operated by a plurality of processors, and the common database that each processor has in common has the inefficiency of accessing a plurality of disks at the time of change. In order to reduce the number of changes, only one processor PLD is stored, and when performing the backup, a duplication related synchronization (Relation Synchronization) is performed to generate the same change in the remaining processor PLD (step T4).

그리고, 상기 중복 관련 동기가 정상적으로 완료되었는지를 확인하는데(단계 T5), 해당 제5단계(T5)에서 상기 중복 관련 동기가 정상적으로 완료되었다면 PLD 파일의 백업을 수행하게 되며(단계 T6), 상기 DBMS의 디스크 백업 금지를 해제시켜 준다(단계 T7).When the duplication related synchronization is completed normally (step T5), if the duplication related synchronization is normally completed in the fifth step (T5), a backup of the PLD file is performed (step T6). The disk backup is prohibited (step T7).

한편, 상기 제3단계(T3)에서 DBMS의 디스크 백업 금지가 이루어지지 않았거나 상기 제5단계(T5)에서 상기 중복 관련 동기가 정상적으로 완료되지 않았다면, 교환기의 백업 동작을 중지시켜 준다(단계 T8).On the other hand, if the backup of the DBMS is not prohibited in the third step T3 or if the duplication related synchronization is not normally completed in the fifth step T5, the backup operation of the exchange is stopped (step T8). .

상술한 바와 같이, 교환기의 운용 시에 교환기 소프트웨어 패키지(Software Package) 적용 및 보관 목적으로 MTU 및 TCP/IP의 파일 전송 기능을 이용하여 운용 데이터의 덤프 및 백업을 수행한다. 그리고, 해당 동작 수행 중에 PLD에는 교환기 운용에 필요한 DBMS 관련 데이터들이 존재하는데, 덤프 및 백업 시의 무결성과 안전성을 위하여 실시하게 되는 DBMS의 디스크 백업 금지 기능으로 교환기 운용상의 문제점이 발생하게 된다.As described above, a dump and backup of the operation data is performed by using the file transfer function of the MTU and TCP / IP for the purpose of applying and storing the exchange software package during the operation of the exchange. In addition, there are DBMS-related data required for the exchange operation in the PLD during the operation. The DBMS disk backup prohibition function, which is executed for the integrity and safety of dump and backup, causes problems in the operation of the exchange.

이와 같이, 종래의 방식은 디스크에 존재하는 PLD의 안정성과 덤프 시의 PLD 데이터의 일치성 및 무결성을 보장하지만 교환기 운용 데이터 변경을 위한 DBMS의 디스크 백업의 일시 중지로 인하여 자동적으로 변경되어야 할 장애 및 과금 관련 데이터의 변경을 수용하지 못 하여 교환기 운용에 에러를 초래하게 되는 문제점이 있었다.As such, the conventional scheme guarantees the stability of the PLD existing on the disk and the consistency and integrity of the PLD data at the time of dumping, but the failure to be changed automatically due to the suspension of the disk backup of the DBMS for changing the exchange operation data. There was a problem that the change of billing-related data could not be accepted, resulting in an error in the operation of the exchange.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 교환기의 PLD 백업 시에 교환기 운용 관리 방안에 대한 것으로, PLD의 덤프 시와 백업 시를 분리시켜 처리하도록 함으로써, 덤프 및 백업 시의 무결성과 안전성을 위하여 실시하게 되는 DBMS의 디스크 백업 금지 기능으로 발생하는 교환기 운용상의 문제점을 해결하는데 그 목적이 있다.The present invention relates to a switch management management method for PLD backup of the exchange to solve the above problems, and to handle the separation of the dump and backup of the PLD, for integrity and safety during dump and backup The purpose of this paper is to solve the problem of exchange operation caused by DBMS's disk backup prohibition function.

도 1은 종래 교환기에서 데이터 백업(Data Back-up) 방법을 나타낸 플로우챠트.1 is a flowchart illustrating a data back-up method in a conventional exchange.

도 2는 본 발명의 실시예에 따른 교환기에서 데이터 백업 방법을 나타낸 플로우챠트.2 is a flowchart illustrating a data backup method in an exchange according to an embodiment of the present invention.

도 3은 본 발명의 다른 실시예에 따른 교환기에서 데이터 백업 방법을 나타낸 플로우챠트.3 is a flowchart illustrating a data backup method in an exchange according to another embodiment of the present invention.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시예에 따른 교환기에서 데이터 백업 방법은 운용자의 백업 요구 시에 DBMS 디스크 백업 홀드의 요청에 따라 DBMS 디스크 백업 홀드를 수행하는 과정과; 상기 DBMS 디스크 백업 홀드가 완료되면 중복 관련 동기를 수행한 후에 해당 중복 관련 동기가 완료되었는지를 확인하는 과정과; 원본의 PLD 파일을 다른 이름으로 디스크에 복사한 후에 상기 DBMS 디스크 백업 홀드를 해제하는 과정과; 상기 디스크에 복사된 PLD 파일을 원래 이름의 PLD 파일로 백업하는 과정을 포함하여 이루어진 것을 특징으로 한다. 여기서, 상기 DBMS 디스크 백업 홀드 수행 과정은 현재까지 로그 버퍼에 쌓여 있는 로그를 디스크에 적용하는 단계와; 상기 로그를 디스크 적용한 후에 인가되는 DBMS의 변경 PLD을 로그 버퍼에 저장하는 단계를 포함하여 이루어진 것을 특징으로 한다.A data backup method in an exchange according to an embodiment of the present invention for achieving the above object comprises the steps of performing a DBMS disk backup hold in response to a request of the DBMS disk backup hold at the backup request of the operator; When the DBMS disk backup hold is completed, performing duplication related synchronization and checking whether the duplication related synchronization is completed; Releasing the DBMS disk backup hold after copying the original PLD file to the disk under another name; And backing up the PLD file copied to the disk to a PLD file of an original name. The DBMS disk backup hold may include applying a log accumulated in a log buffer to a disk; And storing the changed PLD of the DBMS applied to the log buffer after applying the log to the log buffer.

다르게는, 상술한 바와 같은 목적을 달성하기 위한 본 발명의 다른 실시예에 따른 교환기에서 데이터 백업 방법은 운용자의 백업 요구 시에 DBMS 디스크 백업 홀드의 요청에 따라 DBMS 디스크 백업 홀드를 수행하는 과정과; 상기 DBMS 디스크 백업 홀드가 완료되면 중복 관련 동기를 수행한 후에 해당 중복 관련 동기가 완료되었는지를 확인하는 과정과; 디스크의 이중화를 해제하여 활성화 디스크와 백업 디스크로 분리하는 과정과; 상기 DBMS 디스크 백업 홀드를 해제하여 상기 백업 디스크에서 PLD 파일을 백업하는 과정을 포함하여 이루어진 것을 특징으로 한다. 그리고, 상기 PLD 파일의 백업이 종료된 경우에 미러 복사(Mirror Copy)를 수행하여 상기 두 디스크를 다시 이중화로 운용하는 과정을 더 포함하여 이루어진 것을 특징으로 한다. 또한, 상기 활성화 디스크와 백업 디스크로 분리되는 시점부터 동시기록 기능을 해제하며, 상기 활성화 디스크를 교환기 운용에 사용하고 상기 백업 디스크를 백업에 사용하는 것을 특징으로 한다.Alternatively, the data backup method in the switch according to another embodiment of the present invention for achieving the above object comprises the steps of performing a DBMS disk backup hold in response to a request of the DBMS disk backup hold in the backup request of the operator; When the DBMS disk backup hold is completed, performing duplication related synchronization and checking whether the duplication related synchronization is completed; De-duplicating the disk and separating the disk into an active disk and a backup disk; And releasing the DBMS disk backup hold to back up the PLD file from the backup disk. When the backup of the PLD file is terminated, the method further includes performing a mirror copy to operate the two disks in redundancy again. In addition, the simultaneous recording function is released from the time point at which the activation disk and the backup disk are separated, and the activation disk is used for switching operation and the backup disk is used for backup.

본 발명은 교환기 운용 데이터의 백업 시에 DBMS의 디스크 백업 금지를 사용하지 않고 현재까지의 PLD 변경을 디스크에 반영한 후에 이후 수용되는 운용 데이터의 변경은 DBMS의 로그 버퍼에만 적용하면서 백업이 종료된 후 디스크에 순차적으로 적용하는 DBMS 디스크 백업 홀드 기능을 통한 PLD 백업 수행하도록 해 주며, 또한 DBMS의 디스크 백업 중단 시간을 감소시키기 위하여 원래의 PLD 파일을 다른 파일 이름으로 복사한 후에 DBMS 디스크 백업을 진행하고 복사된 PLD 파일을 원래 이름으로 백업하는 기능을 통한 PLD 백업을 수행하도록 해 주며, 다르게는 PLD 백업 시의 교환기 운용 데이터 변경을 완전하게 수용하기 위하여 이중화된 디스크를 이중화를 해제 분리하여 활성화 측(Active Side)은 교환기 운용에 사용하고 대기 측(Stand-by Side)은 백업에 사용한 후에 백업 종료 시에 미러 복사를 통하여 다시 이중화를 유지하는 방식을 통한 PLD 백업을 수행하도록 해 준다.The present invention does not use the DBMS disk backup prohibition at the time of backup of the exchange operation data and reflects the current PLD change to the disk. To perform PLD backup through DBMS disk backup hold function applied sequentially to the DBMS disk backup, and to copy DBMS disk backup after copying the original PLD file to another file name to reduce the disk backup downtime of the DBMS, PLD backup can be performed through the function of backing up the PLD file to its original name. Alternatively, the active side can be un-redundant to separate the redundant disk to fully accommodate the change of the exchanger operation data during the PLD backup. Is used for switchboard operation and the Stand-by Side is used for backup. At the end of the backup, PLD backup can be performed by maintaining mirror redundancy through mirror copy.

다시 말해서, 본 발명은 교환기 PLD의 덤프 시와 백업 시를 분리하여 다른 방식으로 각각 처리하도록 해 준다.In other words, the present invention allows for separate handling at the dump and backup of the exchange PLD.

첫 번째로, 상기 PLD의 덤프 시를 살펴보면, 연속적으로 운용되어야 할 교환기에 문제가 발생하여 중지한 후에 새로운 PLD로 다시 운용하거나 새로운 소프트웨어 패키지의 적용할 경우에 교환기 운용 데이터인 PLD가 새롭게 디스크에 덤프되는 동작을 수행하게 된다.First, when the PLD is dumped, the PLD, which is the operation data of the exchange, is newly dumped to the disk when a switch is to be operated continuously and a problem occurs after stopping and re-operating with a new PLD or applying a new software package. Will be performed.

그래서, 해당 덤프 시에는 기존과 마찬가지로 디스크의 PLD 데이터베이스 백업 변경을 종전과 동일하게 금지하며, 덤프 종료 시부터 디스크 PLD의 데이터베이스 백업을 허용하여 새롭게 교환기를 운용하도록 해 준다.Therefore, during the dump, the PLD database backup change of the disk is prohibited as before, and the database exchange of the disk PLD is allowed from the end of the dump so that a new exchanger can be operated.

두 번째로, 상기 PLD의 백업 시를 살펴보면, 상기 PLD의 백업은 연속적으로 중단 없이 운용 중인 교환기에 영향을 주지 않고 수행되어야 하므로 기본적으로 PLD의 DBMS 디스크 백업 중지는 수행하지 않는다. 이때, 문제가 되는 PLD 데이터의 일치성 보장을 위하여 일단 DBMS에서는 PLD의 DBMS 디스크 백업을 중지하는 대신에 운용 데이터의 변경을 수용하기 위하여 해당 프로세서의 데이터베이스 메모리(Database Memory)인 로그 버퍼(Log Buffer)에 변경 내용을 계속 저장해 놓는 디스크 백업 홀드(Disk Back-up Hold) 기능을 수행한다.Secondly, when looking at the backup of the PLD, the backup of the PLD should be performed without affecting the switch operating continuously without interruption, so the DBMS disk backup stop of the PLD is basically not performed. At this time, in order to ensure the consistency of the PLD data in question, the DBMS instead of stopping the DBMS disk backup of the PLD, the log buffer, which is the database memory of the corresponding processor, to accommodate the change of the operational data. Perform a disk back-up hold function that keeps your changes on the fly.

그리고, 차후에 PLD 백업이 종료된 후, 해당 디스크 백업 홀드 기능을 순차적으로 디스크 PLD에 적용시켜 주며, 해당 디스크 백업 홀드 기능이 종료되면 자동적으로 수행되어진다.After the PLD backup is ended, the disk backup hold function is sequentially applied to the disk PLD, and is automatically performed when the disk backup hold function is terminated.

그런데, 해당 방식은 DBMS에서 사용하는 한정적인 프로세서 메모리로 인하여 일정량 이상의 운용 데이터 변경 분까지만 수용이 가능하므로 다량의 운용 데이터 변경이 일어나는 경우에는 수용 한도 이상의 변경 분이 종래의 문제점과 같이 유실될 수도 있다.However, due to the limited processor memory used in the DBMS, the method can only accommodate up to a certain amount of operational data changes, and thus, when a large amount of operational data changes occur, changes over the acceptable limit may be lost as in the conventional problem.

그래서, 상술한 바와 같은 가능성을 방지하기 위하여 하기할 두 가지의 방법이 있는데, 첫 번째 방법으로는 기존의 문제점을 완전히 방지할 수는 없지만 간단하게 구현할 수 있고 운용할 수 있어 운용 데이터의 변경이 적은 시스템에 적용할수 있으며, 두 번째 방법으로는 첫 번째 방식보다 다소 복잡하나 기존의 문제점을 완전하게 해결할 수 있고 교환기의 운용 데이터의 변경이 다량으로 발생하는 시스템에 적당하다.Therefore, there are two ways to avoid the possibility as described above, but the first method can not completely prevent the existing problem, but can be easily implemented and operated, so that there is little change of operation data. Applicable to the system, the second method is somewhat more complicated than the first method, but it can solve the existing problem completely and is suitable for the system where a large amount of change of operation data of the exchange occurs.

첫 번째의 방법으로, 본 발명의 실시예에 따른 교환기에서 데이터 백업 방법을 도 2의 플로우챠트를 참고하여 설명하면 다음과 같다.As a first method, a data backup method in an exchange according to an embodiment of the present invention will be described with reference to the flowchart of FIG. 2 as follows.

먼저, 운용자가 교환기의 백업을 요구하게 되면, 해당 운용자의 백업 요구를 수신하여(단계 S1) 백업을 수행하기 위하여 DBMS의 디스크 백업 홀드를 요청하게 된다(단계 S2).First, when the operator requests the backup of the exchange, the manager receives the backup request of the operator (step S1) and requests the disk backup hold of the DBMS to perform the backup (step S2).

이에, 상기 디스크 백업 홀드의 요청을 수신한 DBMS에서는 현재까지 로그 버퍼에 쌓여 있는 로그를 디스크에 적용하고 이 후에 들어오는 DBMS 변경 분은 계속해서 로그 버퍼에만 쌓아 놓는 디스크 백업 홀드 기능을 수행한다(단계 S3). 이때, 해당 DBMS의 디스크 백업 홀드가 일어났을 경우에 비교적 장시간이 소요되는 백업 시간을 단축하기 위하여 비교적 적은 시간이 소요되는 디스크 복사를 이용한다.In response, the DBMS receiving the disk backup hold request applies the log accumulated in the log buffer to the disk, and performs a disk backup hold function in which incoming DBMS changes continue to be accumulated only in the log buffer (step S3). ). In this case, when a disk backup hold of the DBMS occurs, a disk copy that takes a relatively short time is used to shorten a backup time that takes a relatively long time.

그리고, 상기 DBMS의 디스크 백업 홀드 기능이 정상적으로 수행되었는지를 확인하는데(단계 S4), 해당 제4단계(S4)에서 디스크 백업 홀드 기능이 정상적으로 수행되었다면, 상기 변경 내용을 다른 프로세서 PLD에도 동일하게 생성시켜 주는 중복 관련 동기를 수행하게 된다(단계 S5).In addition, it is checked whether the disk backup hold function of the DBMS is normally performed (step S4). If the disk backup hold function is normally performed in the fourth step (S4), the change is generated in the same manner in another processor PLD. The master performs the duplication related motive (step S5).

또한, 상기 중복 관련 동기가 정상적으로 완료되었는지를 확인하는데(단계S6), 해당 제6단계(S6)에서 상기 중복 관련 동기가 정상적으로 완료되었다면, 백업을 담당하는 응용 프로세서에서는 백업을 하고자 하는 PLD를 다른 이름으로 디스크에 복사하게 된다(단계 S7).In addition, it is checked whether the duplication related synchronization is completed normally (step S6). If the duplication related synchronization is completed normally in the sixth step S6, the application processor in charge of the backup has another name for the PLD to be backed up. To the disc (step S7).

이에 따라, 상기 제7단계(S7)에서 상기 PLD의 복사가 종료되면, 교환기의 정상적인 운용을 위하여 DBMS의 디스크 백업 홀드를 해제시켜 준다(단계 S8). 여기서, 상기 DBMS의 디스크 백업 홀드가 이루어지고 있는 동안에는 로그 버퍼에 쌓여 있던 로그들을 차례대로 디스크에 저장해 준다.Accordingly, when copying of the PLD is terminated in the seventh step S7, the disk backup hold of the DBMS is released for normal operation of the exchange (step S8). Here, the logs accumulated in the log buffer are sequentially stored in the disk while the disk backup hold of the DBMS is performed.

그런 후, 디스크에 복사된 다른 이름의 PLD (즉, 파일의 이름은 다르지만 내용은 동일한 PLD)를 정상적인 PLD 파일 이름, 즉 원래 이름의 PLD 파일로 백업시켜 준다(단계 S9).Then, another PLD (that is, a PLD having a different name but the same content) copied to the disk is backed up to a normal PLD file name, that is, a PLD file of the original name (step S9).

한편, 상기 제4단계(S4)에서 디스크 백업 홀드 기능이 정상적으로 수행되지 않았거나 상기 제6단계(S6)에서 상기 중복 관련 동기가 정상적으로 완료되지 않았다면, 교환기의 백업 동작을 중지시켜 준다(단계 S10).On the other hand, if the disk backup hold function is not normally performed in the fourth step S4 or the duplication related synchronization is not normally completed in the sixth step S6, the backup operation of the exchange is stopped (step S10). .

이와 같이, 상술한 방법은 기존 MT(Magnetic Tape)로의 백업보다 디스크 파일의 복사가 시간적으로 상당한 시간 절약을 얻을 수 있어 종래의 방식보다 안정성이 높다.As described above, the above-described method is more reliable than the conventional method because copying of a disk file can save a considerable time in time than backup to an existing MT (Magnetic Tape).

두 번째의 방법으로, 본 발명의 다른 실시예에 따른 교환기에서 데이터 백업 방법을 도 3의 플로우챠트를 참고하여 설명하면 다음과 같다.As a second method, a data backup method in an exchange according to another embodiment of the present invention will be described with reference to the flowchart of FIG. 3.

먼저, 운용자가 교환기의 백업을 요구하게 되면, 해당 운용자의 백업 요구를수신하여(단계 S11) DBMS의 디스크 백업 홀드를 요청하게 되며(단계 S12), 이에 상기 첫 번째 방식과 동일하게 디스크 백업 홀드 기능을 수행한다(단계 S13).First, when an operator requests a backup of the exchange, the manager receives a backup request of the operator (step S11) and requests a disk backup hold of the DBMS (step S12). Thus, the disk backup hold function is performed in the same manner as the first method. (Step S13).

그리고, 상기 DBMS의 디스크 백업 홀드 기능이 정상적으로 수행되었는지를 확인하는데(단계 S14), 해당 제14단계(S14)에서 디스크 백업 홀드 기능이 정상적으로 수행되었다면 중복 관련 동기를 수행하게 된다(단계 S15).When the disk backup hold function of the DBMS is normally performed (step S14), if the disk backup hold function is normally performed in step 14 (S14), duplication related synchronization is performed (step S15).

또한, 상기 중복 관련 동기가 정상적으로 완료되었는지를 확인하는데(단계 S16), 해당 제16단계(S16)에서 상기 중복 관련 동기가 정상적으로 완료되었다면, 곧바로 이중화되어 있는 디스크의 이중화를 중지시켜 활성화 디스크(Active Disk)와 백업 디스크로 논리적인 분리를 수행하게 된다(단계 S17). 그리고, 교환기의 정상적인 운용을 위하여 상기 DBMS 디스크 백업 홀드를 해제시켜 준다(단계 S18).In addition, it is checked whether the duplication related synchronization is completed normally (step S16). If the duplication related synchronization is completed normally in the sixteenth step (S16), the duplication of the duplicated disk is immediately stopped to activate the active disk (Active Disk). And logical separation into the backup disk (step S17). Then, the DBMS disk backup hold is released for normal operation of the exchange (step S18).

이 때, 상기 활성화 디스크와 백업 디스크로 분리되는 시점부터 동시 기록(Concurrent Writing) 기능은 해제되는데, 평상시에 이중화로 운용되어 동시 기록이 수행되던 디스크는 활성화만 운용되게 된다. 즉, 시스템의 디스크는 이중화가 아닌 활성화 측만으로 운용하게 되며, 운용 데이터의 변경은 활성화 측에서만 적용되게 된다. 그러므로, PLD의 백업은 이중화에서 절체된 대기 측의 디스크에서 PLD를 백업하게 된다(단계 S19).At this time, the Concurrent Writing function is released from the time point at which the activation disk and the backup disk are separated. In this case, only the activation of the disk, which is operated by redundancy and performed simultaneously, is performed. That is, the disk of the system is operated only on the activation side, not redundancy, and the change of operation data is applied only on the activation side. Therefore, the backup of the PLD will back up the PLD from the disk on the standby side that has been switched in redundancy (step S19).

이에 따라, 상기 제19단계(S19)에서 PLD의 백업이 종료되면, 상기 디스크 분리 운용을 해제하여 다시 디스크를 이중화로 운용하게 되며(단계 S20), 디스크의 활성화 측 및 대기 측의 일치성을 위하여 양 쪽 디스크를 미러 복사를 수행하면서 모든 백업 동작을 종료하게 된다(단계 S21).Accordingly, when the backup of the PLD is terminated in the nineteenth step (S19), the disk separation operation is released to operate the disk in redundancy again (step S20), for the consistency of the active side and the standby side of the disk. All backup operations are terminated while performing mirror copying of both disks (step S21).

한편, 상기 제14단계(S14)에서 디스크 백업 홀드 기능이 정상적으로 수행되지 않았거나 상기 제16단계(S16)에서 상기 중복 관련 동기가 정상적으로 완료되지 않았다면, 교환기의 백업 동작을 중지시켜 준다(단계 S22).On the other hand, if the disk backup hold function is not normally performed in the fourteenth step S14 or if the duplication related synchronization is not normally completed in the sixteenth step S16, the backup operation of the exchange is stopped (step S22). .

이와 같이, 상술한 방법은 기존의 문제점을 완전히 해결할 수 있다.As such, the above-described method can completely solve the existing problem.

다르게는, 평상시에 DBMS의 교환기 운용 데이터 변경에 대한 처리 동작을 간략하게 살펴보면, 해당 프로세서의 메모리를 변경하며, 디스크의 PLD 변경 저장은 프로듀서(Producer)에서 해당 메모리의 로그 버퍼에 쌓아두면 컨슈머(Consumer)에서 차례대로 디스크에 적용하여 저장하게 된다. 이때, DBMS의 디스크 백업 홀드 기능은 컨슈머의 역할을 일시 중지시키게 된다.Alternatively, if you look briefly at the processing operation for changing the exchange operation data of the DBMS, the memory of the processor is changed, and the PLD change storage of the disk is stored in the log buffer of the memory at the producer. ) Will be applied to the disk in order. At this time, the disk backup hold function of the DBMS suspends the role of the consumer.

이상과 같이, 본 발명에 의해 빈번하게 발생하는 교환기의 PLD 백업 시에도 중단 없이 교환기 운용 데이터의 변경이 수용됨으로 안정적인 교환기 운용에 도움이 될 수 있다.As described above, even when the PLD backup of the exchange frequently occurs according to the present invention, the change of the exchange operation data is accommodated without interruption, and thus, it may be helpful for stable exchange operation.

Claims (5)

운용자의 백업 요구 시에 DBMS 디스크 백업 홀드의 요청에 따라 DBMS 디스크 백업 홀드를 수행하는 과정과;Performing a DBMS disk backup hold according to a request of the DBMS disk backup hold when an operator requests a backup; 상기 DBMS 디스크 백업 홀드가 완료되면 중복 관련 동기를 수행한 후에 해당 중복 관련 동기가 완료되었는지를 확인하는 과정과;When the DBMS disk backup hold is completed, performing duplication related synchronization and checking whether the duplication related synchronization is completed; 원본의 PLD 파일을 다른 이름으로 디스크에 복사한 후에 상기 DBMS 디스크 백업 홀드를 해제하는 과정과;Releasing the DBMS disk backup hold after copying the original PLD file to the disk under another name; 상기 디스크에 복사된 PLD 파일을 원래 이름의 PLD 파일로 백업하는 과정을 포함하여 이루어진 것을 특징으로 하는 교환기에서 데이터 백업 방법.And backing up the PLD file copied to the disk to a PLD file of an original name. 제1항에 있어서,The method of claim 1, 상기 DBMS 디스크 백업 홀드 수행 과정은 현재까지 로그 버퍼에 쌓여 있는 로그를 디스크에 적용하는 단계와;The process of performing DBMS disk backup hold may include applying logs, which have been accumulated in a log buffer, to disk; 상기 로그를 디스크 적용한 후에 인가되는 DBMS의 변경 PLD을 로그 버퍼에 저장하는 단계를 포함하여 이루어진 것을 특징으로 하는 교환기에서 데이터 백업 방법.And storing the changed PLD of the DBMS applied to the log buffer after applying the log to the log buffer. 운용자의 백업 요구 시에 DBMS 디스크 백업 홀드의 요청에 따라 DBMS 디스크 백업 홀드를 수행하는 과정과;Performing a DBMS disk backup hold according to a request of the DBMS disk backup hold when an operator requests a backup; 상기 DBMS 디스크 백업 홀드가 완료되면 중복 관련 동기를 수행한 후에 해당 중복 관련 동기가 완료되었는지를 확인하는 과정과;When the DBMS disk backup hold is completed, performing duplication related synchronization and checking whether the duplication related synchronization is completed; 디스크의 이중화를 해제하여 활성화 디스크와 백업 디스크로 분리하는 과정과;De-duplicating the disk and separating the disk into an active disk and a backup disk; 상기 DBMS 디스크 백업 홀드를 해제하여 상기 백업 디스크에서 PLD 파일을 백업하는 과정을 포함하여 이루어진 것을 특징으로 하는 교환기에서 데이터 백업 방법.And releasing the DBMS disk backup hold to back up the PLD file from the backup disk. 제3항에 있어서,The method of claim 3, 상기 PLD 파일의 백업이 종료된 경우에 미러 복사를 수행하여 상기 두 디스크를 다시 이중화로 운용하는 과정을 더 포함하여 이루어진 것을 특징으로 하는 교환기에서 데이터 백업 방법.And performing a mirror copy when the backup of the PLD file is completed, and operating the two disks by redundancy again. 제3항에 있어서,The method of claim 3, 상기 활성화 디스크와 백업 디스크로 분리되는 시점부터 동시 기록 기능을 해제하며, 상기 활성화 디스크를 교환기 운용에 사용하고 상기 백업 디스크를 백업에 사용하는 것을 특징으로 하는 교환기에서 데이터 백업 방법.And releasing the simultaneous recording function from the time point at which the activation disk and the backup disk are separated, using the activation disk for switching operation, and using the backup disk for backup.
KR1019990039407A 1999-09-14 1999-09-14 Data Back-up Method of the Switching System KR100307925B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990039407A KR100307925B1 (en) 1999-09-14 1999-09-14 Data Back-up Method of the Switching System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990039407A KR100307925B1 (en) 1999-09-14 1999-09-14 Data Back-up Method of the Switching System

Publications (2)

Publication Number Publication Date
KR20010027602A KR20010027602A (en) 2001-04-06
KR100307925B1 true KR100307925B1 (en) 2001-11-07

Family

ID=19611544

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990039407A KR100307925B1 (en) 1999-09-14 1999-09-14 Data Back-up Method of the Switching System

Country Status (1)

Country Link
KR (1) KR100307925B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100439857B1 (en) * 2001-12-24 2004-07-12 엘지전자 주식회사 System and method of duplexing database in private branch exchange and telecommunication system and synchronizing method of duplexed server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990008848A (en) * 1997-07-04 1999-02-05 윤종용 Data backup device and method of exchange
KR19990017078A (en) * 1997-08-21 1999-03-15 유기범 Data recording device at the exchange
KR19990080488A (en) * 1998-04-17 1999-11-15 김영환 Mirror-copy method of large billing disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990008848A (en) * 1997-07-04 1999-02-05 윤종용 Data backup device and method of exchange
KR19990017078A (en) * 1997-08-21 1999-03-15 유기범 Data recording device at the exchange
KR19990080488A (en) * 1998-04-17 1999-11-15 김영환 Mirror-copy method of large billing disk

Also Published As

Publication number Publication date
KR20010027602A (en) 2001-04-06

Similar Documents

Publication Publication Date Title
US7340572B2 (en) Method and system for reliable remote-mirror resynchronization in disk arrays and other mass storage devices
US9087013B2 (en) Methods and apparatus for point-in-time volumes
KR100983300B1 (en) Recovery from failures within data processing systems
US7461201B2 (en) Storage control method and system for performing backup and/or restoration
US8117167B2 (en) Method and data processing system with data replication
AU7786894A (en) File Backup System
US20060150013A1 (en) System and method for storing and restoring a data file using several storage media
KR100307925B1 (en) Data Back-up Method of the Switching System
JP4512386B2 (en) Backup system and method
JPH07281933A (en) Computer system
EP0656588B1 (en) Storage device
JP2666426B2 (en) Duplex auxiliary storage device
KR960014198B1 (en) Data base management system
JPH08110840A (en) Restoration system for magnetic disk device of double redundancy constitution
JP3463696B2 (en) Online garbage collection processing method
KR100310477B1 (en) How to back up production packages at the exchange
JPH0235537A (en) Multiple volume update control system
JP2943173B2 (en) Duplex file storage
KR0131155B1 (en) Remote backup method for subscriber location information
JP2004199116A (en) Division back-up/restoration application system
JPH0581103A (en) System for restoring duplexing film
JPH0497413A (en) Multiplex file restoring system
JPH0236014B2 (en)
JPS6154526A (en) File copy system
JPH03252809A (en) File compiler

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: 20050628

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee