JP3953449B2 - タスク管理プログラムおよびタスク制御装置 - Google Patents
タスク管理プログラムおよびタスク制御装置 Download PDFInfo
- Publication number
- JP3953449B2 JP3953449B2 JP2003301573A JP2003301573A JP3953449B2 JP 3953449 B2 JP3953449 B2 JP 3953449B2 JP 2003301573 A JP2003301573 A JP 2003301573A JP 2003301573 A JP2003301573 A JP 2003301573A JP 3953449 B2 JP3953449 B2 JP 3953449B2
- Authority
- JP
- Japan
- Prior art keywords
- task
- general
- priority
- processing
- operating system
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Description
前記オペレーティングシステムの制御下で実行される処理の中にアイドルプロセス処理以外に実行する処理があるか否かを判定する処理有無判定手順と、
前記処理有無判定手順がアイドルプロセス処理以外に実行する処理があると判定した場合に、前記オペレーティングシステムの優先度を高くする高優先度設定手順と
をコンピュータに実行させることを特徴とするタスク管理プログラム。
前記オペレーティングシステムに対するスケジュール要求があるか否かを判定するスケジュール要求有無判定手順と、
前記オペレーティングシステムに対する割込み処理要求があるか否かを判定する割込み有無判定手順と
をコンピュータに実行させることを特徴とする付記1または2に記載のタスク管理プログラム。
前記オペレーティングシステムの制御下で実行される処理の中にアイドルプロセス処理以外に実行する処理があるか否かを判定する処理有無判定手段と、
前記処理有無判定手段がアイドルプロセス処理以外に実行する処理があると判定した場合に、前記オペレーティングシステムの優先度を高くする高優先度設定手段と
を備えたことを特徴とするタスク制御装置。
前記オペレーティングシステムの制御下で実行される処理の中にアイドルプロセス処理以外に実行する処理があるか否かを判定する処理有無判定工程と、
前記処理有無判定工程がアイドルプロセス処理以外に実行する処理があると判定した場合に、前記オペレーティングシステムの優先度を高くする高優先度設定工程と
を含んだことを特徴とするタスク制御方法。
100 割込みハンドラ
110 リアルタイムOS処理向け割込みハンドラ
120 汎用OS処理向け割込みハンドラ
130 タイマ割込みハンドラ
200 リアルタイムOS
210 システムパラメータ記憶部
220 TCBリスト
230 スケジューラ
240 システムコール処理部
300 汎用OS
310 PCBリスト
320 割込み処理要求フラグ
330 汎用OSスケジューラ
400 汎用OSタスク
401 均衡化優先度
402 均衡化実行時間
403 持続タイムアウト値
501 本優先度
502 実優先度
503 均衡化実行タイマ
504 持続タイマ
601 PID
602 スケジュール要求フラグ
Claims (5)
- オペレーティングシステムを一つのタスクとしてコンピュータに実行させるタスク管理プログラムであって、
タスク制御ブロックに格納された情報から前記オペレーティングシステムの制御下のプロセスの情報を取得するプロセス情報取得手順と、
前記オペレーティングシステムの制御下で実行可能状態にあるプロセスがアイドルプロセス以外にあるか否かを前記プロセス情報取得手順により取得されたプロセスの情報に基づいて判定する実行可能プロセス有無判定手順と、
前記実行可能プロセス有無判定手順がアイドルプロセス以外に実行可能状態にあるプロセスがあると判定した場合に、前記オペレーティングシステムの優先度を高くする高優先度設定手順と
をコンピュータに実行させることを特徴とするタスク管理プログラム。 - 前記プロセス情報取得手順は、タスク制御ブロックからカレントスタックポインタを取得し、該取得したカレントスタックポインタからスタックの先頭アドレスを算出し、該算出した先頭アドレスに格納されたプロセス制御ブロック先頭アドレスを用いてプロセスの情報を取得することを特徴とする請求項1に記載のタスク管理プログラム。
- 前記プロセス情報取得手順が情報を取得するプロセスは、前記オペレーティングシステムが最後に実行したプロセスであることを特徴とする請求項1または2に記載のタスク管理プログラム。
- 前記実行可能プロセス有無判定手順が、前記オペレーティングシステムの制御下で実行可能状態にあるプロセスがアイドルプロセス以外にないと判定した場合に、該オペレーティングシステムに対するスケジュール要求があるか否かを前記プロセス情報取得手順により取得されたプロセスの情報に基づいて判定するスケジュール要求有無判定手順をさらにコンピュータに実行させ、
前記高優先度設定手順は、前記スケジュール要求有無判定手順により前記スケジュール要求があると判定された場合にも、前記オペレーティングシステムの優先度を高くすることを特徴とする請求項1、2または3に記載のタスク管理プログラム。 - オペレーティングシステムを一つのタスクとして実行するタスク制御装置であって、
タスク制御ブロックに格納された情報から前記オペレーティングシステムの制御下のプロセスの情報を取得するプロセス情報取得手段と、
前記オペレーティングシステムの制御下で実行可能状態にあるプロセスがアイドルプロセス以外にあるか否かを前記プロセス情報取得手段により取得されたプロセスの情報に基づいて判定する実行可能プロセス有無判定手段と、
前記実行可能プロセス有無判定手段がアイドルプロセス以外に実行可能状態にあるプロセスがあると判定した場合に、前記オペレーティングシステムの優先度を高くする高優先度設定手段と
を備えたことを特徴とするタスク制御装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003301573A JP3953449B2 (ja) | 2003-08-26 | 2003-08-26 | タスク管理プログラムおよびタスク制御装置 |
US10/784,944 US8555285B2 (en) | 2003-08-26 | 2004-02-25 | Executing a general-purpose operating system as a task under the control of a real-time operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003301573A JP3953449B2 (ja) | 2003-08-26 | 2003-08-26 | タスク管理プログラムおよびタスク制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005071161A JP2005071161A (ja) | 2005-03-17 |
JP3953449B2 true JP3953449B2 (ja) | 2007-08-08 |
Family
ID=34213905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003301573A Expired - Fee Related JP3953449B2 (ja) | 2003-08-26 | 2003-08-26 | タスク管理プログラムおよびタスク制御装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US8555285B2 (ja) |
JP (1) | JP3953449B2 (ja) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4523910B2 (ja) * | 2005-12-13 | 2010-08-11 | 三菱電機株式会社 | 並列処理装置及び並列処理方法及び並列処理プログラム |
KR101366802B1 (ko) | 2007-01-05 | 2014-02-21 | 삼성전자주식회사 | 실시간 운영체제를 위한 스케쥴링 방법 및 장치 |
KR20080064608A (ko) * | 2007-01-05 | 2008-07-09 | 삼성전자주식회사 | SPI(Simple PriorityInheritance) 방식에 따른 멀티태스킹 방법 및임베디드 시스템 |
JP4705051B2 (ja) * | 2007-01-29 | 2011-06-22 | 株式会社日立製作所 | 計算機システム |
US8689222B2 (en) * | 2008-10-30 | 2014-04-01 | International Business Machines Corporation | Controlling priority of multi-threaded hardware resources by system calls |
JP2010160713A (ja) * | 2009-01-09 | 2010-07-22 | Yokogawa Electric Corp | フィールド制御装置およびフィールド制御方法 |
JP5302711B2 (ja) * | 2009-02-25 | 2013-10-02 | 日本電信電話株式会社 | クライアント端末、ネットワーク接続制御方法、端末管理プロセッサ、プログラム |
JP5302712B2 (ja) * | 2009-02-25 | 2013-10-02 | 日本電信電話株式会社 | クライアント端末、ユーザ管理方法、端末管理プロセッサ、プログラム |
CN102667725B (zh) * | 2010-01-13 | 2015-09-16 | 马维尔以色列(M.I.S.L.)有限公司 | 用于媒体处理的硬件虚拟化 |
CN107003902B (zh) * | 2015-04-14 | 2021-01-01 | 华为技术有限公司 | 一种进程管理的方法、装置和设备 |
CN110308975B (zh) * | 2018-03-27 | 2022-02-11 | 阿里巴巴(中国)有限公司 | 用于播放器起播的方法和装置 |
Family Cites Families (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4435780A (en) * | 1981-06-16 | 1984-03-06 | International Business Machines Corporation | Separate stack areas for plural processes |
US4646287A (en) * | 1984-12-07 | 1987-02-24 | At&T Bell Laboratories | Idle period signalling in a packet switching system |
JPH02300939A (ja) * | 1989-05-16 | 1990-12-13 | Toshiba Corp | セマフォオペレーション方式 |
US5396635A (en) * | 1990-06-01 | 1995-03-07 | Vadem Corporation | Power conservation apparatus having multiple power reduction levels dependent upon the activity of the computer system |
JPH05108380A (ja) | 1991-10-21 | 1993-04-30 | Mitsubishi Electric Corp | データ処理システム |
JP3727382B2 (ja) * | 1994-12-26 | 2005-12-14 | 三菱電機株式会社 | 制御ソフトウェア実行システムの制御方法 |
JPH08320795A (ja) * | 1995-05-24 | 1996-12-03 | Fuji Xerox Co Ltd | プログラム制御システム |
JPH0954699A (ja) * | 1995-08-11 | 1997-02-25 | Fujitsu Ltd | 計算機のプロセススケジューラ |
DE69738832D1 (de) * | 1996-03-28 | 2008-08-28 | Hitachi Ltd | Verfahren zum Planen von periodischen Prozessabläufen |
JP3546678B2 (ja) | 1997-09-12 | 2004-07-28 | 株式会社日立製作所 | マルチos構成方法 |
US6718482B2 (en) * | 1997-09-12 | 2004-04-06 | Hitachi, Ltd. | Fault monitoring system |
US6772419B1 (en) * | 1997-09-12 | 2004-08-03 | Hitachi, Ltd. | Multi OS configuration system having an interrupt process program executes independently of operation of the multi OS |
FI108478B (fi) * | 1998-01-21 | 2002-01-31 | Nokia Corp | Sulautettu jõrjestelmõ |
JP2000148513A (ja) | 1998-11-11 | 2000-05-30 | Matsushita Electric Ind Co Ltd | タスク制御方法およびタスク制御装置 |
JP4072271B2 (ja) * | 1999-02-19 | 2008-04-09 | 株式会社日立製作所 | 複数のオペレーティングシステムを実行する計算機 |
US6715016B1 (en) * | 2000-06-01 | 2004-03-30 | Hitachi, Ltd. | Multiple operating system control method |
US20030037091A1 (en) * | 2001-08-09 | 2003-02-20 | Kozo Nishimura | Task scheduling device |
US6996745B1 (en) * | 2001-09-27 | 2006-02-07 | Sun Microsystems, Inc. | Process for shutting down a CPU in a SMP configuration |
JP3879514B2 (ja) * | 2002-01-11 | 2007-02-14 | 株式会社デンソー | 電子制御装置及びプログラム |
US6862674B2 (en) * | 2002-06-06 | 2005-03-01 | Sun Microsystems | Methods and apparatus for performing a memory management technique |
JP3938343B2 (ja) * | 2002-08-09 | 2007-06-27 | インターナショナル・ビジネス・マシーンズ・コーポレーション | タスク管理システム、プログラム、及び制御方法 |
US7716668B2 (en) * | 2002-12-16 | 2010-05-11 | Brooktree Broadband Holding, Inc. | System and method for scheduling thread execution |
US20040117791A1 (en) * | 2002-12-17 | 2004-06-17 | Ajith Prasad | Apparatus, system and method for limiting latency |
US7155600B2 (en) * | 2003-04-24 | 2006-12-26 | International Business Machines Corporation | Method and logical apparatus for switching between single-threaded and multi-threaded execution states in a simultaneous multi-threaded (SMT) processor |
-
2003
- 2003-08-26 JP JP2003301573A patent/JP3953449B2/ja not_active Expired - Fee Related
-
2004
- 2004-02-25 US US10/784,944 patent/US8555285B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005071161A (ja) | 2005-03-17 |
US8555285B2 (en) | 2013-10-08 |
US20050050541A1 (en) | 2005-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20070083460A (ko) | 다중 커널을 동시에 실행하는 방법 및 시스템 | |
JP3953449B2 (ja) | タスク管理プログラムおよびタスク制御装置 | |
EP3675434B1 (en) | Distributed system resource allocation method, device and system | |
US9298504B1 (en) | Systems, devices, and techniques for preempting and reassigning tasks within a multiprocessor system | |
CN109564528B (zh) | 分布式计算中计算资源分配的系统和方法 | |
JP2009294712A (ja) | 優先度制御装置及び優先度制御方法 | |
US7590990B2 (en) | Computer system | |
US7366814B2 (en) | Heterogeneous multiprocessor system and OS configuration method thereof | |
JP5347451B2 (ja) | マルチプロセッサシステム、競合回避プログラム及び競合回避方法 | |
CN106557369A (zh) | 一种多线程的管理方法及系统 | |
US20110107344A1 (en) | Multi-core apparatus and load balancing method thereof | |
CN106775975B (zh) | 进程调度方法及装置 | |
CN107615246B (zh) | 线程弹性负载平衡的内核负载知识 | |
JP2007328413A (ja) | 負荷分散方法 | |
EP2843548A1 (en) | Method, system, and program for scheduling jobs in a computing system | |
CN109189581B (zh) | 一种作业调度方法和装置 | |
JP4112511B2 (ja) | タスク管理プログラムおよびタスク管理装置 | |
CA2650347C (en) | Control apparatus for process input-output device | |
CN112130979B (zh) | 调度任务及训练神经网络模型的方法、装置、终端和介质 | |
US20090172684A1 (en) | Small low power embedded system and preemption avoidance method thereof | |
JP2008225641A (ja) | コンピュータシステム、割り込み制御方法及びプログラム | |
JP2019079336A (ja) | 数値制御装置 | |
JP5056346B2 (ja) | 情報処理装置、情報処理システム、仮想サーバの移動処理の制御方法、及び、プログラム | |
Lee et al. | Interrupt handler migration and direct interrupt scheduling for rapid scheduling of interrupt-driven tasks | |
JP2005293070A (ja) | タスク実行システム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041224 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070116 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070319 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070424 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070424 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100511 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110511 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120511 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130511 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130511 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |