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
JP2590872B2 - Task scheduling method - Google Patents
[go: Go Back, main page]

JP2590872B2 - Task scheduling method - Google Patents

Task scheduling method

Info

Publication number
JP2590872B2
JP2590872B2 JP62095624A JP9562487A JP2590872B2 JP 2590872 B2 JP2590872 B2 JP 2590872B2 JP 62095624 A JP62095624 A JP 62095624A JP 9562487 A JP9562487 A JP 9562487A JP 2590872 B2 JP2590872 B2 JP 2590872B2
Authority
JP
Japan
Prior art keywords
task
scheduler
under
tasks
control
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
JP62095624A
Other languages
Japanese (ja)
Other versions
JPS63261433A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62095624A priority Critical patent/JP2590872B2/en
Publication of JPS63261433A publication Critical patent/JPS63261433A/en
Application granted granted Critical
Publication of JP2590872B2 publication Critical patent/JP2590872B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は1つの中央処理装置内で複数のOSが並行稼動
するという動作環境におけるタスクスケジュール方法に
関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a task scheduling method in an operating environment in which a plurality of OSs operate in parallel in one central processing unit.

従来の技術 オペレーティングシステム(以下OSと記す)の制御単
位にタスクあるいはプロセスがあり、従来のタスクスケ
ジューラでは1つのタスクは1つのOSの下で制御されて
いる。以下、第4図、第5図を参照して従来のタスクス
ケジューラについて説明する。
2. Description of the Related Art A task or a process is a control unit of an operating system (hereinafter referred to as an OS). In a conventional task scheduler, one task is controlled under one OS. Hereinafter, a conventional task scheduler will be described with reference to FIG. 4 and FIG.

第4図において、14は従来のシステムで稼動するOS、
15はこのOS14の管理におけるスケジューラ、16〜18はこ
のスケジューラ15により制御されるタスクである。
In FIG. 4, reference numeral 14 denotes an OS running on a conventional system,
Reference numeral 15 denotes a scheduler for managing the OS 14, and reference numerals 16 to 18 denote tasks controlled by the scheduler 15.

以上のような構成において、タスク16〜18は唯一のOS
14とスケジューラ15により管理され、動作している。
In the above configuration, tasks 16 to 18 are the only OS
It is managed and operated by 14 and scheduler 15.

第5図は、複数のOSが並行動作する場合の従来例であ
る。第5図において、19は並行動作する1つのOSであ
り、20はこのOS19の下でのスケジューラ、21は並行動作
する他方のOSであり、22はこのOS21の下でのスケジュー
ラ、23〜25はOS21の下で制御されるタスク、26〜28はOS
19の下で制御されるタスクである。
FIG. 5 shows a conventional example in which a plurality of OSs operate in parallel. In FIG. 5, reference numeral 19 denotes one OS that operates in parallel, 20 denotes a scheduler under this OS 19, 21 denotes the other OS that operates in parallel, 22 denotes a scheduler under this OS 21, 23 to 25 Is a task controlled under OS21, 26-28 is an OS
It is a task controlled under 19.

以上のような第5図の構成において、OS21、スケジュ
ーラ22、及びタスク23〜25は、OS19の1つのタスク#1
26として動作している。タスク#2 27および#n 28もタ
スク#1 26と同様の構成をしている。
In the configuration shown in FIG. 5, the OS 21, the scheduler 22, and the tasks 23 to 25 are one task # 1 of the OS 19
Running as 26. Tasks # 2 27 and #n 28 have the same configuration as task # 126.

発明が解決しようとする問題点 第4図に示す従来例では、1つの中央処理装置におい
て、他のOSが並行動作はできない。
Problems to be Solved by the Invention In the conventional example shown in FIG. 4, in one central processing unit, another OS cannot operate in parallel.

第5図に示す従来例では複数のOSの並行動作は可能と
なるがOS21及びそのタスク23〜25はOS19の1つのタスク
として動作し、2つのスケジューラ20、22は相互に関係
なく独立に動作している。ここでタスク23〜25がOS19の
下の待ち状態になった場合に、OS及びこれらのタスク23
〜25はすべてOS19の下の待ち状態となり、OS21の各タス
ク23〜25の効率的な動作が妨げられる。
In the conventional example shown in FIG. 5, a plurality of OSs can be operated in parallel, but the OS 21 and its tasks 23 to 25 operate as one task of the OS 19, and the two schedulers 20, 22 operate independently independently of each other. doing. Here, when tasks 23 to 25 enter a wait state under OS 19, the OS and these tasks 23
25 are all in a waiting state under the OS 19, which hinders the efficient operation of the tasks 23 to 25 of the OS 21.

本発明は従来技術の以上のような問題点を解決するも
ので、1つの中央処理装置内で複数のOSの動作を可能に
し、かつ複数のOS下のタスクの動作の効率化を図ること
を目的とするものである。
The present invention solves the above-mentioned problems of the prior art, and enables the operation of a plurality of OSs in one central processing unit and improves the efficiency of the operation of tasks under the plurality of OSs. It is the purpose.

問題点を解決するための手段 上記目的を達成するために、本発明は複数のOSと、そ
れぞれのOSが有するスケジューラとを備え、タスクが各
スケジューラにより独立に制御されるようにしたもので
ある。
Means for Solving the Problems In order to achieve the above object, the present invention includes a plurality of OSs and a scheduler included in each OS, and a task is independently controlled by each scheduler. .

作用 上記構成において、1つのOSの制御の下で複数のタス
クが動作した後に、各タスクの内部で自分自身を他方の
OSに対するタスクとしてタスク生成することにより、複
数のOSの制御の下にタスクを動作させることができる。
Operation In the above configuration, after a plurality of tasks operate under the control of one OS, each task internally sets itself to the other.
By generating a task as a task for the OS, the task can be operated under the control of a plurality of OSs.

実施例 以下本発明の実施例について、図面とともに詳細に説
明する。
Examples Hereinafter, examples of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の基本構成を示す機能ブロック図で
あり、1、7で示す複数のOSと、それぞれのOS1、7が
有するスケジューラ2、6が並行動作する中央処理装置
において、タスク3〜5が、異なるスケジューラ2、6
により独立に制御され、動作する。ここでタスク3〜5
はスケジューラ2の制御下のタスクであり、同時にスケ
ジューラ6の制御下のタスクでもあって、OS1及びOS7の
両方のOSのシステム機能を使用できる。
FIG. 1 is a functional block diagram showing the basic configuration of the present invention. -5 are different schedulers 2, 6
Is independently controlled and operated. Here tasks 3-5
Is a task under the control of the scheduler 2 and is also a task under the control of the scheduler 6, and can use the system functions of both OS1 and OS7.

つぎに、本発明の動作を第1図及び第2図を用いて説
明する。タスク3〜5はOS1の制御の下のタスクとして
生成され、各タスク3〜5が起動する。起動された各タ
スク3〜5はOS1のスケジューラ2により制御され動作
するが、各タスクに自分自身のメモリ領域、開始アドレ
ス等をOS7に知らせ、OS7のタスクとして自分自身を生成
するコマンドを設けておくことにより、各タスク3〜5
はその動作中にOS7の制御の下のタスクとしても生成起
動され、OS7のスケジューラ6の制御の下でも動作す
る。この結果、OS1、OS7の双方のOSによりタスク3〜5
は動作する。
Next, the operation of the present invention will be described with reference to FIGS. Tasks 3 to 5 are generated as tasks under the control of OS1, and each task 3 to 5 is activated. Each of the activated tasks 3 to 5 is controlled and operated by the scheduler 2 of the OS1, but each task is provided with a command for notifying the OS7 of its own memory area, start address, etc., and generating itself as a task of the OS7. By placing, each task 3-5
Is generated and activated as a task under the control of the OS 7 during its operation, and operates under the control of the scheduler 6 of the OS 7. As a result, tasks 3 to 5 are performed by both OS1 and OS7.
Works.

第3図に本発明の具体的実施例を示す。第3図におい
て、8は汎用事務処理向きのOS、9はこのOS8のスケジ
ューラ、10はデータ入出力処理用タスク、11は事務処理
タスク、12はリアルタイム処理向きOS13のスケジューラ
である。
FIG. 3 shows a specific embodiment of the present invention. In FIG. 3, 8 is an OS for general-purpose business processing, 9 is a scheduler of this OS 8, 10 is a data input / output processing task, 11 is a business processing task, and 12 is a scheduler of an OS 13 for real-time processing.

以上のような構成において、以下その動作を説明す
る。各タスク10、11は初期起動時に汎用事務処理向きOS
8のタスクとして登録され、スケジューラ9の下で動作
する。
The operation of the above configuration will be described below. Tasks 10 and 11 are OS for general-purpose business processing at initial startup
It is registered as a task 8 and operates under the scheduler 9.

次に各タスク10、11の内部で、リアルタイム処理向き
OS13のタスクとしての登録処理が行われ、スケジューラ
12の下で、リアルタイム処理向きOS13のタスクとして動
作する。
Next, inside each task 10, 11, for real-time processing
Registration processing as a task of OS13 is performed, and the scheduler
Under 12, it operates as a task of OS13 for real-time processing.

タスク10は高速なアクセスを必要とするデータ入出力
処理タスクであり、主としてリアルタイム処理向きOS13
の制御下で動作し、事務処理タスク11は主として汎用事
務処理向きOS8の制御下で動作しており、双方のOS8、11
の特徴あるスケジューラ機能を利用して動作する。
Task 10 is a data input / output processing task that requires high-speed access.
Under the control of OS8, office work task 11 mainly operates under the control of OS8 for general-purpose office work.
It operates using the characteristic scheduler function.

なお、各OSは、例えば一定時間毎に、または他方を割
り込み処理として相互の動作を切り換え、また、各スケ
ジューラは互いに連絡を取ることなく非同期に動作し、
タスク間のデータ渡しはアプリケーションに依存して、
例えばメモリを介して行われる。
In addition, each OS switches mutual operations, for example, at regular time intervals or the other interrupt processing, and each scheduler operates asynchronously without contacting each other,
Data passing between tasks depends on the application,
For example, it is performed via a memory.

発明の効果 以上のように本発明は、異なる複数のOSの並行稼動を
可能に、1つのタスクを複数のOSのスケジューラ管理の
下で動作させることにより、リアルタイム制御から事務
用途までの巾広い応用分野に適用できるという利点を有
し、その効果は大きい。
Effects of the Invention As described above, the present invention enables a wide range of applications from real-time control to office use by enabling a plurality of different OSs to operate in parallel and allowing one task to operate under the scheduler management of a plurality of OSs. It has the advantage of being applicable to the field, and its effect is great.

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

第1図は本発明によるタスクスケジューラの基本構成を
示すブロック図、第2図は、第1図のブロック図の処理
の流れを示す流れ図、第3図は本発明によるタスクスケ
ジューラの実施例におけるブロック図、第4図及び第5
図は各々従来のタスクスケジューラのブロック図であ
る。 1、7……OS、2、6、9、12……スケジューラ、3〜
5……タスク、8……汎用事務処理向きOS、10……デー
タ入出力処理タスク、11……事務処理タスク、13……リ
アルタイム処理向きOS。
FIG. 1 is a block diagram showing a basic configuration of a task scheduler according to the present invention, FIG. 2 is a flowchart showing a processing flow of the block diagram of FIG. 1, and FIG. 3 is a block diagram in an embodiment of the task scheduler according to the present invention. Figures, 4 and 5
The figures are block diagrams of a conventional task scheduler. 1,7 ... OS, 2,6,9,12 ... scheduler, 3 ~
5: Task, 8: OS for general-purpose business processing, 10: Data input / output processing task, 11: Business processing task, 13: OS for real-time processing.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】1つのオペレーティングシステムの制御の
下で複数のタスクを起動した後、各タスクの内部で当該
タスクを他のオペレーティングシステムに対してタスク
生成することにより、それぞれのタスクを、独立した複
数のオペレーティングシステムのスケジューラーによる
非同期の制御の下に動作させることを特徴とするタスク
スケジュール方法。
After a plurality of tasks are started under the control of one operating system, each task is generated inside another task for another operating system, so that each task can be executed independently. A task scheduling method characterized by operating under the asynchronous control of schedulers of a plurality of operating systems.
JP62095624A 1987-04-17 1987-04-17 Task scheduling method Expired - Fee Related JP2590872B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62095624A JP2590872B2 (en) 1987-04-17 1987-04-17 Task scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62095624A JP2590872B2 (en) 1987-04-17 1987-04-17 Task scheduling method

Publications (2)

Publication Number Publication Date
JPS63261433A JPS63261433A (en) 1988-10-28
JP2590872B2 true JP2590872B2 (en) 1997-03-12

Family

ID=14142683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62095624A Expired - Fee Related JP2590872B2 (en) 1987-04-17 1987-04-17 Task scheduling method

Country Status (1)

Country Link
JP (1) JP2590872B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001117786A (en) 1999-10-19 2001-04-27 Nec Corp Process scheduling device and process scheduling method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58181149A (en) * 1982-04-16 1983-10-22 Hitachi Ltd Controlling system of computer system
JP2590860B2 (en) * 1987-02-16 1997-03-12 日本電気株式会社 Various operating system registration methods

Also Published As

Publication number Publication date
JPS63261433A (en) 1988-10-28

Similar Documents

Publication Publication Date Title
JP3832517B2 (en) Robot controller and control method thereof
CN111158855B (en) Lightweight virtual clipping method based on micro-container and cloud function
CN114816694A (en) A multi-process collaborative RPA task scheduling method and device
JP2590872B2 (en) Task scheduling method
WO2025051231A1 (en) Medical robot image algorithm deployment method and apparatus, medical robot image algorithm scheduling method and apparatus, and system
CN107479945B (en) Virtual machine resource scheduling method and device
JP2001318903A (en) Computer arithmetic processing system and computer arithmetic processing method to be executed by the system
JPS583177A (en) Data processing system
JPH01195562A (en) Control system for allocation of input/output device
JPS59188749A (en) System for controlling data transfer
CN116126499A (en) Distributed process scheduling parallel processing device and method
JPS61145674A (en) Object parallel processing system
JPH1153327A (en) Multiprocessor system
JPS6154542A (en) Task control system
JPH06332724A (en) Mounting system and execution muliplicity control system and execution priority control system for logical unit for object directing type system
JPS6049464A (en) Inter-processor communication system of multi-processor computer
JPH0126093B2 (en)
JPS62140145A (en) Virtual computer system
JPH01292536A (en) Emulator for dealing with plural operation systems
JPH0922363A (en) Task constituting system
JPH02127732A (en) Job control system
JPS56153470A (en) Multiple computer system
JPH07319833A (en) Remote command system
JPH03123954A (en) Online system
JPH0471045A (en) Memory control system

Legal Events

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