JP3546518B2 - Table changing method and its information processing system - Google Patents

Table changing method and its information processing system Download PDF

Info

Publication number
JP3546518B2
JP3546518B2 JP06540295A JP6540295A JP3546518B2 JP 3546518 B2 JP3546518 B2 JP 3546518B2 JP 06540295 A JP06540295 A JP 06540295A JP 6540295 A JP6540295 A JP 6540295A JP 3546518 B2 JP3546518 B2 JP 3546518B2
Authority
JP
Japan
Prior art keywords
constant
unit
execution
task
task processing
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.)
Expired - Fee Related
Application number
JP06540295A
Other languages
Japanese (ja)
Other versions
JPH08263311A (en
Inventor
照道 木村
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Holdings 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 Fuji Electric Holdings Ltd filed Critical Fuji Electric Holdings Ltd
Priority to JP06540295A priority Critical patent/JP3546518B2/en
Publication of JPH08263311A publication Critical patent/JPH08263311A/en
Application granted granted Critical
Publication of JP3546518B2 publication Critical patent/JP3546518B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、メモリの定数テーブルに従って動作する複数の情報処理装置がシステムバスなどの伝送路により相互にデータ交換する情報処理システムに関し、特に、各情報処理装置が使用する定数を収納する定数テーブルが格納されたメモリを有する主情報処理装置(以下においては共通部という)からの定数変更により他の情報処理装置(以下においては拡張部という)のタスク処理を変更するテーブル変更方法およびその情報処理システムに関する。
【0002】
【従来の技術】
図4は本発明および従来の技術で用いられる情報処理システムの構成図を示し、図3は従来技術で用いられるタスク処理変更方法を説明する説明図である。
先ず、図4から説明する。図4において、共通部1を構成する情報処理装置および図示例では単一の拡張部2のみが図示されているが、複数の拡張部2…を構成する情報処理装置は、電源1A,2A …と、マイクロプロセッサユニット(MPU)1B,2B…と、メモリ(MEM)1C,2C…と、入出力装置(I/O)1E,2E…と、例えばシステムバスからなる伝送路9とインタフェースするインタフェースユニット(IF)1D,2D …とから構成される。また、各情報処理装置1、2…は、伝送路9と接続され情報処理システムを構成する。
【0003】
図3は、この様な構成の情報処理システムにおける従来技術による、共通部からの定数変更により拡張部のタスク処理を変更する情報処理システムの運転方法(タスク処理変更方法)を説明する説明図である。図3において、共通部1の定数テーブル10は、共通部1のタスク11〜13の実行に利用するとともに、拡張部2でも、この定数テーブル10に格納された定数の一部を利用するため送信処理部19によって、拡張部2のタスク処理(図示例では、タスク21,22)に必要な定数を送信する。拡張部2は、共通部1から送信されるこれらの定数を受信処理部29を介して受信し、この定数を共通部定数テーブル20に格納する。図示例では、拡張部2が実行するタスク21〜24の内、共通部1から送信され共通部定数テーブル20に格納された定数を利用して動作するタスク21,22 と、定数テーブル20に格納された定数を利用せず、拡張部2自身のメモリに有する定数で動作するタスク23,24 とがある。
【0004】
【発明が解決しようとする課題】
しかしながら上述の様な情報処理システムのテーブル変更方法およびその情報処理システムでは、共通部の定数テーブルに変更の必要性が生じたとき、この変更途中に発生する不確定な情報に基づいて関連する各情報処理装置が誤動作することを防止するために、共通部のタスク11〜13、および、拡張部のタスク21、22を停止させる必要がある。従来技術では、かかる変更の必要性が生じたとき、拡張部の電源をOFF 操作し、拡張部のマイクロプロセッサユニット(MPU) を停止させている。このため、定数テーブル20に無関係なタスク23、24の実行まで停止させてしまうという問題があった。
【0005】
本発明は上記の点にかんがみてなされたものであり、その目的は前記した課題を解決して、共通部のテーブルを変更するときも、拡張部全体を停止させることなく、該当するタスクの実行のみを停止し、共通部のテーブル変更完了後、タスクの実行が再開可能であるテーブル変更方法およびその情報処理システムを提供することにある。
【0006】
【課題を解決するための手段】
上記目的を達成するために、本発明におけるテーブル変更方法は、メモリに書き込まれた定数に従って動作する複数の情報処理装置が伝送路を介して相互にデータ交換を行う情報処理システムであり、各情報処理装置が使用する定数を収納する定数テーブルを1台の主情報処理装置(共通部)のメモリに格納し、他の情報処理装置(拡張部)は、少なくとも、この共通部から伝送される定数に従って動作するタスク処理を有し、共通部の定数を変更することにより拡張部のタスク処理を変更するテーブル変更方法において、共通部は、タスク処理の定数テーブルの定数の変更時には拡張部のタスク処理の中で定数テーブルに従って動作するタスク処理の停止命令を送信し、タスク処理の定数テーブルの定数の変更完了時には当該定数を拡張部へ送信し、当該定数テーブルの定数の送信終了時には停止命令を送信したタスク処理の実行命令を送信し、拡張部は、タスク処理の定数テーブルの定数と、共通部からのタスク処理の実行/停止命令とを受信し、この実行/停止命令が実行を指示する当該タスクは、共通部から受信した当該定数あるいは拡張部自身が有する定数に従って当該タスク処理を実行し、実行/停止命令が停止を指示する当該タスクは、当該タスク処理を実行しないものとする。
【0007】
また、上記テーブル変更方法を実現するために、本発明における情報処理システムは、メモリに書き込まれた定数に従って動作し、各情報処理装置が使用する定数を収納する定数テーブルを格納するメモリを有する1台の主情報処理装置(共通部)と、少なくとも、この共通部から伝送される定数に従って動作するタスク処理を有する他の情報処理装置(拡張部)と、これらの共通部と拡張部間で相互にデータ交換を行う伝送路と、からなり、共通部の定数を変更することにより拡張部のタスク処理を変更する情報処理システムにおいて、共通部は、タスク処理の定数テーブルの定数の変更時には拡張部のタスク処理の中で定数テーブルに従って動作するタスク処理の停止命令を指示し、変更された定数テーブルの定数の送信終了時には停止命令を送信したタスク処理の実行命令を指示する命令出力手段と、拡張部のタスク処理の実行/停止命令と変更された定数テーブルの定数とを送信する手段と、を備え、拡張部は、共通部からのタスク処理の実行/停止命令を受信する手段と、このタスク処理の実行/停止命令により当該タスク処理の実行/停止を判断する判断手段と、共通部からの定数を受信し、共通部定数テーブルに格納する手段と、を備え、共通部からタスク処理の実行/停止命令により、当該タスク処理の実行/停止を選択的に行うものとする。
【0008】
また、共通部からの実行/停止命令により当該タスク処理の実行/停止を判断する判断手段を備える代わりに、拡張部は、共通部からの実行/停止命令を登録ファイルに管理する登録変更処理手段と、この登録変更処理手段により当該タスク処理の実行/停止の登録データの抹消/再登録をする手段と、この登録データの抹消/再登録手段により各タスクの実行、停止を制御する実行順序管理手段と、を備えるものとする。
【0009】
【作用】
上記構成により、第1の発明においては、共通部の定数テーブルを変更する前に、共通部から拡張部へ特定のタスク処理の実行を停止させる停止命令を発行し、変更完了後に前記タスク処理の実行を行わさせる運転命令を発行する。拡張部のタスク処理は、タスク処理を実行する前に共通部からの命令を参照し、停止命令であれば当該タスク処理の実行を中止する。この結果、共通部での定数テーブルの定数の変更途中に発生する不確定な情報に基ずく誤動作を防止できる。
【0010】
また、第2の発明では、拡張部の登録変更処理手段が共通部からの命令を参照し、タスク処理の実行に対する運転・停止の登録データの抹消/再登録を行う。この登録データの抹消/再登録手段により各タスクの実行、停止を順序管理手段が制御する。従って、各々のタスクが共通部からの命令を参照する必要が無くなるため、プログラムの構造が単純になり、命令参照処理を持たない既存タスクのプログラムに手を加えずに利用することが可能となる。
【0011】
【実施例】
図1は第1の発明による情報処理システムの一実施例によるタスク処理方法を説明する説明図、図2は他の実施例によるタスク処理方法を説明する説明図であり、図3、4に対応する同一機能部材には同じ符号が付してある。
図1を主体に図4を併用して説明する。図1において、情報処理システムは、メモリ(1C,2C) に書き込まれた定数に従って動作する複数の情報処理装置1、2…が伝送路9を介して相互にデータ交換を行い、各情報処理装置1、2…が使用する定数を収納する定数テーブル10を1台の主情報処理装置(以下、共通部という)1のメモリ(1C)に格納し、他の情報処理装置(以下、拡張部という)2…は、少なくとも、この共通部1から伝送される定数に従って動作するタスク処理(図示例では21A,22A)を有し、共通部1の定数を変更することにより拡張部2…のタスク処理21A,22A,…を変更できる様に構成される。以下、拡張部2…は、拡張部2を代表例として説明する。
【0012】
この情報処理システムで、共通部1の定数テーブル10を変更するときも、拡張部2全体を停止させることなく、該当するタスク処理(21A,22A) のみを停止し、共通部1のテーブル変更完了後、タスク処理(21A,22A) の実行が再開可能であるテーブル変更方法および情報処理システムを構成するため、第1の発明に基づく実施例では、共通部1は、拡張部2のタスク処理 21A〜24A の実行/停止命令を指示する命令出力手段15と、拡張部2のタスク処理 21A〜24A の実行/停止命令と定数テーブル10の定数とを送信する手段(送信処理部)19と、を備える。
【0013】
また、拡張部2は、共通部1からのタスク処理 21A〜24A の実行/停止命令を受信する手段(受信処理部)29と、この受信したタスク処理 21A〜24A の実行/停止命令を格納する実行/停止命令部25と、共通部1からの定数を受信し、この受信した定数を格納する共通部定数テーブル20と、タスク処理 21A〜24A と、を備えて構成される。なお、このタスク処理 21A〜24A は、実行/停止命令部25よりの命令に基づき当該タスク処理 21A〜24A の実行/停止を判断する判断手段21B 〜24B と、対応するタスク処理21〜24と、から構成される。
【0014】
かかる構成において、共通部1のタスク処理11,12,13は、定数テーブル10に記述された、例えば、データ数、動作回数、比較データなどの数値をもとにした定数により、定められたタスク処理が実行される。なお、この定数テーブル10には、拡張部2のタスク処理21A,22A が使用するデータも含まれるため、送信処理部19によりこれらの拡張部2で利用される定数は、拡張部2に送られる。拡張部2の受信処理部29は、この定数を共通部定数テーブル20に転送する。タスク処理21A 〜24A は、それぞれのタスク処理を実行する前に、実行/停止命令部25の命令を参照し、実行命令であればそのタスク処理を実行する。この実行/停止命令部25の命令は、共通部1の命令出力手段15が出力し、送信処理部19、受信処理部29を通じて送られてきたものである。
【0015】
共通部1、拡張部2が運転中に定数テーブル10を変更するときは、タスク処理11,12,13を停止させるとともに、命令出力手段15は、拡張部2に対しタスク処理21A,22A に停止命令を送信する。この停止命令に従い、拡張部2の実行/停止命令部25の命令が書き換えられるため、共通部定数テーブル20を使用しているタスク処理21A,22A はそのタスク処理21,22 を停止する。
【0016】
次に、共通部1の定数テーブル10の変更が完了し、拡張部2の共通部定数テーブル20への転送も終了した後、命令出力手段15によりタスク処理21A,22A の実行命令を出力する。拡張部2は共通部1から受信したタスク処理21A,22A の実行命令を実行/停止命令部25に格納し、先に停止したタスク処理21,22 を実行する。以上により、タスク処理21A,22A は、変更途中の共通部定数テーブル20を使用しても誤動作する恐れがなくなると同時に、共通部定数テーブル20に関係のないタスク処理23A,24A を停止させることなく運転を継続することができる。
【0017】
要約すると、拡張部2は、共通部1からのタスク処理 21A〜24A の実行/停止命令により、当該タスク処理の実行/停止を選択的に行う。タスク処理21A,22A は、共通部1からタスク処理(21A〜24A)の実行/停止命令と、当該定数テーブル10からの定数とを受信して、この受信した定数に従って、上記運転/停止命令で当該タスク処理21A,22A の実行を選択的に行う。図示例では、タスク処理21A,22A は共通部1の定数を利用して動作しているので、共通部1の定数変更時には、タスク処理21A,22A を停止命令とし、タスク処理21A,22A を停止する。一方、タスク処理23A,24A は、共通部1の定数を利用して動作しているのではなく、拡張部2が有する定数で動作するものであるので、実行/停止命令で当該タスク処理23A,24A の実行を選択したときは、このタスク処理23A,24A を実行する。
【0018】
図2に第2の発明による他の実施例を示す。図2において、図1と異なる点は、共通部1からの実行/停止命令により図1に図示される当該タスク処理(21A〜24A)内に組み込まれた当該タスク (21〜24) の実行/停止を判断する判断手段(21B〜24B)を設ける代わりに、拡張部2は、共通部1からの実行/停止命令を登録ファイル27に管理する登録変更処理手段26と、この登録変更処理手段26により当該タスク処理21〜24の実行/停止の登録データの抹消/再登録をする手段27と、この登録データの抹消/再登録手段27により各タスク処理の実行/停止を制御する実行順序管理手段28と、を備えて構成される。
【0019】
かかる構成において、登録変更処理26は、常に実行/停止命令部25の命令を参照し、停止命令であれば、タスク登録テーブル27より該当タスク処理の登録を消し、実行命令であれば該当タスク処理を登録する。実行順序管理機能28は、タスク登録テーブル27に登録有りのタスク処理のみを起動する。
共通部1、拡張部2が運転中に定数テーブル10を変更するとき、実行/停止命令25のタスク処理21,22 に停止命令が出され、登録変更処理手段26により、タスク登録テーブル27内のタスク処理21,22 の登録が消される。実行順序管理機能28は、登録テーブル27内の登録の有るタスク処理23,24 のみを起動するため、タスク処理21,22 は、その処理を停止する。以上のテーブル変更方法およびその情報処理システムの構成により、タスク処理21,22 は、テーブル変更途中の共通部定数テーブル20を使用して誤動作する恐れがなくなると同時に、共通部定数テーブル20に関係のないタスク処理23,24 を停止させることなく、運転を継続することができる。
【0020】
【発明の効果】
以上述べたように本発明の構成によれば、共通部におけるテーブル変更作業のみで拡張部に対しては何ら操作をすることなく、情報処理システムのタスク処理を変更し、ジョブの内容を変更することができる。従って、テーブル変更時の作業時間の短縮、作業人員の削減、作業ミスの低減といった効果を得ることができる。この事柄は、システムバスに多数の拡張部が接続されるとき、あるいは、共通部と拡張部が地理的に離れているときなどに顕著な効果を発揮できる。
【0021】
また、データ収集時や通信処理時など、周辺装置に及ぼす影響から、停止させることが許されない装置において、例えば、自己診断処理の故障表示内容の変更といった軽微な変更があった場合でも、情報処理システム全体を停止させずに実行することが可能となるため、情報処理システム全体の稼働率を向上させることができる。
【0022】
さらに、第2の発明においては、上述の効果に加え、各タスク処理毎に実行/停止命令の判断処理が不要となるため、全体の処理プログラム量を低減できる。また、このような判断処理を持たない数多くの既存のタスク処理プログラムも変更することなく、情報処理装置に搭載することが可能となるため、情報処理システムを開発するときの開発コストを低減させることができる。
【図面の簡単な説明】
【図1】本発明による一実施例によるタスク処理方法を説明する説明図
【図2】他の実施例によるタスク処理方法を説明する説明図
【図3】従来技術で用いられるタスク処理変更方法を説明する説明図
【図4】情報処理システムの構成図
【符号の説明】
1 主情報処理装置
10 定数テーブル
11〜13、21〜24、21A 〜24A タスク処理
15 命令出力手段
19 送信処理手段
2 他の情報処理装置
20 共通部定数テーブル
21B 〜24B 判断手段
25 実行/停止命令部
26 タスク登録変更処理手段
27 タスク登録テーブル
28 実行順序管理機能
29 受信処理手段
1A,2A 電源
1B,2B マイクロプロセッサユニット
1C,2C メモリ
1D,2D インタフェースユニット
1E,2E 入出力装置
[0001]
[Industrial applications]
The present invention relates to an information processing system in which a plurality of information processing devices operating in accordance with a constant table of a memory exchange data with each other via a transmission path such as a system bus. Table changing method for changing task processing of another information processing device (hereinafter, referred to as an extension unit) by changing a constant from a main information processing device having a stored memory (hereinafter, referred to as a common unit) and its information processing system About.
[0002]
[Prior art]
FIG. 4 is a configuration diagram of an information processing system used in the present invention and the related art, and FIG. 3 is an explanatory diagram illustrating a task processing changing method used in the related art.
First, FIG. 4 will be described. In FIG. 4, only a single extension unit 2 is shown in the information processing apparatus constituting the common unit 1 and in the illustrated example. However, the information processing apparatuses constituting a plurality of extension units 2 include power supplies 1A, 2A. , Microprocessor units (MPU) 1B, 2B..., Memories (MEM) 1C, 2C..., Input / output devices (I / O) 1E, 2E. Units (IF) 1D, 2D,... Each of the information processing apparatuses 1, 2,... Is connected to the transmission path 9 to form an information processing system.
[0003]
FIG. 3 is an explanatory diagram illustrating a driving method (task processing change method) of the information processing system in which the task processing of the expansion unit is changed by changing the constant from the common unit according to the related art in the information processing system having such a configuration. is there. In FIG. 3, a constant table 10 of the common unit 1 is used for executing the tasks 11 to 13 of the common unit 1, and also transmitted by the extension unit 2 to use a part of the constants stored in the constant table 10. The processing unit 19 transmits constants necessary for task processing (tasks 21 and 22 in the illustrated example) of the extension unit 2. The extension unit 2 receives these constants transmitted from the common unit 1 via the reception processing unit 29 and stores the constants in the common unit constant table 20. In the illustrated example, of the tasks 21 to 24 executed by the extension unit 2, the tasks 21 and 22 which operate using the constants transmitted from the common unit 1 and stored in the common unit constant table 20 are stored in the constant table 20. There are tasks 23 and 24 that do not use the set constants and operate with the constants stored in the memory of the extension unit 2 itself.
[0004]
[Problems to be solved by the invention]
However, in the table changing method of the information processing system and the information processing system as described above, when it is necessary to change the constant table of the common unit, each related information is determined based on uncertain information generated during the change. In order to prevent the information processing apparatus from malfunctioning, it is necessary to stop the tasks 11 to 13 of the common unit and the tasks 21 and 22 of the extension unit. In the related art, when the necessity of such a change arises, the power of the extension unit is turned off to stop the microprocessor unit (MPU) of the extension unit. For this reason, there has been a problem that the execution of the tasks 23 and 24 irrelevant to the constant table 20 is stopped.
[0005]
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has as its object to solve the above-described problems and to execute a corresponding task without stopping the entire extended unit even when changing the table of the common unit. It is an object of the present invention to provide a table changing method and a data processing system for stopping only the operation of the common unit and resuming the execution of the task after the completion of the table changing of the common unit.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, a table change method according to the present invention is an information processing system in which a plurality of information processing devices operating according to constants written in a memory exchange data with each other via a transmission path. A constant table storing constants used by the processing devices is stored in the memory of one main information processing device (common unit), and the other information processing devices (extension units) are configured to store at least constants transmitted from the common unit. In the table changing method for changing the task processing of the extension section by changing the constant of the common section, the common section includes the task processing of the extension section when the constant of the constant table of the task processing is changed. Sends a stop command for task processing that operates according to the constant table, and when the constants in the task processing constant table have been changed, the constants are expanded. When the transmission of the constants in the constant table is completed, the execution unit transmits a task processing execution instruction that has transmitted the stop instruction. The extension unit transmits the task processing constant table constant and the task processing execution / stop instruction from the common unit. And the task to which the execution / stop instruction instructs execution executes the task processing according to the constant received from the common unit or the constant of the extension unit itself, and the execution / stop instruction instructs stop. The task does not execute the task processing.
[0007]
Further, in order to realize the above-described table changing method, the information processing system according to the present invention operates according to constants written in the memory, and has a memory for storing a constant table for storing constants used by each information processing apparatus. Main information processing devices (common units) and at least another information processing device (extended unit) having task processing that operates according to constants transmitted from the common units, In the information processing system, which changes the task processing of the extension unit by changing the constant of the common unit, the common unit includes the transmission unit for changing the constant of the task processing constant table. Command to stop the task processing that operates according to the constant table in the task processing of, and stops when the transmission of the constant in the changed constant table ends And an instruction output means for instructing an execution instruction of the task processing to which the instruction has been transmitted, and a means for transmitting an execution / stop instruction of the task processing of the extension unit and a constant of the changed constant table. Means for receiving a task processing execution / stop command from the section, determination means for determining execution / stop of the task processing by the task processing execution / stop command, and receiving a constant from the common section and receiving the constant from the common section. Means for storing in a constant table, the execution / stop of the task processing is selectively performed by a task processing execution / stop instruction from the common unit.
[0008]
In addition, instead of including a determination unit that determines execution / stop of the task processing based on an execution / stop command from the common unit, the extension unit includes a registration change processing unit that manages the execution / stop command from the common unit in a registration file. Means for deleting / re-registering registration data for execution / stop of the task processing by the registration change processing means, and execution order management for controlling execution / stop of each task by means of the registration data deletion / re-registration means Means.
[0009]
[Action]
According to the configuration described above, in the first aspect, before changing the constant table of the common unit, a stop instruction for stopping execution of a specific task process from the common unit to the extension unit is issued, and after the change is completed, the task process is stopped. Issue an operation command to cause execution. The task processing of the extension unit refers to an instruction from the common unit before executing the task processing, and suspends the execution of the task processing if the instruction is a stop instruction. As a result, it is possible to prevent a malfunction based on uncertain information generated during the change of the constant in the constant table in the common unit.
[0010]
Further, in the second invention, the registration change processing means of the extension unit refers to the instruction from the common unit and deletes / re-registers the registration data of operation / stop for execution of the task processing. The execution / stop of each task is controlled by the order management means by the deletion / re-registration means of the registration data. Therefore, each task does not need to refer to the instruction from the common unit, so that the structure of the program is simplified, and it is possible to use the program of the existing task without instruction reference processing without modifying the program. .
[0011]
【Example】
FIG. 1 is an explanatory diagram for explaining a task processing method according to an embodiment of an information processing system according to the first invention, and FIG. 2 is an explanatory diagram for explaining a task processing method according to another embodiment, and corresponds to FIGS. The same reference numerals are given to the same functional members.
1 will be mainly described with reference to FIG. In FIG. 1, an information processing system includes a plurality of information processing apparatuses 1, 2,... Operating in accordance with constants written in memories (1C, 2C), mutually exchanging data via a transmission line 9, and The constant table 10 storing the constants used by 1, 2,... Is stored in the memory (1C) of one main information processing device (hereinafter, referred to as a common unit) 1 and stored in another information processing device (hereinafter, referred to as an extension unit). 2) have at least task processes (21A and 22A in the illustrated example) that operate in accordance with the constants transmitted from the common unit 1. By changing the constants of the common unit 1, the task processes of the extension units 2. 21A, 22A,... Can be changed. Hereinafter, the extension units 2 will be described with the extension unit 2 as a representative example.
[0012]
In this information processing system, even when the constant table 10 of the common unit 1 is changed, only the corresponding task processing (21A, 22A) is stopped without stopping the entire extension unit 2, and the table change of the common unit 1 is completed. Thereafter, in order to configure a table changing method and an information processing system in which the execution of the task processing (21A, 22A) can be resumed, in the embodiment based on the first invention, the common unit 1 executes the task processing 21A of the extension unit 2 Instruction output means 15 for instructing the execution / stop instructions of .about.24A, and means (transmission processing section) 19 for transmitting the execution / stop instructions of the task processing 21A.about.24A of the extension section 2 and the constants of the constant table 10. Prepare.
[0013]
Further, the extension unit 2 stores a means (reception processing unit) 29 for receiving the execution / stop instruction of the task processing 21A to 24A from the common unit 1, and stores the received execution / stop instruction of the task processing 21A to 24A. It comprises an execution / stop command unit 25, a constant from the common unit 1, a common unit constant table 20 for storing the received constants, and task processes 21A to 24A. Note that the task processes 21A to 24A include a determination unit 21B to 24B that determines execution / stop of the task process 21A to 24A based on an instruction from the execution / stop instruction unit 25, a corresponding task process 21 to 24, Consists of
[0014]
In such a configuration, the task processes 11, 12, and 13 of the common unit 1 perform tasks determined by constants described in the constant table 10 based on numerical values such as the number of data, the number of operations, and comparison data. Processing is executed. Since the constant table 10 includes data used by the task processes 21A and 22A of the extension unit 2, the constants used in the extension unit 2 by the transmission processing unit 19 are sent to the extension unit 2. . The reception processing unit 29 of the extension unit 2 transfers this constant to the common unit constant table 20. Before executing the respective task processes, the task processes 21A to 24A refer to the instruction of the execution / stop instruction unit 25, and execute the task process if the instruction is an execution instruction. The command of the execution / stop command unit 25 is output by the command output unit 15 of the common unit 1 and transmitted through the transmission processing unit 19 and the reception processing unit 29.
[0015]
When changing the constant table 10 while the common unit 1 and the extension unit 2 are operating, the task processes 11, 12, and 13 are stopped, and the instruction output unit 15 stops the task processes 21A and 22A for the extension unit 2. Send instructions. Since the instruction of the execution / stop instruction unit 25 of the extension unit 2 is rewritten according to the stop instruction, the task processes 21A and 22A using the common unit constant table 20 stop the task processes 21 and 22.
[0016]
Next, after the change of the constant table 10 of the common unit 1 is completed and the transfer to the common unit constant table 20 of the extension unit 2 is completed, the instruction output unit 15 outputs the execution instruction of the task processing 21A, 22A. The extension unit 2 stores the execution instructions of the task processes 21A and 22A received from the common unit 1 in the execution / stop instruction unit 25, and executes the previously stopped task processes 21 and 22. As described above, the task processes 21A and 22A eliminate the possibility of malfunction even when the common part constant table 20 being changed is used, and do not stop the task processes 23A and 24A irrelevant to the common part constant table 20. Driving can be continued.
[0017]
In summary, the extension unit 2 selectively executes / stops the task processing according to the execution / stop instruction of the task processing 21A to 24A from the common unit 1. The task processes 21A and 22A receive the execution / stop command of the task process (21A to 24A) from the common unit 1 and the constant from the constant table 10 and execute the operation / stop command according to the received constant. The task processing 21A, 22A is selectively executed. In the illustrated example, since the task processes 21A and 22A operate using the constants of the common unit 1, when the constants of the common unit 1 are changed, the task processes 21A and 22A are set to a stop instruction and the task processes 21A and 22A are stopped. I do. On the other hand, since the task processes 23A and 24A do not operate using the constant of the common unit 1 but operate using the constant of the extension unit 2, the task processes 23A and 24A are executed by the execution / stop command. When the execution of 24A is selected, the task processing 23A, 24A is executed.
[0018]
FIG. 2 shows another embodiment according to the second invention. 2 differs from FIG. 1 in that execution / stop of the tasks (21 to 24) incorporated in the task processes (21A to 24A) illustrated in FIG. Instead of providing the judging means (21B to 24B) for judging the stop, the extension unit 2 includes a registration change processing unit 26 that manages the execution / stop instruction from the common unit 1 in the registration file 27, and the registration change processing unit 26. Means for deleting / reregistering registration data for execution / stop of the task processes 21 to 24, and execution order management means for controlling execution / stop of each task process by means of this registration data deletion / re-registration means 27 28.
[0019]
In such a configuration, the registration change process 26 always refers to the instruction of the execution / stop instruction unit 25. If the instruction is a stop instruction, the registration of the corresponding task process is deleted from the task registration table 27. Register The execution order management function 28 activates only the task processes registered in the task registration table 27.
When the common unit 1 and the extension unit 2 change the constant table 10 during operation, a stop command is issued to the task processes 21 and 22 of the execution / stop command 25, and the registration change processing unit 26 stores the stop command in the task registration table 27. The registration of the task processes 21 and 22 is deleted. Since the execution order management function 28 activates only the registered task processes 23 and 24 in the registration table 27, the task processes 21 and 22 stop the processes. With the above-described table change method and the configuration of the information processing system, the task processes 21 and 22 do not have a risk of malfunctioning using the common part constant table 20 during the table change, and at the same time, the The operation can be continued without stopping the task processes 23 and 24 that do not exist.
[0020]
【The invention's effect】
As described above, according to the configuration of the present invention, the task processing of the information processing system is changed and the content of the job is changed only by changing the table in the common unit without performing any operation on the expansion unit. be able to. Therefore, it is possible to obtain effects such as a reduction in the work time when changing the table, a reduction in the number of workers, and a reduction in work errors. This can have a remarkable effect when a large number of expansion units are connected to the system bus, or when the common unit and the expansion units are geographically separated.
[0021]
In addition, for devices that cannot be stopped due to the effects on peripheral devices, such as during data collection and communication processing, even if there is a minor change such as a change in the failure display content of the self-diagnosis process, information processing is not performed. Since the execution can be performed without stopping the entire system, the operation rate of the entire information processing system can be improved.
[0022]
Further, in the second invention, in addition to the above-described effects, the process of determining the execution / stop instruction is not required for each task process, so that the entire processing program amount can be reduced. In addition, many existing task processing programs that do not have such determination processing can be mounted on an information processing apparatus without being changed, so that the development cost when developing an information processing system can be reduced. Can be.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram illustrating a task processing method according to one embodiment of the present invention. FIG. 2 is an explanatory diagram illustrating a task processing method according to another embodiment. FIG. 3 is a diagram illustrating a task processing changing method used in the prior art. FIG. 4 is a configuration diagram of an information processing system.
1 Main information processing device 10 Constant tables 11 to 13, 21 to 24, 21A to 24A Task processing 15 Command output unit 19 Transmission processing unit 2 Other information processing devices 20 Common unit constant tables 21B to 24B Judgment unit 25 Execution / stop instruction Unit 26 task registration change processing means 27 task registration table 28 execution order management function 29 reception processing means 1A, 2A power supplies 1B, 2B microprocessor units 1C, 2C memories 1D, 2D interface units 1E, 2E I / O devices

Claims (3)

メモリに書き込まれた定数に従って動作する複数の情報処理装置が伝送路を介して相互にデータ交換を行う情報処理システムであり、各情報処理装置が使用する定数を収納する定数テーブルを1台の主情報処理装置(以下、共通部という)のメモリに格納し、他の情報処理装置(以下、拡張部という)は、少なくとも、この共通部から伝送される定数に従って動作するタスク処理を有し、共通部の定数を変更することにより拡張部のタスク処理を変更するテーブル変更方法において、
共通部は、タスク処理の定数テーブルの定数の変更時には拡張部のタスク処理の中で定数テーブルに従って動作するタスク処理の停止命令を送信し、タスク処理の定数テーブルの定数の変更完了時には当該定数を拡張部へ送信し、当該定数テーブルの定数の送信終了時には停止命令を送信したタスク処理の実行命令を送信し、
拡張部は、タスク処理の定数テーブルの定数と、共通部からのタスク処理の実行/停止命令とを受信し、この実行/停止命令が実行を指示する当該タスクは、共通部から受信した当該定数あるいは拡張部自身が有する定数に従って当該タスク処理を実行し、実行/停止命令が停止を指示する当該タスクは、当該タスク処理を実行しない、ことを特徴とするテーブル変更方法。
An information processing system in which a plurality of information processing devices operating according to constants written in a memory exchange data with each other via a transmission line, and a constant table for storing constants used by each information processing device includes one main table. The information processing device (hereinafter, referred to as a common unit) stores the information in a memory, and another information processing device (hereinafter, referred to as an extended unit) has at least task processing that operates according to a constant transmitted from the common unit. In the table changing method for changing the task processing of the extension unit by changing the constant of the unit,
The common unit transmits a task processing stop instruction that operates in accordance with the constant table in the task processing of the extension unit when the constant of the task processing constant table is changed, and transmits the constant when the change of the constant of the task processing constant table is completed. When the transmission of the constant in the constant table is completed, the execution instruction of the task process that transmitted the stop instruction is transmitted to the extension unit,
The extension unit receives a constant in the task processing constant table and a task processing execution / stop instruction from the common unit. The task whose execution / stop instruction instructs execution is the constant received from the common unit. Alternatively, the table changing method is characterized in that the task processing is executed according to a constant of the extension unit itself, and the task for which the execution / stop instruction instructs stop does not execute the task processing.
メモリに書き込まれた定数に従って動作し、各情報処理装置が使用する定数を収納する定数テーブルを格納するメモリを有する1台の主情報処理装置(以下、共通部という)と、少なくとも、この共通部から伝送される定数に従って動作するタスク処理を有する他の情報処理装置(以下、拡張部という)と、これらの共通部と拡張部間で相互にデータ交換を行う伝送路と、からなり、共通部の定数を変更することにより拡張部のタスク処理を変更する情報処理システムにおいて、
共通部は、タスク処理の定数テーブルの定数の変更時には拡張部のタスク処理の中で定数テーブルに従って動作するタスク処理の停止命令を指示し、変更された定数テーブルの定数の送信終了時には停止命令を送信したタスク処理の実行命令を指示する命令出力手段と、拡張部のタスク処理の実行/停止命令と変更された定数テーブルの定数とを送信する手段と、を備え、
拡張部は、共通部からのタスク処理の実行/停止命令を受信する手段と、このタスク処理の実行/停止命令により当該タスク処理の実行/停止を判断する判断手段と、共通部からの定数を受信し、共通部定数テーブルに格納する手段と、を備え、共通部からタスク処理の実行/停止命令により、当該タスク処理の実行/停止を選択的に行う、ことを特徴とする情報処理システム。
One main information processing device (hereinafter, referred to as a common unit) having a memory that operates according to the constants written in the memory and stores a constant table that stores constants used by each information processing device; And a transmission path for mutually exchanging data between the common unit and the extended unit, the information processing device having a task process that operates according to a constant transmitted from the common unit. In the information processing system that changes the task processing of the extension unit by changing the constant of
The common part instructs a stop instruction of the task processing that operates according to the constant table in the task processing of the extension part when the constant of the constant table of the task processing is changed, and issues a stop instruction at the end of transmission of the changed constant of the constant table. Command output means for instructing the transmitted task processing execution command, and means for transmitting a task processing execution / stop command of the extension unit and a constant of the changed constant table;
The extension unit receives a task processing execution / stop instruction from the common unit, a task processing execution / stop instruction based on the task processing execution / stop instruction, and a constant from the common unit. Means for receiving and storing it in a common part constant table, and selectively executing / stopping the task processing according to a task processing execution / stop command from the common part.
請求項2に記載の情報処理システムにおいて、拡張部は、共通部からの実行/停止命令により当該タスク処理の実行/停止を判断する判断手段を備える代わりに、共通部からの実行/停止命令を登録ファイルに管理する登録変更処理手段と、この登録変更処理手段により当該タスク処理の実行/停止の登録データの抹消/再登録をする手段と、この登録データの抹消/再登録手段により各タスクの実行、停止を制御する実行順序管理手段と、を備える、ことを特徴とする情報処理システム。 ・3. The information processing system according to claim 2, wherein the extension unit receives an execution / stop command from the common unit instead of including a determination unit that determines execution / stop of the task processing based on the execution / stop command from the common unit. A registration change processing means for managing the registration file, a means for deleting / reregistering the registration data of execution / stop of the task processing by the registration change processing means, and An information processing system comprising: an execution order management unit that controls execution and stop.・
JP06540295A 1995-03-24 1995-03-24 Table changing method and its information processing system Expired - Fee Related JP3546518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06540295A JP3546518B2 (en) 1995-03-24 1995-03-24 Table changing method and its information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06540295A JP3546518B2 (en) 1995-03-24 1995-03-24 Table changing method and its information processing system

Publications (2)

Publication Number Publication Date
JPH08263311A JPH08263311A (en) 1996-10-11
JP3546518B2 true JP3546518B2 (en) 2004-07-28

Family

ID=13285995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06540295A Expired - Fee Related JP3546518B2 (en) 1995-03-24 1995-03-24 Table changing method and its information processing system

Country Status (1)

Country Link
JP (1) JP3546518B2 (en)

Also Published As

Publication number Publication date
JPH08263311A (en) 1996-10-11

Similar Documents

Publication Publication Date Title
JP3546518B2 (en) Table changing method and its information processing system
JP2903652B2 (en) Facsimile control method
JP2001325010A (en) Programmable controller system
JP3298239B2 (en) Equalization method for redundant control system
JP3321359B2 (en) Processing control system
JPS6365550A (en) Program loading system for terminal equipment
JPH0650001Y2 (en) Redundant digital controller
JPH03113506A (en) Program control system
JPH01283657A (en) Dynamic constitution changing method for input/output control system having cross call function
JP2712929B2 (en) Multiple PC controller
JPH03113666A (en) Operation control system for computer system
KR100197422B1 (en) Apparatus for managing system file of switching system and method thereof
JPH06311199A (en) Uninterrupted communication control software changing method
JP2768768B2 (en) Cyclic data transmission method and apparatus
JP2021125008A (en) Cyclic communication system and communication method thereof
JPH0758801A (en) Data communications equipment
JPH10156910A (en) Production control system
JPS63301352A (en) Exchange system for file shared data with communication control
JPH04113748A (en) System for remotely revising version of program
JPS6188351A (en) Program load system
JPH07210214A (en) Control system and processing method for data
JPH03282756A (en) Asynchronous input/output system
JPH10171573A (en) Keyboard changeover controller
JPS638506B2 (en)
JPH0456347B2 (en)

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040119

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040323

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040405

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees