KR20000056409A - Method for backing up data of NMS DB and method for extracting data of NMS DB - Google Patents

Method for backing up data of NMS DB and method for extracting data of NMS DB Download PDF

Info

Publication number
KR20000056409A
KR20000056409A KR1019990005702A KR19990005702A KR20000056409A KR 20000056409 A KR20000056409 A KR 20000056409A KR 1019990005702 A KR1019990005702 A KR 1019990005702A KR 19990005702 A KR19990005702 A KR 19990005702A KR 20000056409 A KR20000056409 A KR 20000056409A
Authority
KR
South Korea
Prior art keywords
backup
data
information
network management
cycle
Prior art date
Application number
KR1019990005702A
Other languages
Korean (ko)
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 KR1019990005702A priority Critical patent/KR20000056409A/en
Publication of KR20000056409A publication Critical patent/KR20000056409A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents

Abstract

PURPOSE: A data backup and extraction method is provided to make a backup information file and modify a backup table and cycle without compiling again the program necessary for a backup process on a network management database data so that it can automatically perform the backup process. CONSTITUTION: A data backup and extraction method comprises steps of driving a cron demon and opening a log file(s21,s22), setting an environment for a database, reading a backup information file if there exists a backup target information, otherwise recording the log(s23-s26), loading a backup information content to a memory and matching a pattern to information of system tables(s27,s28), extracting a database data appropriate for a backup cycle if a matching result is a right syntax, and otherwise recording the log(s29-s31), and loading the database to a network management system server, and returning to the backup target information existence checking step(s32).

Description

망관리 데이터베이스 시스템의 데이터 백업 구축 방법 및 데이터 추출 방법{Method for backing up data of NMS DB and method for extracting data of NMS DB}Method for backing up data of NMS DB and method for extracting data of NMS DB

본 발명은 망관리 데이터베이스 시스템의 데이터 백업 구축방법 및 데이터 추출 방법에 관한 것으로, 특히 망관리 DB 데이터에 대해서 백업 처리하기 위하여 요구되는 프로그램을 다시 컴파일할 필요없이 백업정보 파일을 두어 백업테이블 및 백업주기를 수정하여 자동적으로 백업을 효율성있게 구축하도록 한 망관리 데이터베이스 시스템의 데이터 백업 구축방법 및 데이터 추출 방법에 관한 것이다.The present invention relates to a data backup construction method and a data extraction method of a network management database system. In particular, a backup table and a backup cycle by putting a backup information file without having to recompile a program required for backup processing for the network management DB data. The present invention relates to a data backup construction method and a data extraction method of a network management database system for automatically constructing a backup efficiently by modifying the system.

망관리 시스템에서 망관리를 위한 망관리 DB(Data Base) 데이터를 DB로 구축하여 이들 데이터를 관련 테이블에 정보를 저장하고, 저장주기를 정해 놓고 프로그램화하여 망관리 DB 데이터를 백업하게 된다.In the network management system, the network management DB (Data Base) data for network management is constructed as DB, and these data are stored in related tables, the storage cycle is defined and programmed to back up the network management DB data.

이러한 방법으로 백업처리하는 프로세스는 별도의 변경작업을 하여 적용하여야 하는 운용상의 요구사항이 우선적으로 고려되지 않고 운영되고 있다.In this way, the backup process is operated without prior consideration of the operational requirements that need to be applied with a separate change.

또한 망관리 DB 데이터 백업을 위한 백업주기를 프로그램에서 처리하고, 운용자가 원하는 백업정보 및 백업주기를 변경하기 위한 백업정보 파일이 없으며, 백업정보 및 백업주기 변경시 프로그램을 변경하여 재컴파일하여 적용해야 하는 번거로움이 있고, 변화하는 통신망 환경에 대응하고 향후 신규 망관리 시스템에 쉽게 수용할 수 있도옥 다양한 형태의 DB 데이터 백업을 처리할 수 있는 범용성이 없다.In addition, the program processes the backup cycle for network management DB data backup, and there is no backup information file to change the backup cycle and backup cycle desired by the operator, and when the backup information and backup cycle are changed, the program must be recompiled and applied. It is cumbersome to deal with, and there is no generality to handle various types of DB data backup to cope with changing network environment and to be easily accommodated in new network management system in the future.

또한 망관리 DB 데이터를 백업정보 파일 형태로 저장하여 망관리 DB를 운영자가 원하는 정보로 변경작업을 하여 망관리 DB 데이터를 운영자가 자유자재로 백업할 수 없는 문제점이 있다.In addition, there is a problem that the operator can not back up the network management DB data freely by saving the network management DB data in the form of backup information file to change the network management DB to the information desired by the operator.

따라서 상기한 바와 같이 동작되는 종래 기술의 문제점을 해결하기 위하여 창안된 본 발명의 목적은, 망관리 DB 데이터에 대한 백업을 구축하기 위하여 요구되는 백업정보 파일을 생성하여 백업주기에 맞는 DB 데이터를 산출하고 백업서버로 DB를 구축하는 수단을 제공하는 것이다.Accordingly, an object of the present invention, which was created to solve the problems of the prior art operating as described above, generates a backup data file required for establishing a backup for network management DB data and calculates DB data suitable for a backup cycle. It provides a means to build a DB as a backup server.

본 발명의 다른 목적은 프로그램 변경없이 백업정보 파일을 원하는 정보로 운용자가 생성하거나 수정하여 주면 망관리 DB 데이터 백업이 바로 수행되도록 프로세스를 단일화 하기 위한 수단을 제공하는 것이다.Another object of the present invention is to provide a means for unifying the process so that the network management DB data backup is performed immediately if the operator creates or modifies the backup information file with desired information without program change.

본 발명의 또다른 목적은 망관리 DB 데이터에 대한 백업구축에 따른 통신설비의 효율적 관리 및 DB 운용을 효율화 하기 위한 수단을 제공하는 것이다.It is another object of the present invention to provide a means for efficient management of a communication facility and DB operation according to a backup construction for network management DB data.

도 1 은 본 발명에 따른 프로세서 컨트롤러의 흐름도.1 is a flow diagram of a processor controller in accordance with the present invention.

도 2 는 본 발명에 따른 백업정보 해석기 및 DB 데이터 백업구축기 제어 흐름도.2 is a control flowchart of a backup information interpreter and a DB data backup implement according to the present invention;

도 3 은 본 발명에 따른 망관리 DB 데이터 백업 구축을 위한 프로세서간 통신을 나타낸 도.3 is a diagram showing interprocessor communication for network management DB data backup construction according to the present invention.

〈도면의 주요 부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

10 : 네트워크 관리 시스템 서버10: network management system server

20 : 네트워크 관리 시스템 백업 서버20: network management system backup server

상기한 바와 같은 목적을 달성하기 위하여 창안된 본 발명에 따른 망관리 데이터베이스 시스템의 데이터 백업 방법의 바람직한 실시예는,A preferred embodiment of the data backup method of the network management database system according to the present invention, which was created to achieve the object as described above,

제어정보를 메모리에 로드하는 단계와, 상기 제어정보를 읽는 단계, 상기 읽어들인 제어정보를 DB에 백업하는 단계를 포함하여 이루어진다.Loading control information into a memory; reading the control information; and backing up the read control information to a DB.

본 실시예에서 상기 읽어들이는 제어정보는, 일반화된 DB 분류명, 테이블명, 기준컬럼명, 백업주기를 포함하여 이루어지고, 상기 제어정보를 기준으로 하여 망관리 DB 데이터에 대한 백업 프로세스를 인보크(invoke)하며, 상기 백업 단계는 백업정보 해석기와 데이터 백업 구축기를 포맷하는 단계를 더 포함하여 이루어진다.In the present embodiment, the read control information includes a generalized DB classification name, a table name, a reference column name, a backup cycle, and invokes a backup process for network management DB data based on the control information. and the backup step further comprises the step of formatting a backup information interpreter and a data backup builder.

본 발명에 따른 망관리 데이터베이스 시스템의 데이터 추출 방법의 바람직한 실시예는, 크론(cron) 데몬을 구동하는 단계, 로그(log)하기 위한 파일을 오픈하는 단계, DB를 위한 환경을 설정하는 단계, 백업대상 정보가 존재하는지 여부를 확인하는 단계, 상기 백업대상 정보가 없으면 로그를 기록하는 단계, 상기 백업대상 정보가 있으면 백업정보 내용을 메모리에 로드하는 단계, 시스테이블(systables) 정보와 패턴을 매칭시키는 단계, 구문이 올바른지 확인하는 단계, 상기 구문이 올바르면 백업주기에 맞는 DB 데이터를 추출하고 아니면 로그를 기록하는 단계 및 네트워크 관리 시스템(NMS) 백업 서버에 DB를 로드하는 단계를 포함하여 이루어진다.A preferred embodiment of the data extraction method of the network management database system according to the present invention comprises the steps of: running a cron daemon, opening a file for logging, setting an environment for a DB, backing up Checking whether there is target information, recording a log if there is no backup target information, loading contents of backup information into memory if there is backup target information, and matching a pattern with systables information. And, if the syntax is correct, if the syntax is correct, extracting DB data suitable for a backup cycle, or recording a log, and loading the DB on a network management system (NMS) backup server.

본 실시예에 있어서, 상기 메모리에 백업되는 정보는 DB 분류명, 테이블명, 기준컬럼명, 백업주기를 포함하여 이루어진다.In the present embodiment, the information backed up to the memory includes a DB classification name, table name, reference column name, backup period.

이하에서 본 발명의 바람직한 실시 예를 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings, preferred embodiments of the present invention.

도 1 은 본 발명에 따른 프로세서 컨트롤러의 흐름도로서, 이에 도시된 바와 같이 로드 제어정보를 메모리하고(s10) 제어정보가 종료되면(s11) 종료하고 종료되지 않으면 다음 정보를 읽고(s12) DB를 백업한후(s13) 제어정보의 종료여부를 판단하는 단계로 되돌아간다.1 is a flowchart of a processor controller according to an embodiment of the present invention, in which load control information is stored (s10), when control information is terminated (s11), and when it is not terminated, the next information is read (s12) and the DB is backed up. After that (s13), the process returns to the step of determining whether or not the control information is finished.

도 2 는 본 발명에 따른 백업정보 해석기 및 DB 데이터 백업구축기 제어 흐름도로서, 이에 도시된 바와 같이 크론(cron) 데몬이 구동되고 로그(log)를 위한 파일을 오픈하는 단계(s21,s22)와, DB를 위한 환경을 설정하고 백업대상 정보가 존재하면 백업정보 파일을 읽고 아니면 로그를 기록하는 단계(s23-s26)와, 백업정보 내용을 메모리에 로드하고 시스테이블(systables) 정보와 패턴을 매칭하는 단계(s27,s28)와, 이후 올바른 구문이면 백업주기에 맞는 DB 데이터를 추출하고 아니면 로그를 기록하는 단계(s29-s31)와, 네트워크 관리 시스템 서버에 DB를 로드하고 백업대상 정보의 존재여부 단계로 되돌아가는 단계(s32)로 이루어지는 것으로,이의 과정을 설명하면 다음과 같다.2 is a flow chart of a backup information interpreter and a DB data backup builder according to an embodiment of the present invention, in which a cron daemon is driven and a file for logging is opened (s21 and s22); Setting up the environment for the database and reading the backup information file if the backup target information exists (s23-s26), loading the backup information contents into memory, and matching the systables information and pattern Step (s27, s28), and if the correct syntax thereafter extracts the DB data suitable for the backup cycle, or write a log (s29-s31), and load the DB to the network management system server and whether the backup target information exists It will be made back to step (s32), the process of which is described as follows.

크론 데몬에 의하여 DB 데이터 백업 프로세서가 구동되어 백업정보에 의하여 백업주기에 맞는 DB 데이터를 추출하는 과정을 나타낸다.The DB data backup processor is driven by the cron daemon to show the process of extracting DB data that matches the backup cycle based on the backup information.

또한 본 프로세서는 특정 백업정보 파일을 직접 분석하여 망관리 DB 데이터의 백업주기에 대한 DB 데이터를 추출하고 이로부터 망관리 DB 데이터를 산출하여 네트워크 관리 시스템(Network Management System:NMS) 백업 서버에 DB 데이터를 로드하는 과정을 나타낸 것으로 DB 데이터 백업구축 처리는 반복된다.Also, this processor extracts DB data about backup cycle of network management DB data by directly analyzing specific backup information file, and calculates network management DB data from it, and stores DB data on Network Management System (NMS) backup server. The process of loading DB data is repeated.

먼저 망관리 DB 데이터 백업구축 시작은 크론 데몬이 특정시간에 망관리 DB 데이터 백업 명령어가 불러지도록 실행하고, DB 데이터 백업시 발생하는 로그를 기록하기 위한 파일을 오픈하며, 크론 데몬 수행시 필요한 DB를 위한 환경을 설정한다.First of all, the network management DB data backup establishment starts by executing the cron daemon to call the network management DB data backup command at a specific time, opening a file to record the log generated when the DB data is backed up, and executing the cron daemon. Set the environment for

망관리 DB 데이터 백업 프로세스가 분석해야할 백업정보 존재여부를 체크하여 존재하면 다음 단계를 수행하고, 없으면 로그 파일에 에러 내용을 기록하고 되돌아가 계속 백업정보 존재유무를 반복한다.If the network management DB data backup process checks whether there is backup information to analyze, if there exists, perform the next step. If not, record the error in the log file and go back and repeat the existence of backup information.

이후 백업정보 관련 파일을 읽고, 백업정보 내용을 메모리에 로드하며, 백업정보 내용이 시스테이블(systables) 정보와 패턴 매칭하는지 체크한다.Then, the backup information file is read, the backup information is loaded into the memory, and the backup information is checked for pattern matching with the systables information.

다음으로 올바른 구문인지를 체크하여 올바른 구문이면 다음 단계를 수행하고, 그렇치 않으면 백업정보를 무시하고 로그 파일에 에러내용을 기록한후 다시 되돌아간다.Next, check if it is correct and if it is correct, perform the next step. Otherwise, ignore the backup information and record the error in the log file and then go back.

또한 백업주기에 맞는 DB 데이터를 추출하고, 망관리 DB에서 추출된 내용을 가지고 네트워크 관리 시스템(NMS) 백업서버에 DB 데이터를 로드하며, 다시 망관리 DB 데이터에 대한 백업구축을 위해 다시 반복작업을 수행한다.Also, it extracts the DB data suitable for the backup cycle, loads the DB data to the NMS backup server with the extracted contents from the network management DB, and executes the repetitive work again to construct the backup for the network management DB data. Perform.

도 3 은 본 발명에 따른 망관리 DB 데이터 백업 구축을 위한 프로세서간 통신을 나타낸 도로서, 이에 도시된 바와 같이 크론 데몬에 의하여 백업 프로세서가 구동되어 백업정보 파일로부터 관련 정보를 추출하여 네트워크 관리 시스템(NMS) 백업서버에 DB를 구축하게 된다.3 is a diagram illustrating interprocessor communication for establishing a network management DB data backup according to the present invention. As shown in FIG. NMS) DB is built on backup server.

따라서 교환기 출력메시지를 분석하여 망관리 데이터를 산출하고 이들을 DB 로 구축해 놓은 상태에서 DB를 위해 할당된 물리적인 영역을 초과하지 않도록 하는 망관리 DB 데이터에 대한 백업을 프로그램 변경없이 백업 DB 테이블 등록파일에 원하는 정보를 등록하여 백업주기만 수정하여 주면 자동적으로 백업 DB를 구축하여 처리한다.Therefore, backup of network management DB data that does not exceed the physical area allotted for the DB is calculated in the backup DB table registration file without changing the program. If you register the information you want and modify only the backup cycle, it automatically builds and processes the backup DB.

이상에서 상세히 설명한 바와 같이 동작하는 본 발명에 있어서, 개시되는 발명중 대표적인 것에 의하여 얻어지는 효과를 간단히 설명하면 다음과 같다.In the present invention operating as described in detail above, the effects obtained by the representative ones of the disclosed inventions will be briefly described as follows.

본 발명은, 망관리 DB 데이터 백업을 위한 백업정보 파일을 제공하고, 운용자가 원하는 백업정보 및 백업주기를 쉽게 변경할 수 있으며, 백업정보 및 백업주기 변경시 프로그램을 변경하여 재컴파일하여 적용해야 하는 번거로움에 대한 투명성이 보장되고, 변화하는 통신망 환경에 대응하고 향후 신규 망관리 시스템에 쉽게 수용할 수 있도록 다양한 형태의 DB 데이터 백업을 처리할 수 있는 범용성을 가진다.The present invention provides a backup information file for network management DB data backup, the operator can easily change the backup information and backup cycle desired, and when changing the backup information and backup cycle has to change the program to recompile and apply Transparency is guaranteed, and it is versatile to handle various types of DB data backup to cope with changing network environment and to be easily accommodated in new network management system in the future.

Claims (6)

제어정보를 메모리에 로드하는 단계와;Loading control information into a memory; 상기 제어정보를 읽는 단계;Reading the control information; 상기 읽어들인 제어정보를 DB에 백업하는 단계를 포함하여 이루어지는, 망관리 데이터베이스 시스템의 데이터 백업 방법.Backing up the read control information to a DB, a data backup method of a network management database system. 제 1 항에 있어서, 상기 읽어들이는 제어정보는,The method of claim 1, wherein the read control information, 일반화된 DB 분류명, 테이블명, 기준컬럼명, 백업주기를 포함하여 이루어지는, 망관리 데이터베이스 시스템의 데이터 백업 방법.A method for backing up data in a network management database system, including a generalized DB classification name, table name, reference column name, and backup cycle. 제 1 항 또는 제 2 항에 있어서, 상기 제어정보를 기준으로 하여 망관리 DB 데이터에 대한 백업 프로세스를 인보크(invoke)하는, 망관리 데이터베이스 시스템의 데이터 백업 방법.The data backup method according to claim 1 or 2, which invokes a backup process for network management DB data on the basis of the control information. 제 1 항 또는 제 3 항에 있어서, 상기 백업 단계는 백업정보 해석기와 데이터 백업 구축기를 포맷하는 단계를 더 포함하는, 망관리 데이터베이스 시스템의 데이터 백업 방법.4. The method of claim 1 or 3, wherein the backup step further comprises formatting a backup information interpreter and a data backup builder. 크론(cron) 데몬을 구동하는 단계;Driving a cron daemon; 상기 데몬 구동 후 로그(log)하기 위한 파일을 오픈하는 단계;Opening a file for logging after the daemon is running; 상기 파일 오픈 후 DB를 위한 환경을 설정하는 단계;Setting an environment for a DB after opening the file; 백업대상 정보가 존재하는지 여부를 확인하는 단계;Checking whether the backup target information exists; 상기 백업대상 정보가 없으면 로그를 기록하는 단계;Recording a log if there is no backup target information; 상기 백업대상 정보가 있으면 백업정보 내용을 메모리에 로드하는 단계;Loading backup information into memory if the backup target information exists; 상기 로드 후 시스테이블(systables) 정보와 패턴을 매칭시키는 단계;Matching a pattern with the systables information after the load; 상기 매칭 후 구문이 올바른지 확인하는 단계;Checking that the syntax is correct after the matching; 상기 구문이 올바르면 백업주기에 맞는 DB 데이터를 추출하고 아니면 로그를 기록하는 단계; 및If the syntax is correct, extracting DB data corresponding to a backup cycle and recording a log; And 네트워크 관리 시스템(NMS) 백업 서버에 상기 DB를 로드하는 단계를 포함하여 이루어지는, 망관리 데이터베이스 시스템의 데이터 추출방법.And a step of loading the DB on a network management system (NMS) backup server. 제 5 항에 있어서, 상기 메모리에 백업되는 정보는 DB 분류명, 테이블명, 기준컬럼명, 백업주기를 포함하여 이루어지는, 망관리 데이터베이스 시스템의 데이터 추출방법.The method of claim 5, wherein the information backed up in the memory comprises a DB classification name, a table name, a reference column name, and a backup cycle.
KR1019990005702A 1999-02-20 1999-02-20 Method for backing up data of NMS DB and method for extracting data of NMS DB KR20000056409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990005702A KR20000056409A (en) 1999-02-20 1999-02-20 Method for backing up data of NMS DB and method for extracting data of NMS DB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990005702A KR20000056409A (en) 1999-02-20 1999-02-20 Method for backing up data of NMS DB and method for extracting data of NMS DB

Publications (1)

Publication Number Publication Date
KR20000056409A true KR20000056409A (en) 2000-09-15

Family

ID=19574683

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990005702A KR20000056409A (en) 1999-02-20 1999-02-20 Method for backing up data of NMS DB and method for extracting data of NMS DB

Country Status (1)

Country Link
KR (1) KR20000056409A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100692790B1 (en) * 2000-06-30 2007-03-12 주식회사 케이티 Apparatus and method of data storage service for subscriber's ordered information
KR100693720B1 (en) * 1999-12-22 2007-03-12 주식회사 케이티 Controlling method of source system log table for data warehouse

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100693720B1 (en) * 1999-12-22 2007-03-12 주식회사 케이티 Controlling method of source system log table for data warehouse
KR100692790B1 (en) * 2000-06-30 2007-03-12 주식회사 케이티 Apparatus and method of data storage service for subscriber's ordered information

Similar Documents

Publication Publication Date Title
US8042097B2 (en) Automated semantic-based updates to modified code base
US6961931B2 (en) Dependency specification using target patterns
CN1648863A (en) Portable software application method
CA2144877A1 (en) Program modeling system
US9535687B2 (en) Audited builds based upon separate class dependency records
KR20000056409A (en) Method for backing up data of NMS DB and method for extracting data of NMS DB
CN112016099A (en) Method and system for analyzing static taint among binary program processes
TWI414995B (en) Development and execution platform
JP2000029678A (en) Program language conversion method, device therefor and recording medium
US20090158250A1 (en) Systems, methods and computer program products for operation history management for hpc programs optimization
US20230101320A1 (en) Method for creating and executing a control program for controlling an automation system, and automation system
CN113296748B (en) Mapping method, system, server and computer readable storage medium of data object and database
JP2764782B2 (en) Data structure expansion method for COBOL programs
JP2001265572A (en) Device and method for managing source program, and recording medium with its program recorded thereon
CN116644132A (en) Cross-platform data synchronization method, system and equipment based on browser data acquisition technology
CN114035801A (en) Project optimization method and device
CN100380323C (en) System and method for determining when an ejb compiler needs to be executed
KR20010011754A (en) Apparatus for generating batch file of a exchange
CN115658726A (en) Database integration method, device, equipment and storage medium
JP2001273151A (en) Device and method for executing program, recording medium and control program
KR20020053972A (en) The Apparatus and method of translation from SDL to C
JPH0319041A (en) Automatic control system for control item
JPH09325884A (en) Method for checking version of library text/macro
JP2001125779A (en) Device and method for managing constitution relation of program described in object oriented programming language and storage medium
JPS62200426A (en) Macro expansion method for high level language

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination