JPH09146802A - Data input / output processor - Google Patents

Data input / output processor

Info

Publication number
JPH09146802A
JPH09146802A JP7309362A JP30936295A JPH09146802A JP H09146802 A JPH09146802 A JP H09146802A JP 7309362 A JP7309362 A JP 7309362A JP 30936295 A JP30936295 A JP 30936295A JP H09146802 A JPH09146802 A JP H09146802A
Authority
JP
Japan
Prior art keywords
data
input
output
output processing
source
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
JP7309362A
Other languages
Japanese (ja)
Inventor
Naoko Higuchi
直子 樋口
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP7309362A priority Critical patent/JPH09146802A/en
Publication of JPH09146802A publication Critical patent/JPH09146802A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】アプリケーションプログラムの構成を簡単に
し、且つ、データソースの追加削除等の変更を容易にす
る。 【解決手段】データソースに対して入出力要求を行うと
きに、制御処理部4が定義ファイル6を参照して入出力
要求を行うデータを特定するデータ名にその入出力先の
データソースを特定する識別子を付加しこれをもとに要
求情報を作成してこれを入出力処理部2を介して入出力
ライブラリ21に通知する。入出力ライブラリ21は要
求情報の識別子を参照して入出力先のデータソースを特
定し、特定したデータソースとの入出力処理を行うデー
タソース用の管理プログラムを呼び出す。したがって、
データソース毎に入出力処理部を設ける必要がないか
ら、データソースの追加削除等の変更に伴って入出力処
理部を変更する必要はなく、よって、制御処理部4と入
出力処理部2とで構成されるアプリケーションプログラ
ムの変更を行う必要はない。
(57) [Abstract] [PROBLEMS] To simplify the configuration of an application program and to easily change data sources such as addition and deletion. When an input / output request is made to a data source, a control processing unit 4 refers to a definition file 6 and specifies a data source of the input / output destination in a data name that specifies the data for which the input / output request is made. The request information is created based on this identifier and is notified to the input / output library 21 via the input / output processing unit 2. The input / output library 21 specifies the data source of the input / output destination by referring to the identifier of the request information, and calls the management program for the data source that performs the input / output processing with the specified data source. Therefore,
Since it is not necessary to provide an input / output processing unit for each data source, it is not necessary to change the input / output processing unit according to a change such as addition or deletion of a data source, and accordingly, the control processing unit 4 and the input / output processing unit 2 It is not necessary to change the application program consisting of.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、シーケン
サ或いはデータベース等の異なるデータソースからデー
タを収集したり、或いはこれらデータソースに対してデ
ータの設定を行う場合等、異なる複数のデータソースと
の間でデータ授受を行うデータ入出力処理装置の改良に
関する。
The present invention relates to a plurality of different data sources, such as a case where data is collected from different data sources such as a sequencer or a database, or data is set for these data sources. The present invention relates to improvement of a data input / output processing device for exchanging data between devices.

【0002】[0002]

【従来の技術】従来、例えば、工場の入り口等で従業員
が提示したIDカードからID番号を読み取り、このI
D番号に対応する従業員情報に基づいて入場審査等を行
うようにした管理システムは、例えば図12に示すよう
に構成されている。これは、IDカード103のID情
報を読み取り装置102で読み取り、読み取り装置10
2で読み取ったID情報をシーケンサ105に送信し、
シーケンサ105でこのID情報を計算機101が読み
取れる情報に変換して計算機101に送信している。そ
して、計算機101が受信したID情報で特定される従
業員情報をデータベース104から読み出し、例えば図
13に示すように、計算機101の表示装置101aに
表示するようにしている。
2. Description of the Related Art Conventionally, for example, an ID number is read from an ID card presented by an employee at a factory entrance or the like, and this I
A management system that performs entrance examination and the like based on the employee information corresponding to the D number is configured as shown in FIG. 12, for example. The reading device 102 reads the ID information of the ID card 103 with the reading device 10.
The ID information read in 2 is transmitted to the sequencer 105,
The sequencer 105 converts this ID information into information that can be read by the computer 101 and transmits it to the computer 101. Then, the employee information specified by the ID information received by the computer 101 is read from the database 104 and displayed on the display device 101a of the computer 101, for example, as shown in FIG.

【0003】このとき、これら処理を実行するアプリケ
ーションプログラムは、例えば、図14に示すように、
各データソースに対して入出力要求を行う制御処理部4
と、制御処理部4の指示に基づいてデータベース用の管
理プログラム11を読み出し、このデータベース用管理
プログラム11との間で所定の処理手順で入出力処理を
行うデータベース用入出力処理部2aと、制御処理部4
の指示に基づいてシーケンサ用の管理プログラム12を
読み出し、シーケンサ用管理プログラム12との間で所
定の処理手順で入出力処理を行うシーケンサ用入出力処
理部2bと、前記データベース用入出力処理部2a及び
シーケンサ用入出力処理部2bから通知されたデータを
もとに画面表示処理を行う画面表示処理部3とから構成
されている。
At this time, the application program for executing these processes is, for example, as shown in FIG.
Control processing unit 4 that makes an input / output request to each data source
And a database input / output processing unit 2a that reads out the database management program 11 based on an instruction from the control processing unit 4 and performs input / output processing with the database management program 11 in a predetermined processing procedure. Processing unit 4
Based on the instruction, the sequencer management program 12 is read and the sequencer management program 12 performs input / output processing according to a predetermined processing procedure, and the database input / output processing unit 2a. And a screen display processing unit 3 for performing screen display processing based on the data notified from the sequencer input / output processing unit 2b.

【0004】そして、制御処理部4がデータベース用入
出力処理部2a又はシーケンサ用入出力処理部2bに指
示してデータベース用管理プログラム11又はシーケン
サ用管理プログラム12を呼び出し、データベース用管
理プログラム11がデータソースとの間で入出力処理を
行い、また、シーケンサ用管理プログラム12がシーケ
ンサとの間で入出力処理を行うことによって、制御処理
部4と各データソースとの間でデータ授受を行うように
なっている。
Then, the control processing unit 4 instructs the database input / output processing unit 2a or the sequencer input / output processing unit 2b to call the database management program 11 or the sequencer management program 12, and the database management program 11 sends data. By performing input / output processing with the source and with the sequencer management program 12 performing input / output processing with the sequencer, data is exchanged between the control processing unit 4 and each data source. Has become.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来のデータ入出力処理方法では、データソース毎に管理
プログラムが異なるために、各管理プログラムとアプリ
ケーションプログラムとの間では、管理プログラム毎に
異なる方式で入出力処理を行っている。したがって、ア
プリケーションプログラムには、データソースが異なる
毎に、このデータソースに対応する管理プログラムとの
入出力処理を行う入出力処理部を設ける必要がある。
However, in the above-mentioned conventional data input / output processing method, since the management program is different for each data source, the management program and the application program are different for each management program. I / O processing is being performed. Therefore, it is necessary to provide the application program with an input / output processing unit that performs input / output processing with the management program corresponding to the data source each time the data source is different.

【0006】そのため、データソースを追加或いは削除
する場合等には、その都度アプリケーションプログラム
において入出力処理部の追加或いは削除等の変更を行う
必要があり、データソースの変更を容易に行うことがで
きないという未解決の課題がある。また、データソース
が異なる毎に入出力処理部を設ける必要があるため、デ
ータソースの数に比例してアプリケーションプログラム
が長くなり、またそれに伴ってアプリケーションプログ
ラムが煩雑になり、デバッグが困難となったり、或い
は、プログラムソースの管理が困難になるという問題も
ある。
Therefore, when a data source is added or deleted, it is necessary to add or delete the input / output processing unit in the application program each time, and the data source cannot be changed easily. There is an unsolved problem. Also, since it is necessary to provide an input / output processing unit for each different data source, the application program becomes longer in proportion to the number of data sources, and the application program becomes complicated accordingly, making debugging difficult. Or, there is also a problem that management of the program source becomes difficult.

【0007】そこで、この発明は上記従来の未解決の課
題に着目してなされたものであり、アプリケーションプ
ログラムの構成を簡単にし、且つデータソースの追加変
更等を容易に行うことのできるデータ入出力処理装置を
提供することを目的としている。
Therefore, the present invention has been made in view of the above-mentioned unsolved problems of the prior art, and it is a data input / output that simplifies the configuration of an application program and can easily add or change a data source. It is intended to provide a processing device.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係るデータ入出力処理装置は、
データソースに対するデータの入出力要求を、当該入出
力要求で要求されるデータである要求データを特定する
データ名を伴って行う処理要求手段と、前記データソー
ス毎に設けられ且つ前記データソースとの間の入出力処
理を行うデータソース管理手段と、前記処理要求手段と
共に主制御処理手段を構成し且つ前記処理要求手段での
前記入出力要求の要求内容を前記データソース管理手段
に伝達する入出力処理手段と、を備えたデータ入出力処
理装置において、前記データ名に当該データ名で特定さ
れる要求データの入出力先のデータソースを特定する識
別情報を予め付加する識別情報付加手段と、前記入出力
処理手段と前記データソース管理手段との間に介挿され
ると共に、前記入出力処理手段を介して伝達される前記
データ名に付加された識別情報に基づき前記要求データ
の入出力先であるデータソースを特定し、当該データソ
ースに対応する前記データソース管理手段との間で前記
要求内容に応じた入出力処理を行うデータソース選択手
段とを備えることを特徴としている。
In order to achieve the above object, a data input / output processing apparatus according to claim 1 of the present invention comprises:
A processing request unit that performs a data input / output request with respect to a data source with a data name that specifies request data that is data requested by the input / output request; An input / output that constitutes a main control processing means together with a data source management means for performing input / output processing between the data source management means and the processing request means, and transmits the request content of the input / output request in the processing request means to the data source management means. In a data input / output processing device comprising a processing means, identification information adding means for adding in advance to the data name identification information for specifying a data source of an input / output destination of request data specified by the data name, It is inserted between the entry output processing means and the data source management means and is added to the data name transmitted through the input / output processing means. Based on the identification information, the data source which is the input / output destination of the requested data is specified, and the data source selecting means for performing the input / output processing according to the request content with the data source management means corresponding to the data source. It is characterized by having and.

【0009】したがって、処理要求手段でデータソース
に対してデータの入出力要求が行われると、この入出力
要求の要求内容が入出力処理手段を介してデータソース
選択手段に伝達される。データソース選択手段では、伝
達された要求データのデータ名に対して識別情報付加手
段により予め付加された識別情報をもとに、この要求デ
ータの入出力先であるデータソースを特定し、特定した
データソースに対応するデータソース管理手段との間で
入出力要求に基づいて所定の入出力処理を行う。
Therefore, when the processing request means makes a data input / output request to the data source, the content of the input / output request is transmitted to the data source selecting means via the input / output processing means. In the data source selecting means, the data source which is the input / output destination of the request data is specified and specified based on the identification information previously added by the identification information adding means to the data name of the transmitted request data. Predetermined input / output processing is performed based on the input / output request with the data source management means corresponding to the data source.

【0010】また、本発明の請求項2に係るデータ入出
力処理装置は、前記識別情報と前記データソース管理手
段との対応をファイル上で管理するようにしたことを特
徴としている。よって、例えばデータソースの追加或い
は削除等の変更を行う場合にはファイル上で管理してい
る識別情報とデータソース管理手段との対応からなる管
理情報の変更することによって、データソースの変更が
行われる。
A data input / output processing device according to a second aspect of the present invention is characterized in that the correspondence between the identification information and the data source management means is managed on a file. Therefore, for example, when adding or deleting a data source, the data source can be changed by changing the management information, which is the correspondence between the identification information managed on the file and the data source management means. Be seen.

【0011】また、請求項3に係るデータ入出力処理装
置は、前記識別情報付加手段は、他のデータ入出力処理
装置との間でデータの入出力を行う場合、前記要求デー
タの入出力先であるデータ入出力処理装置を特定する装
置識別情報を前記データ名に付加する装置情報付加手段
を有し、前記データソース選択手段は前記装置識別情報
で他のデータ入出力処理装置が特定されているとき、前
記他のデータ入出力処理装置との間での入出力処理を行
う他装置管理手段との間で入出力処理を行うことを特徴
としている。
Further, in the data input / output processing device according to the third aspect, when the identification information adding means inputs / outputs data to / from another data input / output processing device, the input / output destination of the requested data. A device information adding means for adding device identification information for specifying the data input / output processing device to the data name, and the data source selecting means is configured to specify another data input / output processing device by the device identification information. When it is present, the input / output processing is performed with the other device management means for performing the input / output processing with the other data input / output processing apparatus.

【0012】よって、他のデータ入出力処理装置で管理
するデータに対して入出力要求を行う場合には、入出力
要求がなされた要求データのデータ名には装置情報付加
手段により、他のデータ入出力処理装置を特定する装置
識別情報が付加されるから、データソース選択手段はそ
の装置識別情報に基づき他装置管理手段との入出力処理
を行う。
Therefore, when an input / output request is made to data managed by another data input / output processing device, the data name of the requested data for which the input / output request is made is made available by the device information adding means. Since the device identification information for identifying the input / output processing device is added, the data source selection means performs input / output processing with other device management means based on the device identification information.

【0013】また、請求項4に係るデータ入出力処理装
置は、前記データソース管理手段はメモリアクセス手段
であって、当該メモリアクセス手段は、主記憶メモリに
書き込むデータを特定するデータ名とそのデータ値とを
対応付けて書き込む登録領域を前記主記憶メモリ上に獲
得する獲得手段と、前記主記憶メモリに対する書き込み
要求がなされたデータに対応するデータ名が前記登録領
域に登録済であるとき前記登録領域の前記データ名に対
応するデータ値を更新記憶し、未登録であるとき前記登
録領域に前記書き込み要求がなされたデータのデータ名
及びそのデータ値を登録すると共に、読み出し要求がな
されたデータのデータ名について前記登録領域を検索し
対応するデータ値を読み出すメモリデータ管理手段とを
備えることを特徴としている。
Further, in the data input / output processing device according to the present invention, the data source management means is a memory access means, and the memory access means specifies a data name for specifying data to be written in the main memory and the data. Acquisition means for acquiring in the main storage memory a registration area for writing a value in association with each other; and the registration when the data name corresponding to the data requested to be written to the main storage memory is already registered in the registration area. The data value corresponding to the data name of the area is updated and stored, and when it is unregistered, the data name and the data value of the data for which the write request is made are registered in the registered area, and the data of the read request is made. Memory data management means for searching the registered area for a data name and reading a corresponding data value. It is.

【0014】よって、例えば主記憶メモリに対してデー
タの入出力要求、すなわち、書き込み又は読み出しを行
う場合には、識別情報付加手段によって主記憶メモリを
特定する識別情報が、書き込み要求又は読み込み要求が
行われたデータである要求データのデータ名に付加され
るから、この識別情報に基づいてデータソース選択手段
がメモリアクセス手段が呼び出される。主記憶メモリの
データ値は、獲得手段により主記憶メモリに獲得された
登録領域上に、メモリデータ管理手段によりデータ名と
データ値とを対応付けて格納され、データ値はデータ名
によって管理される。
Therefore, for example, when a data input / output request is made to the main memory, that is, when writing or reading is performed, the identification information for identifying the main memory is sent by the identification information adding means as a write request or a read request. Since it is added to the data name of the requested data, which is the executed data, the data source selection means calls the memory access means based on this identification information. The data value of the main memory is stored in the registration area acquired in the main memory by the acquisition unit in association with the data name and the data value by the memory data management unit, and the data value is managed by the data name. .

【0015】また、請求項5に係るデータ入出力処理装
置は、前記メモリアクセス手段は、主記憶メモリに対す
るデータの書き込み要求を行う前記主制御処理手段を起
動元として特定する起動元特定情報を前記データ名と対
応付けて格納する起動元情報格納手段と、前記起動元の
処理が終了したとき、当該起動元の起動元特定情報で特
定されるデータ名に関連する前記登録領域を未使用領域
に戻すメモリ領域管理手段とを備えることを特徴として
いる。
Further, in the data input / output processing device according to a fifth aspect of the present invention, the memory access means specifies the activation source identification information that identifies the main control processing means that makes a data write request to the main memory as an activation source. A boot source information storage unit that stores the data in association with a data name, and when the process of the boot source is completed, the registered area related to the data name specified by the boot source specifying information of the boot source is set as an unused area. And a memory area management means for returning.

【0016】よって、主制御処理手段の書き込み要求に
応じて主記憶メモリに書き込まれたデータ名には、この
書き込みを行った主制御処理手段である起動元を特定す
る起動元特定情報が対応付けられ、起動元の処理が終了
したとき、この起動元を特定する起動元特定情報に対応
するデータ名に関連する登録領域がメモリ領域管理手段
によって未使用領域に戻される。
Therefore, the data name written in the main memory in response to the write request of the main control processing means is associated with the boot source specifying information for specifying the boot source which is the main control processing means that has written this data. When the processing of the boot source is completed, the memory area management means returns the registration area associated with the data name corresponding to the boot source specifying information for specifying the boot source to the unused area.

【0017】さらに、請求項6に係るデータ入出力処理
装置は、前記データソース選択手段は、2つ以上のデー
タに対する入出力要求が、前記データを特定するデータ
名を予め設定した連結形式で連結してなる連結データ名
を用いて行われたとき、前記連結形式で特定される所定
の手順で入出力処理を行うことを特徴としている。よっ
て、例えば初期設定時等、同時に複数のデータに対して
出力要求を行う場合等には、処理要求手段で例えば、複
数のデータ名に同一データを出力することを表す予め設
定した連結形式で、これら複数のデータ名を連結して連
結データ名を形成しこれを通知することによって、デー
タソース選択手段がこの連結形式に基づき、各データ名
毎に順次その出力先のデータソースを特定し対応するデ
ータソース管理手段との間で所定の処理手順で出力処理
を行う。
Further, in the data input / output processing device according to a sixth aspect, the data source selection means connects the input / output requests for two or more data in a connection format in which a data name specifying the data is preset. It is characterized in that the input / output processing is performed in a predetermined procedure specified by the above-mentioned concatenation format when the concatenation data name is formed. Therefore, for example, in the case of making an output request for a plurality of data at the same time, such as at the time of initial setting, for example, in the processing requesting means, in a preset concatenation format indicating that the same data is output to a plurality of data names, By concatenating the plurality of data names to form a concatenated data name and notifying the concatenated data name, the data source selecting means sequentially identifies and responds to the data source of the output destination for each data name based on the concatenated format. Output processing is performed in a predetermined processing procedure with the data source management means.

【0018】[0018]

【発明の実施の形態】以下に、本発明の第1の実施の形
態について説明する。この第1の実施の形態は、本発明
におけるデータ入出力処理装置を従来の技術で説明した
図12に示すIDカードによる従業員の入場チェックを
行う管理システムに適用したものであり、その機器構成
は上記と同様であるので、詳細な説明は省略する。
BEST MODE FOR CARRYING OUT THE INVENTION A first embodiment of the present invention will be described below. This first embodiment is an application of the data input / output processing device according to the present invention to a management system for checking the entry of an employee by the ID card shown in FIG. Is the same as above, so detailed description will be omitted.

【0019】図1は、前記管理システムの機能構成を表
した機能構成図である。この管理システムは、この管理
システムの全体制御を行うシステム制御部(主制御処理
手段)1と、データソースとしてのデータベース104
及びシーケンサ105との入出力処理を行う、データソ
ース管理手段としてのデータベース用管理プログラム1
1及びシーケンサ用管理プログラム12と、前記システ
ム制御部1からの入出力要求に応じて前記データベース
用管理プログラム11又はシーケンサ用管理プログラム
12を呼び出す入出力ライブラリ(データソース選択手
段)21とから構成されている。
FIG. 1 is a functional block diagram showing the functional configuration of the management system. This management system includes a system control unit (main control processing unit) 1 that controls the entire management system, and a database 104 as a data source.
And a database management program 1 as data source management means for performing input / output processing with the sequencer 105
1 and a sequencer management program 12, and an input / output library (data source selection means) 21 that calls the database management program 11 or the sequencer management program 12 in response to an input / output request from the system control unit 1. ing.

【0020】前記システム制御部1は、管理システム全
体の制御を行うアプリケーションプログラムであって、
このシステム制御部1は、前記データベース104及び
シーケンサ105に対する入出力要求時の入出力処理等
を行う入出力処理部(入出力処理手段)2と、入出力処
理部2を介して入力したシーケンサ105からのID情
報及びデータベース104からの従業員情報を所定の表
示形態で表示する等の、表示装置101aに対する表示
処理を行う画面表示処理部3と、これら入出力処理部2
及び画面表示処理部3を制御する制御処理部4とから構
成される。
The system control unit 1 is an application program for controlling the entire management system,
The system control unit 1 includes an input / output processing unit (input / output processing unit) 2 that performs input / output processing when an input / output request is made to the database 104 and the sequencer 105, and the sequencer 105 input via the input / output processing unit 2. Screen display processing unit 3 that performs display processing on the display device 101a, such as displaying ID information from the user and employee information from the database 104 in a predetermined display form, and these input / output processing units 2
And a control processing unit 4 for controlling the screen display processing unit 3.

【0021】前記入出力処理部2は、制御処理部4から
の入出力要求をもとに所定の手順によって前記入出力ラ
イブラリ21に対して入出力要求を行い、入出力ライブ
ラリ21から通知された各データソースからのデータを
制御処理部4に通知する。また、前記画面表示処理部3
は、前記制御処理部4からの指示に基づいて、シーケン
サ105からのID情報及びデータベース104から入
力した従業員情報を予め設定した表示形態で、例えば図
13に示すように、表示装置101aに表示する。
The input / output processing unit 2 makes an input / output request to the input / output library 21 according to a predetermined procedure based on the input / output request from the control processing unit 4, and is notified from the input / output library 21. The control processing unit 4 is notified of the data from each data source. Further, the screen display processing unit 3
Is a display mode in which the ID information from the sequencer 105 and the employee information input from the database 104 are preset based on an instruction from the control processing unit 4, and is displayed on the display device 101a as shown in FIG. 13, for example. To do.

【0022】そして、前記制御処理部4は、前記入出力
処理部2に対して、シーケンサ105からのID情報を
読み込むよう入力要求を行うと共に、読み込んだID情
報に対応する従業員情報を前記データベース104から
読み込むように入力要求を行う。また、読み込んだ従業
員情報を表示装置101aに所定の表示形態で表示する
ように前記画面表示処理部3に対して指示を行う。
Then, the control processing unit 4 issues an input request to the input / output processing unit 2 to read the ID information from the sequencer 105, and stores the employee information corresponding to the read ID information in the database. An input request is made to read from 104. Further, the screen display processing unit 3 is instructed to display the read employee information on the display device 101a in a predetermined display form.

【0023】また、制御処理部4では、データソースと
の間で入出力するデータを、そのデータの種類に応じて
設定したデータ名によって管理している。そして、入出
力処理部2との間でデータの入出力要求を行う場合に
は、入出力要求を行うデータを特定するデータ名にこの
データの入出力先であるデータソースを特定する識別子
(識別情報)を付加し(識別情報付加手段)、この識別
子及びデータ名をもとにデータの入出力を行う要求情報
を形成している。
Further, the control processing unit 4 manages the data input / output to / from the data source by the data name set according to the type of the data. When a data input / output request is made with the input / output processing unit 2, an identifier (identification) that specifies the data source that is the input / output destination of this data is added to the data name that specifies the data for which the input / output request is made. Information) is added (identification information adding means), and request information for inputting / outputting data is formed based on the identifier and the data name.

【0024】すなわち、例えば、所望とするデータのデ
ータ名が“DATA1”である場合には、予め支援ツー
ル5等によって作成した定義ファイル6を参照して、デ
ータ名“DATA1”のデータの入出力先であるデータ
ソースを特定する識別子を付加する。例えばシーケンサ
105の場合には“DD”を付加する(図2(a))。
同様に、例えば、入出力先のデータソースがデータベー
ス104であるデータ名“LIST1”である場合に
は、図2(b)に示すように、識別子“DB”を付加す
る。そして、これらをもとに形成した要求情報を入出力
ライブラリ21に通知する。
That is, for example, when the data name of the desired data is “DATA1”, the definition file 6 created in advance by the support tool 5 or the like is referred to, and the input / output of the data of the data name “DATA1” is performed. An identifier that identifies the destination data source is added. For example, in the case of the sequencer 105, "DD" is added (Fig. 2 (a)).
Similarly, for example, when the data source of the input / output destination is the data name “LIST1” which is the database 104, the identifier “DB” is added as shown in FIG. Then, the request information formed based on these is notified to the input / output library 21.

【0025】一方、前記入出力ライブラリ21は、入出
力処理部2から呼び出され、通知された入力又は出力を
行う要求情報から識別子を取り出して、その識別子に対
応するデータソース、この場合、データベース104又
はシーケンサ105に対応する管理プログラム11又は
12を呼び出し、これら管理プログラムとの間でそれぞ
れ管理プログラム毎に設定された所定の手順で入出力処
理を行う。これによって、管理プログラムを介してデー
タソースとの入出力を行い、入力要求の場合には、指定
したデータを管理プログラムを介してデータソースから
受け取り、これを入出力処理部2に通知する。
On the other hand, the input / output library 21 is called from the input / output processing unit 2 and extracts an identifier from the notified request information for input or output, and the data source corresponding to the identifier, in this case, the database 104. Alternatively, the management program 11 or 12 corresponding to the sequencer 105 is called, and input / output processing is performed with these management programs according to a predetermined procedure set for each management program. As a result, input / output with the data source is performed via the management program, and in the case of an input request, the specified data is received from the data source via the management program and is notified to the input / output processing unit 2.

【0026】前記データベース用管理プログラム11
は、前記入出力ライブラリ21から呼び出され、入出力
ライブラリ21で指定された入出力要求に応じてデータ
ベース104とのデータ入出力処理を行う。なお、デー
タベース104は、例えば計算機101のハードディス
ク装置等にファイルとして納められている。同様に、前
記シーケンサ用管理プログラム12は、前記入出力ライ
ブラリ21から呼び出され、入出力ライブラリ21で指
定された入出力要求に応じてシーケンサ105とのデー
タ授受を行う。
The database management program 11
Is called from the input / output library 21, and performs data input / output processing with the database 104 in response to an input / output request designated by the input / output library 21. The database 104 is stored as a file in, for example, the hard disk device of the computer 101. Similarly, the sequencer management program 12 is called from the input / output library 21 and exchanges data with the sequencer 105 in response to an input / output request designated by the input / output library 21.

【0027】次に、上記第1の実施の形態の動作を、制
御処理部4の処理手順を示す図3のフローチャート及び
入出力ライブラリ21の処理手順を示す図4のフローチ
ャートに基づいて説明する。なお、データソースとし
て、データベース104とシーケンサ105とが設けら
れているものとする。図12において、従業員が読み取
り装置102を操作したものとすると、読み取り装置1
02で読み込んだIDカード103のID番号がシーケ
ンサ105に送信される。
Next, the operation of the first embodiment will be described based on the flowchart of FIG. 3 showing the processing procedure of the control processing unit 4 and the flowchart of FIG. 4 showing the processing procedure of the input / output library 21. It is assumed that the database 104 and the sequencer 105 are provided as data sources. In FIG. 12, if the employee operates the reading device 102, the reading device 1
The ID number of the ID card 103 read in 02 is transmitted to the sequencer 105.

【0028】計算機101では、例えば定期的にシーケ
ンサ用管理プログラム12に対してID番号の入力要求
を行い、制御処理部4ではID番号のデータ名を“DA
TA1”とすると、予め設定した定義ファイル6を参照
して、データ名“DATA1”の入力先を特定する識別
子を検索し、検索した識別子をデータ名“DATA1”
に付加する。例えば“DATA1”の入力先がシーケン
サ105であるものとすると、定義ファイル6に基づい
て“DATA1”には、図2(a)に示すようにシーケ
ンサ105を特定する識別子“DD”が付加される。
The computer 101 periodically requests the sequencer management program 12 to input an ID number, and the control processing unit 4 sets the data name of the ID number to "DA".
TA1 ”, the definition file 6 set in advance is referred to search for an identifier that identifies the input destination of the data name“ DATA1 ”, and the searched identifier is used as the data name“ DATA1 ”.
To be added. For example, assuming that the input destination of "DATA1" is the sequencer 105, the identifier "DD" for identifying the sequencer 105 is added to "DATA1" based on the definition file 6 as shown in FIG. .

【0029】そして、制御処理部4では、“DD¥DA
TA1”を入力という要求情報を形成して入出力処理部
2に通知し、入出力処理部2ではこれを受けて、入出力
ライブラリ21との間で所定の入出力処理を行って入出
力ライブラリ21に要求情報を通知する(ステップS
1)。これを受けて入出力ライブラリ21では、まず、
通知された要求情報を解析して識別子を取り出す(ステ
ップS11)。そして、この識別子がシーケンサ105
を特定する“DD”であるか否かを判定する(ステップ
S12)。識別子が“DD”である場合には、シーケン
サ105に対する要求情報であるものとして、シーケン
サ用管理プログラム12を読み出す(ステップS1
3)。これによってシーケンサ用管理プログラム12が
実行される。
Then, in the control processing unit 4, "DD \ DA
The request information "TA1" is input and is notified to the input / output processing unit 2, and the input / output processing unit 2 receives this and performs predetermined input / output processing with the input / output library 21 to perform input / output library processing. 21 is notified of the request information (step S
1). In response to this, in the input / output library 21, first,
The notified request information is analyzed to extract the identifier (step S11). Then, this identifier is the sequencer 105
It is determined whether or not it is the "DD" that specifies (step S12). If the identifier is "DD", the sequencer management program 12 is read as the request information for the sequencer 105 (step S1).
3). As a result, the sequencer management program 12 is executed.

【0030】そして、シーケンサ用管理プログラム12
がシーケンサ105から読み込んだID番号からなるI
D情報をデータ名“DATA1”に付加して応答情報を
形成し、これを入出力ライブラリ21に通知する。入出
力ライブラリ21では、通知された応答情報を、シーケ
ンサ用管理プログラム12を呼び出した入出力処理部2
に通知する(ステップS14)。
The sequencer management program 12
I consisting of the ID number read from the sequencer 105
The D information is added to the data name "DATA1" to form response information, which is notified to the input / output library 21. In the input / output library 21, the input / output processing unit 2 that calls the sequencer management program 12 uses the notified response information.
(Step S14).

【0031】入出力処理部2では、通知された応答情報
を制御処理部4に通知し、制御処理部4では応答情報を
もとに表示情報を形成する(ステップS2)。そして、
表示情報を画面表示処理部3に通知して表示要求を行う
(ステップS3)。これを受けて、画面表示処理部3が
表示情報をもとに画像情報を形成して表示装置101a
に出力することによって、表示画面に従業員のID番号
が表示される(図13)。
The input / output processing unit 2 notifies the notified response information to the control processing unit 4, and the control processing unit 4 forms display information based on the response information (step S2). And
The display information is notified to the screen display processing unit 3 to make a display request (step S3). In response to this, the screen display processing unit 3 forms image information based on the display information and displays the image on the display device 101a.
Is output to the display screen, the employee ID number is displayed (FIG. 13).

【0032】次いで、制御処理部4では、ID情報であ
る“DATA1”に対応する従業員情報をデータベース
104から読み出すために、データベース104に対し
て入力要求を行う。例えば従業員情報のデータ名を“L
IST1”とすると、定義ファイル6を参照して“LI
ST1”に対応する識別子を求める。この場合、データ
ベース104を表す識別子“DB”が求められ、これを
データ名に付加し(図2(b))、これらをもとに、I
D情報で特定されるID番号の従業員情報を入力という
要求情報を形成して、入出力処理部2を介して入出力ラ
イブラリ21に通知する(ステップS1)。
Next, the control processing unit 4 makes an input request to the database 104 in order to read the employee information corresponding to the ID information "DATA1" from the database 104. For example, the data name of employee information is "L
IST1 ", the definition file 6 is referred to and" LI
The identifier corresponding to "ST1" is obtained. In this case, the identifier "DB" representing the database 104 is obtained, and this is added to the data name (FIG. 2B), and based on these, I
Request information that the employee information of the ID number specified by the D information is input is formed and notified to the input / output library 21 via the input / output processing unit 2 (step S1).

【0033】入出力ライブラリ21では、識別子が“D
B”であることから、データベース用管理プログラム1
1を呼び出す(ステップS11,S12,S15,S1
6)。これによって、データベース用管理プログラム1
1が実行され、この管理プログラム11が、データベー
ス104からID情報で特定されるID番号に対応する
従業員情報を検索してこれを読み出し、要求情報に対す
る応答情報を形成し、この応答情報を入出力ライブラリ
21に通知する。
In the input / output library 21, the identifier is "D
Since it is B ”, the database management program 1
1 (steps S11, S12, S15, S1
6). As a result, the database management program 1
1 is executed, the management program 11 retrieves the employee information corresponding to the ID number specified by the ID information from the database 104, reads it, forms response information for the request information, and inputs this response information. Notify the output library 21.

【0034】これを受けて入出力ライブラリ21では、
入力要求を行った要求元である入出力処理部2に応答情
報を通知する(ステップS14)。そして、入出力処理
部2では、通知された応答情報をもとに表示情報を形成
し(ステップS2)、この表示情報を画像表示処理部3
に通知して、従業員情報を表示装置101aに表示させ
る(ステップS3)。これによって、図13に示すよう
に、IDカード103の持ち主である従業員の従業員情
報が表示装置101aに表示される。
In response to this, the input / output library 21
The response information is notified to the input / output processing unit 2 which is the request source of the input request (step S14). Then, the input / output processing unit 2 forms display information based on the notified response information (step S2), and this display information is displayed on the image display processing unit 3
To display the employee information on the display device 101a (step S3). As a result, as shown in FIG. 13, the employee information of the employee who owns the ID card 103 is displayed on the display device 101a.

【0035】なお、入出力ライブラリ21では、要求情
報で特定される識別子が、登録された識別子でないと
き、この場合、“DD”及び“DB”の何れでもない場
合には、異常発生として所定のエラー処理を実行する
(ステップS17)。ここで、図12の構成図におい
て、データソースとしてさらに、例えばフロッピーディ
スク等に格納されたデータベースであるサブデータベー
スを追加するものとする。この場合、まず、サブデータ
ベース及びサブデータベースに対する入出力処理を行う
サブデータベース用の管理プログラムを新たに設ける。
次いで、支援ツール5によって定義ファイル6を操作
し、入出力先のデータソースとしてサブデータベースが
設定されるデータに関し、サブデータベースを特定する
識別子、例えば“DBa”を設定する。さらに、入出力
ライブラリ21において、識別子が“DBa”であると
きにはサブデータベース用の管理プログラムを呼び出す
ように変更する。
In the input / output library 21, if the identifier specified by the request information is not the registered identifier, in this case, neither "DD" nor "DB", it is determined that an abnormality has occurred. Error processing is executed (step S17). Here, in the configuration diagram of FIG. 12, it is assumed that a sub-database, which is a database stored in a floppy disk or the like, is further added as a data source. In this case, first, a sub-database and a sub-database management program for performing input / output processing for the sub-database are newly provided.
Next, the definition file 6 is operated by the support tool 5, and an identifier for specifying the sub-database, for example, "DBa" is set for the data for which the sub-database is set as the data source of the input / output destination. Further, in the input / output library 21, the management program for the sub-database is changed to be called when the identifier is "DBa".

【0036】これによって、例えば、所望とする従業員
情報がサブデータベースに登録されている場合には、制
御処理部4では、定義ファイル6の定義情報に基づいて
識別子“DBa”を付加し、これをもとに要求情報を形
成して入出力処理部2を介して入出力ライブラリ21に
通知する。そして、入出力ライブラリ21で、この識別
子“DBa”に基づいて、サブデータベース用の管理プ
ログラムを呼び出す。以後、上記と同様にサブデータベ
ース用管理プログラムがサブデータベースの検索を行っ
て所定のデータを読み込んで入出力ライブラリ21に通
知し、これが入出力処理部2を介して制御処理部4に通
知される。
Thus, for example, when desired employee information is registered in the sub-database, the control processing unit 4 adds the identifier "DBa" based on the definition information in the definition file 6, Based on the request information, the request information is formed and notified to the input / output library 21 via the input / output processing unit 2. Then, the input / output library 21 calls the management program for the sub-database based on this identifier "DBa". After that, as in the above, the sub-database management program searches the sub-database, reads predetermined data, and notifies the input / output library 21 of this, which is notified to the control processing unit 4 via the input / output processing unit 2. .

【0037】したがって、アプリケーションプログラム
を形成する入出力処理部2では、入出力ライブラリ21
との入出力処理のみを行うようにし、入出力ライブラリ
21が、入出力要求で特定される識別子をもとに入出力
先のデータソースを特定し、これに対応する管理プログ
ラムとの入出力処理を行うようにしたから、データソー
ス毎に入出力処理部2を設ける必要がない。よって、ア
プリケーションプログラムを簡素化することができ、ア
プリケーションプログラムを見やすくすることができ
る。よって、プログラムソースの管理やデバッグ作業を
容易に行うことができる。
Therefore, in the input / output processing unit 2 forming the application program, the input / output library 21
The I / O library 21 identifies the data source of the I / O destination based on the identifier identified by the I / O request, and the I / O processing with the corresponding management program. Therefore, it is not necessary to provide the input / output processing unit 2 for each data source. Therefore, the application program can be simplified and the application program can be easily viewed. Therefore, it is possible to easily manage the program source and debug the program.

【0038】また、例えばサブデータベース等のデータ
ソースを新たに追加する場合でも、アプリケーションプ
ログラムに新たに入出力処理部を設ける必要がなく、定
義ファイル6の変更及び入出力ライブラリ21の変更だ
けでよいから、データソースの追加或いは削除等の変更
を容易に行うことができる。なお、上記第1の実施の形
態においては、データソースとしてシーケンサ及びデー
タベースを用いた場合について説明したが、2つに限ら
ず1つ或いは3つ以上のデータソースを適用することも
可能である。
Further, even when a data source such as a sub-database is newly added, it is not necessary to newly provide an input / output processing section in the application program, and only the definition file 6 and the input / output library 21 need to be changed. Therefore, it is possible to easily make a change such as addition or deletion of a data source. In addition, in the said 1st Embodiment, although the case where a sequencer and a database were used as a data source was demonstrated, not only two but one or three or more data sources can also be applied.

【0039】次に、本発明の第2の実施の形態について
説明する。この第2の実施の形態では、識別子とデータ
ソースとの対応を表す対応テーブルを作成しこれをファ
イルに格納するようにしていること以外は、上記第1の
実施に形態と同一である。すなわち、入出力ライブラリ
21では、支援ツール等を用いて、識別子と、この識別
子で特定されるデータソースと、当該データソース用の
管理プログラムの格納位置を表す格納位置情報との対応
を表す対応テーブルを作成し、これをファイルに格納し
ておく。そして、例えば起動時等にこのファイルから対
応テーブルを読み出して主記憶メモリ上に保持する。
Next, a second embodiment of the present invention will be described. The second embodiment is the same as the first embodiment except that a correspondence table showing correspondence between identifiers and data sources is created and stored in a file. That is, in the input / output library 21, a correspondence table showing the correspondence between the identifier, the data source specified by the identifier, and the storage position information indicating the storage position of the management program for the data source, using a support tool or the like. Is created and stored in a file. Then, for example, at the time of startup, the correspondence table is read from this file and held in the main memory.

【0040】そして、入出力ライブラリ21は、入出力
処理部2から要求情報が通知されたときには、図5のフ
ローチャートに示すように、要求情報から識別子を取り
出し(ステップS21)、主記憶メモリ上に読み出した
対応テーブルを参照して、要求情報から取り出した識別
子が対応テーブルに登録されているか否かを判定する
(ステップS22)。そして、登録されている識別子で
ある場合には、対応テーブルから識別子に対応する管理
プログラムの格納位置情報を読み出し、この格納位置情
報で特定される領域に格納された管理プログラムを呼び
出す(ステップS23)。
When the request information is notified from the input / output processing unit 2, the input / output library 21 extracts the identifier from the request information (step S21) and stores it in the main memory as shown in the flowchart of FIG. By referring to the read correspondence table, it is determined whether the identifier extracted from the request information is registered in the correspondence table (step S22). If it is the registered identifier, the storage position information of the management program corresponding to the identifier is read from the correspondence table, and the management program stored in the area specified by this storage position information is called (step S23). .

【0041】これによって、管理プログラムが実行され
て、要求情報で特定されたデータの入力又は出力処理が
行われる。そして、入力要求が行われた場合には、入出
力ライブラリ21は管理プログラムから通知されたデー
タをもとに応答情報を形成し、これを入出力処理部2に
通知する(ステップS24)。一方、要求情報で通知さ
れる識別子が対応テーブルに登録されていない識別子で
ある場合には、異常発生として所定のエラー処理を行う
(ステップS25)。
As a result, the management program is executed, and the input or output processing of the data specified by the request information is performed. Then, when an input request is made, the input / output library 21 forms response information based on the data notified from the management program, and notifies the input / output processing unit 2 of this (step S24). On the other hand, when the identifier notified by the request information is an identifier not registered in the correspondence table, it is determined that an abnormality has occurred and a predetermined error process is performed (step S25).

【0042】したがって、データソースの変更を行う場
合には、支援ツール等によって対応ファイルを操作して
対応テーブルを変更するだけでよく、入出力ライブラリ
21のプログラム自体の変更を行う必要がないから、よ
り容易にデータソースの変更を行うことができる。次
に、本発明の第3の実施の形態を図6に基づいて説明す
る。
Therefore, when changing the data source, it suffices to change the correspondence table by operating the correspondence file with a support tool or the like, and it is not necessary to change the program itself of the input / output library 21. The data source can be changed more easily. Next, a third embodiment of the present invention will be described based on FIG.

【0043】この図6は、第3の実施の形態における管
理システムの機能構成を示したものであり、図1に示す
上記第1の実施の形態における管理システムの機能構成
において、リモート管理プログラム(他装置管理手段)
14を追加したこと以外は同様であるので、同一部には
同一符号を付与し、その詳細な説明は省略する。リモー
ト管理プログラム14は、入出力ライブラリ21によっ
て呼び出され、入出力ライブラリ21からの要求情報に
応じて、LAN等の通信回線を介して接続される他のデ
ータ入出力処理装置とのデータの入出力処理を行う。
FIG. 6 shows the functional configuration of the management system according to the third embodiment. In the functional configuration of the management system according to the first embodiment shown in FIG. 1, the remote management program ( Other device management means)
Since it is the same except that 14 is added, the same reference numerals are given to the same portions, and detailed description thereof will be omitted. The remote management program 14 is called by the input / output library 21 and, according to request information from the input / output library 21, input / output of data with another data input / output processing device connected via a communication line such as a LAN. Perform processing.

【0044】一方、オペレータは定義ファイル6を作成
する時、その入出力先のデータソースを特定する識別子
を付加すると共に、自マシン(ローカル)が管理するデ
ータであるか、他のデータ入出力処理装置(リモート)
が管理するデータであるかを識別する情報である装置識
別子(装置識別情報)をさらに付加する(装置情報付加
手段)。
On the other hand, when the operator creates the definition file 6, the operator adds an identifier for specifying the data source of the input / output destination, and whether the data is managed by the own machine (local) or other data input / output processing. Device (remote)
A device identifier (device identification information) that is information for identifying whether or not the data is managed by (device information adding means).

【0045】すなわち、例えばデータ名“DATA1”
が、自マシンがそのデータを管理するシーケンサのデー
タであるものとすると、図7(a)に示すように、デー
タ名“DATA1”に、シーケンサを表す識別子“D
D”を付加し、さらに、自マシンを表す装置識別子“L
OCAL”を付加する。同様に、例えば、データ名“L
IST1”の情報が、他のデータ入出力処理装置がその
データを管理するデータベースのデータであるものとす
ると、図7(b)に示すように、データベースを表す識
別子“DB”と、他のデータ入出力処理装置を表す装置
識別子“REMOTE”とを付加する。
That is, for example, the data name "DATA1"
However, if it is assumed that the own machine is the data of the sequencer that manages the data, then as shown in FIG. 7A, the data name "DATA1" has an identifier "D" indicating the sequencer.
"D" is added, and the device identifier "L" that represents the own machine is added.
OCAL "is added. Similarly, for example, the data name" L "
Assuming that the information of “IST1” is the data of the database in which the other data input / output processing device manages the data, as shown in FIG. 7B, the identifier “DB” representing the database and the other data. A device identifier "REMOTE" representing an input / output processing device is added.

【0046】そして、制御処理部4では、データの入出
力要求を行う場合には、上記各実施の形態と同様に定義
ファイル6を参照し、例えばデータ名“LIST1”の
データに対する入出力要求を行う場合には、定義ファイ
ル6でその入出力先は“REMOTE¥DB”と定義さ
れているから、これら識別子とデータ名とをもとに入出
力要求を行う要求情報を形成し、これを入出力ライブラ
リ21に通知する。
When making a data input / output request, the control processing section 4 refers to the definition file 6 as in each of the above-described embodiments, and makes an input / output request for data having the data name "LIST1", for example. When performing, since the input / output destination is defined as “REMOTE ¥ DB” in the definition file 6, request information for making an input / output request is formed based on these identifiers and data names, and this is input. Notify the output library 21.

【0047】入出力ライブラリ21では、要求情報が通
知されると、図8のフローチャートに示すように、要求
情報から装置識別子を取り出し(ステップS31)、装
置識別子が“REMOTE”であるかを判定する(ステ
ップS32)。上記の場合、図7(b)に示すように装
置識別子は“REMOTE”であるから、リモート管理
プログラム14を呼び出す(ステップS33)。これに
よってリモート管理プログラム14が実行され、他のデ
ータ入出力処理装置との間でデータ授受を行い、その応
答情報がリモート管理プログラム14から入出力ライブ
ラリ21に通知される。入出力ライブラリ21では、こ
の応答情報を、リモート管理プログラム14の呼び出し
元である入出力処理部2に通知する(ステップS3
4)。
When the input / output library 21 is notified of the request information, as shown in the flowchart of FIG. 8, the device identifier is extracted from the request information (step S31) and it is determined whether the device identifier is "REMOTE". (Step S32). In the above case, since the device identifier is "REMOTE" as shown in FIG. 7B, the remote management program 14 is called (step S33). As a result, the remote management program 14 is executed, data is exchanged with another data input / output processing device, and the response information is notified from the remote management program 14 to the input / output library 21. The input / output library 21 notifies the response information to the input / output processing unit 2 which is the caller of the remote management program 14 (step S3).
4).

【0048】一方、例えば、入出力ライブラリ21が入
出力処理部2から受信した要求情報の装置識別子が図7
(a)に示すように“LOCAL”である場合には、次
に、データソースを識別する識別子を要求情報から取り
出してこれを参照し、“DD”であるか否かを判定する
(ステップS35,S36)。この場合、識別子は“D
D”であるからシーケンサ用管理プログラム12を呼び
出す(ステップS37)。
On the other hand, for example, the device identifier of the request information received by the input / output library 21 from the input / output processing section 2 is shown in FIG.
If it is "LOCAL" as shown in (a), then an identifier for identifying the data source is extracted from the request information and referred to, and it is determined whether or not it is "DD" (step S35). , S36). In this case, the identifier is "D
Since it is "D", the sequencer management program 12 is called (step S37).

【0049】このとき、識別子が“DB”である場合に
はデータベース用管理プログラム11を呼び出す(ステ
ップS38,S39)。そして、識別子が“DD”及び
“DB”の何れでもない場合には異常発生として所定の
エラー処理を実行する(ステップS40)。したがっ
て、他のデータ入出力処理装置間でデータ授受を行う場
合でも、アプリケーションプログラムでは、他のデータ
入出力処理装置からのデータであることを意識すること
なく、自マシンが管理するデータソースとの間でデータ
の入出力を行う場合と同様に処理を行うことができ、ア
プリケーションプログラムを変更することなく、他のデ
ータ入出力処理装置の追加及び削除を容易に行うことが
できると共に、上記第1の実施の形態と同等の効果を得
ることができる。
At this time, if the identifier is "DB", the database management program 11 is called (steps S38, S39). If the identifier is neither "DD" nor "DB", it is determined that an abnormality has occurred and a predetermined error process is executed (step S40). Therefore, even when data is exchanged between other data input / output processing devices, the application program does not need to be aware that the data is from another data input / output processing device and communicates with the data source managed by its own machine. Processing can be performed in the same manner as when data is input / output between data, and addition and deletion of another data input / output processing device can be easily performed without changing the application program. It is possible to obtain the same effect as that of the embodiment.

【0050】また、装置を特定する装置識別子と、デー
タソースを特定する識別子との2段階に識別情報を付加
するようにしたから、他のデータ入出力処理装置でも、
自己で管理するデータソースについてその識別子から呼
び出す管理プログラムを特定することによって上記と同
様に処理を行うことができる。なお、上記第3の実施の
形態では、識別子とデータソース、又は識別子と他のデ
ータ入出力処理装置との対応情報を入出力ライブラリ2
1で保持する場合について説明したが、上記第2の実施
の形態と同様に、対応テーブルを作成しこれをファイル
上で管理するようにすることも可能である。このように
することによって、より容易にデータの入出力先を変更
することができる。
Further, since the identification information is added in two steps, that is, the device identifier for specifying the device and the identifier for specifying the data source, even in other data input / output processing devices,
The same processing as above can be performed by specifying the management program to be called from the identifier of the data source managed by itself. In the third embodiment, the correspondence information between the identifier and the data source, or the correspondence between the identifier and another data input / output processing device is stored in the input / output library 2.
Although the case of holding in 1 has been described, it is also possible to create a correspondence table and manage this on a file as in the second embodiment. By doing so, the input / output destination of data can be changed more easily.

【0051】次に、本発明の第4の実施の形態を説明す
る。図9は、第4の実施の形態における管理システムの
機能構成を示したものであり、前記図1に示す上記第1
の実施の形態における管理システムの機能構成図におい
て、メモリ用管理プログラム15を追加したこと以外は
同様であるので、同一部には同一符号を付与し、その詳
細な説明は省略する。
Next, a fourth embodiment of the present invention will be described. FIG. 9 shows a functional configuration of the management system according to the fourth embodiment. The first embodiment shown in FIG.
In the functional configuration diagram of the management system in the embodiment, the same as the management program 15 except that the memory management program 15 is added, the same portions are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0052】メモリ用管理プログラム15は、入出力ラ
イブラリ21によって呼び出され、入出力ライブラリ2
1からの要求情報に応じて、データの読み込み及び書き
込みを行う。このとき、主記憶メモリにデータを書き込
む場合には、主記憶メモリ上の複数のアプリケーション
プログラムがアクセス可能な領域を登録領域として獲得
し(獲得手段)、この登録領域に書き込み要求が行われ
たデータのデータ名とこれに対応するデータ値とを対応
付けて格納する。そして、書き込み要求が行われたデー
タがすでに登録領域に登録されている場合には、登録領
域の対応するデータ値を更新記憶し、登録領域に未登録
である場合には、主記憶メモリに登録領域を新たに獲得
し、ここにデータ名とデータ値とを対応付けて格納す
る。また、主記憶メモリからデータを読み出す場合に
は、メモリ用管理プログラム15が登録領域を参照し、
読み出し要求されたデータのデータ名を検索して対応す
るデータ値を読み出す(メモリデータ管理手段)。
The memory management program 15 is called by the input / output library 21,
Data is read and written according to the request information from 1. At this time, when writing data to the main storage memory, an area accessible by a plurality of application programs on the main storage memory is acquired as a registration area (acquisition means), and the data requested to be written in this registration area is acquired. The data name and the corresponding data value are stored in association with each other. Then, if the data requested to be written is already registered in the registration area, the corresponding data value in the registration area is updated and stored, and if it is not registered in the registration area, it is registered in the main memory. A new area is acquired, and the data name and the data value are stored therein in association with each other. When reading data from the main memory, the memory management program 15 refers to the registration area,
The data name of the data requested to be read is searched and the corresponding data value is read (memory data management means).

【0053】一方、オペレータは定義ファイル6を作成
する場合には、その入出力先のデータソースを特定する
識別子として、主記憶メモリ上のデータである場合には
例えば“VD”を付加する。また、入出力ライブラリ2
1は、上記第1の実施の形態と同様に、識別子に応じて
対応する管理プログラムを呼び出し、識別子が“VD”
である場合には、メモリ用管理プログラム15を呼び出
す。
On the other hand, when the operator creates the definition file 6, the operator adds "VD" as the identifier for specifying the data source of the input / output destination when the data is on the main memory. I / O library 2
1 calls the corresponding management program according to the identifier as in the first embodiment, and the identifier is "VD".
If so, the memory management program 15 is called.

【0054】次に、上記第4の実施の形態の動作を説明
する。例えば、今、アプリケーションプログラムのシミ
ュレーションを行うものとする。オペレータは、まず、
主記憶メモリへのシミュレーション用のデータの書き込
みを行い、例えばシミューレーション用データの設定支
援ツール等を用いて、シミュレーションで必要とするデ
ータを主記憶メモリに書き込む。これによって、制御処
理部4が、主記憶メモリを表す識別子“VD”及びデー
タ名が付加されたデータ値に対する書き込み要求を行
い、これが入出力処理部2を介して入出力ライブラリ2
1に通知される。入出力ライブラリ21では、識別子が
“VD”であることからメモリ用管理プログラム15を
呼び出し、主記憶メモリ上に登録領域を獲得し、ここに
データ名及びデータ値を対応付けて格納する。
Next, the operation of the above fourth embodiment will be described. For example, assume that an application program is simulated now. First, the operator
Data for simulation is written to the main memory, and data required for simulation is written to the main memory by using, for example, a simulation data setting support tool. As a result, the control processing unit 4 makes a write request to the data value to which the identifier “VD” representing the main memory and the data name are added, and this is sent via the input / output processing unit 2 to the input / output library 2
1 is notified. Since the identifier is "VD", the input / output library 21 calls the memory management program 15 to acquire a registration area in the main memory, and stores the data name and data value in association therewith.

【0055】オペレータは、必要なシミュレーション用
のデータの書き込みが終了すると、次に、定義ファイル
6の支援ツール5を操作し、アプリケーションプログラ
ムにおいてデータベース104及びシーケンサ105に
対して入出力要求を行うデータについては、その入出力
先のデータソースを特定する識別子を全て主記憶メモリ
を特定する識別子“VD”に変更する。
When the operator finishes writing the necessary simulation data, he / she then operates the support tool 5 of the definition file 6 to input / output data to / from the database 104 and sequencer 105 in the application program. Changes all the identifiers that specify the data source of the input / output destination to the identifier "VD" that specifies the main memory.

【0056】そして、この状態でアプリケーションプロ
グラムを実行すると、アプリケーションプログラムが各
データソースに対して入出力要求を行うと、例えば、シ
ーケンサ104のデータであるデータ名“DATA1”
について入力要求を行ったとすると、定義ファイル6で
は、データ名“DATA1”は、主記憶メモリ上のデー
タとして設定されているから、入出力ライブラリ21に
対して通知される要求情報で特定されるデータは“VD
¥DATA1”となる。よって、入出力ライブラリ21
では、識別子が“VD”であるから主記憶メモリ用の管
理プログラム15を呼び出す。
When the application program is executed in this state, when the application program makes an input / output request to each data source, for example, the data name "DATA1" which is the data of the sequencer 104 is displayed.
, The data name “DATA1” is set as the data in the main memory in the definition file 6, and therefore the data specified by the request information notified to the input / output library 21. Is "VD
\ DATA1 ". Therefore, the input / output library 21
Then, since the identifier is "VD", the management program 15 for the main memory is called.

【0057】そして管理プログラム15が、主記憶メモ
リの登録領域を参照し、データ名“DATA1”に対応
するデータ値、すなわち、シミュレーション用データを
読み込む。同様にして、シーケンサ105及びデータベ
ース104に対するデータは全てシミュレーション用デ
ータとなり、これによってアプリケーションプログラム
のシミュレーションが行われる。
Then, the management program 15 refers to the registration area of the main memory and reads the data value corresponding to the data name "DATA1", that is, the simulation data. Similarly, all the data for the sequencer 105 and the database 104 becomes simulation data, and the application program is simulated by this.

【0058】そして、シミュレーションが終了した場合
には、再度定義ファイル6を支援ツール5によって操作
し、各データの入出力先を表す識別子をそれぞれデータ
ベース104又はシーケンサ105を特定する元の識別
子に戻すことによって、データベース104又はシーケ
ンサ105とのデータ入出力が可能となって、通常の運
用を行うことができるようになる。
When the simulation is completed, the definition file 6 is operated again by the support tool 5 to return the identifiers indicating the input / output destinations of the respective data to the original identifiers for specifying the database 104 or the sequencer 105, respectively. As a result, data input / output with the database 104 or the sequencer 105 becomes possible, and normal operation can be performed.

【0059】したがって、主記憶メモリ上へのデータの
書き込み及び読み込みを行う主記憶メモリ用の管理プロ
グラム15についても、入出力ライブラリ21を介して
呼び出すようにしたから、主記憶メモリ上のデータにつ
いてもデータベース104或いはシーケンサ105に対
する入出力要求と同様の手順で入出力要求を行うことが
でき、よって、これら間でのデータの入出力先を容易に
変更することができる。よって、定義ファイル6を変更
し、入出力ライブラリ21に主記憶メモリに対する識別
子と管理プログラムとの対応を登録するだけで、アプリ
ケーションプログラムを変更することなくシミュレーシ
ョンを容易に行うことができる。
Therefore, the management program 15 for the main memory, which writes and reads data in the main memory, is also called via the input / output library 21, so that the data in the main memory can also be read. The input / output request can be made in the same procedure as the input / output request to the database 104 or the sequencer 105, so that the input / output destination of data between them can be easily changed. Therefore, only by changing the definition file 6 and registering the correspondence between the identifier for the main memory and the management program in the input / output library 21, the simulation can be easily performed without changing the application program.

【0060】また、メモリ用管理プログラム15によっ
て、主記憶メモリのデータをデータ名及びデータ値を対
応付けて管理するようにしたから、アプリケーションプ
ログラムではデータ名を指定するだけで主記憶メモリ上
のデータの設定或いは参照を行うことができ、よって、
主記憶メモリ上のデータに対して複数のアプリケーショ
ンプログラムがデータの更新或いは参照を行うことがで
きる。
Since the memory management program 15 manages the data in the main memory by associating the data name and the data value with each other, the data in the main memory can be stored in the application program only by designating the data name. You can set or refer to
A plurality of application programs can update or refer to the data in the main memory.

【0061】なお、上記第4の実施の形態においては、
各データソースを特定する識別子とこれに対応する管理
プログラムとの対応を入出力ライブラリ21に登録する
場合について説明したが、上記第2の実施の形態と同様
に対応テーブルを作成してこれをファイル上で管理する
ようにすることも可能である。このようにすることによ
って、データ入出力先の変更を容易に行うことができ
る。
In the fourth embodiment described above,
The case where the correspondence between the identifier for identifying each data source and the management program corresponding to the data source is registered in the input / output library 21 has been described. However, as in the second embodiment, a correspondence table is created and stored as a file. It is also possible to manage above. By doing so, it is possible to easily change the data input / output destination.

【0062】また、このように対応テーブルを作成して
これをファイル上で管理していれば、定義ファイル6を
変更せずに、対応テーブルにおいて、データベース10
4,シーケンサ105の識別子に対応する管理プログラ
ムの格納位置情報を、主記憶メモリ用の管理プログラム
の格納位置情報に変更することによっても、上記と同様
に、データの入出力先を容易に変更することができ、上
記と同等の効果を得ることができる。
Further, if the correspondence table is created in this way and is managed on a file, the database 10 is stored in the correspondence table without changing the definition file 6.
4. By changing the storage location information of the management program corresponding to the identifier of the sequencer 105 to the storage location information of the management program for the main memory, the data input / output destination can be easily changed in the same manner as above. It is possible to obtain the same effect as the above.

【0063】また、上記第1から第4の各実施の形態に
おいては、1つのアプリケーションプログラムが入出力
ライブラリ21を呼び出す場合について説明したが、複
数のアプリケーションプログラムが入出力ライブラリ2
1を呼び出すことも可能であり、この場合、入出力ライ
ブラリ21では、入出力ライブラリ21を呼び出したア
プリケーションプログラムを記憶しておき、呼び出した
アプリケーションプログラムに対して応答情報を通知す
る。
In each of the first to fourth embodiments described above, the case where one application program calls the input / output library 21 has been described.
It is also possible to call 1. In this case, the input / output library 21 stores the application program that called the input / output library 21, and notifies the called application program of the response information.

【0064】次に、本発明の第5の実施の形態について
説明する。この第5の実施の形態は、上記第4の実施の
形態において、メモリ用管理プログラム15に、データ
管理機能を設けたこと以外は上記第4の実施の形態と同
様であるので、その詳細な説明は省略する。この第5の
実施の形態における、メモリ用管理プログラム15で
は、主記憶メモリに書き込みを行う場合に、書き込みを
行うデータ名が登録領域にすでに登録されているか否か
を判定し、登録されていないときには、書き込みを行っ
たアプリケーションプログラムを特定するプログラム特
定情報(起動元特定情報)もデータ名に対応付けて登録
領域に登録する(起動元情報格納手段)。
Next explained is the fifth embodiment of the invention. The fifth embodiment is the same as the fourth embodiment except that the memory management program 15 is provided with the data management function in the fourth embodiment. The description is omitted. In the memory management program 15 according to the fifth embodiment, when writing to the main storage memory, it is determined whether or not the data name to be written is already registered in the registration area, and it is not registered. Sometimes, the program specifying information (starting source specifying information) for specifying the written application program is also registered in the registration area in association with the data name (starting source information storage means).

【0065】一方、前記入出力ライブラリ21では、主
記憶メモリに対する入出力の要求情報がシステム制御部
1、すなわち、アプリケーションプログラムから通知さ
れたとき、このシステム制御部1を特定するアプリケー
ション特定情報を要求情報に付加してメモリ用管理プロ
グラム15に通知する。また、システム制御部1から処
理終了通知を受信したとき、このシステム制御部1を特
定するアプリケーション特定情報と対応付けられた主記
憶メモリ上のデータ名に関連する情報を全て削除する要
求を、メモリ用管理プログラム15に対して行う(メモ
リ領域管理手段)。
On the other hand, in the input / output library 21, when the input / output request information for the main memory is notified from the system controller 1, that is, the application program, the application specifying information for specifying the system controller 1 is requested. It is added to the information and notified to the memory management program 15. Further, when the processing end notification is received from the system control unit 1, a request for deleting all information related to the data name on the main memory associated with the application specifying information for specifying the system control unit 1 is issued to the memory. The management program 15 is executed (memory area management means).

【0066】次に、上記第5の実施の形態の動作を、メ
モリ用管理プログラム15の処理手順を示すフローチャ
ートに基づいて説明する。例えば、アプリケーションプ
ログラムAP1によって主記憶メモリに対する書き込み
要求が行われたものとする。入出力ライブラリ21は、
入出力処理部2からの要求情報から識別子を取り出し、
この場合、主記憶メモリを特定する識別子“VD”を取
り出し、これに基づきメモリ用の管理プログラム15を
呼び出すと共に、アプリケーションプログラムAP1を
特定するアプリケーション特定情報を付加してメモリ用
の管理プログラム15に要求情報を通知する。
Next, the operation of the fifth embodiment will be described with reference to the flowchart showing the processing procedure of the memory management program 15. For example, it is assumed that the application program AP1 makes a write request to the main memory. The input / output library 21 is
The identifier is extracted from the request information from the input / output processing unit 2,
In this case, the identifier "VD" for specifying the main memory is taken out, the memory management program 15 is called based on this, and the memory management program 15 is requested by adding the application specifying information for specifying the application program AP1. Notify the information.

【0067】メモリ用の管理プログラム15では、図1
0に示すように、通知された要求情報からデータ名を取
り出して主記憶メモリに登録されているデータ名である
か否かを判定する(ステップS41)。そして、主記憶
メモリに登録されていないデータ名である場合には、主
記憶メモリに登録領域を獲得する(ステップS42)。
次いで、要求情報からデータ名及びアプリケーション特
定情報を取り出してこれを登録領域に登録し(ステップ
S43)、次いで要求情報で特定されるデータ値を登録
領域のデータ名に対応する位置に格納する(ステップS
44)。
The management program 15 for the memory is shown in FIG.
As shown in 0, the data name is extracted from the notified request information and it is determined whether or not the data name is registered in the main memory (step S41). If the data name is not registered in the main memory, the registration area is acquired in the main memory (step S42).
Next, the data name and the application specifying information are extracted from the request information and registered in the registration area (step S43), and then the data value specified by the request information is stored in the position corresponding to the data name of the registration area (step S43). S
44).

【0068】一方、すでに登録済のデータ名に対して書
き込みを行う場合には、すでに格納されているデータ値
を、新たに設定するデータ値に更新記憶する(ステップ
S44)。そして、他のアプリケーションプログラムA
P2が主記憶メモリに対して書き込みを行う場合にも、
上記と同様に入出力ライブラリ21を介して書き込みを
行い、メモリ用管理プログラム15では、アプリケーシ
ョンプログラムAP2が書き込み要求を行ったデータ名
について登録領域を検索し、未登録のデータ名である場
合には、登録領域を獲得し、データ名とアプリケーショ
ンプログラムAP2を特定するアプリケーション特定情
報とを対応付けて登録領域に格納する。
On the other hand, when writing to the already registered data name, the already stored data value is updated and stored as the newly set data value (step S44). And another application program A
Even when P2 writes to the main memory,
Writing is performed via the input / output library 21 in the same manner as described above, and the memory management program 15 searches the registered area for the data name for which the application program AP2 has made a write request, and if it is an unregistered data name, The registration area is acquired, and the data name and the application specifying information for specifying the application program AP2 are stored in the registration area in association with each other.

【0069】そして、アプリケーションプログラムAP
1の処理が終了すると、アプリケーションプログラムA
P1が入出力ライブラリ21に対して処理終了通知を行
う。これを受けて、入出力ライブラリ21では、メモリ
用管理プログラム15に対して登録領域の各データ名に
ついて、アプリケーションプログラムAP1を特定する
アプリケーション特定情報と対応付けられたデータ名に
関連する情報を削除するよう要求を行う。これによっ
て、メモリ用管理プログラム15が実行され、主記憶メ
モリの登録領域を参照し、指定されたアプリケーション
特定情報と対応付けられたデータ名を検索し、該当する
データ名とデータ値とアプリケーション特定情報とを削
除する。
Then, the application program AP
When the process of 1 is completed, the application program A
P1 notifies the input / output library 21 of the end of processing. In response to this, the input / output library 21 deletes the information related to the data name associated with the application identification information that identifies the application program AP1 for each data name of the registration area in the memory management program 15. To make a request. As a result, the memory management program 15 is executed, the registration area of the main memory is referenced, the data name associated with the specified application identification information is searched, and the corresponding data name, data value, and application identification information are searched. And are deleted.

【0070】これによって、アプリケーションプログラ
ムAP1によって使用されていた登録領域が未使用領域
となる。したがって、、処理が終了したアプリケーショ
ンプログラムが獲得した登録領域は未使用領域に戻すよ
うにしたから、例えば、複数のアプリケーションプログ
ラムが主記憶メモリに対してアクセスを行う場合でも、
従来のように、全てのアプリケーションプログラムが終
了するまでメモリ領域が複数のアプリケーションプログ
ラムによって獲得されたままとなることはなく、メモリ
領域を有効に活用することができる。
As a result, the registration area used by the application program AP1 becomes an unused area. Therefore, since the registered area acquired by the application program that has completed the processing is returned to the unused area, even when a plurality of application programs access the main memory, for example,
The memory area does not remain acquired by a plurality of application programs until all the application programs are finished as in the conventional art, and the memory area can be effectively used.

【0071】なお、上記第5の実施の形態においては、
アプリケーションプログラムからの処理終了通知を受け
て入出力ライブラリ21がメモリ用管理プログラム15
に対して削除要求を行うようにしたが、例えばアプリケ
ーションプログラムが処理終了時にメモリ用管理プログ
ラム15に対して削除要求を行うようにすることも可能
である。
In the above fifth embodiment,
Upon receipt of the processing end notification from the application program, the input / output library 21 causes the memory management program 15
However, it is also possible for the application program to make a deletion request to the memory management program 15 at the end of processing.

【0072】次に、本発明の第6の実施の形態について
説明する。この第6の実施の形態は、上記第1の実施の
形態において、システム制御部1と入出力ライブラリ2
1との間での入出力要求情報の形成方法が異なること以
外は、同一であるので、その詳細な説明は省略する。前
記制御処理部4では、複数のデータに対して同一の値を
設定する場合、例えば、初期設定のゼロクリアを行う場
合には設定すべきデータ名を予め設定した連結形式、例
えば連結記号“>”で連結し、これにデータ値を付加し
て要求情報を形成する。
Next explained is the sixth embodiment of the invention. The sixth embodiment is the same as the first embodiment except that the system controller 1 and the input / output library 2 are used.
The input and output request information is the same as that of the input / output request information, and the detailed description thereof will be omitted. In the control processing unit 4, when the same value is set for a plurality of data, for example, when initializing zero clear, the data name to be set is a preset linking format, for example, the linking symbol “>”. , And a data value is added to this to form request information.

【0073】例えば、シーケンサ105のデータ名“D
ATA1”及び“DATA2”についてデータ値として
零を設定する場合には、図11(a)に示すように、識
別子を付加した二つのデータ名を連結記号“>”で連結
しこれにデータ値零を付加する。さらに、例えば“DA
TA3”についてもデータ値として零を設定する場合に
は、“DATA2”の右側にさらに連結記号“>”で連
結する。このとき、最も左側にあるデータ名についての
設定から行うものとする。
For example, the data name "D" of the sequencer 105
When zero is set as a data value for ATA1 ”and“ DATA2 ”, as shown in FIG. 11A, two data names with an identifier are connected by a concatenation symbol“> ”and the data value is zero. In addition, for example, "DA
When zero is set as a data value also for TA3 ", it is further connected to the right side of" DATA2 "by a connecting symbol">", at this time, the setting for the data name on the leftmost side is performed.

【0074】また、制御処理部4では、あるデータ名に
設定されているデータ値を他のデータ名のデータ値とし
て設定する場合、例えば、あるデータ名に設定されてい
るデータ値によって複数のデータ名に対して初期設定を
行う場合等には、識別子を付加した二つのデータ名を予
め設定した連結形式、例えば連結記号“<”で連結しこ
れをもとに要求情報を形成する。
Further, in the control processing unit 4, when a data value set in a certain data name is set as a data value in another data name, for example, a plurality of data are set according to the data value set in a certain data name. When the initial setting is performed for the name, the two data names to which the identifiers are added are linked by a preset link format, for example, the link symbol "<", and the request information is formed based on this link.

【0075】例えば、シーケンサ105のデータ名“D
ATA2”に初期値として設定されているデータ値をデ
ータ名“DATA1”に設定する場合には、図11
(b)に示すように、データ値を読み込むデータ名を連
結記号“<”の右側に記載し、連結記号“<”の左側に
読み込んだ値を設定するデータ名を記載する。さらに、
例えば“DATA3”のデータ値としても“DATA
2”のデータ値を設定する場合には、“DATA1”の
左側に連結記号“<”で連結する。このとき、入出力ラ
イブラリ21では、最も右側にあるデータ名のデータ値
を読み込み、このデータ値を最も右側にあるデータ名と
連結記号“<”で連結されるデータ名から順に左側にあ
るデータ名へと設定するものとする。
For example, the data name "D" of the sequencer 105
When the data value set as the initial value in ATA2 ”is set in the data name“ DATA1 ”,
As shown in (b), the data name for reading the data value is described on the right side of the concatenation symbol “<”, and the data name for setting the read value is described on the left side of the concatenation symbol “<”. further,
For example, even if the data value of "DATA3" is "DATA
When setting the data value of "2", it is connected to the left side of "DATA1" by the concatenation symbol "<". At this time, the input / output library 21 reads the data value of the data name on the rightmost side and It is assumed that the values are set in order from the data name on the rightmost side and the data name connected by the concatenation symbol “<” to the data name on the left side.

【0076】一方、入出力ライブラリ21では、要求情
報として図11(a)に示すように連結記号“>”で連
結されたデータ名が指定された場合には、連結記号
“>”の左側に記載されたデータ名から順に入出力処理
を行い、初めに“DD¥DATA1”について処理を行
う。そして、識別子“DD”に基づき、シーケンサ用管
理プログラム11を呼び出してデータ名“DATA1”
に零を設定するよう出力要求を行う。そして、次のデー
タ名の識別子も“DD”であることから、引き続きデー
タ名“DATA2”に零を設定するように出力要求を行
う。
On the other hand, in the input / output library 21, when the data name linked by the concatenation symbol “>” is designated as the request information as shown in FIG. 11A, it is located on the left side of the concatenation symbol “>”. Input / output processing is performed in order from the described data name, and processing is first performed for "DD \ DATA1". Then, based on the identifier "DD", the management program for sequencer 11 is called and the data name "DATA1"
Request output to set to zero. Then, since the identifier of the next data name is also "DD", the output request is made to continuously set the data name "DATA2" to zero.

【0077】また、入出力ライブラリ21では、要求情
報として図11(b)に示すように連結記号“<”で連
結されたデータ名が指定された場合には、まず、連結記
号“<”の右側に記載された“DD¥DATA2”につ
いて入出力処理を行い、識別子“DD”に基づきシーケ
ンサ用管理プログラム11を呼び出して、データ名“D
ATA2”の入力要求を行う。そして、シーケンサ用管
理プログラム11からシーケンサ105に設定されてい
る“DATA2”のデータ値が通知されると、連結記号
“<”の左側に記載されている“DD¥DATA1”と
して、通知されたDATA2”のデータ値を設定するよ
うに出力要求を行う。
In the input / output library 21, when the data name linked by the concatenation symbol "<" is designated as the request information as shown in FIG. 11B, first, the concatenation symbol "<" Input / output processing is performed for "DD \ DATA2" described on the right side, and the sequencer management program 11 is called based on the identifier "DD" to obtain the data name "D".
ATA2 ”is input. When the sequencer management program 11 notifies the data value of“ DATA2 ”set in the sequencer 105,“ DD ¥ ”written to the left of the concatenation symbol“ <” An output request is made to set the notified data value of DATA2 ″ as DATA1 ″.

【0078】したがって、入出力処理部2では、2つの
データ名に対してデータの設定を行う場合でも、データ
名ごとに入出力ライブラリ21を呼び出す必要はなく、
一度の呼び出して2つのデータ名についての設定を行う
ことができるから、設定に要する処理時間を短縮するこ
とができ、処理効率を向上させることができる。特に、
初期設定でゼロクリアを行う場合等、複数のデータ名に
ついて零を設定する場合等には、入出力ライブラリ21
を一度呼び出せば、入出力処理部2からの要求情報に基
づいて入出力ライブラリ21が複数のデータ名に対する
入出力処理を行うから、入出力ライブラリ21をデータ
名毎に呼び出す必要がなく、その分処理時間を短縮する
ことができる。
Therefore, in the input / output processing unit 2, even when setting data for two data names, it is not necessary to call the input / output library 21 for each data name.
Since two data names can be called once and set, the processing time required for setting can be shortened and the processing efficiency can be improved. Especially,
The input / output library 21 is used when zero is set for a plurality of data names, such as when performing zero clear in the initial setting.
Is called once, the input / output library 21 performs input / output processing for a plurality of data names based on the request information from the input / output processing unit 2. Therefore, it is not necessary to call the input / output library 21 for each data name. The processing time can be shortened.

【0079】また、すでに設定されている“DATA
2”のデータ値を“DATA1”の初期値として設定す
る場合等にも、“DATA2”のデータ値として通知さ
れた値を入出力ライブラリ21において“DATA1”
のデータ値として設定するようにしたから、読み込んだ
データ値がアプリケーションプログラムを介さずに設定
できることになって、その分処理効率を向上させること
ができる。
In addition, the already set "DATA
Even when the data value of 2 ”is set as the initial value of“ DATA1 ”, the value notified as the data value of“ DATA2 ”is set to“ DATA1 ”in the input / output library 21.
Since the read data value can be set without the application program, the processing efficiency can be improved.

【0080】なお、上記第6の実施の形態では、同一の
データソースのデータについて入出力要求を行う場合に
ついて説明したが、異なるデータソースのデータについ
ても同様に処理することができる。また、上記第6の実
施の形態では、複数のデータ値として同一データを設定
する場合、或いは、データソースから読み込んだあるデ
ータ名のデータ値を他のデータ名のデータ値として設定
する場合について説明したが、これに限らず、アプリケ
ーションプログラムと入出力ライブラリ21との間で連
結形式を予め設定しておけば任意の処理を実行させるこ
とができ、例えば、アプリケーションプログラムからの
一度の入力要求によって、複数のデータ名のデータ値を
読み込むようにすることも可能である。
In the sixth embodiment described above, the input / output request is made for the data of the same data source, but the data of different data sources can be processed in the same manner. Further, in the sixth embodiment, a case where the same data is set as a plurality of data values or a case where a data value of a certain data name read from a data source is set as a data value of another data name will be described. However, the present invention is not limited to this, and if the connection format is preset between the application program and the input / output library 21, arbitrary processing can be executed. For example, by a single input request from the application program, It is also possible to read the data values of multiple data names.

【0081】さらに、上記第6の実施の形態では、連結
形式として“<”又は“>”により連結する場合につい
て説明したがこれに限らず、任意に設定することも可能
である。なお、上記第1から第6の実施の形態において
は、本発明におけるデータ入出力処理装置を図12の管
理システムに適用した場合について説明したが、これに
限らず、任意に適用することができる。
Further, in the sixth embodiment, the case where the connection is made by "<" or ">" has been described, but the connection form is not limited to this and can be set arbitrarily. In the first to sixth embodiments, the case where the data input / output processing device according to the present invention is applied to the management system of FIG. 12 has been described, but the present invention is not limited to this and can be arbitrarily applied. .

【0082】[0082]

【発明の効果】以上説明したように、請求項1に係るデ
ータ入出力処理装置によれば、入出力要求されたデータ
に付加された識別情報をもとに、データソース選択手段
がその入出力先のデータソースを特定しこれに対応する
データソース管理手段との間で入出力要求の要求内容に
応じて入出力処理を行うようにしたから、入出力処理部
はデータソース選択手段との間でのみ入出力処理を行え
ばよい。したがって、入出力処理部とデータソース管理
手段とを互いに独立して扱うことができるから、主制御
処理手段を処理要求手段と入出力処理手段とからなる簡
単な構成とすることができ、よって、データソース管理
手段の追加或いは削除等の変更を行う場合でも主制御処
理手段を変更することなく行うことができ、例えば主制
御処理手段としてアプリケーションプログラムを適用し
た場合等には、アプリケーションプログラムを変更する
ことなく、データソースの追加或いは削除等の変更を行
うことができる。
As described above, according to the data input / output processing device of the first aspect, the data source selection means performs the input / output operation based on the identification information added to the data requested to be input / output. Since the previous data source is specified and the input / output processing is performed with the corresponding data source management means in accordance with the content of the input / output request, the input / output processing unit is connected to the data source selection means. Input / output processing should be performed only in. Therefore, since the input / output processing unit and the data source management unit can be handled independently of each other, the main control processing unit can have a simple configuration including the processing request unit and the input / output processing unit. Even when the data source managing means is added or deleted, it can be changed without changing the main control processing means. For example, when the application program is applied as the main control processing means, the application program is changed. It is possible to add or delete a data source without changing the data source.

【0083】また、請求項2に係るデータ入出力処理装
置によれば、データソースの追加或いは削除等の変更を
行う場合には、データソース選択手段については、その
処理内容を変更することなく、ファイル上の識別情報と
データソースとの対応を変更するだけでよいから、デー
タソースの変更をより容易に行うことができる。また、
請求項3に係るデータ入出力処理装置によれば、他のデ
ータ入出力処理装置で管理するデータには装置識別情報
を付加するようにしたから、他のデータ入出力処理装置
についてもデータソースと同様に扱うことができ、デー
タ入出力処理装置の追加削除等を容易に行うことができ
る。
According to the data input / output processing device of the second aspect, when the data source is added or deleted, the data source selecting means does not change its processing content. Since it is only necessary to change the correspondence between the identification information on the file and the data source, the data source can be changed more easily. Also,
According to the data input / output processing device according to the third aspect, the device identification information is added to the data managed by the other data input / output processing device. It can be handled in the same manner, and the addition and deletion of the data input / output processing device can be easily performed.

【0084】また、請求項4に係るデータ入出力処理装
置によれば、メモリアクセス手段によって、主記憶メモ
リの書き込みデータをそのデータ名とデータ値とを対応
付けて管理するようにしたから、主制御処理手段では、
主記憶メモリについてもデータソースと同様に扱うこと
ができ、例えばデータの入出力先をデータソースから主
記憶メモリに変更する場合でも、主制御処理手段を変更
することなく容易に行うことができる。
According to the data input / output processing device of the fourth aspect, the memory access means manages the write data in the main memory by associating the data name with the data value. In the control processing means,
The main memory can be treated in the same manner as the data source, and, for example, even when the data input / output destination is changed from the data source to the main memory, it can be easily performed without changing the main control processing means.

【0085】また、請求項5に係るデータ入出力処理装
置によれば、主制御処理手段によって主記憶メモリに書
き込まれたデータは、この主制御処理手段の処理が終了
したときに主記憶メモリから削除され、その登録領域が
未使用領域に戻されるから、主記憶メモリを有効に活用
することができる。さらに、請求項6に係るデータ入出
力処理装置によれば、複数のデータに対しての入出力要
求を行う場合には、処理要求手段が予め設定した連結形
式で前記複数のデータに対応するデータ名を連結した連
結データ名を用いて入出力要求を行うことによって、デ
ータソース選択手段が各データ毎に所定のデータソース
管理手段との間で入出力処理を行うから、処理要求手段
がデータソース選択手段に対して一度のデータ入出力要
求を行うことによって、複数のデータに対する入出力処
理を行うことができ、処理効率を向上させることができ
る。
Further, according to the data input / output processing device of the fifth aspect, the data written in the main memory by the main control processing means is stored in the main memory when the processing of the main control processing means is completed. Since the deleted area is returned and the registered area is returned to the unused area, the main memory can be effectively used. Further, according to the data input / output processing device of the sixth aspect, when an input / output request is made for a plurality of data, the data corresponding to the plurality of data in a concatenated format preset by the processing requesting means. By making an input / output request using a concatenated data name in which the names are concatenated, the data source selection means performs input / output processing with a predetermined data source management means for each data, so that the processing request means is the data source. By making a single data input / output request to the selection means, input / output processing for a plurality of data can be performed, and processing efficiency can be improved.

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

【図1】本発明の第1の実施の形態における計算機の機
能構成図である。
FIG. 1 is a functional configuration diagram of a computer according to a first embodiment of this invention.

【図2】本発明の第1の実施の形態の動作説明に供する
説明図である。
FIG. 2 is an explanatory diagram for explaining the operation of the first embodiment of the present invention.

【図3】本発明の第1の実施の形態における制御処理部
の処理手順の一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of a processing procedure of a control processing unit according to the first embodiment of the present invention.

【図4】本発明の第1の実施の形態における入出力ライ
ブラリの処理手順の一例を示すフローチャートである。
FIG. 4 is a flowchart showing an example of a processing procedure of an input / output library according to the first embodiment of the present invention.

【図5】本発明の第2の実施の形態における入出力ライ
ブラリの処理手順の一例を示すフローチャートである。
FIG. 5 is a flowchart showing an example of a processing procedure of an input / output library according to the second embodiment of the present invention.

【図6】本発明の第3の実施の形態における計算機の機
能構成図である。
FIG. 6 is a functional configuration diagram of a computer according to a third embodiment of this invention.

【図7】本発明の第3の実施の形態の動作説明に供する
説明図である。
FIG. 7 is an explanatory diagram for explaining the operation of the third embodiment of the present invention.

【図8】本発明の第3の実施の形態における入出力ライ
ブラリの処理手順の一例を示すフローチャートである。
FIG. 8 is a flowchart showing an example of a processing procedure of an input / output library according to the third embodiment of the present invention.

【図9】本発明の第4の実施の形態における計算機の機
能構成図である。
FIG. 9 is a functional configuration diagram of a computer according to a fourth embodiment of this invention.

【図10】本発明の第5の実施の形態におけるメモリ用
管理プログラムの処理手順の一例を示すフローチャート
である。
FIG. 10 is a flowchart showing an example of a processing procedure of a memory management program according to the fifth embodiment of the present invention.

【図11】本発明の第6の実施の形態の動作説明に供す
る説明図である。
FIG. 11 is an explanatory diagram for explaining the operation of the sixth embodiment of the present invention.

【図12】データ入出力処理装置を適用した管理システ
ムの一例を示す概略構成図である。
FIG. 12 is a schematic configuration diagram showing an example of a management system to which a data input / output processing device is applied.

【図13】管理システムの表示画面の一例である。FIG. 13 is an example of a display screen of the management system.

【図14】従来のデータ入出力処理装置の一例を示す機
能構成図である。
FIG. 14 is a functional configuration diagram showing an example of a conventional data input / output processing device.

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

1 システム制御部 2 入出力処理部 3 画像表示処理部 4 制御処理部 6 定義ファイル 11 データベース用管理プログラム 12 シーケンサ用管理プログラム 14 リモート管理プログラム 15 メモリ用管理プログラム 21 入出力ライブラリ 101 計算機 101a 表示装置 102 読み取り装置 104 データベース 105 シーケンサ 1 system control unit 2 input / output processing unit 3 image display processing unit 4 control processing unit 6 definition file 11 database management program 12 sequencer management program 14 remote management program 15 memory management program 21 input / output library 101 computer 101a display device 102 Reader 104 Database 105 Sequencer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 データソースに対するデータの入出力要
求を、当該入出力要求で要求されるデータである要求デ
ータを特定するデータ名を伴って行う処理要求手段と、
前記データソース毎に設けられ且つ前記データソースと
の間の入出力処理を行うデータソース管理手段と、前記
処理要求手段と共に主制御処理手段を構成し且つ前記処
理要求手段での前記入出力要求の要求内容を前記データ
ソース管理手段に伝達する入出力処理手段と、を備えた
データ入出力処理装置において、前記データ名に当該デ
ータ名で特定される要求データの入出力先のデータソー
スを特定する識別情報を予め付加する識別情報付加手段
と、前記入出力処理手段と前記データソース管理手段と
の間に介挿されると共に、前記入出力処理手段を介して
伝達される前記データ名に付加された識別情報に基づき
前記要求データの入出力先であるデータソースを特定
し、当該データソースに対応する前記データソース管理
手段との間で前記要求内容に応じた入出力処理を行うデ
ータソース選択手段と、を備えることを特徴とするデー
タ入出力処理装置。
1. A process requesting means for making a data input / output request to a data source, together with a data name for specifying request data which is data requested by the input / output request.
A data source management unit that is provided for each data source and that performs input / output processing with the data source, and a main control processing unit together with the processing requesting unit, and that of the input / output request by the processing requesting unit. In a data input / output processing device comprising an input / output processing means for transmitting request contents to the data source management means, a data source of an input / output destination of request data specified by the data name is specified in the data name. It is inserted between the identification information adding means for adding identification information in advance, the input / output processing means and the data source management means, and is added to the data name transmitted through the input / output processing means. A data source that is an input / output destination of the request data is specified based on the identification information, and the data source management means corresponding to the data source is required to perform the above-mentioned operation. Data access processing apparatus characterized by comprising: a data source selection means for performing output processing in accordance with the contents, the.
【請求項2】 前記識別情報と前記データソース管理手
段との対応をファイル上で管理するようにしたことを特
徴とする請求項1記載のデータ入出力処理装置。
2. The data input / output processing device according to claim 1, wherein the correspondence between the identification information and the data source management means is managed on a file.
【請求項3】 前記識別情報付加手段は、他のデータ入
出力処理装置との間でデータの入出力を行う場合、前記
要求データの入出力先であるデータ入出力処理装置を特
定する装置識別情報を前記データ名に付加する装置情報
付加手段を有し、前記データソース選択手段は前記装置
識別情報で他のデータ入出力処理装置が特定されている
とき、前記他のデータ入出力処理装置との間での入出力
処理を行う他装置管理手段との間で入出力処理を行うこ
とを特徴とする請求項1又は2記載のデータ入出力処理
装置。
3. The device identification for identifying the data input / output processing device which is the input / output destination of the requested data when the identification information adding means inputs / outputs data to / from another data input / output processing device. The data source selecting means has device information adding means for adding information to the data name, and when the data identifying means specifies another data input / output processing device, the data source selecting means is connected to the other data input / output processing device. 3. The data input / output processing device according to claim 1, wherein the input / output processing is performed with another device management means for performing input / output processing between them.
【請求項4】 前記データソース管理手段はメモリアク
セス手段であって、当該メモリアクセス手段は、主記憶
メモリに書き込むデータを特定するデータ名とそのデー
タ値とを対応付けて書き込む登録領域を前記主記憶メモ
リ上に獲得する獲得手段と、前記主記憶メモリに対する
書き込み要求がなされたデータに対応するデータ名が前
記登録領域に登録済であるとき前記登録領域の前記デー
タ名に対応するデータ値を更新記憶し、未登録であると
き前記登録領域に前記書き込み要求がなされたデータの
データ名及びそのデータ値を登録すると共に、読み出し
要求がなされたデータのデータ名について前記登録領域
を検索し対応するデータ値を読み出すメモリデータ管理
手段と、を備えることを特徴とする請求項1乃至3の何
れかに記載のデータ入出力処理装置。
4. The data source management means is a memory access means, and the memory access means stores a registration area in which a data name specifying data to be written in a main memory is associated with the data value. Acquisition means for acquiring on the storage memory, and updating the data value corresponding to the data name of the registration area when the data name corresponding to the data requested to be written to the main storage memory is already registered in the registration area When the data is stored and is not registered, the data name and the data value of the write-requested data are registered in the registration area, and the corresponding data is searched in the registration area for the data name of the read-requested data. 4. The data according to claim 1, further comprising: a memory data management unit that reads out a value. I / O processing unit.
【請求項5】 前記メモリアクセス手段は、主記憶メモ
リに対するデータの書き込み要求を行う前記主制御処理
手段を起動元として特定する起動元特定情報を前記デー
タ名と対応付けて格納する起動元情報格納手段と、前記
起動元の処理が終了したとき、当該起動元の起動元特定
情報で特定されるデータ名に関連する前記登録領域を未
使用領域に戻すメモリ領域管理手段と、を備えることを
特徴とする請求項4記載のデータ入出力処理装置。
5. The activation source information storage in which the memory access unit stores activation source identification information that identifies the main control processing unit that issues a data write request to the main memory as an activation source in association with the data name. Means and memory area management means for returning the registered area associated with the data name specified by the starting source specifying information of the starting source to an unused area when the processing of the starting source is completed. The data input / output processing device according to claim 4.
【請求項6】 前記データソース選択手段は、2つ以上
のデータに対する入出力要求が、前記データを特定する
データ名を予め設定した連結形式で連結してなる連結デ
ータ名を用いて行われたとき、前記連結形式で特定され
る所定の手順で入出力処理を行うことを特徴とする請求
項1乃至5の何れかに記載のデータ入出力処理装置。
6. The data source selection means makes an input / output request for two or more data by using a concatenated data name obtained by concatenating data names that specify the data in a preset concatenation format. At this time, the data input / output processing device according to any one of claims 1 to 5, wherein the input / output processing is performed according to a predetermined procedure specified by the connection format.
JP7309362A 1995-11-28 1995-11-28 Data input / output processor Pending JPH09146802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7309362A JPH09146802A (en) 1995-11-28 1995-11-28 Data input / output processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7309362A JPH09146802A (en) 1995-11-28 1995-11-28 Data input / output processor

Publications (1)

Publication Number Publication Date
JPH09146802A true JPH09146802A (en) 1997-06-06

Family

ID=17992095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7309362A Pending JPH09146802A (en) 1995-11-28 1995-11-28 Data input / output processor

Country Status (1)

Country Link
JP (1) JPH09146802A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022034662A (en) * 2020-08-19 2022-03-04 矢崎エナジーシステム株式会社 Information processing terminal, information processing system using information processing terminal and information processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022034662A (en) * 2020-08-19 2022-03-04 矢崎エナジーシステム株式会社 Information processing terminal, information processing system using information processing terminal and information processing program

Similar Documents

Publication Publication Date Title
JP2001209562A (en) Conversion rule derivation system
EP0423723A2 (en) Data retrieval system for relational database
US20010025287A1 (en) Document integrated management apparatus and method
US11681682B2 (en) Data processing system and cache update control method
US7707211B2 (en) Information management system and method
JPH09146802A (en) Data input / output processor
JPH11312154A (en) Cooperative work aiding system and recording medium thereof
JP2926779B2 (en) Document construction device in distributed file system
JP2000184595A (en) Screen drawing creation management system and recording medium for recording processing program of the system
JP3646666B2 (en) Portable terminal and maintenance system
JP2000112954A (en) Configuration management system
JPH05143268A (en) Multiple screen display method
JP2002189622A (en) System and method for distributing updated data, and recording medium
JPH08129572A (en) CAD system and data processing method thereof
JPH06168203A (en) Centralized picture transition managing system
JP5021020B2 (en) Database system
JPH10124561A (en) System construction work support device
JPH04644A (en) Data access processing system
JP3006311B2 (en) Method and apparatus for changing network configuration
JP2006338134A (en) Equipment data management method and system
JPH11219381A (en) Connection diagram drawing apparatus, drawing method, and recording medium
JPH076067A (en) Data set generation management assistance system
JPH0659964A (en) Dictionary distributed operation management method
JP2000284827A (en) Plant screen design support device
JPH0683887A (en) Drawing management system