Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3133413B2 - Task omission control method - Google Patents
[go: Go Back, main page]

JP3133413B2 - Task omission control method - Google Patents

Task omission control method

Info

Publication number
JP3133413B2
JP3133413B2 JP03240872A JP24087291A JP3133413B2 JP 3133413 B2 JP3133413 B2 JP 3133413B2 JP 03240872 A JP03240872 A JP 03240872A JP 24087291 A JP24087291 A JP 24087291A JP 3133413 B2 JP3133413 B2 JP 3133413B2
Authority
JP
Japan
Prior art keywords
task
message
function
tasks
basic function
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
JP03240872A
Other languages
Japanese (ja)
Other versions
JPH0583326A (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.)
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 JP03240872A priority Critical patent/JP3133413B2/en
Publication of JPH0583326A publication Critical patent/JPH0583326A/en
Application granted granted Critical
Publication of JP3133413B2 publication Critical patent/JP3133413B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、タスク抜け制御方式に
関し、特に、複数のタスクにより、機能分散で制御を行
うマルチタスキング型システムにおけるタスク抜け制御
方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a task omission control method, and more particularly to a task omission control method in a multitasking type system in which a plurality of tasks perform control in a distributed manner.

【0002】[0002]

【従来の技術】従来、タスクAの提供する機能とタスク
Bの提供する機能との間で、基本機能メッセージのタス
ク間通信を行って基本機能を実現し、拡張機能が必要に
なった時に拡張機能を提供するタスクSが、タスクA,
B間の基本機能メッセージのタスク間通信の間に割って
入って、基本機能メッセージを生成、削除、または、加
工することによって拡張機能を実現するマルチタスキン
グ型システムでは、拡張機能が不要になった後もタスク
Sが削除されず、タスクSはタスクA,B間の基本機能
メッセージを受信し、加工せずに送信していた。
2. Description of the Related Art Conventionally, basic functions have been realized by performing inter-task communication of basic function messages between a function provided by task A and a function provided by task B, and extended when an extended function becomes necessary. The task S that provides the function is a task A,
In a multitasking type system in which an extended function is realized by generating, deleting, or processing a basic function message by interrupting the inter-task communication of the basic function message between B, the extended function is not required. After that, the task S was not deleted, and the task S received the basic function message between the tasks A and B and transmitted it without any processing.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のマルチ
タスキング型システムでは、拡張機能が不要になった後
のタスクA,B間の基本機能メッセージがタスクSを経
由して行われていたため、本来、拡張機能部には無関係
な基本機能処理を拡張機能タスクSが行わなければなら
ず、プロセッサに余計な負荷が生じて処理能力を劣化さ
せ、また、リソースを無駄に消費するという問題点があ
った。
In the conventional multitasking type system described above, the basic function message between tasks A and B after the extension function is no longer required is transmitted via task S. Originally, the extended function task S must perform basic function processing irrelevant to the extended function unit, which causes an extra load on the processor, deteriorating the processing capacity, and wastes resources. there were.

【0004】本発明の目的は、A,B間の基本機能メッ
セージがタスクSを経由していたためにプロセッサにか
かっていた余計な負荷を軽減し、処理能力を向上させる
ことが可能な、マルチタスキング型システムにおけるタ
スク抜け制御方式を提供することにある。
An object of the present invention is to provide a multitasking system capable of reducing an unnecessary load on a processor because a basic function message between A and B has passed through a task S and improving a processing capability. It is to provide a task omission control method in a king type system.

【0005】[0005]

【課題を解決するための手段】本発明は、タスクAの提
供する機能とタスクBの提供する機能との間で、基本機
能メッセージのタスク間通信を行って基本機能を実現
し、拡張機能が必要になった時に拡張機能を提供するタ
スクSが、タスクA,B間の基本機能メッセージのタス
ク間通信の間に割って入って、基本機能メッセージを生
成、削除、または、加工することによって拡張機能を実
現する、複数のタスクにより機能分散で制御を行うマル
チタスキング型システムのタスク抜け制御方式におい
て、拡張機能が不要になった時点で、タスクSの離脱を
実施するための制御メッセージの送信に先だち、基本機
能メッセージの転送の停止確認を行うために、送信権制
御メッセージ「一般送信停止要求」をタスクAおよびB
に送信し、送信権制御メッセージ「一般送信停止応答」
をタスクAおよびBから受信するまでの間に受信した基
本機能メッセージを、処理せずに待ち合わせ行列に保持
し、タスクSは、制御メッセージ「機能Sの離脱要求」
をタスクAおよびBに送信し、制御メッセージ「機能S
の離脱ACK」をタスクAおよびBから受信した後、基
本機能メッセージを待ち合わせ行列から取り出してタス
クAおよびBに転送し、タスクAおよびBは、送られた
基本機能メッセージを処理せず待ち合わせ行列に保持
し、その後、タスクSが、一般メッセージの送信を再開
するために、送信権制御メッセージ「一般送信再開要
求」をAおよびBに送信し、送信権制御メッセージ「一
般送信再開要求」をタスクAおよびBが送信することに
よって、タスクSの離脱が終了し、再び、タスクA,B
間での基本機能メッセージの送受による基本機能を実現
する形態に戻ることを特徴としている。
According to the present invention, a basic function is realized by performing inter-task communication of a basic function message between a function provided by a task A and a function provided by a task B. A task S, which provides an extended function when needed, is extended by generating, deleting, or processing a basic function message by interrupting the intertask communication of the basic function message between tasks A and B. In a task loss control method of a multitasking type system that realizes a function and performs control in a distributed manner by a plurality of tasks, when an extended function becomes unnecessary, transmission of a control message for executing task S leaving In order to confirm that the transfer of the basic function message has been stopped, the transmission right control message "general transmission stop request"
And send right control message "General transmission stop response"
The task S retains the basic function message received before receiving from the task A and the task B in the queue without processing, and the task S executes the control message “function S leaving request”.
Are sent to tasks A and B, and the control message “function S
From the tasks A and B, the basic function message is taken out of the queue and transferred to the tasks A and B, and the tasks A and B enter the queue without processing the sent basic function message. After that, the task S transmits a transmission right control message “general transmission restart request” to A and B in order to restart transmission of the general message, and transmits the transmission right control message “general transmission restart request” to the task A. The transmission of task S is completed by the transmission of tasks A and B, and tasks A and B are again transmitted.
It is characterized by returning to a mode of realizing a basic function by sending and receiving a basic function message between the two.

【0006】[0006]

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

【0007】図1は、本発明の一実施例を示すシステム
構成図と、タスク間のメッセージの流れを示す説明図で
ある。
FIG. 1 is a system configuration diagram showing one embodiment of the present invention, and an explanatory diagram showing the flow of messages between tasks.

【0008】図1において、拡張機能を提供するタスク
Sの挿入を決定したタスクAは、Sの挿入を実施するた
めの制御メッセージの送信に先だって、基本機能メッセ
ージの転送の停止確認を行うための送信権制御メッセー
ジ「一般送信停止要求」のBへの送信を行い、送信権制
御メッセージ「一般送信停止応答」の受信までの間にB
から受信した基本機能メッセージを処理せずに待ち合わ
せ行列(以降QUEと呼ぶ)に保持する(以降ENQと
呼ぶ)。
In FIG. 1, task A, which has decided to insert a task S for providing an extended function, confirms the stop of the transfer of the basic function message prior to transmission of a control message for implementing the insertion of S. The transmission right control message “general transmission stop request” is transmitted to B, and B is transmitted until the transmission right control message “general transmission stop response” is received.
Without processing the basic function message received from the Queue (hereinafter referred to as QUE) (hereinafter referred to as ENQ).

【0009】そして、制御メッセージ「機能Sの挿入要
求」を送信したのちに、制御メッセージ「機能Sの挿入
ACK」を受信して、タスクSの組み込みが完了したあ
とに、タスクAは、基本機能メッセージをQUEにEN
Qした順に取り出して(以降DEQと呼ぶ)、タスクS
に転送する。タスクSは送られた基本機能メッセージを
処理せずにQUEにENQする。
After transmitting the control message "function S insertion request" and receiving the control message "function S insertion ACK" to complete the task S installation, task A EN message to QUE
Take out in the order of Q (hereinafter referred to as DEQ),
Transfer to The task S ENQs the QUE without processing the sent basic function message.

【0010】その後、タスクAが、一般メッセージの送
信を再開するために、送信権制御メッセージ「一般送信
再開要求」をタスクBおよびSに送信し、タスクSの組
み込みが終了する。
Then, task A transmits a transmission right control message “general transmission restart request” to tasks B and S in order to restart transmission of the general message, and the incorporation of task S ends.

【0011】タスクSは、送信権制御メッセージ「一般
送信再開要求」を受信すると、拡張機能の動作を開始す
るが、拡張機能の動作開始に際しては、まず、QUE内
のメッセージをすべてDEQしてから、タスクAおよび
Bから受信する基本機能メッセージを処理する。
When the task S receives the transmission right control message “general transmission restart request”, it starts the operation of the extended function. When the operation of the extended function is started, first, all the messages in the QUE are dequeued. , Process basic function messages received from tasks A and B.

【0012】拡張機能を提供するタスクSの離脱手順も
同様に実施される。
The procedure for withdrawing the task S for providing an extended function is similarly performed.

【0013】以下に拡張機能を提供するタスクSの離脱
手順について説明する。
The procedure for leaving task S for providing an extended function will be described below.

【0014】まず、拡張機能を提供するタスクSの離脱
を決定したタスクSは、Sの離脱を実施するための制御
メッセージの送信に先だって、基本機能メッセージの転
送の停止確認を行うために、送信権制御メッセージ「一
般送信停止要求」をAおよびBに送信し、送信権制御メ
ッセージ「一般送信停止応答」をAおよびBから受信す
るまでの間に受信した基本機能メッセージを、処理せず
にQUEにENQする。そして、タスクSは、制御メッ
セージ「機能Sの離脱要求」をAおよびBに送信し、制
御メッセージ「機能Sの離脱ACK」をAおよびBから
受信する。
First, the task S, which has decided to leave the task S providing the extended function, is transmitted to confirm that the transfer of the basic function message has been stopped before transmitting the control message for executing the release of the task S. QUE without transmitting the basic function message received before transmitting the right control message "general transmission stop request" to A and B and receiving the transmission right control message "general transmission stop response" from A and B. To ENQ. Then, the task S transmits a control message “request for leaving the function S” to A and B, and receives a control message “ACK for leaving the function S” from A and B.

【0015】このあと、タスクSは、基本機能メッセー
ジをDEQして、タスクAおよびBに転送する。タスク
AおよびBは送られた基本機能メッセージを処理せずに
QUEにENQする。
After that, the task S dequeues the basic function message and transfers it to the tasks A and B. Tasks A and B ENQ the QUE without processing the sent basic capability message.

【0016】その後、タスクSが、一般メッセージの送
信を再開するために、送信権制御メッセージ「一般送信
再開要求」をAおよびBに送信し、送信権制御メッセー
ジ「一般送信再開要求」をタスクAおよびBが受信する
ことによって、タスクSの離脱が終了する。
Thereafter, the task S sends a transmission right control message “general transmission restart request” to A and B to restart transmission of the general message, and sends a transmission right control message “general transmission restart request” to the task A. The reception of tasks S and B ends the task S withdrawal.

【0017】タスクAおよびBは送信権復活メッセージ
「一般送信再開要求」を受信すると、基本機能動作を再
開するが、基本機能の再開に際しては、まず、QUE内
のメッセージをすべてDEQして処理してから、タスク
AもしくはBから受信する基本機能メッセージを処理す
る。
When the tasks A and B receive the transmission right restoration message “general transmission restart request”, the basic function operation is restarted. When the basic function is restarted, first, all the messages in the QUE are processed by DEQ processing. After that, the basic function message received from the task A or B is processed.

【0018】このように、本実施例は、拡張機能が不要
になった際、タスクSを削除することにより、タスク
A,B間の基本機能メッセージの送受をタスクSを経由
することなくタスクA,B間で直接に行うことができ
る。
As described above, according to this embodiment, when the extended function becomes unnecessary, the task S is deleted so that the basic function message between the tasks A and B can be transmitted and received without passing through the task S. , B directly.

【0019】[0019]

【発明の効果】以上説明したように本発明のタスク抜け
制御方式では、拡張機能が不要になった際、拡張機能タ
スクSを削除し、本来、拡張機能部には無関係なタスク
A,B間の基本機能メッセージが、タスクSを経由せ
ず、ダイレクトにタスク間通信を行うことで、プロセッ
サにかかる負荷を削減することができ、処理能力を上げ
ることが可能となり、また、リソースの有効利用が可能
となる効果がある。
As described above, according to the task omission control method of the present invention, when an extended function is no longer needed, the extended function task S is deleted, and tasks A and B that are irrelevant to the extended function section are originally used. The basic function message does not pass through the task S and performs direct inter-task communication, so that the load on the processor can be reduced, the processing capacity can be increased, and the effective use of resources can be improved. There is a possible effect.

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

【図1】本発明の一実施例を示すシステム構成図とタス
ク間のメッセージの流れを示す図である。
FIG. 1 is a diagram showing a system configuration according to an embodiment of the present invention and a diagram showing a message flow between tasks.

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

A 基本機能を提供するタスクA B 基本機能を提供するタスクB S 拡張機能を提供するタスクS A task providing basic functions A B task providing basic functions B S task S providing extended functions

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 29/08 G06F 9/46 340 Continuation of front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 29/08 G06F 9/46 340

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】タスクAの提供する機能とタスクBの提供
する機能との間で、基本機能メッセージのタスク間通信
を行って基本機能を実現し、拡張機能が必要になった時
に拡張機能を提供するタスクSが、タスクA,B間の基
本機能メッセージのタスク間通信の間に割って入って、
基本機能メッセージを生成、削除、または、加工するこ
とによって拡張機能を実現する、複数のタスクにより機
能分散で制御を行うマルチタスキング型システムのタス
ク抜け制御方式において、 拡張機能が不要になった時点で、タスクSの離脱を実施
するための制御メッセージの送信に先だち、基本機能メ
ッセージの転送の停止確認を行うために、送信権制御メ
ッセージ「一般送信停止要求」をタスクAおよびBに送
信し、 送信権制御メッセージ「一般送信停止応答」をタスクA
およびBから受信するまでの間に受信した基本機能メッ
セージを、処理せずに待ち合わせ行列に保持し、 タスクSは、制御メッセージ「機能Sの離脱要求」をタ
スクAおよびBに送信し、 制御メッセージ「機能Sの離脱ACK」をタスクAおよ
びBから受信した後、基本機能メッセージを待ち合わせ
行列から取り出してタスクAおよびBに転送し、 タスクAおよびBは、送られた基本機能メッセージを処
理せず待ち合わせ行列に保持し、 その後、タスクSが、一般メッセージの送信を再開する
ために、送信権制御メッセージ「一般送信再開要求」を
AおよびBに送信し、 送信権制御メッセージ「一般送信再開要求」をタスクA
およびBが送信することによって、タスクSの離脱が終
了し、 再び、タスクA,B間での基本機能メッセージの送受に
よる基本機能を実現する形態に戻ることを特徴とするタ
スク抜け制御方式。
A basic function is realized by performing inter-task communication of a basic function message between a function provided by a task A and a function provided by a task B, and when an extended function is required, the extended function is executed. The task S to be provided breaks during the inter-task communication of the basic function message between the tasks A and B,
When the extended function is no longer needed in the task-missing control method of a multitasking type system in which the extended function is realized by generating, deleting, or processing the basic function message, and the functions are distributed and controlled by multiple tasks. Before transmitting the control message for performing the detachment of the task S, the transmission right control message “general transmission stop request” is transmitted to the tasks A and B in order to confirm the stop of the transfer of the basic function message, Task A for transmission right control message "General transmission stop response"
The task S sends a control message “request to leave the function S” to tasks A and B without processing the basic function message received before receiving the message from the task B and the task B. After receiving "leave ACK of function S" from tasks A and B, the basic function message is taken out of the queue and transferred to tasks A and B. Tasks A and B do not process the transmitted basic function message. The task S sends a transmission right control message “general transmission restart request” to A and B in order to restart transmission of the general message, and then transmits a transmission right control message “general transmission restart request”. To task A
A task omission control method characterized in that the task S is terminated by the transmission of tasks B and B, and returns to a mode of realizing the basic function by transmitting and receiving the basic function message between the tasks A and B again.
JP03240872A 1991-09-20 1991-09-20 Task omission control method Expired - Fee Related JP3133413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03240872A JP3133413B2 (en) 1991-09-20 1991-09-20 Task omission control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03240872A JP3133413B2 (en) 1991-09-20 1991-09-20 Task omission control method

Publications (2)

Publication Number Publication Date
JPH0583326A JPH0583326A (en) 1993-04-02
JP3133413B2 true JP3133413B2 (en) 2001-02-05

Family

ID=17065957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03240872A Expired - Fee Related JP3133413B2 (en) 1991-09-20 1991-09-20 Task omission control method

Country Status (1)

Country Link
JP (1) JP3133413B2 (en)

Also Published As

Publication number Publication date
JPH0583326A (en) 1993-04-02

Similar Documents

Publication Publication Date Title
EP0600235B1 (en) Cooperative processing interface and communication broker for heterogeneous computing environments
JP3133413B2 (en) Task omission control method
CN115052056A (en) Industrial control communication method, device, equipment and storage medium
JPH09319634A (en) Transaction executing state management system, management method and medium for storing management program
CN114500052B (en) Event-driven-based efficient data encryption forwarding method and device
JP2818521B2 (en) Task communication method
JP2000267960A (en) Packet communication method and packet communication device between processes
JPH0736714A (en) Load distribution control system
KR100332050B1 (en) Real Time Processing Apparatus And Method Of A System Command In Application Program
JPH0612391A (en) Racing control system
KR910006457B1 (en) Method for cancelling call signal at isdn subscribers
JPH05282225A (en) Intra-terminal data communication equipment
JPS61181238A (en) Data transmission equipment
JPH0540732A (en) Data processing method
JP2879769B2 (en) Server program execution method
JPH0916495A (en) Communication control method
JP3438056B2 (en) Shared memory management method
JPH024931B2 (en)
JPH0648473B2 (en) Message transmission / reception processing method
JPH0895839A (en) Data backup method
JPS61166655A (en) Deadlock preventing system for receiving resource of communication controller
JPH1021090A (en) System and method for inter-process communication by connection establishment, and storage medium storing program for inter-process communication
JPH10320345A (en) Bus controller
JPH06131271A (en) How to avoid illegal timeout processing
JPH0997237A (en) Input telegraphic message guaranteeing method for on-line transaction processing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees