JPH03182953A - Command control system for data processing system - Google Patents

Command control system for data processing system

Info

Publication number
JPH03182953A
JPH03182953A JP32342089A JP32342089A JPH03182953A JP H03182953 A JPH03182953 A JP H03182953A JP 32342089 A JP32342089 A JP 32342089A JP 32342089 A JP32342089 A JP 32342089A JP H03182953 A JPH03182953 A JP H03182953A
Authority
JP
Japan
Prior art keywords
command
storage device
processing unit
central processing
controlled
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.)
Granted
Application number
JP32342089A
Other languages
Japanese (ja)
Other versions
JP2808761B2 (en
Inventor
Kenichiro Kamaike
蒲池 健一郎
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 JP32342089A priority Critical patent/JP2808761B2/en
Publication of JPH03182953A publication Critical patent/JPH03182953A/en
Application granted granted Critical
Publication of JP2808761B2 publication Critical patent/JP2808761B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve compatibility between a central processing unit and controlled devices by adding a common parameter on the write address of a command to the command which the central processing unit issues and status information which the controlled devices return. CONSTITUTION:The common parameter on the write address of the command is added to command information which the central processing unit 1 writes into a storage device 2 and the common parameter included in the command corresponding to status information which the controlled devices 31-3n write into the storage device 2 is added as it is. Consequently, the central processing unit 1 which reads status information from the storage device 2 processes the information immediately if the common parameter included in the unit 1 is the command address, and if a serial number, converts it into an address on the storage device 2. Thus, the write address of the issued command can easily be obtained. Thus, the common parameter can be set by adjusting it to the specification of the central processing unit and compatibility between the devices can be improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、各種の電子装置の制御などに利用されるデー
タ処理システムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data processing system used for controlling various electronic devices.

(従来の技術) 交換装置など各種の電子装置の制御などに利用されるデ
ータ処理システムの典型的なものは、第3図に示すよう
に、中央処理装置lと、記憶装置2と、この中央処理装
置i1の制御を受ける信号装置などの複数の被制御装置
31〜3イとから構成されている。中央処理装置1は、
被制御装置3I〜3rlの一つに対するコマンドaを記
憶装置2上に書込んだのちこの被制御装置にコマンド起
動をかけることによりこの被制御装置の制御を実行する
。このコマンド起動を受けた被制御装置は、記憶装置2
上からコマンドaを読出して実行し、その実行後のステ
ータス情報すを記憶装置2上に書込むことによりコマン
ドの実行の終了を中央処理装置に通知する。
(Prior Art) A typical data processing system used for controlling various electronic devices such as switching equipment, as shown in FIG. It is composed of a plurality of controlled devices 31 to 3i such as signal devices that are controlled by the processing device i1. The central processing unit 1 is
After a command a for one of the controlled devices 3I to 3rl is written on the storage device 2, the command is activated for this controlled device to execute control of this controlled device. The controlled device that received this command activation is the storage device 2.
Command a is read from above and executed, and status information after the execution is written on the storage device 2, thereby notifying the central processing unit of the completion of command execution.

(2) 中央処理装置fが発行するコマンドの形式は第4図に示
すように、動作種別を示すコマンドコードと、複数個の
動作指示パラメータl −mとから構成されている。ま
た、被制御装置が返すステタス情報の形式は第5図に示
すように、ステータスコードと動作指示パラメータに対
応する付加情報1〜nとに加えて、対応のコマンドが書
込まれている記憶装置2上のアドレスがコマンドアドレ
スとして付加される。このコマンドアドレスは、中央処
理装置lが複数のコマンドを連続的に発行した場合に、
どのコマンドの処理が終了したかを識別可能とするため
である。
(2) As shown in FIG. 4, the format of the command issued by the central processing unit f consists of a command code indicating the type of operation and a plurality of operation instruction parameters l-m. In addition, the format of the status information returned by the controlled device is as shown in FIG. The address above 2 is added as a command address. This command address is used when the central processing unit issues multiple commands consecutively.
This is to make it possible to identify which command has been processed.

このコマンドアドレスの代わりに、記憶装置2上のコマ
ンド書込みエリアを固定的に複数設定してそれぞれに通
し番号を付与し、この通し番号をステータス情報に含ま
せる方式もある。
Instead of using this command address, there is also a method in which a plurality of command write areas on the storage device 2 are fixedly set and a serial number is assigned to each, and the serial number is included in the status information.

(発明が解決しようとする課題) 上記従来のコマンド制御方式では、ステータス情報に含
めるコマンドの格納エリアを示す情報がアドレスそのも
のか又は通し番号のいずれかに固(3) 定されている。このため、中央処理装置と被制御装置と
の間でコマンドの格納エリアを示す情報が異なると両者
を組合せることができず、装置の互換性が損なわれてし
まうという問題がある。
(Problem to be Solved by the Invention) In the conventional command control method described above, the information indicating the storage area of the command included in the status information is fixed to either the address itself or a serial number (3). Therefore, if the information indicating the storage area of commands is different between the central processing unit and the controlled device, the two cannot be combined, resulting in a problem that the compatibility of the devices will be impaired.

(課題を解決するための手段) 本発明のコマンド制御方式は、中央処理装置が記憶装置
上に書込むコマンドと被制御装置が記憶装置上に書込む
ステータス情報の双方にこのコマンドの書込みアドレス
に関する情報を共通パラメータとして含めることにより
、この共通パラメータを中央処理装置のみの仕様に合わ
せて設定することを可能とし、装置間の互換性を高める
ように構成されている。
(Means for Solving the Problems) The command control method of the present invention includes both the command written by the central processing unit on the storage device and the status information written by the controlled device on the storage device regarding the write address of this command. By including the information as a common parameter, this common parameter can be set according to the specifications of only the central processing unit, and is configured to increase compatibility between devices.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

(実施例) 本発明の一実施例のコマンド制御方式を適用するデータ
処理システムは、第3図に例示するように、中央処理装
置1と、記憶装置2と、中央処理装置1の制御を受ける
複数の被制御袋W31〜3□(4) とから構成されている。
(Embodiment) A data processing system to which a command control method according to an embodiment of the present invention is applied is controlled by a central processing unit 1, a storage device 2, and a central processing unit 1, as illustrated in FIG. It is composed of a plurality of controlled bags W31 to 3□(4).

中央処理装置1は、被制御装置3I〜3oの一つに対す
−るコマンドaを記憶装置2上に書込んだのちコマンド
起動をかzノることによりこの被制御装置の制御を実行
する。このコマンド起動を受けた被制御装置は、記憶装
置2上からコマンドaを読出して実行し、その実行後の
ステータス情報すを記憶装置2上に書込むことによりコ
マンドの実行の終了を中央処理装置に通知する。
The central processing unit 1 writes a command a for one of the controlled devices 3I to 3o on the storage device 2, and then executes the control of this controlled device by activating the command. The controlled device that has received this command activation reads command a from the storage device 2, executes it, and writes the status information after the execution to the storage device 2, thereby instructing the central processing unit to finish the execution of the command. to notify.

中央処理装置lが記憶装置2に書込むコマンドの形式は
第1図に示すように、動作種別を示すコマンドコードと
複数個の動作指示パラメータ1〜mとに加えて、コマン
ドの書込みアドレスに関する共通パラメータが付加され
ている。一方、被制御装置が記憶装置2に書込むステー
タス情報の形式は第2図に示すように、ステータスコー
ドと、動作指示パラメータに対応する付加情報1〜nと
に加えて、対応のコマンドに含まれている共通パラメー
タがそのまま付加されている。
As shown in FIG. 1, the format of the command that the central processing unit 1 writes to the storage device 2 includes a command code indicating the type of operation, a plurality of operation instruction parameters 1 to m, and a common code regarding the write address of the command. Parameters are added. On the other hand, as shown in FIG. 2, the format of the status information that the controlled device writes to the storage device 2 includes a status code, additional information 1 to n corresponding to the operation instruction parameters, and information included in the corresponding command. The common parameters listed are added as is.

上記共通パラメータとしては、記憶装置2上の(5) コマンドの書込みアドレス(コマンドアドレス)や、固
定的に設定された記(、!装置2Lの複数のエリアに付
与された通し番号などが使用される。従って、このステ
ータス情報を記憶装置2から読出した中央処理装置1は
、これに含まれる共通パラメータがコマンドアドレスで
あれば直ちに、通し番号であればこれを記憶装置2上の
アドレスに変換することにより発行済みコマンドの書込
みアドレスを容易に取得することができる。
The above-mentioned common parameters include the write address (command address) of the command (5) on the storage device 2, fixedly set notes (!, serial numbers assigned to multiple areas of the device 2L, etc.). Therefore, when the central processing unit 1 reads out this status information from the storage device 2, if the common parameter contained therein is a command address, it immediately converts it into an address on the storage device 2. The write address of the issued command can be easily obtained.

(発明の効果) 以上詳細に説明したように、本発明のコマンド制御方式
によれば、中央処理装置が発行するコマンドと被制御装
置が返すステータス情報の双方にコマンドの書込みアド
レスに関する共通パラメータを付加する構成であるから
、この共通パラメータを中央処理装置のみの仕様に合わ
せて設定することが可能となり、中央処理装置と被制御
装置との互換性が向上するという効果が奏される。
(Effects of the Invention) As explained in detail above, according to the command control method of the present invention, a common parameter regarding the write address of the command is added to both the command issued by the central processing unit and the status information returned by the controlled device. Because of this configuration, it is possible to set this common parameter according to the specifications of only the central processing unit, and the compatibility between the central processing unit and the controlled device is improved.

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

第1図は本発明の一実施例おいて中央処理装置(6) が発行するコマンドの形式を例示する概念図、第2図は
−)1記コマンドに対IIらして被制御装置が返すステ
ータス情報の形式を例示する概念図、第3図は上記実施
例を適用するデータ処理システムの構成を例示するブD
 ツク図、第4図と第5図は従来のコマンド制御方式に
基づくコマンドとステータス情報の形式を示す概念図で
ある。 1・・・中央処理装置、2・・・記憶装置、3〜31 
・・・被制御71装置、a・・・中央処理装置lが記憶
装置上に書込むコマンド、b・・・被制御装置が記憶装
置2上に書込むステータス情報。
Fig. 1 is a conceptual diagram illustrating the format of a command issued by the central processing unit (6) in one embodiment of the present invention, and Fig. 2 is a status returned by the controlled device in response to the command II. A conceptual diagram illustrating the format of information, and FIG. 3 is a block diagram illustrating the configuration of a data processing system to which the above embodiment is applied.
4 and 5 are conceptual diagrams showing formats of commands and status information based on conventional command control systems. 1...Central processing unit, 2...Storage device, 3-31
. . . Controlled device 71, a . . . Command written by the central processing unit l onto the storage device, b . . . Status information written into the storage device 2 by the controlled device.

Claims (1)

【特許請求の範囲】 中央処理装置と記憶装置とこの中央処理装置の制御を受
ける1又は複数の被制御装置とから構成され、前記中央
処理装置は前記記憶装置上にコマンドを書込んだのち前
記被制御装置にコマンド起動をかけることによりこの被
制御装置に対する制御を実行し、このコマンド起動を受
けた被制御装置は前記記憶装置からコマンドを読出して
実行しその実行後のステータス情報を前記記憶装置上に
書込むことによりコマンドの実行の終了を前記中央処理
装置に通知するデータ処理システムのコマンド制御方式
において、 前記中央処理装置が前記記憶装置上に書込むコマンドと
前記被制御装置がこの記憶装置上に書込むステータス情
報の双方にこのコマンドの書込みアドレスに関する共通
パラメータが含まれることを特徴とするデータ処理シス
テム。
[Scope of Claims] Consisting of a central processing unit, a storage device, and one or more controlled devices controlled by the central processing unit, the central processing unit writes commands to the storage device and then writes the commands to the storage device. Control of the controlled device is executed by issuing a command activation to the controlled device, and the controlled device that receives the command activation reads the command from the storage device, executes it, and stores the status information after the execution in the storage device. In a command control method for a data processing system in which the central processing unit is notified of the end of execution of a command by writing a command to the storage device, the central processing unit writes a command to the storage device and the controlled device writes the command to the storage device. A data processing system characterized in that both pieces of status information written above include a common parameter regarding a write address of this command.
JP32342089A 1989-12-12 1989-12-12 Command control method for data processing system Expired - Lifetime JP2808761B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32342089A JP2808761B2 (en) 1989-12-12 1989-12-12 Command control method for data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32342089A JP2808761B2 (en) 1989-12-12 1989-12-12 Command control method for data processing system

Publications (2)

Publication Number Publication Date
JPH03182953A true JPH03182953A (en) 1991-08-08
JP2808761B2 JP2808761B2 (en) 1998-10-08

Family

ID=18154490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32342089A Expired - Lifetime JP2808761B2 (en) 1989-12-12 1989-12-12 Command control method for data processing system

Country Status (1)

Country Link
JP (1) JP2808761B2 (en)

Also Published As

Publication number Publication date
JP2808761B2 (en) 1998-10-08

Similar Documents

Publication Publication Date Title
JPH03182953A (en) Command control system for data processing system
JPS59158425A (en) Control system of input and output device
JPH0454517Y2 (en)
JPH01180620A (en) Disk controller
JPS6272040A (en) Information tracing system
JP2778343B2 (en) Monitoring and control equipment
JPS60178556A (en) State display system
EP0510679A3 (en)
JPS62200945A (en) Communication control system
JPH06103154A (en) Shared memory controller
JPS59157758A (en) Common control system of magnetic storage device
JPH05108129A (en) Inter-robot interlock control method
JPH054694B2 (en)
JPS62219039A (en) Dump output controlling and processing system
JPH05224952A (en) Information processing equipment
JPH028983A (en) Controller for automatic vending machine
JPH03246604A (en) Input/output information transmission system for programmable controller system
JPH0477946A (en) Execution system for input/output channel program
JPS6073765A (en) Program loader
JPS63126055A (en) Terminal equipment control system
JPS63173129A (en) Information processor
JPH03135628A (en) Terminal equipment
JPS63141155A (en) Computer system
JPH03172921A (en) Electronic disk system
JPS6142629U (en) input device