JPWO2018211865A1 - 車両制御装置 - Google Patents
車両制御装置 Download PDFInfo
- Publication number
- JPWO2018211865A1 JPWO2018211865A1 JP2019519118A JP2019519118A JPWO2018211865A1 JP WO2018211865 A1 JPWO2018211865 A1 JP WO2018211865A1 JP 2019519118 A JP2019519118 A JP 2019519118A JP 2019519118 A JP2019519118 A JP 2019519118A JP WO2018211865 A1 JPWO2018211865 A1 JP WO2018211865A1
- Authority
- JP
- Japan
- Prior art keywords
- application
- execution
- execution priority
- priority
- state
- 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
- 230000007704 transition Effects 0.000 claims description 10
- 238000000034 method Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 6
- 230000004913 activation Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 claims description 3
- 230000006266 hibernation Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 230000006399 behavior Effects 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 2
- 230000007958 sleep Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
(1−1)車両制御装置の構成
図1は、第1の実施の形態による車両制御装置の概略構成を示す。車両制御装置101は、アプリケーション111、タイムスロット管理テーブル123、アプリケーション制御装置121、及びハードウェアタイマー131を備えている。このハードウェアタイマー131は、設定されたタイミングでアプリケーション制御装置121に対してタイマー割り込みを通知する機能を有する。
アプリケーション111は、アプリケーション111A,111B,・・・,111Y,111Zを含んでいる。これらアプリケーション111A,111B,・・・,111Y,111Zはそれぞれ一つのタスクであり、アプリケーション制御装置121が管理対象とするプログラムの実行単位である。アプリケーションは少なくとも1つ生成され、アプリケーション制御装置121によって、いわゆる時分割スケジューリングで実行される。
図2は、図1に示すタイムスロット管理テーブル123の詳細な構成例を示す。タイムスロット管理テーブル123は、そのカラムとして、タイムスロットID、タイマー通知時間、アプリケーションID、及び時間保護違反判定を有する。この時間保護違反判定は、タイムスロット内でアプリケーションが処理を完了できる予定であるか否かを判定することを表している(以下「時間保護違反判定処理」ともいう)。
図3は、アプリケーションの状態遷移の一例を表す図である。アプリケーションの状態は、例えば、実行状態301、実行可能状態302、待ち状態303、及び休止状態304に分類される。各状態については以下のようになっている。
図4は、時分割スケジューリングの一例を示す。なお、横軸は時間を表している。
図5は、実行時間がタイムスロットTS1よりも長いアプリケーション111Bが存在する場合の時分割スケジューリングの一例を示す。
アプリケーション制御装置121では、実行優先度制御部127が、ある特定のアプリケーションの処理が意図せず、割り当てタイムスロットの時間内で完了しなかった場合、他のアプリケーションへの時間干渉を防ぐため、既述の時間保護違反判定処理によって、そのような場合の事象を「時間保護違反」として検知し、該当特定のアプリケーションの実行について停止制御を実施するようにしても良い。
第2の実施の形態による車両制御装置は、第1の実施の形態による車両制御装置101とほぼ同様の構成であるとともにほぼ同様の動作を実行するため、以下、両者において相違する点を中心として説明する。
上記実施形態は、本発明を説明するための例示であり、本発明をこれらの実施形態にのみ限定する趣旨ではない。本発明は、その趣旨を逸脱しない限り、様々な形態で実施することができる。例えば、上記実施形態では、各種プログラムの処理をシーケンシャルに説明したが、特にこれにこだわるものではない。従って、処理結果に矛盾が生じない限り、処理の順序を入れ替え又は並行動作するように構成しても良い。
Claims (7)
- 実行優先度が互いに異なる複数のアプリケーションの実行優先度を制御する実行優先度制御部と、
前記実行優先度制御部によって各々設定された実行優先度に従って前記複数のアプリケーションの状態を制御する実行状態制御部と、
を備え、
前記実行優先度制御部は、
前記複数のアプリケーションのうち高い実行優先度のアプリケーションの実行が完了した後、即座に、低い実行優先度のアプリケーションの実行を開始すべきでない場合、さらに別のアプリケーションに対して、前記高い実行優先度よりも低く、かつ、前記低い実行優先度よりも高い実行優先度として中間の実行優先度を設定し、
前記実行状態制御部は、
前記高い実行優先度のアプリケーションの実行が完了した後、前記低い実行優先度のアプリケーションの実行を開始させるまでに亘って、前記中間の実行優先度で前記別のアプリケーションを実行させる
ことを特徴とする車両制御装置。 - 前記実行優先度制御部は、
前記別のアプリケーションの初期の実行優先度として、前記低い実行優先度よりもさらに低くした最低の実行優先度に設定しておき、その後、
前記高い実行優先度のアプリケーションの実行が完了した第1のタイミングで、前記別のアプリケーションの実行優先度を前記中間の実行優先度に設定した後、前記低い実行優先度のアプリケーションの実行を開始すべき第2のタイミングで、前記別のアプリケーションの実行優先度を前記最低の実行優先度に戻す
ことを特徴とする請求項1に記載の車両制御装置。 - 前記実行状態制御部は、
前記複数のアプリケーションのうち実行優先度が相対的に高いアプリケーションの実行を開始する際には、前記複数のアプリケーションのうち実行優先度が相対的に低いアプリケーションを待ち状態または休止状態に遷移させず実行可能状態に遷移させる一方、
前記実行可能状態に遷移させたアプリケーションの実行を再開する際には、前記実行可能状態に遷移させたアプリケーションを前記実行可能状態から実行状態に遷移させる
ことを特徴とする請求項1に記載の車両制御装置。 - 前記実行状態制御部は、
前記複数のアプリケーションのうち次に起動すべきアプリケーションの起動タイミングを設定する起動タイミング設定部と、
前記起動タイミングに基づいて作成されるタイマー割込みを受信したことを契機として次に起動すべきアプリケーションを判断する起動アプリケーション判断部と、
前記次に起動すべきアプリケーションに対して移動指示を発行するとともに、前記実行優先度制御部に対して実行優先度の変更指示を発行するアプリケーション起動部と、
を備えることを特徴とする請求項1に記載の車両制御装置。 - 前記起動タイミング設定部は、
前記次に起動すべきアプリケーションにタイムスロットを割り当てる
ことを特徴とする請求項4に記載の車両制御装置。 - 前記実行状態制御部は、
前記タイムスロットの時間内でアプリケーションの処理が完了しない事象としての時間保護違反が発生するか否かを判定する処理を実行し、
前記別のアプリケーションについては前記処理の対象外に設定する
ことを特徴とする請求項5に記載の車両制御装置。 - 前記実行状態制御部は、
前記別のアプリケーションとして、前記タイムスロットを用いた時間管理を必要としない機能を備えるアプリケーションの状態を制御する
ことを特徴とする請求項5に記載の車両制御装置。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017098332 | 2017-05-17 | ||
JP2017098332 | 2017-05-17 | ||
PCT/JP2018/015175 WO2018211865A1 (ja) | 2017-05-17 | 2018-04-11 | 車両制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2018211865A1 true JPWO2018211865A1 (ja) | 2020-01-23 |
JP6861275B2 JP6861275B2 (ja) | 2021-04-21 |
Family
ID=64273682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019519118A Active JP6861275B2 (ja) | 2017-05-17 | 2018-04-11 | 車両制御装置 |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6861275B2 (ja) |
WO (1) | WO2018211865A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022114138A (ja) * | 2021-01-26 | 2022-08-05 | 日立Astemo株式会社 | 電子制御装置のシミュレーション装置 |
CN112959926B (zh) * | 2021-03-05 | 2022-11-29 | 广西双英集团股份有限公司 | 一种面向动态多任务汽车座舱平台的时分控制方法 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009294712A (ja) * | 2008-06-02 | 2009-12-17 | Panasonic Corp | 優先度制御装置及び優先度制御方法 |
US20140359632A1 (en) * | 2013-05-31 | 2014-12-04 | Microsoft Corporation | Efficient priority-aware thread scheduling |
-
2018
- 2018-04-11 WO PCT/JP2018/015175 patent/WO2018211865A1/ja active Application Filing
- 2018-04-11 JP JP2019519118A patent/JP6861275B2/ja active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009294712A (ja) * | 2008-06-02 | 2009-12-17 | Panasonic Corp | 優先度制御装置及び優先度制御方法 |
US20140359632A1 (en) * | 2013-05-31 | 2014-12-04 | Microsoft Corporation | Efficient priority-aware thread scheduling |
Also Published As
Publication number | Publication date |
---|---|
WO2018211865A1 (ja) | 2018-11-22 |
JP6861275B2 (ja) | 2021-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8612982B2 (en) | Multi-tasking method according to simple priority inheritance scheme and embedded system therefor | |
US8706265B2 (en) | Safety controller and safety control method | |
US20060010446A1 (en) | Method and system for concurrent execution of multiple kernels | |
WO2009147802A1 (ja) | 優先度制御装置及び優先度制御方法 | |
US20110302587A1 (en) | Information processing device and information processing method | |
US20130104137A1 (en) | Multiprocessor system | |
WO2012104896A1 (ja) | 安全制御装置および安全制御方法 | |
CN111414246B (zh) | 具备tee扩展的计算平台上的跨安全世界实时功能调用方法及装置 | |
JP2005165470A (ja) | 電子機器およびプロセッサ速度制御方法 | |
JP4523910B2 (ja) | 並列処理装置及び並列処理方法及び並列処理プログラム | |
JP6861275B2 (ja) | 車両制御装置 | |
CN112214291A (zh) | 一种任务调度方法及装置 | |
US8423681B2 (en) | Control apparatus for process input-output device | |
US20050160425A1 (en) | Limitation of the response time of a software process | |
JP2001117786A (ja) | プロセススケジューリング装置およびプロセススケジューリング方法 | |
JP2013152636A (ja) | 情報処理装置、タスクスケジューリング方法 | |
JP2005149312A (ja) | タスク管理システム | |
JP2019079336A (ja) | 数値制御装置 | |
JP4325466B2 (ja) | タスク実行システム | |
Belagali et al. | Implementation and validation of dynamic scheduler based on LST on FreeRTOS | |
JPH11203149A (ja) | タスクスケジュール装置およびその方法 | |
JP3043748B1 (ja) | タスクスケジュ―リング方法及び装置 | |
WO2019044226A1 (ja) | アクセス制御装置 | |
US20210141661A1 (en) | Lightweight Context For CPU Idling Using A Real Time Kernel | |
JPH10143378A (ja) | コンピュータ装置、およびコンピュータ装置における緊急プロセスのプリエンプション方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190918 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201110 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201218 |
|
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: 20210309 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210329 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6861275 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |