[go: up one dir, main page]

JPH1139201A - Data base processing system - Google Patents

Data base processing system

Info

Publication number
JPH1139201A
JPH1139201A JP9207265A JP20726597A JPH1139201A JP H1139201 A JPH1139201 A JP H1139201A JP 9207265 A JP9207265 A JP 9207265A JP 20726597 A JP20726597 A JP 20726597A JP H1139201 A JPH1139201 A JP H1139201A
Authority
JP
Japan
Prior art keywords
database
processing
data
program
access module
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP9207265A
Other languages
Japanese (ja)
Inventor
Seikichi Suganuma
清吉 菅沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
B S S KK
Original Assignee
B S S KK
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 B S S KK filed Critical B S S KK
Priority to JP9207265A priority Critical patent/JPH1139201A/en
Publication of JPH1139201A publication Critical patent/JPH1139201A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable a processing program for affairs to make data processing requests for a plurality of data bases without using the data processing requesting procedures of the data bases and, at the same time, to easily make the preparation, addition, change, etc., of the program. SOLUTION: DB(data base) access modules 3 (13) which output the data processing requesting information of data bases 5 (15) to DB processing programs 4 (14) are provided respectively correspondingly to the data bases 5 (15) and a DB access management program 2 which selects the DB access module 3 (or 13) corresponding to one of the data bases to be processed from the data processing requesting information of the data bases inputted from a processing program 1 for affairs and outputs the processing requesting information to the selected module is provided. Therefore, the processing program 1 for affairs can make data processing requests for the data bases 5 (15).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、人材管理、経理処
理管理などの各種業務処理を行う業務処理用プログラム
から、複数のデータベースの各種データ処理における方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for various data processing of a plurality of databases from a business processing program for performing various business processes such as personnel management and accounting processing management.

【0002】[0002]

【従来の技術】従来、人材管理、経理処理管理など各種
業務処理を行うアプリケーションプログラム(以下「業
務処理用プログラム」という)から、データベースに対
しデータの参照・追加・更新・削除などの処理を行う際
に、前記業務処理用プログラムはデータベース専用に用
意されたデータベース処理用アプリケーションプログラ
ム(以下「DB処理用プログラム」という)に対し前記
処理要求を行うが、複数のデータベースが存在する場
合、データベースの形式(「オラクル」形式、「DB
2」形式等)やそのデータの内容・形式、DB処理用プ
ログラム等の違いにより、業務処理用プログラムの1つ
の処理要求方法で、前記複数のデータベースに対して、
前記の各種処理要求を行うことはできず、各々データベ
ース毎に対応した複数の処理要求方法を、業務処理用プ
ログラム内に複数の手順として組み込み、各データベー
スに対して順次データ処理要求手順を選択しながらそれ
を実行する必要があった。
2. Description of the Related Art Conventionally, application programs (hereinafter referred to as "business processing programs") for performing various business processes such as human resource management and accounting processing management perform processes such as data reference, addition, update, and deletion to a database. At this time, the business processing program makes a processing request to a database processing application program (hereinafter, referred to as a “DB processing program”) prepared exclusively for a database. ("Oracle" format, "DB
2 "format), the content and format of the data, and the DB processing program, etc., and a single processing request method of the business processing program is used for the plurality of databases.
The above-mentioned various processing requests cannot be made, and a plurality of processing request methods corresponding to each database are incorporated as a plurality of procedures in the business processing program, and the data processing request procedure is sequentially selected for each database. While having to do it.

【0003】よって、複数のデータベース内のデータの
参照・追加・更新・削除などの処理を行う場合は、各々
のデータベースに対応した複数の処理要求手順を駆使す
ると同時に、これら業務処理プログラムを作成する場合
においては、全ての業務処理プログラムにそれら複数の
処理要求手順とそれらを選択する手順を前記業務処理プ
ログラム中に組み込む必要があることから、プログラム
全体が大きいものになってしまうとともにその作成作業
に多大な労力を要するという問題点があった。
Therefore, when performing processing such as reference, addition, update, and deletion of data in a plurality of databases, a plurality of processing request procedures corresponding to each database are used, and at the same time, these business processing programs are created. In such a case, it is necessary to incorporate the plurality of processing request procedures and the procedure for selecting them into all the business processing programs in the business processing program. There was a problem that a great deal of labor was required.

【0004】また、既存のシステム中のデータベース群
に追加・変更が生じ、この追加・変更に対応したシステ
ムの再構築を行う場合には、該追加・変更のデータベー
スに関わる業務処理用プログラムに前記追加・変更に対
応して処理要求手順を追加、修正する必要があり、膨大
な量の修正作業が必要であるとともに、既存システムの
追加・変更の必要のない部分への影響を確認する必要性
も生じた。
[0004] In addition, when a database group in an existing system is added or changed, and a system corresponding to the addition or change is rebuilt, a business processing program related to the added or changed database is added to the database. It is necessary to add and modify the processing request procedure in response to additions and changes, and it is necessary to perform a huge amount of correction work, and also to check the impact on parts of the existing system that do not need to be added or changed Also occurred.

【0005】さらに、例えばクライアント−サーバシス
テムにおいて、クライアントコンピュータに設けられた
業務処理プログラムが、サーバコンピュータに設けられ
た複数のデータベースのデータ処理要求を通信手段で行
う場合には、各々のデータ処理要求が各々の手順で順次
通信されながら行われるが、該通信の遮断等障害が起き
た場合には、要求された処理が完全に実行されずに、各
データベースのデータの整合性が崩れるといった問題も
生じることから、その整合性を回復するためのプログラ
ムが別途システムに必要となった。
Further, for example, in a client-server system, when a business processing program provided in a client computer requests data processing of a plurality of databases provided in a server computer by communication means, each data processing request Is performed while sequentially performing communication in each procedure. However, when a failure such as interruption of the communication occurs, there is also a problem that the requested processing is not completely executed and data consistency of each database is lost. As a result, a separate program for restoring the consistency was required for the system.

【0006】[0006]

【発明が解決しようとする課題】本発明は、上記問題に
対し、各々の業務処理用プログラム中に複数のデータベ
ースのデータ処理要求手順を組み込む必要がなく、業務
処理プログラムが複雑な手順を要せず複数のデータベー
スのデータ処理要求を行うことができるとともに、容易
に業務処理用プログラムの作成や追加、変更等ができ、
データベースが追加、変更されても、既存システム全体
に影響を及ぼさず容易にシステムの再構築ができる、デ
ータベースの処理方式を提供することを目的とする。
SUMMARY OF THE INVENTION According to the present invention, it is not necessary to incorporate a data processing request procedure for a plurality of databases into each business processing program, and the business processing program requires complicated procedures. Can make data processing requests for multiple databases, and can easily create, add, and modify business processing programs.
It is an object of the present invention to provide a database processing method capable of easily reconfiguring a system without affecting the entire existing system even when a database is added or changed.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明によるデータベースの処理方式は、業務処理
用プログラムが複数のデータベースの各データの参照・
追加・更新・削除などの各種処理要求情報を出力し、前
記データベース専用のDB処理用プログラムが前記各種
処理を実行するデータベース処理方式において、DB処
理用プログラムに対し、データベースのデータの各種処
理要求情報を出力するDBアクセスモジュールを各デー
タベースに対応して各々設け、業務処理用プログラムか
ら入力したデータベースのデータの各種処理要求情報か
ら、処理対象のデータベースに対応したDBアクセスモ
ジュールを選定し、該モジュールに対し前記処理要求情
報を出力するDBアクセス管理プログラムを設け、業務
処理プログラムが、前記DBアクセス管理プログラムと
前記DBアクセスモジュールを介してDB処理用プログ
ラムに対し、データベースのデータ処理要求情報を出力
することを特徴としている。この特徴によれば、各々の
業務処理用プログラム中に複数のデータベースのデータ
処理要求手順を組み込む必要がなく、業務処理プログラ
ムが余分な負荷無く複数のデータベースのデータ処理要
求を行うことができるとともに、容易に業務処理用プロ
グラムの作成や追加、変更等ができ、データベースが追
加、変更されても、容易にシステムの再構築ができる。
In order to solve the above problems, a database processing method according to the present invention is characterized in that a business processing program refers to each data of a plurality of databases.
In a database processing method in which various processing request information such as addition, update, and deletion is output, and the database processing program dedicated to the database executes the various processing, various processing request information of database data is provided to the DB processing program. Is provided for each database, and a DB access module corresponding to the database to be processed is selected from various types of processing request information of database data input from the business processing program, and Providing a DB access management program for outputting the processing request information, wherein the business processing program outputs data processing request information of a database to the DB processing program via the DB access management program and the DB access module. Features To have. According to this feature, it is not necessary to incorporate a data processing request procedure for a plurality of databases in each business processing program, and the business processing program can make a data processing request for a plurality of databases without unnecessary load. A business processing program can be easily created, added, changed, etc., and even if a database is added or changed, the system can be easily reconfigured.

【0008】また、本発明によるデータベースの処理方
式は、少なくとも一つのサーバ機能を有するサーバコン
ピュータと少なくとも一つのクライアントコンピュータ
とを通信手段にて接続し、前記サーバコンピュータとク
ライアントコンピュータとの間において、前記クライア
ントコンピュータよりのデータの参照・追加・更新・削
除などの各種処理要求に基づいて、前記サーバコンピュ
ータにてこの要求された各種処理を実施し、その処理結
果を前記クライアントコンピュータに返送するクライア
ント・サーバシステムにおいて、前記業務処理用プログ
ラムが前記クライアントコンピュータ内に設けられ、前
記データベース、DB処理用プログラム、DBアクセス
モジュールおよびDBアクセス管理プログラムが前記サ
ーバコンピュータ内に設けられ、前記二つのコンピュー
タ間の通信手段を用いて、前記業務処理用プログラムが
前記DBアクセス管理プログラムに、前記データベース
のデータ処理要求情報を送信するようにされていること
が望ましい。このようにすれば、クライアント・サーバ
システムにおいて複数のデータベースのデータ処理を行
う場合において、クライアントコンピュータ側の業務処
理用プログラムからサーバコンピュータ側のDBアクセ
ス管理プログラムに、複数のデータベースのデータ処理
要求情報を一度に送信することで前記要求が実行できる
ことから、従来の、クライアントコンピュータとサーバ
コンピュータ間の通信上で通信の遮断等障害が起きた場
合に、要求された処理が完全に実行されずに、各データ
ベースのデータの不整合が生じるといった問題が解消さ
れる。
[0008] In a database processing method according to the present invention, a server computer having at least one server function and at least one client computer are connected by communication means, and the server computer and the client computer communicate with each other. A client / server that executes various requested processes in the server computer based on various processing requests such as data reference / addition / update / deletion from a client computer and returns the processing results to the client computer. In the system, the business processing program is provided in the client computer, and the database, the DB processing program, the DB access module, and the DB access management program are stored in the server computer. Provided, using the means of communication between the two computers, the work processing program is the DB access management program, it is desirable that is adapted to transmit the data processing request information in the database. With this configuration, when performing data processing of a plurality of databases in the client-server system, the data processing request information of the plurality of databases is transmitted from the business processing program on the client computer side to the DB access management program on the server computer side. Since the request can be executed by transmitting at one time, when a failure such as communication interruption occurs in communication between the client computer and the server computer, the requested processing is not completely executed, and The problem of inconsistency of data in the database is solved.

【0009】また、本発明によるデータベースの処理方
式は、前記のDBアクセス管理プログラムがDBアクセ
スモジュールを選定する際に、各データベースと各DB
アクセスモジュールの対応付けを記憶した対応付ファイ
ルを用いるようにされていることが望ましい。このよう
にすれば、既存のシステムのデータベース群に追加・変
更が生じた場合でも、前記DBアクセス管理プログラム
を修正する必要がなく、前記対応付ファイルを修正する
ことで対応できる。
Further, the database processing method according to the present invention is characterized in that when the DB access management program selects a DB access module, each database and each DB
It is desirable to use an association file storing the association of the access modules. In this way, even if an addition or change occurs to the database group of the existing system, it is not necessary to modify the DB access management program, and it can be dealt with by modifying the association file.

【0010】また、本発明によるデータベースの処理方
式は、既存のデータベースの形式を変更して新規のデー
タベースを構築した場合において、前記新規データベー
ス用のDBアクセスモジュールを作成する際に、前記既
存データベース用のDBアクセスモジュールの処理関数
を前記新規のデータベース形式の処理関数に変換するこ
とで、前記新規のDBアクセスモジュールを作成するよ
うにされていることが望ましい。このようにすれば、所
定のデータベースの形式が変更になっても、DBアクセ
スモジュールの変更作業は最小限に抑えられる。また新
たな形式のデータベースを追加構築する場合にも、DB
アクセスモジュールの新規作成作業は最小限に抑えられ
る。
The database processing method according to the present invention is characterized in that, when a new database is constructed by changing the format of an existing database, when the DB access module for the new database is created, It is preferable that the new DB access module is created by converting the processing function of the new DB access module into the new database format processing function. In this way, even if the format of the predetermined database is changed, the work of changing the DB access module can be minimized. In addition, when constructing a database in a new format,
Creation of a new access module is minimized.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施例を図により
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings.

【0012】まず、個人データの参照・検索処理におけ
る実施例1を図1により説明する。
First, a first embodiment of the personal data reference / search processing will be described with reference to FIG.

【0013】従業員や顧客、モニター等の個人データを
参照・検索等処理する業務処理用プログラム1は、使用
者からの依頼により、従業員データベース5の使用の開
始をDBアクセス管理プログラム2に要求する。該要求
は、(1)データベースの番号と(2)処理の種類(す
なわちここでは使用開始)からなる情報を送ることで行
われる。(S1) DBアクセス管理プログラム2は、業務処理用プログラ
ム1から得た(1)データベース番号から従業員データ
ベース5に対応したDBアクセスモジュール3を選定
し、該モジュールに(1)データベース番号と(2)処
理の種類(すなわちここでは使用開始)を送る。(S
2) DBアクセスモジュール3は、従業員データベース5の
形式およびそのデータの内容・形式や該データベース専
用のDB処理用プログラム4の処理関数に対応した処理
要求方法で、受け取った処理の種類に応じた処理(すな
わちここではデータベース使用開始)を依頼し(S
3)、DB処理用プログラム4が従業員データベース5
の使用開始を実行する。
A business processing program 1 for referring to and searching for personal data of employees, customers, monitors, etc., requests the DB access management program 2 to start using the employee database 5 at the request of the user. I do. The request is made by sending information including (1) a database number and (2) a type of processing (in this case, use start). (S1) The DB access management program 2 selects the DB access module 3 corresponding to the employee database 5 from the (1) database number obtained from the business processing program 1, and assigns (1) the database number and (2) to the module. ) Send the type of process (ie, start use here). (S
2) The DB access module 3 is a processing request method corresponding to the format of the employee database 5, the content and format of the data, and the processing function of the DB processing program 4 dedicated to the database, and according to the type of processing received. Request processing (that is, start using the database here) (S
3) The DB processing program 4 is an employee database 5
Execute the activation of.

【0014】引き続き使用者は、従業員Aデータの検索
を、モニタ画面6の入力欄に従業員Aの名前を入力して
要求する。業務処理用プログラム1は、前記データの検
索処理における従業員データベース5へのアクセスを前
記した手順(S1、2、3)で行うが、この際、DBア
クセス管理プログラム2は、前記した(1)(2)のデ
ータの他(3)従業員Aの番号を前記業務処理プログラ
ム1より受け取り、DBアクセスモジュール3に送る。
DBアクセスモジュール3はDB処理用プログラム4
に、受け取った(2)処理の種類に応じて処理(すなわ
ちここではデータ検索)を依頼するとともに(3)従業
員Aの番号を送り、DB処理用プログラム4は従業員デ
ータベース5において従業員Aのデータ検索を実行す
る。
Subsequently, the user requests the retrieval of the employee A data by inputting the name of the employee A in the input field of the monitor screen 6. The business processing program 1 performs access to the employee database 5 in the above-described procedure (S1, 2, 3) in the data search processing. At this time, the DB access management program 2 performs the above-described (1) In addition to the data of (2), (3) the number of the employee A is received from the business processing program 1 and sent to the DB access module 3.
The DB access module 3 is a DB processing program 4
To the received (2) processing (that is, data retrieval in this case) according to the type of processing received, and (3) the number of the employee A is sent. Perform a data search for.

【0015】検索されたデータはDB処理用プログラム
4から、DBアクセスモジュール3、DBアクセス管理
プログラム2を通して業務処理用プログラム1に返され
(S4〜6)、業務処理用プログラム1は前記検索デー
タをモニタ画面6に表示し、使用者は参照する。
The searched data is returned from the DB processing program 4 to the business processing program 1 through the DB access module 3 and the DB access management program 2 (S4 to S6). It is displayed on the monitor screen 6 and the user refers to it.

【0016】次に、従業員Aのデータから従業員Aの担
当である顧客Bのデータを、業務処理用プログラム1に
より検索するが、前記手順と同様に、DBアクセス管理
プログラム2を使用し、まず顧客データベース15対応
のDBアクセスモジュール13を選定を行い、DBアク
セスモジュール13は、顧客データベース15の形式お
よびそのデータの内容・形式や該データベース専用のD
B処理用プログラム14の処理関数に対応した処理要求
方法で、受け取った処理の種類に応じた処理(すなわち
ここではデータベース使用開始およびデータ検索)をD
B処理用プログラム14に依頼し、顧客データベース1
5の使用開始およびデータ検索を行う。
Next, the data of the employee B is searched for the data of the customer B who is in charge of the employee A from the data of the employee A, using the DB access management program 2 in the same manner as described above. First, the DB access module 13 corresponding to the customer database 15 is selected, and the DB access module 13 determines the format of the customer database 15, the content and format of the data, and the D dedicated to the database.
In the processing request method corresponding to the processing function of the processing program B, the processing according to the type of the received processing (that is, the start of database use and the data search in this case) is performed by D
B processing program 14 and the customer database 1
5 and a data search is performed.

【0017】このとき、前記従業員データベース5と顧
客データベース15の形式、そのデータの内容や形式
や、DB処理用プログラム(処理関数)の違いは、すべ
てDBアクセス管理プログラム2ならびにDBアクセス
モジュール3および13で吸収するため、業務処理用プ
ログラムの各個人データベースへのデータ処理要求はそ
の種類を問わず、上記した簡易な方法で行うことができ
る。
At this time, the formats of the employee database 5 and the customer database 15, the contents and formats of the data, and the differences between the DB processing programs (processing functions) are all different in the DB access management program 2, the DB access module 3, Therefore, the data processing request to each personal database of the business processing program can be performed by the above-described simple method regardless of the type.

【0018】次に実施例2を図2により説明する。Next, a second embodiment will be described with reference to FIG.

【0019】前記実施例1に引き続き、商品納入処理業
務を行うとともにそれに関わる商品在庫、顧客、担当従
業員等のデータベースのデータを追加、更新等する業務
処理用プログラム11は、ある担当者の依頼で商品の顧
客への納入指定を運送部門に対し行うが、この際運送部
門に対して納入商品とその個数、納入先である顧客、納
入場所、納入日・時間等を伝達するとともに、該商品の
在庫数更新を商品データベース25に、該顧客への納品
額等の追加を顧客データベース15に、また該担当者の
売上実績等の追加を従業員データベース5に対しそれぞ
れ行う。以上の処理における手順は以下のようになる。
Following the first embodiment, a business processing program 11 for performing a product delivery processing business and adding / updating data of a database relating to the product inventory, customers, employees in charge, etc., according to a request from a person in charge In order to specify the delivery of the product to the customer in the transportation department, the delivery department and the number of the delivered product, the customer, the delivery location, the delivery date and time, etc. are notified to the transportation department, Is added to the product database 25, the amount of delivery to the customer is added to the customer database 15, and the sales performance of the person in charge is added to the employee database 5. The procedure in the above processing is as follows.

【0020】まず商品納入処理を行う使用者は、業務処
理用プログラム11による、モニタ画面6の入力欄にお
いて、商品Dの番号、該商品個数、納入先である顧客E
の氏名または番号、納入場所、納入日・時間、担当者C
の氏名または番号を入力する。
First, the user who performs the product delivery process inputs the number of the product D, the number of the products, and the customer E who is the delivery destination in the input fields of the monitor screen 6 by the business processing program 11.
Name or number, delivery place, delivery date / time, person in charge C
Enter your name or number.

【0021】業務処理用プログラム11は、入力された
内容に応じて、運送部門のコンピュータ7に対して納入
商品である商品Dおよびその個数、納入先である顧客
E、納入場所、納入日・時間等の情報を送信するととも
に、(1)商品データベース25の番号と、該データベ
ース使用開始命令、商品検索命令および商品在庫数の減
算更新命令と、商品Dの番号、商品Dの納入個数、
(2)顧客データベース15の番号と、顧客検索命令お
よび顧客納入実績の追加命令と、顧客Eの番号、商品D
の納入金額および納入日、(3)従業員データベース5
の番号と、従業員検索命令および従業員売上実績の追加
命令と、担当者Cの番号、売先である顧客Eの氏名、商
品Dの売上金額および納入日、からなる情報を、それぞ
れグループ化して、DBアクセス管理プログラム2に送
る。
The business processing program 11 sends, to the computer 7 in the transportation department, the goods D as the goods to be delivered and the number of the goods, the customer E as the delivery destination, the delivery place, the delivery date / time in accordance with the input contents. (1) the number of the product database 25, a command to start using the database, a product search command, and a command to update the product stock quantity subtraction, a product D number, the number of products D delivered,
(2) Customer database 15 number, customer search command and customer delivery record additional command, customer E number, product D
(3) Employee database 5
And information including an employee search instruction and an employee sales result additional instruction, a person in charge C, a name of a customer E who is a seller, a sales amount of a product D, and a delivery date. To the DB access management program 2.

【0022】DBアクセス管理プログラム2は、受け取
った前記(1)の情報からまず商品データベース25に
対応したDBアクセスモジュール23を選定し、該DB
アクセスモジュールに対し、データベース使用開始命
令、商品検索命令および商品在庫数の減算更新命令と、
商品Dの番号、商品Dの納入個数からなる情報(1−
2)を送る。
The DB access management program 2 first selects a DB access module 23 corresponding to the product database 25 from the received information (1),
For the access module, a database use start command, a product search command, a product stock quantity subtraction update command,
Information consisting of the number of product D and the number of products D delivered (1-
Send 2).

【0023】続いて同様にDBアクセス管理プログラム
2は、受け取った前記(2)の情報から顧客データベー
ス10に対応したDBアクセスモジュール13を選定
し、顧客検索命令および顧客納入実績の追加命令と、顧
客Eの番号、商品Dの納入金額および納入日からなる情
報(2−2)を送り、また前記(3)の情報から従業員
データベース5に対応したDBアクセスモジュール3を
選定し、従業員検索命令および従業員売上実績の追加命
令と、担当者Cの番号、売先である顧客Eの氏名、商品
Dの売上金額および納入日からなる情報(3−2)を送
る。
Subsequently, similarly, the DB access management program 2 selects the DB access module 13 corresponding to the customer database 10 from the received information of (2), and outputs a customer search command and a customer delivery record additional command, The information (2-2) including the number of E, the delivery amount of the product D, and the delivery date is sent, and the DB access module 3 corresponding to the employee database 5 is selected from the information of (3), and an employee search instruction is sent. And an instruction to add an employee sales record and information (3-2) including the number of the person in charge C, the name of the customer E who is the seller, the sales amount of the product D, and the delivery date.

【0024】前記情報(1−2)を受け取ったDBアク
セスモジュール23は、商品データベース25専用のD
B処理用プログラム24に対し、商品データベース25
の形式およびそのデータの内容・形式や該データベース
専用のDB処理用プログラム24の処理関数に対応した
処理要求方法で、商品データベース使用開始を依頼した
後、商品Dの番号および納入個数の情報を渡して商品D
データの検索および商品Dの在庫数の減算更新を依頼す
る。そしてDB処理用プログラム24は、商品データベ
ース25の使用を開始した後、商品データベース25内
の商品Dデータを検索し、該データ内の既存在庫数から
納入個数を差し引いて商品Dの在庫数を更新する。
When the DB access module 23 receives the information (1-2), the DB access module 23
Product database 25 for B processing program 24
After requesting the start of use of the product database by the processing request method corresponding to the format and the content and format of the data and the processing function of the DB processing program 24 dedicated to the database, the information of the number of the product D and the number of delivered items are passed. Product D
A request is made to search for data and to subtract and update the stock quantity of the product D. Then, after starting to use the product database 25, the DB processing program 24 searches the product D data in the product database 25, and updates the stock quantity of the product D by subtracting the delivery quantity from the existing stock quantity in the data. I do.

【0025】同様に前記情報(2−2)を受け取ったD
Bアクセスモジュール13は、顧客データベース15専
用のデータ処理プログラム14に対し、顧客Eの番号、
納入金額および納入日の情報を渡して、顧客Eデータの
検索および顧客納入実績の追加を依頼する。そしてデー
タ処理プログラム14は顧客データベース15内の顧客
Eのデータを検索し、該データ内の納入日および納入金
額からなる顧客Eの納入実績データを追加する。また、
前記情報(3−2)を受け取ったDBアクセスモジュー
ル3は、従業員データベース5専用のデータ処理プログ
ラム4に対し、担当者Cの番号、納売上金額および納入
日、顧客の情報を渡して、担当者Cデータの検索および
従業員売上実績の追加を依頼する。そしてデータ処理プ
ログラム4は従業員データベース5内の担当者Cデータ
を検索し、該データ内の納入日、売上金額および売先で
ある顧客Eの氏名からなる担当者Cの売上実績データを
追加する。
Similarly, D which receives the information (2-2)
The B access module 13 sends the customer E number,
The information on the delivery amount and delivery date is passed, and a request is made to search for customer E data and to add customer delivery results. Then, the data processing program 14 searches the data of the customer E in the customer database 15 and adds the delivery result data of the customer E including the delivery date and the delivery amount in the data. Also,
The DB access module 3 having received the information (3-2) passes the number of the person in charge C, the amount of sales and payment, and the date of delivery to the data processing program 4 dedicated to the employee database 5, and A request is made to search for person C data and to add employee sales results. Then, the data processing program 4 searches the employee C data in the employee database 5 and adds the sales result data of the employee C including the delivery date, the sales amount, and the name of the customer E who is the seller in the data. .

【0026】以上のように、業務処理用プログラム11
は、DBアクセス管理プログラム2ならびにDBアクセ
スモジュール3、13および23を使用することで、デ
ータベースの種類は問わず1つの簡易な手順で、従業員
データベース5、顧客データベース15および商品デー
タベース25に対する各データの追加、更新等の処理要
求を実行できる。
As described above, the business processing program 11
Uses the DB access management program 2 and the DB access modules 3, 13 and 23 to execute the data processing for the employee database 5, customer database 15 and product database 25 in one simple procedure regardless of the type of database. Processing requests, such as addition and updating of a file.

【0027】図3は、以上の実施例2における一連の手
順がクライアント・サーバシステムにおいて行われた場
合の実施例3を示すものであるが、業務処理の担当者は
前記要求を、クライアントコンピュータ8の業務処理プ
ログラム11を利用して、サーバコンピュータ18のD
Bアクセス管理プログラム2に送信して行い、以降は前
記した手順で処理が行われる。
FIG. 3 shows a third embodiment in which a series of procedures in the second embodiment is performed in a client-server system. A person in charge of business processing sends the request to the client computer 8. Of the server computer 18 using the business processing program 11
The program is transmitted to the B access management program 2, and thereafter, the processing is performed according to the above-described procedure.

【0028】従来の方式では、複数のデータベースへの
データ更新等の処理要求をデータベース毎に各々の処理
要求方法を用いて、クライアントコンピュータ8からサ
ーバコンピュータ18へ順次通信して行っていたが、そ
の途中で該クライアント−サーバ間の通信に障害があっ
た場合、各々のデータベースのデータに不整合が生じる
ことがあり、その修正作業や整合性を回復するためのプ
ログラムが別途必要であった。しかし、本方式による
と、クライアントコンピュータ8からサーバコンピュー
タ18への複数のデータベースのデータ更新等の処理要
求を簡潔に送信することができ、以降はサーバコンピュ
ータ18内ですべて処理することができることから、上
記理由による各データベースの不整合への対応が必要な
い。
In the conventional method, processing requests such as updating data to a plurality of databases are sequentially communicated from the client computer 8 to the server computer 18 by using a processing request method for each database. If communication between the client and the server is interrupted on the way, inconsistency may occur in the data of each database, and a program for correcting the inconsistency and restoring the consistency is required separately. However, according to this method, it is possible to simply transmit a processing request such as data update of a plurality of databases from the client computer 8 to the server computer 18, and thereafter, all processing requests can be processed in the server computer 18. There is no need to deal with inconsistencies in each database due to the above reasons.

【0029】尚、前記DBアクセス管理プログラムによ
るDBアクセスモジュールの選定は、図4で示すよう
に、各データベースと各DBアクセスモジュールの対応
付けを記憶した対応付ファイル30を参照して行われる
ことが望ましい。図5は参照ファイル30の各データベ
ース番号と各DBアクセスモジュール番号の対応付けの
一例を示したものである。
The selection of a DB access module by the DB access management program may be performed with reference to an association file 30 storing association between each database and each DB access module as shown in FIG. desirable. FIG. 5 shows an example of the correspondence between each database number of the reference file 30 and each DB access module number.

【0030】前記従業員データベース5は「DB2」形
式のデータベースであるが、該データベースを新たに
「オラクル」形式に変更する場合は、「オラクル」形式
専用のDB処理用プログラムを導入するとともに、「オ
ラクル」形式の従業員データベースに対応したDBアク
セスモジュールを新規作成する必要が生じる。
Although the employee database 5 is a database of the "DB2" format, when the database is newly changed to the "Oracle" format, a DB processing program dedicated to the "Oracle" format is introduced and " It is necessary to newly create a DB access module corresponding to an employee database in the "Oracle" format.

【0031】本発明では図5で示すとおり、前記新規作
成が以下の手順で可能となる。
According to the present invention, as shown in FIG. 5, the above-mentioned new creation is made possible by the following procedure.

【0032】まず、「UNIX(登録商標)」の「se
d」コマンド(パターン変換)を利用して、その入力フ
ァイルとして、前記DBアクセスモジュール3の処理関
数ファイル40と、「DB2」用処理関数と「オラク
ル」用処理関数の対応付け機能を有するパターンファイ
ル41とを与えることにより、「オラクル」用処理関数
ファイル42を得る。次に、「オラクル」用処理関数フ
ァイル35をプリコンパイルすることにより、「オラク
ル」用DBアクセスモジュールのC言語ソース43を
得、それをCコンパイルおよびリンケージすることによ
り、「オラクル」形式の従業員データベースに対応した
「オラクル」用DBアクセスモジュール44が完成す
る。
First, "se" of "UNIX (registered trademark)"
Using the "d" command (pattern conversion), as the input file, a processing function file 40 of the DB access module 3 and a pattern file having a function of associating a processing function for "DB2" with a processing function for "Oracle" 41, the "Oracle" processing function file 42 is obtained. Next, by precompiling the "Oracle" processing function file 35, the C language source 43 of the "Oracle" DB access module is obtained, and the C language source 43 is compiled and linked, whereby the "Oracle" employee The “Oracle” DB access module 44 corresponding to the database is completed.

【0033】[0033]

【発明の効果】本発明によれば、次のような効果が得ら
れる。
According to the present invention, the following effects can be obtained.

【0034】(a)請求項1に記載の発明によると、各
々の業務処理用プログラム中に複数のデータベースのデ
ータ処理要求手順を組み込む必要がなく、業務処理プロ
グラムが余分な負荷無く複数のデータベースのデータ処
理要求を行うことができるとともに、容易に業務処理用
プログラムの作成や追加、変更等ができ、データベース
が追加、変更されても、容易にシステムの再構築ができ
る。
(A) According to the first aspect of the present invention, there is no need to incorporate a data processing request procedure for a plurality of databases into each business processing program, and the business processing program can load a plurality of databases without an extra load. A data processing request can be made, and a business processing program can be easily created, added, changed, and the like. Even if a database is added or changed, the system can be easily reconfigured.

【0035】(b)請求項2に記載の発明によると、ク
ライアント・サーバシステムにおいて複数のデータベー
スのデータ処理を行う場合において、クライアントコン
ピュータ側の業務処理用プログラムからサーバコンピュ
ータ側のDBアクセス管理プログラムに、複数のデータ
ベースのデータ処理要求情報を一度に送信することで前
記要求が実行できることから、従来の、クライアントコ
ンピュータとサーバコンピュータ間の通信上で通信の遮
断等障害が起きた場合に、要求された処理が完全に実行
されずに、各データベースのデータの不整合が生じると
いった問題が解消される。
(B) According to the second aspect of the present invention, when data processing of a plurality of databases is performed in a client-server system, the business processing program on the client computer is changed to the DB access management program on the server computer. Since the request can be executed by transmitting the data processing request information of a plurality of databases at once, the request is issued when a failure such as a communication interruption occurs in the communication between the client computer and the server computer. The problem that the processing is not completely executed and the data of each database is inconsistent is solved.

【0036】(c)請求項3に記載の発明によると、既
存のシステムのデータベース群に追加・変更が生じた場
合でも、DBアクセス管理プログラムを修正する必要が
なく、対応付ファイルを修正することで対応できる。
(C) According to the third aspect of the present invention, even when a database group of an existing system is added or changed, there is no need to modify the DB access management program, and the associated file is modified. Can respond.

【0037】(d)請求項4に記載の発明によると、
所定のデータベースの形式が変更になっても、DBアク
セスモジュールの変更作業は最小限に抑えられる。また
新たな形式のデータベースを追加構築する場合にも、D
Bアクセスモジュールの新規作成作業は最小限に抑えら
れる。
(D) According to the invention described in claim 4,
Even if the format of the predetermined database is changed, the work of changing the DB access module can be minimized. Also, when constructing a database in a new format,
The work of newly creating the B access module is minimized.

【0038】[0038]

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例1の流れを示したブロック図である。FIG. 1 is a block diagram illustrating a flow of a first embodiment.

【図2】実施例2の流れを示したブロック図である。FIG. 2 is a block diagram showing a flow of a second embodiment.

【図3】実施例3の流れを示したブロック図である。FIG. 3 is a block diagram illustrating a flow of a third embodiment.

【図4】DBアクセス管理プログラムが対応付ファイル
を参照する流れを示したブロック図である。
FIG. 4 is a block diagram showing a flow in which a DB access management program refers to an association file.

【図5】対応付ファイルの各データベース番号と各DB
アクセスモジュールの対応付けを示した図である。
FIG. 5 shows each database number and each DB of an association file
FIG. 4 is a diagram showing association of access modules.

【図6】「DB2」用DBアクセスモジュールから「オ
ラクル」用DBアクセスモジュールを作成する手順を示
した図である。
FIG. 6 is a diagram showing a procedure for creating an “Oracle” DB access module from a “DB2” DB access module;

【符号の説明】[Explanation of symbols]

1 業務処理用プログラム 2 DBアクセス管理プログラム 3 DBアクセスモジュール 4 DB処理用プログラム 5 従業員データベース 6 モニタ画面 7 運送部門コンピュータ 8 クライアントコンピュータ 11 業務処理用プログラム 13 DBアクセスモジュール 14 DB処理用プログラム 15 顧客データベース 18 サーバコンピュータ 23 DBアクセスモジュール 24 DB処理用プログラム 25 商品データベース 30 参照ファイル 40 DBアクセスモジュール3用処理関数ファイル 41 変換パターンファイル 42 「オラクル」用処理関数ファイル 43 「オラクル」用DBアクセスモジュールC言語ソ
ース 44 「オラクル」用DBアクセスモジュール
DESCRIPTION OF SYMBOLS 1 Business processing program 2 DB access management program 3 DB access module 4 DB processing program 5 Employee database 6 Monitor screen 7 Transportation department computer 8 Client computer 11 Business processing program 13 DB access module 14 DB processing program 15 Customer database 18 server computer 23 DB access module 24 DB processing program 25 product database 30 reference file 40 DB access module 3 processing function file 41 conversion pattern file 42 "Oracle" processing function file 43 "Oracle" DB access module C language source 44 "Oracle" DB Access Module

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 業務処理用プログラムが複数のデータベ
ースの各データの参照・追加・更新・削除などの各種処
理要求情報を出力し、前記データベース専用のDB処理
用プログラムが前記各種処理を実行するデータベース処
理方式において、DB処理用プログラムに対し、データ
ベースのデータの各種処理要求情報を出力するDBアク
セスモジュールを各データベースに対応して各々設け、
業務処理用プログラムから入力したデータベースのデー
タの各種処理要求情報から、処理対象のデータベースに
対応したDBアクセスモジュールを選定し、該モジュー
ルに対し前記処理要求情報を出力するDBアクセス管理
プログラムを設け、業務処理プログラムが、前記DBア
クセス管理プログラムと前記DBアクセスモジュールを
介してDB処理用プログラムに対し、データベースのデ
ータ処理要求情報を出力することを特徴としたデータベ
ースの処理方式。
A business processing program outputs various processing request information such as reference / addition / update / deletion of data of a plurality of databases, and a database processing program dedicated to the database executes the various processing. In the processing method, a DB access module for outputting various processing request information of database data to a DB processing program is provided for each database,
A DB access module corresponding to a database to be processed is selected from various types of processing request information of database data input from a business processing program, and a DB access management program for outputting the processing request information to the module is provided. A database processing method, wherein a processing program outputs data processing request information of a database to a DB processing program via the DB access management program and the DB access module.
【請求項2】 少なくとも一つのサーバ機能を有する
サーバコンピュータと少なくとも一つのクライアントコ
ンピュータとを通信手段にて接続し、前記サーバコンピ
ュータとクライアントコンピュータとの間において、前
記クライアントコンピュータよりのデータの参照・追加
・更新・削除などの各種処理要求に基づいて、前記サー
バコンピュータにてこの要求された各種処理を実施し、
その処理結果を前記クライアントコンピュータに返送す
るクライアント・サーバシステムにおいて、 前記業務処理用プログラムが前記クライアントコンピュ
ータ内に設けられ、前記データベース、DB処理用プロ
グラム、DBアクセスモジュールおよびDBアクセス管
理プログラムが前記サーバコンピュータ内に設けられ、
前記二つのコンピュータ間の通信手段を用いて、前記業
務処理用プログラムが前記DBアクセス管理プログラム
に、前記データベースのデータ処理要求情報を送信する
ようにされている請求項1に記載のデータベースの処理
方式。
2. A server computer having at least one server function and at least one client computer are connected by communication means, and between the server computer and the client computer, reference / addition of data from the client computer.・ Based on various processing requests such as update / deletion, the server computer executes the requested various processing,
In the client-server system for returning the processing result to the client computer, the business processing program is provided in the client computer, and the database, the DB processing program, the DB access module, and the DB access management program are stored in the server computer. Provided in the
2. The database processing method according to claim 1, wherein the business processing program transmits data processing request information of the database to the DB access management program by using communication means between the two computers. .
【請求項3】 前記DBアクセス管理プログラムが前
記DBアクセスモジュールを選定する際に、各データベ
ースと各DBアクセスモジュールの対応付けを記憶した
対応付ファイルを用いるようにされている請求項1また
は請求項2に記載のデータベースの処理方式。
3. The system according to claim 1, wherein the DB access management program uses an association file storing association between each database and each DB access module when selecting the DB access module. 2. The processing method of the database according to 2.
【請求項4】 既存のデータベースの形式を変更して
新規のデータベースを構築した場合において、前記新規
データベース用のDBアクセスモジュールを作成する際
に、前記既存データベース用のDBアクセスモジュール
の処理関数を前記新規のデータベース形式の処理関数に
変換することで、前記新規のDBアクセスモジュールを
作成するようにされている、請求項1乃至請求項3に記
載のデータベースの処理方式。
4. When a new database is constructed by changing the format of an existing database, a processing function of the DB access module for the existing database is executed when the DB access module for the new database is created. 4. The database processing method according to claim 1, wherein the new DB access module is created by converting to a new database format processing function.
JP9207265A 1997-07-16 1997-07-16 Data base processing system Pending JPH1139201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9207265A JPH1139201A (en) 1997-07-16 1997-07-16 Data base processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9207265A JPH1139201A (en) 1997-07-16 1997-07-16 Data base processing system

Publications (1)

Publication Number Publication Date
JPH1139201A true JPH1139201A (en) 1999-02-12

Family

ID=16536938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9207265A Pending JPH1139201A (en) 1997-07-16 1997-07-16 Data base processing system

Country Status (1)

Country Link
JP (1) JPH1139201A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG87008A1 (en) * 1998-09-30 2002-03-19 Panasonic Singapore Lab Pte Lt A method for reliable and high speed data transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG87008A1 (en) * 1998-09-30 2002-03-19 Panasonic Singapore Lab Pte Lt A method for reliable and high speed data transfer

Similar Documents

Publication Publication Date Title
US5560005A (en) Methods and systems for object-based relational distributed databases
US7236973B2 (en) Collaborative master data management system for identifying similar objects including identical and non-identical attributes
US7509326B2 (en) Central master data management
US8255548B2 (en) Offline web services API to mirror online web services API
US5978811A (en) Information repository system and method for modeling data
US20180246886A1 (en) Data migration for platform integration
US20030189600A1 (en) Defining an approval process for requests for approval
US20030212654A1 (en) Data integration system and method for presenting 360° customer views
US20020169777A1 (en) Database architecture and method
KR101201019B1 (en) Declarative sequenced report parameterization
US20080281899A1 (en) Method for managing commerce contexts
Dye Oracle distributed systems
US5940820A (en) GUI apparatus for generating an object-oriented database application
US20040083223A1 (en) Global database management system integrating heterogeneous data resources
US20020010695A1 (en) Query generator
US7315847B2 (en) Method and system for providing access to a database
US7328207B2 (en) Extensions for query persistence across requests with dynamic update for writeback
JPH1139201A (en) Data base processing system
US12093249B2 (en) Dynamic inclusion of metadata configurations into a logical model
JP2003022351A (en) Personnel information management system, program and personnel information management method
WO2002080026A1 (en) Global database management system integrating heterogeneous data resources
McCLEAN et al. Agents for querying distributed statistical databases over the internet
JP2881618B2 (en) Command generator
WO2004023287A2 (en) Collaborative master data management
Novak Enterprise Data Management

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060926