KR0123193B1 - Distribute real time data base output method - Google Patents
Distribute real time data base output methodInfo
- Publication number
- KR0123193B1 KR0123193B1 KR1019940030785A KR19940030785A KR0123193B1 KR 0123193 B1 KR0123193 B1 KR 0123193B1 KR 1019940030785 A KR1019940030785 A KR 1019940030785A KR 19940030785 A KR19940030785 A KR 19940030785A KR 0123193 B1 KR0123193 B1 KR 0123193B1
- Authority
- KR
- South Korea
- Prior art keywords
- backup
- prohibition
- database
- omp
- processors
- Prior art date
Links
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
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
제1도는 본 발명의 내용을 포함하는 전전자 교환기 DBMS의 분산 구조도.1 is a distributed structure diagram of an electronic exchanger DBMS including the subject matter of the present invention.
제2도는 본 발명이 적용되는 관련 블럭간의 구성도 및 메시지의 흐름도.2 is a block diagram of a schematic diagram and messages between related blocks to which the present invention is applied.
제3도는 본 발명에 다른 전체 흐름도.3 is another overall flow diagram of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
11 : 교환 서브시스템 12 : 상호연결망 서브시스템11: switching subsystem 12: interconnect network subsystem
13 : 중앙제어 서브시스템 21 : 운용자 터미날13: central control subsystem 21: operator terminal
22 : 인간-기계 프로세서 23 : 운용 및 유지보수 프로세서22: human-machine processor 23: operation and maintenance processor
24 : 타 프로세서24: other processor
본 발명은 분산 실시간 시스템에서 데이타베이스의 백업 금지, 허용 및 상태 출력 방법에 관한 것이다.The present invention relates to a method for prohibiting, allowing and outputting a backup of a database in a distributed real-time system.
분산 실시간 시스템인 종래의 음성용 전전자 교환기 시스템에서는 호처리, 운용, 보전, 과금 및 통계 기능을 수행하는 응용 프로그램들이 데이타베이스 백업을 요구하게 되면 DBMS(DataBase Management System)가 로그를 갖고 디스크에 있는 데이타베이스에 완전히 백업을 완료한 다음 처리 결과를 알려주어 교환기의 성능이 떨어졌엇다.In the conventional voice electronic switch system, which is a distributed real-time system, database management system (DBMS) logs and records on disk when applications that perform call processing, operation, maintenance, billing and statistics functions require database backup. The exchange's performance degraded by completely backing up the database and then reporting the processing result.
따라서, 종합정보통신망용(ISDN) 전전자 교환기 시스템에서는 교환기의 성능을 높이고자 DBMS가 로그를 해당 프로세서의 메모리에 위치한 로그 저장 버퍼에만 저장을 완료하면 바로 백업을 요구한 응용 프로그램에게 처리 결과를 알려주도록 하였다.Therefore, in the ISDN electronic switch system, if the DBMS completes saving the log only in the log storage buffer located in the memory of the processor, it notifies the application requesting the backup. It was made.
그래서, 교환기의 성능은 높아졌으나 운용자가 시스템에 이상이 생겨 시스템 재시동과 같은 기능을 수행하게 되면 디스크에 있는 데이타베이스에 백업을 수행하지 못한 로그가 로그 저장 버퍼 및 트랜잭션 로그 테이블에 남아있는 경우에는 데이타의 불일치 현상이 발생하게 되었다.Therefore, if the exchanger's performance is increased but the operator fails to perform a function such as system restart, the log that failed to perform backup to the database on disk remains in the log storage buffer and transaction log table. The discrepancy of has occurred.
이러한 불일치 현상이 발생하게 되면 오류의 교환기 데이타가 생성되어 이 데이타를 사용하는 교환기 응용 프로그램들이 정상적으로 수행을 할 수 없게 되어 교환기의 신뢰성이 떨어지는 문제점이 있었다.When such a mismatch occurs, an error exchange data is generated, and the exchange application programs using the data cannot execute normally, thereby decreasing the reliability of the exchange.
그러므로, 상기 문제점을 해결하기 위하여 안출된 본 발명은 데이타의 불일치를 사전에 막기 위하여 시스템 재시동과 같은 기능을 수행하기 전에 데이타베이스 백업을 금지시키고, 동시에 로그 저장 버퍼와 트랜잭션 로그 테이블에 남아있는 로그를 모두 디스크 데이타베이스에 백업시키도록 하는 데이타베이스 백업 금지 기능과 교환기의 정상적인 운용을 위해 백업을 다시 허용하는 데이타베이스 허용기능 그리고 현재 데이타베이스 백업 상태를 알려는 백업 상태 출력 기능을 구현하는데 그 목적이 있다.Therefore, the present invention devised to solve the above problem prevents database backup before performing a function such as a system restart in order to prevent data inconsistency, and at the same time, logs remaining in the log storage buffer and the transaction log table are deleted. Its purpose is to implement a database backup prohibition function that allows all to back up to a disk database, a database permission function that allows backups again for normal operation of the exchange, and a backup status output function that informs the current database backup status. .
상기 목적을 달성하기 위하여 본 발명은, 운용자와 정합하는 MMI(Man-Machine Interface) 블럭을 실장하는MMP(Man-Machine Processor); DBBG(Data Base Backup Group)와, DBSG, DBTG DBKG(Data Base Kerne Group)를 실장하는 OMP(Operation and Maintenance Processor); DBTG(Data Base Transaction Group)와, DBSG(Data Base Supporting Group) , DBKG(Data Base Kernel Group)를 실장하는 다수의 타 프로세서를 구비하는 시스템에 있어서, 상기 OMP는 운용자로부터 수신한 명령어의 종류를 판단하는 제1단계; 상기 제1단계 수행 후, 운용자 명령어가 데이타베이스 백업 금지이면 상기 OMP는 다수의 타 프로세서에게 백업 금지를 요구하여 상기 다수의 타 프로세서의 백업 금지 수행 완료를 통보받은 후에 상기 OMP 자신의 백업 금지를 수행하는 제2단계; 상기 제1단계 수행 후, 운용자 명령어가 데이타베이스 백업 허용이면 상기 OMP는 상기 다수의 타프로세서에게 백업 허용을 요구하여 상기 다수의 타 프로세서의 백업 금지 수행 완료를 통보 받은 후에 상기 OMP 자신의 백업 허용을 수행하는 제3단계; 및 상기 제1단계 수행 후, 운용자 명령어가 데이타베이스 백업 상태 출력인 경우에는 상기 OMP는 백업 상태 정보 릴레이션에서 백업 상태를 참조하여 상기 다수의 타 프로세서의 백업 상태를 운용자에게 전송하는 제4단계를 구비하는 것을 특징으로 한다.In order to achieve the above object, the present invention includes a Man-Machine Processor (MMP) for mounting a Man-Machine Interface (MMI) block to match the operator; OMP (Operation and Maintenance Processor) for mounting a DBBG (Data Base Backup Group), DBSG, DBTG DBKG (Data Base Kerne Group); In a system having a Data Base Transaction Group (DBTG), a Data Base Supporting Group (DBSG), and a plurality of other processors that implement a Data Base Kernel Group (DBKG), the OMP determines the type of instructions received from the operator. The first step to do; After performing the first step, if the operator command is prohibiting the backup of the database, the OMP requests the prohibition of backup from a plurality of other processors, and then performs a prohibition of backup of the OMP itself after being informed of completion of the backup prohibition of the plurality of other processors. A second step of doing; After performing the first step, if the operator command permits the backup of the database, the OMP requests the backup permission from the plurality of other processors to notify the completion of the backup prohibition of the plurality of other processors. Performing a third step; And after performing the first step, when the operator command outputs a database backup state, the OMP transmits a backup state of the plurality of other processors to the operator by referring to the backup state in a backup state information relation. Characterized in that.
본 발명은 종합정보통신망용 전전자 교환기에 호처리, 운용 보전, 과금 및 통계 기능등을 수행하는 응용프로그램이 데이타베이스 백업을 DBMS에게 요구하게 되면 백업을 위하여 생성된 로그를 로그 저장 버퍼에 저장만 하고 바로 백업 처리 결과를 응용 프로그램에게 전달을 하므로써 교환기의 성능은 향상되었으나 실질적으로는 디스크의 데이타베이스에 백업이 완전히 끝난 상태가 아니기 때문에 이 상태에서 시스템의 전 프로세서를 다운(Down)시킨 다음 각 프로세서의 해당 블럭들의 로딩을 다시받는 시스템 재시동(System Restart)기능, 한 프로세서만 다운시킨 다음 해당 프로세서의 블럭들만 로딩을 다시 받는 프로세서 재시동(Processor Restart)기능, 디스크로부터 프로세서의 메모리로 일부 블럭을 로딩시키는 부분 로딩(Partial Loading)기능, 프로세서에서 수행중인 해당 블럭을 지워버리는 블럭 제거(Block Removal)기능, 마그네틱 테이프에서 디스크로 교환기 소프트웨어 블럭들을 덤프(Dump)받는 기능, 디스크에서 마그네틱 테이프로 교환기 소프트웨어 블럭들을 백업(Backup)받는 기능등이 수행되었을 때 데이타 불일치가 발생할 가능성이 높기 때문에 데이타 불일치를 사전에 막기 위하여 데이타베이스 백업 금지 기능을 수행하므로써 각 프로세서에서 새로운 백업 요구를 금지하고, 로그 저장 버퍼 및 트랜잭션 로그 테이블에 남아있는 로그를 모두 적용시킨 다음 시스템 재시동과 같은 기능을 수행하게 하므로써 데이타 일치성을 유지시킬 수 있다. 또한, 시스템 재시동과 같은 기능들이 다 수행된 다음에는 교환기가 정상적으로 운용될 수 있도록 데이타베이스 백업 허용 기능을 수행하므로서 교환기 응용 프로그램이 정상적으로 작동될 수 있도록 하였고, 운용자로 하여금 현재의 데이타베이스 백업 상태를 참조할 수 있도록 백업 상태 출력 기능을 제공하였다.According to the present invention, when an application program performing call processing, operation maintenance, billing, and statistical functions is requested to a DBMS for an electronic switch for an integrated telecommunication network, only the log generated for the backup is stored in a log storage buffer. The performance of the exchange is improved by sending the backup processing results directly to the application. However, since the backup is not completely completed on the disk database, all processors of the system are brought down in this state. System Restart function to reload the corresponding blocks of the processor, Processor Restart function to bring down only one processor and then reload only the blocks of the processor, and to load some blocks from the disk into the processor's memory. Partial Loading function, in processor Block removal, which erases the block in progress, the ability to dump the exchange software blocks from the magnetic tape to the disk, and the function to back up the exchange software blocks from the disk to the magnetic tape. Because there is a high possibility of data inconsistency at the time, to prevent data inconsistency, the database backup prohibition function is prevented to prevent new backup request from each processor, and apply all remaining logs to the log storage buffer and transaction log table. Data consistency can be maintained by performing functions such as a system restart. In addition, after all functions such as system restart are performed, the Exchange application can be operated normally by allowing the database backup to allow the exchange to operate normally. The administrator can refer to the current database backup status. Backup status output function was provided.
이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;
제1도는 전전자 교환기 시스템의 분사 구조를 갖는 주메모리(Main Memory) DBMS의 구조도이다.1 is a structural diagram of a main memory DBMS having an injection structure of an all-electronic exchange system.
전전자 교환기는 ASS(Access Switchin Subsystem)(11), INS (Int erco nn ection Network Subsystem)(12) 및 CCS(Central Control Subsystem)(13)의 3개 서브시스템을 구비한다. ASS(11)는 분산된 호처리 기능을 수행하는 ASP(Access Switching Processor)들을 구비하고 INS(12)는 집중화된 호처리 기능 부분을 수행하는 INP(Interconnection Network Processor)와 NTP(Number Translation Processor)를 구비하며 CCS(13)는 운용 및 보전에 관련된 집중화 기능을 수행하는 OMP(Operation and Maintenance Processor)와 MMP(Man-Maching Processor)를 구비한다.The electronic switch has three subsystems: an Access Switching Subsystem (ASS) 11, an Integer Network Subsystem (INS) 12, and a Central Control Subsystem (CCS) 13. The ASS 11 includes access switching processors (ASPs) that perform distributed call processing functions, and the INS 12 includes an INP (interconnection network processor) and a number translation processor (NTP) that perform centralized call processing functions. The CCS 13 includes an Operation and Maintenance Processor (OMP) and a Man-Maching Processor (MMP) that perform centralization functions related to operation and maintenance.
전전자 교환기 DBMS는 위와 같은 여러 프로세서에 분산되어 있는 데이타를 관리하기 위해 프로세서의 성격에 따라 그 기능이 분산되어 있으며, 실시간 처리를 위해서주기억장치에 상주하고, 데이타를 검색 및 변경하는 기능, 원격 데이타 처리 기능, 중복 데이타 처리 기능, 데이타 백업 기능, 데이타 회복 기능, 동시성 제어 기능, 트랜잭션 관리 기능, 데이타 백업 금지, 허용, 상태 출력 기능 등을 제공하고 있다.The electronic switchboard DBMS has its functions distributed according to the characteristics of the processors to manage the data distributed among the various processors as described above, and resides in the main memory for real time processing, retrieves and modifies the data, and remote data. It provides processing function, redundant data processing function, data backup function, data recovery function, concurrency control function, transaction management function, data backup prohibition, allow, status output function, and so on.
위의 프로세서들 중 OMP의 DBMS는 DBBG(Data Base Backup Group), DBSG(Data Base Supporting Group), DBTG(Data Base Transaction Group) 및 DBKG(Data Base Kernel Group)의 4개 블럭을 구비하고, MMP를 제외한 나머지 프로세서들은 DBKG, DBSG 및 DBTG의 세개 블럭을 구비한다. 여기에서, DBBG 블럭은 디스크 접근이 필요한데, 디스크는 OMP에 장착되어 있기 때문에 OMP에만 DBBG 블럭이 존재한다. 한편, MMP의 DBMS는 타 프로세서들과는 다르게 DBQG(Data Base Query Group), DBSG, DBTG 및 DBKG의 네 블럭을 구비한다. 그 이유는 MMP만이 운용자로부터 입력을 받을 수 있기 때문인데 이로 인해 운용자 터미날과 전전자 교환기와의 인터페이스를 수행하는 DBQG 블럭은 타 프로세서에는 존재할 수 없고, MMP에만 존재하게 된다.Of these processors, OMP's DBMS has four blocks: Data Base Backup Group (DBBG), Data Base Supporting Group (DBSG), Data Base Transaction Group (DBTG), and Data Base Kernel Group (DBKG). The remaining processors have three blocks: DBKG, DBSG, and DBTG. Here, the DBBG block requires disk access. Since the disk is mounted in the OMP, the DBBG block exists only in the OMP. Meanwhile, unlike other processors, MMP's DBMS includes four blocks of DBQG (Data Base Query Group), DBSG, DBTG, and DBKG. The reason is that only the MMP can receive input from the operator, which means that the DBQG block that interfaces with the operator terminal and the electronic switch cannot exist in other processors, but only in the MMP.
DBMS 각 블럭의 기능을 살펴보면 DBSG는 응용 프로그램 내에서 원격 데이타에 대한 검색 및 변경 요구를 처리하도록 DBKG에게 요구하는 기능과 원격 데이타 처리를 위해 DBMS간의 통신 기능을 수행하고, DBTG는 트랜잭션 관리 기능과 동시성 제어 기능을 수행하고, DBKG는 처리요구가 들어온 데이타의 검색 및 변경 내용에 따라 실제로 데이타베이스 내의 데이타를 검색 및 변경하는 기능을 수행하며, DBBG는 변경을 요구한 데이타가 디스크 백업이 필요한 경우 실제로 디스크에 있는 데이타베이스에 백업을 시키는 기능과 시스템 재시동시 데이타베이스를 회복하는 기능 및 데이타 백업 금지, 허용, 상태출력 기능을 수행하고, 마지막으로 DBQG는 온라인(on_line) 질의어 처리 기능을 수행한다.Looking at the functions of each block in the DBMS, the DBSG performs the functions of requesting the DBKG to handle retrieval and change requests for remote data within the application, and the communication between the DBMSs for remote data processing. It performs the control function, DBKG performs the function to search and change the data in the database according to the retrieval and change of the data that the processing request came in. DBBG actually performs the disk when the data requiring the change is needed for disk backup. The database backup function, the database recovery function upon system restart, data backup prohibition, allow, status output function, and finally DBQG performs on-line query processing.
제2도는 분산 실시간 시스템인 전전자 교환기상에 구현된 데이타베이스 백업 금지, 허용, 상태 출력 처리 기능을 수행하기 위한 관련 블럭간의 구성 및 메시지의 흐름을 나타낸 구조도이다.2 is a structural diagram showing the flow and configuration of messages between related blocks for performing database backup prohibition, permission, and status output processing implemented on a distributed electronic real-time exchanger.
데이타베이스 백업 금지 기능은 운용자가 운용자 터미날(21)에서 데이타베이스 백업 금지 명령어를 입력하게 되면 MMP(22)에 실장되어 있는 MMI(Man-Machine Interface) 블럭(25)에서 명령어를 분석한 뒤 이 명령어를 처리할 수 있는 DBBG 블럭(26)으로 처리 요구를 한다.The database backup inhibit function analyzes the command in the MMI (Man-Machine Interface) block 25 mounted on the MMP 22 when the operator inputs a database backup inhibit command from the operator terminal 21. Processing request is made to the DBBG block 26 which can process.
DBBG(26)는 교환기를 구성하고 있는 모든 프로세서로부터 전송되어 온 로그를 저장하고 있는 로그 스플버퍼 내의 로그수가 임계치를 넘었을 경우 데이타베이스 백업 금지를 수행할 수 없다고 MMI 블럭(25)에게 결과를 통보해주면 MMI블럭(25)은 MMI 출력 윈도우에 해당 메시지를 운용자가 볼 수 있게 출력을 해준다. 반면에 로그수가 임계치를 넘지 않았을 경우 모든 프로세서의 DBSG(28)로 데이타베이스 백업 금지 및 로그 저장 버퍼와 트랜잭션 로그 테이블에 남아있는 로그를 DBBG(26)로 전송하라고 요구를 한다.The DBBG 26 notifies the MMI block 25 that the database backup prohibition cannot be performed when the number of logs in the log spool buffer, which stores the logs sent from all processors constituting the exchange, exceeds the threshold. The MMI block 25 outputs the corresponding message to the MMI output window for the operator to see. On the other hand, if the number of logs does not exceed the threshold, DBSG 28 of all processors is required to prohibit the backup of the database and to transfer the logs remaining in the log storage buffer and the transaction log table to DBBG 26.
각 프로세서의 DBSG(28)는 DBKG(29)에게 데이타베이스 백업 상태를 금지 상태로 바꾸도록 요구하고, DBKG(29)가 백업 금지 상태로 바꾸어 넣으면 이때부터 응용 프로그램에서의 데이타베이스 백업 요구가 거부되게 된다. DBSG(28)는 백업 금지 상태가 완료되면 로그 저장 버퍼와 트랜잭션 로그 테이블에 남아있는 로그들을 DBBG(26)로 전송시킨다.The DBSG 28 of each processor requests DBKG 29 to put the database backup state into a prohibited state, and if DBKG 29 puts it into a prohibited state, then the database backup request from the application is rejected. do. The DBSG 28 transfers the logs remaining in the log storage buffer and the transaction log table to the DBBG 26 when the backup prohibition state is completed.
그러면, DBBG(26)는 모든 프로세서의 DBSG(28)로부터 남아있던 로그가 다 전송되어 왔는지를 확인하여 한 프로세서라도 로그 전송이 완료가 안되었으면 백업 금지를 완료못하는 원인을 MMI블럭(25)에게 통보하는 것과 동시에 백업 금지가 완료된 모든 프로세서를 백업 허용 상태로 바꾸도록 DBSG(28)에게 요구한다.Then, the DBBG 26 checks whether all the remaining logs have been transmitted from the DBSG 28 of all the processors, and notifies the MMI block 25 of the reason that the backup prohibition cannot be completed if the log transmission is not completed even by one processor. At the same time, the DBSG 28 is requested to change all the processors whose backup prohibitions are completed to the backup permission state.
그러나, 모든 프로세서의 DBSG(28)로부터 로그의 전송이 완료되면 각 프로세서의 백업 상태 정보를 가지고 있는 릴레이션의 백업 상태를 금지 상태로 변경시켜 놓은 다음 DBBG(26)가 존재하는 OMP(23)에 데이타베이스 백업 금지를 DBKG(27)에게 요구한다. 백업 금지가 되면 로그 스풀 버퍼의 로그가 디스크의 데이타베이스에 다 적용된 다음에 MMI 블럭(25)에게 데이타베이스 백업 금지 완료를 통보하고 MMI블럭(25)은 MMI 출력 윈도우에 백업 금지 완료 메시지를 출력한다.However, when the log transfer from the DBSG 28 of all the processors is completed, the backup state of the relation containing the backup state information of each processor is changed to the prohibited state, and then the data is stored in the OMP 23 where the DBBG 26 exists. Ask DBKG 27 to prohibit base backup. When the backup is prohibited, the log of the log spool buffer is applied to the database on disk, and then the MMI block 25 is notified of the completion of the database backup prohibition, and the MMI block 25 outputs a backup prohibition completion message to the MMI output window. .
데이타베이스 백업 허용 기능은 운용자가 운용자 터미날(21)에서 데이타베이스 허용 명령어를 입력하게 되면 MMI블럭(25)에서 명령어를 분석한 뒤 이 명령어를 처리할 수 있는 DBBG블럭(26)으로 처리 요구를 한다. DBBG(26)는 모든 프로세서의 DBSG(28)에게 데이타베이스 백업 허용을 요구한다.When the operator inputs a database permission command in the operator terminal 21, the database backup permission function analyzes the command in the MMI block 25 and requests a processing to the DBBG block 26 that can process the command. . DBBG 26 requests database backup permission from DBSG 28 of all processors.
DBSG(28)는 DBKG(29)에게 데이타베이스 백업 상태를 허용 상태로 바꾸도록 요구하고, DBKG(29)가 백업 허용 상태로 바꾸어 놓으면 이때부터 응용 프로그램의 데이타베이스 요구가 허용된다. DBSG(28)는 이와 같이 백업 허용 상태가 완료되면 DBBG(26)에게 백업 허용 완료를 알린다.The DBSG 28 requests the DBKG 29 to change the database backup state to the allowed state. If the DBKG 29 changes the backup state to the allowed state, then the database request of the application is allowed. The DBSG 28 notifies the DBBG 26 that the backup permission is completed when the backup permission state is completed.
그러면, DBBG(26)는 백업 상태 정보 릴레이션의 백업 상태를 허용 상태로 변경시켜 놓은 다음 OMP(23)의 데이타베이스 백업 허용을 DBKG(27)에게 요구한다. 그래서, 백업 허용이 완료되면 MMI 블럭(25)에게 데이타베이스 백업 허용 완료를 통보하고 MMI블럭(25)은 MMI 출력 윈도우에 백업 허용 완료 메시지를 출력한다.Then, the DBBG 26 changes the backup state of the backup state information relation to the allowed state and then requests the DBKG 27 to allow the OMP 23 to back up the database. Thus, when the backup permission is completed, the MMI block 25 notifies the database backup permission completion, and the MMI block 25 outputs a backup permission completion message to the MMI output window.
마지막으로 데이타베이스 백업 상태 출력 기능은 DBBG블럭(26)이 백업 상태 정보 릴레이션의 백업 상태를 참조하여 모든 프로세서의 현재 백업 상태를 MMI블럭(25)에게 전송하면 MMI블럭(25)이 MMI출력 윈도우에 출력하게 된다.Finally, the database backup status output function sends the current backup status of all processors to the MMI block 25 by referring to the backup status of the backup status information relation. The MMI block 25 sends the MMI output window to the MMI output window. Will print.
제3도는 분산 실시간 시스템인 전전자 교환기 DBMS에서 데이타베이스의 백업 금지, 허용, 상태 출력기능에 대한 전체적인 흐름도이다.3 is a general flow diagram of the backup prohibition, allowance, and status output function of a database in an electronic switchboard DBMS, a distributed real-time system.
MMI블럭(21)은 DBBG블럭(26)에게 데이타베이스 백업 금지, 허용 및 상태 출력 처리를 요구한다(1). DBBG 블럭(26)은 MMI 블럭(25)으로부터 수신된 명령어를 분석한다(2). 그래서, 데이타베이스 백업 금지 인지를 판단하여(33) 백업 금지이면 DBBG블럭(26)내에 위치한 로그 스풀 버퍼의 로그수를 임계치와 비교하여 백업 금지를 수행할 수 있는 상태인지 아닌지를 파악하여(34) 백업 금지를 수행할 수 없는 상태이면 MMI블럭(25)에게 백업 금지 실패 메시지를 전송하고 종료한다(35). 그러나, 백업 금지를 수행할 수 있는 상태이면 모든 프로세서의 DBSG 블럭(28)에게 데이타베이스 백업 금지와 DBSG 블럭(28) 내에 위치한 로그 저장 버퍼 및 트랜잭션 로그 테이블에서 DBBG 블럭(26)으로 전송하지 못하고 남아있는 로그를 전송하도록 요구한다(36). 그러면, 각 DBSG 블럭(28)은 자신의 프로세서에서 데이타베이스 백업 금지를 위해 DBKG 블럭(29)에게 백업 금지를 요구한다(37). DBKG 블럭(29)은 데이타베이스 백업 금지를 수행하고(38) 그 결과를 DBSG 블럭(28)에게 통보한 후에(39) DBSG블럭(28)은 로그 저장 버퍼 및 트랜잭션 로그 테이블의 로그를 DBBG 블럭(26)으로 전송한다(40). 전송이 완료되면 DBBG 블럭(26)에게 백업 금지 완료를 알린다(41). DBB G 블럭(26)은 백업 상태 정보 릴레이션에서 백업 금지가 완료된 프로세서의 백업 상태를 금지 상태로 변경하고(42), OMP(23)의 데이타베이스 백업 금지를 DBKG(27)에게 요구한다(43).DBKG(27)가 백업 금지를 수행하고 결과를 DBBG 블럭(26)에게 통보하면(44) DBBG 블럭(26)은 MMI 블럭(21)에게 데이타베이스 백업 금지 완료 메시지를 전송하고 종료한다(45).The MMI block 21 requests the DBBG block 26 for database backup prohibition, permission, and status output processing (1). DBBG block 26 analyzes the instructions received from MMI block 25 (2). Therefore, it is determined whether or not the database backup is prohibited (33). If the backup is prohibited, the number of logs of the log spool buffer located in the DBBG block 26 is compared with a threshold to determine whether or not the backup is prohibited (34). If the backup prohibition cannot be performed, the backup prohibition failure message is transmitted to the MMI block 25 and the process ends (35). However, if it is possible to perform backup prohibition, the DBSG block 28 of all processors will not be able to transfer the database backup prohibition and the log storage buffer and transaction log table located in the DBSG block 28 to DBBG block 26. Request to send the log (36). Each DBSG block 28 then requests a backup prohibition from the DBKG block 29 for prohibiting the database backup on its processor (37). After the DBKG block 29 performs database backup prohibition (38) and informs the DBSG block 28 of the result (39), the DBSG block 28 sends the log of the log storage buffer and the transaction log table to the DBBG block ( 26) (40). When the transfer is completed, the DBBG block 26 notifies the backup prohibition completion (41). The DBB G block 26 changes the backup state of the processor whose backup prohibition is completed in the backup state information relation to the prohibition state (42), and requests the DBKG 27 to prohibit the database backup of the OMP 23 (43). If .DBKG 27 performs backup prohibition and informs DBBG block 26 of the result (44), DBBG block 26 sends the database backup prohibition complete message to MMI block 21 and terminates (45). .
운용자로부터의 명령어가 데이타베이스 백업 금지가 아니면 다음으로 데이타베이스 백업 허용인지를 판단하여(46) 백업 허용이면 DBBG 블럭(26)은 모든 프로세서의 DBSG 블럭(28)에게 데이타베이스 백업 허용을 요구한다.If the command from the operator is not a database backup prohibition, then it is determined whether the database backup is allowed next (46). If the backup is allowed, the DBBG block 26 requests the DBSG block 28 of all processors to allow the database backup.
각 DBSG 블럭(28)은 자신의 프로세서의 데이타베이스 백업 허용을 위해 DBKG(29)에게 백업 허용 수행을 요구한다(48). DBKG 블럭(29)은 데이타베이스 백업 허용을 수행하고(49) 그 결과를 DBSG 블럭(28)에게 통보하면(50) DBSG 블럭(28)은 데이타베이스 백업 허용 완료를 DBBG 블럭(26)에게 알린다(51). DBBG 블럭(26)은 백업 상태 정보 릴레이션에서 백업 허용이 완료된 프로세서의 백업 상태를 허용 상태로 변경하고(52), OMP(23)의 데이타베이스 백업 허용을 DBKG 블럭(27)에게 요구한다(53). DBKG 블럭(27)은 데이타베이스 백업 허용을 수행하고 결과를 DBBG 블럭(26)에게 통보하면(54) DBBG 블럭(26)은 MMI 블럭(25)에게 데이타베이스 백업 허용 완료 메시지를 전송한다(55).Each DBSG block 28 requests the DBKG 29 to perform a backup permission to allow its processor to backup the database (48). The DBKG block 29 performs the database backup permission (49) and informs the DBSG block 28 of the result (50), and the DBSG block 28 informs the DBBG block 26 of the completion of the database backup permission (50). 51). The DBBG block 26 changes the backup state of the processor that has completed the backup permission to the allowed state in the backup state information relation (52), and requests the DBKG block 27 to permit the database backup of the OMP 23 (53). . If the DBKG block 27 performs the database backup permission and notifies the DBBG block 26 of the result (54), the DBBG block 26 sends the database backup permission complete message to the MMI block 25 (55). .
마지막으로 운용자 명령어가 데이타베이스 백업 상태 출력인 경우 DBBG 블럭(26)은 백업 상태 정보 릴레이션에서 백업 상태를 참조하여(56) 각 프로세서의 백업 상태를 MMI 블럭(25)에게 전송한다(57).Finally, if the operator command is a database backup status output, the DBBG block 26 refers to the backup status in the backup status information relation (56) and transmits the backup status of each processor to the MMI block 25 (57).
상기와 같은 본 발명은 아래와 같은 효과가 있다.The present invention as described above has the following effects.
첫째, 교환기 성능의 향상을 위해 고성능 백업 방법을 채택하였으나 이로 인해 시스템 재시동과 같은 기능 수행시 데이타 불일치 현상이 발생할 가능성이 있으므로 데이타베이스 백업 금지 기능을 제공하여 데이타 불일치 현상을 사전에 막아주어 항상 정확한 데이타를 갖고 교환기를 운용할 수 있도록 하므로서 교환기의 신뢰성을 높일 수 있다.First, high performance backup method is adopted to improve exchanger performance. However, this may cause data inconsistency when performing functions such as system restart. Therefore, database backup prohibition function is provided to prevent data inconsistency in advance, so that it always provides accurate data. The reliability of the exchange can be improved by enabling the exchange to be operated with
둘째, 운용자로 하여금 교환기의 시스템 재시동이 완료된 것을 확인한 후 정상적으로 교환기가 운용될 수 있도록 데이타베이스 백업 허용 기능을 수행하게 하고, 현재의 데이타베이스 백업 상태를 참조할 수 있도록 백업 상태 출력 기능을 제공하므로서 교환기 유지 보수의 효율을 높일 수 있다.Second, after confirming that the system restart of the exchange has been completed, the operator should perform the database backup allow function so that the exchange can operate normally, and provide the backup status output function to refer to the current database backup state. The efficiency of maintenance can be improved.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940030785A KR0123193B1 (en) | 1994-11-22 | 1994-11-22 | Distribute real time data base output method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940030785A KR0123193B1 (en) | 1994-11-22 | 1994-11-22 | Distribute real time data base output method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960018913A KR960018913A (en) | 1996-06-17 |
KR0123193B1 true KR0123193B1 (en) | 1997-11-21 |
Family
ID=19398652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019940030785A KR0123193B1 (en) | 1994-11-22 | 1994-11-22 | Distribute real time data base output method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0123193B1 (en) |
-
1994
- 1994-11-22 KR KR1019940030785A patent/KR0123193B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960018913A (en) | 1996-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1577776B1 (en) | Method and apparatus for data synchronization in a distributed data base system | |
US6427213B1 (en) | Apparatus, method and system for file synchronization for a fault tolerate network | |
KR0123193B1 (en) | Distribute real time data base output method | |
CN112069160B (en) | CAP-based data cleaning synchronization method | |
KR0175460B1 (en) | Data Consistency Backup Method Using Client-Server Architecture in Distributed Real-Time Database Management System | |
KR960014198B1 (en) | Data base management system | |
KR960003974B1 (en) | Data back-up method for electronic switching system | |
KR930009854B1 (en) | Database backing-up & restoring method | |
KR940007839B1 (en) | Method of processing transaction on real time database management system | |
KR100241335B1 (en) | Method for prohibiting the disc data backup for standby loading of exchange database backup system | |
KR100228404B1 (en) | Method for generating database driving environment in intelligent network service controlling/managing system | |
KR100262946B1 (en) | ALLOW method for the standby loading on Database Management System | |
KR100319742B1 (en) | Replication method of distributed dbms | |
KR940007843B1 (en) | Schema managing method on dbms | |
KR100198449B1 (en) | Data backup method in distributed real time database management system | |
KR100539912B1 (en) | How to collectively back up and load processor load data in the exchange database management system | |
KR950005987B1 (en) | Maintenance system in electronic exchange | |
KR100282779B1 (en) | How to Load Redundant Relations in an Exchange Database Management System | |
KR940007838B1 (en) | Method of recovering transaction on real time database management system | |
KR100311218B1 (en) | Method for the subsystem reconfiguration of database management system under the on-line | |
KR0174603B1 (en) | How to restore the database of the exchange | |
KR930006356B1 (en) | Data base management system in electronic switching centre | |
KR950010485B1 (en) | Db skima management method | |
KR20010058225A (en) | Replicated Data Processing Scheme for Transaction Processing in Main Memory Database Management Systems | |
KR950003681B1 (en) | Maintaining method of electronic exchanges |
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: 20040831 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |