JPH09190366A - System control method - Google Patents
System control methodInfo
- Publication number
- JPH09190366A JPH09190366A JP8002530A JP253096A JPH09190366A JP H09190366 A JPH09190366 A JP H09190366A JP 8002530 A JP8002530 A JP 8002530A JP 253096 A JP253096 A JP 253096A JP H09190366 A JPH09190366 A JP H09190366A
- Authority
- JP
- Japan
- Prior art keywords
- command
- eeprom
- control device
- control method
- dpram
- 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.)
- Withdrawn
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
(57)【要約】
【課題】本発明は上位制御装置と、上位制御装置からの
指示により、監視、制御が行なわれる下位装置から構成
されるシステムのシステム制御方式に関し、上位制御装
置でコマンド作成を、前回送出した差分のみを、DPR
AM上で作成することによりコマンド編集を効率的に行
ない、さらに、ハードウェア構成を削減できるシステム
管理方式を実現することを目的とする。
【解決手段】上位制御装置は、記憶装置と、差分抽出部
と、処理装置と、通信制御装置と、デュアルポートラム
を備え、下位装置は、通信制御装置と、EEPROM
と、記憶装置と、処理装置とを備え、上位制御装置から
下位装置の監視、制御を行なうとき、初回は下位装置へ
の全てのコマンドを作成し、DPRAM上に展開し、次
回からは前回との差分のみをDPRAM上に転送して作
成し、差分のみを更新したコマンドを下位装置のEEP
ROMへ送信するように構成する。
Kind Code: A1 The present invention relates to a system control method for a system including a host controller and a lower device that is monitored and controlled by an instruction from the host controller, and a command is created by the host controller. , Only the difference sent last time is DPR
An object of the present invention is to realize a system management method capable of efficiently editing a command by creating it on the AM and further reducing the hardware configuration. A high-order control device includes a storage device, a difference extraction unit, a processing device, a communication control device, and a dual port RAM, and a low-order device includes a communication control device and an EEPROM.
When a superordinate control device monitors and controls a subordinate device, all commands to the subordinate device are created and expanded on the DPRAM, and next time from the previous time, the storage device and the processing device are provided. Only the difference of the difference is transferred to the DPRAM, and the created command is updated.
Configure to send to ROM.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、上位制御装置と、
上位制御装置からの指示により、監視、制御が行なわれ
る下位装置から構成されるシステムのシステム制御方式
に関する。TECHNICAL FIELD The present invention relates to a host controller,
The present invention relates to a system control method of a system including a lower-level device that is monitored and controlled by an instruction from a higher-level controller.
【0002】複数の情報処理装置、通信装置等でシステ
ムを構成する場合、システムを効率的に運用するために
階層構造をとることが多い。このような構成において
は、1つの装置を上位制御装置と位置づけ、上位制御装
置によりシステムを構成する下位装置の監視、制御を行
なっている。When a system is composed of a plurality of information processing devices, communication devices, etc., it often takes a hierarchical structure in order to operate the system efficiently. In such a configuration, one device is positioned as an upper control device, and the lower control device constituting the system is monitored and controlled by the upper control device.
【0003】かかる情報処理システムの高度化、大規模
化に伴い、システムの重要度が高まっており、情報処理
システムが停止した場合でも、システムとして運用中の
各種データを保持することが要求される場合が多くなっ
てきている。かかる、データ保持を行なうためにEEP
ROM(Electrically Erasable Programmable Read Onl
y Memory) が使用される。EEPROMは電源が断とな
ってもデータを保持可能で、且つ、電気的にデータを消
去可能なROMであり、電源が断時のデータを保持する
ために有効なデバイスであり、各種システムで使用され
ている。With the sophistication and large scale of the information processing system, the importance of the system is increasing, and even when the information processing system is stopped, it is required to hold various data being operated as the system. There are many cases. In order to hold such data, the EEP
ROM (Electrically Erasable Programmable Read Onl
y Memory) is used. The EEPROM is a ROM that can retain data even when the power is cut off and that can electrically erase the data. It is an effective device for holding the data when the power is cut off, and is used in various systems. Has been done.
【0004】かかるEEPROMを使用した下位装置か
ら構成されるシステムにおいて、上位制御装置からの下
位装置への監視、制御を効率的に行なうことが要求され
ている。In a system composed of such a lower device using the EEPROM, it is required that the upper control device efficiently monitor and control the lower device.
【0005】[0005]
【従来の技術】図9は従来例を説明する図を示す。図中
の100は上位制御装置であり、記憶装置140に格納
されたプログラムにしたがって、処理装置110がシス
テム全体の監視、制御を行なっている。また、DPRA
M(Dual Port RAM) 121、122は2組のポートをも
つRAMであり、それぞれ処理装置110、通信用LS
I151、152からアクセス可能な構成となってい
る。2. Description of the Related Art FIG. 9 is a diagram for explaining a conventional example. Reference numeral 100 in the drawing denotes a host controller, and the processor 110 monitors and controls the entire system according to a program stored in the storage device 140. Also, DPRA
M (Dual Port RAM) 121 and 122 are RAMs having two sets of ports, and are a processing unit 110 and a communication LS, respectively.
The configuration is accessible from I 151 and 152.
【0006】200は下位装置であり、上位制御装置1
00との通信を通信用LSI241、242をとおして
行ない、受信したコマンドは、一旦、EEPROM22
0に書き込んだ後、処理装置210がEEPROM22
0のコマンドを読み出し下位装置200の監視、制御を
実行する。Reference numeral 200 denotes a lower device, and the upper control device 1
00 is transmitted through the communication LSIs 241 and 242, and the received command is temporarily stored in the EEPROM 22.
After writing to 0, the processing unit 210 causes the EEPROM 22 to
The command of 0 is read and the lower device 200 is monitored and controlled.
【0007】図10は従来例のコマンド作成のフローチ
ャートを示す。以下フローチャートのステップ(図中S
と示す)にしたがって、動作を説明する。 S1;処理装置110の上位タスクからコマンド送出要
求が発生する。FIG. 10 shows a flowchart of command generation in the conventional example. Steps in the flow chart below (S in the figure)
Operation) will be described. S1: A command transmission request is issued from the upper task of the processing device 110.
【0008】S2;処理装置110は内部バッファメモ
リ(図中バッファと示す)111にコマンド(図中CM
Dと示す)0を作成する。 S3;コマンド0をDPRAM121に複写する。S2: The processor 110 sends a command (CM in the figure) to an internal buffer memory (shown as a buffer in the figure) 111.
Create 0) (denoted D). S3: Copy the command 0 to the DPRAM 121.
【0009】S4、S5;S2、S3と同じ処理にコマ
ンド1について行なう。 S6、S7;S2、S3と同じ処理にコマンドnについ
て行なう。コマンド1〜コマンドnがDPRAM121
に複写された後、通信用LSI151をとおして、下位
装置200に送出し、応答を待つ。S4, S5: The same process as S2, S3 is performed for command 1. S6, S7: The same process as S2, S3 is performed for the command n. Command 1 to command n are DPRAM 121
After being copied, the data is sent to the lower device 200 through the communication LSI 151 and waits for a response.
【0010】S8;下位装置200からの応答を受信す
る。 S9;上位タスクに応答を送出する。 このような処理により、上位制御装置100から下位装
置200にコマンドを送出し、下位装置200の制御を
行なう。S8: Receive a response from the lower device 200. S9: Sends a response to the upper task. Through such processing, the command is sent from the upper control device 100 to the lower device 200 to control the lower device 200.
【0011】[0011]
【発明が解決しようとする課題】上述の従来例において
は、上位制御装置100が下位装置200に監視、制御
を行なうためのコマンドを送出するときは、処理装置1
10は制御コマンドを内部バッファメモリ111上で作
成し、作成したコマンドを1コマンドづつDPRAM1
21上に複写してから、送出するので、コマンドを送出
するまでに時間がかかる。In the above-mentioned conventional example, when the upper control device 100 sends a command for monitoring and controlling to the lower device 200, the processing device 1
Numeral 10 creates a control command on the internal buffer memory 111, and creates the created command one by one in the DPRAM1.
Since it is sent after being copied on the screen 21, it takes time to send the command.
【0012】また、EEPROM220のアクセス用の
DPRAM121、通信用LSI151、241と制御
信号、障害情報収集用のDPRAM122、通信用LS
I152、242とを分離しているので、通信用LSI
151、152、241、242の使用効率が低く、ハ
ードウェア構成も大きくなってしまう。A DPRAM 121 for accessing the EEPROM 220, communication LSIs 151 and 241 and a control signal, a DPRAM 122 for collecting fault information, and a communication LS.
I152 and 242 are separated, so communication LSI
The use efficiency of 151, 152, 241, 242 is low, and the hardware configuration also becomes large.
【0013】さらに、ログ情報や障害情報は上位制御装
置100の記憶装置140にすべて格納されるので、障
害が発生し、障害解析を行なう場合、目的とするデータ
をサーチするのに長い時間を必要としたり、さらには、
システムを停止して、情報を取得することが必要な場合
も生じていた。Further, since all log information and failure information are stored in the storage device 140 of the host controller 100, when a failure occurs and failure analysis is performed, it takes a long time to search for target data. And even more,
Occasionally, it was necessary to stop the system and obtain information.
【0014】本発明は、上位制御装置でコマンド作成
を、前回送出した差分のみを、DPRAM上で作成する
ことによりコマンド編集を効率的に行ない、さらに、コ
マンド送受信用と、制御信号、障害情報収集用のDPR
AM、通信用LSIを共用することにより、ハードウェ
ア構成を削減できるシステム管理方式を実現しようとす
る。According to the present invention, the command is efficiently edited by creating a command in the host controller for only the difference sent last time on the DPRAM, and for command transmission / reception, control signal, and failure information collection. For DPR
An attempt is made to realize a system management method capable of reducing the hardware configuration by sharing the AM and the communication LSI.
【0015】[0015]
【課題を解決するための手段】図1は本発明の原理を説
明する図である。図中の100はシステム全体の監視、
制御を行なう上位制御装置であり、200は上位制御装
置100からの監視、制御信号を受信し、該監視、制御
情報にしたがって監視、制御を行なった結果の情報、お
よび、障害情報を上位制御装置100に送信する下位装
置である。FIG. 1 is a diagram for explaining the principle of the present invention. 100 in the figure is for monitoring the entire system,
Reference numeral 200 denotes a higher-level control device that performs control. Reference numeral 200 denotes a higher-level control device that receives monitoring and control signals from the higher-level control device 100, and obtains information on the results of monitoring and control according to the monitoring and control information and failure information. It is a lower device that transmits to 100.
【0016】本発明の上位制御装置100は、前回、下
位装置200へ送信したコマンドを格納しておく記憶装
置140と、今回送信するコマンドと、前回送信したコ
マンドの差分を抽出する差分抽出部130と、初回は下
位装置100に送信するすべてのコマンドを作成し、次
回からは、差分抽出部130で抽出した前回との差分の
コマンドのみを作成する処理装置110と、上位制御装
置100と下位装置200との間の通信を制御する通信
制御装置150と、上位制御装置100から下位装置2
00に送信するコマンド、下位装置200から上位制御
装置100に送信する障害情報を格納し、処理装置11
0と通信制御装置150からアクセス可能なデュアルポ
ートラム120を備えて構成している。The host controller 100 of the present invention stores a command transmitted to the lower device 200 last time, a storage device 140, a difference extractor 130 for extracting the difference between the command transmitted this time and the command transmitted last time. Then, the processing device 110 that creates all the commands to be transmitted to the lower-level device 100 at the first time, and only the command of the difference from the previous time extracted by the difference extracting unit 130 from the next time Communication control device 150 for controlling communication with 200, and host device 100 to lower device 2
00, the failure information transmitted from the lower device 200 to the upper control device 100 is stored, and the processing device 11
0 and a dual port RAM 120 accessible from the communication control device 150.
【0017】また、下位装置200は、上位制御装置1
00と下位装置200との間の通信を制御する通信制御
装置240と、上位制御装置100から受信したコマン
ドを格納するEEPROM220と、下位装置200の
各種データを格納する記憶装置230と、記憶装置23
0上のデータ、および、EEPROM220上のコマン
ドにしたがって監視、制御を行なう処理装置210とを
備えいる。The lower device 200 is the upper control device 1.
00 and the lower device 200, a communication control device 240 for controlling communication, an EEPROM 220 for storing commands received from the upper control device 100, a storage device 230 for storing various data of the lower device 200, and a storage device 23.
0, and a processor 210 that monitors and controls according to the commands on the EEPROM 220.
【0018】かかる構成において、上位制御装置100
から下位装置200の監視、制御を行なうとき、初回は
下位装置200への送出する全てのコマンドを作成し、
DPRAM120上に展開し、次回からは前回との差分
のみをDPRAM120上に転送して作成し、差分のみ
を更新したコマンドを下位装置200へ送信すること上
位制御装置100でのコマンド作成を効率的に行なうこ
とができる。In such a configuration, the host controller 100
When monitoring and controlling the lower level device 200 from the first time, all commands to be sent to the lower level device 200 are created for the first time,
The command is expanded in the DPRAM 120, and from the next time, only the difference from the previous time is transferred and created in the DPRAM 120, and the command in which only the difference is updated is transmitted to the lower device 200. Can be done.
【0019】[0019]
【発明の実施の形態】図2は本発明の実施の形態(1)
を説明する図である。図中の100は上位制御装置、1
10は処理装置、111は処理装置100内の内部バッ
ファメモリ、120はDPRAM、140は記憶装置、
151は原理図1で説明した通信制御装置150として
の機能をもつ通信用LSIである。また、200は下位
装置であり、210は処理装置、220はEEPRO
M、230は記憶装置、241は通信用LSIである。FIG. 2 shows an embodiment (1) of the present invention.
FIG. In the figure, 100 is a host controller, 1
10 is a processing device, 111 is an internal buffer memory in the processing device 100, 120 is DPRAM, 140 is a storage device,
Reference numeral 151 denotes a communication LSI having a function as the communication control device 150 described in principle with reference to FIG. Further, 200 is a lower device, 210 is a processing device, and 220 is EEPRO.
M and 230 are storage devices, and 241 is a communication LSI.
【0020】図3は本発明のコマンド作成を説明する図
である。図3の(A)はコマンド作成のフローチャート
を示す。 S1;処理装置110の上位タスクからコマンド作成要
求が発生する。FIG. 3 is a diagram for explaining the command creation of the present invention. FIG. 3A shows a flowchart of command creation. S1: The command creation request is issued from the higher-level task of the processing device 110.
【0021】S2;初回のコマンド作成か否かを判定す
る。 S3;初回のコマンド作成でない場合は、差分抽出部1
30で前回のコマンドと今回のコマンドとの差分を抽出
する。S2: It is determined whether or not the command is first created. S3; if it is not the first command creation, the difference extraction unit 1
At 30, the difference between the previous command and the current command is extracted.
【0022】S4;差分抽出部130で抽出した差分の
みをDPRAM120に転送し、DPRAM120上で
今回送出するコマンドを作成する。 S5;初回のコマンド作成の場合は、全コマンドを作成
する。S4: Only the difference extracted by the difference extracting section 130 is transferred to the DPRAM 120, and a command to be sent this time is created on the DPRAM 120. S5: In the case of the first command creation, all commands are created.
【0023】S6;作成したコマンドを下位装置200
に送出する。 S7;下位装置200からの応答を受信し、応答を編集
し上位タスクに送出する。S6: The created command is sent to the lower device 200.
To send to. S7: Receive a response from the lower device 200, edit the response, and send it to the upper task.
【0024】このようにして、初回のコマンド作成は全
コマンドを作成し、2回目以降のコマンドの作成は、前
回とのコマンドの差分のみをDPRAM120に転送
し、差分のみを書き換えることにより、コマンド作成の
処理速度を高めることができる。In this way, all commands are created for the first command creation, and for the second and subsequent command creation, only the difference between the previous command and the previous command is transferred to the DPRAM 120, and only the difference is rewritten to create the command. The processing speed can be increased.
【0025】(B)は初回で作成したDPRAM120
上のコマンド10〜コマンド1n(ここでは、システム
は複数の下位装置200から構成されるものとする)を
示す。本発明のコマンドは2バイトから構成されてお
り、図中の(a)〜(n)はそれぞれ8ビットのデータ
を示す。ヘッダはそれぞれのコマンドの送出先となる下
位装置200を識別するための情報である。(B) DPRAM 120 created in the first time
The above commands 10 to 1n (here, the system is assumed to be composed of a plurality of lower-level devices 200) are shown. The command of the present invention is composed of 2 bytes, and (a) to (n) in the figure each represent 8-bit data. The header is information for identifying the lower-level device 200 that is the transmission destination of each command.
【0026】(C)は初回のコマンドとの差分を抽出し
たものであり、コマンド21〜コマンド22のみが前回
コマンドと異なっており、それぞれ(c)〜(f)が
(c′)〜(f′)と変更されている。(C) is an extraction of the difference from the first command. Only commands 21 to 22 are different from the previous command, and (c) to (f) are (c ') to (f). ′) Has been changed.
【0027】(D)差分のみをDPRAM120に転送
し、コマンド21〜コマンド22を(c′)〜(f′)
書き換えた(図中網かけで示す)第2回目に送出するコ
マンドを示す。(D) Only the difference is transferred to the DPRAM 120, and the commands 21 to 22 are (c ') to (f').
The command which is rewritten (indicated by shading in the figure) and which is transmitted the second time is shown.
【0028】このように、DPRAM120上で作成す
るコマンドは下位装置200が実行するコマンド形式で
作成することにより、コマンド形式の変換等の処理が不
要となり、効率的に下位装置200の監視、制御を行な
うことができる。As described above, since the command created on the DPRAM 120 is created in the command format executed by the lower-level device 200, the conversion of the command format is not required, and the monitoring and control of the lower-level device 200 can be performed efficiently. Can be done.
【0029】図4は本発明の実施の形態(2)を説明す
る図である。実施の形態(2)においては、図2で説明
した実施の形態(1)の上位制御装置100にDPRA
M120と通信用LSI151の使用中を示す使用中フ
ラグ141と、使用中フラグ141を参照して排他制御
を行なう排他制御部161と、EEPROM220への
正常書き込みを確認するためのタイマ162を設けた構
成としている。FIG. 4 is a diagram for explaining the embodiment (2) of the present invention. In the embodiment (2), the DPRA is added to the host controller 100 of the embodiment (1) described in FIG.
A configuration including a busy flag 141 indicating that the M120 and the communication LSI 151 are in use, an exclusive control unit 161 that performs exclusive control by referring to the busy flag 141, and a timer 162 for confirming normal writing to the EEPROM 220. I am trying.
【0030】使用中を表示する使用中フラグ141は、
複数のタスクがDPRAM120、通信用LSI151
にアクセスするときの競合を防止するためのものであ
り、DPRAM120、通信用LSI151にアクセス
要求が発生したときは、最初に、排他制御部161で使
用中フラグ141が空きであることを確認してから処理
に入る。The busy flag 141 indicating the busy status is
A plurality of tasks are DPRAM 120, communication LSI 151
This is for the purpose of preventing contention when accessing the device. When an access request is issued to the DPRAM 120 and the communication LSI 151, the exclusive control unit 161 first confirms that the busy flag 141 is empty. To start processing.
【0031】また、EEPROM220の書き込み時間
は、通常のRAMに比べて書込み時間が長い。そこで、
正常に書き込みを行なうに充分な時間を経過してから、
EEPROM220に書き込んだデータを読み出して、
書き込みが正常に行なわれたか否かを判定することが必
要であり、タイマ162はこの書き込み時間の経過を計
時するものである。Further, the writing time of the EEPROM 220 is longer than that of a normal RAM. Therefore,
After sufficient time has passed to write normally,
Read the data written in the EEPROM 220,
It is necessary to determine whether or not writing has been normally performed, and the timer 162 counts the passage of this writing time.
【0032】図5は本発明の下位装置のEEPROMテ
ーブルを説明する図を示す。下位装置200のEEPR
OM220には上位制御装置100から送られてきたコ
マンドij(コマンド(a)(b)〜コマンド(m)
(n)を代表してコマンドijと称する)が書き込まれ
る。また、アドレス(n−3)、(n−2)、(n−
1)、nには、下位装置200ごとの識別子、コード、
障害履歴、書込回数が書き込まれる。FIG. 5 is a view for explaining the EEPROM table of the lower device of the present invention. EEPR of lower device 200
The command ij (commands (a) (b) to command (m)) sent from the host controller 100 is sent to the OM 220.
A command ij is written on behalf of (n). Further, addresses (n-3), (n-2), (n-
1) and n are identifiers and codes for each lower device 200,
The fault history and the number of times of writing are written.
【0033】EEPROM220は書込みを行なうごと
に劣化する性質をもっている。そこで、EEPROM2
20に書き込み動作の都度、書込みを行なった回数を書
き込んでおき、定期的に書込み回数を読み出すことによ
り劣化状態を予測することができる。The EEPROM 220 has a property of deteriorating each time writing is performed. Therefore, EEPROM2
It is possible to predict the deterioration state by writing the number of times writing has been performed in the writing operation 20 every time the writing operation is performed and periodically reading the number of times of writing.
【0034】このように、EEPROM220に障害情
報を書き込んでおくことにより、例えば、遠隔地に設置
された下位装置200に障害が発生した場合、被疑装
置、例えば、プリント板の交換を行ない、持ちかえり、
EEPROM220に書き込まれた下位装置200ごと
の障害情報を分析することにより障害解析を、詳細、且
つ、迅速に行なうことができる。As described above, by writing the failure information in the EEPROM 220, for example, when a failure occurs in the lower device 200 installed in a remote place, the suspected device, for example, the printed board is replaced and brought back.
The failure analysis can be performed in detail and quickly by analyzing the failure information for each lower device 200 written in the EEPROM 220.
【0035】図6は本発明の上位制御装置のDPRAM
テーブルを説明する図を示す。上位制御装置100のD
PRAM120には、処理装置110で作成されるコマ
ンドと下位装置200から受信した応答信号が書き込ま
れる。FIG. 6 is a DPRAM of the host controller of the present invention.
The figure explaining a table is shown. D of host controller 100
A command created by the processing device 110 and a response signal received from the lower device 200 are written in the PRAM 120.
【0036】図のCMDエリアは処理装置110が作成
し、DPRAM120に転送したCMD10〜CMD1
nが書き込まれており、ST(Status の略称、応答信号
を示す)エリアには複数の下位装置200から受信した
応答信号が下位装置200の番号順にST0〜STnが
書き込まれている。The CMD area in the figure is created by the processing unit 110 and transferred to the DPRAM 120 CMD10 to CMD1.
n is written, and ST0 to STn are written in the ST (abbreviation of Status, indicating a response signal) area of the response signal received from the plurality of lower devices 200 in the numerical order of the lower devices 200.
【0037】コマンド、応答共に、本発明では2バイト
のデータとして構成しており、テーブル上はそれぞれ1
行のデータであが、任意のデータ長とすることも可能で
ある。In the present invention, both the command and the response are constructed as 2-byte data, and each is 1 in the table.
The data of the row can be of any data length.
【0038】図7は本発明の上位制御装置のフローチャ
ートである。図は図4で説明した実施の形態(2)の上
位制御装置100の動作フローチャートである。 S1;処理装置110の上位タスクからのコマンド送出
要求が発生する。FIG. 7 is a flow chart of the host controller of the present invention. The figure is an operation flowchart of the host controller 100 of the embodiment (2) described in FIG. S1: A command transmission request is issued from the higher-level task of the processing device 110.
【0039】S2;排他制御部161で使用中フラグ1
41が「1」か否かを判定する。使用中フラグ141が
「1」の場合は、DPRAM120、あるいは、通信用
LSI151がアクセス中であるので、使用中フラグ1
41が「0」になるまで待機する。S2: In-use flag 1 in the exclusive control unit 161
It is determined whether 41 is "1". If the busy flag 141 is “1”, the DPRAM 120 or the communication LSI 151 is being accessed, and thus the busy flag 1
Wait until 41 becomes "0".
【0040】S3;使用中フラグ141が「0」の場
合、コマンド送出を要求したタスクが使用可能であるの
で、使用中フラグ141を「1」にセットする。 S4;差分抽出部130で前回のコマンドと、今回のコ
マンドの差分を抽出する。(ここでは、2回目以降のコ
マンド送出とする。) S5;抽出したコマンドをDPRAM120に転送し、
差分を書き換える。S3: If the busy flag 141 is "0", the task requesting the command transmission can be used, so the busy flag 141 is set to "1". S4: The difference extracting unit 130 extracts the difference between the previous command and the current command. (Here, the command is transmitted from the second time onward.) S5: The extracted command is transferred to the DPRAM 120,
Rewrite the difference.
【0041】S6;上位制御装置100は作成したコマ
ンドを下位装置200に送出する。 S7;コマンドを送出後、待機状態となり、下位装置2
00からの応答を受信する。S6: The upper control device 100 sends the created command to the lower device 200. S7: After sending the command, the standby mode is set, and the lower device 2
Receive a response from 00.
【0042】S8;送出した情報が下位装置200のE
EPROM220の書き込みか否かを判定する。 S9;EEPROM220の書き込みの場合はタイマ1
62を起動し、指定の時間ウェイトする。S8: The transmitted information is the E of the lower device 200
It is determined whether the EPROM 220 is written. S9: Timer 1 when writing to EEPROM 220
Start 62 and wait for a specified time.
【0043】S10;指定の時間経過後、EEPROM
220の内容を読み出す。 S11;読み出したデータをチェックし、書き込みが正
常に行なわれたかを判定する。S10: EEPROM after a designated time
The contents of 220 are read. S11: The read data is checked to determine whether the writing was done normally.
【0044】S12;使用中フラグ141を「0」にリ
セットする。 S13;応答を上位タスクに送出する。 かかる処理により、上位制御装置100から下位装置2
00に送出する制御情報、EEPROM220への書き
込み情報を1つの通信用LSI151、241をとおし
て通信することが可能となり、DPRAM120も1つ
で構成でき、ハードウェア構成を小さくすることができ
る。S12: The in-use flag 141 is reset to "0". S13: The response is sent to the upper task. By this processing, the upper control device 100 to the lower device 2
It is possible to communicate the control information to be sent to 00 and the write information to the EEPROM 220 through one communication LSI 151 and 241, and the DPRAM 120 can be configured by one, and the hardware configuration can be reduced.
【0045】図8は本発明の実施の形態(3)を説明す
る図である。実施の形態(3)においては、図4で説明
した実施の形態(2)の上位制御装置100にシステム
構成データ編集部170を設けた構成としている。FIG. 8 is a diagram for explaining the embodiment (3) of the present invention. In the embodiment (3), the system control data editing unit 170 is provided in the host controller 100 of the embodiment (2) described in FIG.
【0046】本発明では図5で説明したように、下位装
置200のEEPROM220の中に、それぞれの下位
装置200を識別するための識別子、コードが書き込ま
れている。システム立ち上げ時に、上位制御装置100
は下位装置200のEEPROM220中の識別子、コ
ードを読み取り、システム構成データを編集し、常に最
新の状態で維持することができる。In the present invention, as described with reference to FIG. 5, an identifier and a code for identifying each lower device 200 are written in the EEPROM 220 of the lower device 200. When the system is started up, the host controller 100
Can read the identifier and code in the EEPROM 220 of the lower device 200, edit the system configuration data, and always keep the latest state.
【0047】図の171はかかる手順により作成された
システム構成データを示し、例えば、本システムの装置
番号0は識別子xxxのAパッケージを示し、障害履歴
は過去に障害発生がなかったことを示している。また、
データ形式を変更することにより、それぞれの装置の版
数管理データ等を格納しておくことも可能である。Reference numeral 171 in the figure shows the system configuration data created by such a procedure. For example, the device number 0 of this system shows the A package with the identifier xxx, and the failure history shows that no failure has occurred in the past. There is. Also,
By changing the data format, it is possible to store the version number management data of each device.
【0048】[0048]
【発明の効果】本発明によれば、上位制御装置から下位
装置にコマンドを送出するとき、前回との差分のみを編
集して下位装置に送出することにより、コマンド編集を
高速で行なうことができる。According to the present invention, when a command is sent from the upper control device to the lower device, only the difference from the previous time is edited and sent to the lower device, so that command editing can be performed at high speed. .
【0049】また、通信用LSIを制御信号、障害情報
の通信用とEEPROM書き込み用とを共用することに
よりハードウェア構成を簡略、小型に構成でき、システ
ムの信頼度が向上できる。Further, by sharing the communication LSI for control signals, communication of fault information and EEPROM writing, the hardware structure can be simplified and downsized, and the reliability of the system can be improved.
【0050】そして、下位装置のEEPROMに障害情
報を書き込むことにより、障害情報の管理と障害解析を
効率的に行なうことができる。By writing the failure information in the EEPROM of the lower device, the failure information can be efficiently managed and analyzed.
【図1】 本発明の原理を説明する図FIG. 1 illustrates the principle of the present invention.
【図2】 本発明の実施の形態(1)を説明する図FIG. 2 illustrates an embodiment (1) of the present invention.
【図3】 本発明のコマンド作成を説明する図FIG. 3 is a diagram illustrating command creation according to the present invention.
【図4】 本発明の実施の形態(2)を説明する図FIG. 4 is a diagram illustrating an embodiment (2) of the present invention.
【図5】 本発明の下位装置のEEPROMテーブルを
説明する図FIG. 5 is a diagram illustrating an EEPROM table of a lower device of the present invention.
【図6】 本発明の上位制御装置のDPRAMテーブル
を説明する図FIG. 6 is a diagram illustrating a DPRAM table of the host controller of the present invention.
【図7】 本発明の上位制御装置の処理フローチャートFIG. 7 is a process flowchart of the host controller of the present invention.
【図8】 本発明の実施の形態(3)を説明する図FIG. 8 illustrates Embodiment (3) of the present invention.
【図9】 従来例を説明する図FIG. 9 illustrates a conventional example.
【図10】 従来例のコマンド作成のフローチャートFIG. 10 is a flowchart of command creation of a conventional example.
100 上位制御装置 110、210 処理装置 111 内部バッファメモリ 120 DPRAM 130 差分抽出部 140、230 記憶装置 141 使用中フラグ 150、240 通信制御装置 151、152、241、242 通信用LSI 161 排他制御部 162 タイマ 170 システム構成データ編集部 171 システム構成データ 200 下位装置 220 EEPROM 100 Upper control device 110, 210 Processing device 111 Internal buffer memory 120 DPRAM 130 Difference extraction part 140, 230 Storage device 141 In-use flag 150, 240 Communication control device 151, 152, 241, 242 Communication LSI 161 Exclusive control part 162 Timer 170 System Configuration Data Editing Unit 171 System Configuration Data 200 Lower Device 220 EEPROM
Claims (7)
制御装置と、前記上位制御装置からの監視、制御情報を
受信し、該監視、制御情報にしたがって監視、制御を行
なった結果の情報、および、障害情報を上位制御装置に
送信する下位装置からなるシステムにおいて、 前記上位制御装置は、 前回、下位装置へ送信したコマンドを格納しておく記憶
装置と、 今回送信するコマンドと、前回送信したコマンドの差分
を抽出する差分抽出部と、 初回は前記下位装置に送信するすべてのコマンドを作成
し、次回からは、前記差分抽出部で抽出した前回との差
分のコマンドのみを作成する処理装置と、 前記上位制御装置と前記下位装置との間の通信を制御す
る通信制御装置と、 前記上位制御装置から前記下位装置に送信するコマン
ド、前記下位装置から前記上位制御装置に送信する障害
情報を格納し、前記処理装置と前記通信制御装置からア
クセス可能なデュアルポートラムを備え、 前記下位装置は、 前記上位制御装置と前記下位装置との間の通信を制御す
る通信制御装置と、 前記上位制御装置から受信したコマンドを格納するEE
PROMと、 前記下位装置内の各種データを格納する記憶装置と、 前記記憶装置上の各種データと前記EEPROMのコマ
ンドにしたがって監視、制御を行なう処理装置とを備
え、 前記上位制御装置から下位装置の監視、制御を行なうと
き、初回は前記下位装置へ送出する全てのコマンドを作
成し、DPRAM上に展開し、次回からは前回との差分
のみをDPRAM上に転送して作成し、差分のみを更新
したコマンドを前記下位装置へ送信することを特徴とす
るシステム制御方式。1. A host controller for monitoring and controlling the entire system, and information on the result of monitoring and control information received from the host controller and monitored and controlled according to the monitor and control information. In a system including a lower device that transmits fault information to a higher control device, the higher control device stores a command that was previously transmitted to the lower device, a command that is transmitted this time, and a command that was transmitted last time. A difference extracting unit for extracting the difference between the first and the first, which creates all commands to be transmitted to the lower-level device, and from the next time, a processing device which creates only the command of the difference from the previous time extracted by the difference extracting unit, A communication control device that controls communication between the upper control device and the lower device, a command transmitted from the higher control device to the lower device, and the lower device From the processing device and the communication control device, a dual port ram that stores failure information to be transmitted from the higher control device to the higher control device is stored, and the lower device performs communication between the higher control device and the lower device. A communication control device to control, and an EE that stores a command received from the host control device
A PROM, a storage device that stores various data in the lower device, and a processing device that monitors and controls various data on the storage device and commands of the EEPROM are provided. When monitoring and controlling, first create all the commands to be sent to the lower-level device, expand on the DPRAM, and from the next time, transfer only the differences from the previous time to the DPRAM to create and update only the differences. And transmitting the command to the lower device.
行するコマンド形式で保持することを特徴とする請求項
1記載のシステム制御方式。2. The system control method according to claim 1, wherein the command expanded on the DPRAM is held in a command format executed by the lower device.
ス中であることを表示する使用中フラグと、 前記使用中フラグを参照して排他制御を行なう排他制御
部を設け、 前記処理装置がコマンドの編集を行ない、編集結果を前
記DPRAMに送信するとき、前記排他制御部で前記使
用中フラグを参照して、使用中フラグがセットされてい
る場合は排他制御を行なうことを特徴とする請求項1記
載のシステム制御方式。3. The system control method according to claim 1, wherein exclusive control is performed by referring to a busy flag indicating that the processing device and the communication control device are accessing the DPRAM, and the busy flag. An exclusive control unit is provided, and when the processing device edits a command and sends the edited result to the DPRAM, the exclusive control unit refers to the in-use flag, and if the in-use flag is set, The system control method according to claim 1, wherein exclusive control is performed.
に書き込み処理を行なうとき、書き込み処理が完了した
ことを確認するタイマを設け、 前記上位制御装置から前記EEPROMに書き込み処理
を行なった場合は、前記タイマで所定の時間の経過を計
時した後、EEPROMの情報を読み出して書き込み処
理が正常に行なわれたことを確認することを特徴とする
請求項1記載のシステム制御方式。4. The system control method according to claim 1, wherein the EEPROM of the lower-level device is changed from the upper-level control device.
A timer is provided to confirm that the writing process is completed when the writing process is performed on the EEPROM. When the writing process is performed from the host controller to the EEPROM, after the predetermined time is elapsed by the timer, the EEPROM is 2. The system control method according to claim 1, wherein the information of 1 is read to confirm that the writing process has been normally performed.
成する装置識別子を書き込む領域と、 前記EEPROMの装置識別子を読み取りシステム構成
データを編集するシステム構成データ編集部を設け、 システムの立ち上げ時に、前記上位制御装置の前記シス
テム構成データ編集部は前記下位装置の前記EEPRO
Mの装置構成情報を読み取り、システム構成データを作
成することを特徴とする請求項1記載のシステム制御方
式。5. The system control method according to claim 1, wherein an area for writing a device identifier of the lower-order device is written in the EEPROM of the lower-order device, and a system configuration for reading the device identifier of the EEPROM and editing system configuration data. A data editing unit is provided, and when the system is started up, the system configuration data editing unit of the upper-level control device causes the EEPRO of the lower-level device.
The system control method according to claim 1, wherein the device configuration information of M is read to create system configuration data.
害履歴を書き込む領域を設け、 前記下位装置単位で障害履歴を管理することをことを特
徴とする請求項1記載のシステム制御方式。6. The system control method according to claim 5, wherein the EEPROM of the lower device is provided with an area for writing a failure history of the lower device, and the failure history is managed in units of the lower devices. The system control method according to claim 1.
回数を書き込む領域を設け、 前記書き込み回数を管理することを特徴とする請求項1
記載のシステム制御方式。7. The system control method according to claim 5, wherein an area for writing the number of write accesses is provided in the EEPROM of the lower device to manage the number of write operations.
Described system control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8002530A JPH09190366A (en) | 1996-01-10 | 1996-01-10 | System control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8002530A JPH09190366A (en) | 1996-01-10 | 1996-01-10 | System control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09190366A true JPH09190366A (en) | 1997-07-22 |
Family
ID=11531945
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8002530A Withdrawn JPH09190366A (en) | 1996-01-10 | 1996-01-10 | System control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09190366A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009125111A (en) * | 2007-11-20 | 2009-06-11 | Daito Giken:Kk | Game machine |
| JP2012050867A (en) * | 2011-11-10 | 2012-03-15 | Daito Giken:Kk | Amusement stand |
-
1996
- 1996-01-10 JP JP8002530A patent/JPH09190366A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009125111A (en) * | 2007-11-20 | 2009-06-11 | Daito Giken:Kk | Game machine |
| JP2012050867A (en) * | 2011-11-10 | 2012-03-15 | Daito Giken:Kk | Amusement stand |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110673923B (en) | XWIKI system configuration method, XWIKI system and computer equipment | |
| US7013462B2 (en) | Method to map an inventory management system to a configuration management system | |
| US8903963B2 (en) | Method and apparatus for web based storage on demand | |
| US8301773B2 (en) | Server management program, server management method, and server management apparatus | |
| US7499987B2 (en) | Deterministically electing an active node | |
| KR20210049541A (en) | Edge computing device and method for controlling thereof | |
| JP2018136745A (en) | Control system, controller and control program | |
| JP4500090B2 (en) | Information management system and information management method | |
| JP2000112866A (en) | Improvement of input/output performance by storing packeted operation information in local memory | |
| JPH09190366A (en) | System control method | |
| JP2007133544A (en) | Failure information analysis method and apparatus for implementing the same | |
| JP6856048B2 (en) | Control system and control method | |
| JPH10187454A (en) | Bios reloading system | |
| US7430687B2 (en) | Building-up of multi-processor of computer nodes | |
| JP3777767B2 (en) | Relay installation method | |
| CN113687915A (en) | Container operation method, device, equipment and storage medium | |
| JP4412078B2 (en) | Network management device, relay device, network management system, and network management program | |
| JP2001092696A (en) | Data storage device | |
| JP2000132432A (en) | Memory dump method for parallel nodes | |
| JP2001109702A (en) | System information collection system in cluster system | |
| JPH036535B2 (en) | ||
| JP2000082005A (en) | Data processing method for inter-system database sharing system | |
| CN118945054A (en) | A method, device and electronic device for configuring a communication link | |
| AU2016201734B2 (en) | Alarm assembly and programming key | |
| JP2000357130A (en) | Peripheral control processor, and system and method for holding fault analytic information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20030401 |