JPH0772867B2 - Task control method - Google Patents

Task control method

Info

Publication number
JPH0772867B2
JPH0772867B2 JP60092499A JP9249985A JPH0772867B2 JP H0772867 B2 JPH0772867 B2 JP H0772867B2 JP 60092499 A JP60092499 A JP 60092499A JP 9249985 A JP9249985 A JP 9249985A JP H0772867 B2 JPH0772867 B2 JP H0772867B2
Authority
JP
Japan
Prior art keywords
basic system
basic
tasks
systems
storage unit
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 - Lifetime
Application number
JP60092499A
Other languages
Japanese (ja)
Other versions
JPS61250741A (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.)
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 JP60092499A priority Critical patent/JPH0772867B2/en
Publication of JPS61250741A publication Critical patent/JPS61250741A/en
Publication of JPH0772867B2 publication Critical patent/JPH0772867B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 異なる基本システムを選択して動作させるタスク制御方
式であって、複数の基本システムから基本システムを選
択する選択手段と、各タスクの動作に必要な基本システ
ムを指定する指定フラグを備えて、選択手段によって指
定フラグを参照して基本システムを選択指定することに
より、異なる基本システムの動作を可能とする。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A task control method for selecting and operating different basic systems, including a selecting means for selecting a basic system from a plurality of basic systems and a basic system necessary for the operation of each task. By providing a designation flag for designating, and selecting and designating the basic system by referring to the designation flag by the selection means, it is possible to operate different basic systems.

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

本発明は、ROMに基本システムが格納されている装置に
係り、特に複数の基本システムより各タスクの動作に必
要な基本システムを選択して動作させることができるタ
スク制御方式に関するものである。
The present invention relates to an apparatus in which a basic system is stored in a ROM, and more particularly to a task control system capable of selecting and operating a basic system required for the operation of each task from a plurality of basic systems.

ROMに基本システムが格納されている装置で異なる基本
システム,或いは旧システムをROM,及びタスクの交換等
を行わないで動作させることができる方法が望まれてい
る。
There is a demand for a method capable of operating a different basic system or an old system in a device in which the basic system is stored in ROM without exchanging ROM and tasks.

〔従来の技術〕[Conventional technology]

第4図に従来例としてROMに基本システムが格納されて
いる装置1のブロック図を示す。
FIG. 4 shows a block diagram of a device 1 in which a basic system is stored in a ROM as a conventional example.

図において、2aはROMで、基本システムAが格納されて
いる。4a,4bはRAMで、基本システムAに使用されるタス
クA1,A2が格納されている。5a,5bはRAMで、基本システ
ムAに使用されるルーチンa1,a2が格納されている。
In the figure, 2a is a ROM in which the basic system A is stored. RAMs 4a and 4b store tasks A 1 and A 2 used in the basic system A. RAMs 5a and 5b store routines a 1 and a 2 used in the basic system A.

従って基本システムAはタスタA1,A2,及びルーチンa1,a
2によって動作して機能を遂行する。
Therefore, the basic system A includes the testers A 1 , A 2 , and the routines a 1 , a
Operates according to 2 to perform a function.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記従来方法によれば、特定の基本システム向けに開発
されたタスクは、異なる基本システムの下では動作不可
能である為、各基本システム毎に同様の機能を持つタス
クを開発しなければならない。また異なる基本システム
が基本システムAを包含していても、初期プログラムロ
ード(Initial Program Load:以下IPLという)方式,及
び割込受付処理等タスクと無関係な部分で差があると、
両システムのタスクを共存させることは不可能であると
いう問題点がある。
According to the above-mentioned conventional method, a task developed for a specific basic system cannot operate under a different basic system. Therefore, a task having the same function must be developed for each basic system. Even if a different basic system includes the basic system A, if there is a difference in the part unrelated to the task such as the initial program load (hereinafter referred to as IPL) method and the interrupt acceptance processing,
There is a problem that the tasks of both systems cannot coexist.

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

第1図に本発明の原理図を示す。 FIG. 1 shows the principle of the present invention.

図において、7は指定フラグ、 3はタスクの動作に必要な基本システムを指定する指定
フラグ7を記憶する第1の記憶部、 2は複数の基本システムを記憶し、指定フラグ7に指定
された基本システムを選択して、その基本システム及び
その基本システムの配下のタスクに一括して切り換える
選択手段6を記憶する第2の記憶部である。
In the figure, 7 is a designated flag, 3 is a first storage unit that stores a designated flag 7 that designates a basic system required for task operation, 2 is a plurality of basic systems that are designated and designated by the designated flag 7. The second storage unit stores a selection unit 6 that selects a basic system and collectively switches to the basic system and tasks under the basic system.

従って、複数の基本システムの何れかを使用する時に、
選択手段6により第1の記憶部3の指定フラグ7を参照
して指定フラグ7の指定に基づいて第2の記憶部2より
基本システムを選択し、その基本システム及びその基本
システムの配下のタスクに一括して切り換えて処理を遂
行するように構成されている。
Therefore, when using any of several basic systems,
The selection means 6 refers to the designation flag 7 of the first storage unit 3 to select the basic system from the second storage unit 2 based on the designation of the designation flag 7, and the basic system and the tasks under the basic system. It is configured to perform the processing by collectively switching to.

〔作用〕[Action]

複数の基本システムの何れかを使用する時に、選択手段
6は第1の記憶部3の指定フラグ7を参照し、指定フラ
グ7の指定に基づいて第2の記憶部2より基本システム
を選択し、その基本システム及びその基本システムの配
下のタスクに一括して切り換えて処理を指示することに
より、異なる基本システムをROMの交換,及びタスクの
新たな作成なしに使用することができる。また同様の機
能を持つタスクを二重に開発する必要がなくなる。
When using any of the plurality of basic systems, the selection means 6 refers to the designation flag 7 of the first storage unit 3 and selects the basic system from the second storage unit 2 based on the designation of the designation flag 7. By collectively switching to the basic system and the tasks under the basic system and instructing the processing, different basic systems can be used without exchanging the ROM and creating a new task. It also eliminates the need to develop tasks with similar functions twice.

〔実施例〕〔Example〕

以下、本発明の一実施例を第2図のブロック図を参照し
て説明する。第1図及び第4図と同一符号は同一対象物
を示す。第2図で第1図に対応するものは1点鎖線で囲
んで示している。
An embodiment of the present invention will be described below with reference to the block diagram of FIG. The same reference numerals as those in FIGS. 1 and 4 denote the same objects. In FIG. 2, the ones corresponding to those in FIG. 1 are shown surrounded by a one-dot chain line.

図において、装置laは、ROM2b,RAM3a,4a〜4d,5a〜5dを
備えている。
In the figure, the device la includes a ROM 2b, a RAM 3a, 4a to 4d, and 5a to 5d.

ROM2bには基本システムA,B,及び基本システム選択部6a
が格納されている。
ROM2b has basic systems A and B, and a basic system selector 6a.
Is stored.

RAM3aには予め指定入力された指示7aが格納されてい
る。
The instruction 7a designated and input in advance is stored in the RAM 3a.

RAM4a〜4dには基本システムAの配下のタスクA1,A2及び
基本システムBの配下タスクB1,B2が格納されている。
The RAMs 4a to 4d store tasks A 1 and A 2 under the basic system A and tasks B 1 and B 2 under the basic system B.

RAM5a〜5dには基本システムAに使用されるルーチンa1,
a2び基本システムBに使用されるルーチンb1,b2が格納
されている。
The RAMs 5a to 5d include routines a 1 ,
The routines a 1 and b 2 used in a 2 and the basic system B are stored.

基本システム選択部6aは、タスクA1,A2,B1,B2に無関係
な起動,割込等の処理を一括して受付け、指示フラグ7a
を参照して、指定された基本システムを選択し、選択さ
れた基本システム及びその基本システムの配下のタスク
に一括して切り換える。
The basic system selection unit 6a collectively accepts processes such as start-up, interrupts, etc. that are unrelated to the tasks A 1 , A 2 , B 1 , and B 2 , and the instruction flag 7a
The selected basic system is selected with reference to, and the selected basic system and the tasks under the basic system are collectively switched.

指示フラグ7aは、タスクA1,A2,B1,B2の夫々の動作に必
要な基本システムA,Bを指定する。
The instruction flag 7a specifies the basic systems A and B required for the respective operations of the tasks A 1 , A 2 , B 1 and B 2 .

このような構成及び機能を有するので、IPLや割込受付
処理等の動作を行う時は、基本システム選択部6aは指示
フラグ7aを参照して、指定された基本システムA,Bの何
れかを選択し、選択された基本システム及びその基本シ
ステムの配下のタスクに一括して切り換える。
Since it has such a configuration and functions, when performing operations such as IPL and interrupt acceptance processing, the basic system selection unit 6a refers to the instruction flag 7a, and selects one of the designated basic systems A and B. Select and switch collectively to the selected basic system and the tasks under the basic system.

このようにして、異なる基本システムをROMの交換,及
びタスクの新たな作成なしに使用することができる。
In this way, different basic systems can be used without ROM replacement and new task creation.

また第3図に異なる実施例を示す。第3図が第2図で説
明した実施例と異なるのは、例えば基本システムDが基
本システムCのタスクサービス機能を包含する場合で、
双方のタスクを夫々備える必要がなく、基本システムC
のタスクを基本システムDのタスクとしても使用するこ
とができることである。
A different embodiment is shown in FIG. 3 is different from the embodiment described in FIG. 2 in the case where the basic system D includes the task service function of the basic system C, for example.
It is not necessary to have both tasks, and the basic system C
It is also possible to use the task of as a task of the basic system D.

図において、装置1bはROM2c,及びRAM3a,4e〜4h,5e〜5h
を備えている。ROM2cには基本システムC,D,及び基本シ
ステム選択部6bが格納されている。RAM4e〜4hには基本
システムC,及び基本システムDの夫々の配下として共通
に使用されるタスクC1,C2と基本システムDの配下とし
て専用に使用されるタスクD1,D2が格納されている。
In the figure, the device 1b is a ROM 2c, and RAM 3a, 4e ~ 4h, 5e ~ 5h
Is equipped with. The ROM 2c stores basic systems C and D and a basic system selection unit 6b. The RAMs 4e to 4h store the tasks C 1 and C 2 commonly used as subordinates of the basic system C and the basic system D, and the tasks D 1 and D 2 exclusively used as subordinates of the basic system D. ing.

RAM5e〜5hには基本システムCに使用されるルーチンc1,
c2,及び基本システムDに使用されるルーチンd1,d2が格
納されている。
The RAMs 5e to 5h have routines c 1 ,
c 2 and routines d 1 and d 2 used in the basic system D are stored.

基本システム選択部6bは、タスクC1,C2,D1,D2に無関係
な起動,割込等の処理を一括して受付け、指示フラグ7b
を参照して、指定された基本システムを選択し、選択さ
れた基本システム及びその基本システムの配下のタスク
に一括して切り換えて処理を指示する。
The basic system selection unit 6b collectively accepts processes such as activation and interrupts unrelated to the tasks C 1 , C 2 , D 1 , and D 2 , and issues an instruction flag 7b.
The selected basic system is selected, and the selected basic system and the tasks under the basic system are collectively switched to instruct the processing.

指示フラグ7bは、タスクc1,c2,D1,D2の夫々の動作に必
要な基本システムC,Dを指定する。
The instruction flag 7b specifies the basic systems C and D necessary for the respective operations of the tasks c 1 , c 2 , D 1 and D 2 .

このような構成及び機能を有するので、IPLや割込受付
処理等の動作を行う時は、基本システム選択部6bは指示
フラグ7bを参照して、指定された基本システムC,Dの何
れかを選択し、選択された基本システム及びその基本シ
ステムの配下のタスクに一括して切り換えることができ
る。
Since it has such a configuration and functions, when performing operations such as IPL and interrupt acceptance processing, the basic system selection unit 6b refers to the instruction flag 7b and selects one of the designated basic systems C and D. It is possible to select and switch to the selected basic system and tasks under the basic system at once.

このようにして、基本システムDが基本システムCを包
含している場合に、ROMの交換,及びタスクの新たな作
成なしにタスクc1,c2を共用することができるので、同
様の機能を持つタスクを二重に開発する必要がなく、し
かもメモリを節約することができる。
In this way, when the basic system D includes the basic system C, the tasks c 1 and c 2 can be shared without exchanging the ROM and creating a new task. You don't have to develop your own tasks twice, and you can save memory.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、 異なる基本システムをROMの交換,及びタスクの新た
な作成をしないで使用することができる。
As described above, according to the present invention, a different basic system can be used without replacing the ROM and newly creating a task.

同様の機能を持つタスクを二重に開発する必要がなく
なる。
Eliminates the need to duplicate tasks with similar functions.

という効果がある。There is an effect.

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

第1図は本発明の原理ブロック図、 第2図は本発明による実施例を示すブロック図、 第3図は本発明の異なる実施例を示すブロック図、 第4図は従来例を示すブロック図である。 図において、 2は第2の記憶部、2a〜2cはROM、 3は第1の記憶部、 3a,3b,4a〜4d,5a〜5dはRAM、 6は選択手段、 6a,6bは基本システム選択部、 7は指定フラグ、7a,7bは指示フラグ、A〜Dは基本シ
ステム、A1〜D1,A2〜D2はタスク、 a1〜d1,a2〜d2はルーチンを示す。
1 is a block diagram showing the principle of the present invention, FIG. 2 is a block diagram showing an embodiment according to the present invention, FIG. 3 is a block diagram showing a different embodiment of the present invention, and FIG. 4 is a block diagram showing a conventional example. Is. In the figure, 2 is a second storage unit, 2a to 2c are ROMs, 3 is a first storage unit, 3a, 3b, 4a to 4d, 5a to 5d are RAMs, 6 is selection means, 6a and 6b are basic systems. Selector, 7 is a designation flag, 7a and 7b are instruction flags, A to D are basic systems, A 1 to D 1 , A 2 to D 2 are tasks, and a 1 to d 1 and a 2 to d 2 are routines. Show.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の基本システム及び夫々の基本システ
ムの配下に独立してタスクが存在し、該タスクが該基本
システムを使用して処理を遂行する装置において、 前記タスクの動作に必要な基本システムを指定する指定
フラグを記憶する第1の記憶部と、 前記複数の基本システムを記憶し、該指定フラグに指定
された基本システムを選択して、該基本システム及び該
基本システムの配下のタスクに一括して切り換えて処理
を指示する選択手段を記憶する第2の記憶部とを備え、 該複数の基本システムの何れかを使用する時に、前記選
択手段により該第1の記憶部の指定フラグを参照して該
指定フラグの指定に基づいて該第2の記憶部より基本シ
ステムを選択し、該基本システム及び該基本システムの
配下のタスクに一括して切り換えて処理を遂行すること
を特徴とするタスク制御方式。
1. In a device in which a plurality of basic systems and tasks are independently present under each of the basic systems, and the tasks perform processing by using the basic systems, a basic system required for the operation of the tasks is provided. A first storage unit that stores a designated flag that designates a system; and a basic system that stores the plurality of basic systems, selects the basic system designated by the designated flags, and tasks under the basic system And a second storage unit for storing a selection unit for instructing the processing by collectively switching to, and when any one of the plurality of basic systems is used, the selection unit specifies the designation flag of the first storage unit. , A basic system is selected from the second storage unit based on the designation of the designation flag, and the basic system and the tasks under the basic system are collectively switched and processed. Task control method, characterized in that to perform.
JP60092499A 1985-04-30 1985-04-30 Task control method Expired - Lifetime JPH0772867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60092499A JPH0772867B2 (en) 1985-04-30 1985-04-30 Task control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60092499A JPH0772867B2 (en) 1985-04-30 1985-04-30 Task control method

Publications (2)

Publication Number Publication Date
JPS61250741A JPS61250741A (en) 1986-11-07
JPH0772867B2 true JPH0772867B2 (en) 1995-08-02

Family

ID=14055993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60092499A Expired - Lifetime JPH0772867B2 (en) 1985-04-30 1985-04-30 Task control method

Country Status (1)

Country Link
JP (1) JPH0772867B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63150736A (en) * 1986-12-16 1988-06-23 Nec Corp Instantaneous os changeover system for computer system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6037938B2 (en) * 1980-12-29 1985-08-29 富士通株式会社 information processing equipment
JPS58205259A (en) * 1982-05-25 1983-11-30 Taiko Denki Seisakusho:Kk Computer system incorporated with plural oss in one auxiliary storage device

Also Published As

Publication number Publication date
JPS61250741A (en) 1986-11-07

Similar Documents

Publication Publication Date Title
JPH0772867B2 (en) Task control method
JPH0452975B2 (en)
JPH0452974B2 (en)
EP0923010A2 (en) Programmable controller
JPH07248933A (en) Hot standby system switching system
JP2792772B2 (en) Programmable controller and sequence program monitoring method thereof
JPH023828A (en) Computer network system
JPH03282828A (en) Input/output device switching system
JPH0460843A (en) Task scheduling system for multiprocessor system
JPS63293631A (en) Screen division controller
JPS62231360A (en) Ipl control system
JP2666667B2 (en) Multitask execution device
JP2570301B2 (en) Information processing device
JPH02300801A (en) Numerical controller
JPH05210643A (en) Distributed information processing system
JPH0223434A (en) Multi-task tracing system
JP2575945B2 (en) Space management method
JPS6365558A (en) Message outputting system for loose coupling multi-processor system
JPS63271538A (en) Automatic job operation control system for loosely coupled multiplex system
JPH01161444A (en) Virtual machine system
JPH10240316A (en) Programmable controller
JPS59106040A (en) Display terminal device
JPS63317807A (en) Program dividing device
JPS63244234A (en) Job execution control system
JPH03250334A (en) Data processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term