KR20030048831A - A gateway system and an operating method for managing the integrated network by using a database connection pool - Google Patents

A gateway system and an operating method for managing the integrated network by using a database connection pool Download PDF

Info

Publication number
KR20030048831A
KR20030048831A KR1020010078870A KR20010078870A KR20030048831A KR 20030048831 A KR20030048831 A KR 20030048831A KR 1020010078870 A KR1020010078870 A KR 1020010078870A KR 20010078870 A KR20010078870 A KR 20010078870A KR 20030048831 A KR20030048831 A KR 20030048831A
Authority
KR
South Korea
Prior art keywords
database
database connection
network management
pool
connection
Prior art date
Application number
KR1020010078870A
Other languages
Korean (ko)
Other versions
KR100461353B1 (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 KR10-2001-0078870A priority Critical patent/KR100461353B1/en
Publication of KR20030048831A publication Critical patent/KR20030048831A/en
Application granted granted Critical
Publication of KR100461353B1 publication Critical patent/KR100461353B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/024Standardisation; Integration using relational databases for representation of network management data, e.g. managing via structured query language [SQL]

Abstract

PURPOSE: An integrated network management gateway system using database connection pools is provided to generate database connection pools in a distributed network environment, and use database connections during database access including network management information, thereby reducing time for processing a database and improving performance. CONSTITUTION: Many database connection pools(23a-23n) store database connections including pointers of self database information tables. A database connection manager(22) generates the database connection pools(23a-23n), obtains the database connections from the generated database connection pools(23a-23n), and manages the obtained database connections. A servlet unit(21) receives the pointers of the database connections from the database connection manager(22), and performs corresponding database operations through the database connections corresponding to the pointers.

Description

데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템 및 그 운용방법{A GATEWAY SYSTEM AND AN OPERATING METHOD FOR MANAGING THE INTEGRATED NETWORK BY USING A DATABASE CONNECTION POOL}A GATEWAY SYSTEM AND AN OPERATING METHOD FOR MANAGING THE INTEGRATED NETWORK BY USING A DATABASE CONNECTION POOL}

본 발명은 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템 및 그 운용방법에 관한 것으로서 보다 상세하게는, 분산 네트워크 환경에서 일정한 수만큼 데이터베이스 연결을 가지는 데이터베이스 연결 풀을 생성하고 망관리 정보를 포함하는 데이터베이스 접근시 상기 데이터베이스 연결을 이용함으로써 데이터베이스 처리 시간감소 및 성능향상을 위한 통합망관리 게이트웨이 시스템 및 그 운용방법에 관한 것이다.The present invention relates to an integrated network management gateway system using a database connection pool and a method of operating the same. More specifically, a database access pool including a predetermined number of database connections in a distributed network environment and accessing a database including network management information is provided. The present invention relates to an integrated network management gateway system for reducing database processing time and performance by using the database connection.

최근 정보 통신의 급격한 발전으로 인해 통신망 환경의 관리는 점차 복잡해지고 난해하게 만들어지고 있고 더욱이 다양한 인터페이스를 통하여 여러 종류의 통신 서비스가 통합되어 제공되는 통합망 환경에서 보다 빠르고 정확한 정보를 제공하기 위한 노력들이 지속적으로 이루어지고 있다. 이와 더불어 각종 망을 관리하는 망관리 시스템을 통합하여 관리하는 통합망관리 시스템의 비중도 점차 확대되고 있는 추세이다. 특히, 분산 네트워크 환경에서 복수의 개별적인 망관리 시스템과의 인터페이스를 제공하여 상기 복수개의 망관리 시스템을 통합 관리하는 통합망관리 시스템의 경우 통합망관리 게이트웨이 시스템은 중요한 역할을 담당한다.Recently, due to the rapid development of information and communication, the management of the network environment is becoming more complicated and difficult. Furthermore, efforts to provide faster and more accurate information in the integrated network environment where various types of communication services are provided through various interfaces are integrated. It's happening continuously. In addition, the proportion of the integrated network management system that integrates and manages the network management system that manages various networks is gradually increasing. In particular, the integrated network management gateway system plays an important role in the integrated network management system that provides an interface with a plurality of individual network management systems in a distributed network environment to integrate and manage the plurality of network management systems.

일반적으로 게이트웨이 시스템은 다른 네트워크로 들어가는 입구 역할을 하는 네트워크 포인트로서 서로 다른 데이터 통신 프로토콜을 사용하는 두 개의 통신 망 사이에서 상기 두 통신 망간에 전송되는 데이터를 상기 각 통신 망에 맞는 데이터로 변환시켜주는 기능을 수행하는 시스템을 말한다. 최근에는 상기 통합망관리게이트웨이 시스템을 개발함으로써 복수개의 각 특성의 망관리 시스템과 통합망관리 시스템간의 연결을 수행하고 명령을 수신하여 망관리에 필요한 데이터를 처리, 저장, 연산 등의 기능을 수행하게 된다.In general, a gateway system is a network point serving as an entrance to another network, and converts data transmitted between the two communication networks into data suitable for each communication network between two communication networks using different data communication protocols. A system that performs a function. Recently, by developing the integrated network management gateway system, a connection between a plurality of network management systems having a plurality of characteristics and an integrated network management system are received, and commands are performed to perform functions such as processing, storing, and calculating data necessary for network management. do.

종래의 통합망관리 게이트웨이 시스템은 복수의 망관리 시스템 상위에 통합망관리 시스템을 두고, 개별적인 망관리 시스템 상위에 통합망관리 시스템과 일관된 인터페이스로 망관리 기능을 수행하는 시스템이다. 이러한, 통합망관리 시스템에서는 명령을 수신한 게이트웨이 시스템은 해당 명령을 수행하는데 개별적인 망관리 시스템의 특성에 상관없이 요구되는 망관리 기능 명령을 수행한다. 또한, 이러한 게이트웨이 시스템은 명령 및 네트워크 구성, 장애 및 성능 등 네트워크 관리에 필요한 데이터를 위한 자체 데이터베이스를 가진다. 그리고 명령 처리량 및 데이터 증가에 따라 데이터베이스 액세스 및 연산도 증가하고 있다.The conventional integrated network management gateway system is a system that performs an integrated network management system on a plurality of network management systems, and performs a network management function with a consistent interface with the integrated network management system on an individual network management system. In such an integrated network management system, a gateway system receiving a command performs a network management function command required regardless of the characteristics of an individual network management system. In addition, these gateway systems have their own database for data necessary for network management, such as command and network configuration, faults and performance. And as instruction throughput and data increases, so does database access and operations.

이러한 데이터베이스 연결 및 액세스와 관련된 기술로는 오디비씨(ODBC)와 제이디비씨(JDBC)가 있다. 상기 오디비씨(ODBC;Open DataBase Connectivity:이하, ODBC라 함)는 데이터베이스를 액세스하기 위한 표준 개방형 응용 프로그램 인터페이스로서, 데이터베이스 관리 시스템(DBMS;DataBase Mmanagement System)에 관계없이 어떤 응용 프로그램에서나 모두 접근하여 사용할 수 있도록 하기 위한 최초의 기술로서 마이크로소프트에서 개발한 표준방법을 말한다. 상기 ODBC는 응용 프로그램과 데이터베이스 관리 시스템(DBMS) 중간에 데이터베이스 처리 프로그램을 두어 이를 가능하게 한다. 프로그램 내에 상기 ODBC 문장을 사용하면 MS-Access, dBase, DB2, Excel, Text 등 여러 종류의 데이터베이스를 액세스할 수 있다. 이를 위해서는 ODBC 소프트웨어 외에, 액세스할 각 데이터베이스마다 별도의 모듈이나 드라이버가 필요하지만 프로그램들이 데이터베이스의 독점적이 인터페이스에 대해 알지 못하더라도 데이터베이스 접근이 가능하게 한다.Technologies related to these database connections and access include ODBC and JDBC. The ODBC (ODBC) is a standard open application program interface for accessing a database, and can be accessed and used by any application regardless of a database management system (DBMS). It is the first technology to make it possible. It is a standard method developed by Microsoft. The ODBC makes this possible by placing a database processing program between an application and a database management system (DBMS). If you use the ODBC statement in the program, you can access various types of databases such as MS-Access, dBase, DB2, Excel, Text, etc. In addition to the ODBC software, this requires a separate module or driver for each database to be accessed, but it allows database access even if the program does not know about the database's proprietary interface.

또한, 제이디비씨(JDBC;JAVA DataBase Connetctivity:이하, JDBC라 함)는 자바로 작성된 프로그램을 일반 데이터베이스에 연결하기 위한 응용프로그램 인터페이스 규격으로서, 자바 프로그램 내에서 데이터베이스 질의문(SQL;이하, SQL이라 함)을 실행하기 위한 자바 API(application programming interface)이다. 상기 JDBC는 데이터베이스 및 애플리케이션 개발자들을 위한 표준 API를 제공하고 순수 자바 API만으로도 데이터베이스 응용업무를 만들게 해준다. 이러한 JDBC를 사용하면 어떠한 관계형 데이터베이스에서도 SQL문을 사용하기 쉽다. 단지 하나의 프로그램을 작성하고 그 프로그램에서 SQL문을 적당한 데이터베이스에 전송할 수 있다.In addition, JDBC (JDBC; JAVA DataBase Connetctivity (hereinafter referred to as JDBC)) is an application program interface standard for connecting a program written in Java to a general database. In the Java program, a database query statement (SQL) is called SQL. Java application programming interface (API) for executing. The JDBC provides a standard API for database and application developers and allows you to create database applications with pure Java APIs. This JDBC makes it easy to use SQL statements in any relational database. You can write just one program and send SQL statements from the program to the appropriate database.

그러나, 종래에는 명령 처리를 위해 게이트웨이 시스템이 데이터베이스와 연결할 때 각각의 명령에 대하여 트랜잭션마다 새 연결을 생성하고 상기 트랜잭션 종료 후 연결을 해제하는 방식이 사용되었다. 이에 따라 매번 데이터베이스 연결에 걸리는 시간으로 인해 응답 시간이 증가하는 등 데이터베이스 연결과 관련된 성능저하의 문제가 발생하였다.However, in the related art, when the gateway system connects to a database for command processing, a method of creating a new connection for each command and releasing the connection after the transaction is terminated has been used. As a result, performance degradation related to the database connection occurred, such as an increase in response time due to the time taken for each database connection.

상기 ODBC와 JDBC 2.0 이전은 데이터베이스 연결 풀(connection pool)을 지원하지 못하였고 각각 상술한 방식의 인터페이스를 제공하였기 때문에 상기한 문제를 해결할 수 없었다.The above ODBC and JDBC 2.0 did not support a database connection pool and provided the above-described interface.

상기한 문제를 해결하기 위한 것으로서 본 발명은 분산 네트워크 환경에서 일정한 수만큼 데이터베이스 연결을 가지는 데이터베이스 연결 풀을 생성하고 데이터베이스에 액세스할 때 상기 데이터베이스 연결 풀의 데이터베이스 연결을 이용함으로써 데이터베이스 처리 시간을 감소하고 성능을 향상시키는 통합망관리 게이트웨이 시스템 및 그 운용방법을 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention provides a database connection pool having a certain number of database connections in a distributed network environment, and reduces database processing time and performance by using database connections of the database connection pool when accessing a database. The purpose of the present invention is to provide an integrated network management gateway system and its operation method.

도 1은 본 발명에 따른 통합망관리 게이트웨이 시스템 연결의 일실시예에 따른 구성도이다.1 is a block diagram according to an embodiment of an integrated network management gateway system connection according to the present invention.

도 2는 본 발명에 따른 게이트웨이 시스템의 데이터베이스 명령 처리 흐름도이다.2 is a flowchart of a database command processing of the gateway system according to the present invention.

도 3은 본 발명에 따른 데이터베이스 연결 관리자의 처리과정을 보이는 흐름도이다.3 is a flowchart illustrating a process of a database connection manager according to the present invention.

도 4는 본 발명에 따른 통합망관리 게이트웨이 시스템의 동작과정을 보이는 흐름도이다.4 is a flowchart illustrating an operation of an integrated network management gateway system according to the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : 통합망관리 시스템 20 : 통합망관리 게이트웨이 시스템10: integrated network management system 20: integrated network management gateway system

21 : 서블릿 22 : 데이터베이스 연결 관리자21: Servlet 22: Database Connection Manager

23(23a~23n) : 데이터베이스 연결 풀 24 : 데이터베이스23 (23a ~ 23n): Database connection pool 24: Database

30 : 망관리 시스템30: network management system

상기 목적을 달성하기 위한 구성수단으로서의 본 발명은, 분산 네트워크 환경에서 복수개의 망관리 시스템과 통합망관리 시스템을 연결하며 자체 데이터베이스를 구비하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템에 있어서,According to an aspect of the present invention, there is provided an integrated network management gateway system using a database connection pool that connects a plurality of network management systems and an integrated network management system in a distributed network environment and has its own database.

상기 자체 데이터베이스 정보테이블의 포인터(key)가 포함된 데이터베이스 연결을 저장하는 복수개의 데이터베이스 연결 풀;A plurality of database connection pools for storing a database connection including a pointer of the own database information table;

상기 데이터베이스 연결 풀을 생성하며 상기 생성된 데이터베이스 연결 풀로부터 상기 데이터베이스 연결을 획득하고 관리하는 데이터베이스 연결 관리자수단; 및Database connection manager means for generating the database connection pool and obtaining and managing the database connection from the created database connection pool; And

상기 데이터베이스 연결 관리자수단으로부터 상기 데이터베이스 연결의 포인터를 수신하고 상기 포인터에 대응하는 데이터베이스 연결을 통해 해당 데이터베이스 작업을 수행하는 서블릿수단을 포함한다.And a servlet means for receiving a pointer of the database connection from the database connection manager means and performing a corresponding database operation through a database connection corresponding to the pointer.

또한, 상기 목적을 달성하기 위하여 본 발명은 자체 데이터베이스를 구비하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템의 운용방법에 있어서,In addition, in order to achieve the above object, the present invention provides a method for operating an integrated network management gateway system using a database connection pool having its own database.

상기 시스템의 운용초기에 복수개의 데이터베이스 연결 풀을 생성하여 상기 자체 데이터베이스 정보테이블의 포인터(key)가 포함된 데이터베이스 연결을 생성하는 제1 단계;A first step of creating a database connection including a pointer to the own database information table by creating a plurality of database connection pools at an initial operation of the system;

서블릿이 명령에 대응하여 상기 데이터베이스 연결 풀로부터 해당 포인터를 획득하는 제2 단계;A second step of a servlet obtaining a corresponding pointer from the database connection pool in response to a command;

상기 획득된 데이터베이스 연결 풀의 포인터를 이용하여 해당 데이터베이스 연결을 획득하고 상기 획득된 데이터베이스 연결을 통해 이후의 데이터베이스 작업을 처리하는 제3 단계; 및A third step of acquiring a corresponding database connection by using a pointer of the obtained database connection pool and processing a subsequent database job through the obtained database connection; And

상기 데이터베이스 작업의 처리가 완료되면 상기 데이터베이스 연결 풀에 상기 획득된 데이터베이스 연결을 반환하는 제4 단계를 포함한다.And when the processing of the database job is completed, returning the obtained database connection to the database connection pool.

본 발명은 분산 네트워크 환경에서 데이터베이스 연결 풀(connection pool)을 이용하는 통합망관리 게이트웨이 시스템을 통해 데이터베이스 작업을 처리함으로써 데이터베이스 처리 시간을 감소하고 성능을 향상하기 위한 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템 및 그 운용방법에 관한 것이다.The present invention provides an integrated network management gateway system using a database connection pool for reducing database processing time and improving performance by processing database operations through an integrated network management gateway system using a database connection pool in a distributed network environment. It is about the operation method.

이하, 본 발명의 가장 바람직한 실시예를 첨부한 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings, the most preferred embodiment of the present invention will be described in detail the present invention.

도 1은 본 발명에 따른 통합망관리 게이트웨이 시스템 연결의 일실시예에 따른 구성도로서, 본 발명이 적용되는 통합망관리 시스템과 게이트웨이 시스템 및 개별적인 망관리 시스템의 블록 구성도이다. 도 1에 도시된 바와 같이, 통합망관리시스템(10)은 통합망관리 게이트웨이 시스템(20)을 통하여 망관리 시스템(30)과 연결되며 이들 상호간에는 망관리를 위한 각종 데이터를 교환한다. 상기 통합망관리 게이트웨이 시스템(20)은 서블릿(21)과, 데이터베이스 연결 관리자(22)와, 복수개의 데이터베이스 연결 풀(23;connection pool)과, 데이터베이스(24)를 포함한다.1 is a block diagram of an integrated network management gateway system connection according to an embodiment of the present invention, which is a block diagram of an integrated network management system, a gateway system, and an individual network management system to which the present invention is applied. As shown in FIG. 1, the integrated network management system 10 is connected to the network management system 30 through the integrated network management gateway system 20 and exchanges various data for network management between them. The integrated network management gateway system 20 includes a servlet 21, a database connection manager 22, a plurality of database connection pools 23, and a database 24.

상기 통합망관리 시스템(10)이 명령을 수행하여 그 결과를 통합망관리 게이트웨이 시스템(20)에 전달하면 상기 통합망관리 게이트웨이 시스템(20) 내의 서블릿(210)이 상기 명령에 대한 데이터를 수신하고 데이터베이스(24)와 망관리 시스템(30)에 대하여 상기 명령에 대한 각각의 작업을 수행한다. 상기 수신한 명령의 결과에 따라 데이터베이스 관련 작업을 수행할 경우, 상기 서블릿(21)은 데이터베이스 연결 관리자(22;DB Connection Manager)의 레퍼런스를 획득한다. 상기 서블릿(21)은 데이터베이스 연결 관리자(22)를 통해 데이터베이스 연결 풀(23;DB Connection Pool)에서 데이터베이스 연결을 가져오고, 상기 데이터베이스(24)에 액세스하여 관련된 데이터베이스 작업 수행 후 상기 데이터베이스 연결을 데이터베이스 연결 풀(23)에 반환한다.When the integrated network management system 10 performs a command and transmits the result to the integrated network management gateway system 20, the servlet 210 in the integrated network management gateway system 20 receives data about the command. Each operation of the command is performed on the database 24 and the network management system 30. When performing a database related operation according to the result of the received command, the servlet 21 obtains a reference of the database connection manager 22. The servlet 21 obtains a database connection from a database connection pool 23 through a database connection manager 22, accesses the database 24 to perform a related database operation, and then connects the database connection. Return to pool 23.

상기 데이터베이스 연결 풀(23)은 상기와 같이 데이터베이스 연결을 가져오거나 반환하는 역할을 하며, 셧다운 시에는 모든 자원을 해제하고 연결을 닫는 기능을 수행한다. 또한 시간 초과 및 통신 불량과 같은 연결 실패를 처리하고 데이터베이스 연결 풀(23)에 미리 설정한 최대값이 넘는 연결은 제한한다.The database connection pool 23 serves to get or return a database connection as described above, and releases all resources and closes the connection in shutdown. It also handles connection failures, such as timeouts and poor communication, and limits connections that exceed the preset maximum in the database connection pool 23.

또한, 데이터베이스 연결 관리자(22)는 복수개의 데이터베이스 연결 풀(23)을 관리하는 기능을 담당한다. 이는 상기한 JDBC 드라이버를 로드하고 등록하며,속성 파일에 정의된 속성에 따라 상기 데이터베이스 연결 풀(23)을 생성한다. 그리고 상기 데이터베이스 연결 풀 이름과 상기 데이터베이스 연결 풀(23) 인스턴스를 매핑하고, 상기 데이터베이스 연결 풀(23)에 대한 요청들을 모니터링하면서 최종 요청이 수행된 후에는 모든 연결 풀을 종료한다.In addition, the database connection manager 22 is responsible for managing a plurality of database connection pool 23. This loads and registers the JDBC driver and creates the database connection pool 23 according to the attributes defined in the properties file. The database connection pool name is mapped to the database connection pool 23 instance, and all the connection pools are terminated after the final request is performed while monitoring the requests for the database connection pool 23.

상기 통합망관리 시스템의 동작흐름을 도 2를 참조하여 설명한다.The operation flow of the integrated network management system will be described with reference to FIG. 2.

도 2는 본 발명에 따른 게이트웨이 시스템의 데이터베이스 명령 처리 흐름도이다.2 is a flowchart of a database command processing of the gateway system according to the present invention.

먼저, 통합망관리 시스템(10)은 데이터 교환기 등의 망 구성 및 형상 정보, 가입자 정보, 성능정보, 장애정보 등 망관리에 필요한 데이터를 테이블형태로 저장하는 자체 데이터베이스(24)를 가진다. 또한, 상기 데이터베이스(24)는 개별적인 망관리 시스템(30)에 관한 정보를 추가, 삭제 및 변경의 결과를 저장한다.First, the integrated network management system 10 has its own database 24 for storing data necessary for network management, such as network configuration and shape information, subscriber information, performance information, and failure information, such as a data exchanger, in a table form. The database 24 also stores the results of adding, deleting and changing information about the individual network management system 30.

상기 데이터베이스 연결 풀(23)은 상기 데이터베이스(24)에 저장된 상기 망관리 정보테이블의 포인터(key)를 포함하고 있다. 이는 빈번히 적용되는 테이블에 대한 소정의 개수로 데이터베이스 연결 관리자(22)에 의해 생성된다. 상기 데이터베이스 연결 관리자(22)는 초기화될 때 상기와 같이 정해진 수만큼의 데이터베이스 연결을 가지는 상기 데이터베이스 연결 풀(23)을 생성하고(S402), 상기 데이터베이스 연결 풀(23)로부터 포인터를 획득하여 관리한다(S403). 여기서, 서블릿(21)이 초기화할 때(S401) 상기 데이터베이스 연결 관리자(22)도 초기화된다.The database connection pool 23 includes a key of the network management information table stored in the database 24. This is generated by the database connection manager 22 in a predetermined number of frequently applied tables. When the database connection manager 22 is initialized, the database connection pool 23 generates the database connection pool 23 having the predetermined number of database connections as described above (S402), and obtains and manages a pointer from the database connection pool 23. (S403). Here, when the servlet 21 initializes (S401), the database connection manager 22 is also initialized.

상기 서블릿(21)은 상기 통합망관리 시스템(10)으로부터 명령을 수신하여 데이터베이스의 접근을 위한 데이터베이스 연결 및 해제를 담당한다. 또한, 상기 서블릿(21)이 상기 통합망관리 시스템(10)으로부터 수신한 명령에 따라 상기 데이터베이스(24)와 관련된 작업을 수행하기 위해 상기 데이터베이스(24)에 접근할 때, 상기 데이터베이스 연결 관리자(22)는 상기 데이터베이스 연결 풀(23)의 상기 데이터베이스 연결을 상기 서블릿(21)에 전달한다. 이로써, 상기 서블릿(21)은 상기 데이터베이스 연결 관리자(22)로부터 포인터(key)를 획득한다(S404).The servlet 21 receives a command from the integrated network management system 10 and is responsible for connecting and releasing a database for access to a database. In addition, when the servlet 21 accesses the database 24 to perform a task related to the database 24 according to a command received from the integrated network management system 10, the database connection manager 22 ) Transfers the database connection of the database connection pool 23 to the servlet 21. In this way, the servlet 21 obtains a pointer from the database connection manager 22 (S404).

또한, 상기 서블릿(21)은 상기 획득한 포인터를 이용하여 상기 데이터베이스 연결을 통해(S405a ~ S405n) 상기 데이터베이스(24)에 액세스 한 후 상기 관련된 데이터베이스 작업을 수행하게 된다(S406a ~ S406n).In addition, the servlet 21 accesses the database 24 through the database connection using the obtained pointer (S405a to S405n) and then performs the related database operation (S406a to S406n).

이후, 데이터베이스 작업이 모두 끝나면 상기 서블릿(21)은 상기 데이터베이스 연결 풀(23)에 상기 데이터베이스 연결을 반환한다.Thereafter, when all database operations are completed, the servlet 21 returns the database connection to the database connection pool 23.

이와 같이, 상기 데이터베이스 연결 관리자(22)가 상기 데이터베이스(24)의 테이블 포인터의 데이터베이스 연결을 생성해 놓으므로 많은 수의 상기 서블릿이 데이터베이스 연결을 요청할 대 각각의 연결에 걸리는 시간을 감소시킬 수 있는 것이다.As such, since the database connection manager 22 creates a database connection of the table pointer of the database 24, a large number of the servlets can reduce the time taken for each connection when requesting a database connection. .

본 발명의 데이터베이스 연결 관리자(22)는 JDBC 드라이버를 로드 및 등록하고 명시된 속성 파일의 속성에 따라 상기 다수의 데이터베이스 연결 풀(23)을 생성하며 상기 서블릿(21)의 요청에 따라 상기 다수의 상기 데이터베이스 연결 풀(23)로부터 상기 데이터베이스 연결을 획득하고 상기 다수의 데이터베이스 연결 풀(23)에 상기 데이터베이스 연결을 반환하게 된다.The database connection manager 22 of the present invention loads and registers a JDBC driver, creates the plurality of database connection pools 23 according to the properties of a specified properties file, and requests the plurality of databases at the request of the servlet 21. The database connection is obtained from the connection pool 23 and the database connection is returned to the plurality of database connection pools 23.

도 3은 본 발명에 따른 데이터베이스 연결 관리자의 처리과정을 보이는 흐름도이다. 먼저, 상기 데이터베이스 연결 관리자(22)는 서블릿(21)으로부터 초기화 명령을 수신한다(S1). 이어, 상기 데이터베이스 연결 관리자(22)는 JDBC 드라이버를 로드 및 등록하고, 데이터베이스 연결 풀을 정의하는 값들이 있는 속성 파일을 참조하여 데이터베이스 연결 풀(23a ~ 23n)을 생성한다(S2). 이후 상기 서블릿(21)을 통해 데이터베이스 연결을 요청받게 된다(S3).3 is a flowchart illustrating a process of a database connection manager according to the present invention. First, the database connection manager 22 receives an initialization command from the servlet 21 (S1). Subsequently, the database connection manager 22 loads and registers a JDBC driver and generates database connection pools 23a to 23n by referring to a property file having values defining a database connection pool (S2). Thereafter, the servlet 21 receives a database connection request (S3).

계속하여, 상기 데이터베이스 연결 관리자(22)는 상기 생성된 데이터베이스 연결 풀(23a ~ 23n)로부터 데이터베이스 연결을 받아서 상기 서블릿(21)에 전달한다(S4).Subsequently, the database connection manager 22 receives a database connection from the generated database connection pools 23a to 23n and transfers the database connection to the servlet 21 (S4).

상기 서블릿(210)에서의 데이터베이스 처리 작업이 끝나면, 상기 데이터베이스 연결 관리자(22)는 상기 데이터베이스 연결의 반환 명령을 수신한다(S5). 그러면, 상기 데이터베이스 연결 관리자(22)는 상기 데이터베이스 연결 풀(23)에 상기 데이터베이스 연결을 반환한다(S6). 상기 데이터베이스 연결 관리자(22) 종료시에는 모든 데이터베이스 연결 풀(23a ~ 23n)들의 데이터베이스 연결을 해제한다(S7).When the database processing task in the servlet 210 is finished, the database connection manager 22 receives a return command of the database connection (S5). Then, the database connection manager 22 returns the database connection to the database connection pool 23 (S6). At the end of the database connection manager 22, the database connection of all the database connection pools 23a to 23n is released (S7).

상기한 도 3의 처리과정을 참조하여 상기 통합망관리 게이트웨이 시스템의 동작과정을 도 4에서 나타낸다. 도 4는 본 발명에 따른 통합망관리 게이트웨이 시스템의 동작과정을 보이는 흐름도이다.The operation of the integrated network management gateway system is shown in FIG. 4 with reference to the process of FIG. 3. 4 is a flowchart illustrating an operation of an integrated network management gateway system according to the present invention.

먼저, 통합망관리 게이트웨이 시스템의 시작시 서블릿(21)을 초기화할 때 상기 데이터베이스 연결 관리자(22)도 초기화한다(S11). 상기 데이터베이스 연결 관리자(22)는 초기화되면서 설정된 수만큼의 데이터베이스 연결을 가지는 데이터베이스 연결 풀을 생성한다(S12). 상기 서블릿(21)은 상기 데이터베이스 연결관리자(22)를 통해 데이터베이스 연결의 획득하고(S13) 상기 획득된 데이터베이스 연결을 통해 데이터베이스 작업을 수행한다(S14). 상기 데이터베이스 작업이 완료되었는지 판단하여(S15) 완료되지 않았으면 데이터베이스 연결을 다시 획득하여(S13) 해당 데이터베이스 작업을 계속 수행하고(S14), 완료되었으면 상기 서블릿(21)은 상기 데이터베이스 연결 관리자(22)를 통해 상기 데이터베이스 연결을 반환한다(S16).First, when initializing the servlet 21 at the start of the integrated network management gateway system, the database connection manager 22 is also initialized (S11). The database connection manager 22 creates a database connection pool having as many database connections as it is initialized (S12). The servlet 21 acquires a database connection through the database connection manager 22 (S13) and performs a database operation through the obtained database connection (S14). It is determined whether the database operation is completed (S15). If it is not completed, the database connection is acquired again (S13), and the database operation is continued (S14). If the database operation is completed, the servlet 21 is the database connection manager 22. The database connection is returned through (S16).

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지로 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited to the drawings shown.

본 발명은 데이터베이스 처리 속도가 빠르며 시스템 자원을 효율적으로 관리할 수 있다. 또한, 데이터베이스 연결 관리자가 미리 생성한 연결로 인해 많은 수의 서블릿이 각각의 데이터베이스 연결에 걸리는 시간을 감소할 수 있다.The present invention speeds up database processing and can efficiently manage system resources. In addition, connections previously created by the database connection manager can reduce the time it takes for a large number of servlets to connect to each database.

나아가, 데이터베이스 연결 풀은 연결 실패 및 연결 제한 등의 기능을 수행하므로 시스템의 자원을 효율적으로 이용할 수 있다Furthermore, the database connection pool performs functions such as connection failure and connection limiting so that the system's resources can be efficiently used.

Claims (8)

분산 네트워크 환경에서 복수개의 망관리 시스템과 통합망관리 시스템을 연결하며 자체 데이터베이스를 구비하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템에 있어서,In the integrated network management gateway system connecting a plurality of network management system and the integrated network management system in a distributed network environment and using a database connection pool having its own database, 상기 자체 데이터베이스 정보테이블의 포인터(key)가 포함된 데이터베이스 연결을 저장하는 복수개의 데이터베이스 연결 풀;A plurality of database connection pools for storing a database connection including a pointer of the own database information table; 상기 데이터베이스 연결 풀을 생성하며 상기 생성된 데이터베이스 연결 풀로부터 상기 데이터베이스 연결을 획득하고 관리하는 데이터베이스 연결 관리자수단; 및Database connection manager means for generating the database connection pool and obtaining and managing the database connection from the created database connection pool; And 상기 데이터베이스 연결 관리자수단으로부터 상기 데이터베이스 연결의 포인터를 수신하고 상기 포인터에 대응하는 데이터베이스 연결을 통해 해당 데이터베이스 작업을 수행하는 서블릿수단을 포함하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템.And a servlet means for receiving a pointer of the database connection from the database connection manager means and performing a corresponding database operation through a database connection corresponding to the pointer. 제 1항에 있어서, 상기 데이터베이스 연결 관리자수단은,The method of claim 1, wherein the database connection manager means, 초기화시 설정된 소정의 개수만큼 상기 데이터베이스 연결 풀을 생성하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템.Integrated network management gateway system using a database connection pool, characterized in that for generating a predetermined number of database connection pool set at the time of initialization. 제 1항에 있어서, 상기 데이터베이스 연결 관리자수단은,The method of claim 1, wherein the database connection manager means, 제이디비씨(JDBC) 드라이버를 로드 및 등록하고 속성파일의 속성에 따라 상기 데이터베이스 연결 풀을 생성하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템.An integrated network management gateway system using a database connection pool, characterized in that for loading and registering a JDBC (JDBC) driver and creating the database connection pool according to the properties of the properties file. 제 1항에 있어서, 상기 데이터베이스 연결 관리자수단은,The method of claim 1, wherein the database connection manager means, 상기 서블릿수단의 요청에 따라 복수개의 상기 데이터베이스 연결 풀로부터 상기 데이터베이스 연결을 획득하고 상기 획득한 상기 데이터베이스 연결을 데이터베이스 작업 종료 후 상기 데이터베이스 연결 풀에 반환하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템.Integrated network management using a database connection pool, wherein the database connection is obtained from a plurality of database connection pools according to a request of the servlet means, and the database connection is returned to the database connection pool after a database operation is completed. Gateway system. 제 1항에 있어서, 상기 데이터페이스 연결 풀은,The method of claim 1, wherein the database connection pool, 셧다운시 자원을 해제하여 연결을 닫고 연결 실패를 처리하며 상기 데이터베이스 연결 풀에 설정된 최대값이 넘는 연결을 제한하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템.The integrated network management gateway system using a database connection pool, characterized in that the resource is released at shutdown to close the connection, handle connection failure, and limit the connection exceeding the maximum value set in the database connection pool. 자체 데이터베이스를 구비하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템의 운용방법에 있어서,In the operating method of the integrated network management gateway system using a database connection pool having its own database, 상기 시스템의 운용초기에 복수개의 데이터베이스 연결 풀을 생성하여 상기 자체 데이터베이스 정보테이블의 포인터(key)가 포함된 데이터베이스 연결을 생성하는 제1 단계;A first step of creating a database connection including a pointer to the own database information table by creating a plurality of database connection pools at an initial operation of the system; 서블릿이 명령에 대응하여 상기 데이터베이스 연결 풀로부터 해당 포인터를 획득하는 제2 단계;A second step of a servlet obtaining a corresponding pointer from the database connection pool in response to a command; 상기 획득된 데이터베이스 연결 풀의 포인터를 이용하여 해당 데이터베이스 연결을 획득하고 상기 획득된 데이터베이스 연결을 통해 이후의 데이터베이스 작업을 처리하는 제3 단계; 및A third step of acquiring a corresponding database connection by using a pointer of the obtained database connection pool and processing a subsequent database job through the obtained database connection; And 상기 데이터베이스 작업의 처리가 완료되면 상기 데이터베이스 연결 풀에 상기 획득된 데이터베이스 연결을 반환하는 제4 단계를 포함하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템의 운용방법.And a fourth step of returning the obtained database connection to the database connection pool when processing of the database job is completed. 제 1항에 있어서, 상기 제1 단계는,The method of claim 1, wherein the first step, 제이디비씨(JDBC) 드라이버를 로드 및 등록하고 속성 파일의 속성에 따라 상기 복수개의 데이터베이스 연결 풀을 생성하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템의 운용방법.A method of operating an integrated network management gateway system using a database connection pool, comprising loading and registering a JDBC driver and creating the plurality of database connection pools according to properties of a property file. 제 6항에 있어서, 상기 데이터페이스 연결 풀은,The method of claim 6, wherein the database connection pool, 셧다운시 자원을 해제하여 연결을 닫고 연결 실패를 처리하며 상기 데이터베이스 연결 풀에 설정된 최대값이 넘는 연결을 제한하는 것을 특징으로 하는 데이터베이스 연결 풀을 이용한 통합망관리 게이트웨이 시스템의 운용방법.A method of operating an integrated network management gateway system using a database connection pool, characterized in that the resource is released during shutdown to close the connection, handle connection failure, and limit the connection exceeding the maximum value set in the database connection pool.
KR10-2001-0078870A 2001-12-13 2001-12-13 A gateway system and an operating method for managing the integrated network by using a database connection pool KR100461353B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0078870A KR100461353B1 (en) 2001-12-13 2001-12-13 A gateway system and an operating method for managing the integrated network by using a database connection pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0078870A KR100461353B1 (en) 2001-12-13 2001-12-13 A gateway system and an operating method for managing the integrated network by using a database connection pool

Publications (2)

Publication Number Publication Date
KR20030048831A true KR20030048831A (en) 2003-06-25
KR100461353B1 KR100461353B1 (en) 2004-12-14

Family

ID=29574683

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0078870A KR100461353B1 (en) 2001-12-13 2001-12-13 A gateway system and an operating method for managing the integrated network by using a database connection pool

Country Status (1)

Country Link
KR (1) KR100461353B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180054268A (en) * 2016-11-15 2018-05-24 현대자동차주식회사 Apparatus and computer readable recording medium for warning dangerous situation

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3092349B2 (en) * 1992-09-16 2000-09-25 株式会社日立製作所 Communication equipment with database
KR960010877B1 (en) * 1993-11-05 1996-08-10 Korea Electronics Telecomm Distribution data-base management system
JP3474077B2 (en) * 1997-04-21 2003-12-08 株式会社日立製作所 Network operation management system, management manager, management console, storage medium, and network operation management method
KR19980059143A (en) * 1996-12-31 1998-10-07 유기범 Satellite communication network management system with index management function by operator input command group
KR100573281B1 (en) * 2000-01-18 2006-04-27 한국전자통신연구원 Gateway system for integrated network management system of heterogeneous network environment and command processing method of the gateway system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180054268A (en) * 2016-11-15 2018-05-24 현대자동차주식회사 Apparatus and computer readable recording medium for warning dangerous situation

Also Published As

Publication number Publication date
KR100461353B1 (en) 2004-12-14

Similar Documents

Publication Publication Date Title
US5950188A (en) Database system with methods for executing system-created internal SQL command statements
US7849179B2 (en) System and program for managing devices in a network
EP1252584B1 (en) Method for distributed transaction support using jdbc 1.0 drivers
US8484166B2 (en) Oracle rewind: metadata-driven undo
US6466965B1 (en) Centralized affinity maintenance in a workload managed client/server data processing system
US6253257B1 (en) Software Interface for dynamic API mapping
JP4972082B2 (en) Ability for developers to easily discover or extend well-known locations on the system
US7617218B2 (en) Persistent key-value repository with a pluggable architecture to abstract physical storage
US7426515B2 (en) Edge deployed database proxy driver
KR20180132874A (en) Version-like hierarchical data structures in distributed data stores
US7571164B2 (en) System and method for deferred database connection configuration
WO2023231665A1 (en) Distributed transaction processing method, system and device, and readable storage medium
US8655853B2 (en) System and method for optimizing database transaction termination
US7752225B2 (en) Replication and mapping mechanism for recreating memory durations
US20050182795A1 (en) System for heterogeneous distributed transaction management in database systems
US9342581B2 (en) System to disclose the internal structure of persistent database objects
US6725213B1 (en) Method and mechanism for providing external procedures to a database system
KR102124954B1 (en) IoT PLATFORM SYSTEM FOR SUPPORTING HETEROGENEOUS DATABASE MANAGEMENT SYSTEM SIMULTANEOUSLY AND OPERATING METHOD THEREOF
KR100461353B1 (en) A gateway system and an operating method for managing the integrated network by using a database connection pool
US20040220960A1 (en) Determining a mapping of an object to storage layer components
CN114153438A (en) API automatic generation system
WO2022002275A1 (en) Method for operating distributed storage process, and electronic device and storage medium
KR100319747B1 (en) Method for processing manu-driven administration commands using tool interating administration commands
JP3143919B2 (en) Communication parameter management method
CN116541446A (en) Database management method

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

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee