JPS63250741A - Reloading processing system - Google Patents

Reloading processing system

Info

Publication number
JPS63250741A
JPS63250741A JP8446087A JP8446087A JPS63250741A JP S63250741 A JPS63250741 A JP S63250741A JP 8446087 A JP8446087 A JP 8446087A JP 8446087 A JP8446087 A JP 8446087A JP S63250741 A JPS63250741 A JP S63250741A
Authority
JP
Japan
Prior art keywords
task
module
processing
program module
reload
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
JP8446087A
Other languages
Japanese (ja)
Inventor
Hitoshi Aoyama
均 青山
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP8446087A priority Critical patent/JPS63250741A/en
Publication of JPS63250741A publication Critical patent/JPS63250741A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To improve the processing efficiency of the whole system by forming a reloading processing task and requesting processing which is to be essentially executed by an operating system(OS) based on its own duty to the task. CONSTITUTION:At the time of detecting abnormality in a program module 5A e.g., a module validity checking means 6 informs the detection to the OS2. The OS2 stops the processing of a task 3a and starts a task 3x. The task 3x senses the means 6, acknowledges that the module detected at its abnormality is the module 5A and reloads a valid module 5A from an external storage device 7 to a main memory device 4 based on a reloading means 8. During the period, the OS2 switches the processing of the tasks 3b, 3c, 3x to execute the switched task. After ending the reloading of the valid module 5A, the task 3x informs the end to the OS2 and the OS2 restarts the processing of the task 3a.

Description

【発明の詳細な説明】 〔概要〕 マルチ・タスクを実行可能なデータ処理装置において、
オペレーティング・システムからの指示ムこもとづいて
、外部記憶装置から主起i9装置上へ。
[Detailed Description of the Invention] [Summary] In a data processing device capable of executing multi-task,
Based on instructions from the operating system, from the external storage device to the host i9 device.

現にロードされているプログラム・モジュールに代えて
正常なプログラム・モジュールを再ロードする機能をも
つ再ロード処理タスクをもうけ、当該再ロード処理につ
いてオペレーティング・システムが本来自己の責任にお
いて行う処理を依願するようにし、全体としての処理効
率を向上せしめることが開示されている。
Create a reload processing task that has the function of reloading a normal program module in place of the currently loaded program module, and request the operating system to perform the reload processing at its own responsibility. It is disclosed that the overall processing efficiency can be improved.

〔産業上の利用分野〕[Industrial application field]

本発明は、再ロード処理方式、特にマルチ・タスク実行
データ処理装置において、プログラム・モジュールにお
ける異常に対処するためのプログラム・モジュール再ロ
ード処理に当たって、オペレーティング・システム(O
3)が処理を依願するタスクをもうけるようにした再ロ
ード処理方式に関する。
The present invention provides a reload processing method, particularly in a multi-task execution data processing device, when reloading a program module to deal with an abnormality in a program module.
3) relates to a reload processing method in which a task requesting processing is created.

〔従来の構成〕[Conventional configuration]

従来からマルチ・タスクを実行するデータ処理装置が存
在しており、モジュール正当性確認手段が、主記憶装置
上のプログラム・モジュールにおける異常を検出すると
、この旨の通知を受けたO3が、外部!c!憶装置から
、当該異常なプログラム・モジュールに対応する正常な
プログラム・モジュールを再ロードするように構成され
ている。
Conventionally, there has been a data processing device that executes multi-tasking, and when the module validity checking means detects an abnormality in a program module on the main storage device, the O3, which has received this notification, sends an external! c! The program module is configured to reload a normal program module corresponding to the abnormal program module from the storage device.

第7図は従来の場合の構成を示し、第8図はタイムチャ
ートを示している。図中、1はプロセッサ全体を概念的
に表したもの、2はオペレーティング・システム、3a
ないし3Cは夫々タスク。
FIG. 7 shows a conventional configuration, and FIG. 8 shows a time chart. In the figure, 1 conceptually represents the entire processor, 2 the operating system, and 3a
Each of the three C's is a task.

4は主記憶装置、5Aないし5Cは夫々プログラム・モ
ジュール、6はモジュール正当性確認手段。
4 is a main storage device, 5A to 5C are program modules, and 6 is module validity checking means.

7は外部記憶装置を表している。7 represents an external storage device.

プロセッサ1は、主記憶装置4にロードされているプロ
グラム・モジュール5A、5B、5C…にもとづいてタ
スク3a、3b、3c…を実行する。なおプログラム・
モジュール5Aにもとづいてタスク3aが実行され、プ
ログラム・モジュール5Bにもとづいてタスク3bが実
行され、プログラム・モジュール5Cにもとづいてタス
ク3cが実行……されるものとする。
The processor 1 executes tasks 3a, 3b, 3c, . . . based on program modules 5A, 5B, 5C, . Furthermore, the program
It is assumed that task 3a is executed based on module 5A, task 3b is executed based on program module 5B, task 3c is executed based on program module 5C, and so on.

モジュール正当性確認手段6は、タスク3a。The module validity checking means 6 is a task 3a.

3b、3c…の実行状況を調べ、プログラム・モジュー
ル5A、5B、5C…のいずれかに異常が発住したか否
かを監視している。例えばプログラム・モジュール5A
についての異常を検出すると。
The execution status of program modules 3b, 3c, . For example, program module 5A
When detecting an abnormality about.

この旨をO32に通知する。Notify O32 of this fact.

O32は、これにもとづいて、タスクaの実行を停止す
ると共に、外部記憶装置7がら、プログラム・モジュー
ル5Aについての正常なモジュールを主記憶装置4に再
ロードする。
Based on this, O32 stops the execution of task a, and reloads the normal program module 5A from the external storage device 7 into the main storage device 4.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第8図にこの間の処理におけるタイム・チャートを示す
如<、032が介在してはタスクの切り替えを行い、そ
の結果にもとづいて夫々のタスク3a、3b、3c…に
対応する処理が実行されている。この状態の下で、プロ
グラム・モジュール5Aにエラーが検出されると、タス
ク3aの実行は停止され、O82は自己の処理によって
プログラム・モジュール5Aを再ロードする。そして、
その結果にもとづいて、タスク3aが実行される。
As shown in FIG. 8, which shows a time chart of the processing during this period, 032 intervenes to switch tasks, and based on the result, the processing corresponding to each task 3a, 3b, 3c, etc. There is. Under this condition, if an error is detected in program module 5A, execution of task 3a is stopped, and O82 reloads program module 5A by its own processing. and,
Based on the result, task 3a is executed.

第8図図示のタイム・チャートに示される如く。As shown in the time chart shown in FIG.

O52が再ロードを実行することから、健全なプログラ
ム・モジュール5B、5C…にもとづくタスク3b、3
c…の処理イ)中断されることになる。
Tasks 3b, 3 based on healthy program modules 5B, 5C... since O52 performs a reload.
Processing of c) will be interrupted.

る。Ru.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記の点を解決しており、タスク3b。 The present invention solves the above points, task 3b.

3c…を中断させることなく、必要な再ロードを行うよ
うにしている。
The necessary reloading is performed without interrupting 3c...

第1図は本発明の原理構成図を示す0図中の符号1はプ
ロセッサ全体を概念的に表したもの、2はオづレーティ
ング・システム、3aないし3cは夫々タスク、4は主
記憶装置、5Aないし5cは夫々プログラム・モジュー
ル、6はモジュール正当性確認手段、7は外部記憶装置
、3Xは再ロード処理タスク、8は再ロード手段を表し
ている。
FIG. 1 shows the principle configuration diagram of the present invention. In the figure, 1 conceptually represents the entire processor, 2 is an operating system, 3a to 3c are tasks, 4 is a main memory, 5A to 5c each represent a program module, 6 a module validation means, 7 an external storage device, 3X a reload processing task, and 8 a reload means.

主記憶装置4上にはプログラム・モジュール5A、5B
、5C…がロードされており、モジュール5Aにもとづ
いてタスク3aの処理が実行され。
Program modules 5A and 5B are stored on the main storage device 4.
, 5C... are loaded, and the processing of task 3a is executed based on module 5A.

モジュール5Bにもとづいてタスク3bの処理が実行さ
れ、モジュール5Cにもとづいてタスク3Cの処理が実
行される。
Processing of task 3b is executed based on module 5B, and processing of task 3C is executed based on module 5C.

モジュール正当性確認手段6は、第7図を参照して説明
したものと全く同じであり、プログラム・モジュール5
A、5B、5G……についての異常の発生を監視してお
り、異常発生時にこの旨をO32に通知する。
The module validity checking means 6 is exactly the same as that described with reference to FIG.
It monitors the occurrence of abnormalities regarding A, 5B, 5G, etc., and notifies O32 of this fact when an abnormality occurs.

O32は、この旨の通知を受取り、タスクの処理を停止
し、再ロード処理タスク3Xを起動する。タスク3Xは
、再ロード手段8にもとづいて。
O32 receives this notification, stops processing the task, and starts reload processing task 3X. Task 3X is based on reloading means 8.

外部記憶装置7から、正当なプログラム・モジュール例
えばモジュール5Aを再ロードし、この結果をO32に
通知する。
A valid program module, such as module 5A, is reloaded from the external storage device 7, and this result is notified to O32.

〔作用〕[Effect]

モジュール正当性確認手段6が1例えばプログラム・モ
ジュール5Aについて異常を検出すると。
When the module validity checking means 6 detects an abnormality in the program module 5A, for example.

この旨をO52に通知する。O32は、これにもとづい
て、タスク3aの処理を停止し、タスク3Xを起動する
Notify O52 of this fact. Based on this, O32 stops the processing of task 3a and starts task 3X.

タスク3Xは、これにもとづいて、モジュール正当性確
認手段6をセンスして、異常の検出されたものがプログ
ラム・モジュール5Aであることを知り、再ロード手段
8にもとづいて、外部記憶装置7から正当なプログラム
・モジュール5Aを主記憶装置4上に再ロードする。こ
の間、O82は、タスク3b、3c、3Xの処理を切り
替えて実行させてゆく。
Based on this, the task 3X senses the module validity checking means 6 and learns that the abnormality has been detected in the program module 5A, and based on the reloading means 8, the task 3 Reload the valid program module 5A onto the main storage device 4. During this time, the O82 switches and executes the processing of tasks 3b, 3c, and 3X.

正当なプログラム・モジュール5Aの再ロードが終了す
ると、タスク3Xはこの旨をO32に通知する。そして
O32は、タスク3aの処理を再開する。
When the reloading of the legitimate program module 5A is completed, the task 3X notifies the O32 of this fact. Then, O32 resumes processing of task 3a.

第2図は本発明の場合のタイムチャートを示し。FIG. 2 shows a time chart in the case of the present invention.

第2図(A)は正常動作時の場合であり、第2図(B)
はエラ一時の場合を表している。なお第2図図示の場合
には、タスク3aと3bと3Cとが2対3対1の割合い
で実行される状況に対応して示されている。したがって
第2図(A)図示の場合には、上記2対3対lの割合い
で各タスクの処理が実行されるようにO32が働いてい
る。
Figure 2 (A) shows the case during normal operation, and Figure 2 (B)
represents a temporary error case. In the case shown in FIG. 2, tasks 3a, 3b, and 3C are shown corresponding to a situation in which they are executed at a ratio of 2:3:1. Therefore, in the case shown in FIG. 2(A), O32 is working so that the processing of each task is executed at the ratio of 2:3:1.

第2図(B)図示の場合、タスク3aに割り当てられて
いた時間帯に対応して、再ロード処理タスク3Xが動作
され、プログラム・モジュール5Aの再ロードを待って
、タスク3aが再開されている。・したがって、タスク
3b、3c…については、夫々自己に割り当てられてい
た時間帯で処理を実行することができる。
In the case shown in FIG. 2(B), the reload processing task 3X is operated in accordance with the time period allocated to the task 3a, and the task 3a is restarted after waiting for the reloading of the program module 5A. There is. - Therefore, tasks 3b, 3c, etc. can be executed in their respective assigned time slots.

〔実施例〕〔Example〕

第3図は本発明の全体の処理を説明する説明図。 FIG. 3 is an explanatory diagram illustrating the overall processing of the present invention.

第4図はモジュール正当性確認手段の処理フロー。FIG. 4 is a processing flow of the module validity checking means.

第5図はオペレーティング・システムの処理フロー、第
6図は再ロード処理タスクの処理フローを示してい・る
FIG. 5 shows the processing flow of the operating system, and FIG. 6 shows the processing flow of the reload processing task.

モジュール正当性確認手段6は、第4図図示処理■の如
くプログラム・モジュールの正当性をチェックしている
。そしてエラーが検出されると。
The module validity checking means 6 checks the validity of the program module as shown in process (2) in FIG. and when an error is detected.

処理■■の如くこの旨をO3’2に通知し、エラー情報
を記録した状態となり処理■の如く次のモジュールへの
チェックに移る。その後処理■の如<、032から再ロ
ード終了の通知があると処理■の如くエラー情報を削除
する。
This is notified to the O3'2 as shown in process (■), the error information is recorded, and the process moves on to checking the next module as shown in process (2). After that, as shown in process (2), when the reload completion notification is received from 032, the error information is deleted as shown in process (2).

O32は、第5図図示処理■の如く通常のタスク管理を
行っている。処理■の如くエラー通知があると、処理■
0の如くタスクを停止し、再ロード処理タスク3xを起
動する。処理■の如く再ロードが終了するまでは、処理
■に戻る。再ロードが終了すると、処理◎から処理@に
進み、停止していたタスクを再開させる。
O32 performs normal task management as shown in process (2) in FIG. When there is an error notification as shown in Process■, Process■
0, the task is stopped, and the reload processing task 3x is started. As in process (2), the process returns to process (2) until the reloading is completed. When reloading is completed, the process proceeds from process ◎ to process @, and the stopped task is restarted.

再ロード処理タスク3Xは、O82から起動されると、
処理0の如く再ロードするモジュールに関する情報をセ
ンスし、処理[相]の如く再ロードを行い、処理■の如
く再ロード終了をO52に通知する。
When reload processing task 3X is started from O82,
It senses the information regarding the module to be reloaded as in process 0, performs the reload as in process [phase], and notifies the O52 of the completion of reloading as in process 2.

言うまでもなく、第4図ないし第6図図示のフロー相互
間の通知などは、第3図に示されている。
Needless to say, the notifications between the flows shown in FIGS. 4 to 6 are shown in FIG.

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

以上説明した如く1本発明によれば、再ロード処理タス
クによって再ロードを行わせるようにしたので、健全な
プログラム・モジュールによる処理に支障を生しること
がない。
As explained above, according to the present invention, reloading is performed by the reload processing task, so that processing by healthy program modules is not hindered.

なお、再ロード処理タスク自体に障害が生じた場合につ
いては、従来の場合と同様にオペレーティング・システ
ムが処理を実行すればよい。
Note that if a failure occurs in the reload processing task itself, the operating system may execute the processing as in the conventional case.

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

第1図は本発明の原理構成図、第2図は本発明の場合の
タイム・チャート、第3図は本発明の全体の処理を説明
する説明図、第4図はモジュール正当性確認手段の処理
フロー、第5図はオペレーティング・システムの処理フ
ロー、第6図は再ロード処理タスクの処理フロー、第7
回は従来の場合の構成、第8図はタイム・チャートを示
している。 図中、2はオペレーティング・システム、3はタスク、
4は主記憶装置、5はプログラム・モジュール、6はモ
ジュール正当性tiI i=手段17は外部記憶袋!、
3Xは再ロード処理タスクを表す。
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is a time chart in the case of the present invention, Fig. 3 is an explanatory diagram explaining the overall processing of the present invention, and Fig. 4 is a diagram of the module validity confirmation means. Processing flow, Figure 5 is the operating system processing flow, Figure 6 is the processing flow of the reload processing task, and Figure 7 is the processing flow of the operating system.
8 shows a conventional configuration, and FIG. 8 shows a time chart. In the figure, 2 is the operating system, 3 is the task,
4 is the main memory, 5 is the program module, 6 is the module validity tiI=means 17 is the external storage bag! ,
3X represents the reload processing task.

Claims (1)

【特許請求の範囲】 主記憶装置(4)上に複数のプログラム・モジュール(
5A、5B…)が、外部記憶装置(7)からロードされ
て、夫々のモジュールに対応するタスク(3a、3b…
)を実行するよう構成されてなり、 上記タスクの実行に関して上記プログラム・モジュール
(5A、5B…)の異常を監視するモジュール正当性確
認手段(6)をそなえ、 当該モジュール正当性確認手段(6)が上記いずれか1
つのプログラム・モジュールの異常を検出した際に、当
該モジュール正当性確認手段(6)がこの旨をオペレー
ティング・システム(2)に通知し、 オペレーティング・システム(2)が、当該異常状態に
あるプログラム・モジュールにもとづくタスクの実行を
停止し、上記外部記憶装置(7)から正常なプログラム
・モジュールをロードせしめて、上記停止されたタスク
の実行を開始せしめるよう構成されている マルチ・タスク実行データ処理装置(1)において、 上記オペレーティング・システム(2)からの起動指示
によって発動され、上記外部記憶装置(7)から上記正
常なプログラム・モジュールを上記主記憶装置(4)上
にロードする機能を有する再ロード処理タスク(3X)
をもうけ、 該再ロード処理タスク(3X)は、上記異常の生じたプ
ログラム・モジュールに関する情報を受取り、当該情報
にもとづいて、上記再ロードすべきプログラム・モジュ
ールを決定し、再ロードの終了にもとづいて上記オペレ
ーティング・システム(2)にこの旨を通知するよう構
成されてなる ことを特徴とする再ロード処理方式。
[Claims] A plurality of program modules (
5A, 5B...) are loaded from the external storage device (7), and the tasks (3a, 3b...) corresponding to the respective modules are loaded from the external storage device (7).
), and comprises module validity confirmation means (6) for monitoring abnormalities in the program modules (5A, 5B...) regarding the execution of the tasks, and the module validity confirmation means (6) is any one of the above
When an abnormality is detected in one program module, the module validity checking means (6) notifies the operating system (2) of this fact, and the operating system (2) detects the abnormality in the program module in the abnormal state. A multi-task execution data processing device configured to stop execution of a task based on a module, load a normal program module from the external storage device (7), and start execution of the stopped task. In (1), the computer is activated by a boot instruction from the operating system (2) and has a function of loading the normal program module from the external storage device (7) onto the main storage device (4). Load processing task (3X)
The reload processing task (3X) receives information regarding the program module in which the abnormality has occurred, determines the program module to be reloaded based on the information, and performs the reload processing task (3X) based on the completion of the reload. A reload processing method characterized in that the reload processing method is configured to notify the operating system (2) of this fact.
JP8446087A 1987-04-06 1987-04-06 Reloading processing system Pending JPS63250741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8446087A JPS63250741A (en) 1987-04-06 1987-04-06 Reloading processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8446087A JPS63250741A (en) 1987-04-06 1987-04-06 Reloading processing system

Publications (1)

Publication Number Publication Date
JPS63250741A true JPS63250741A (en) 1988-10-18

Family

ID=13831237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8446087A Pending JPS63250741A (en) 1987-04-06 1987-04-06 Reloading processing system

Country Status (1)

Country Link
JP (1) JPS63250741A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194053A (en) * 1989-01-23 1990-07-31 Mitsubishi Gas Chem Co Inc Production of heat-resistant, thermoplastic resin-modified cyanate resin

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02194053A (en) * 1989-01-23 1990-07-31 Mitsubishi Gas Chem Co Inc Production of heat-resistant, thermoplastic resin-modified cyanate resin

Similar Documents

Publication Publication Date Title
US5790878A (en) System and method for recovering from a power failure within a digital camera device
EP2431876B1 (en) Method and device for exception handling in embedded system
JPH0950424A (en) Dump sampling device and dump sampling method
US20030018682A1 (en) Computer system and computer-readable record medium
JP2965075B2 (en) Program execution status monitoring method
JPS63250741A (en) Reloading processing system
US9256857B2 (en) Scheduling start-up and shut-down of mainframe applications using topographical relationships
JP7000797B2 (en) Startup management device, startup management system, startup management method, and startup management program
JPH02266457A (en) Method for controlling execution of processing
JP2574938B2 (en) System startup method
JPH11288406A (en) Multi-processor system with operation monitoring function
CN116991637B (en) Operation control method and device of embedded system, electronic equipment and storage medium
JP3126473B2 (en) How to set up a computer system
EP0738969B1 (en) System starter unit and method
JP4387863B2 (en) Disturbance occurrence detection program and disturbance occurrence detection method
JPH04113421A (en) Initial program loading system
JPH03163617A (en) Warm-boot method of program in computer system
JPH03269759A (en) Multiprocessor control system
CN116662117A (en) Method, device and storage medium for monitoring linux system based on timer
JP2009217760A (en) Electronic computer device
JPH07160651A (en) Backup mode for system data
JP4983806B2 (en) System monitoring apparatus and monitoring method using dual timer
JP3464768B2 (en) Processor device with file load
JPH02122335A (en) Test method for ras circuit
JPH02138638A (en) Load control system for service processor