Design and Implementation of Interface between the Database and the Application Program

데이터베이스와 응용프로그램 사이의 인터페이스 설계 및 구현

  • 정인숙 (충남대학교 공과대학 선박해양공학과) ;
  • 이창섭 (충남대학교 공과대학 선박해양공학과) ;
  • 조충호 (충남대학교 공과대학 선박해양공학과)
  • Received : 1997.04.28
  • Published : 1997.11.01

Abstract

Most of the existing applications developed undter the DOS environment exchange information with the exterior world through reading and writing files in ASCII format. A package program consisting of numerous modules has to exchange data not only between module program and the input/output files but also between module themselves, and hence information exchange via ASCII file is increasingly inefficient and less accurate as the number of modules increases. The present paper describes the design and the implementation of the interface between the module program and the database which stores all the information necessary for the execution of the application. The interface program is then applied to the existing Propeller Design and Analysis System to show that the interface functions smoothly. The development is performed on the personal computer operating under Windows 95 rather than the workstation under Unix operating system to prove that the design and analysis work can be carried out without limit in time and space.

DOS 환경하에서 개발된 기존의 대부분의 응용프로그램들은 ASCII 형식의 파일을 직접 읽고 씀으로써 외부 세계와 정보를 교환한다. 수많은 단위 모듈로 이루어지는 종합적인 패키지는 모듈 각자의 입출력뿐아니라 모듈 사이의 빈번한 자료교환을 수행하여야 하므로, 모듈의 수가 증가할수록 ASCII 파일을 통한 입출력은 비효율적이고 정확성도 결여된다. 본 논문에서는 용용프로그램이 필요로 하는 모든 정보를 데이터베이스에 저장하고, 패키지의 각 모듈이 데이터베이스와 직접 정보를 교환할 수 있는 인터페이스를 설계하고 이를 실제 구현하는 과정을 보이고 있다. 개발된 인터페이스를 기존의 프로펠러 설계-해석 시스템에 적용하여 데이터베이스와의 정보교류가 원활히 수행되고 있음을 보였다. 이상을 Unix 환경하의 워크스테이션이 아닌 Windows95 환경하의 개인용/휴대용 컴퓨터에서 구현함으로써 프로펠러의 설계-해석을 시간적 공간적 제약없이 수행할 수 있음을 보였다.

Keywords