JPH0378063A - Input/output processing controller - Google Patents

Input/output processing controller

Info

Publication number
JPH0378063A
JPH0378063A JP21544189A JP21544189A JPH0378063A JP H0378063 A JPH0378063 A JP H0378063A JP 21544189 A JP21544189 A JP 21544189A JP 21544189 A JP21544189 A JP 21544189A JP H0378063 A JPH0378063 A JP H0378063A
Authority
JP
Japan
Prior art keywords
input
output
attribute
type information
processing
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
JP21544189A
Other languages
Japanese (ja)
Inventor
Yoichi Ueda
洋一 上田
Yoshihiko Nishimoto
西本 佳彦
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators Ltd
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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP21544189A priority Critical patent/JPH0378063A/en
Publication of JPH0378063A publication Critical patent/JPH0378063A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need to correct an existent input/output means by providing a device attribute information table, and extracting constituent elements of an attribute according to device kind information and generating the attribute of a desired input/output means. CONSTITUTION:A device kind information acquiring means 1 acquires the device kind information on an input/output device 50 which is specified by a user program 10 from an input/output device control means 4 and passes the control to a device attribute determining means 2. The means 2 retrieves a device attribute information table 22 corresponding to each piece of device kind information according to the device kind information obtained from the means 1 to determine the attribute of the device and passes the control to a data input/ output means 3. The means 3 controls the processing of data and input/output operation according to the constituent elements of the device attribute information obtained by the means 2 without paying attention to the device kind information. Thus, when the new input/output device 50 is supported, the attribute information on the device is controlled with the table, so the attribute information is only added to eliminate the need for corrections as to the existent input/ output means.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、属性の異なる入出力装置に対する入出力処理
手段に利用する。特に、属性情報に基づく入出力処理制
御手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is applied to input/output processing means for input/output devices having different attributes. In particular, it relates to input/output processing control means based on attribute information.

〔概要〕〔overview〕

本発明は、属性の異なる入出力装置に対する入出力処理
手段において、 属性を構成する要素を組み合せて所望の入出力装置の属
性を生成することにより、 新規装置の種別情報のチエツクに際してのロジックの修
正の度数を減らすことができるようにしたものである。
The present invention corrects the logic when checking the type information of a new device by combining the elements constituting the attributes to generate the attributes of the desired input/output device in an input/output processing means for input/output devices with different attributes. This makes it possible to reduce the frequency of

〔従来の技術〕[Conventional technology]

従来例では、入出力装置の種別情報に基づき制御されて
いた。すなわち、各入出力装置に対応したデータの加工
はその入出力装置の属性を構成している各要素に対する
処理の組み合わせで実現されており、この組み合わせが
入出力装置の種別情報で決定されていた。
In the conventional example, control was performed based on type information of the input/output device. In other words, data processing corresponding to each input/output device is realized by a combination of processing for each element that makes up the attributes of that input/output device, and this combination is determined by the type information of the input/output device. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように、従来例での入出力装置に対するデータの入
出力処理すなわちデータを加工するために必要とされる
入出力装置の属性を構成している各要素に対する処理の
選択は入出力装置の装置種別情報に従って行われるので
、要素に対する新たな処理の追加を必要とせずに既存の
要素に対する処理の組み合わせのみが新しくなる入出力
装置をサポートする場合に、新たな処理の追加がないに
もかかわらずその新規装置種別情報を必ずチエツクする
ためのロジックの修正が必要になり、既存の処理にも影
響が生じる欠点がある。
In this way, in the conventional example, data input/output processing for the input/output device, that is, selection of processing for each element that constitutes the attributes of the input/output device required for processing data, depends on the input/output device. This is done according to the type information, so when supporting an input/output device where only the combination of processing for existing elements is new without the need to add new processing to the element, even if no new processing is added. It is necessary to modify the logic to always check the new device type information, which has the disadvantage that existing processing is also affected.

本発明はこのような欠点を除去するもので、既存のデー
タ入出力手段に対する修正を不要にすることができる入
出力処理制御装置を提供することを目的とする。
The present invention aims to eliminate such drawbacks and to provide an input/output processing control device that makes it unnecessary to modify existing data input/output means.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、複数の入出力装置に対応する装置種別情報を
管理する入出力装置管理手段と、入出力装置にかかわる
属性の構成要素の組み合わせに基づいてこの入出力装置
で入出力処理されるデータの加工環よび入出力制御を行
うデータ入出力手段とを備えた入出力処理制御装置にお
いて、利用者プログラムで指定される入出力装置に対応
する装置種別情報を上記入出力装置管理手段から取得す
る装置種別情報取得手段と、入出力装置にかかわる属性
の構成要素が登録されたテーブルを有し、上記装置種別
情報取得手段で取得した装置種別情報に基づきこのテー
ブルから所望の属性の構成要素を抽出して組み合わせ、
この属性の構成要素の組み合わせを上記利用者プログラ
ムで指定された入出力装置にかかわる属性の構成要素の
組み合わせとしてこのデータ入出力手段に与える装置属
性決定手段とを備えたことを特徴とする。
The present invention provides an input/output device management means for managing device type information corresponding to a plurality of input/output devices, and data input/output processed by the input/output device based on a combination of attribute components related to the input/output device. In an input/output processing control device equipped with a processing ring and data input/output means for controlling input/output, device type information corresponding to the input/output device specified by the user program is acquired from the input/output device management means. It has a device type information acquisition means and a table in which attribute components related to input/output devices are registered, and extracts desired attribute components from this table based on the device type information acquired by the device type information acquisition means. and combine,
The present invention is characterized by comprising device attribute determining means for applying the combination of attribute components to the data input/output means as a combination of attribute components related to the input/output device specified by the user program.

〔作用〕[Effect]

装置種別情報取得手段は利用者プログラムで指定された
入出力装置に対する装置種別情報を入出力装置管理手段
から取得し、装置属性決定手段に制御を渡し、装置属性
決定手段は装置種別情報毎に対応する属性情報テーブル
を持ち、前記装置種別情報取得手段から得られた装置種
別情報に基づき属性情報テーブルの検索を行ってその装
置の属性を決定し、データ入出力手段に制御を渡し、デ
ータ入出力手段は装置種別情報を意識することなく前記
装置属性決定手段によって得られた装置属性情報の構成
要素に従ってデータの加工および入出力の制御を行う。
The device type information acquisition means acquires the device type information for the input/output device specified by the user program from the input/output device management means, passes control to the device attribute determination means, and the device attribute determination means corresponds to each device type information. The attribute information table is searched based on the device type information obtained from the device type information acquisition means to determine the attributes of the device, and control is passed to the data input/output means to perform data input/output. The means processes data and controls input/output according to the constituent elements of the device attribute information obtained by the device attribute determining means without being aware of the device type information.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を用いて説明する
。第1図はこの実施例の構成を示すブロック構成図であ
る。この実施例は、第1図に示すように、装置種別情報
取得手段lと、装置種別情報テーブル21および装置属
性情報テーブル22を持つ装置属性決定手段2と、デー
タ入出力手段3と、入出力装置管理手段4とから構成さ
れ、利用者プログラム10で指定された入出力装置50
に対し利用者のデータをその入出力装置50の属性に従
って加工し、入出力を行う。すなわち、この実施例は、
複数の入出力装置50に対応する装置種別情報を管理す
る入出力装置管理手段4と、入出力装置50にかかわる
属性の構成要素の組み合わせに基づいてこの入出力装置
で入出力処理されるデータの加工および入出力制御を行
うデータ入出力手段3とを備え、さらに、本発明の特徴
とする手段として、利用者プログラムで指定される入出
力装置に対応する装置種別情報を入出力装置管理手段4
から取得する装置種別情報取得手段1と、入出力装置5
0にかかわる属性の構成要素が登録されたテーブルを有
し、装置種別情報取得手段4で取得した装置種別情報に
基づきこのテーブルから所望の属性の構成要素を抽出し
て組み合わせ、この属性の構成要素の組み合わせを利用
者プログラム10で指定された入出力装置にかかわる属
性の構成要素の組み合わせとしてこのデータ入出力手段
3に与える装置属性決定手段2とを備える。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of this embodiment. In this embodiment, as shown in FIG. an input/output device 50 configured by a device management means 4 and specified by the user program 10;
The user's data is processed according to the attributes of the input/output device 50, and input/output is performed. That is, in this example,
The input/output device management means 4 manages device type information corresponding to a plurality of input/output devices 50, and the data to be input/output processed by the input/output device based on the combination of attribute components related to the input/output device 50. A data input/output means 3 that performs processing and input/output control is further provided, and as a feature of the present invention, an input/output device management means 4 stores device type information corresponding to the input/output device specified by the user program.
device type information acquisition means 1 acquired from the input/output device 5;
0 is registered, and based on the device type information acquired by the device type information acquisition means 4, the components of a desired attribute are extracted from this table and combined, and the components of this attribute are extracted and combined. and a device attribute determining means 2 which provides the data input/output means 3 with a combination of attributes related to the input/output device specified by the user program 10.

第2図は装置種別情報取得手段1で行われる処理を示す
流れ図である。まず、利用者プログラム10で指定され
た入出力装置50に対する装置種別情報を入出力装置管
理手段4から取得しくステップ311) 、装置属性決
定手段2に制御を渡す。
FIG. 2 is a flowchart showing the processing performed by the device type information acquisition means 1. First, device type information for the input/output device 50 specified by the user program 10 is acquired from the input/output device management means 4 (step 311), and control is passed to the device attribute determination means 2.

第6図は装置種別情報取得手段1で得た装置種別情報に
基づき入出力装置の属性情報を決定する装置属性決定手
段2で用いる情報テーブルの関連図である。サポートさ
れている入出力装置50aおよび入出力装置50bに対
応して装置種別情報テーブル21aおよび21bが存在
し、各装置種別情報テーブル21aおよび21bは装置
種別情報、それに対応する属性情報テーブルを示す属性
情報ポインタおよび次の装置種別情報テーブルポインタ
で構成され、全体として1つのチェーン構造をとる。こ
のチェーンは次の装置種別情報テーブルポインタの内容
がテーブル終了符号であるときに終了する。
FIG. 6 is a related diagram of an information table used by the device attribute determining means 2 which determines the attribute information of an input/output device based on the device type information obtained by the device type information acquiring means 1. Device type information tables 21a and 21b exist corresponding to the supported input/output device 50a and input/output device 50b, and each device type information table 21a and 21b contains device type information and an attribute indicating the corresponding attribute information table. It consists of an information pointer and a next device type information table pointer, and has one chain structure as a whole. This chain ends when the content of the next device type information table pointer is the table end code.

第3図は装置属性決定手段2で行われる処理を示す流れ
図である。まず、第6図に示す最初の装置種別情報テー
ブル2Laから装置種別情報を取得しくステップ521
) 、これと装置種別情報取得手段lで取得した装置種
別情報とを比較しくステップ522)、その結果をチエ
ツクしくステップ523)、一致している場合はその属
性情報を取得しくステップ524)、装置属性決定手段
2の処理を終了してデータ入出力手段3に制御を渡す。
FIG. 3 is a flowchart showing the processing performed by the device attribute determination means 2. First, step 521 is to obtain device type information from the first device type information table 2La shown in FIG.
), compare this with the device type information acquired by the device type information acquisition means 1 (step 522), check the result (step 523), and if they match, acquire the attribute information (step 524), The processing of the attribute determining means 2 is completed and control is passed to the data input/output means 3.

また、一致していない場合は次の装置種別情報テーブル
があるか否かをチエツクしくステップ525)、次のテ
ーブルが無い場合はエラー処理を実行する(ステップ5
27)。一方、次のテーブルがある場合は次のテーブル
内の装置種別情報を取得しくステップ326) 、装置
種別情報取得手段1から得られた装置種別情報との比較
を再度行う(ステップ522)。
If they do not match, check whether the next device type information table exists (step 525), and if there is no next table, execute error processing (step 5).
27). On the other hand, if there is a next table, the device type information in the next table is acquired (step 326) and compared again with the device type information obtained from the device type information acquisition means 1 (step 522).

第4図は装置属性決定手段2で決定された装置の属性を
意識してデータの入出力を行うデータ入出力手段3の処
理を示す流れ図である。まず、すべての装置に共通する
処理が実行され(ステップ331) 、次に、装置属性
決定手段2から得られた属性情報中の属性構成要素を意
識した処理を実行する(ステップ532)。すなわち、
属性構成要素の値に従いその装置に対応したデータの加
工を行うために必要な処理を選択して実行する。最後に
、加工されたデータの入出力を行う(ステップ533)
FIG. 4 is a flowchart showing the processing of the data input/output means 3 which inputs and outputs data while being aware of the device attributes determined by the device attribute determining means 2. First, a process common to all devices is executed (step 331), and then a process is executed taking into account the attribute components in the attribute information obtained from the device attribute determining means 2 (step 532). That is,
In accordance with the values of the attribute components, necessary processing is selected and executed in order to process data corresponding to the device. Finally, input and output the processed data (step 533)
.

このように1つのデータ入出力手段内で属性の構成要素
による処理の流れの制御を可能としている。
In this way, it is possible to control the flow of processing using attribute components within one data input/output means.

すなわち、装置属性決定手段2内の装置属性情報テーブ
ル22の情報を変更・追加するだけでデータの入出力処
理を制御する。
That is, data input/output processing is controlled simply by changing or adding information in the device attribute information table 22 in the device attribute determining means 2.

次jこ、装置属性情報テーブル22の変化と入出力処理
の関連を説明する。第6図に示すように、属性構成要素
を持つ2つの入出力装置50aおよび50bがサポート
されているときに、属性構成要素#lおよび#2を持つ
が既存のものと要素の組み合わせが異なり、新規装置種
別情報を必要とする新たな入出力装置をサポートする場
合を説明する。
Next, the relationship between changes in the device attribute information table 22 and input/output processing will be explained. As shown in FIG. 6, when two input/output devices 50a and 50b having attribute components are supported, they have attribute components #l and #2, but the combination of elements is different from the existing one, A case will be explained in which a new input/output device that requires new device type information is supported.

第7図に新装置サポート後の装置種別情報テーブルおよ
び装置属性情報テーブルの関連図を示す。
FIG. 7 shows a relationship diagram of the device type information table and the device attribute information table after supporting the new device.

サポート済みであった入出力装置50bの装置種別情報
テーブル21bの次に新たな入出力装置50Cの装置種
別情報テーブル21Cおよびそれに対応する属性情報テ
ーブル22cを定義する。このときに、追加する属性情
報テーブルの構成要素#1の値は入出力装置1の属性構
成要素#lと同一値であり、構成要素#2の値は入出力
装置#2の属性構成要素#2と同一値であるとする。
Next to the device type information table 21b of the already supported input/output device 50b, a new device type information table 21C of the input/output device 50C and the corresponding attribute information table 22c are defined. At this time, the value of component #1 of the attribute information table to be added is the same value as attribute component #l of input/output device 1, and the value of component #2 is the same value as attribute component #1 of input/output device #2. It is assumed that the value is the same as 2.

第5図は新たな入出力装置50のサポート時のデータ入
出力手段3の処理を示す流れ図である。まず、すべての
装置に共通な処理が実行される(ステップ5301)。
FIG. 5 is a flowchart showing the processing of the data input/output means 3 when supporting a new input/output device 50. First, processing common to all devices is executed (step 5301).

次に属性構成要素#1の値がチエツクされ(ステップS
 302)、値がA1である入出力装置すなわち入出力
装置50aと新たな入出力装置50Cでデータ加工処理
Xが実行され(ステップ5303)、値がAIでない入
出力装置すなわち入出力装置50bでデータ加工処理Y
が実行される(ステップ3304)。次に、構成要素#
2の値がチエツクされ(ステップS 305)、値が8
1である入出力装置すなわち入出力装置50aでデータ
加工処理Zが実行され(ステップS 306)、値が3
1以外の入出力装置すなわち入出力装置50bと新たな
入出力装置50cはデータ加工処理Zをスキップする。
Next, the value of attribute component #1 is checked (step S
302), data processing processing X is executed on the input/output device whose value is A1, that is, the input/output device 50a, and the new input/output device 50C (step 5303), and the data processing processing X is executed on the input/output device whose value is not AI, that is, the input/output device 50b. Processing Y
is executed (step 3304). Then component #
The value of 2 is checked (step S305), and the value is 8.
1, that is, the input/output device 50a (step S306), and the value is 3.
The input/output devices other than 1, that is, the input/output device 50b and the new input/output device 50c skip the data processing process Z.

最後に、実際に加工されたデータの入出力が行われる(
ステップS 307)。このように、新たな入出力装置
50Cに対して既存の処理を変更することなくサポート
することができる。
Finally, the input and output of the actually processed data is performed (
Step S307). In this way, it is possible to support the new input/output device 50C without changing existing processing.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように、新たな入出力装置をサ
ポートするに際し、装置種別情報に基づきデータ入出力
の制御を行う代りに装置の属性情報をテーブルで管理す
るので、その装置の属性構成要素に対する処理が既存の
処理のみで構成されている場合に、属性情報テーブルを
追加するだけで既存のデータ入出力手段に対する修正を
不要にする効果がある。
As explained above, when supporting a new input/output device, the present invention manages the attribute information of the device in a table instead of controlling data input/output based on the device type information, so the attribute configuration of the device When the processing for an element consists of only existing processing, simply adding an attribute information table has the effect of eliminating the need to modify the existing data input/output means.

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

第1図は、本発明実施例の構成を示すブロック構成図。 第2図は、第1図中の装置種別情報取得手段での処理を
示す流れ図。 第3図は、第1図中の装置属性決定手段での処理を示す
流れ図。 第4図および第5図は、第1図中のデータ入出力手段で
の処理を示す流れ図。 第6図は、装置種別情報取得手段で得られた装置種別情
報から装置の属性情報を決定する装置属性決定手段の情
報テーブル関連図。 第7図は、属性情報テーブルの変化と入出力処理の関係
を説明するための装置属性決定手段の情報テーブル関連
図。 1・・・装置種別情報取得手段、2・・・装置属性決定
手段、3・・・データ入出力手段、4・・・入出力装置
管理手役、10・・・利用者プログラム、21・・・装
置種別情報テーブル、22・・・装置属性情報テーブル
、50・・・入出力装置。
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a flowchart showing processing by the device type information acquisition means in FIG. 1. FIG. 3 is a flowchart showing the processing by the device attribute determining means in FIG. 1. 4 and 5 are flowcharts showing processing by the data input/output means in FIG. 1. FIG. 6 is an information table related diagram of device attribute determining means that determines device attribute information from device type information obtained by device type information acquiring means. FIG. 7 is an information table related diagram of the device attribute determining means for explaining the relationship between changes in the attribute information table and input/output processing. DESCRIPTION OF SYMBOLS 1... Device type information acquisition means, 2... Device attribute determination means, 3... Data input/output means, 4... Input/output device management role, 10... User program, 21... - Device type information table, 22... Device attribute information table, 50... Input/output device.

Claims (1)

【特許請求の範囲】 1、複数の入出力装置に対応する装置種別情報を管理す
る入出力装置管理手段と、 入出力装置にかかわる属性の構成要素の組み合わせに基
づいてこの入出力装置で入出力処理されるデータの加工
および入出力制御を行うデータ入出力手段と を備えた入出力処理制御装置において、 利用者プログラムで指定される入出力装置に対応する装
置種別情報を上記入出力装置管理手段から取得する装置
種別情報取得手段と、 入出力装置にかかわる属性の構成要素が登録されたテー
ブルを有し、上記装置種別情報取得手段で取得した装置
種別情報に基づきこのテーブルから所望の属性の構成要
素を抽出して組み合わせ、この属性の構成要素の組み合
わせを上記利用者プログラムで指定された入出力装置に
かかわる属性の構成要素の組み合わせとしてこのデータ
入出力手段に与える装置属性決定手段と を備えたことを特徴とする入出力処理制御装置。
[Scope of Claims] 1. An input/output device management means for managing device type information corresponding to a plurality of input/output devices; and input/output with this input/output device based on a combination of attribute components related to the input/output device. In an input/output processing control device equipped with a data input/output means for processing data to be processed and controlling input/output, the device type information corresponding to the input/output device specified by the user program is transmitted to the input/output device management means. and a table in which configuration elements of attributes related to input/output devices are registered, and a configuration of desired attributes is obtained from this table based on the device type information acquired by the device type information acquisition means. device attribute determining means for extracting and combining the elements, and applying the combination of the component elements of the attributes to the data input/output means as a combination of the component elements of the attributes related to the input/output device specified by the user program; An input/output processing control device characterized by:
JP21544189A 1989-08-21 1989-08-21 Input/output processing controller Pending JPH0378063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21544189A JPH0378063A (en) 1989-08-21 1989-08-21 Input/output processing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21544189A JPH0378063A (en) 1989-08-21 1989-08-21 Input/output processing controller

Publications (1)

Publication Number Publication Date
JPH0378063A true JPH0378063A (en) 1991-04-03

Family

ID=16672404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21544189A Pending JPH0378063A (en) 1989-08-21 1989-08-21 Input/output processing controller

Country Status (1)

Country Link
JP (1) JPH0378063A (en)

Similar Documents

Publication Publication Date Title
JPS63181033A (en) Automatic program generating system
US20020199168A1 (en) Automatic program generation apparatus
JP2008269515A (en) Method for dynamically generating image layout by parameter
JPH0378063A (en) Input/output processing controller
Nascimento Giffler and Thompson's algorithm for job shop scheduling is still good for flexible manufacturing systems
JPH04276848A (en) Individual option specifying method to a plurality of files
JPH0477911A (en) Input control system for input device
JPH04373060A (en) Batch job input number limiting system
JPH01287739A (en) Automatic state transition table generating device
JPS62100834A (en) Control system for number of editions of program
JPH03229322A (en) Automatic transcribing system
JPH03139722A (en) On-line programming system
JPH02148136A (en) System for automatically determining program parts
JPH02191014A (en) Program function key processing system
JPH0241545A (en) Terminal attribute retrieving system for network definition
JPH02118726A (en) Job performance control system
JPH08122416A (en) Test program generation system
JPH04142610A (en) General purpose terminal control method
JPS6383837A (en) Predicate control system
JPH0476732A (en) Execution priority control system for transaction
JPS6165348A (en) Connection system for external device
JPH0250730A (en) Language converting system based upon common machine word
JPH02122359A (en) Remote file access system
JPS62209671A (en) Drawing control system
JPH01109430A (en) Programming method for computer processing