JPH05242044A - Subordinate device restart management program system - Google Patents

Subordinate device restart management program system

Info

Publication number
JPH05242044A
JPH05242044A JP7542292A JP7542292A JPH05242044A JP H05242044 A JPH05242044 A JP H05242044A JP 7542292 A JP7542292 A JP 7542292A JP 7542292 A JP7542292 A JP 7542292A JP H05242044 A JPH05242044 A JP H05242044A
Authority
JP
Japan
Prior art keywords
restart
slave
slave device
subordinate
main
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
JP7542292A
Other languages
Japanese (ja)
Inventor
Yoshikiyo Hamaguchi
義清 濱口
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 JP7542292A priority Critical patent/JPH05242044A/en
Publication of JPH05242044A publication Critical patent/JPH05242044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To curtail the number of programs provided on a main device side in order to allow an operating state of plural kinds of subordinate devices which are operated by being subordinate to the main device provided with a microprogram, and provided with a microprocessor, respectively to conform to an operating state of the main device. CONSTITUTION:Restart index data of a subordinate device restart management signal informed to a subordinate device from a main device is constituted, and transmitted to the subordinate device by setting its initial value to '0', and without being aware of the kind of the subordinate device. Subsequently, by updating and transmitting the restart index data without being aware of the kind of the subordinate device, the main device and the subordinate device are synchronized. When the main device is allowed to conform to an operating state of the subordinate device, the operating states can be allowed to conform to each other without considering each separate condition of plural kinds of subordinate devices, therefore, it will suffice that this kinds of program prepared on the main device side is prepared by only one kind, and the number of programs which enter into the main device side can be curtailed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロプロセサを収容
した装置に関し、特にかかる装置を管理するプログラム
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device accommodating a microprocessor, and more particularly to a program for managing such a device.

【0002】[0002]

【従来の技術】従来、この種の主装置から従属装置の再
開を管理する方式では、主装置から従属装置に送信する
信号に対して、それぞれの動作を規定する意味を持った
信号を、従属装置の個別事情に合わせて設定していた。
そこで、主装置側に従属装置の個別事情に合わせた処理
を実施するプログラム(以後、このプログラムを従属装
置再開管理プログラムという)を作り、複数種類に及ぶ
従属装置の運転状態に合わせて主装置側から従属装置の
再開をプログラムによって管理していた。
2. Description of the Related Art Conventionally, in this type of system for managing restart of a slave device from a master device, a signal having a meaning to define each operation is transmitted to a slave device from a signal transmitted from the master device to the slave device. It was set according to the individual circumstances of the device.
Therefore, a program (hereinafter, this program is referred to as a slave device restart management program) for executing processing according to the individual circumstances of the slave device is created on the master device side, and the master device side is prepared in accordance with the operating states of the slave devices covering a plurality of types. The program controlled the restart of the slave device from.

【0003】[0003]

【発明が解決しようとする課題】解決しようとする問題
は主装置と従属装置との運転状態を合わせるため、従属
装置ごと、および従属装置の個別事情に合わせて、主装
置側にある従属装置再開管理プログラムを作らなければ
ならないのでプログラム量が増大するという点である。
The problem to be solved is to restart the slave unit on the master unit side in order to match the operating states of the master unit and the slave unit according to each slave unit and individual circumstances of the slave unit. The point is that the amount of programs increases because a management program must be created.

【0004】[0004]

【課題を解決するための手段】本発明は主装置と従属装
置との運転状態を合わせるため、使用する主装置と従属
装置との間の信号(以後、従属装置再開管理信号と呼
ぶ。)に、0から順に1ごとに上昇する16進の数値デ
ータをいれ、このデータを主装置から複数種類ある従属
装置の同期を合わせるための、共通の指標データとして
使用(以後、このデータを再開指標データという。)
し、主装置側の従属装置再開管理プログラムは従属装置
個別の特性を考えずに0から順に1づつ上昇する再開指
標データを従属装置再開管理信号に設定し、従属装置に
送信することにより、従属装置では主装置からの再開指
標データを従属装置の特性に合わせて解釈し、主装置の
運転状態に状態制御回路装置の運転状態を合わせるため
の処理を実施することを特徴とする。
According to the present invention, in order to match the operating states of the master device and the slave device, a signal between the master device and the slave device used (hereinafter referred to as slave device restart management signal) is used. , Enter hexadecimal numerical data that increases in increments of 1 from 0, and use this data as common index data to synchronize multiple slave devices from the main device (hereinafter, this data will be used as restart index data. That.)
However, the slave device restart management program on the main unit side sets the restart index data, which increases in increments of 1 from 0, to the slave device restart management signal without considering the characteristics of each slave device, and sends it to the slave device, The device is characterized in that the restart index data from the main device is interpreted according to the characteristics of the slave device, and a process for adjusting the operating state of the state control circuit device to the operating state of the main device is executed.

【0005】[0005]

【実施例】次に、図面を参照して本発明を詳細に説明す
る。図1は本発明による従属装置再開管理プログラム方
式の一実施例を表すフローチャートである。図1におい
て、Iは再開指標データを格納する変数を表し、再開指
標データの例としては、“発明の詳細な説明”の末尾に
記載の表1に示すものを使用する。フロー5において
は、再開指標データを格納する変数Iとして指標の初期
値“0”を設定する。フロー10では、従属装置に送る
従属装置再開管理信号を図2に示すように編集し、フロ
ー15で該当する従属装置に従属装置再開管理を送る。
フロー20では従属装置より従属装置再開管理信号の処
理終了を受信する。
The present invention will be described in detail with reference to the drawings. FIG. 1 is a flow chart showing an embodiment of a slave device restart management program system according to the present invention. In FIG. 1, I represents a variable for storing the restart index data, and as an example of the restart index data, the one shown in Table 1 at the end of “Detailed Description of the Invention” is used. In the flow 5, the initial value “0” of the index is set as the variable I for storing the restart index data. In flow 10, the slave device restart management signal sent to the slave device is edited as shown in FIG. 2, and in flow 15, slave device restart management is sent to the corresponding slave device.
In the flow 20, the processing completion of the slave device restart management signal is received from the slave device.

【0006】フロー25では、該当する指標データのデ
ータの送信が全て終了したかチェックする。終了してな
いときには、フロー10に戻り、フロー10に従って続
きのデータを送信する。終了した場合には、フロー30
に写り、次の指標データを作る。このとき従属装置から
受信している信号をもとにして、従属装置の次に期待す
る再開指標データの値を変数Iに設定する。フロー35
で再開指標データをチェックする。この値が最終を越え
ていたならば(本例では5を示す。)、主装置と従属装
置との運転状態が一致したことを示し、処理を終了させ
る。そうでない場合にはフロー10に戻り、次の再開指
標データを持った従属装置再開管理信号を送る。
In the flow 25, it is checked whether or not the transmission of the corresponding index data has been completed. When not completed, the flow returns to the flow 10 and the subsequent data is transmitted according to the flow 10. If completed, flow 30
And make the following index data. At this time, the value of the restart index data expected next from the slave device is set to the variable I based on the signal received from the slave device. Flow 35
Check the restart index data with. If this value exceeds the final value (in this example, 5 is shown), it indicates that the operating states of the master device and the slave device match, and the process is terminated. If not, the process returns to the flow 10 to send the slave device restart management signal having the next restart index data.

【0007】主装置の従属装置再開管理プログラムにつ
いては、再開指標データの定義を発明の詳細な説明の末
尾に記述の表1の例で示すように決め、従属装置再開管
理信号を再開指標データ0から順に従属装置に送る。従
属装置が受信した情報を従属装置に固有の特性に合わせ
て解釈し、自装置に対して、最も適当な処理を実施し、
処理終了の応答を主装置に返す。この時、次に自装置の
期待する再開指標データの値も主装置に通知する。主装
置では、従属装置からの応答を受信すると、連続する次
の再開指標データ、または従属装置の期待する再開指標
データを送る。これを繰り返して最終の再開指標データ
(本例では“5”)を送り、この応答受信で主装置と従
属装置との運転状態が一致する。
Regarding the slave device restart management program of the main device, the definition of the restart index data is determined as shown in the example of Table 1 described at the end of the detailed description of the invention, and the slave device restart management signal is set to the restart index data 0. To the slave device in order. Interpret the information received by the slave device according to the characteristics unique to the slave device, perform the most appropriate processing on the slave device,
A response indicating the end of processing is returned to the main unit. At this time, the main device is also notified of the value of the restart index data expected by the next device. When the master device receives the response from the slave device, it sends the next restart index data that is continuous or the restart index data that the slave device expects. By repeating this, the final restart index data (“5” in this example) is sent, and upon receipt of this response, the operating states of the main device and the slave device match.

【0008】[0008]

【発明の効果】本発明は以上説明したように主装置と従
属装置との運転状態を合わせるための従属装置再開管理
信号を0から1ごとに上昇させ、そのデータに運転状態
を合わせるための指標となる意味を持たせた指標データ
を置くことにより、主装置は従属装置に0から順に再開
指標データを送るだけで、従属装置の個別の条件を考慮
することなく、主装置と従属装置との運転状態を合わせ
ることができる利点がある。従って、複数種類に及ぶ従
属装置に対して、1種類の従属装置運転管理プログラム
を用意すれば済む効果がある。
As described above, the present invention raises the slave unit restart management signal for adjusting the operating states of the main unit and the slave unit from 0 to 1, and the index for adjusting the operating state to the data. By setting the index data having the meaning of, the main device only sends the restart index data to the slave device in order from 0, and the master device and the slave device can be connected without considering the individual conditions of the slave device. There is an advantage that the operating conditions can be adjusted. Therefore, it is effective to prepare one type of slave device operation management program for a plurality of types of slave devices.

【表1】 [Table 1]

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

【図1】本発明による従属装置再開管理プログラムの一
実施例を示すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of a slave device restart management program according to the present invention.

【図2】従属装置再開管理信号の一例を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing an example of a slave device restart management signal.

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

5,10,15,20,25,30,35 処理フロー 5,10,15,20,25,30,35 Processing flow

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセサを備えた主装置と、 それぞれマイクロプロセサを備えた複数の従属装置とを
備え、前記主装置と前記複数の従属装置とで一括して運
転状態を合わせることができるように構成した従属装置
再開管理プログラム方式。
1. A main device equipped with a microprocessor and a plurality of slave devices each equipped with a microprocessor, so that the main device and the plurality of slave devices can be adjusted in operation status at once. The slave device restart management program method configured in.
【請求項2】 前記マクロプロセサを備えた主装置と、
前記主装置に従属して動作し、それぞれマイクロプロセ
サを備えた前記複数の従属装置との運転状態を合わせる
主装置側プログラムにおいて、前記主装置から前記従属
装置に送信する信号に、0から1ごとに増加する8ビッ
トの16進の数値データを使用し、数値データの表す意
味を一律に規定することにより、複数種類ある従属装置
の個別特性を考慮しないで運転状態を合わせる従属装置
再開管理プログラムを実行できるように構成した請求項
1の従属装置再開管理プログラム方式。
2. A main device comprising the macro processor,
In a main unit side program that operates dependently on the main unit and adjusts the operating states of the plurality of sub units each having a microprocessor, the signal transmitted from the main unit to the sub unit is from 0 to 1 By using 8-bit hexadecimal numerical data that increases in the same way and uniformly defining the meaning of the numerical data, a slave device restart management program that matches the operating status without considering the individual characteristics of multiple types of slave devices is provided. The slave device restart management program method according to claim 1, which is configured to be executable.
【請求項3】 前記従属装置に送信する信号は付加デー
タおよび変数として与えられた再開指標データを含む前
記16進の数値データより成る従属装置再開管理信号で
あるように構成した請求項2の従属装置再開管理プログ
ラム方式。
3. The slave according to claim 2, wherein the signal transmitted to the slave device is a slave device restart management signal composed of the hexadecimal numerical data including additional data and restart index data given as a variable. System restart management program method.
JP7542292A 1992-02-26 1992-02-26 Subordinate device restart management program system Pending JPH05242044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7542292A JPH05242044A (en) 1992-02-26 1992-02-26 Subordinate device restart management program system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7542292A JPH05242044A (en) 1992-02-26 1992-02-26 Subordinate device restart management program system

Publications (1)

Publication Number Publication Date
JPH05242044A true JPH05242044A (en) 1993-09-21

Family

ID=13575746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7542292A Pending JPH05242044A (en) 1992-02-26 1992-02-26 Subordinate device restart management program system

Country Status (1)

Country Link
JP (1) JPH05242044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008819A (en) * 2010-06-25 2012-01-12 Hitachi Ltd Computer system and management method for computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008819A (en) * 2010-06-25 2012-01-12 Hitachi Ltd Computer system and management method for computer

Similar Documents

Publication Publication Date Title
CN110285534A (en) Intelligent control method, device, storage medium and air conditioner
JPH05242044A (en) Subordinate device restart management program system
CN116633955A (en) Communication method, device, vehicle, medium and equipment
JP2530629B2 (en) Program update control system
CN110018906B (en) Scheduling method, server and scheduling system
JP2513029B2 (en) Task management method
CN111414176B (en) Program burning method, device, electronic equipment and storage medium
CN110188491B (en) Processing method and device for improving calculation efficiency in simulation calculation process
US20040172487A1 (en) Method for managing plurality of target computers using a management computer
CN114896037A (en) Dynamic process control method and device, storage medium and electronic device
CN116360885A (en) Start control method, start control device, substrate management controller, management equipment and medium
JPS5945541A (en) Controlling device of communication buffer
JPH05173912A (en) Terminal-side program transfer system for distributed program and its transfer method
JPS5972559A (en) Master/slave deciding system of computers
JPH04364559A (en) On-line system
JPH02272659A (en) United definition/control system for terminal attribute information
JPH01306942A (en) Method for starting system by remote control
JPH04109729A (en) High speed subordinate state setting system
JPH05136796A (en) Clock automatic adjustment system in network system
JPH0714182B2 (en) Command conflict management method
JPH0612266A (en) Operation process control method
JPH0392952A (en) Version managing system for computer system
JPS6371761A (en) System for defining system condition of online system
JPS6126145A (en) Controlling method of integration data
JPH02197948A (en) File transfer system