JPH04246754A - Peripheral equipment identification system - Google Patents

Peripheral equipment identification system

Info

Publication number
JPH04246754A
JPH04246754A JP1180291A JP1180291A JPH04246754A JP H04246754 A JPH04246754 A JP H04246754A JP 1180291 A JP1180291 A JP 1180291A JP 1180291 A JP1180291 A JP 1180291A JP H04246754 A JPH04246754 A JP H04246754A
Authority
JP
Japan
Prior art keywords
communication protocol
data
conversion
peripheral device
program
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
JP1180291A
Other languages
Japanese (ja)
Inventor
Takashi Yamada
隆 山田
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
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1180291A priority Critical patent/JPH04246754A/en
Publication of JPH04246754A publication Critical patent/JPH04246754A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need of converting the data by taking a peripheral equipment into consideration at the time of generating a user program, and also, to construct the system without being limited by a communication protocol of the respective peripheral equipments. CONSTITUTION:Each peripheral equipment is provided with a communication protocol informing device 12 for sending out the respective communication protocols to a central processor 1. The central processor 1 discriminates the communication protocol offered from the peripheral equipment by an automatic peripheral equipment discriminating program 8, and registers it in a communication protocol store table of a registering destination. A conversion data file 11 stores information required for data conversion, utilizes conversion data read out of the conversion data file 11 in accordance with the contents designated by the communication protocol store table 10 with respect to a desired peripheral equipment referred to by a user program 7, and executes a conversion processing by a data conversion table 9.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は周辺装置識別方式に関し
,特に中央処理装置と複数の周辺装置を接続して運用す
る情報処理システムにおける周辺装置識別方式に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral device identification method, and more particularly to a peripheral device identification method for an information processing system in which a central processing unit and a plurality of peripheral devices are connected and operated.

【0002】0002

【従来の技術】従来,情報処理システムにおける中央処
理装置と週辺装置との接続においては,システム設計時
にあらかじめデータ通信規約と,接続すべき周辺装置構
成を決めていた。
2. Description of the Related Art Conventionally, when connecting a central processing unit and a central processing unit in an information processing system, data communication regulations and the configuration of peripheral devices to be connected have been determined in advance at the time of system design.

【0003】また,利用者は,プログラムを作成する際
,それぞれの周辺装置用にデータを変換する必要があっ
た。
[0003] Furthermore, when a user creates a program, it is necessary to convert data for each peripheral device.

【0004】0004

【発明が解決しようとする課題】従来の情報処理システ
ムにおける中央処理装置と周辺装置との接続は,中央処
理装置側の通信規約に合った周辺装置間でしか更新がで
きず,また,周辺装置の構成を変更するのは容易でなか
った。
[Problems to be Solved by the Invention] In conventional information processing systems, the connection between the central processing unit and peripheral devices can only be updated between peripheral devices that comply with the communication rules of the central processing unit. It was not easy to change the configuration.

【0005】さらに,利用者がプログラムを作成する際
は,周辺装置を意識してデータを変換しなければならな
いという問題点があった。
[0005]Furthermore, when a user creates a program, there is a problem in that the user has to be aware of the peripheral devices when converting data.

【0006】[0006]

【課題を解決するための手段】本発明の方式は,中央処
理装置に複数の周辺装置を接続して運用する情報処理シ
ステムにおける周辺装置識別方式であって,それぞれの
通信規約を中央処理装置に通知する通信規約通知装置を
配置した複数の周辺装置と,前記通信規約通知装置から
送出された通信規約の情報を識別する周辺装置自動識別
プログラムと,周辺装置に対応した通信規約にもとづい
てデータを変換するための変換用データを通信規約ごと
に格納した変換用データファイルと,前記周辺装置自動
識別プログラムが識別した通信規約を周辺装置ごとに異
るファイル番号と前記変換用データのアドレスを指定す
る変換用データアドレスポインタによって登録する通信
規約格納テーブルと,前記変換用データを利用してデー
タ変換を行なうデータ変換プログラムと,利用者プログ
ラムとを有する中央処理装置とを備えて構成される。
[Means for Solving the Problems] The method of the present invention is a peripheral device identification method for an information processing system in which a plurality of peripheral devices are connected to a central processing unit. A plurality of peripheral devices equipped with a communication protocol notification device to be notified, a peripheral device automatic identification program that identifies communication protocol information sent from the communication protocol notification device, and data based on the communication protocol corresponding to the peripheral device. Specify a conversion data file storing conversion data for each communication protocol, a communication protocol identified by the automatic peripheral device identification program, a file number that differs for each peripheral device, and an address of the conversion data. The communication protocol storage table is registered using a conversion data address pointer, a data conversion program that performs data conversion using the conversion data, and a central processing unit that has a user program.

【0007】[0007]

【実施例】次に,本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0008】図1は,本発明の一実施例の構成図である
。図1に示す本実施例は,中央処理装置1と,中央処理
装置1と接続され情報処理を行なう複数の周辺装置とし
てのプリンタ装置2,磁気ディスク装置3,演算処理装
置4,CRT装置5および端末装置6を備えて成る。
FIG. 1 is a block diagram of an embodiment of the present invention. The present embodiment shown in FIG. 1 includes a central processing unit 1, a printer device 2, a magnetic disk device 3, an arithmetic processing unit 4, a CRT device 5, and a plurality of peripheral devices that are connected to the central processing unit 1 and perform information processing. It comprises a terminal device 6.

【0009】また,中央処理装置1は,利用者プログラ
ム7のほか,本発明に直接かかわり周辺装置から送出さ
れる通信規約を識別する周辺装置自動識別プログラム8
と,データ変換を行なうデータ変換プログラム9と,周
辺装置ごとに割り当てた論理的ファイル番号と周辺装置
が必要とする通信規約の変換用データのアドレスポイン
トとを指定する通信規約格納テーブル10と,周辺装置
に対応する通信規約にもとづいてデータを変換するため
の情報を通信規約ごとに格納した変換用データファイル
11とを備えて成る。
In addition to the user program 7, the central processing unit 1 also includes a peripheral device automatic identification program 8 that is directly involved in the present invention and identifies communication rules sent from peripheral devices.
, a data conversion program 9 that performs data conversion, a communication protocol storage table 10 that specifies logical file numbers assigned to each peripheral device and address points of communication protocol conversion data required by the peripheral device, and a data conversion program 9 that performs data conversion; The conversion data file 11 stores information for converting data based on the communication protocol corresponding to the device for each communication protocol.

【0010】また,各周辺装置には,それぞれの周辺装
置に対応する通信規約を中央処理装置1に送出する通信
規約通知装置12を備えて成る。
Furthermore, each peripheral device is provided with a communication protocol notification device 12 that sends the communication protocol corresponding to each peripheral device to the central processing unit 1.

【0011】次に,本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

【0012】いま,例として中央処理装置にプリンタ装
置2を接続する場合を考えてみる。始めに,プリント装
置2内にある通信規約通知装置12が中央処理装置1に
その通信規約を通知する。
As an example, let us now consider the case where a printer device 2 is connected to a central processing unit. First, the communication protocol notification device 12 in the printing device 2 notifies the central processing unit 1 of the communication protocol.

【0013】中央処理装置1は,周辺装置自動識別プロ
グラム8が受け取った通信規約の情報を識別し,その通
信規約へ変換するのに必要なデータが格納されているア
ドレスポインタと,プリンタ装置2に対応した論理的な
ファイル番号を通信規約格納テーブル10に登録する。 図2は,通信規約格納テーブル10と切換用データファ
イル11の構成内容を示す図である。
The central processing unit 1 identifies the communication protocol information received by the peripheral device automatic identification program 8 and sends it to the printer device 2 and an address pointer storing data necessary for converting it into the communication protocol. The corresponding logical file number is registered in the communication protocol storage table 10. FIG. 2 is a diagram showing the configuration contents of the communication protocol storage table 10 and the switching data file 11.

【0014】一方,利用者プログラム7がプリンタ装置
2へ出力する場合には,通信規約格納テーブル10を参
照してプリンタ装置2に対応した論理的ファイル番号と
出力するデータを指定する。周辺装置自動識別プログラ
ム8はデータ変換プログラム9に対し,指定された論理
的なファイル番号と出力データを渡す。データ変換プロ
グラム9は,指定された論理的なファイル番号をもとに
通信規約格納テーブル10から変換用データアドレスポ
インタを得て,図2に示す変換用データファイル11か
ら変換用データを取り出し,出力するデータを変換する
。変換されたデータは,周辺装置自動識別プログラム8
に渡され,プリンタ装置2に出力される。
On the other hand, when the user program 7 outputs to the printer device 2, it refers to the communication protocol storage table 10 and specifies the logical file number corresponding to the printer device 2 and the data to be output. The peripheral device automatic identification program 8 passes the specified logical file number and output data to the data conversion program 9. The data conversion program 9 obtains a conversion data address pointer from the communication protocol storage table 10 based on the specified logical file number, extracts the conversion data from the conversion data file 11 shown in FIG. 2, and outputs it. Convert data to The converted data is processed by the peripheral device automatic identification program 8.
and output to the printer device 2.

【0015】また,利用者プログラム7が演算処理装置
4からデータを取り込む場合も同様に,周辺装置自動識
別プログラム8が指定された論理的なファイル番号と,
ファイル番号に対応した周辺装置から入力した力データ
をデータ変換プログラム9に渡す。データ変換プログラ
ム9は,指定された論理的なファイル番号をもとに通信
規約格納テーブル10から変換用データアドレスポイン
タを得て変換用データを取り出し,入力したデータを変
換する。変換されたデータは周辺装置自動識別プログラ
ム8に渡され,利用者プログラム7に渡される。
Similarly, when the user program 7 imports data from the arithmetic processing unit 4, the automatic peripheral device identification program 8 uses the specified logical file number and
The force data input from the peripheral device corresponding to the file number is passed to the data conversion program 9. The data conversion program 9 obtains a conversion data address pointer from the communication protocol storage table 10 based on the specified logical file number, extracts the conversion data, and converts the input data. The converted data is passed to the peripheral device automatic identification program 8 and then to the user program 7.

【0016】なお,利用者がプログラム内で扱うデータ
の形式はあらかじめ統一してあり,通信規約を通信規約
通知装置12から中央処理装置1へ通知する通信手順は
,中央処理装置1と周辺装置との通信手段とは独立的に
統一されている。
[0016] Note that the format of the data handled by the user within the program is unified in advance, and the communication procedure for notifying the communication agreement from the communication agreement notification device 12 to the central processing unit 1 is performed between the central processing unit 1 and peripheral devices. It is unified independently of the means of communication.

【0017】こうして,利用者がプログラムを作成する
場合に,周辺装置を意識してデータを変換する要なく,
また周辺装置の有する通信規則に制約されることなく自
由にシステム構築ができる。
[0017] In this way, when a user creates a program, there is no need to convert data with peripheral devices in mind.
Furthermore, the system can be constructed freely without being restricted by the communication rules of peripheral devices.

【0018】[0018]

【発明の効果】以上説明したように本発明は,以下に記
載されるような効果を有する。
[Effects of the Invention] As explained above, the present invention has the following effects.

【0019】システムを構成する周辺装置に通信規約通
知装置を取り付け,そこから送られる通信規約の情報に
もとずいて中央処理装置内の周辺装置自動識別プログラ
ムとデータ変換プログラムが利用者プログラムの扱うデ
ータを変換することにより,利用者がプログラムを作成
する際,周辺装置を意識してデータを変換しなくてすむ
A communication protocol notification device is attached to the peripheral devices that make up the system, and based on the communication protocol information sent from there, the peripheral device automatic identification program and data conversion program in the central processing unit are handled by the user program. By converting data, users do not have to be aware of peripheral devices when converting data when creating programs.

【0020】また,周辺装置を中央処理装置に接続する
だけで中央処理装置は自動的に周辺装置を識別するので
,周辺装置のもつ通信規約に制約されることなく,自由
にシステムを構築できる。
Furthermore, since the central processing unit automatically identifies the peripheral device simply by connecting the peripheral device to the central processing unit, a system can be constructed freely without being restricted by the communication rules of the peripheral device.

【0021】さらに,利用者は,あらかじめ決められた
データ形式のみ扱えばよいので,マンマシンインターフ
ェースを向上させることができる。
Furthermore, since the user only has to deal with predetermined data formats, the man-machine interface can be improved.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1の通信規約格納テーブル10と変換用デー
タファイル11の構成を示す図である。
FIG. 2 is a diagram showing the configuration of a communication protocol storage table 10 and a conversion data file 11 in FIG. 1;

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

1    中央処理装置 2    プリンタ装置 3    磁気ディスク装置 4    演算処理装置 5    CRT装置 6    端末装置 7    利用者プログラム 8    周辺装置自動識別プログラム9    デー
タ変換プログラム 10    通信規約格納テーブル 11    変換用データファイル 12    通信規約通知装置
1 Central processing unit 2 Printer device 3 Magnetic disk device 4 Arithmetic processing unit 5 CRT device 6 Terminal device 7 User program 8 Peripheral device automatic identification program 9 Data conversion program 10 Communication protocol storage table 11 Conversion data file 12 Communication protocol notification device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  中央処理装置に複数の周辺装置を接続
して運用する情報処理システムにおける周辺装置識別方
式であって,それぞれの通信規約を中央処理装置に通知
する通信規約通知装置を配置した複数の周辺装置と,前
記通信規約通知装置から送出された通信規約の情報を識
別する周辺装置自動識別プログラムと,周辺装置に対応
した通信規約にもとづいてデータを変換するための変換
用データを通信規約ごとに格納した変換用データファイ
ルと,前記周辺装置自動識別プログラムが識別した通信
規約を周辺装置ごとに異るファイル番号と前記変換用デ
ータのアドレスを指定する変換用データアドレスポイン
タによって登録する通信規約格納テーブルと,前記変換
用データを利用してデータ変換を行なうデータ変換プロ
グラムと,利用者プログラムとを有する中央処理装置と
を備えて成ることを特徴とする周辺装置識別方式。
[Claim 1] A peripheral device identification method in an information processing system in which a plurality of peripheral devices are connected to a central processing unit and operated, wherein a plurality of communication protocol notification devices are arranged to notify each communication protocol to the central processing unit. peripheral device and a peripheral device automatic identification program that identifies communication protocol information sent from the communication protocol notification device, and conversion data for converting data based on the communication protocol corresponding to the peripheral device. A communication protocol that registers a conversion data file stored for each peripheral device and a communication protocol identified by the automatic peripheral device identification program using a file number that differs for each peripheral device and a conversion data address pointer that specifies the address of the conversion data. A peripheral device identification method comprising: a central processing unit having a storage table, a data conversion program that performs data conversion using the conversion data, and a user program.
JP1180291A 1991-02-01 1991-02-01 Peripheral equipment identification system Pending JPH04246754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1180291A JPH04246754A (en) 1991-02-01 1991-02-01 Peripheral equipment identification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1180291A JPH04246754A (en) 1991-02-01 1991-02-01 Peripheral equipment identification system

Publications (1)

Publication Number Publication Date
JPH04246754A true JPH04246754A (en) 1992-09-02

Family

ID=11787990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1180291A Pending JPH04246754A (en) 1991-02-01 1991-02-01 Peripheral equipment identification system

Country Status (1)

Country Link
JP (1) JPH04246754A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07191936A (en) * 1993-11-22 1995-07-28 Internatl Business Mach Corp <Ibm> Multiple-bus interface adaptor
JPH0863430A (en) * 1994-08-24 1996-03-08 Nec Corp Time-division multiplex bus initializing circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07191936A (en) * 1993-11-22 1995-07-28 Internatl Business Mach Corp <Ibm> Multiple-bus interface adaptor
JPH0863430A (en) * 1994-08-24 1996-03-08 Nec Corp Time-division multiplex bus initializing circuit

Similar Documents

Publication Publication Date Title
JPH04167040A (en) Network communication system
EP0649545B1 (en) Virtual radio interface
EP0649544B1 (en) Virtual data source for radio transceiver
JPH04246754A (en) Peripheral equipment identification system
US5363315A (en) Method of communications between and within virtual radio interface standard layers
CN113608889A (en) Message data processing method, device, equipment and storage medium
JPH0644052A (en) Interactive selection processing system for computer input/output device
JP3083424B2 (en) External character management system
JPS62217351A (en) Monitor control system for executing job of other system
JP2528132B2 (en) Data input method
JP2596375B2 (en) Character code conversion device and network system using the character code conversion device
JPH0193263A (en) Facsimile mail device
JPH0460738A (en) Automatic registration system for format control information
CN114579327A (en) Cross-process communication method and device, storage medium and electronic equipment
JP2000242686A (en) Cad device and device and method for data exchange between different kind of cads
JPS63266941A (en) Multiple address text output system
JPS6112424B2 (en)
JPH06326744A (en) Inter-multi-vendor message communication system
JPH02306796A (en) Output control method for remote printer
JPH05303484A (en) Data linking system
JPH01173246A (en) Interface system for communication software
JPH05174198A (en) Card information reader
Fabok et al. Teletex System Implementation on Personal Computer
JPH02222246A (en) Protocol conversion system
JPH0561745A (en) Transforming device for format