JPS63113636A - Event control system - Google Patents

Event control system

Info

Publication number
JPS63113636A
JPS63113636A JP25916786A JP25916786A JPS63113636A JP S63113636 A JPS63113636 A JP S63113636A JP 25916786 A JP25916786 A JP 25916786A JP 25916786 A JP25916786 A JP 25916786A JP S63113636 A JPS63113636 A JP S63113636A
Authority
JP
Japan
Prior art keywords
event information
task
event
time
current time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25916786A
Other languages
Japanese (ja)
Other versions
JPH0778745B2 (en
Inventor
Toshibumi Seki
関 俊文
Yasukuni Okayake
岡宅 泰邦
Shinsuke Tamura
田村 信介
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61259167A priority Critical patent/JPH0778745B2/en
Publication of JPS63113636A publication Critical patent/JPS63113636A/en
Publication of JPH0778745B2 publication Critical patent/JPH0778745B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To easily remove unnecessary event information by deleting event information when the effective time of the event information is behind the current time. CONSTITUTION:The event information whose effective time is specified by a task A in an arithmetic circuit 1a is passed to a task controller 2a to judge which of arithmetic circuits 1a, 1b... its event is registered in and which task should be controlled. Then, when this event information is to control a task B, namely,, when the event information is passed to the task registered in the arithmetic circuit 1a, the task controller 2a reads the effective time of the event information specified by an area 3a indicating the effective time and compares the effective information with the current time. When the effective time is before the current time, the event information is passed to the task B, but when the effective time is after the current time, this event is deleted in the system. The deletion is carried out by removing the event information from an event registration table.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、−台または複数台の計算器内で処理されるタ
スクを効率よく制御することができるイベント管理方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an event management method that can efficiently control tasks processed within one or more computers.

(従来の技術) 近年、電′W、Rシステムの各分野における要求の多様
化および技術の高度化にともなって、システムが大規模
化かつ複雑化する傾向にあるため、分散して各種タスク
を実行する処理システムの需要が高まっている。
(Prior art) In recent years, with the diversification of requirements and the advancement of technology in the fields of electric power systems, systems have tended to become larger and more complex. There is an increasing demand for processing systems that perform.

一般の計算機システムでは、タスクの発生、消滅あるい
はタスク間の情報交換に際して、タスク制御情報を含む
イベントを要求タスクが発生しこれをオペレーティング
システムが逐次解釈して目的のタスクに渡すことにより
、タスク制御が実行される。
In a general computer system, when a task occurs or disappears or information is exchanged between tasks, a requesting task generates an event containing task control information, and the operating system sequentially interprets this and passes it to the target task, thereby controlling the task. is executed.

このためこれらのタスク実行のために一台または複数台
の計算器内に存在するタスクの制御情報を効率良くする
必要がある。
Therefore, in order to execute these tasks, it is necessary to improve the efficiency of task control information that exists in one or more computers.

(発明が解決しようとする問題点) ところでこのようにタスク間で交換されるイベント情報
には、処理の混雑等によるイベント実行遅延によって有
効時刻を過ぎ不要となるものがある。この場合、不要と
なったイベント情報はシステム内に滞留することになる
。このため有効時刻を過ぎてもシステム内に滞留するイ
ベント情報に対処しうるような処理が必要とされている
。従来のイベント管理方式においては、上述したように
不要となったすなわち有効時刻以降に実行されるイベン
トの処理は、各タスクの制御および管理により行なって
いた。
(Problems to be Solved by the Invention) Some of the event information exchanged between tasks as described above becomes unnecessary after its effective time due to event execution delays due to processing congestion or the like. In this case, event information that is no longer needed will remain in the system. Therefore, there is a need for processing that can deal with event information that remains in the system even after the valid time has passed. In the conventional event management system, as described above, processing of events that are no longer needed, that is, events that are executed after the effective time, is performed by controlling and managing each task.

しかしながらその際の処理が複雑となるという問題があ
る。
However, there is a problem that the processing at that time becomes complicated.

また、イベント処理効率が非常に悪いという問題もある
Another problem is that the event processing efficiency is extremely low.

本発明はこのような事情に対処してなされたもので、有
効時刻を過ぎ不要となったイベントをユーザーが意識す
ることなく容易に排除することができ、しかもタスク制
御効率を向上させることができるイベント管理方式を提
供することを目的としている。
The present invention has been developed in response to these circumstances, and allows events that have passed their effective time to be no longer needed to be easily eliminated without the user being aware of them, and also improves task control efficiency. It aims to provide an event management method.

[発明の構成] (問題点を解決するための手段) 本発明のイベント管理方式は、少なくとも一つ以上のタ
スクを有しこれらタスクの処理を行なうタスク実行手段
と、このタスク実行手段に接続され同一または他のタス
ク実行手段によって処理されるタスク間でのイベント情
報交換手段とを備えているオペレーティングシステムに
おいて、前記イベント情報のフォーマットが該イベント
情報の有効時刻を示す領域を有し、かつ前記イベンI・
情報交換手段が前記イベント情報の有効時刻と現在時刻
とを比較し有効時刻が現在時刻を越えているとき該イベ
ント情報を消滅させる手段を有していることを特徴とし
ている。
[Structure of the Invention] (Means for Solving Problems) The event management method of the present invention includes a task execution means that has at least one task and processes these tasks, and a task execution means that is connected to the task execution means. and an event information exchange means between tasks processed by the same or different task execution means, wherein the format of the event information has an area indicating a valid time of the event information, and I.
The information exchange means is characterized in that it has means for comparing the valid time of the event information with the current time and erasing the event information when the valid time exceeds the current time.

(作 用) 本発明のイベント管理方式において、イベント情報のフ
ォーマットが該イベント情報の有効時刻を示す領域を有
し、かつイベント情報交換手段がイベント情報の有効時
刻と現在時刻とを比較し有効時刻が現在時刻を越えてい
るとき該イベント情報を消滅させる手段を有しているの
で、有効時刻を過ぎ、もはや不要となったイベント情報
をタスク内で処理させる必要はなくなり、さらにはタス
ク間でこれらの不要となったイベント情報の交換は行な
われなくなる。このため、有効時刻を過ぎ不要となった
イベント情報を容易に排除することができ、しかもタス
ク制御効率を向上させることができるようになる。
(Function) In the event management method of the present invention, the format of the event information has an area indicating the valid time of the event information, and the event information exchange means compares the valid time of the event information with the current time and determines the valid time. Since it has a means for erasing event information when the current time has passed, there is no need to process event information within a task that has passed its effective time and is no longer needed. Event information that is no longer needed will no longer be exchanged. Therefore, event information that is no longer needed after its valid time can be easily eliminated, and task control efficiency can be improved.

(実施例) 以下、本発明の実施例の詳細を図面に基づいて説明する
(Example) Hereinafter, details of an example of the present invention will be described based on the drawings.

第1図は本発明の一実施例の構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

このイベント管理方式は、タスク実行手段1としての演
算回路1a、1b・・・のそれぞれに接続されたイベン
ト交換手段2としてのタスク制御装置2a、2b・・・
を−列に接続した構成となっており、演算回路1a、1
b・・・によりタスクが実行され、この処理中に発生し
たイベント情報は、タスク制御袋r!12a、2b・・
・を介して制御される6また上記イベント情報のフォー
マットは、第2図に示すように、イベント情報の有効時
刻を示す領域3aおよびイベント情報本体の領域3bに
より構成されている。
In this event management system, task control devices 2a, 2b, . . ., which serve as event exchange means 2, are connected to arithmetic circuits 1a, 1b, . . ., which serve as task execution means 1, respectively.
is connected in the - column, and the arithmetic circuits 1a, 1
The task is executed by b..., and the event information that occurred during this processing is stored in the task control bag r! 12a, 2b...
The format of the event information, as shown in FIG. 2, is composed of an area 3a indicating the effective time of the event information and an area 3b of the event information body.

このイベント管理方式において、たとえば演算回路1a
中のタスクAが同一の演算回路la中のタスクB、tた
は他の演算回路lb中のタスクCを制御するイベント情
報を発生した場合、上記したイベント情報の有効時刻を
示す領域3aに有効時刻を指定することによりこの有効
時刻以前に到着するイベント↑青報のみがタスク制御装
置2aまたは2bで処理され、指定された有効時刻以降
に到着するイベント情報はタスクBまたはタスクCに到
着する前にタスク制御装置2aまたは2bにより消滅さ
れる。
In this event management method, for example, the arithmetic circuit 1a
When task A in the middle generates event information that controls tasks B and t in the same arithmetic circuit la, or task C in another arithmetic circuit lb, the valid event information is displayed in area 3a indicating the valid time of the above event information. By specifying a time, only events that arrive before this effective time↑ will be processed by the task control device 2a or 2b, and event information that arrives after the specified effective time will be processed before reaching task B or task C. is deleted by the task control device 2a or 2b.

このことはタスク制御装置2a、2b・・・が第4図に
示すように動作することにより行われる。
This is accomplished by the task control devices 2a, 2b, . . . operating as shown in FIG.

まず、演算回路la中のタスクAで有効時間が指定され
たイベント情報が、タスク制御装置2aに渡され、タス
ク制御装置がこのイベントが演算回路1a、1b・・・
内に登録されているどのタスクを制御すべきかを判断す
る。
First, event information for which a valid time has been specified for task A in the arithmetic circuit la is passed to the task control device 2a, and the task control device receives this event information from the arithmetic circuits 1a, 1b, . . .
Determine which tasks registered within should be controlled.

そしてこのイベント情報がタスクBを制御すべきもので
ある場合すなわち演算回路la内に登録されたタスクに
対しイベント情報を渡す場合、このタスク制御装置2a
はイベント情報の有効時刻を示す領域3aで指定された
有効時刻を読出しくステップ401) 、この有効時刻
と現在時刻とを比較しくステップ402)、有効時刻が
現在時刻以前である場合にはタスクBにイベント情報を
渡すが(ステップ403)、有効時刻が現在時刻を越え
ている場合にはこのイベントをシステム内より削除する
ことにより消滅させる(ステップ404)。
If this event information is to control task B, that is, if the event information is to be passed to a task registered in the arithmetic circuit la, this task control device 2a
reads the valid time specified in the area 3a indicating the valid time of the event information (step 401), compares this valid time with the current time (step 402), and if the valid time is before the current time, task B The event information is passed to (step 403), but if the valid time exceeds the current time, the event is deleted from the system to make it disappear (step 404).

削除は、該イベント情報をイベント登録テーブルより抹
消することにより行う。
Deletion is performed by deleting the event information from the event registration table.

また、このイベント情報がタスクCを制御すべきもので
ある場合すなわち他の演算回路1b内に登録されたタス
クCに対しイベント情報を渡す場合、まずこのタスク制
御装置2aはイベント情報の有効時刻を示す領域3aで
指定された有効時刻を読出しくステップ401) 、こ
の有効時刻と現在時刻とを比較しくステップ402)、
有効時刻が現在時刻以前である場合にはこのイベント情
報はタスク制御装置2bへ渡され(ステップ403)、
有効時刻が現在時刻を越えている場合にはこのイベント
情報1報を消滅させる(ステップ404)。次にこのイ
ベント情報を受けたタスク制御装置2bはイベント情報
の有効時刻を示す領域3aで指定された有効時刻を読出
しくステップ401)、この有効時刻と現在時刻とを比
較しくステップ402)、有効時刻が現在時刻以前であ
る場合にはタスクCを起動しイベント情報を渡すが(ス
テップ403)、有効時刻が現在時刻を越えている場合
にはこのイベント情報を消滅させる(ステップ404)
Further, if this event information is to control task C, that is, if event information is to be passed to task C registered in another arithmetic circuit 1b, first, this task control device 2a indicates the valid time of the event information. Read the valid time specified in area 3a (step 401), compare this valid time with the current time (step 402),
If the valid time is before the current time, this event information is passed to the task control device 2b (step 403),
If the valid time exceeds the current time, this first event information report is deleted (step 404). Next, the task control device 2b that received this event information reads the valid time specified in the area 3a indicating the valid time of the event information (step 401), compares this valid time with the current time (step 402), and reads the valid time specified in the area 3a indicating the valid time of the event information. If the time is before the current time, task C is activated and event information is passed to it (step 403), but if the effective time exceeds the current time, this event information is deleted (step 404).
.

しかして、有効時間を越え不要となったイベント情報は
タスク制御装置2a、2b・・・内で消滅されるので、
イベント情報を受は取るタスク内でこのようなイベント
情報の処理等を行なう必要はなくなり、このようなイベ
ント情報の排除は1r常に容易なものとなる。また、こ
のようなイベント情報はこのイベント情報を受は取った
各タスク制御装置2a、2b・・・によりそれぞれ有効
時間を越え不要となったか否かが判断され排除されてい
るので、有効時間を越え不要となったイベント情報が演
算回路1a、1b・・・や他のタスク制御装置2a、2
b・・・に渡されることはなくなり、タスク制御効率を
向上させることができるようになる。
Therefore, event information that is no longer needed after the valid time is deleted within the task control devices 2a, 2b, etc.
It is no longer necessary to process such event information within the task of receiving and receiving event information, and it is always easy to eliminate such event information. In addition, such event information is eliminated after each task control device 2a, 2b, etc. that receives the event information determines whether or not it has exceeded its effective time and is no longer needed. Event information that is no longer needed is transferred to the arithmetic circuits 1a, 1b... and other task control devices 2a, 2.
b..., and task control efficiency can be improved.

なお、あるタスクが不特定多数のタスクを制御し、その
結果に応じて自行の動作を制御する場合には、不特定多
数のタスクから発生されたイベントを指定された有効時
刻まで待ち、この時刻以前に到着したイベント情報を処
理し、まなこの時刻以降に到着したイベント情報すなわ
ち指定された有効時刻が現在時刻を越えているイベント
情報はこのタスクIll tall装置により消滅され
るようにすることにより、上述した実施例におけるイベ
ント情報の排除は非常に容易なものとなり、タスク制御
効率の向上が非常に!!?i著なものとなる。
Note that when a task controls an unspecified number of tasks and controls its own operations according to the results, it waits for events generated by the unspecified number of tasks until a specified effective time, and By processing the event information that arrived before and causing the event information that arrived after Manako's time, that is, the event information whose specified valid time exceeds the current time, to be deleted by this task Ill tall device. Eliminating event information in the above-described embodiment is extremely easy, and task control efficiency is greatly improved! ! ? It will be written by i.

[発明の効果] 以上説明したように本発明のイベント管理方式によれば
、有効時刻を過ぎ不要となったイベント情報を容易に排
除することができ、しかもタスク制御効率を向上させる
ことができるようになる。
[Effects of the Invention] As explained above, according to the event management method of the present invention, event information that has passed its effective time and is no longer needed can be easily eliminated, and task control efficiency can be improved. become.

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

第1図は本発明の一実施例の構成図、第2図はこの実施
例のイベンI−+N報のフォーマットを示ず図、第3図
はこの実施例の演算回路内のタスクを示す図、第4図は
この実施例の動作を示すフローチャートである。 1・・・・・・・・・タスク実行手段 2・・・・・・・・・タスク交換手段 出願人      株式会社 東芝 代理人 弁理士  須 山 佐 − 第1図 第2図 3a       3b 第3図 第4図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram that does not show the format of the event I-+N report of this embodiment, and FIG. 3 is a diagram showing tasks in the arithmetic circuit of this embodiment. , FIG. 4 is a flowchart showing the operation of this embodiment. 1...Task Execution Means 2...Task Exchange Means Applicant: Toshiba Corporation Patent Attorney Satoshi Suyama - Figure 1 Figure 2 Figure 3a 3b Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)少なくとも一つ以上のタスクを有しこれらタスク
の処理を行なうタスク実行手段と、このタスク実行手段
に接続され同一または他のタスク実行手段によって実行
される異なるタスク間で互いに制御するためのイベント
情報の交換を行わせるイベント情報(以下イベント情報
と略す)交換手段とを備えてなるオペレーティングシス
テムにおいて、前記イベント情報のフォーマットが該イ
ベント情報の有効時刻を示す領域を有し、かつ前記イベ
ント情報交換手段が前記イベント情報の有効時刻と現在
時刻とを比較し有効時刻が現在時刻を越えているとき該
イベント情報を消滅させる手段を有していることを特徴
とするイベント管理方式。
(1) A task execution means that has at least one task and processes these tasks, and a system for controlling each other between different tasks connected to this task execution means and executed by the same or other task execution means. In an operating system comprising an event information (hereinafter abbreviated as event information) exchange means for exchanging event information, the format of the event information has an area indicating a valid time of the event information, and the event information An event management system characterized in that the exchange means has means for comparing the valid time of the event information with the current time and erasing the event information when the valid time exceeds the current time.
JP61259167A 1986-10-30 1986-10-30 Distributed processing device Expired - Lifetime JPH0778745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61259167A JPH0778745B2 (en) 1986-10-30 1986-10-30 Distributed processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61259167A JPH0778745B2 (en) 1986-10-30 1986-10-30 Distributed processing device

Publications (2)

Publication Number Publication Date
JPS63113636A true JPS63113636A (en) 1988-05-18
JPH0778745B2 JPH0778745B2 (en) 1995-08-23

Family

ID=17330283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61259167A Expired - Lifetime JPH0778745B2 (en) 1986-10-30 1986-10-30 Distributed processing device

Country Status (1)

Country Link
JP (1) JPH0778745B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6033637A (en) * 1983-08-04 1985-02-21 Ricoh Co Ltd Data processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6033637A (en) * 1983-08-04 1985-02-21 Ricoh Co Ltd Data processor

Also Published As

Publication number Publication date
JPH0778745B2 (en) 1995-08-23

Similar Documents

Publication Publication Date Title
JPS63113636A (en) Event control system
JPH0612261A (en) Interruption control circuit
JPH02297633A (en) Task managing system
JP2763657B2 (en) Figure database management method
JPH02139630A (en) Online task exchange device
JP2000357130A (en) Peripheral control processor, and system and method for holding fault analytic information
JP3270040B2 (en) Bus control method
JPH01134559A (en) Data communication system
JPH03189802A (en) Host link unit for programmable controller
JPH03147149A (en) Update control system for data file
JPH04274524A (en) System for controlling inter-process communication
JPH0389648A (en) Telegraph exchange system
JPS62123549A (en) Data storing system
JPS62251864A (en) Transaction processing system
JPH0370062A (en) Terminal equipment remote maintenance system
JPS63187945A (en) On-line data communication system
JPS582960A (en) Time sharing system
JPS6274135A (en) Confirming system for operation of program
JPH03100853A (en) Inter-processor communication system
JPH01263731A (en) Interruption control system
JPS63196903A (en) Programmable controller
JPH03133239A (en) Command execution controller in exchange
JPH01113842A (en) Trap system for information processor
JPH0378035A (en) Task execution controller
JPH04348438A (en) Using right control system