JPH04369752A - Schedule control system - Google Patents

Schedule control system

Info

Publication number
JPH04369752A
JPH04369752A JP3146418A JP14641891A JPH04369752A JP H04369752 A JPH04369752 A JP H04369752A JP 3146418 A JP3146418 A JP 3146418A JP 14641891 A JP14641891 A JP 14641891A JP H04369752 A JPH04369752 A JP H04369752A
Authority
JP
Japan
Prior art keywords
waiting
event
request
execution level
canceled
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
JP3146418A
Other languages
Japanese (ja)
Inventor
Kozo Nishino
西野 耕造
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 JP3146418A priority Critical patent/JPH04369752A/en
Publication of JPH04369752A publication Critical patent/JPH04369752A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To effectively use memory resource which is required at the time of transmitting a telegram and to freely change the order of the schedule of an event. CONSTITUTION:A queueing means 6 queues a request from an application program 1 and terminals 11-1, 11-2 to 11-m and completion against the request. An execution level setting means 7 queues the queueing event in a queue in the designated execution level. A queueing release means 5 releases queueing when there is the request or the request completes. A released event execution means 4 executes the released queueing event from the event whose execution level is high.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はスケジュール制御方式に
関し、特にアプリケーションプログラム及び端末からの
要求又は要求に対する完了を待ち合わせる待ち合わせイ
ベントを制御するスケジュール制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a schedule control system, and more particularly to a schedule control system for controlling requests from application programs and terminals, or waiting events for waiting for completion of requests.

【0002】0002

【従来の技術】従来のスケジュール制御方式は、待ち合
わせを行なう際に、実行レベルを指定できないために、
待ち合わせを解除されたイベントが複数存在する場合に
は、常に待ち合わせを行なった順番に実行させていた。
[Prior Art] Conventional schedule control methods cannot specify the execution level when making a meeting.
When there are multiple events for which waiting has been canceled, the events are always executed in the order in which the waiting was performed.

【0003】0003

【発明が解決しようとする課題】上述した従来のスケジ
ュール制御方式は、待ち合わせを行なう際に、その待ち
合わせイベントの実行レベルを指定できないために、以
下に示すような問題が発生するという欠点を有している
[Problems to be Solved by the Invention] The conventional schedule control method described above has the disadvantage that the following problems occur because it is not possible to specify the execution level of the waiting event when making a meeting. ing.

【0004】すなわち、端末側が一時的にアプリケーシ
ョンプログラムからの電文の入力を制限している場合に
、アプリケーションプログラムから電文の送信要求が来
た時には、通信制御プログラムが電文の送信要求を保留
し、端末側の電文の入力制限の解除後に、電文を送信し
ている。
[0004] That is, when the terminal side temporarily restricts the input of messages from an application program and a request to send a message comes from the application program, the communication control program suspends the request to send the message and the terminal The message is being sent after the user's message input restrictions have been lifted.

【0005】この時の通信制御プログラムの処理は、ア
プリケーションプログラムからの電文の送信要求時に、
端末側が電文の入力を制限しているために、待ち合わせ
手段を用いて待ち合わせを行ない、端末側の入力制限の
解除を契機に端末側の入力制限の解除を待ち合わせてい
るイベントに対して、待ち合わせ解除手段を用いて待ち
合わせの解除をイベント数分行ない、更に解除済みイベ
ント実行手段を用いて待ち合わせの解除済みのイベント
の実行を行なう。実行されたイベントは、中断していた
処理を再開し、端末に電文を送信後に、送信完了を待ち
合わせ手段を用いて待ち合わせる。
[0005] The processing of the communication control program at this time is such that when the application program requests transmission of a message,
Due to the terminal side restricting the input of messages, a meeting is performed using a waiting method, and the waiting is canceled for an event where the terminal side is waiting for the input restriction to be lifted when the input restriction on the terminal side is lifted. The waiting is canceled for the number of events using the means, and the canceled event execution means is used to execute the canceled event. The executed event restarts the interrupted process, sends the message to the terminal, and then waits for the completion of the transmission using the waiting means.

【0006】しかし、この送信完了待ちの待ち合わせイ
ベントは、待ち合わせイベントキューの最後にチェイン
されるために、送信がすぐに完了しても待ち合わせを解
除された端末側の入力制限の解除待ちの待ち合わせイベ
ントが全て実行されるまで送信完了待ちの待ち合わせイ
ベントが実行されない。
[0006] However, since the waiting event for waiting for transmission completion is chained to the end of the waiting event queue, even if the transmission is completed immediately, the waiting event for waiting for the input restriction on the terminal side that has been canceled from waiting is still held. Waiting events waiting for transmission completion are not executed until all are executed.

【0007】従って、電文送信時に必要なメモリ資源が
端末側の入力制限の解除待ちの待ち合わせイベント数分
必要となるために(ただし、電文送信時に必要なメモリ
資源は、送信完了後に開放する。)、メモリ効率が悪く
なる。又、送信完了後に、すぐに処理を再開させたい場
合にも、入力制限の解除待ちの待ち合わせイベントが全
て実行されるまで待たなくてはならないので処理効率も
悪くなる。
[0007] Therefore, the memory resources required when transmitting a message are equal to the number of waiting events waiting for the release of input restrictions on the terminal side (however, the memory resources necessary when transmitting a message are released after the transmission is completed). , memory efficiency deteriorates. Furthermore, even if it is desired to restart the process immediately after the transmission is completed, the process efficiency will deteriorate because it is necessary to wait until all the waiting events waiting for the release of input restrictions are executed.

【0008】[0008]

【課題を解決するための手段】本発明のスケジュール制
御方式は、アプリケーションプログラムに複数の端末と
の交信を可能とする通信制御プログラムが走行する計算
機システムのスケジュール制御方式において、前記通信
制御プログラムが前記端末と交信する際に前記アプリケ
ーションプログラム及び前記端末からの要求又は要求に
対する完了を待ち合わせるための待ち合わせ手段と、前
記待ち合わせ手段による待ち合わせをする際にその待ち
合わせイベントを指定の実行レベルの待ち合わせキュー
にキューイングする実行レベル設定手段と、前記アプリ
ケーションプログラム及び前記端末からの要求又は要求
に対する完了が来た時に前記待ち合わせ手段による待ち
合わせを解除する待ち合わせ解除手段と、前記待ち合わ
せ解除手段により解除された待ち合わせイベントを実行
レベルの高いイベントから実行させる解除済みイベント
実行手段とを有して構成されている。
Means for Solving the Problems The schedule control method of the present invention is a schedule control method for a computer system in which an application program runs a communication control program that enables communication with a plurality of terminals. A waiting means for waiting for a request or completion of a request from the application program and the terminal when communicating with a terminal, and queuing the waiting event in a waiting queue of a specified execution level when waiting by the waiting means. an execution level setting means for setting a waiting event to be canceled by the waiting means; and a canceled event execution means for executing the event starting from the event with the highest value.

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0010】図1は本発明のスケジュール制御方式の一
実施例を示すブロック図である。図1に示すように、ア
プリケーションプログラム1から端末11−1,11−
2,…11−mに対して電文の送信要求が来た時に、既
に端末11−iから電文の入力制限の通知が来ていた場
合に、通信制御プログラム2は、電文の送信処理を中断
し、待ち合わせ手段6を用いて端末11−iの入力制限
の解除を待ち合わせる。その際に、実行レベル設定手段
7を用いて入力制限解除待ちイベント10−1,10−
2,…10−kが待ち合わせイベントキュー8の低めの
レベルにキューイングされるように実行のレベル(0)
,(1),…(n)を指定する。
FIG. 1 is a block diagram showing an embodiment of the schedule control method of the present invention. As shown in FIG. 1, from the application program 1 to the terminals 11-1, 11-
2,...When a request to send a message is received to 11-m, if a message input restriction notification has already been received from the terminal 11-i, the communication control program 2 interrupts the message sending process. , uses the waiting means 6 to wait for the release of the input restriction of the terminal 11-i. At that time, the execution level setting means 7 is used to set input restriction release wait events 10-1, 10-.
2,...10-k is queued at a lower level of the waiting event queue 8 at the execution level (0).
, (1),...(n).

【0011】そして、端末11−iから電文の入力制限
の解除通知が来た時に、通信制御プログラム2は、待ち
合わせ解除手段5を用いて待ち合わせイベントキュー8
にキューイングされている待ち合わせイベントをサーチ
し、端末側の入力制限解除待ちイベント10−1,10
−2,…10−kの全てに対して待ち合わせの解除済み
の設定を行なう。
[0011] Then, when the notification of cancellation of the message input restriction is received from the terminal 11-i, the communication control program 2 uses the waiting canceling means 5 to clear the waiting event queue 8.
10-1, 10
-2, . . . 10-k are all set to be canceled.

【0012】更に、待ち合わせ解除手段5による待ち合
わせイベントキュー8にキューイングされている全ての
イベントのサーチ後に、解除済みイベント実行手段4を
用いて待ち合わせを解除された入力制限解除待ちイベン
ト10−1,10−2,…10−kを実行させ、中断し
ていた端末11−iへの電文の送信処理を再開させる。 但し、この時に、解除済みイベント実行手段4は、入力
制限解除待ちイベント10−1,10−2,…10−k
より実行レベルが高い解除済みイベントが存在する場合
には、高いレベルのイベントを優先して実行させる。
Further, after the waiting canceling means 5 searches for all events queued in the waiting event queue 8, the input restriction cancellation waiting event 10-1, whose waiting is canceled using the canceled event executing means 4, 10-2, . . . 10-k are executed to restart the interrupted process of transmitting the message to the terminal 11-i. However, at this time, the canceled event execution means 4 executes the input restriction cancellation waiting events 10-1, 10-2,...10-k.
If there is a canceled event with a higher execution level, the higher level event is executed with priority.

【0013】そこで、再開された電文送信処理では、端
末11−iへも電文を送信し、送信完了を待ち合わせ手
段6により待ち合わせる。その際に、実行レベル設定手
段7を用いて、電文送信完了待ちイベント9が、入力制
限解除待ちイベント10−1,10−2,…10−kよ
り高いレベルの待ち合わせイベントキュー8にキューイ
ングされるように実行レベルを指定する。その後に、電
文の送信が完了した時に待ち合わせ解除手段5を用いて
電文送信完了待ちイベント9の待ち合わせを解除し、解
除済みイベント実行手段4を用いて解除済みのイベント
を実行させることにより、待ち合わせイベントキュー8
に待ち合わせを解除されて実行されるのを待っている入
力制限解除待ちイベント10−1,10−2,…10−
kが残っていても、電文送信完了待ちイベント9の方が
実行レベルが高いので先に実行される。
Therefore, in the restarted message transmission process, the message is also transmitted to the terminal 11-i, and the waiting means 6 waits for the completion of the transmission. At that time, using the execution level setting means 7, the message transmission completion waiting event 9 is queued in the waiting event queue 8 at a higher level than the input restriction release waiting events 10-1, 10-2, ... 10-k. Specify the run level so that After that, when the transmission of the message is completed, the waiting for the message transmission completion waiting event 9 is canceled using the waiting canceling means 5, and the canceled event is executed using the canceled event executing means 4, so that the waiting event is Cue 8
Input restriction release waiting events 10-1, 10-2, ... 10-, which are waiting to be executed after being released from waiting.
Even if k remains, message transmission completion wait event 9 has a higher execution level and is therefore executed first.

【0014】[0014]

【発明の効果】以上説明したように、本発明のスケジュ
ール制御方式は、待ち合わせ手段で待ち合わせを行なう
際に、その待ち合わせイベントの実行レベルを指定でき
るので、電文送信完了の待ち合わせを行なう際に、他の
待ち合わせイベントの実行レベルより高い実行レベルを
指定することにより、電文送信が完了した時点で電文の
送信完了待ちの待ち合わせイベントが実行されることに
なり、電文の送信時に必要なメモリ資源を有効に利用で
きるという効果を有している。又、実行レベルを複数個
設定できるようにすることにより、イベントのスケジュ
ールの順番を自由に変えるこが可能になるという効果を
有している。
[Effects of the Invention] As explained above, the schedule control method of the present invention allows the execution level of the waiting event to be specified when the waiting means makes a meeting. By specifying an execution level higher than the execution level of the waiting event for message transmission, the waiting event for waiting for the message transmission to be completed will be executed when the message transmission is completed, and the memory resources required when transmitting the message will be enabled. It has the effect of being usable. Furthermore, by allowing a plurality of execution levels to be set, it is possible to freely change the order of event schedules.

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

【図1】本発明のスケジュール制御方式の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a schedule control method of the present invention.

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

1    アプリケーションプログラム2    通信
制御プログラム 3    スケジュール制御 4    解除済みイベント実行手段 5    待ち合わせ解除手段 6    待ち合わせ手段 7    実行レベル設定手段 8    待ち合わせイベントキュー 9    電文送信完了待ちイベント 10−1,10−2,〜10−k    入力制限解除
待ちイベント
1 Application program 2 Communication control program 3 Schedule control 4 Canceled event execution means 5 Waiting cancellation means 6 Waiting means 7 Execution level setting means 8 Waiting event queue 9 Message transmission completion waiting event 10-1, 10-2, ~10-k Input restriction release waiting event

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  アプリケーションプログラムに複数の
端末との交信を可能とする通信制御プログラムが走行す
る計算機システムのスケジュール制御方式において、前
記通信制御プログラムが前記端末と交信する際に前記ア
プリケーションプログラム及び前記端末からの要求又は
要求に対する完了を待ち合わせるための待ち合わせ手段
と、前記待ち合わせ手段による待ち合わせをする際にそ
の待ち合わせイベントを指定の実行レベルの待ち合わせ
キューにキューイングする実行レベル設定手段と、前記
アプリケーションプログラム及び前記端末からの要求又
は要求に対する完了が来た時に前記待ち合わせ手段によ
る待ち合わせを解除する待ち合わせ解除手段と、前記待
ち合わせ解除手段により解除された待ち合わせイベント
を実行レベルの高いイベントから実行させる解除済みイ
ベント実行手段とを有することにより、待ち合わせを行
なう際にその待ち合わせイベントの実行レベルを指定で
きることを特徴とするスケジュール制御方式。
1. In a schedule control method for a computer system in which an application program runs a communication control program that enables communication with a plurality of terminals, when the communication control program communicates with the terminal, the application program and the terminal Waiting means for waiting for a request or completion of a request from the application program; execution level setting means for queuing a waiting event in a waiting queue of a specified execution level when the waiting means waits for the request; a waiting canceling means for canceling the waiting by the waiting means when a request from a terminal or a completion of the request comes; and a canceled event executing means for causing the waiting event canceled by the waiting canceling means to be executed starting from an event with a higher execution level. A schedule control method characterized in that, by having a schedule control method, an execution level of a waiting event can be specified when making a meeting.
JP3146418A 1991-06-19 1991-06-19 Schedule control system Pending JPH04369752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3146418A JPH04369752A (en) 1991-06-19 1991-06-19 Schedule control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3146418A JPH04369752A (en) 1991-06-19 1991-06-19 Schedule control system

Publications (1)

Publication Number Publication Date
JPH04369752A true JPH04369752A (en) 1992-12-22

Family

ID=15407243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3146418A Pending JPH04369752A (en) 1991-06-19 1991-06-19 Schedule control system

Country Status (1)

Country Link
JP (1) JPH04369752A (en)

Similar Documents

Publication Publication Date Title
EP0442615B1 (en) A communications adapter and method for operating it
US20060010446A1 (en) Method and system for concurrent execution of multiple kernels
JP5516398B2 (en) Multiprocessor system and method for sharing device between OS of multiprocessor system
KR20000060827A (en) method for implementation of transferring event in real-time operating system kernel
JPH04369752A (en) Schedule control system
JP3713977B2 (en) Real-time distributed system
JP2915074B2 (en) Event dequeueing method in multitask processing system
JP4151330B2 (en) I / O control method for network file system
JPS62172840A (en) Transferring system for data
JP3112287B2 (en) Message management processor
WO2023144878A1 (en) Intra-server delay control device, intra-server delay control method, and program
JPS62126457A (en) Distributed data processing system
WO2022195826A1 (en) Intra-server delay control device, intra-server delay control method, and program
JPH04287234A (en) Process multiplicity control system
JPH0235850A (en) Exclusivecontrol system for pre-communication processor
JPS59148929A (en) Communication control system of data
JPH0243657A (en) Transaction processing scheduling system
CN117971410A (en) Data transmission method, device and equipment
JPH0385641A (en) Data processing precedence control system
JPH0240723A (en) Message transmission/reception control system
JPH07281975A (en) Data transmission/reception buffer busy retry method
JPS61143858A (en) File share method for plural operating systems
JP2747098B2 (en) Exclusive control method for shared resources
JPH03208131A (en) Task control system for operating system
JPH0760417B2 (en) I / O processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011106