JPH02297633A - Task managing system - Google Patents
Task managing systemInfo
- Publication number
- JPH02297633A JPH02297633A JP11889689A JP11889689A JPH02297633A JP H02297633 A JPH02297633 A JP H02297633A JP 11889689 A JP11889689 A JP 11889689A JP 11889689 A JP11889689 A JP 11889689A JP H02297633 A JPH02297633 A JP H02297633A
- Authority
- JP
- Japan
- Prior art keywords
- task
- communication
- data terminal
- data
- terminal device
- 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
Links
- 238000004891 communication Methods 0.000 claims abstract description 43
- 238000007726 management method Methods 0.000 claims description 26
- 238000012217 deletion Methods 0.000 abstract description 3
- 230000037430 deletion Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータ端末装置におけるタスク管理方式に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a task management system in a data terminal device.
第3図はこの種のデータ端末装置における従来のタスク
の相互関係を示したものである。すなわち、オペレーテ
ィングシステム2°のもと、アブリケーシッンプログラ
ムによって実現される複数のタスク(回線制御タスク3
″、CRT@mタスク5°、プリンタ制御タスク7°)
が実行され、回線制御タスク3′は通信路1゛を介して
他のデータ端末装置との通信を制御し、CRTIIJ扉
タスク5°はCRT6°への表示を制御し、プリンタ制
御タスク7“はプリンタ8゛への出力を制御する。FIG. 3 shows the interrelationship of conventional tasks in this type of data terminal device. In other words, under the operating system 2°, multiple tasks (line control task 3,
'', CRT@m task 5°, printer control task 7°)
is executed, line control task 3' controls communication with other data terminal devices via communication path 1'', CRT IIJ door task 5° controls display on CRT 6°, and printer control task 7'' controls communication with other data terminal devices via communication path 1''. Controls output to printer 8'.
ところで、各タスク3゛、5°、7°は独立に実行が可
能であるが、処理の進行に応じて互いに同期をとったり
データの授受(タスク間通信)を行う必要があり、また
、他のデータ端末装置のタスクとのタスク間通信(端末
間通信)を行う必要も生じる。By the way, each task 3゛, 5゜, and 7゜ can be executed independently, but it is necessary to synchronize with each other and exchange data (inter-task communication) as the processing progresses. It also becomes necessary to perform inter-task communication (inter-terminal communication) with the data terminal device task.
従来、このようなタスク間通信は各タスク間で直接に行
われており、端末間通信は回線制御タスク3゛に直接に
指示することにより行われていた。Conventionally, such inter-task communication has been performed directly between each task, and inter-terminal communication has been performed by directly instructing the line control task 3'.
例えば、CRTilI1mタスク5゛においてプリンタ
制御タスク7°に対してプリンタ8°への出力を要求す
るような場合には、CRT制御タスク5′からプリンタ
制御タスク7“に対して直接その旨の指示が与えられ、
プリンタ制御タスク7°はその指示に従ってプリンタ8
°に出力を行う。For example, when the CRTil1m task 5' requests the printer control task 7° to output to the printer 8°, the CRT control task 5' directly issues an instruction to that effect to the printer control task 7'. given,
Printer control task 7° controls printer 8 according to its instructions.
Output to °.
従来のデータ端末装置においては上述したように各タス
クが実行され、通常の実行段階においては何ら不都合は
なかったが、アプリケーションプログラムを部分的に追
加、変更、削除する場合に対応が困難であるという欠点
があった。すなわち、タスク間通信および端末間通信が
各タスク同士で直接に行われていたため、各タスクのア
プリケ−シコンプログラムの記述が他のタスクのアプリ
ケーションプログラムを意識して作成されており、一部
のアプリケーションプログラムの追加、変更。In conventional data terminal devices, each task is executed as described above, and there are no problems during the normal execution stage, but it is said that it is difficult to deal with cases where application programs are partially added, changed, or deleted. There were drawbacks. In other words, since inter-task communication and inter-terminal communication were performed directly between each task, the application computer program for each task was written with the application programs of other tasks in mind, and some applications Add or change programs.
削除であっても全てのアプリケーションプログラムを作
り直さなければならなかったり、そこまで至らなくても
大幅な改造を必要とするものであった。Even if it were deleted, all application programs would have to be rewritten, or even if it did not go that far, it would require major modifications.
本発明は上記の点に鑑み捷案されたものであり、その目
的とするところは、各タスクの独立性を高め、アプリケ
ーションプログラムの部分的な追加。The present invention has been devised in view of the above points, and its purpose is to increase the independence of each task and to partially add application programs.
変更、削除に対しても柔軟に対処し得るタスク管理方式
を提供することにある。The object of the present invention is to provide a task management method that can flexibly deal with changes and deletions.
本発明は上記の目的を達成するため、通信路を介して他
と接続されるデータ端末装置におけるタスク管理方式に
おいて、
固有の論理ユニット番号を有し、相手タスクおよび自タ
スクの論理ユニット番号、相手タスクの存在するデータ
端末装置のアドレス、ならびにデータを含んだ電文によ
りタスク間通信もしくは端末間通信を行う複数のタスク
と、
前記タスクもしくは前記通信路から電文を受けて相手タ
スクに電文を渡すLU管理タスクとを備えるようにして
いる。In order to achieve the above object, the present invention provides a task management method in a data terminal device connected to another device via a communication path, which has a unique logical unit number, and which has a unique logical unit number, the logical unit number of the other task, the own task, and the other task. Multiple tasks that perform inter-task communication or inter-terminal communication using the address of the data terminal device where the task exists and a message containing data, and LU management that receives the message from the task or the communication path and passes the message to the other task. I try to prepare for tasks.
本発明のタスク管理方式にあっては、個々のタスクが固
有の論理ユニット番号を有しており、タスク間通信もし
くは端末間通信を行う場合、相手タスクおよび自タスク
の論理ユニット番号、相手タスクの存在するデータ端末
装置のアドレス、ならびにデータを含んだ電文をLU管
理タスクに対して送出する。そして、LU管理タスクは
タスクもしくは通信路を介して他のデータ端末装置のタ
スクから電文を受けた場合、論理ユニット番号を参照し
て相手タスクを認識し、相手タスクに電文を渡す。In the task management method of the present invention, each task has a unique logical unit number, and when performing inter-task communication or terminal-to-terminal communication, the logical unit numbers of the other task and the own task, A message containing the address of the existing data terminal device and data is sent to the LU management task. When the LU management task receives a message from a task of another data terminal device via a task or a communication path, it refers to the logical unit number, recognizes the other task, and passes the message to the other task.
以下、本発明の実施例につき図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明のタスク管理方式を適用したデータ端末
装置の一実施例を示す構成図である。第1図において、
回線制御タスク3は通信路1を介して他のデータ端末装
置との通信を制御するタスク、CRT制御タスク5はC
RT6への表示を制御するタスク、プリンタ制御タスク
7はプリンタ8への出力を制御するタスクであり、それ
ぞれLU(論理ユニット)管理タスク4により集中的に
管理されるようになっている。なお、LU管理タスク4
はオペレーティングシステム2により管理されるように
なっている。また、各タスクおよびオペレーティングシ
ステムには固有の論理ユニット番号が設定されており、
図中に括弧を付してその番号の例を示しである。FIG. 1 is a block diagram showing an embodiment of a data terminal device to which the task management method of the present invention is applied. In Figure 1,
The line control task 3 is a task that controls communication with other data terminal devices via the communication path 1, and the CRT control task 5 is a task that controls communication with other data terminal devices via the communication path 1.
A task that controls display on the RT 6 and a printer control task 7 are tasks that control output to the printer 8, and are each managed centrally by an LU (logical unit) management task 4. In addition, LU management task 4
is managed by the operating system 2. Additionally, each task and operating system has a unique logical unit number.
Examples of numbers are shown in parentheses in the figure.
第2図は第1図における各タスク間で授受される電文の
フォーマットを示したものであり、タスク間通信および
端末間通信はこの電文により行われる。第2図において
、電文9は、相手タスクの存在するデータ端末装置が自
己のデータ端末装置である場合にそのアドレスを設定す
る領域91と、相手タスクの存在するデータ端末装置が
他のデータ端末装置である場合にそのアドレスを設定す
る領域92と、相手タスクの論理ユニット番号を設定す
る領域93と、自タスクの論理ユニット番号を設定する
領域94と、データを設定する領域95とを有している
。FIG. 2 shows the format of the message sent and received between the tasks in FIG. 1, and communication between tasks and communication between terminals is performed using this message. In FIG. 2, the message 9 includes an area 91 where the address is set when the data terminal device where the partner task exists is the own data terminal device, and an area 91 where the address is set when the data terminal device where the partner task exists is another data terminal device. , an area 92 for setting the address in case of There is.
以下、場合を分けて上記の実施例の動作を説明する。Hereinafter, the operation of the above embodiment will be explained in different cases.
(1)同じデータ端末装置内でタスク間通信を行う場合
この場合は、通信を開始する側のタスクにおいて、電文
9の領域91に自己のデータ端末装置のアドレスを示す
値を設定し、領域93に相手タスクの論理ユニット番号
を設定し、領域94に自己のタスクの論理ユニット番号
を設定し、領域95に通信するデータを設定して、LU
管理タスク4に送信する。LU管理タスク4では受は取
った電文9の領域91から自己のデータ端末装置内での
タスク間通信であることを認識し、続いて領域93から
相手タスクの論理ユニット番号を獲得し、内部のテーブ
ル(図示せず)等に従って対応するタスクにその電文9
を渡す、電文9を受は取ったタスクでは、電文9の領域
95に設定されたデータに基づいた処理を行う。(1) When communicating between tasks within the same data terminal device In this case, the task that starts communication sets a value indicating the address of its own data terminal device in area 91 of message 9, and Set the logical unit number of the other task in the area 94, set the logical unit number of the own task in the area 95, and set the data to be communicated in the area 95.
Send to management task 4. In the LU management task 4, the receiver recognizes from area 91 of the received message 9 that it is inter-task communication within its own data terminal device, then acquires the logical unit number of the other task from area 93, and executes the internal The message 9 is sent to the corresponding task according to a table (not shown), etc.
In the task that sends the message 9 or receives the message 9, processing is performed based on the data set in the area 95 of the message 9.
例えば、CRT制御タスク5においてプリンタ制御タス
ク7に対してプリンタ8への出力を要求するような場合
には、領域91に自己のデータ端末装置のアドレスを示
す値を設定し、領域93にプリンタ制御タスク7の論理
ユニット番号(04)を設定し、領域94にCRT制御
タスク5の論理ユニット番号(03)を設定し、領域9
5にプリントを指示するデータを設定した電文9をCR
T制御タスク5からLU管理タスク4に送信する。For example, when the CRT control task 5 requests the printer control task 7 to output to the printer 8, a value indicating the address of its own data terminal device is set in the area 91, and a value indicating the address of the own data terminal device is set in the area 93. Set the logical unit number (04) of task 7, set the logical unit number (03) of CRT control task 5 in area 94, and set the logical unit number (03) of CRT control task 5 in area 94.
CR message 9 containing data to instruct 5 to print
It is sent from the T control task 5 to the LU management task 4.
そして、その電文9はLU管理タスク4を介してプリン
タ制御タスク7に渡され、プリンタ制御タスク7は電文
9の領域95に設定された指示に従ってプリンタ8に出
力を行う。Then, the message 9 is passed to the printer control task 7 via the LU management task 4, and the printer control task 7 outputs to the printer 8 according to the instructions set in the area 95 of the message 9.
(2)他のデータ端末装置内のタスクとタスク間通信を
行う場合
この場合は、通信を開始する側のタスクにおいて、電文
9の領域92に他のデータ端末装置のアドレスを示す値
を設定し、領域93に相手タスクの論理ユニット番号を
設定し、領域94に自己のタスクの論理ユニット番号を
設定し、領域95に通信するデータを設定して、LU管
理タスク4に送信する。LU管理タスク4では受は取っ
た電文9の領域92から他のデータ端末装置内のタスク
とのタスク間通信であることを認識し、回線制御タスク
3により通信路lを介して他のデータ端末装置に電文9
を送信する。(2) When performing inter-task communication with a task in another data terminal device In this case, in the task that starts the communication, set a value indicating the address of the other data terminal device in area 92 of message 9. , sets the logical unit number of the other task in the area 93, sets the logical unit number of the own task in the area 94, sets the data to be communicated in the area 95, and sends the data to the LU management task 4. In LU management task 4, the receiver recognizes from area 92 of received message 9 that it is inter-task communication with a task in another data terminal device, and communicates with other data terminal via communication path l by line control task 3. Telegram 9 to the device
Send.
他のデータ端末装置では通信路1から回線制御タスク3
(同じ符号を用いて説明する。以下同じ、)により電文
9を受け、回線制御タスク3からLU管理タスク4に電
文9を渡す、LU管理タスク4では電文9の領域92が
自己のデータ端末装置を指しているか否かを判断し、指
していれば続いて領域93から相手タスクの論理ユニッ
ト番号を獲得し、対応するタスクにその電文9を渡す、
電文9を受は取ったタスクでは、電文9の領域95に設
定されたデータに基づいた処理を行う。For other data terminal devices, communication path 1 to line control task 3
(Explained using the same reference numerals. The same applies hereinafter.) receives the message 9 and passes the message 9 from the line control task 3 to the LU management task 4. In the LU management task 4, the area 92 of the message 9 is the own data terminal device. Determine whether or not it is pointing to , and if it is, then acquire the logical unit number of the other task from area 93 and pass the message 9 to the corresponding task.
The task that receives the message 9 performs processing based on the data set in the area 95 of the message 9.
以上説明したように、本発明のタスク管理方式にあって
は、タスク間通信もしくは端末間通信を行う場合、相手
タスクおよび自タスクの論理ユニット番号、相手タスク
の存在するデータ端末装置のアドレス、ならびにデータ
を含んだ電文により行い、電文の伝達の管理はLU管理
タスクによって統一的に行うので、アプリケーションプ
ログラムの部分的な追加、変更、削除を行う場合、LU
管理タスクにおける論理ユニット番号の対応関係を修正
するのみで、追加、変更、削除したアプリケーションプ
ログラム以外のアプリケーションプログラムには影響が
及ぶことがないため、容易かつ柔軟に対応ができる効果
がある。As explained above, in the task management method of the present invention, when performing inter-task communication or terminal-to-terminal communication, the logical unit numbers of the other task and the own task, the address of the data terminal device where the other task exists, This is done using a message containing data, and the transmission of the message is uniformly managed by the LU management task, so when adding, changing, or deleting a portion of an application program, the LU
By simply correcting the correspondence of logical unit numbers in a management task, application programs other than those added, changed, or deleted will not be affected, which has the effect of allowing easy and flexible handling.
第1図は本発明のタスク管理方式を適用したデータ端末
装置の一実施例を示す構成図、第2図は本発明で送受信
される電文のフォーマットを示す図および、
第3図は従来のデータ端末装置におけるタスクの相互関
係を示す図である。
図において、
l・・・・・・通信路
2・・・・・・オペレーティングシステム3・・・・・
・回線制御タスク
4・・・・・・LU管理タスク
5・・・・・・CRT制?1タスク
6・・・・・・CRT
7・・・・・・プリンタ制御タスク
8・・・・・・プリンタ
9・・・・・・電文FIG. 1 is a configuration diagram showing an embodiment of a data terminal device to which the task management method of the present invention is applied, FIG. 2 is a diagram showing the format of a message sent and received by the present invention, and FIG. 3 is a diagram showing a conventional data terminal device. FIG. 3 is a diagram showing the interrelationship of tasks in a terminal device. In the figure, l...Communication path 2...Operating system 3...
・Line control task 4...LU management task 5...CRT system? 1 Task 6...CRT 7...Printer control task 8...Printer 9...Telegram
Claims (1)
タスク管理方式において、 固有の論理ユニット番号を有し、相手タスクおよび自タ
スクの論理ユニット番号、相手タスクの存在するデータ
端末装置のアドレス、ならびにデータを含んだ電文によ
りタスク間通信もしくは端末間通信を行う複数のタスク
と、 前記タスクもしくは前記通信路から電文を受けて相手タ
スクに電文を渡すLU管理タスクとを備えたことを特徴
とするタスク管理方式。[Claims] In a task management method in a data terminal device connected to another via a communication path, the task has a unique logical unit number, the logical unit numbers of the other task and its own task, and the data in which the other task exists. A plurality of tasks that perform inter-task communication or inter-terminal communication using messages containing terminal device addresses and data, and an LU management task that receives messages from the tasks or the communication path and passes the messages to the other task. A task management method characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1118896A JP2513029B2 (en) | 1989-05-12 | 1989-05-12 | Task management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1118896A JP2513029B2 (en) | 1989-05-12 | 1989-05-12 | Task management method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02297633A true JPH02297633A (en) | 1990-12-10 |
JP2513029B2 JP2513029B2 (en) | 1996-07-03 |
Family
ID=14747845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1118896A Expired - Lifetime JP2513029B2 (en) | 1989-05-12 | 1989-05-12 | Task management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2513029B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06290060A (en) * | 1993-04-06 | 1994-10-18 | Honda Motor Co Ltd | Multitask control system |
JPH06348512A (en) * | 1993-04-30 | 1994-12-22 | Internatl Business Mach Corp <Ibm> | Resource-control computer system |
JPH07295839A (en) * | 1994-04-26 | 1995-11-10 | Nec Corp | Inter-task communication system |
JPH08161186A (en) * | 1994-12-09 | 1996-06-21 | Nec Corp | Inter-task communication system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6272040A (en) * | 1985-09-26 | 1987-04-02 | Fujitsu Ltd | Information tracing system |
JPS63173136A (en) * | 1987-01-12 | 1988-07-16 | Alps Electric Co Ltd | Inter-task communication system |
-
1989
- 1989-05-12 JP JP1118896A patent/JP2513029B2/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6272040A (en) * | 1985-09-26 | 1987-04-02 | Fujitsu Ltd | Information tracing system |
JPS63173136A (en) * | 1987-01-12 | 1988-07-16 | Alps Electric Co Ltd | Inter-task communication system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06290060A (en) * | 1993-04-06 | 1994-10-18 | Honda Motor Co Ltd | Multitask control system |
US5621672A (en) * | 1993-04-06 | 1997-04-15 | Honda Giken Kogyo Kabushiki Kaisha | Multitask control system |
JPH06348512A (en) * | 1993-04-30 | 1994-12-22 | Internatl Business Mach Corp <Ibm> | Resource-control computer system |
JPH07295839A (en) * | 1994-04-26 | 1995-11-10 | Nec Corp | Inter-task communication system |
JPH08161186A (en) * | 1994-12-09 | 1996-06-21 | Nec Corp | Inter-task communication system |
Also Published As
Publication number | Publication date |
---|---|
JP2513029B2 (en) | 1996-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02297633A (en) | Task managing system | |
JP3494545B2 (en) | Distributed computer system, computer and distributed processing method | |
JPH04362783A (en) | Cad system having simultaneous concurrent processing function at plural terminals | |
JPS61188653A (en) | Down load control system | |
JPS62100854A (en) | Communication system between host and terminal | |
JPS6377685A (en) | Industrial robot system | |
JPH03282746A (en) | Master file updating system for distributed computers | |
JP3697467B2 (en) | Switch object update system | |
JPS6255704A (en) | Decentralized control system | |
JPS6285359A (en) | Terminal equipment | |
KR100217422B1 (en) | Method for generating data base in exchange | |
JPH08161186A (en) | Inter-task communication system | |
JPS61102846A (en) | Communication representation system for failured terminal unit | |
JPH05181733A (en) | File control system | |
JPS62192827A (en) | File transmitting system | |
JPS62123549A (en) | Data storing system | |
JPS63181062A (en) | Dynamical changing system for constitution of connection terminal of on-line information processing program | |
JPS63148338A (en) | Program information tracing system | |
JPH01156855A (en) | Program correction system | |
JPS6126140A (en) | Data exchange system | |
JPH025166A (en) | Program substitution system | |
JPH029292A (en) | Electronic exchange system | |
JPS63301345A (en) | Communication controller | |
JPH03134758A (en) | Decentralized processing system | |
JPH04147185A (en) | Information control system of large-sized display device |