JPH03211648A - Hardware/software interface control system - Google Patents

Hardware/software interface control system

Info

Publication number
JPH03211648A
JPH03211648A JP618290A JP618290A JPH03211648A JP H03211648 A JPH03211648 A JP H03211648A JP 618290 A JP618290 A JP 618290A JP 618290 A JP618290 A JP 618290A JP H03211648 A JPH03211648 A JP H03211648A
Authority
JP
Japan
Prior art keywords
information
control
specified
peripheral
controller
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
JP618290A
Other languages
Japanese (ja)
Inventor
Atsushi Ogawa
淳 小川
Susumu Kikuchi
進 菊地
Nobuhiko Ido
伸彦 井戸
Noritoshi Higaki
桧垣 徳寿
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP618290A priority Critical patent/JPH03211648A/en
Publication of JPH03211648A publication Critical patent/JPH03211648A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently attain a specified processing in spite of the number of total peripheral equipments by temporarily transferring identification information of the specified peripheral equipment from a controller-side to the peripheral equipment, adding identification information at the time of transferring information from the peripheral equipment to the controller-side so as to return information. CONSTITUTION:A controller 1 is connected with the peripheral equipments 2 through an interface 3. The controller 1 transmits control information having an information field to which a value showing that it is the specified equipment is set to the specified peripheral equipment executing the specified processing. The specified peripheral equipment edits notice information including the information field and transmits it to the controller 1-side. Since the value that it is the specified equipment is set in the information field of the controller 1 at the time of receiving notice information, it can judge whether the specified processing is to be executed or not. Thus, a processing for referring to whether it is the specified peripheral equipment executing the specified processing or not is executed in the peripheral equipment 2 and a load by the specified processing of the controller 1 is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、制御装置とその周辺装置とのインタフェース
を行うハードソフトインタフェース制御方式に関し、特
に制衡装置での周辺装置に関係する識別情報の管理方法
に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a hardware/software interface control method for interfacing a control device and its peripheral devices, and in particular to management of identification information related to peripheral devices in a balancing device. Regarding the method.

〔従来の技術〕[Conventional technology]

従来、複数周辺装置があり、制御装置でその中の特定の
周辺装置に対し特定処理を行う場合、該当する特定装置
か否かを示す情報は制御装置にあり、任意の周辺装置か
らの通知情報受信時に特定装置のみにこの特定処理を行
う場合には、制御装置にて該当する特定装置か否か示す
情報を照合し、特定処理を行うか否かの判定を行ってい
た。
Conventionally, when there are multiple peripheral devices and a control device performs specific processing on a specific peripheral device, the control device has information indicating whether or not it is the specific device, and notification information from any peripheral device is stored in the control device. When performing this identifying process only on a specific device at the time of reception, the control device collates information indicating whether or not the specific device is the applicable specific device, and determines whether or not to perform the identifying process.

なお、この種技術に関するものとしては、「電子計算機
の原理と構造」 (第10版、 1987年2月20日
電気学会発行)の頁192−196に亘る記載が知られ
ている。
Note that this type of technology is known from pages 192 to 196 of "Principles and Structure of Electronic Computers" (10th edition, published by the Institute of Electrical Engineers of Japan on February 20, 1987).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、周辺装置が数多くあり、数少ない特定
周辺装置に対し特定処理を行う場合、通知情報の受信時
に、数多い全周辺装置を対象として特定処理を行うか否
かの照合処理を行うため、制御装置での特定処理に伴う
処理時間が長くなす制御装置の性能低下を来すという問
題があった。
In the above conventional technology, when there are many peripheral devices and specific processing is to be performed on a small number of specific peripheral devices, when notification information is received, a verification process is performed to determine whether or not specific processing is to be performed on all of the numerous peripheral devices. There is a problem in that the processing time associated with the specific processing in the control device becomes long, resulting in a decrease in the performance of the control device.

本発明は、かかる従来方式の問題点を解決し、全周辺装
置の数にかかわらず効率よく特定処理を行うことを目的
とする。
An object of the present invention is to solve the problems of the conventional method and efficiently perform identification processing regardless of the number of all peripheral devices.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、制御装置側で記憶すべき特
定周辺装置の識別情報を一時的に周辺装置側に転送し、
この周辺装置より制御装置側に情報を転送する際に、識
別情報を付加して戻すようにしたものである。
In order to achieve the above purpose, the identification information of a specific peripheral device that should be stored on the control device side is temporarily transferred to the peripheral device side,
When information is transferred from this peripheral device to the control device side, identification information is added and sent back.

〔作用〕[Effect]

特定処理を行う特定周辺装置に対して、制御装置より、
特定装置であることを示す値を設定した情報フィールド
を持つ制御情報を送信する。これにより、その後の特定
周辺装置からの前記通知情報受信時には、情報フィール
ドに特定装置であることを示す値が設定されており、こ
れによって特定処理を行うか否か判定することが可能で
ある。
From the control device to a specific peripheral device that performs specific processing,
Send control information that has an information field set with a value indicating that it is a specific device. Thereby, when the notification information is subsequently received from the specific peripheral device, a value indicating that it is a specific device is set in the information field, and it is possible to determine whether or not to perform specific processing based on this.

〔実施例〕〔Example〕

以下、本発明の一実施例を、添付図面を用いて説明する
An embodiment of the present invention will be described below with reference to the accompanying drawings.

第1図は、制御装置1と周辺装置2との接続状態を示す
図で、制御装置1と各周辺装置2とはインタフェース3
を通じて結ばれている。このインタフェース3により制
御装置1と周辺装置2との間で受渡される制御情報と通
知情報のフォーマットは、第2図に示すように構成され
る。即ち、制御情報フォーマット31は、制御情報種別
311 と各種パラメタの他に、情報フィールド312
を持つ。
FIG. 1 is a diagram showing the connection state between the control device 1 and the peripheral devices 2. The control device 1 and each peripheral device 2 are connected to each other via the interface 3.
connected through. The format of the control information and notification information transferred between the control device 1 and the peripheral device 2 through this interface 3 is configured as shown in FIG. That is, the control information format 31 includes an information field 312 in addition to a control information type 311 and various parameters.
have.

また、通知情報フォーマット32は、通知情報種別32
1 と各種パラメタの他に、情報フィールド322を持
つ。
In addition, the notification information format 32 is the notification information type 32.
1 and various parameters, it also has an information field 322.

第3図は、各周辺装置2の内部構成を示す。この周辺装
置2は、制御情報受信部21に入力した制御情報を、周
辺装置制御部26に供給すると共に、情報フィールド抽
出部22に供給し、この情報フィールド抽出部22で制
御情報フォーマット31中の情報フィールド312のみ
を抽出する。そして、抽出した情報は、情報フィールド
記憶部23に蓄積させる。
FIG. 3 shows the internal configuration of each peripheral device 2. As shown in FIG. This peripheral device 2 supplies the control information input to the control information receiving section 21 to the peripheral device control section 26 and also to the information field extracting section 22. Only the information field 312 is extracted. The extracted information is then stored in the information field storage section 23.

一方、周辺装置制御部26で通知情報を制御部に送信す
る必要が生じた場合、通知情報フォーマット32の情報
フィールド322を除いた部分の情報を通知情報編集部
24に供給する。これを受けた通知情報編集部24では
、情報フィールド記憶部23より蓄積された情報フィー
ルドを出力させ、この情報フィールドを含む通知情報フ
ォーマット32の通知情報を編集する。そして、編集さ
れた通知情報を、通知情報送信部25により制御装置1
側に送信させる。
On the other hand, when the peripheral device control unit 26 needs to transmit notification information to the control unit, the information in the portion of the notification information format 32 excluding the information field 322 is supplied to the notification information editing unit 24. The notification information editing unit 24 that receives this outputs the information field accumulated from the information field storage unit 23 and edits the notification information in the notification information format 32 including this information field. Then, the edited notification information is sent to the control device 1 by the notification information transmitter 25.
Let the side send it.

次に、制御装置1について説明すると、制御装置1で制
御情報を送信するための構成を第4図に示す、この第4
図において111は保守コマンド入力部を示し、保守コ
マンド入力部111に特定周辺装置を指定した情報が入
力すると、この情報は制御情報編集部112に渡り、こ
こで制御情報フォーマット31の形式に制御情報が編集
され、制御情報中の情報フィールドが特定周辺装置であ
ることを示す値に設定される。編集された制御情報は、
保守コマンド入力部111より引継いだ特定装置の指定
情報と共に、制御情報送信部113に出力され、この制
御情報送信部113により、インタフェース3を通じて
、特定周辺装置として指定された周辺装置2に送信させ
る。
Next, to explain the control device 1, the configuration for transmitting control information in the control device 1 is shown in FIG.
In the figure, 111 indicates a maintenance command input section. When information specifying a specific peripheral device is input to the maintenance command input section 111, this information is passed to the control information editing section 112, where the control information is converted into the control information format 31. is edited and the information field in the control information is set to a value indicating the specific peripheral device. The edited control information is
Together with the specific device designation information taken over from the maintenance command input section 111, it is output to the control information transmitting section 113, and the control information transmitting section 113 causes the control information transmitting section 113 to transmit it to the peripheral device 2 designated as the specific peripheral device through the interface 3.

このようにして制御情報を受信した後、周辺装置2から
送信される通知情報を受信するための構成を第5図に示
すと、インタフェース3を介して供給される通知情報を
通知情報受信部121で受信する。このとき、通知情報
中の情報フィールドには、この通知情報を送信した周辺
装置2が特定装置であるか否かを判定する値が設定され
ている。
After receiving the control information in this way, the configuration for receiving the notification information transmitted from the peripheral device 2 is shown in FIG. Receive at. At this time, the information field in the notification information is set with a value for determining whether the peripheral device 2 that sent the notification information is a specific device.

そして、受信した通知情報は、特定周辺装置であるか否
かにかかわらず、特定処理実行部122に入力され、そ
の後、通知情報処理部123に渡って、特定周辺装置と
そうでない周辺装置に共通の処理が実行される。特定処
理実行部122では、第6図に示す特定処理実行部フロ
ーチャートに従った処理が行われ、特定装置からの通知
情報のみに対し、特定処理が実行される。
The received notification information is input to the specific processing execution unit 122, regardless of whether it is a specific peripheral device, and then passed to the notification information processing unit 123, which is common to the specific peripheral device and other peripheral devices. processing is executed. The specific processing execution unit 122 performs processing according to the specific processing execution unit flowchart shown in FIG. 6, and executes specific processing only on notification information from the specific device.

なお本実施例では、1種類の特定処理を対象とする場合
を示したが、情報フィールドおよび周辺装置での記憶部
を拡張することにより、複数種類の特定処理を対象とす
ることが可能であり、また、情報フィールドおよび周辺
装置を変更せず、制御部のソフトウェア部を変更するこ
とで、上述した特定処理についての機能を追加すること
ができる。
Although this embodiment shows a case in which one type of specific processing is targeted, it is possible to target multiple types of specific processing by expanding the information field and the storage section of the peripheral device. Furthermore, by changing the software section of the control section without changing the information field and peripheral devices, it is possible to add the above-mentioned specific processing function.

また、本実施例では、特定周辺装置が保守者コマンドに
より決定される場合を示したが、制御装置での周辺装置
異常の兆候検出時、あるいは、旦異常となった周辺装置
が制御装置からの制御により回復した時などをトリガと
することより、制御装置に自動的に特定周辺装置を決定
することも可能である。
In addition, in this embodiment, the specific peripheral device is determined by a maintenance personnel command, but when the control device detects a sign of a peripheral device abnormality, or the peripheral device that has become abnormal is determined by the control device. It is also possible to have the control device automatically determine the specific peripheral device by using the time when the device recovers through control as a trigger.

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

以上に述べたように、本発明によれば、周辺装置側に特
定処理を行う特定周辺装置であるか否かの情報を持つた
め、このデータの照合処理は周辺装置で行われ、制御装
置の特定処理による負荷を軽減することができる。また
、周辺装置では、特定処理の内容および特定装置である
ことを意識しないため、簡易な仕組により実現でき、別
の特定処理追加時にも、周辺装置の変更が不要である。
As described above, according to the present invention, since the peripheral device side has information as to whether or not it is a specific peripheral device that performs specific processing, this data verification processing is performed by the peripheral device, and the control device The load caused by specific processing can be reduced. Further, since the peripheral device is not aware of the content of the specific process or that it is a specific device, it can be implemented with a simple mechanism, and there is no need to change the peripheral device when another specific process is added.

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

第1図は本発明の一実施例が適用される制御装置と周辺
装置との全体を示す構成図、第2図は一実施例の信号フ
ォーマットを示す説明図、第3図は一実施例の周辺装置
を示す構成図、第4図は一実施例の制御装置の送信側の
構成図、第5図は一実施例の制御装置の受信側の構成図
、第6図は一実施例の特定処理実行時のフローチャート
である。 1・・・制御装置     2・・・周辺装置3・・・
インタフェース  21・・・制御情報受信部22・・
・情報フィールド抽出部 23・・・情報フィールド記憶部 24・・・通知情報編集部  25・・・制御情報送信
部26・・・周辺装置制御部 31・・・制御情報フォーマット 32・・・通知情報種別フォーマット 111・・・保守コマンド入力部 12 21 23 12 22 ・・・制御情報編集部 ・・・通知情報受信部 ・・・通知情報処理部 ・・・情報フィールド ・・・情報フィールド 13 22 11 21 ・・・制御情報送信部 ・・・特定処理実行部 ・・・制御情報種別 ・・・通知情報種別 44図 粥50 91’!6図 占
FIG. 1 is an overall configuration diagram of a control device and peripheral devices to which an embodiment of the present invention is applied, FIG. 2 is an explanatory diagram showing a signal format of an embodiment, and FIG. 3 is an illustration of an embodiment of the present invention. 4 is a block diagram showing the configuration of the transmitting side of the control device of one embodiment. FIG. 5 is a block diagram of the receiving side of the control device of one embodiment. FIG. 6 is a block diagram of the receiving side of the control device of one embodiment. It is a flowchart at the time of processing execution. 1...Control device 2...Peripheral device 3...
Interface 21... Control information receiving section 22...
・Information field extraction unit 23...Information field storage unit 24...Notification information editing unit 25...Control information transmission unit 26...Peripheral device control unit 31...Control information format 32...Notification information Type format 111...Maintenance command input section 12 21 23 12 22...Control information editing section...Notification information receiving section...Notification information processing section...Information field...Information field 13 22 11 21 ...Control information transmitting unit...Specific processing execution unit...Control information type...Notification information type 44 Figure porridge 50 91'! 6 divination

Claims (1)

【特許請求の範囲】[Claims] 1、プロセッサを有する制御装置と該制御装置から制御
を受ける周辺装置とのインタフェースを行うハードソフ
トインタフェース制御方式において、前記制御装置から
前記周辺装置への制御情報と前記周辺装置から前記制御
装置への通知情報とにそれぞれ情報フィールドを設け、
前記周辺装置では前記制御情報の受信時に前記情報フィ
ールドの内容を記憶し、前記制御情報に対応する通知情
報を制御装置に送信する場合に、通知情報中の前記情報
フィールドに記憶した情報を設定することを特徴とする
ハードソフトインタフェース制御方式。
1. In a hardware/software interface control method that interfaces a control device having a processor with a peripheral device controlled by the control device, control information from the control device to the peripheral device and control information from the peripheral device to the control device Provide information fields for notification information and
The peripheral device stores the contents of the information field when receiving the control information, and sets the stored information in the information field in the notification information when transmitting notification information corresponding to the control information to the control device. A hardware/software interface control method characterized by:
JP618290A 1990-01-17 1990-01-17 Hardware/software interface control system Pending JPH03211648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP618290A JPH03211648A (en) 1990-01-17 1990-01-17 Hardware/software interface control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP618290A JPH03211648A (en) 1990-01-17 1990-01-17 Hardware/software interface control system

Publications (1)

Publication Number Publication Date
JPH03211648A true JPH03211648A (en) 1991-09-17

Family

ID=11631410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP618290A Pending JPH03211648A (en) 1990-01-17 1990-01-17 Hardware/software interface control system

Country Status (1)

Country Link
JP (1) JPH03211648A (en)

Similar Documents

Publication Publication Date Title
KR920018567A (en) Data processing systems
JPH01194054A (en) Program loading system for distributed processing system
CN110069406A (en) The TPC-DS test method and system of automatic trigger
JPH03211648A (en) Hardware/software interface control system
JPH0666061B2 (en) Multi CPU communication device
JPS62121562A (en) Data communication system
JPH09288608A (en) File sharing controller in distributed processing system
JPH0281158A (en) Inter-computer program on-line reallocation system
JP3307331B2 (en) Network file system data transfer method
JP2009277119A (en) Log recording system
JPH07182261A (en) Information processor
JPH04273327A (en) Back-up device for generation of static parallel processing program
JP2812265B2 (en) Network management method for information processing system
JP3404908B2 (en) Monitoring and control equipment
JPH1021100A (en) Sharing system for multi-transaction processing systems
JPS6224377A (en) Information collecting system for data communication network
JPH1078913A (en) Write cache device and write cache circuit
JPH0314062A (en) Charging information management system for computer network
JPS59180747A (en) System for automatically detecting dead lock
JPS62209644A (en) Program loading system
JPH0991231A (en) Application program execution method and device therefor in server-client computer system
JPS61269545A (en) Computer system
JPH01106234A (en) Method for controlling debugging of parallel processing
JPS59151239A (en) Multiport console
JP2000293454A (en) Equipment and method for data communication, and recording medium