KR100689368B1 - Method for connecting data base in personal computer - Google Patents
Method for connecting data base in personal computer Download PDFInfo
- Publication number
- KR100689368B1 KR100689368B1 KR1019990065275A KR19990065275A KR100689368B1 KR 100689368 B1 KR100689368 B1 KR 100689368B1 KR 1019990065275 A KR1019990065275 A KR 1019990065275A KR 19990065275 A KR19990065275 A KR 19990065275A KR 100689368 B1 KR100689368 B1 KR 100689368B1
- Authority
- KR
- South Korea
- Prior art keywords
- database
- connection
- personal computer
- accessing
- program
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
- G06F9/449—Object-oriented method invocation or resolution
Abstract
가. 청구범위에 기재된 발명이 속한 기술분야end. The technical field to which the invention described in the claims belongs
개인용 컴퓨터에서 데이터 베이스에 접속하기 위한 기술이다.A technology for accessing a database from a personal computer.
나. 발명이 해결하고자 하는 기술적 과제I. The technical problem to be solved by the invention
개인용 컴퓨터에서 적어도 둘 이상의 데이터 베이스에 쉽게 접속할 수 있는 방법을 제공한다.Provides a method for easily accessing at least two databases from a personal computer.
다. 발명의 해결방법의 요지All. Summary of Solution of the Invention
본 발명은 개인용 컴퓨터에서 데이터 베이스에 접속하기 위한 프로그램을 설치 및 데이터 베이스에 접속하기 위한 방법으로서,The present invention provides a method for installing a program for accessing a database on a personal computer and for accessing the database.
상기 설치 과정은 ;The installation process is;
드라이버의 설치가 시작될 경우 초기 데이터를 읽어와 보조 메모리에 저장하는 과정과, 상기 초기 데이터를 저장한 후 상기 개인용 컴퓨터의 환경에 따라 설치되는 프로그램의 환경을 설정하는 과정과, 상기 데이터 베이스에 접속하기 위한 프로토콜 등에 따라 유틸리티를 통해 환경변수를 설정하는 과정과, 데이터 베이스에 따른 정보를 저장하기 위한 데이터 베이스의 관리자를 실행시키는 과정과, 사용자로부터 입력되는 데이터 베이스의 정보에 따라 데이터 베이스의 접속을 위한 정보를 등록하는 과정으로 이루어지며,When the installation of the driver starts, the process of reading the initial data and storing in the auxiliary memory, the process of setting the environment of the program installed according to the environment of the personal computer after storing the initial data, and accessing the database The process of setting an environment variable through a utility according to a protocol, etc., running a database manager for storing information according to the database, and accessing the database according to the database information input from the user. Is a process of registering information.
상기 데이터 베이스 접속 과정은 ;The database access process is;
프로그램이 구동되면 통신 타스크의 초기화 및 환경 변수를 읽어와 초기화를 수행하는 제1과정과, 아이디와 비밀번호 입력에 따른 그래픽을 생성하여 표시한 후 사용자 아이디 및 비밀번호를 수신하여 데이터 베이스 함수를 변경하여 생성하는 제2과정과, 접속할 데이터 베이스가 선택되면 통신 타스크를 통해 상기 선택된 데이터 베이스에 접속을 요구하는 신호를 송신하는 제3과정과, 상기 선택된 데이터 베이스로부터 인증이 이루어지면 데이터 베이스 접속모드를 수행하는 제4과정으로 이루어짐을 특징으로 한다.When the program is run, the first process of initializing and initializing the communication task and environment variables is performed, and generating and displaying a graphic according to the input of the ID and password, and receiving the user ID and password to change the database function to generate the graphic. Performing a second step of transmitting a signal requesting connection to the selected database through a communication task when a database to be connected is selected, and performing a database access mode when authentication is made from the selected database. It is characterized by consisting of a fourth process.
라. 발명의 중요한 용도la. Important uses of the invention
개인용 컴퓨터에서 외부 데이터 베이스와 접속할 경우 사용한다.Used when connecting to external database from personal computer.
데이터 베이스, 개인용 컴퓨터, 원격지 데이터 베이스, 데이터 베이스 접속.Database, personal computer, remote database, database access.
Description
도 1은 서로 다른 두 원격지의 이동통신 교환 시스템들과, 각 교환 시스템의 데이터 베이스 및 각 데이터 베이스에 연결하기 위한 개인용 컴퓨터의 망 구성도,1 is a network configuration diagram of two different remote mobile communication switching systems, a personal computer for connecting to each database and a database of each switching system,
도 2는 상기 도 1과 같은 망의 구성시 종래기술에 따라 개인용 컴퓨터에서 데이터 베이스의 접속 과정에 따른 제어 흐름도,FIG. 2 is a control flowchart of a database access procedure in a personal computer according to the prior art when configuring a network as shown in FIG. 1;
도 3은 본 발명에 따른 운용자 컴퓨터(10)의 기능에 따른 블록 구성도,3 is a block diagram according to the function of the
도 4는 본 발명의 바람직한 실시 예에 따라 데이터 베이스의 접속을 제어하며 운용자와 인터페이스를 수행하기 위한 각 타스크의 구성 및 연결도,4 is a configuration and connection diagram of each task for controlling a connection of a database and performing an interface with an operator according to a preferred embodiment of the present invention;
도 5는 본 발명의 바람직한 실시 예에 따라 데이터 베이스 접속 프로그램의 설치시 제어 흐름도,5 is a control flowchart for installing a database access program according to a preferred embodiment of the present invention;
도 6은 본 발명의 바람직한 실시 예에 따라 원격 데이터 베이스의 접속 프로그램 구동시 제어 흐름도.6 is a control flowchart for driving an access program of a remote database according to a preferred embodiment of the present invention.
본 발명은 개인용 컴퓨터(Personal Computer)에서 데이터 베이스(Data Base:이하 DB라 함)에 접속하기 위한 방법에 관한 것으로, 특히 개인용 컴퓨터에서 원격지에 위치한 적어도 둘 이상의 데이터 베이스에 접속하기 위한 방법에 관한 것이다.The present invention relates to a method for accessing a database (hereinafter referred to as a DB) in a personal computer, and more particularly to a method for accessing at least two databases located remotely from a personal computer. .
통상적으로 개인용 컴퓨터에서 원격지의 데이터 베이스에 접속하는 경우는 소정의 시스템을 관리하는 운용자가 관리를 위해 접속하는 경우와, 개인의 데이터 베이스를 관리하는 서버 컴퓨터 등에 저장되어 있는 자신의 데이터 베이스에 접속하여 이를 갱신, 삭제 등의 동작을 수행하는 경우 등이 있다. 또한 상기 소정의 시스템은 망관리 시스템, 기지국 시스템(Base station System:BTS), 기지국 제어기(BTS Controller:BSC), 교환 시스템 등의 각종 시스템의 데이터 베이스에 접속하는 경우가 있다. 또한 홈 존(Home Zone) 시스템에서와 같이 특별한 관리를 필요로 하는 데이터 베이스에 운용자가 접속하여 이를 관찰할 필요가 발생하기도 한다.In general, when accessing a remote database from a personal computer, an operator who manages a given system accesses the database for management, and accesses his own database stored in a server computer that manages the personal database. There is a case of performing an operation such as update or delete. In addition, the predetermined system may be connected to databases of various systems such as a network management system, a base station system (BTS), a base station controller (BSC), and a switching system. In addition, there is a need for an operator to access a database that requires special management, such as in a home zone system, to observe it.
그러면 도 1을 참조하여 이동통신 교환 시스템(MSC)의 데이터 베이스에 개인용 컴퓨터를 이용하여 접속하는 경우를 살펴본다.Next, a case in which a personal computer is connected to a database of a mobile communication switching system (MSC) will be described with reference to FIG. 1.
도 1은 서로 다른 두 원격지의 이동통신 교환 시스템들과, 각 교환 시스템의 데이터 베이스 및 각 데이터 베이스에 연결하기 위한 개인용 컴퓨터의 망 구성도이다. 이하 도 1을 참조하여 망의 구성을 설명한다.1 is a network diagram of mobile communication switching systems of two different remote locations, a database of each switching system, and a personal computer for connecting to each database. Hereinafter, the configuration of the network will be described with reference to FIG. 1.
이동통신 교환 시스템들(MSC)(12, 22)에 연결된 각각의 데이터 베이스들(11, 21)을 구비하고 있다. 또한 상기 데이터 베이스들(11, 21)은 교환 시스템의 모든 데이터 베이스가 아닌 이동통신 단말기의 가입자를 관리하기 위한 가입자 정보들로 구성될 수도 있으며, 이동통신 교환 시스템의 유지 보수를 위한 데이터 베이스일 수도 있다. 또한 상기 모든 데이터 베이스가 될 수도 있다. 즉, 데이터 베이스의 종류에는 상관하지 않는다. 또한 상기 두 이동통신 교환 시스템(12, 22)은 원격지에 위치하며 상기 각 데이터 베이스들(11, 21)도 원격지에 위치한다. 그리고 상기 개인용 컴퓨터들(PC)(10, 20)은 자신과 근거리에 위치한 데이터 베이스 뿐만 아니라 원거리에 위치한 데이터 베이스와도 연결되어 데이터 베이스를 읽어올 수 있다.Each
도 2는 상기 도 1과 같은 망의 구성시 종래기술에 따라 개인용 컴퓨터에서 데이터 베이스의 접속 과정에 따른 제어 흐름도이다. 이하 도 1 내지 도 2를 참조하여 종래기술에 따른 데이터 베이스 접속 과정을 설명한다. 또한 개인용 컴퓨터(10)에서 최초 접속시 근거리에 위치한 데이터 베이스(11)에 접속하며, 원거리 데이터 베이스(21)에 접속하는 것으로 가정하여 설명한다.FIG. 2 is a control flowchart of a database access procedure in a personal computer according to the prior art when configuring a network as shown in FIG. 1. Hereinafter, a database access process according to the prior art will be described with reference to FIGS. 1 and 2. In addition, it will be described on the assumption that the
개인용 컴퓨터(10)는 데이터 베이스에 접근하기 위한 프로그램을 구동시키면, (100)단계에서 통신 포트의 점검, 그래픽 인터페이스(GUI)의 운용 등을 수행하는 초기동작을 수행하며, (102)단계로 진행하여 사용자의 아이디(ID)와 비밀번호, 접속할 데이터 베이스(DB)의 이름 등의 입력을 요구한다. 이에 따라 사용자가 컴퓨터(10)에 입력을 하면, (102)단계에서 우선 컴퓨터에 자체적으로 저장되어 있는 디폴트(Default) 값으로 데이터 베이스에 접속한다. 그리고 (106)단계로 진행하면, 상기 운용자 컴퓨터(10)는 상기 (102)단계에서 입력된 사용자 아이디 및 비밀번호 를 데이터 베이스(11)로 출력하여 접속 허용이 가능한가를 검사한다. 그리고 데이터 베이스(11)로부터 이에 따른 데이터가 수신되면 (108)단계에서 인증에 따른 데이터인가를 검사한다. 상기 검사결과 인증이 되면, (112)단계로 진행하고, 인증이 되지 않으면 (110)단계의 에러모드로 진행한다. When the
인증이 이루어진 경우 개인용 컴퓨터(10)는 (112)단계로 진행하여 사용자 요구에 따른 데이터 베이스 접속의 동작을 수행한다. 운용자 컴퓨터(10)는 데이터 베이스(21)와 접속하여 그에 따른 데이터를 읽어와 표시하는 중에 (114)단계로 진행하여 사용자가 다른 데이터 데이스(21)에 접속이 요구되는 경우 (116)단계로 진행한다. 그러면 상기 개인용 컴퓨터(10)에서 구동되는 응용 프로그램은 (116)단계 내지 (118)단계에서 사용자 아이디와 비밀번호 및 베이스의 이름을 요구하고, 이에 따른 데이터가 입력되면 (120)단계로 진행한다. 그러면 운용자 컴퓨터(10)는 (120)단계에서 이를 다시 원격지에 위치한 데이터 베이스(21)로 출력하여 인증의 조사를 요구한다. 그리고 상기 원격지에 위치한 데이터 베이스(21)로부터 신호가 수신되는 경우 인증에 따른 신호인가를 검사한다. 상기 검사결과 인증에 따른 신호가 수신되는 경우 (126)단계로 진행하여 원격지에 위치한 데이터 베이스(21)에 사용자 요구에 따른 데이터 접속을 수행하게 된다. 그러나 상기 (122)단계의 검사결과 인증이 이루어지지 않은 경우 (124)단계로 진행하여 에러모드를 수행한 후 종료한다.If the authentication is made, the
상술한 바와 같이 원격지의 데이터 베이스에 접속하기 위해서는 사용자는 최초 자신의 데이터 베이스에 접속할 경우나 또는 원격지에 위치한 다른 데이터 베이스에 접속할 경우 연속되는 데이터 베이스의 접속인 경우에도 매번 데이터 베이스 를 변경할 때마다 새로이 운용자의 아이디(ID)와 비밀번호를 입력해야 하는 문제가 있었다.As described above, in order to connect to a remote database, a user needs to refresh a database each time the database is changed each time, even when the user first connects to his own database or when connecting to another database located at a remote location. There was a problem that the user's ID (ID) and password must be entered.
따라서 본 발명의 목적은 개인용 컴퓨터에서 적어도 둘 이상의 데이터 베이스를 접속할 경우 쉽게 데이터 베이스에 접속할 수 있는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for easily accessing a database when connecting at least two databases from a personal computer.
본 발명의 다른 목적은 개인용 컴퓨터에서 연속된 작업으로 다른 데이터 베이스에 접속할 경우 매번 데이터 베이스를 변경할 때마다 사용자 아이디와 비밀번호를 입력하는 번거로움을 제거할 수 있는 방법을 제공함에 있다.Another object of the present invention is to provide a method of eliminating the hassle of inputting a user ID and password every time the database is changed when accessing another database through a continuous operation in a personal computer.
상기한 목적들을 달성하기 위한 본 발명은 개인용 컴퓨터에서 데이터 베이스에 접속하기 위한 프로그램을 설치하는 방법으로서, 드라이버의 설치가 시작될 경우 초기 데이터를 읽어와 보조 메모리에 저장하는 과정과, 상기 초기 데이터를 저장한 후 상기 개인용 컴퓨터의 환경에 따라 설치되는 프로그램의 환경을 설정하는 과정과, 상기 데이터 베이스에 접속하기 위한 프로토콜 등에 따라 유틸리티를 통해 환경변수를 설정하는 과정과, 데이터 베이스에 따른 정보를 저장하기 위한 데이터 베이스의 관리자를 실행시키는 과정과, 사용자로부터 입력되는 데이터 베이스의 정보에 따라 데이터 베이스의 접속을 위한 정보를 등록하는 과정으로 이루어짐을 특징으로 한다.According to an aspect of the present invention, there is provided a method for installing a program for accessing a database in a personal computer, the process of reading initial data and storing the initial data in auxiliary memory when the driver installation is started, and storing the initial data. After that, a process of setting an environment of a program installed according to the environment of the personal computer, a process of setting an environment variable through a utility according to a protocol for accessing the database, and storing information according to the database. And a process of executing the administrator of the database and registering information for accessing the database according to the information of the database input from the user.
상기한 목적들을 달성하기 위한 본 발명은 객체지향 언어로 구성되어 설치된 적어도 둘 이상의 데이터 베이스 함수들을 구비한 데이터 베이스 소스 관리자와, 환경 변수와 통신 타스크와 데이터 베이스 접속 응용 타스크를 구비한 개인용 컴퓨터에서 데이터 베이스 접속 방법으로, 프로그램이 구동되면 통신 타스크의 초기화 및 환경 변수를 읽어와 초기화를 수행하는 제1과정과, 아이디와 비밀번호 입력에 따른 그래픽을 생성하여 표시한 후 사용자 아이디 및 비밀번호를 수신하여 데이터 베이스 함수를 변경하여 생성하는 제2과정과, 접속할 데이터 베이스가 선택되면 상기 통신 타스크를 통해 상기 선택된 데이터 베이스에 접속을 요구하는 신호를 송신하는 제3과정과, 상기 선택된 데이터 베이스로부터 인증이 이루어지면 데이터 베이스 접속모드를 수행하는 제4과정으로 이루어짐을 특징으로 한다.
The present invention for achieving the above objects is a database source manager having at least two database functions constructed and installed in an object-oriented language, and data in a personal computer having an environment variable, a communication task and a database connection application task. As the base access method, when the program is driven, the first process of initializing the communication task and reading the environment variables and performing the initialization, generating and displaying a graphic according to the input of the ID and password, and receiving the user ID and the password A second process of changing and generating a function, a third process of transmitting a signal requesting access to the selected database through the communication task when a database to be connected is selected, and data if authentication is made from the selected database Base connection mode And by performing the feature constituted by any fourth step.
이하 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
도 3은 본 발명에 따른 운용자 컴퓨터(10)의 기능에 따른 블록 구성도이다. 이하 도 3을 참조하여 본 발명에 따른 운용자 컴퓨터의 기능을 상세히 설명한다.3 is a block diagram according to the function of the
제어부(211)는 운용자 컴퓨터의 전반적인 동작을 수행하며, 특히 본 발명에 따라 데이터 베이스 접속시의 제어를 수행한다. 통신 인터페이스(212)는 외부에 연결된 데이터 베이스와 연결되며, 소정의 프로토콜을 이용하여 통신을 수행하게 된다. 또한 상기 데이터 베이스와의 연결은 도 1에서와 같이 자국에 위치한 데이터 베이스(11)와 원격지에 위치한 타국의 데이터 베이스(21)에 접속할 수 있다. 이러한 타국의 데이터 베이스는 더 많은 수로 구비되어도 무방하다. 보조 기억장치(213)는 제어부(211)에서 필요한 동작 프로그램(Operating Software)을 저 장하고 있으며, 또한 본 발명에 따른 응용 소프트웨어 등을 저장하고 있다. 뿐만 아니라 프로그램의 구동 중 발생되는 대 용량의 데이터를 임시 저장하기도 한다. 롬(214)은 운용자 컴퓨터(10)의 초기 구동에 필요한 정보 등을 저장하고 있으며, 램(215)은 특정한 응용 프로그램 등이 구동될 경우 이를 저장하는 영역으로 구성되어 있다. 사용자 접속부(216)는 제어부(211)와 사용자의 입력 수단들과의 인터페이스를 제공한다. 이와 같은 사용자의 입력 수단들로는 마우스(217)와 키보드(218) 등이 있다. 그래픽 인터페이스(219)는 제어부(211)의 제어에 의해 현재 동작중인 상태 및 동작 과정, 결과 등을 시각적으로 운용자에게 알리기 위한 그래픽 데이터를 처리하며, 처리된 그래픽 데이터는 모니터(220)로 제공된다. 모니터(220)는 상기 그래픽 인터페이스(219)로부터 제공되는 데이터를 처리하여 그래픽 또는 문자 데이터 등으로 표시하여 운용자에게 알린다.The
도 4는 본 발명의 바람직한 실시 예에 따라 데이터 베이스의 접속을 제어하며 운용자와 인터페이스를 수행하기 위한 각 타스크의 구성 및 연결도이다. 이하 도 4를 참조하여 본 발명에 따른 각 타스크의 구성 및 동작을 상세히 설명한다.4 is a configuration and connection diagram of each task for controlling a connection of a database and performing an interface with an operator according to a preferred embodiment of the present invention. Hereinafter, the configuration and operation of each task according to the present invention will be described in detail with reference to FIG. 4.
DB 접속 응용 타스크(311)는 데이터 베이스 구동 응용 프로그램 구동시 동작하며, 사용자의 키입력 신호를 수신하여 아이디, 비밀번호 등을 입력받아 DB 소스 관리자(314)로 출력하여 아이디와 비밀번호로 이루어진 DB 함수들(314a, …, 314n)을 생성한다. 이러한 환경 변수는 운용자의 아이디 및 비밀번호가 새로이 입력될 경우마다 또는 접속할 데이터 베이스 등을 새로이 입력할 경우마다 새롭게 생성하여 DB 소스 관리자(314)로 출력하여 생성하게 된다. 또한 DB 접속 응용 타스크(311)는 초기 구동시 보조 기억장치(213)에 저장되어 있는 환경변수(313)를 읽어와 시스템과 접속하기 위한 각종 동작을 수행하게 된다. 통신 타스크(312)는 외부 데이터 베이스와 접속하기 위한 프로토콜로 데이터를 변환하여 상기 DB 접속 응용 타스크(311)로 출력한다. 환경변수(313)는 상기 응용 프로그램을 설치할 경우 보조 기억장치(213)에 저장된다. DB 소스 관리자(314)는 DB 접속 응용 타스크(311)로부터 수신된 아이디와 비밀번호를 이용하여 DB 변수들(314a, …, 314n)을 설정한 후 이를 저장한다. 따라서 상기 DB 소스 관리자(314)는 보조 기억장치(213)에 저장되어 있다. 그래픽 타스크(315)는 DB 접속 응용 타스크(311)로부터 수신되는 신호를 모니터로 출력할 수 있는 형태로 변환하며, 상기 DB 접속 응용 타스크(311)의 동작 상태 및 결과 데이터를 출력한다.The DB
도 5는 본 발명의 바람직한 실시 예에 따라 데이터 베이스 접속 프로그램의 설치시 제어 흐름도이다. 이하 도 3 및 도 5를 참조하여 본 발명에 따른 설치 동작을 상세히 설명한다. 제어부(211)는 (400)단계에서 개인용 컴퓨터(PC)의 드라이버 설치가 시작되면 초기 필요한 데이터를 사용자 접속부(216)에 연결된 외부장치 구동기들 예를 들어 CD-롬 드라이버, 또는 플로피 디스크 드라이버 등으로부터 필요한 데이터를 읽어오게 된다. 그리고 제어부(211)는 (402)단계로 진행하여 이미 보조 기억장치(213)에 설치된 환경에 따른 환경 설정을 수행하게 된다. 이러한 환경 설정은 윈도우 모드인 경우 윈도우 환경에 따라 환경을 설정하며, 도스 모드인 경우 도스에 따른 환경을 설정하고, 리눅스인 경우 이에 따른 환경을 설정한다. 즉, 해당하는 동작 프로그램에 따라 환경의 설정이 이루어진다. 그리고 (404)단계로 진 행하여 유틸리티를 통한 환경변수를 설정한다. 이와 같은 유틸리티 등에 따른 환경 변수는 서버의 통신 사양에 따른 환경변수가 된다. 제어부(111)는 상기한 과정이 종료되면 (406)단계로 진행하여 OBDC 데이터 소스 관리자를 실행시킨다. 이와 같은 데이터 소스 관리자는 VISUAL C++의 프로그램으로 작성할 경우이며, C++ 등으로 프로그램을 생성한 경우 등의 다른 언어로 작성한 경우에는 상기 도 4에 도시한 바와 같이 DB 소스 관라지(314)가 된다. 이하의 설명에서는 VISUAL C++만이 아닌 다른 언어로 작성된 경우에도 함께 설명한다. 따라서 상기 제어부(111)는 데이터 베이스 관리자를 수행시킨 후 (408)단계로 진행하여 사용자의 키 입력에 따라 원격 데이터 베이스의 이름을 수신하여 DB 함수에 저장한다. 즉, 초기 프로그램의 설치시에 DB 함수에는 접속할 원격 데이터 베이스의 이름만 저장된다.5 is a control flowchart for installing a database access program according to a preferred embodiment of the present invention. Hereinafter, the installation operation according to the present invention will be described in detail with reference to FIGS. 3 and 5. When the driver installation of the personal computer (PC) is started in
도 6은 본 발명의 바람직한 실시 예에 따라 원격 데이터 베이스의 접속 프로그램 구동시 제어 흐름도이다. 이하 도 1과 도 3 내지 도 6을 참조하여 본 발명에 따라 원격 데이터 베이스에 접속하기 위한 제어 과정을 상세히 설명한다.6 is a control flowchart of driving an access program of a remote database according to an exemplary embodiment of the present invention. Hereinafter, a control process for accessing a remote database according to the present invention will be described in detail with reference to FIGS. 1 and 3 to 6.
운용자 컴퓨터(10)는 데이터 베이스 접속 프로그램이 구동되면 (500)단계에서 초기화 구동을 수행한다. 이러한 초기화 구동은 제어부(111)에 구비된 DB접속 응용 타스크(311)를 구동시키며, 환경변수(313)를 읽어오며, 그래픽 타스크(315) 및 통신 타스크(312)를 구동시키는 것을 말한다. 그리고 DB 접속 응용 타스크(311)는 (502)단계로 진행하여 그래픽 타스크(315)를 제어하여 초기 동작에 따른 그래픽을 생성한다. 이때 생성되는 그래픽은 사용자의 아이디와 비밀번호를 입력하는 창 또는 메시지를 생성하여 모니터(220)에 표시하도록 하는 것을 말한다. 그리고 (504)단계로 진행하여 키 신호가 입력되면 이를 사용자 아이디와 비밀번호로 수신하게 된다. 그런 후 (506)단계로 진행하여 DB 변경 콜백 함수를 호출한다. 이러한 함수는 상기 보조 기억장치(213)에 저장되어 있는 것을 말하며, 실제로 수신된 데이터가 생긴되는 것은 DB 소스 관리자(314)에 저장된다. 즉, 상기 DB 접속 응용 타스크(311)는 (508)단계로 진행하여 DB 소스 관리자(314)의 해당 DB 함수에 사용자의 아이디와 비밀번호를 결합하여 함수를 형성한다. 그리고, (510)단계로 진행하여 사용자가 접속하고자 하는 데이터 베이스로 접속 인증을 요구하는 신호를 송신한다. When the database access program is driven, the
상기 DB 접속 응용 타스크(311)는 데이터 베이스로부터 통신 타스크(312)를 통해 신호가 수신되는 경우 (512)단계로 진행하여 인증에 따른 신호인가를 검사한다. 상기 DB 접속 응용 타스크(311)는 인증에 따른 신호인 경우 (516)단계로 진행하고, 그렇지 않은 경우 (514)단계로 진행하여 에러모드를 수행한다. 이러한 에러모드는 그래픽 타스크(315)를 제어하여 모니터(220)으로 접속 실패에 따른 신호를 출력하는 것을 말한다. 이와 같은 접속의 실패는 데이터 베이스의 다운 및 통신 장애 등으로 접속이 실패하는 경우와, 아이디 또는 비밀번호가 일치하지 않아 실패하는 경우 등이 있다. 즉, 통신 장애와 같이 신호가 미리 설정된 시간 이상동안 신호가 수신되지 않는 경우도 장애 신호를 수신한 것으로 설명한다. 이러한 경우는 일반적인 경우이므로 이에 대한 상세한 설명은 생략하기로 한다.When the DB
상기 DB 접속 타스크(311)는 (516)단계에서 DB 접속 모드가 수행되는 경우에 사용자의 키 입력에 따라 접속된 데이터 베이스와 접속을 위한 동작을 수행한다. 그리고 (518)단계에서 다른 데이터 베이스에 접속을 요구하는 신호가 수신되는가를 검사한다. 상기 검사결과 다른 데이터 베이스에 접속이 요구되는 경우 (520)단계로 진행하고, 그렇지 않은 경우 (516)단계를 계속 수행한다. 상기 DB 접속 응용 타스크(311)는 (520)단계로 진행하면 상기 DB 소스 관리자의 DB 함수를 읽어와 접속 확인을 요구하는 신호를 생성한다. 그리고 상기 생성된 신호를 통신 타크스(312)를 통해 사용자가 선택한 데이터 베이스로 접속 확인을 위한 신호를 출력한다. 이후 상기 접속이 요구된 데이터 베이스로부터 신호가 수신되는 경우 (522)단계로 진행하여 인증에 따른 신호인가를 검사한다. 상기 검사결과 인증에 따른 신호인 경우 (524)단계로 진행하고, 그렇지 않은 경우 (526)단계로 진행한다. 상기 다른 데이터 베이스 접속 모드(526)단계에서 수행하는 동작은 상술한 (516)단계와 동일하며, 에러모드(524)단계는 상술한 (514)단계와 동일한 과정이다. 그리고 상기한 프로그램이 종료되는 경우를 제외하고, 다른 데이터 베이스에 접속을 하는 경우에는 상기 (510)단계 내지 (518)단계와 같은 동작을 계속 수행한다.When the DB access mode is performed in
또한 상기 데이터 베이스의 접속을 위한 프로그램이 종료되는 경우 상기 DB 소스 관리자(314)에 변경되어 저장된 DB 함수들은 초기 설치시와 동일하게 변경되어 저장된다. 즉, 상기 프로그램이 종료되면 사용자가 등록한 데이터를 삭제하고, 다른 사용자가 등록할 경우 이를 다시 변경하여 사용하도록 한다. 이와 달리 각 사용자마다 상기 DB 소스 관리자를 사용하도록 별도로 구성할 수도 있다.In addition, when the program for accessing the database is terminated, the DB functions changed and stored in the
상술한 바와 같이 개인용 컴퓨터에서 하나의 데이터 베이스에 접속한 이후에 다른 데이터 베이스에 접속할 경우 계속하여 아이디와 비밀번호 등을 입력하고, 데이터 베이스의 일련번호 등을 입력하는 번거로움 없이 쉽게 데이터 베이스를 접속할 수 있는 이점이 있다. As described above, when accessing one database from a personal computer, the user can easily access the database without the hassle of inputting an ID and password and inputting the serial number of the database. There is an advantage to that.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990065275A KR100689368B1 (en) | 1999-12-29 | 1999-12-29 | Method for connecting data base in personal computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990065275A KR100689368B1 (en) | 1999-12-29 | 1999-12-29 | Method for connecting data base in personal computer |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20010065398A KR20010065398A (en) | 2001-07-11 |
KR100689368B1 true KR100689368B1 (en) | 2007-03-08 |
Family
ID=19632479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990065275A KR100689368B1 (en) | 1999-12-29 | 1999-12-29 | Method for connecting data base in personal computer |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100689368B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0667867A (en) * | 1992-06-15 | 1994-03-11 | Fuji Xerox Co Ltd | Data base accessing system for application program |
JPH09218777A (en) * | 1996-02-09 | 1997-08-19 | Nec Corp | Computer system |
JPH1049539A (en) * | 1996-07-31 | 1998-02-20 | Matsushita Electric Ind Co Ltd | Data base management system |
KR100472807B1 (en) * | 1996-02-09 | 2005-05-16 | 선 마이크로시스템즈 인코퍼레이티드 | System and method for automatically modifying database access methods to insert database object handling instructions |
-
1999
- 1999-12-29 KR KR1019990065275A patent/KR100689368B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0667867A (en) * | 1992-06-15 | 1994-03-11 | Fuji Xerox Co Ltd | Data base accessing system for application program |
JPH09218777A (en) * | 1996-02-09 | 1997-08-19 | Nec Corp | Computer system |
KR100472807B1 (en) * | 1996-02-09 | 2005-05-16 | 선 마이크로시스템즈 인코퍼레이티드 | System and method for automatically modifying database access methods to insert database object handling instructions |
JPH1049539A (en) * | 1996-07-31 | 1998-02-20 | Matsushita Electric Ind Co Ltd | Data base management system |
Also Published As
Publication number | Publication date |
---|---|
KR20010065398A (en) | 2001-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8458300B2 (en) | Method and system to manage services for multiple managed computer systems | |
JP3415456B2 (en) | Network system, command use authority control method, and storage medium storing control program | |
JP3293073B2 (en) | How to get an interface to transfer data from a network to an open system | |
US6516346B1 (en) | Microcode upgrade in data processing system | |
CN112269799A (en) | Data query method, device, equipment and medium | |
US20050149948A1 (en) | System and method for monitoring and managing connection manager activity | |
CN101512634A (en) | Apparatus and methods for ensuring visibility of display window | |
US4951245A (en) | Network terminal driver communications subsystem | |
US20130333052A1 (en) | Information processing system, information processing apparatus, and computer-readable storage medium | |
US6553414B1 (en) | System used in plural information processing devices for commonly using peripheral device in network | |
KR100689368B1 (en) | Method for connecting data base in personal computer | |
US20090158412A1 (en) | Secure Automatically Configuring, Self-Authenticating Administrative User Without A Password | |
EP1661007B1 (en) | System and method for monitoring and managing connection manager activity | |
Cisco | Updating the Mainframe Application Software | |
Cisco | Updating the Mainframe Application Software | |
US20060136522A1 (en) | Computer system, storage management program call-up method, and storage system | |
CN113535574A (en) | Automatic generation method, device, equipment and medium for test user data | |
KR20000058548A (en) | Proof System and Method Conecting Server of Specific Data Using Exclusive Means | |
JPH11282884A (en) | Network cad system | |
CN116149757B (en) | Plug-in virtual route realization method, device, computer equipment and storage medium | |
WO2024066638A1 (en) | Remote assistance method and apparatus, electronic device, cloud desktop server, and medium | |
KR100723955B1 (en) | Client connecting method for remote support service | |
JPH04370870A (en) | Multi-host log-on control system | |
JP2002342084A (en) | Software demonstration environment providing system and software demonstration environment providing method | |
KR970068709A (en) | Control command processing method of switching network |
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 | ||
LAPS | Lapse due to unpaid annual fee |