KR20030034872A - Database Management Apparatus and Method of Real-Time Mail-Box System - Google Patents

Database Management Apparatus and Method of Real-Time Mail-Box System Download PDF

Info

Publication number
KR20030034872A
KR20030034872A KR1020010066664A KR20010066664A KR20030034872A KR 20030034872 A KR20030034872 A KR 20030034872A KR 1020010066664 A KR1020010066664 A KR 1020010066664A KR 20010066664 A KR20010066664 A KR 20010066664A KR 20030034872 A KR20030034872 A KR 20030034872A
Authority
KR
South Korea
Prior art keywords
query
server
dbsql
library
message
Prior art date
Application number
KR1020010066664A
Other languages
Korean (ko)
Inventor
김만수
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020010066664A priority Critical patent/KR20030034872A/en
Publication of KR20030034872A publication Critical patent/KR20030034872A/en

Links

Classifications

    • G06Q50/50

Abstract

PURPOSE: A device and a method for managing a database of a real time post-office box system are provided to enable the real time post-office box system to manage the database with a database server by transmitting a query to the database server and an application corresponding to an operation result receiving from the database server. CONSTITUTION: The real time post-office box system(100) searches, stores and modifies the database in the database server(200) through an NFS(Network File System) by connecting to the database server(200) through the network. The real time post-office box system comprises an input/output part(110) and a control part(120). The input/output part(110) applies a query word inputted from an operator to the database server(200), and outputs the result data from the control part(120). The control part(120) comprises a database client(130) requesting the process to the database server(200) by transferring the query from the input/output part(110) to the database server(200). The database client(130) offers a communication function making an upper application easily approach to the database server(200) and the function analyzing the query result from the database server(200) and sending it to the upper application.

Description

실시간 사서함 시스템의 데이터베이스 관리 장치 및 방법{Database Management Apparatus and Method of Real-Time Mail-Box System}Database Management Apparatus and Method of Real-Time Mail-Box System}

본 발명은 실시간 사서함 시스템의 데이터베이스(DataBase;이하, DB라 한다) 관리 장치 및 방법에 관한 것으로서, 특히 DB가 지원되지 않는 실시간 사서함 시스템에서 상용화된 DB 서버를 사용하여 DB를 관리할 수 있도록 하는 실시간 사서함 시스템의 DB 관리 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for managing a database of a real-time mailbox system (hereinafter, referred to as DB), and in particular, to manage a DB using a commercially available DB server in a real-time mailbox system in which a DB is not supported. DB management apparatus and method of a mailbox system.

일반적으로 이동 전화 음성 사서함, 팩스 사서함, 비디오 사서함, E-메일 사서함 등의 실시간 사서함 시스템은, 시스템 형상, 사서함 정보, 메시지 정보 등의 자료를 관리하게 된다.In general, a real-time mailbox system such as a mobile phone voice mailbox, a fax mailbox, a video mailbox, and an e-mail mailbox manages materials such as system configuration, mailbox information, and message information.

도 1은 종래 실시간 사서함 시스템의 구성을 간략하게 보인 도로, 입출력부(13)와, 제어부(15)와, HDD(Hard Disk Drive)(17)를 구비하여 이루어진다.FIG. 1 includes a road, an input / output unit 13, a control unit 15, and a hard disk drive (HDD) 17 that briefly show a configuration of a conventional real-time mailbox system.

이와 같은 구성에 있어서, 입출력부(13)는 HDD(17)에 데이터를 등록(Insert), 삭제(Delete), 변경(Update), 조회(Select)하기 위한 명령어를 입력하고, 운용자로부터 입력받은 명령어에 따른 결과 데이터를 출력한다.In such a configuration, the input / output unit 13 inputs a command to register, delete, update, and select data on the HDD 17, and receives a command from an operator. Output the result data according to the

제어부(15)는 입출력부(13)로부터 전달받은 명령에 의거하여 데이터를 파일 형태로 관리하는 데, 입출력부(13)로부터 등록할 데이터를 인가받으면 인가받은 데이터를 파일 형태로 HDD(17)에 저장하고, 변경될 데이터를 인가받으면 인가받은 데이터에 의거하여 해당 데이터 파일 전체를 업데이트하고, 삭제할 데이터를 인가받으면 인가받은 데이터에 해당하는 파일을 삭제시킨다.The control unit 15 manages the data in the form of a file based on the command received from the input / output unit 13. When the data to be registered is received from the input / output unit 13, the control unit 15 transmits the authorized data to the HDD 17 in the form of a file. If the data to be stored is authorized, the data file is updated according to the authorized data, and if the data to be deleted is authorized, the file corresponding to the authorized data is deleted.

HDD(17)는 제어부(15)의 제어하에 데이터를 파일 형식으로 저장한다.The HDD 17 stores data in a file format under the control of the control unit 15.

전술한 바와 같이, 종래 실시간 사서함 시스템(10)은 시스템(10)에 구비되어 있는 HDD(17)를 이용하여 필요한 데이터를 파일 형식으로 관리하므로, 데이터 항목의 추가 삭제가 어려워지는 문제점이 있다.As described above, the conventional real-time mailbox system 10 manages necessary data in a file format by using the HDD 17 provided in the system 10, which makes it difficult to further delete data items.

예를 들어, 데이터 항목이 사서함 번호, 비밀 번호, 하드 디스크 ID, PID(Processor ID) 등을 포함하는 7 가지 항목으로 이루어진 상태에서, 항목을 추가 또는 삭제하기 위해서는 HDD(17)에 저장되어 있는 데이터 파일 전체를 업데이트해야 한다.For example, while a data item is composed of seven items including a mailbox number, a password, a hard disk ID, a processor ID (PID), and the like, the data stored in the HDD 17 to add or delete an item. You must update the entire file.

그리고, 데이터를 파일 형식으로 관리하므로, 한번에 하나의 데이터 항목만을 요구할 수 있게 되어 다양한 형태의 데이터 접근이 어려워지는 문제점이 있다.In addition, since data is managed in a file format, only one data item can be requested at a time, thereby making it difficult to access various types of data.

예를 들어, HDD(17)에 700-7000번부터 700-7999번까지의 사서함 번호에 대한 데이터 파일이 저장되어 있다고 가정했을 때, 700-7000번부터 700-7010번까지의 사서함 번호에 대한 비밀 번호와 하드 디스크 ID를 조회하고자 하는 경우에는 각각의 사서함 번호별로 비밀 번호를 조회하고자 하는 명령과 하드 디스크 ID를 조회하고자 하는 명령을 각각 입력하여 해당 데이터를 조회하게 되므로, 운용자는 700-7000번부터 700-7010번까지의 사서함 번호에 대한 비밀 번호와 하드 디스크 ID를 조회하기 위해 총 20번의 조회 명령을 입력해야 한다.For example, assuming that data files for mailbox numbers 700-7000 through 700-7999 are stored on HDD 17, the secrets for mailbox numbers 700-7000 through 700-7010 are stored. If you want to look up the number and hard disk ID, you can search the data by entering the command to search password and hard disk ID for each mailbox number. You will have to enter a total of 20 lookup commands to retrieve the password and hard disk ID for the mailbox number 700-7010.

그리고, HDD(17)를 이용하여 데이터를 관리하므로, HDD(17)에 물리적인 에러가 발생하게 되는 경우에는 데이터 복구가 어려워지는 문제점이 있다.In addition, since data is managed using the HDD 17, when a physical error occurs in the HDD 17, data recovery becomes difficult.

그리고, HDD(17)에 저장되어 있는 데이터 정보를 항상 제어부(15)에서 관리해줘야 하는 문제점이 있다.In addition, there is a problem in that the controller 15 always manages data information stored in the HDD 17.

본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 메시지를 통해 네트워크로 연결되어 있는 DB 서버로 질의어를 전송하고, DB 서버로부터 전송받은 수행 결과를 분석하여 해당 어플리케이션으로 보내줌으로써, 실시간 사서함 시스템이 DB 서버를 사용하여 데이터베이스를 관리할 수 있도록 하는 실시간 사서함 시스템의 DB 관리 장치 및 방법을 제공함에 그 목적이 있다.The present invention has been made to solve the above-described problems, by sending a query to a DB server connected to the network via a message, by analyzing the performance results received from the DB server to send to the application, the real-time mailbox system The purpose is to provide a DB management device and method of a real-time mailbox system that can manage a database using a DB server.

도 1은 종래 실시간 사서함 시스템의 구성을 간략하게 보인 도.Figure 1 is a simplified view showing the configuration of a conventional real-time mailbox system.

도 2는 본 발명에 따른 실시간 사서함 시스템의 DB 관리 장치의 구성을 보인 도.2 is a diagram showing the configuration of a DB management apparatus of a real-time mailbox system according to the present invention.

도 3은 도 2에서 DB 클라이언트의 구성을 보인 도.3 is a view showing the configuration of a DB client in FIG.

도 4a 및 도 4b는 본 발명에 적용되는 메시지의 형식을 예시적으로 보인 도.4a and 4b exemplarily illustrate the format of a message applied to the present invention.

도 5는 본 발명에 적용되는 DB의 구성을 예시적으로 보이는 도.5 is a view showing an example of the configuration of a DB applied to the present invention.

도 6은 본 발명에 따른 실시간 사서함 시스템의 DB 관리 방법을 설명하기 위한 플로우챠트.6 is a flowchart illustrating a DB management method of a real-time mailbox system according to the present invention.

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

100. 실시간 사서함 시스템,110. 입출력부,100. Real Time Mailbox System. I / O unit,

120. 제어부,125. 상위 어플리케이션,120. Control, 125. Parent application,

130. DB 클라이언트133. DBSQL 라이브러리,130.DB Client 133. DBSQL library,

135. IPC 처리부,200. DB 서버135.IPC processing unit, 200. DB server

전술한 목적을 달성하기 위한 본 발명에 따른 실시간 사서함 시스템의 DB 관리 장치는, 실시간 사서함 시스템에 네트워크로 연결되어 실시간 사서함 시스템에서 필요로 하는 데이터를 데이터베이스로 관리하는 DB 서버와; 상기 실시간 사서함 시스템의 제어부에 구현되어 소정의 메시지를 통해 상기 DB 서버로 데이터 관리를 요구하되, 상위 어플리케이션에 의해 호출되어 상기 데이터베이스에 데이터를 등록, 삭제, 변경, 조회하는 기능을 제공하며, 상기 DB 서버로부터 전송받은 결과 메시지를 분석하여 상기 상위 어플리케이션으로 전달하는 DBSQL 라이브러리와, 상기 DBSQL 라이브러리로부터 인가받은 질의 메시지를 상기 DB 서버로 전송하고, 상기DB 서버로부터 전송받은 결과 메시지를 상기 DBSQL 라이브러리로 인가하는 IPC 처리부를 구비하여 이루어지는 DB 클라이언트를 구비하여 이루어진다.DB management apparatus for a real-time mailbox system according to the present invention for achieving the above object is a DB server that is connected to the network to the real-time mailbox system to manage the data required by the real-time mailbox system as a database; Implemented in the control unit of the real-time mailbox system to request data management to the DB server through a predetermined message, and is called by a higher application to provide a function to register, delete, change, query the data in the database, the DB Analyzing the result message received from the server to the DBSQL library to deliver to the upper application, the query message authorized from the DBSQL library to the DB server, and authorizes the result message received from the DB server to the DBSQL library A DB client comprising an IPC processing unit is provided.

한편, 본 발명에 따른 실시간 사서함 시스템의 DB 관리 방법은, 입출력부를 통해 운용자로부터 입력받은 질의어를 처리하는 어플리케이션이 DBSQL 라이브러리를 호출하고, 상기 호출된 DBSQL 라이브러리로 상기 질의어를 포함하는 질의 메시지를 전송하는 과정과; 상기 DBSQL 라이브러리에서 상기 전송받은 질의 메시지를 IPC 처리부로 인가하는 과정과; 상기 IPC 처리부에서 상기 인가받은 질의 메시지를 DB 서버로 전송하는 과정과; 상기 DB 서버에서 상기 전송받은 질의 메시지에 포함되어 있는 질의어를 분석하고, 분석된 질의 내용에 따라 데이터베이스 데이터를 등록, 삭제, 변경 또는 조회한 후, 수행 결과를 수행 결과 메시지에 포함시켜 상기 IPC 처리부로 전송하는 과정과; 상기 IPC 처리부에서 상기 DB 서버로부터 전송받은 수행 결과 메시지를 상기 DBSQL 라이브러리로 인가하는 과정과; 상기 DBSQL 라이브러이에서 상기 IPC 처리부로부터 인가받은 수행 결과 메시지를 분석하여 상기 어플리케이션으로 전달하는 과정을 포함하여 이루어진다.On the other hand, the DB management method of the real-time mailbox system according to the present invention, the application processing the query received from the operator via the input and output unit calls the DBSQL library, and transmits a query message including the query to the called DBSQL library Process; Authorizing the received query message from the DBSQL library to an IPC processing unit; Transmitting, by the IPC processing unit, the authorized query message to a DB server; The DB server analyzes the query word included in the received query message, registers, deletes, changes or inquires database data according to the analyzed query content, and then includes the execution result in the execution result message to the IPC processing unit. Transmitting; Authorizing, by the IPC processing unit, the execution result message received from the DB server to the DBSQL library; The DBSQL library includes a process of analyzing the execution result message received from the IPC processing unit and delivering the result to the application.

이하에서는 첨부한 도면을 참조하여 본 발명의 바람직한 실시예에 따른 실시간 사서함 시스템의 DB 관리 장치 및 방법에 대해서 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail with respect to the DB management apparatus and method of a real-time mailbox system according to a preferred embodiment of the present invention.

도 2는 본 발명에 따른 실시간 사서함 시스템의 DB 관리 장치의 구성을 보인 도로, 실시간 사서함 시스템(100)과 데이터베이스(DataBase;이하, DB라 한다) 형식으로 데이터를 관리하는 DB 서버(200)는 네트워크(LAN;Local Area Network)로 연결되어 있으며, NFS(Network File System)를 통해 실시간 사서함 시스템(100)이 DB 서버(200)에 있는 DB를 마치 실시간 사서함 시스템(100)에 있는 것처럼 검색하고, 마음대로 저장하거나 수정한다.2 is a road showing a configuration of a DB management apparatus of a real-time mailbox system according to the present invention, a DB server 200 for managing data in the form of a real-time mailbox system 100 and a database (hereinafter referred to as DB) is a network. (LAN; Local Area Network), the real-time mailbox system 100 via the NFS (Network File System) to search the DB on the DB server 200 as if it is in the real-time mailbox system 100, and at will Save or modify.

전술한, 실시간 사서함 시스템(100)은 입출력부(110)와, 제어부(120)를 구비하여 이루어지는 데, 입출력부(110)는 운용자로부터 DB 서버(200)에 데이터를 등록, 삭제, 변경, 조회하기 위한 질의어를 입력받아 제어부(120)로 인가하고, 제어부(120)로부터 인가받은 결과 데이터를 출력한다.As described above, the real-time mailbox system 100 includes an input / output unit 110 and a control unit 120. The input / output unit 110 registers, deletes, changes, and retrieves data from the operator to the DB server 200. To receive the query to be input to the control unit 120, and outputs the result data received from the control unit 120.

제어부(120)는 입출력부(110)로부터 인가받은 질의어를 DB 서버(200)로 전달하여 DB 서버(200)로 처리를 요구하는 DB 클라이언트 기능을 담당하는 API(Application Program Interface)(이하, 'DB 클라이언트'라 한다)를 포함하여 이루어지는 데, DB 클라이언트(130)는 상위 어플리케이션이 DB 서버(200)에 쉽게 접근할 수 있도록 하는 통신 기능과, DB 서버(200)로부터 전송받은 질의 결과를 분석하여 해당 상위 어플리케이션으로 보내주는 기능을 제공한다.The control unit 120 transmits the query word received from the input / output unit 110 to the DB server 200 to perform a DB client function for requesting processing to the DB server 200 (hereinafter, 'DB' Client '), and the DB client 130 analyzes the communication function to allow the upper application to easily access the DB server 200, and analyzes the query result received from the DB server 200. It provides the function to send to the upper application.

도 3은 도 2에서 DB 클라이언트(130)의 구성을 보인 도로, DBSQL 라이브러리(133)와, IPC 처리부(135)를 구비하여 이루어진다.FIG. 3 includes a road showing the configuration of the DB client 130 in FIG. 2, a DBSQL library 133, and an IPC processing unit 135.

이와 같은 구성에 있어서, DBSQL(Data Base Structured Query Language) 라이브러리(133)는 DB 서버(200)의 DB에 데이터를 등록, 삭제, 변경, 조회하고자 하는 각각의 상위 어플리케이션(APP1, APP2, APP3, …, APPn)으로부터 전달받은 DB 질의 메시지를 IPC 처리부(135)로 전달하고, IPC 처리부(135)를 통해 DB 서버(200)로부터 수행 결과 메시지를 수신하며, IPC 처리부(135)를 통해 DB 서버(200)로부터수신한 수행 결과 메시지를 분석하여 해당 상위 어플리케이션(APP1, APP2, APP3, …, APPn)으로 보내준다.In such a configuration, the DBSQL library 133 is configured to register, delete, change, and query data in the DB of the DB server 200, and the upper applications APP1, APP2, APP3,... , And transmits the DB query message received from APPn to the IPC processing unit 135, receives the execution result message from the DB server 200 through the IPC processing unit 135, and the DB server 200 through the IPC processing unit 135. Analyzes the execution result message received from) and sends it to the upper application (APP1, APP2, APP3,…, APPn).

전술한 바와 같은 동작을 수행하기 위해, DBSQL 라이브러리(133)는 DB를 사용하고자 하는 각각의 상위 어플리케이션(APP1, APP2, APP3, …, APPn)에서 DB에 데이터를 등록, 삭제, 변경, 조회하는 데 필요한 각각의 모듈을 제공하고, DB 서버(200)로부터 수행 결과를 수신한 데이터에 대해서 분석할 수 있도록 하는 모듈을 제공하며, 각각의 상위 어플리케이션(APP1, APP2, APP3, …, APPn)에서는 해당 상황에 맞는 모듈을 호출함으로써 간편하게 DB를 사용할 수 있게 된다.In order to perform the above-described operation, the DBSQL library 133 is used to register, delete, change, and query data in the DB in each of the upper applications APP1, APP2, APP3, ..., APPn to use the DB. Provides each module required, and provides a module that can analyze the data received from the DB server 200 to perform the results, each of the upper applications (APP1, APP2, APP3, ..., APPn) DB can be used simply by calling the appropriate module.

IPC 처리부(135)는 DBSQL 라이브러리(133)로부터 전달받은 DB 질의 메시지를 네트워크로 연결되어 있는 DB 서버(200)로 전송하고, DB 서버(200)로부터 전송받은 수행 결과 메시지를 DBSQL 라이브러리(133)로 전달한다.The IPC processing unit 135 transmits the DB query message received from the DBSQL library 133 to the DB server 200 connected to the network, and transmits the execution result message received from the DB server 200 to the DBSQL library 133. To pass.

도 4a 및 도 4b는 본 발명에 적용되는 메시지의 형식을 예시적으로 보인 도로, 도 4a는 DB 질의 메시지이고, 도 4b는 수행 결과 메시지이다.4A and 4B are roads illustrating the format of a message applied to the present invention. FIG. 4A is a DB query message, and FIG. 4B is a performance result message.

도 4a에 도시하는 바와 같이, 질의 메시지는 메시지 길이, 수신 어드레스, 송신 어드레스, 메시지 타입, 메시지 종류, 일련 번호, 매인 기능 코드, 보조 기능 코드, DB 질의 데이터를 포함하여 이루어지고, 도 4b에 도시하는 바와 같이, 수행 결과 메시지는 질의 메시지에 결과 데이터를 더 포함하여 이루어지는 데, 각각의 메시지는 1Kbyte를 넘을 수 없다. 따라서, DB 질의 메시지에 대한 수행 결과 데이터가 1Kbyte를 넘는 경우에는 데이터를 1Kbyte 단위 잘라서 제공한다.As shown in Fig. 4A, a query message includes a message length, a receiving address, a sending address, a message type, a message type, a serial number, a main function code, an auxiliary function code, and a DB query data, and is shown in Fig. 4B. As shown, the performance result message further includes the result data in the query message, and each message cannot exceed 1 Kbyte. Therefore, when the execution result data for the DB query message exceeds 1Kbyte, the data is cut and provided by 1Kbyte unit.

도 5는 본 발명에 적용되는 DB의 구성을 예시적으로 보이는 도로, DB는 사서함 번호, 비밀 번호, 하드 디스크 ID, PID(Processor ID) 등을 포함하여 이루어지며, 데이터 항목은 실시간 사서함 시스템(100)의 요구에 따라 추가 또는 삭제되는 데, 데이터 항목에 대한 추가 또는 삭제는 해당 항목에 대한 테이블의 추가 또는 삭제로 이루어진다.5 is a road showing an exemplary configuration of a DB applied to the present invention, the DB is made of a mailbox number, password, hard disk ID, PID (Processor ID), etc., the data items are real-time mailbox system 100 Are added or deleted as required), and the addition or deletion of a data item consists of the addition or deletion of a table for that item.

도 6은 본 발명에 따른 실시간 사서함 시스템의 DB 관리 방법을 설명하기 위한 플로우챠트이다.6 is a flowchart illustrating a DB management method of a real-time mailbox system according to the present invention.

우선, 운용자가 모든 사서함 번호에 대한 비밀 번호를 조회하고자 한다고 가정했을 경우에, 운용자는 입출력부(110)를 통해 모든 사서함 번호에 대한 비밀 번호를 조회한다는 질의어(예를 들어, SELECT PASSWORD FROM M_TBL WHERE ALL MAILBOX NUMBER)를 입력시키는 데, 입출력부(110)를 통해 운용자로부터 입력받은 질의어를 처리하는 상위 어플리케이션(125)은 DBSQL 라이브러리(133)를 호출하고, 호출한 DBSQL 라이브러리(133)로 운용자로부터 입력받은 질의어를 포함하는 DB 질의 메시지를 전송한다(S10, S12).First, assuming that the operator wants to look up the password for all mailbox numbers, the query query (for example, SELECT PASSWORD FROM M_TBL WHERE) In order to input ALL MAILBOX NUMBER, the upper application 125 processing the query received from the operator through the input / output unit 110 calls the DBSQL library 133 and inputs it from the operator into the called DBSQL library 133. The DB query message including the received query is transmitted (S10 and S12).

상위 어플리케이션(125)으로부터 DB 질의 메시지를 전송받은 DBSQL 라이브러리(133)는 상위 어플리케이션(125)으로부터 전송받은 DB 질의 메시지 중에서 헤더 부분을 읽어 소정 메모리 영역에 저장한 후, DB 질의 메시지를 IPC 처리부(135)로 인가한다(S14).The DBSQL library 133 that receives the DB query message from the upper application 125 reads the header part of the DB query message received from the upper application 125 and stores the header in a predetermined memory area, and then stores the DB query message in the IPC processing unit 135. (S14).

상기한 과정 S14에서 DB 질의 메시지를 인가받은 IPC 처리부(135)는 DB 서버(200)와의 연결 상태를 주기적으로 확인하면서 DBSQL 라이브러리(133)로부터 DB 질의 메시지를 인가받으면, DBSQL 라이브러리(133)로부터 인가받은 DB 질의 메시지를 DB 서버(200)로 전송한다(S16).The IPC processing unit 135 receiving the DB query message in step S14 periodically receives the DB query message from the DBSQL library 133 while checking the connection state with the DB server 200, and then receives the DB query message from the DBSQL library 133. The received DB query message is transmitted to the DB server 200 (S16).

상기한 과정 S16에서 실시간 사서함 시스템(100)으로부터 DB 질의 메시지를 전송받은 DB 서버(200)는, 실시간 사서함 시스템(100)으로부터 전송받은 DB 질의 메시지에 포함되어 있는 질의어를 분석하고, 분석된 질의 내용에 따라 DB에 데이터를 등록, 삭제, 변경 또는 조회한 후 그 수행 결과를 수행 결과 메시지에 포함시켜 실시간 사서함 시스템(100)으로 전송하는 데, 본 실시예에서는 DB 질의 메시지에 포함되어 있는 질의 내용이 DB에서 모든 사서함 번호에 대한 비밀 번호를 조회하라는 내용이므로, DB 서버(200)는 DB에서 모든 사서함 번호에 대한 비밀 번호를 조회하고, 조회 결과를 수행 결과 메시지에 포함시켜 실시간 사서함 시스템(100)으로 전송한다(S18, S20).The DB server 200 receiving the DB query message from the real-time mailbox system 100 in step S16, analyzes the query words included in the DB query message received from the real-time mailbox system 100, and analyzes the query contents. After registering, deleting, changing, or inquiring data in the DB according to the result, the result is included in the execution result message and transmitted to the real-time mailbox system 100. In this embodiment, the query contents included in the DB query message are Since the DB is to query passwords for all mailbox numbers, the DB server 200 queries the passwords for all mailbox numbers in the DB, and includes the query results in the result message to the real-time mailbox system 100. Transmit (S18, S20).

이후, DB 서버(200)로부터 수행 결과 메시지를 전송받은 IPC 처리부(135)는 DB 서버(200)로부터 전송받은 수행 결과 메시지를 DBSQL 라이브러리(133)로 인가하고, IPC 처리부(135)로부터 수행 결과 메시지를 인가받은 DBSQL 라이브러리(133)는 인가받은 수행 결과 메시지를 분석하여 그 값을 질의한 상위 어플리케이션(125)으로 전달한다(S22, S24).Thereafter, the IPC processing unit 135 receiving the execution result message from the DB server 200 authorizes the execution result message received from the DB server 200 to the DBSQL library 133 and performs the execution result message from the IPC processing unit 135. The authorized DBSQL library 133 analyzes the authorized performance result message and transmits the value to the higher-level application 125 that inquires the value (S22 and S24).

본 발명의 실시간 사서함 시스템의 DB 관리 장치 및 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수 있다.DB management apparatus and method of the real-time mailbox system of the present invention is not limited to the above-described embodiment can be implemented in various modifications within the scope of the technical idea of the present invention.

이상에서 설명한 바와 같은 본 발명의 실시간 사서함 시스템의 DB 관리 장치 및 방법에 따르면, 메시지를 통해 네트워크로 연결되어 있는 DB 서버로 질의어를 전송하고, DB 서버로부터 전송받은 수행 결과를 분석하여 해당 어플리케이션으로 보내줌으로써, 실시간 사서함 시스템이 DB 서버를 사용하여 데이터베이스를 관리할 수 있게 된다.According to the DB management apparatus and method of the real-time mailbox system of the present invention as described above, by sending a query to a DB server connected to the network via a message, and analyzes the performance results received from the DB server to send to the application By doing so, a real-time mailbox system can use a DB server to manage the database.

이에 따라, 데이터 관리를 DB 서버에서 수행하므로, 실시간 사서함 시스템의 제어부에서 데이터를 직접 관리하지 않아도 되며, 다양한 데이터 접근이 가능해지고, 데이터 항목의 추가 또는 삭제가 자유롭게 된다.Accordingly, since data management is performed by the DB server, it is not necessary to directly manage data in the control unit of the real-time mailbox system, various data accesses are possible, and data items can be added or deleted freely.

Claims (2)

실시간 사서함 시스템에 네트워크로 연결되어 실시간 사서함 시스템에서 필요로 하는 데이터를 데이터베이스로 관리하는 DB 서버와;A DB server connected to a network with a real-time mailbox system and managing data required by the real-time mailbox system as a database; 상기 실시간 사서함 시스템의 제어부에 구현되어 소정의 메시지를 통해 상기 DB 서버로 데이터 관리를 요구하되, 상위 어플리케이션에 의해 호출되어 상기 데이터베이스에 데이터를 등록, 삭제, 변경, 조회하는 기능을 제공하며, 상기 DB 서버로부터 전송받은 결과 메시지를 분석하여 상기 상위 어플리케이션으로 전달하는 DBSQL 라이브러리와, 상기 DBSQL 라이브러리로부터 인가받은 질의 메시지를 상기 DB 서버로 전송하고, 상기 DB 서버로부터 전송받은 결과 메시지를 상기 DBSQL 라이브러리로 인가하는 IPC 처리부를 구비하여 이루어지는 DB 클라이언트를 구비하여 이루어지는 실시간 시스템의 데이터베이스 관리 장치.Implemented in the control unit of the real-time mailbox system to request data management to the DB server through a predetermined message, and is called by a higher application to provide a function to register, delete, change, query the data in the database, the DB Analyzing the result message received from the server to the DBSQL library to deliver to the upper application, the query message authorized from the DBSQL library to the DB server, and authorizes the result message received from the DB server to the DBSQL library An apparatus for managing a database of a real time system, comprising a DB client including an IPC processing unit. 입출력부를 통해 운용자로부터 입력받은 질의어를 처리하는 어플리케이션이 DBSQL 라이브러리를 호출하고, 상기 호출된 DBSQL 라이브러리로 상기 질의어를 포함하는 질의 메시지를 전송하는 과정과;An application processing a query received from an operator through an input / output unit, calling a DBSQL library, and transmitting a query message including the query to the called DBSQL library; 상기 DBSQL 라이브러리에서 상기 전송받은 질의 메시지를 IPC 처리부로 인가하는 과정과;Authorizing the received query message from the DBSQL library to an IPC processing unit; 상기 IPC 처리부에서 상기 인가받은 질의 메시지를 DB 서버로 전송하는 과정과;Transmitting, by the IPC processing unit, the authorized query message to a DB server; 상기 DB 서버에서 상기 전송받은 질의 메시지에 포함되어 있는 질의어를 분석하고, 분석된 질의 내용에 따라 데이터베이스 데이터를 등록, 삭제, 변경 또는 조회한 후, 수행 결과를 수행 결과 메시지에 포함시켜 상기 IPC 처리부로 전송하는 과정과;The DB server analyzes the query word included in the received query message, registers, deletes, changes or inquires database data according to the analyzed query content, and then includes the execution result in the execution result message to the IPC processing unit. Transmitting; 상기 IPC 처리부에서 상기 DB 서버로부터 전송받은 수행 결과 메시지를 상기 DBSQL 라이브러리로 인가하는 과정과;Authorizing, by the IPC processing unit, the execution result message received from the DB server to the DBSQL library; 상기 DBSQL 라이브러이에서 상기 IPC 처리부로부터 인가받은 수행 결과 메시지를 분석하여 상기 어플리케이션으로 전달하는 과정을 포함하여 이루어지는 실시간 사서함 시스템의 데이터베이스 관리 방법.And analyzing and transmitting the resultant message received from the IPC processing unit to the application in the DBSQL library.
KR1020010066664A 2001-10-29 2001-10-29 Database Management Apparatus and Method of Real-Time Mail-Box System KR20030034872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010066664A KR20030034872A (en) 2001-10-29 2001-10-29 Database Management Apparatus and Method of Real-Time Mail-Box System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010066664A KR20030034872A (en) 2001-10-29 2001-10-29 Database Management Apparatus and Method of Real-Time Mail-Box System

Publications (1)

Publication Number Publication Date
KR20030034872A true KR20030034872A (en) 2003-05-09

Family

ID=29566751

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010066664A KR20030034872A (en) 2001-10-29 2001-10-29 Database Management Apparatus and Method of Real-Time Mail-Box System

Country Status (1)

Country Link
KR (1) KR20030034872A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5765028A (en) * 1996-05-07 1998-06-09 Ncr Corporation Method and apparatus for providing neural intelligence to a mail query agent in an online analytical processing system
US5794039A (en) * 1996-12-18 1998-08-11 Unisys Corp. Method for abstracting messages of various protocols into objects for storage in a database
US5826269A (en) * 1995-06-21 1998-10-20 Microsoft Corporation Electronic mail interface for a network server
JP2001274841A (en) * 2000-02-24 2001-10-05 Internatl Business Mach Corp <Ibm> Database synchronization for portable computing device
KR20020006760A (en) * 2000-07-13 2002-01-26 염동일 Order and Printing Method for Printed Matter on Internet
KR20020015605A (en) * 2000-08-22 2002-02-28 우진호 Method and system for providing an individual post-office box service using ums, cti and internet
KR20020071663A (en) * 2001-03-07 2002-09-13 조병철 Method and Apparatus for the mail delivery service on the internet

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826269A (en) * 1995-06-21 1998-10-20 Microsoft Corporation Electronic mail interface for a network server
US5765028A (en) * 1996-05-07 1998-06-09 Ncr Corporation Method and apparatus for providing neural intelligence to a mail query agent in an online analytical processing system
US5794039A (en) * 1996-12-18 1998-08-11 Unisys Corp. Method for abstracting messages of various protocols into objects for storage in a database
JP2001274841A (en) * 2000-02-24 2001-10-05 Internatl Business Mach Corp <Ibm> Database synchronization for portable computing device
KR20020006760A (en) * 2000-07-13 2002-01-26 염동일 Order and Printing Method for Printed Matter on Internet
KR20020015605A (en) * 2000-08-22 2002-02-28 우진호 Method and system for providing an individual post-office box service using ums, cti and internet
KR20020071663A (en) * 2001-03-07 2002-09-13 조병철 Method and Apparatus for the mail delivery service on the internet

Similar Documents

Publication Publication Date Title
US6460041B2 (en) Browser-based database-access engine apparatus and method
US6636875B1 (en) System and method for synchronizing related data elements in disparate storage systems
KR101422859B1 (en) Permission-based document server
US8600363B2 (en) Synchronization in unified messaging systems
US8090693B2 (en) System, method, and article of manufacture for maintaining and accessing a whois database
US8024306B2 (en) Hash-based access to resources in a data processing network
US7243136B2 (en) Approach for managing and providing content to users
US20080077997A1 (en) Server and control method for managing permission setting of personal information disclosure
US7526482B2 (en) System and method for enabling components on arbitrary networks to communicate
US20040123242A1 (en) Context instantiated application protocol
US6751618B1 (en) Method and apparatus for a web application server to upload multiple files and invoke a script to use the files in a single browser request
JPH11331245A (en) Network directory access mechanism and method therefor
JP2001282594A (en) Corporate work integration system and method for integrating a plurality of data sources
US6467029B1 (en) Data management apparatus and a data management method
JPH06162086A (en) Method and device for controlling remote data base
JP2004086299A (en) Data operation perpetuating method in transaction processing system, and data operation program to remote database
US6199111B1 (en) Client-led network computing system and its method
JP2001244989A (en) Method and device for settling network address and data base
US20070250594A1 (en) File sharing method and file sharing system
JPH11272683A (en) Retrieval processor and storage medium
KR20030004475A (en) System to cut children off from harmfum Internet sites and to search the Internet sites
KR20010107803A (en) P2P basis integration information supply method
KR20030034872A (en) Database Management Apparatus and Method of Real-Time Mail-Box System
CN114116651A (en) System and method for supporting multi-protocol unified management user to access files
JPH10254890A (en) Access system to various kinds of services using network

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application