KR20080078392A - Method and apparatus for managing database by using monitoring function - Google Patents
Method and apparatus for managing database by using monitoring function Download PDFInfo
- Publication number
- KR20080078392A KR20080078392A KR1020070018468A KR20070018468A KR20080078392A KR 20080078392 A KR20080078392 A KR 20080078392A KR 1020070018468 A KR1020070018468 A KR 1020070018468A KR 20070018468 A KR20070018468 A KR 20070018468A KR 20080078392 A KR20080078392 A KR 20080078392A
- Authority
- KR
- South Korea
- Prior art keywords
- data
- server
- schema
- predetermined
- database
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012544 monitoring process Methods 0.000 title claims abstract description 25
- 238000001914 filtration Methods 0.000 claims abstract description 49
- 230000006870 function Effects 0.000 claims abstract description 38
- 238000007726 management method Methods 0.000 claims description 122
- 238000013519 translation Methods 0.000 claims description 12
- 230000000903 blocking effect Effects 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 6
- 238000010295 mobile communication Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 3
- 241000963037 Moneta Species 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000010813 municipal solid waste Substances 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Images
Classifications
-
- G06Q50/50—
Abstract
Description
도 1은 본 발명의 일 실시 예에 따른 데이터베이스 관리 시스템을 개략적으로 도시한 것이다.1 schematically illustrates a database management system according to an embodiment of the present invention.
도 2는 본 발명의 일 실시 예에 따른 DB 관리 장치의 개략적인 블록도이다.2 is a schematic block diagram of a DB management apparatus according to an embodiment of the present invention.
도 3 및 도 4은 본 발명의 일 실시 예에 따른 모니터링 기능을 이용한 데이터베이스 관리 방법을 설명하기 위한 순서도이다.3 and 4 are flowcharts illustrating a database management method using a monitoring function according to an embodiment of the present invention.
도 5는 본 발명의 일 실시 예에 따른 데이터베이스 서버의 스키마 구조를 도시한 것이다.5 illustrates a schema structure of a database server according to an embodiment of the present invention.
도 6는 본 발명의 일 실시 예에 따른 고객 정보의 자동 변환 예를 도시한 것이다.6 illustrates an example of automatic conversion of customer information according to an embodiment of the present invention.
도 7 및 도 8은 본 발명의 일 실시 예에 따른 검색 방법을 설명하기 위하여 데이터베이스 관리 장치의 화면을 도시한 것이다.7 and 8 illustrate screens of a database management device for explaining a search method according to an embodiment of the present invention.
도 9은 본 발명의 일 실시 예에 따른 데이터베이스 관리 장치에 구현된 메신저를 도시한 것이다.9 illustrates a messenger implemented in a database management device according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
110, 130, 210, 230 : DB 서버110, 130, 210, 230: DB server
150, 250 : 수집 서버150, 250: collection server
270 : 하부 DB 관리 장치270: lower DB management device
300 : 스위치(Switch)300: Switch
350 : 미러링 포트(Mirroring port)350: mirroring port
500 : DB 관리 장치500: DB management device
본 발명은 데이터베이스 관리 시스템에 관한 것으로, 보다 상세하게는 다수의 데이터베이스와 연결된 DB 수집 서버에서 모든 데이터베이스로부터 특정 데이터를 수집하여 관리하는 기능을 제공하기 위한 모니터링 기능을 이용한 데이터베이스 관리 방법 및 그 서버에 관한 것이다.The present invention relates to a database management system, and more particularly, to a database management method and a server using a monitoring function for providing a function of collecting and managing specific data from all databases in a DB collection server connected to a plurality of databases. will be.
일반적으로 데이터베이스 시스템을 구축하기 위하여 중앙처리장치(CPU)의 처리속도의 한계, 하드디스크 용량의 한계, 중앙처리장치와 하드디스크 간의 정보를 교환해 주는 통로 역할을 하는 버스(BUS) 속도의 한계 등과 같은 컴퓨터 하드웨어의 제약 사항들을 고려하여야 한다. 따라서, 종래에는 이와 같은 하드웨어의 제약사항들을 극복한 대용량의 데이터베이스 시스템을 구축할 수 없기 때문에 동일한 기능을 수행하는 데이터베이스를 지역단위로 구성하는 즉, 분산시스템 형태로 구현하였다. In general, the limitation of the processing speed of the CPU, the limitation of the hard disk capacity, the limitation of the bus speed, which serves as a path for exchanging information between the central processing unit and the hard disk, to build a database system. Consider the limitations of the same computer hardware. Therefore, in the related art, since a large-capacity database system that overcomes such hardware limitations cannot be constructed, a database that performs the same function is configured in a local unit, that is, in a distributed system form.
최근 하드웨어가 발전함에 따라 이러한 제약사항이 극복되었으며, 이로 인해 단일의 대용량 데이터베이스 시스템을 구축하기 위한 프로젝트가 전세계적으로 진행되고 있다. 대용량의 데이터베이스 시스템은 다수의 데이터베이스 서버로부터 스위치를 통해 데이터를 백업 받아 하나의 데이터베이스 관리 장치에서 총괄적으로 관리하고 있다. With the recent advances in hardware, these limitations have been overcome, leading to projects around the world for building a single large database system. Large database systems are backed up by switches from multiple database servers and managed by a single database management device.
그러나, 데이터베이스 서버에 백업되어 저장되는 정보들이 순차적으로 저장되기 때문에 데이터베이스 서버의 특정 테이블에 고객 정보가 들어있어도 관리자 조차도 어느 테이블에 고객 정보가 들어있는지 그리고, 고객 정보에는 어떤 것이 포함되어 있는지 확인하기 어렵다는 문제점이 있어 왔다. 또한, DB 서버마다 고객 정보를 관리하기 위한 스키마가 약간씩 차이가 있어 중앙에서 데이터를 관리하는 관리자는 특정 테이블에 특정 컬럼이 필터링 창에 등록되어 있지만 컬럼명이 무엇을 뜻하는지 파악하기 어려운 상태로 존재하여 담당 운영자가 아니면 데이터베이스를 관리하기 어렵다는 문제점이 있어 왔다.However, because the information that is backed up and stored in the database server is stored sequentially, even if a specific table of the database server contains customer information, it is difficult for an administrator to check which table contains the customer information and what the customer information contains. There has been a problem. In addition, the schema for managing customer information is slightly different for each DB server. Therefore, the administrator who manages data centrally has a specific column registered in the filtering window, but it is difficult to understand what the column name means. Therefore, there has been a problem that it is difficult to manage the database unless the operator is in charge.
또한, 종래의 데이터베이스 관리 시스템에서는 사고 발생시 또는 운영자가 하위 데이터베이스 관리자 즉, 타 운영자에게 DB 관리에 관하여 안내를 실시간으로 통보할 방법이 없어 긴급 상황 발생시에 빠르게 대처할 수 없다는 문제점이 있어 왔다.In addition, in the conventional database management system, there has been a problem in that there is no method of notifying the lower database manager, that is, another operator of the guidance in real time about the DB management, in case of an accident or the operator cannot cope quickly when an emergency occurs.
본 발명은 상기한 사정을 감안하여 창출된 것으로서, 본 발명의 목적은 다수의 데이터베이스와 연결된 데이터베이스 서버 또는 수집 서버에서 모든 데이터베이스로부터 특정 데이터를 수집하여 관리하는 기능을 제공함으로써, 다수의 데이터베 이스를 효과적으로 검색하고 관리할 수 있어 사용자들이 탄력적으로 데이터베이스를 관리할 수 있는 모니터링 기능을 이용한 데이터베이스 관리 방법 및 그 장치를 제공하는 데 있다. The present invention was created in view of the above circumstances, and an object of the present invention is to provide a plurality of databases by providing a function of collecting and managing specific data from all databases in a database server or a collection server connected to a plurality of databases. The present invention provides a method and apparatus for managing a database using a monitoring function that enables users to manage a database flexibly by searching and managing effectively.
본 발명의 다른 목적은 DB 관리 장치에서 데이터 수집 대상 범위, 수집 대상 데이터의 범위 등 데이터베이스 관리를 위한 정책을 용이하게 수정하고 바로 적용하기 위한 모니터링 기능을 이용한 데이터베이스 관리 방법 및 그 장치를 제공하는 데 있다.Another object of the present invention is to provide a method and apparatus for managing a database using a monitoring function for easily modifying and immediately applying a policy for database management such as a data collection target range and a collection target data range in a DB management apparatus. .
본 발명의 또 다른 목적은 DB 관리 장치, 하부 DB 관리 장치, 데이터의 수집 대상이 DB 서버 또는 수집 서버 및 관리자 단말기 사이에 에이전트 또는 메신저 기능을 구현하여 쿼리(Query) 발생 또는 문제 발생 시에 신속한 해결책을 제시하고 적용하기 위한 모니터링 기능을 이용한 데이터베이스 관리 방법 및 그 장치를 제공하는 데 있다.Still another object of the present invention is to provide a quick solution when a query or a problem occurs by implementing an agent or a messenger function between a DB management device, a lower DB management device, and a data collection target between a DB server or a collection server and an administrator terminal. The present invention provides a method and apparatus for managing a database using a monitoring function for presenting and applying the same.
상기 목적을 달성하기 위한 본 발명의 제 1 관점에 따른 모니터링 기능을 이용한 데이터베이스 관리 방법은, Database management method using a monitoring function according to a first aspect of the present invention for achieving the above object,
A) 다수의 DB 서버와 연결된 스위치의 미러링 포트(Mirroring port)로부터 전송되는 데이터 중 필터링 정책에 따라 미리 설정된 수집 대상 범위에 포함된 상기 DB 서버의 데이터를 수집하는 단계; A) collecting data of the DB server included in a predetermined collection target range according to a filtering policy among data transmitted from a mirroring port of a switch connected to a plurality of DB servers;
B) 상기 필터링 정책에 따라 상기 데이터를 필터링하고 분석하는 단계;B) filtering and analyzing the data according to the filtering policy;
C) 분석된 상기 데이터를 색인화하여 원본 데이터와 함께 저장하는 단계; 및C) indexing the analyzed data and storing it together with the original data; And
D) 색인화된 상기 데이터를 기반으로 상기 데이터에 대한 통계 작업을 수행하는 단계를 포함한다.D) performing statistical operations on the data based on the indexed data.
상기 목적을 달성하기 위한 본 발명의 제 2 관점에 따른 모니터링 기능을 이용한 데이터베이스 관리 방법은, Database management method using a monitoring function according to a second aspect of the present invention for achieving the above object,
ⅰ) 다수의 DB(Database) 서버와 연결된 스위치의 미러링 포트(Mirroring port)로부터 전송되는 데이터를 수집하는 단계;Iii) collecting data transmitted from a mirroring port of a switch connected to a plurality of database servers;
ⅱ) 상기 데이터를 분석하여 상기 데이터에 상응하는 DB 서버가 필터링 정책에 따라 미리 설정된 수집 대상 범위에 포함되는지 여부를 판단하는 단계; Ii) analyzing the data to determine whether a DB server corresponding to the data is included in a preset collection target range according to a filtering policy;
ⅲ) 상기 DB 서버가 상기 수집 대상 범위에 포함되는 않은 경우, 소정의 안내 메시지를 관리자 단말기로 전송하는 단계;Iii) transmitting a predetermined guide message to an administrator terminal when the DB server is not included in the collection target range;
ⅳ) 상기 필터링 정책의 변경에 따라 상기 DB 서버가 수집 대상 범위에 포함된는 경우, 상기 데이터 중 상기 수집 대상 범위에 속하는 데이터를 필터링하고 분석하는 단계; 및 Iii) filtering and analyzing data belonging to the collection target range of the data when the DB server is included in the collection target range according to the change of the filtering policy; And
ⅴ) 분석된 상기 데이터를 색인화하여 원본 데이터와 함께 저장하는 단계를 포함한다.Iii) indexing the analyzed data and storing it together with the original data.
상기 목적을 달성하기 위한 본 발명의 제 3 관점에 따른 모니터링 기능을 이용한 데이터베이스 관리 장치는, Database management apparatus using a monitoring function according to a third aspect of the present invention for achieving the above object,
다수의 DB(Database) 서버와 연결된 스위치의 미러링 포트(Mirroring port)로부터 전송되는 데이터를 수집하는 수집부;A collector configured to collect data transmitted from a mirroring port of a switch connected to a plurality of DB servers;
상기 데이터가 미리 설정된 수집 대상 범위에 포함되는 상기 DB 서버로부터 수집된 데이터인지 여부 및 상기 데이터에 포함된 내용이 상기 수집 대상 범위에 속하는지 여부를 판단하고 필터링하는 필터링부;A filtering unit for determining and filtering whether the data is data collected from the DB server included in a preset collection target range, and whether the data included in the data belongs to the collection target range;
상기 DB 서버로부터 상기 DB 서버의 스키마를 요청하고 소정의 스키마에 매핑(Mapping)시키는 스키마(Schema) 관리부;Schema management unit for requesting the schema of the DB server from the DB server and mapping to a predetermined schema (Schema);
상기 필터링부로부터 수신된 상기 데이터를 분석하여 상기 소정의 스키마에 따라 분류하는 색인화부; 및An indexing unit analyzing the data received from the filtering unit and classifying the data according to the predetermined schema; And
상기 색인화부를 통해 분류 저장된 상기 데이터에 대한 통계를 연산하는 통계부를 포함 포함한다.And a statistics unit for calculating statistics on the data classified and stored through the indexing unit.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 설명한다.Hereinafter, with reference to the accompanying drawings will be described a preferred embodiment of the present invention.
도 1은 본 발명의 일 실시 예에 따른 데이터베이스 관리 시스템을 개략적으로 도시한 것이다.1 schematically illustrates a database management system according to an embodiment of the present invention.
도 1을 참조하면, 모니터링 기능을 이용한 데이터베이스 관리 시스템은 다수의 데이터베이스 서버들(110, 130, 210, 230 이하 'DB 서버' 라 한다), 상기 DB 서버(110, 130, 210, 230)의 데이터를 수집하는 수집 서버(150, 250), 적어도 하나의 수집 서버(250)를 관리하는 하부 DB 관리 장치(270), DB 서버, 수집 서버, 및 하부 DB 관리 장치 중 적어도 하나와 연결되는 스위치(300), 상기 스위치(300)에 연결된 모든 서버들의 데이터를 백업하여 수집하는 미러링 포트(Mirroring port; 350), 상기 미러링 포트(350)로부터 데이터를 수집하여 모니터링을 수행하는 DB 관리 장 치(500)를 포함하여 구성된다.Referring to FIG. 1, a database management system using a monitoring function is referred to as a plurality of
일 응용 예에서 DB 서버(110, 130)가 스위치(300)에 직접 연결되는 것이 가능하며, 다수의 DB 서버가 구비되어 있는 경우 수집 서버(150, 250)에서 각 DB의 데이터를 수집한 후 스위치(300)로 전송한다.In an application example, the
상기 스위치(300)는 다수의 포트(port)를 구비하고 포트(330)와 연결된 DB 서버, 수집 서버(150, 250), 및 하부 DB 관리서버(270) 중 적어도 하나로부터 데이터를 백업하여 상기 스위치(300) 내에 구비된 미러링 포트(350)로 전송한다.The
일 응용 예에서, 상기 스위치(300)의 포트에 하부 스위치(Sub-switch; 미도시)가 연결되고 상기 하부 스위치에 DB 서버, 수집 서버, 및 하부 DB 관리 장치 중 적어도 하나와 연결되는 되는 것이 가능하다.In one application, a sub-switch (not shown) is connected to a port of the
DB 서버, 수집 서버(150, 250) 및 하부 DB 관리 장치(270)에 에이전트(Agent) 또는 메신저(Instant Messenger) 기능이 구비되거나, 또는 상기 DB 서버, 수집 서버(150) 및 하부 DB 관리 장치(270)와 연결된 관리자 단말기에 에이전트 또는 메신저 기능이 구비되어 있어, 고객 정보와 같이 중요한 데이터와 관련되어 의심스러운 쿼리(Query)가 발생하는 경우 DB 관리 장치(500)에 설치된 메신저를 통해 실시간으로 경고 메시지를 송수신하고, 상기 쿼리에 대한 보고서를 송수신할 수 있다.An agent or instant messenger function is provided in the DB server, the
또한, DB 서버, 수집 서버(150, 250) 또는 하부 DB 관리 장치(270)와 상기 DB 관리 장치(500) 각각에 설치된 메신저를 통하여 시스템 환경 및 현황에 대한 경고 기능을 상호 통신하는 것이 가능하다.In addition, it is possible to mutually communicate a warning function of the system environment and the current state through a messenger installed in each of the DB server, the
일 실시 예에서, DB 관리 장치(500)는 상기 에이전트 또는 메신저를 통해 일반 사용자 권한으로 접속한 DB 서버, 수집 서버, 또는 하부 DB 관리 장치의 사용자에게 소정의 인증 과정을 거친 후에 접근 권한을 부여함으로써 DB 관리 장치(500)에 접근이 가능하도록 구현하는 것이 가능하다. 상기 일반 사용자 권한으로 접속한 사용자에게 접근 권한 뿐만 아니라 DB 서버 등을 관리할 수 있는 관지라 권한을 부여하는 것 또한 가능하다. DB 관리 장치(500)는 설정된 정책을 즉시 변경하는 것이 가능하고 변경된 정책을 상기 에이전트 또는 메신저를 통해 상기 스위치(300)를 통해 연결된 DB 서버, 수집 서버, 또는 하부 DB 관리 장치로 통보하고 그 정책을 바로 수행하는 것이 가능하다.In one embodiment, the
일 응용 예에서, 상기 DB 관리 장치(500)는 상기 에이전트 또는 메신저를 통해 일반 사용자 권한으로 접속한 사용자의 정보를 기록한 리포트 또는 시간에 따른 접속률 등의 통계 정보를 포함하는 리포트를 생성하여 지정된 관리자 단말기로 전송한다.In one application example, the
도 2를 참조하면, DB 관리 장치(500)는 수집부(510), 필터링부(520), 스키마관리부(530), 색인화부(540), 통계부(550), 번역부(560), 메시지 발생부(570), 및 메신저(580)를 포함하여 구성된다.Referring to FIG. 2, the
상기 수집부(510)는 스위치(300)의 미러링 포트(350)와 직접 연결되어 상기 미러링 포트(350)를 통해 DB 서버, 수집 서버, 또는 하부 DB 관리 장치(270)의 데이터를 수집한다. The
상기 수집부(510)는 상기 DB 관리 장치(500)를 관리하는 관리자의 정책에 따라 미리 설정된 IP를 갖는 DB 서버는 로깅(Logging)이 가능하며 상기 DB 서버의 데이터만을 수집하는 것이 가능하다. 이때, 상기 미리 설정된 IP 이외의 DB 서버의 데이터는 '휴지통(Trash Basket)에 버리기 기능' 등을 이용한 필터링(Filtering)이 수행되며 상기 DB 관리 장치(500)에서 관리하지 않는다.The
일 응용 예에서, 상기 수집부(510)는 상기 관리자의 정책에 따라 미리 설정되지 않은 IP의 DB 서버의 데이터가 상기 미러팅 포트(350)를 통해 입력되는 경우, 상기 수집부(510)는 안내 메시지를 발생하도록 메시지 발생부(570)로 요청하고, 상기 메시지 발생부(570)는 유선망 및/또는 이동 통신망(600)을 통해 관리자 단말기인 이동 단말기(700) 및/또는 유선 단말기(800)로 상기 안내 메시지를 전송한다.In one application example, when the
필터링부(520)는 상기 수집부(510)에서 수집된 데이터 중 DB 관리 장치(500)에서 관리하고자 하는 데이터를 필터링하는 기능을 수행하는 곳으로, 상기 데이터가 미리 설정된 대상 범위에 포함되는지 여부를 판단한다. 상기 대상 범위는 상기 데이터를 차단하기 위한 차단 대상 범위 또는 상기 데이터를 수집 대상에 포함시키기 위한 대상 범위이다.The
일 응용 예에서, 상기 필터링부(520)는 상술한 데이터 필터링 기능 뿐만 아니라 DB 서버가 정책에 부합하는 IP를 갖는 서버인지 여부를 판단하는 기능을 수행하는 것이 가능하다.In one application example, the
상기 필터링부(520)에서 필터링된 데이터는 색인화부(540)로 전송되어 상기 데이터에 꼬리말을 부가하여 저장하거나, 상기 데이터에서 특정 정보를 추출하여 원본 데이터와 함께 저장한다. 상기 꼬리말은 상기 데이터에 부합하는 요약 정보로써 숫자, 기호 등으로 간단하게 표시한다. 예를 들면, 이름은 "1", 주소는 "2", 전화번호는 "3" 과 같이 매핑하여 상기 데이터에 이름, 주소, 전화번호가 모두 포함되어 있는 경우에는 상기 데이터의 꼬리말로서 "123"이 부가된다.The data filtered by the
상기 색인화부(540)에서 데이터의 특정 정보를 추출하여 저장하는 경우, 상기 특정 정보는 색인화를 위하여 미리 설정된 소정의 항목이다. 상기 소정의 항목은 후술할 스키마 관리부(530)에서 정의된 스키마(Schema)이다.When the
스키마 관리부(530)는 DB 관리 장치(500)에서 관리하는 모든 DB 서버의 스키마를 상기 DB 관리 장치(500)에서 정의한 스키마와 매핑하여 관리한다. 예를 들면, 각각의 DB 서버들은 DB 서버의 관리자의 필요에 따라 고객 정보를 관리하는데, 그 형식에 약간의 차이가 발생되고 있었다. 도 5를 참조하여 설명하면, 보라매 #2에 위치한 e-Pay 서버(410)는 고객 주소로써 "Addr." 또는 "AddExt" 컬럼을 사용해 왔으며, 보라매 #2의 모네타 카드 웹 서버(430)는 고객 주소를 "ADDRESS", "ADDR", "HOME_ADD", "HOME_ADDI" 등의 컬럼을 사용하고, 모네타 카드 서버(450)는 고객 주소로써 "HOME_ADDI", "HOME_ADDR2" 등의 컬럼을 사용함을 알 수 있다. 따라서, DB 관리 장치(500)에서는 e-Pay 서버(410), 모네타 카드 웹 서버(430), 및 모네타 카드 서버(450)로부터 고객 주소에 대한 컬럼을 수집하여 "고객 주소"로 정의하고, 고객 주소에 "Addr.", "AddExt", "ADDRESS", "ADDR", "HOME_ADD", "HOME_ADDI", "HOME_ADDR2"를 매핑시킨다.The
상기 스키마 관리부(530)에서 관리하는 스키마는 DB 서버명, IP 주소, DB 서 버 종류, 테이블명, 및 컬럼명 중 적어도 하나를 포함하며, 상기 컬럼명의 일 예로는 고객 성명, 전화번호, 고객계정, 고객 주소, 주민번호, 신용카드 번호, 비밀번호, 이메일 주소 등이 있다.The schema managed by the
번역부(560)는 도 6에 도시된 바와 같이 참조 번호 510의 고객 정보 즉, "select * from pnbx_cust_point_hist where soc_sec_num ='720724xxxxxxx'"를 참조 번호 530과 같이 "select 모든 항목 from 포인트박스의 총적립 포인트, 총사용 포인트의 마스터테이블 where 주민등록번호 ='720724xxxxxxx'"와 같이 키워드를 번역한다.As illustrated in FIG. 6, the
일 응용예에서, 상기 번역부(560)는 "select * from pnbx_cust_point_hist where soc_sec_num ='720724xxxxxxx'" 중 사용자가 마우스로 특정 문구 또는 기호, 예컨대, "*", "pnbx_cust_point_hist", "soc_sec_num" 중 하나를 선택하면 선택된 문구 또는 기호를 번역한다. 또는 사용자가 마우스로 상기 고객 정보 중 주요 컬럼명이나 테이블명 등의 검색 조건에 마우스를 올려놓으면 자동 번역되어 디스플레이 된다.In one application, the
통계부(550)는 스키마 관리부(530) 및 색인화부(540)와 연동하며, DB 관리 장치(500)의 스키마 및 색인화하여 저장된 원본 데이터를 기반으로 통계를 연산하여 제공한다.The
상기 통계부(550)는 DB 관리 장치(500)의 화면 또는 관리자 단말기로 검색 툴(Tool)을 제공하는데, 그 일 예가 도 7 및 도 8에 각각 도시되어 있다. 도 7은 검색하고자 하는 정보를 한정하게 되는데, 먼저 DB 서버의 위치(610)를 선택하고, DB 서버 명(620)을 선택한 후, IP 주소(630)를 선택한다. 그 뒤, DB 종류(640), 테이블 명(650), 고객 정보(660), 주요 컬럼(670)을 순차로 선택한다. 도 8은 DB 서버의 위치(610), DB 서버 명(620), IP 주소(630), DB 종류(640), 테이블 명(650), 고객 정보(660), 주요 컬럼(670)을 선택하는 일 예를 도시한 것이다.The
또한, 상기 통계부(550)는 상기 색인화된 데이터를 기반으로 상기 데이터에 대한 통계 작업을 수행하여 상기 DB 관리 장치에 접속된 IP, 또는 특정 DB 서버에 접속한 클라이언트(Client)의 IP에 대한 접속 빈도를 연산하여 필터링부(520)로 그 결과를 전송한다. 상기 연산된 통계 자료를 기반으로 접속 IP의 범위를 결정함으로써 상기 IP에 대한 필터링 정책이 변경되면, 상기 필터링부(520)는 접속 허용 IP를 추가하는 작업을 수행한다. In addition, the
상기 통계부(550)는 상기 색인화된 데이터를 기반으로 쿼리(Query)에 대한 통계 작업을 수행하고, 상기 쿼리 중 발생 빈도수가 소정 값 이상인 상기 쿼리에 대하여 분석을 수행하여 상기 쿼리의 내용에 고객 정보와 관련된 내용이 존재하지 않는 경우 차단 대상 범위 또는 수집 대상 범위에 포함되도록 상기 필터링부로 그 결과를 전송한다.The
메시지 발생부(570)는 상기 필터링부(520)에서 판단한 결과, 수집된 상기 데이터가 미리 설정된 수집 대상 범위에 포함되지 않은 DB 서버로부터 수집된 데이터인 경우, 또는 상기 데이터에 포함된 내용이 수집 대상 범위에 속하지 않는 경우, 관리자 단말인 이동 단말기(700) 및/또는 유선 단말기(800)로 안내 메시지 또는 경고 메시지를 전송한다.As a result of the determination by the
이때, DB 관리 장치(500) 및 상기 DB 관리 장치(500)와 스위치(300)를 통해 연결된 DB 서버, 수집 서버, 및 하부 DB 관리 장치 중 적어도 둘 사이에 각각 메신저 기능이 구현되어 있는 경우, 실시간으로 상기 안내 메시지 또는 경고 메시지를 송수신하는 것이 가능하다. 그 일 예가 도 9에 도시되어 있다. 도 9를 참조하면, "알림판"에 총 345건의 경고 메시지가 발생(810)하였고, 그 중 340 건의 경고 메시지를 처리하여 참조 번호 830을 선택하면 그 내역이 디스플레이된다. 또한, 경고 메시지 중 5건이 미처리로 남아있으며(참조 번호 850), 30건은 재검토 대상으로 분류되어 있다(참조 번호 870).In this case, when the messenger function is implemented between at least two of the
상술한 바와 같이 구성된 본 발명의 작동 상태에 대하여 설명한다.The operating state of the present invention configured as described above will be described.
도 3 및 도 4는 본 발명의 일 실시 예에 따른 모니터링 기능을 이용한 데이터베이스 관리 방법을 설명하기 위한 순서도이다.3 and 4 are flowcharts illustrating a database management method using a monitoring function according to an embodiment of the present invention.
도 3를 참조하여, 본 발명에 따른 제1 실시 예를 설명한다.Referring to FIG. 3, a first embodiment according to the present invention will be described.
다수개의 포트(330) 각각에 DB 서버, 수집 서버, 하부 DB 관리 장치(270), 및 하부 스위치(미도시)중 적어도 하나가 연결되고, 연결된 상기 DB 서버, 수집 서버, 하부 DB 관리 장치(270), 및 하부 스위치로부터 데이터를 백업 받은 미러링 포트(350)를 통해 DB 관리 장치(500)가 전체 패킷(Packet) 데이터를 수집한다(S210).At least one of a DB server, a collection server, a lower
이때, 상기 데이터가 네트워크 인터페이스 카드(Network Interface Card, NIC)를 통과할 때, 상기 DB 관리 장치(500)는 IP 필터링 정책을 적용하여 상기 데이터가 상기 IP 필터링 정책에 포함된 DB 서버의 IP로부터 수집된 데이터인지 여부 를 판단한다(S220).In this case, when the data passes through a network interface card (NIC), the
상기 단계 S220의 판단 결과, 해당 IP의 데이터가 아닌 경우, 상기 데이터를 Trash Basket에 버린다(S230). 그러나, 상기 단계 S220의 판단 결과, 해당 IP의 데이터인 경우, 상기 데이터의 내용이 수집 대상 범위에 속하는지 여부를 판단한다(S240). As a result of the determination in step S220, if the data is not the corresponding IP, the data is discarded in the crash basket (S230). However, as a result of the determination in step S220, in the case of data of the corresponding IP, it is determined whether the content of the data falls within the collection target range (S240).
상기 데이터의 내용이 상기 수집 대상 범위에 속하지 않는 경우 또는 상기 데이터가 정의된 형식을 벗어나는 경우, 상기 DB 관리 장치(500)는 소정의 경고 메시지를 관리자 단말기로 전송하여 관리자가 상기 데이터에 대한 처리를 수행하도록 한다(S250, S260). 상기 DB 관리 장치(500)는 상기 경고 메시지를 유선망 또는 이동 통신망을 통해 관리자 단말로 전송한다. 또한, 상기 DB 관리 장치(500)와 상기 스위치(300)를 통해 연결된 DB 서버(100)의 수집 서버(150, 250)에 에이전트 또는 메신저(Instant Messenger)가 설치되어 있는 경우에는 상기 DB 관리 장치(500)는 상기 DB 서버(100)와 실시간으로 데이터를 송수신한다.When the content of the data does not belong to the collection target range or when the data is out of the defined format, the
그러나, 상기 데이터의 내용이 상기 수집 대상 범위에 속하는 경우, 상기 데이터를 분석하여 색인화 작업을 수행한다(S270). 상기 색인화 작업은 상기 데이터에 꼬리말을 부가하여 저장하거나, 또는 DB 관리 장치(500)에서 설정한 스키마에 따라 상기 데이터에서 추출한 소정 항목들을 원본 데이터와 함께 저장하는 것이다(S280). 상기 소정 항목들의 일 예로는 DB 서버명, IP 주소, DB 서버의 종류, 테이블명, 컬럼명 등이 있다. 여기서, 상기 DB 관리 장치(500)는 상기 스위치(300)에 연결된 DB 서버 또는 하부 DB 관리 장치(150, 250)로부터 상기 DB 서버에서 사용되 는 스키마를 요청하여 수신하고, 상기 DB 관리 장치(500)에서 적용되는 스키마에 매핑(mapping) 시켜 저장 관리한다.However, if the content of the data falls within the collection target range, the data is analyzed and indexing is performed (S270). The indexing operation may be performed by adding a footer to the data or storing predetermined items extracted from the data along with the original data according to a schema set by the DB management apparatus 500 (S280). Examples of the predetermined items include a DB server name, an IP address, a type of DB server, a table name, a column name, and the like. Here, the
또한, 상기 소정 항목들에 대한 번역 기능이 구비되어 있어, 원본 데이터가 디스플레이된 상태에서 상기 원본 데이터 중 상기 소정 항목들 중 하나를 선택하거나 또는 상기 원본 데이터에 대한 번역을 요청하는 경우, 상기 DB 관리 장치(500)는 상기 요청에 따른 번역 수행하여 화면에 디스플레이 한다(도 6 참조).In addition, a translation function for the predetermined items is provided, and when the user selects one of the predetermined items among the original data or requests translation for the original data while the original data is displayed, the DB management is performed. The
부가적으로, 관리자에 의해 통계 작업이 요청되는 경우, 상기 색인화되어 저장된 데이터를 기반으로 통계 작업을 수행하고 그 결과를 화면에 디스플레이 한다(S290).In addition, when a statistical task is requested by the administrator, the statistical task is performed based on the indexed and stored data and the result is displayed on the screen (S290).
통계 작업에 대하여 부언하면, 상기 DB 관리 장치(500)는 상기 색인화된 데이터를 기반으로 상기 데이터에 대한 통계 작업을 수행하여 상기 DB 관리 장치(500)에 접속된 IP, 또는 특정 DB 서버에 접속한 클라이언트(Client)의 IP를 접속 빈도를 연산한다. 그리고, 상기 DB 관리 장치(500)는 연산된 통계 자료를 기반으로 접속 IP의 범위를 결정하며 접속 허용 IP를 추가하는 작업을 수행하여, 상기 IP에 대한 필터링 정책을 변경한다.In addition, the
또한, 상기 DB 관리 장치(500)는 상기 색인화된 데이터를 기반으로 쿼리(Query)에 대한 통계 작업을 수행하고, 상기 쿼리 중 발생 빈도수가 소정 값 이상인 상기 쿼리에 대하여 분석을 수행하여 상기 쿼리의 내용에 고객 정보와 관련된 내용이 존재하는지 여부를 판단한다. 따라서, 상기 DB 관리 장치(500)는 상기 판단 결과 상기 고객 정보와 관련된 내용이 존재하지 않는 경우 상기 미리 설정된 차단 대상 범위에 포함시켜 상기 쿼리가 차단되도록 한다.In addition, the
일 응용 예에서, 관리할 대상 데이터가 많아짐에 따라 상기 DB 관리 장치(500)가 2개 이상 운영되어야 하는 경우, 모든 DB 관리 장치(500)에 각각 로그인 하지 않더라도 하나의 DB 관리 장치(500)에서 로그인 하는 것으로 2개 이상의 DB 관리 장치(500)의 모든 프로그램 및 데이터에 접속가능하도록 구현된다.In one application example, when more than two
또한, 관리자에게 제공하는 ID 및 패스워드에 등급을 부여하여 등급에 따라 접속할 수 있는 프로그램 및 데이터를 제한하는 것이 바람직하다. In addition, it is desirable to restrict the programs and data that can be accessed according to the grade by assigning the grade to the ID and password provided to the administrator.
[제2 실시 예]Second Embodiment
도 4을 참조하여, 본 발명에 따른 제2 실시예를 설명한다.4, a second embodiment according to the present invention will be described.
다수개의 포트(330) 각각에 DB 서버, 수집 서버(150, 250), 하부 DB 관리 장치(270), 및 하부 스위치(미도시)중 적어도 하나가 연결되고, 연결된 상기 DB 서버, 하부 DB 관리 장치(270), 및 하부 스위치로부터 데이터를 백업 받은 미러링 포트(350)를 통해 DB 관리 장치(500)가 전체 패킷(Packet) 데이터를 수집한다(S310).At least one of a DB server, a
상기 데이터가 네트워크 인터페이스 카드(Network Interface Card, NIC)를 통과한 후, 상기 데이터의 내용을 분석하기 전에 상기 DB 관리 장치(500)는 IP 필터링 정책을 적용하여 상기 데이터가 수집 대상 범위에 포함된 DB 서버(Site)의 IP로부터 수집된 데이터인지 여부를 판단한다(S320).After the data passes through a network interface card (NIC), before analyzing the contents of the data, the
상기 단계 S320의 판단 결과, 해당 IP의 데이터가 아닌 경우, 상기 데이터를 Trash Basket에 버리지 않고, 관리자 단말기로 상기 데이터에 대한 안내 메시지를 전송한다(S322). 이는 스위치(300)에 새로운 DB 서버가 연결되었으나 상기 DB 관리 장치(500)에 등록되지 않은 경우 또는 상기 DB 관리 장치(500)가 데이터를 백업 받아야 되는 새로운 DB 서버가 접속된 경우 관리자 단말기로 안내 메시지를 전송한다. 그리고, 상기 관리자 단말기로부터 상기 DB 관리 장치(500)에 상기 새로운 DB 서버(100)의 등록을 요청하는 경우, 상기 DB 관리 장치(500)는 상기 새로운 DB 서버(100)를 등록한다(S324).As a result of the determination in step S320, if the data is not the corresponding IP, the data is sent to the manager terminal without discarding the data in the crash basket (S322). This is when a new DB server is connected to the
그러나, 상기 단계 S320의 판단 결과, 해당 IP의 데이터인 경우 상기 데이터의 내용이 수집 대상 범위에 속하는지 여부를 판단한다(S340). However, as a result of the determination in step S320, in the case of data of the corresponding IP, it is determined whether the content of the data falls within the collection target range (S340).
상기 데이터의 내용이 상기 수집 대상 범위에 속하지 않는 경우, 또는 상기 데이터가 정의된 형식을 벗어나는 경우, 상기 DB 관리 장치(500)는 소정의 경고 메시지를 관리자 단말기로 전송하여 관리자가 상기 데이터에 대한 처리를 수행하도록 한다(S350, S360). 상기 DB 관리 장치(500)는 상기 경고 메시지를 유선망 또는 이동 통신망을 통해 관리자 단말기로 전송한다. 또한, 상기 DB 관리 장치(500)와 상기 스위치(300)를 통해 연결된 DB 서버의 수집 서버에 에이전트 또는 메신저(Instant Messenger)가 설치되어 있는 경우에는 상기 DB 관리 장치(500)는 상기 DB 서버와 실시간으로 데이터를 송수신한다.If the content of the data does not belong to the collection target range, or if the data is out of the defined format, the
그러나, 상기 데이터의 내용이 상기 수집 대상 범위에 속하는 경우, 상기 데이터를 분석하여 색인화 작업을 수행한다(S370). 상기 색인화 작업은 상기 데이터에 꼬리말을 부가하여 저장하거나, 또는 DB 관리 장치(500)에서 설정한 스키마에 따라 상기 데이터에서 추출한 소정 항목들을 원본 데이터와 함께 저장하는 것이 다(S380). 상기 소정 항목들의 일 예로는 DB 서버명, IP 주소, DB 서버의 종류, 테이블명, 컬럼명 등이 있다. 여기서, 상기 DB 관리 장치(500)는 상기 스위치(300)에 연결된 DB 서버 또는 하부 DB 관리 장치(270)로부터 상기 DB 서버에서 사용되는 스키마를 요청하여 수신하고, 상기 DB 관리 장치(500)에서 적용되는 스키마에 매핑(mappling)시켜 저장 관리한다.However, when the content of the data belongs to the collection target range, the data is analyzed and indexing is performed (S370). The indexing operation may be performed by adding a footer to the data or storing predetermined items extracted from the data along with the original data according to a schema set by the DB management apparatus 500 (S380). Examples of the predetermined items include a DB server name, an IP address, a type of DB server, a table name, a column name, and the like. Here, the
또한, 상기 소정 항목들에 대한 번역 기능이 구비되어 있어, 원본 데이터가 디스플레이된 상태에서 상기 원본 데이터 중 상기 소정 항목들 중 하나를 선택하거나 또는 상기 원본 데이터에 대한 번역을 요청하는 경우, 상기 DB 관리 장치(500)는 상기 요청에 따른 번역을 수행하여 화면에 디스플레이 한다(도 6 참조).In addition, a translation function for the predetermined items is provided, and when the user selects one of the predetermined items among the original data or requests translation for the original data while the original data is displayed, the DB management is performed. The
부가적으로, 관리자에 의해 통계 작업이 요청되는 경우, 상기 색인화되어 저장된 데이터를 기반으로 통계 작업을 수행하고 그 결과를 화면에 디스플레이 한다(S390). 상기 통계 작업을 통하여 상기 DB 관리 장치(500)에 접속된 IP 또는 특정 DB 서버에 접속한 클라이언트(Client)의 IP에 대한 접속 빈도를 연산하고, 연산된 통계 자료를 기반으로 접속 IP의 범위를 결정하며, 접속 허용 IP를 추가하는 작업을 수행하는 것이 가능하다. 즉, 통계 작업에 의해 상기 단계 S320의 IP 필터링 정책이 변경되는 것이 가능하다.In addition, when a statistical task is requested by the administrator, the statistical task is performed based on the indexed and stored data and the result is displayed on the screen (S390). Through the statistical operation, the access frequency of the IP connected to the
이상에서 상세히 설명한 바와 같이, 본 발명의 모니터링 기능을 이용한 데이터베이스 관리 방법 및 그 서버에 의하면, 데이터를 체계적으로 저장되고 검색 방식이 개선되어, 보다 빠르고 편리하게 원하는 정보를 검색할 수 있다는 효과가 있 다.As described in detail above, according to the database management method and the server using the monitoring function of the present invention, the data is systematically stored and the retrieval method is improved, it is possible to search the desired information more quickly and conveniently. .
또한, 체계적으로 저장된 데이터를 기반으로 관리자가 원하는 항목에 대한 통계를 수행하여 제공함으로써 데이터베이스를 모니터링하는데 편리성을 제공하고 있다. 또한, 통계 결과를 기반으로 필터링 정책을 수정하여 원활한 데이터베이스 관리가 이루어질 수 있도록 하는 효과를 제공한다.In addition, it provides convenience for monitoring the database by providing statistics on items desired by the administrator based on systematically stored data. It also provides the effect of smooth database management by modifying the filtering policy based on the statistical results.
데이터를 모니터링하거나 통계 결과를 모니터링한 결과 문제가 발생된 경우 데이터베이스 관리 장치 및 데이터를 발생시킨 데이터베이스 서버에 부여된 메신저 기능을 통해 실시간으로 발생한 문제에 대한 보고서를 송수신할 수 있어 문제를 신속하게 해결할 수 있으며 질의 응답에도 신속하게 대응할 수 있다는 장점이 있다.If a problem occurs as a result of monitoring the data or monitoring the statistical results, the database management device and the messenger function attached to the database server that generated the data can send and receive reports in real time to solve the problem quickly. It also has the advantage of being able to respond quickly to questions and answers.
지금까지 본 발명을 바람직한 실시예를 참조하여 상세히 설명하였지만,본 발명이 상기한 실시예에 한정되는 것은 아니며, 이하의 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 또는 수정이 가능한 범위까지 본 발명의 기술적 사상이 미친다 할 것이다.Although the present invention has been described in detail with reference to preferred embodiments, the present invention is not limited to the above-described embodiments, and the technical field to which the present invention belongs without departing from the gist of the present invention as claimed in the following claims. Anyone skilled in the art will have the technical idea of the present invention to the extent that various modifications or changes are possible.
Claims (30)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070018468A KR100868195B1 (en) | 2007-02-23 | 2007-02-23 | Method and apparatus for managing database by using monitoring function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070018468A KR100868195B1 (en) | 2007-02-23 | 2007-02-23 | Method and apparatus for managing database by using monitoring function |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080078392A true KR20080078392A (en) | 2008-08-27 |
KR100868195B1 KR100868195B1 (en) | 2008-11-10 |
Family
ID=39880593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070018468A KR100868195B1 (en) | 2007-02-23 | 2007-02-23 | Method and apparatus for managing database by using monitoring function |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100868195B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012081814A1 (en) * | 2010-12-13 | 2012-06-21 | (주)휴빌론 | Mobile security system and control method therefor |
CN114500687A (en) * | 2022-01-26 | 2022-05-13 | 北京环境特性研究所 | Design method and device of anti-unmanned aerial vehicle system, computing equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030069635A (en) * | 2002-02-22 | 2003-08-27 | 이의범 | System and method for a data integration management of intranet by peer to peer |
KR20050000881A (en) * | 2003-06-25 | 2005-01-06 | 주식회사 케이티 | System and method for standardizing log data, and computer readable medium storing thereof |
KR100633534B1 (en) * | 2004-06-11 | 2006-10-16 | (주)인포메이션 앤 인터넷 | Web scrapping engine system |
-
2007
- 2007-02-23 KR KR1020070018468A patent/KR100868195B1/en active IP Right Grant
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012081814A1 (en) * | 2010-12-13 | 2012-06-21 | (주)휴빌론 | Mobile security system and control method therefor |
CN114500687A (en) * | 2022-01-26 | 2022-05-13 | 北京环境特性研究所 | Design method and device of anti-unmanned aerial vehicle system, computing equipment and storage medium |
CN114500687B (en) * | 2022-01-26 | 2023-12-12 | 北京环境特性研究所 | Design method and device of anti-unmanned aerial vehicle system, computing equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
KR100868195B1 (en) | 2008-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7694115B1 (en) | Network-based alert management system | |
CN109542741B (en) | Automatic log grouping storage method and device, computer equipment and storage medium | |
WO2013186870A1 (en) | Service monitoring system and service monitoring method | |
CN107733863B (en) | Log debugging method and device under distributed hadoop environment | |
CN103546343B (en) | The network traffics methods of exhibiting of network traffic analysis system and system | |
US10397329B2 (en) | Methods and systems for distribution and retrieval of network traffic records | |
CN114584401B (en) | Tracing system and method for large-scale network attack | |
CN103716173B (en) | A kind of method for storing monitoring system and monitoring alarm issue | |
JP2002330177A (en) | Security management server and host sever operating in linkage with the security management server | |
KR101761781B1 (en) | Big data processing method for applying integrated management framework for the open source database | |
CN112351024B (en) | Public network communication safety monitoring system and method | |
CN111930886A (en) | Log processing method, system, storage medium and computer equipment | |
CN111191247A (en) | Database security audit system | |
CN111488594A (en) | Authority checking method and device based on cloud server, storage medium and terminal | |
CN115134099A (en) | Network attack behavior analysis method and device based on full flow | |
CN112104659A (en) | Real-time monitoring platform based on government affair application safety | |
CN112148698A (en) | Log auditing method and system for big data platform | |
KR100868195B1 (en) | Method and apparatus for managing database by using monitoring function | |
CN114969450B (en) | User behavior analysis method, device, equipment and storage medium | |
CN110430083A (en) | A kind of location processing method and server of agency's forwarding request | |
CN111817865A (en) | Method for monitoring network management equipment and monitoring system | |
CN115333966A (en) | Nginx log analysis method, system and equipment based on topology | |
CN113810475A (en) | Wifi probe equipment management and control system based on big data architecture | |
CN112350864A (en) | Protection method, device, equipment and computer readable storage medium for domain control terminal | |
KR20020023481A (en) | High speed network traffic management device and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20121002 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20131024 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20141022 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20151022 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20161031 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20171026 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20181031 Year of fee payment: 11 |
|
FPAY | Annual fee payment |
Payment date: 20190828 Year of fee payment: 12 |