[go: up one dir, main page]

JP2023032307A - Virtualization control device and interrupt control method - Google Patents

Virtualization control device and interrupt control method Download PDF

Info

Publication number
JP2023032307A
JP2023032307A JP2021138355A JP2021138355A JP2023032307A JP 2023032307 A JP2023032307 A JP 2023032307A JP 2021138355 A JP2021138355 A JP 2021138355A JP 2021138355 A JP2021138355 A JP 2021138355A JP 2023032307 A JP2023032307 A JP 2023032307A
Authority
JP
Japan
Prior art keywords
interrupt
processing
level
importance
interrupt prohibition
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.)
Pending
Application number
JP2021138355A
Other languages
Japanese (ja)
Inventor
誠 奥原
Makoto Okuhara
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2021138355A priority Critical patent/JP2023032307A/en
Publication of JP2023032307A publication Critical patent/JP2023032307A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

To allow for providing flexible and appropriate interrupt control when allowing multiple VMs to coexist.SOLUTION: A virtualization control device according to an embodiment is configured to make one processor operate multiple virtual machines while switching them in a time-division manner, and comprises an interrupt control unit. The interrupt control unit provides different interrupt control according to importance of each interrupt disable process executed by the virtual machines.SELECTED DRAWING: Figure 6

Description

開示の実施形態は、仮想化制御装置および割り込み制御方法に関する。 The disclosed embodiments relate to a virtualization controller and an interrupt control method.

従来、たとえば車両に搭載され、エンジンやトランスミッションといった車両の各種システムをそれぞれ電子制御するECU(Electronic Control Unit)が知られている。かかるECUでは、内蔵されたマイコンが上述した各種システムの制御プログラムを実行することにより、割り当てられた各種機能を実現する。 2. Description of the Related Art Conventionally, an ECU (Electronic Control Unit) is known, which is mounted on a vehicle, for example, and electronically controls various systems of the vehicle such as an engine and a transmission. In such an ECU, a built-in microcomputer executes control programs for the various systems described above, thereby realizing various assigned functions.

また、近年、ECUの数を減らし、単一のECUで複数の電子制御を実現させるECU統合の検討が進んでいる。ECU統合の方法の一つとして仮想化技術の利用が挙げられる。仮想化技術としては、1コアのマイコン上で複数の仮想マシン(VM:Virtual Machine)を時分割で切り替えつつ動作させる仮想化制御などがある(たとえば、特許文献1参照)。 Further, in recent years, studies are underway to reduce the number of ECUs and integrate ECUs to realize a plurality of electronic controls with a single ECU. One of the methods of ECU integration is the use of virtualization technology. As virtualization technology, there is a virtualization control that operates a plurality of virtual machines (VMs) on a one-core microcomputer while switching them in a time-sharing manner (see, for example, Patent Document 1).

そして、このような仮想化制御においても、各VMで発生する処理について、処理中に割り込み(たとえば、他のVMへの切り替え)が発生しないようにする割り込み禁止処理を行ってから処理を実行する割り込み制御が行われている。 Also in this kind of virtualization control, for processing that occurs in each VM, interrupt prohibition processing is performed so that an interrupt (for example, switching to another VM) does not occur during processing, and then the processing is executed. Interrupt control is performed.

特開2009-070014号公報JP 2009-070014 A

しかしながら、上述した従来技術には、複数のVMを共存させるにあたり柔軟かつ適切な割り込み制御を実現するうえで、更なる改善の余地がある。 However, the conventional technology described above has room for further improvement in terms of realizing flexible and appropriate interrupt control when multiple VMs coexist.

実施形態の一態様は、上記に鑑みてなされたものであって、複数のVMを共存させるにあたり柔軟かつ適切な割り込み制御を実現することができる仮想化制御装置および割り込み制御方法を提供することを目的とする。 One aspect of the embodiments has been made in view of the above, and aims to provide a virtualization control device and an interrupt control method capable of realizing flexible and appropriate interrupt control when a plurality of VMs coexist. aim.

実施形態の一態様に係る仮想化制御装置は、1つのプロセッサで複数の仮想マシンを時分割で切り替えつつ動作させる仮想化制御装置であって、割り込み制御部を備える。前記割り込み制御部は、前記仮想マシンが実行する割り込み禁止処理ごとの重要度に応じて異なる割り込み制御を実行する。 A virtualization control device according to an aspect of an embodiment is a virtualization control device that causes a single processor to operate a plurality of virtual machines while switching them in a time-sharing manner, and includes an interrupt control unit. The interrupt control unit executes different interrupt control according to the importance of each interrupt disabled process executed by the virtual machine.

実施形態の一態様によれば、複数のVMを共存させるにあたり柔軟かつ適切な割り込み制御を実現することができる。 According to one aspect of the embodiments, it is possible to implement flexible and appropriate interrupt control when multiple VMs coexist.

図1は、実施形態に係る割り込み制御方法の概要説明図(その1)である。FIG. 1 is a schematic explanatory diagram (Part 1) of the interrupt control method according to the embodiment. 図2は、実施形態に係る割り込み制御方法の概要説明図(その2)である。FIG. 2 is a schematic explanatory diagram (Part 2) of the interrupt control method according to the embodiment. 図3は、実施形態に係る割り込み制御方法の概要説明図(その3)である。FIG. 3 is a schematic explanatory diagram (Part 3) of the interrupt control method according to the embodiment. 図4は、実施形態に係る割り込み制御方法の概要説明図(その4)である。FIG. 4 is a schematic explanatory diagram (part 4) of the interrupt control method according to the embodiment. 図5は、実施形態に係る割り込み制御方法の概要説明図(その5)である。FIG. 5 is a schematic explanatory diagram (No. 5) of the interrupt control method according to the embodiment. 図6は、実施形態に係るECUの構成例を示すブロック図である。FIG. 6 is a block diagram showing a configuration example of an ECU according to the embodiment. 図7は、割り込み禁止処理のレベルの説明図である。FIG. 7 is an explanatory diagram of levels of interrupt prohibition processing. 図8は、レベル1の割り込み禁止処理の処理説明図である。FIG. 8 is a processing explanatory diagram of level 1 interrupt prohibition processing. 図9は、レベル1の割り込み禁止処理の処理手順を示すフローチャートである。FIG. 9 is a flow chart showing a processing procedure of level 1 interrupt prohibition processing. 図10は、レベル2の割り込み禁止処理の処理説明図である。FIG. 10 is a processing explanatory diagram of level 2 interrupt prohibition processing. 図11は、レベル2の割り込み禁止処理の処理手順を示すフローチャートである。FIG. 11 is a flow chart showing a processing procedure of level 2 interrupt prohibition processing. 図12は、レベル3の割り込み禁止処理の処理説明図である。FIG. 12 is a processing explanatory diagram of level 3 interrupt prohibition processing. 図13は、レベル3の割り込み禁止処理の処理手順を示すフローチャートである。FIG. 13 is a flow chart showing a processing procedure of level 3 interrupt prohibition processing.

以下、添付図面を参照して、本願の開示する仮想化制御装置および割り込み制御方法の実施形態を詳細に説明する。なお、以下に示す実施形態によりこの発明が限定されるものではない。 Hereinafter, embodiments of a virtualization control device and an interrupt control method disclosed in the present application will be described in detail with reference to the accompanying drawings. In addition, this invention is not limited by embodiment shown below.

また、以下では、実施形態に係る割り込み制御方法の概要について図1~図5を用いて説明した後に、実施形態に係る割り込み制御方法を適用したECU10(「仮想化制御装置」の一例に相当)の構成例について、図6~図13を用いて説明することとする。 1 to 5, an ECU 10 (corresponding to an example of a “virtualization control device”) to which the interrupt control method according to the embodiment is applied. A configuration example of is described with reference to FIGS. 6 to 13. FIG.

まず、本実施形態に係る割り込み制御方法の概要について図1~図5を用いて説明する。図1~図5は、実施形態に係る割り込み制御方法の概要説明図(その1)~(その5)である。 First, an outline of an interrupt control method according to this embodiment will be described with reference to FIGS. 1 to 5. FIG. 1 to 5 are schematic explanatory diagrams (part 1) to (part 5) of the interrupt control method according to the embodiment.

仮想化制御を実行する仮想化制御装置では、たとえばISO26262に準拠する安全性要求レベル(ASIL:Automotive Safety Integrity Level)に関し、複数のASILの制御を共存させることが可能となる。 In a virtualization control device that executes virtualization control, it is possible for a plurality of ASIL controls to coexist with respect to the safety requirement level (ASIL: Automotive Safety Integrity Level) conforming to ISO26262, for example.

たとえば、ASILに関し、異なるレベルの各制御を1つのECU10に実装する場合、既存技術では、図1の左図に示すように「マルチコア分離」による方法がある。かかる場合、各制御は、物理的に分離されたコアごとに実装され、コア空間やメモリ空間を含む実行空間も制御間で物理的に分離される。 For example, regarding ASIL, when each control of different levels is implemented in one ECU 10, existing technology includes a method by "multi-core separation" as shown in the left diagram of FIG. In such a case, each control is implemented for each physically separated core, and execution spaces including core space and memory space are also physically separated between controls.

一方、ECU統合の観点から、図1の右図に示すように、「仮想化分離」による方法も検討が進められている。かかる場合、1つのコアで複数のVMを動作させる仮想化制御により、1つのコアに異なるレベルのASILの各制御を共存させることができる。 On the other hand, from the viewpoint of ECU integration, as shown in the right figure of FIG. In such a case, virtualization control that operates multiple VMs on a single core allows different levels of ASIL control to coexist on a single core.

ただし、「仮想化分離」を用いる場合、前述の実行空間は制御(VM等)間であくまで仮想的に分離される。たとえば、図2に示すように、実行空間は、基本的には時分割(ここでは1ms周期)による切り替え制御により各制御に割り当てられる。すなわち、実行されるVMを時分割で切り替える制御が行われる。 However, when "virtual separation" is used, the aforementioned execution space is virtually separated between controls (VMs, etc.). For example, as shown in FIG. 2, the execution space is basically assigned to each control by switching control by time division (1 ms period here). That is, control is performed to switch the VM to be executed in a time division manner.

したがって、「仮想化分離」を用いる場合、図3に示すように、たとえばVM#0が自身の実行するVM処理の中で割り込み禁止処理を実行空間の切り替え直前で行うと、他のVM#1は、割り当てられた1周期中の処理時間が短くなるなどの影響を受けるおそれがある。 Therefore, when "virtualization separation" is used, as shown in FIG. is likely to be affected by the shortening of the processing time in one allocated cycle.

そこで、実施形態に係る割り込み制御方法は、1つのプロセッサで仮想的に複数の実行空間を時分割で切り替えつつ複数のVMを動作させる仮想化制御装置を用いた割り込み制御方法であって、VMが実行する割り込み禁止処理ごとの重要度に応じて異なる割り込み制御を実行することとした。 Therefore, an interrupt control method according to an embodiment is an interrupt control method using a virtualization control device that causes a plurality of VMs to operate while virtually switching a plurality of execution spaces by a single processor in a time-division manner. Different interrupt control is executed according to the importance of each interrupt disabled process to be executed.

具体的には、図4に示すように、実施形態に係る割り込み制御方法では、各VMが実行する割り込み禁止処理に対し、重要度によるレベル分けを行う。なお、本実施形態では、かかる重要度をレベル1~3の3つのレベルにレベル分けするものとする。 Specifically, as shown in FIG. 4, in the interrupt control method according to the embodiment, interrupt prohibition processing executed by each VM is classified into levels according to the degree of importance. In this embodiment, the importance is divided into three levels of levels 1-3.

そして、実施形態に係る割り込み制御方法では、かかる割り込み禁止処理の重要度に応じて、異なる割り込み制御を行う。 Then, in the interrupt control method according to the embodiment, different interrupt control is performed according to the degree of importance of such interrupt prohibition processing.

たとえば、図3に示した、どのタイミングでも実行が許可される割込み禁止処理であり、他のVMに対しても割り込みを禁止させる割り込み禁止処理は、図4に示すように、実施形態に係る割り込み制御方法では、最も重要度の高いレベル3の割り込み禁止処理を実行する場合にのみ限定する。 For example, as shown in FIG. 3, the interrupt disabling process that is permitted to be executed at any timing, and the interrupt disabling process that disables interrupts for other VMs is the interrupt disabling process according to the embodiment, as shown in FIG. The control method is limited only to execution of level 3 interrupt disabling processing, which has the highest level of importance.

レベル3の割り込み禁止処理は、たとえば異常発生時など、ECUシステムとして即時実行する必要がある処理である。レベル1~3の内容の詳細およびこれらに応じた制御内容については、図7を用いた説明で後述する。 Level 3 interrupt prohibition processing is processing that must be executed immediately by the ECU system, for example, when an abnormality occurs. The details of the contents of levels 1 to 3 and the contents of control corresponding to them will be described later with reference to FIG.

なお、実施形態に係る割り込み制御方法では、図5に示すように、各レベルに応じた割り込み禁止/割り込み禁止解除の各API(Application Programming Interface)を設け、これらを各VM処理内で用途に応じて使い分けることにより各レベルに応じた割り込み制御を実現する。各レベルに応じた割り込み制御の内容の詳細については、図8以降を用いた説明で後述する。 Note that, in the interrupt control method according to the embodiment, as shown in FIG. 5, each API (Application Programming Interface) for disabling interrupts/disabling interrupts according to each level is provided, and these are implemented in each VM process according to the application. Interrupt control corresponding to each level is realized by using each level properly. The details of the contents of the interrupt control according to each level will be described later with reference to FIG. 8 and subsequent figures.

このように、実施形態に係る割り込み制御方法は、1つのプロセッサで仮想的に複数の実行空間を時分割で切り替えつつ複数のVMを動作させる仮想化制御装置を用いた割り込み制御方法であって、VMが実行する割り込み禁止処理ごとの重要度に応じて異なる割り込み制御を実行することとした。 As described above, the interrupt control method according to the embodiment is an interrupt control method using a virtualization control device that operates a plurality of VMs while virtually switching a plurality of execution spaces in a time division with one processor, Different interrupt control is executed according to the importance of each interrupt disabled process executed by the VM.

したがって、実施形態に係る割り込み制御方法によれば、複数のVMを共存させるにあたり柔軟かつ適切な割り込み制御を実現することができる。 Therefore, according to the interrupt control method according to the embodiment, it is possible to implement flexible and appropriate interrupt control when a plurality of VMs coexist.

以下、上述した実施形態に係る割り込み制御方法を適用したECU10の構成例について、さらに具体的に説明する。 A configuration example of the ECU 10 to which the interrupt control method according to the above-described embodiment is applied will now be described more specifically.

図6は、実施形態に係るECU10の構成例を示すブロック図である。なお、図6では、本実施形態の特徴を説明するために必要な構成要素のみを機能ブロックで表しており、一般的な構成要素についての記載を省略している。 FIG. 6 is a block diagram showing a configuration example of the ECU 10 according to the embodiment. It should be noted that FIG. 6 shows only the components necessary for explaining the features of the present embodiment by functional blocks, and omits the description of general components.

換言すれば、図6に図示される各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。例えば、各機能ブロックの分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することが可能である。 In other words, each component illustrated in FIG. 6 is functionally conceptual and does not necessarily need to be physically configured as illustrated. For example, the specific forms of distribution and integration of each functional block are not limited to those shown in the figure, and all or part of them can be functionally or physically distributed in arbitrary units according to various loads and usage conditions.・It is possible to integrate and configure.

また、図6を用いた説明では、既に説明済みの構成要素については、説明を簡略するか、省略する場合がある。 In addition, in the description using FIG. 6, the description of components that have already been described may be simplified or omitted.

図6に示すように、ECU10は、タイマ11と、記憶部12と、制御部13とを備える。タイマ11は、ECU10に搭載されたリアルタイムクロックである。 As shown in FIG. 6, the ECU 10 includes a timer 11, a storage section 12, and a control section 13. A timer 11 is a real-time clock mounted on the ECU 10 .

記憶部12は、たとえば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子等によって実現される。記憶部12は、レジスタおよびキャッシュを含む。 The storage unit 12 is realized by semiconductor memory devices such as RAM (Random Access Memory), ROM (Read Only Memory), and flash memory. Storage unit 12 includes a register and a cache.

また、図6の例では、記憶部12は、時分割情報12aと、VM処理プログラム12bと、割り込み禁止レベル情報12cと、プログラムカウンタ12dと、閾値情報12eと、割り込み禁止処理ライブラリ12fとを記憶する。 In the example of FIG. 6, the storage unit 12 stores time division information 12a, a VM processing program 12b, interrupt disable level information 12c, a program counter 12d, threshold information 12e, and an interrupt disable processing library 12f. do.

時分割情報12aは、各VMを切り替える切り替え制御を行うための時分割周期が設定された情報である。VM処理プログラム12bは、各VMに割り当てられた電子制御機能を実現するVM処理を実行するためのプログラムである。 The time-division information 12a is information in which a time-division cycle for performing switching control for switching each VM is set. The VM processing program 12b is a program for executing VM processing that implements electronic control functions assigned to each VM.

割り込み禁止レベル情報12cは、各VM処理の中で実行される各種の割り込み禁止処理ごとの重要度や各割込み禁止処理の処理時間等が予め設定された情報である。 The interrupt prohibition level information 12c is information in which the importance of each interrupt prohibition process executed in each VM process, the processing time of each interrupt prohibition process, and the like are set in advance.

ここで、割り込み禁止処理の各レベルおよびレベルに応じた制御内容について、図7を用いて説明する。図7は、割り込み禁止処理のレベルの説明図である。 Here, each level of the interrupt prohibition process and the contents of control according to the level will be described with reference to FIG. FIG. 7 is an explanatory diagram of levels of interrupt prohibition processing.

図7に示すように、本実施形態では、割り込み禁止処理を重要度に応じて3つのレベルにレベル分けしている。図4に示した通り、重要度は、レベル1からレベル3に向けて順に高くなる。 As shown in FIG. 7, in this embodiment, the interrupt prohibition process is classified into three levels according to the degree of importance. As shown in FIG. 4, the importance increases from level 1 to level 3 in order.

図7に示すように、レベル1の割り込み禁止処理は、自VMにしか影響を及ぼさない処理である。このため、レベル1における割り込み制御内容は、自VM処理内のみ割り込み禁止となる。また、切り替え制御内容に示す通りレベル1においては、時分割周期が到来すれば、実行空間の割り当てを他のVMへ切り替える。なお、補足すると、レベル1の割り込み禁止処理は、他のVMに切り替えても、割り込み禁止時間は保持されて、次の自VMの処理周期が来ると、割り込み禁止時間の残り時間分、割り込み禁止処理が行われる。 As shown in FIG. 7, level 1 interrupt disabling processing is processing that affects only the own VM. Therefore, the content of interrupt control at level 1 is to disable interrupts only within the processing of the own VM. Also, as shown in the contents of the switching control, at level 1, when the time-division cycle arrives, the allocation of the execution space is switched to another VM. Supplementally, in level 1 interrupt disabling processing, even if you switch to another VM, the interrupt disabling time is retained. processing takes place.

また、レベル2の割り込み禁止処理は、処理中に他のVMに切り替わるとECUシステムに影響を与える処理である。かかる場合、割り込み制御内容は、自VM処理の残り時間内で実施可能であれば割り込み禁止となる。一方、残り時間内で実施不可であれば、次周期の自VM処理まで保留される。したがって、時分割周期が到来すれば、実行空間の割り当てを他のVMへ切り替える。なお、補足すると、レベル2の割り込み禁止処理では、レベル1の割り込み禁止処理とは異なり、割り込み禁止が行われると、自VM内の処理に限らず、VMの切り替えを含むすべての処理の割り込みを禁止する。 Also, the level 2 interrupt prohibition process is a process that affects the ECU system when switching to another VM during the process. In such a case, the content of the interrupt control is to prohibit interrupts if it can be executed within the remaining time of the own VM processing. On the other hand, if it cannot be executed within the remaining time, it will be put on hold until its own VM processing in the next cycle. Therefore, when the time division cycle arrives, the allocation of the execution space is switched to another VM. Supplementally, in the level 2 interrupt disabling process, unlike the level 1 interrupt disabling process, when interrupts are disabled, not only the processing in the own VM, but all processing including VM switching are interrupted. restrict.

また、レベル3の割り込み禁止処理は、既に述べた通り、たとえば異常発生時など、ECUシステムとして即時実行する必要がある処理である。かかる場合、割り込み制御内容は、他VMを含めすべて割り込み禁止となる。また、時分割周期が到来しても、実行空間の割り当てを他のVMへ切り替えない。なお、補足すると、レベル3の割り込み禁止処理では、レベル2の割り込み禁止処理とは異なり、どのタイミングでも割り込み禁止処理が許可される、すなわち最優先度で即座に実行される。 As already mentioned, the level 3 interrupt prohibition process is a process that must be executed immediately by the ECU system, for example, when an abnormality occurs. In such a case, the contents of interrupt control are set to disable interrupts for all VMs including other VMs. Also, even when the time division cycle arrives, the allocation of the execution space is not switched to another VM. Supplementally, in level 3 interrupt disabling processing, unlike level 2 interrupt disabling processing, interrupt disabling processing is permitted at any timing, that is, interrupt disabling processing is immediately executed with the highest priority.

図6の説明に戻る。プログラムカウンタ12dは、実行中の各VM処理のアドレスレジスタである。閾値情報12eは、上述したレベル2における残り時間判定に用いられる閾値等を含む情報である。割り込み禁止処理ライブラリ12fは、上述した各APIに対応するプログラム等を含むライブラリである。 Returning to the description of FIG. The program counter 12d is an address register for each VM process being executed. The threshold information 12e is information including a threshold and the like used for remaining time determination at level 2 described above. The interrupt disable processing library 12f is a library containing programs and the like corresponding to each API described above.

制御部13は、コントローラ(controller)であり、たとえば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって、記憶部12に記憶されている各種プログラムがRAMを作業領域として実行されることにより実現される。また、制御部13は、たとえば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現することができる。 The control unit 13 is a controller, and various programs stored in the storage unit 12 are executed by a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like, using the RAM as a work area. It is realized by Also, the control unit 13 can be implemented by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

制御部13は、切り替え制御部13aと、複数のVM処理部13bとを有し、以下に説明する情報処理の機能や作用を実現または実行する。 The control unit 13 has a switching control unit 13a and a plurality of VM processing units 13b, and implements or executes information processing functions and actions described below.

切り替え制御部13aは、タイマ11からのシグナルおよび時分割情報12aに基づいて、各VM処理部13bに対し時分割で実行空間を割り当てる切り替え制御を実行する。 The switching control unit 13a performs switching control to allocate an execution space to each VM processing unit 13b in a time division manner based on a signal from the timer 11 and the time division information 12a.

各VM処理部13bは、VM処理プログラム12bに基づき、それぞれに割り当てられたVM処理を実行する。各VM処理部13bは、主処理部13baと、割り込み制御部13bbと、取得部13bcと、判定部13bdと、割り込み禁止処理部13beとを有する。 Each VM processing unit 13b executes its assigned VM processing based on the VM processing program 12b. Each VM processing unit 13b has a main processing unit 13ba, an interrupt control unit 13bb, an acquisition unit 13bc, a determination unit 13bd, and an interrupt prohibition processing unit 13be.

主処理部13baは、VM処理プログラム12bに基づいて各VM処理の主処理を実行する。また、主処理部13baは、主処理中に置いて割り込み禁止処理を実行すべき場合に、該当する割り込み禁止処理を割り込み制御部13bbに対し通知する。 The main processing unit 13ba executes the main processing of each VM processing based on the VM processing program 12b. Further, the main processing unit 13ba notifies the interrupt control unit 13bb of the corresponding interrupt prohibition processing when the interrupt prohibition processing should be executed during the main processing.

割り込み制御部13bbは、実行すべき割り込み禁止処理が通知された場合に、割り込み禁止レベル情報12cに基づいて、該当する割り込み禁止処理のレベルを抽出する。 The interrupt control unit 13bb extracts the level of the corresponding interrupt prohibition process based on the interrupt prohibition level information 12c when the interrupt prohibition process to be executed is notified.

また、割り込み制御部13bbは、抽出された割り込み禁止処理のレベルがレベル1またはレベル3である場合に、かかるレベル1またはレベル3に対応する割り込み禁止処理を割り込み禁止処理部13beに実行させる。 Further, when the level of the extracted interrupt prohibition processing is level 1 or level 3, the interrupt control unit 13bb causes the interrupt prohibition processing unit 13be to execute the interrupt prohibition processing corresponding to level 1 or level 3.

また、割り込み制御部13bbは、抽出された割り込み禁止処理のレベルがレベル2である場合に、かかるレベル2に対応する割り込み禁止処理を、取得部13bcおよび判定部13bdによる各処理を介して割り込み禁止処理部13beに実行させる。 Further, when the level of the extracted interrupt prohibition processing is level 2, the interrupt control unit 13bb performs the interrupt prohibition processing corresponding to the level 2 through each process of the acquisition unit 13bc and the determination unit 13bd. The processing unit 13be is made to execute.

取得部13bcは、タイマ11からのシグナル、割り込み禁止レベル情報12cに設定された該当の割込み禁止処理の処理時間、および、プログラムカウンタ12dの内容を取得する。 The acquisition unit 13bc acquires the signal from the timer 11, the processing time of the interrupt prohibition process set in the interrupt prohibition level information 12c, and the contents of the program counter 12d.

判定部13bdは、取得部13bcによって取得された各情報、および、閾値情報12eに基づいて、上述したレベル2における残り時間判定を行う。判定部13bdは、自VM処理の残り時間内で実施可能であれば、該当する割り込み禁止処理を割り込み禁止処理部13beに実行させる。 The determination unit 13bd determines the remaining time at level 2 described above based on the information acquired by the acquisition unit 13bc and the threshold information 12e. The determination unit 13bd causes the interrupt prohibition processing unit 13be to execute the corresponding interrupt prohibition process if it can be executed within the remaining time of the own VM process.

割り込み禁止処理部13beは、該当する割り込み禁止処理のレベルに応じて上述のAPIを使い分けつつ、割り込み禁止処理ライブラリ12fに基づくレベルに応じた割り込み禁止処理を実行する。 The interrupt disabling processing unit 13be executes interrupt disabling processing according to the level based on the interrupt disabling processing library 12f while selectively using the above-described API according to the level of the applicable interrupt disabling processing.

また、割り込み禁止処理部13beは、実行する割り込み禁止処理の各レベルに応じた切り替え制御を切り替え制御部13aに実行させる。 Further, the interrupt prohibition processing unit 13be causes the switching control unit 13a to perform switching control according to each level of interrupt prohibition processing to be executed.

次に、割り込み禁止処理の各レベルに応じた割り込み禁止処理の詳細について、図8~図13を用いて説明する。まず、レベル1から説明する。図8は、レベル1の割り込み禁止処理の処理説明図である。また、図9は、レベル1の割り込み禁止処理の処理手順を示すフローチャートである。 Next, the details of interrupt prohibition processing corresponding to each level of interrupt prohibition processing will be described with reference to FIGS. 8 to 13. FIG. First, level 1 will be explained. FIG. 8 is a processing explanatory diagram of level 1 interrupt prohibition processing. FIG. 9 is a flow chart showing the processing procedure of level 1 interrupt prohibition processing.

図8に示すように、VM#0が、自身に実行空間が割り当てられた周期C1の途中において割り込み禁止処理を実行する必要があり、かかる割り込み禁止処理のレベルはレベル1であったものとする。 As shown in FIG. 8, it is assumed that VM#0 needs to execute interrupt disabling processing in the middle of cycle C1 in which the execution space is allocated to itself, and the interrupt disabling processing level is level 1. .

かかる場合、図8に示すように、VM#0の割り込み禁止処理部13beは、周期C1においてレベル1割り込み禁止APIにより図7に示したレベル1の割り込み禁止制御を実行する。すなわち、VM#0の割り込み禁止処理部13beは、自VM処理内のみ割り込み禁止となるように割り込み禁止処理を実行する。 In this case, as shown in FIG. 8, the interrupt prohibition processing unit 13be of VM#0 executes the level 1 interrupt prohibition control shown in FIG. 7 by the level 1 interrupt prohibition API in cycle C1. That is, the interrupt prohibition processing unit 13be of VM#0 executes interrupt prohibition processing so that interrupts are prohibited only in the process of its own VM.

したがって、図8に示すように、かかる割り込み禁止処理の途中で周期C2が到来すれば、VM#0の割り込み禁止処理部13beは、通常通りVM#1へ実行空間を割り当てる切り替え制御を切り替え制御部13aに実行させる。これにより、周期C2の間、VM#0の割り込み禁止処理部13beによる割り込み禁止処理は一時的に停止される。 Therefore, as shown in FIG. 8, when the cycle C2 arrives in the middle of the interrupt prohibition processing, the interrupt prohibition processing unit 13be of the VM#0 switches the switching control to allocate the execution space to the VM#1 as usual. 13a to execute. As a result, the interrupt prohibition processing by the interrupt prohibition processing unit 13be of the VM#0 is temporarily stopped during the cycle C2.

そして、周期C3が到来し、自VMへ実行空間が割り当てられれば、VM#0の割り込み禁止処理部13beは、一時的に停止されていた割り込み禁止処理を再開する。かかる割り込み禁止処理が終了すれば、VM#0の割り込み禁止処理部13beは、レベル1割り込み禁止解除APIにより自VM処理内における割り込み禁止を解除する。 Then, when the cycle C3 arrives and the execution space is allocated to its own VM, the interrupt prohibition processing unit 13be of the VM#0 restarts the interrupt prohibition processing that has been temporarily stopped. When the interrupt disabling process ends, the interrupt disabling processing unit 13be of VM#0 cancels the interrupt disabling in its own VM process by the level 1 interrupt disabling cancellation API.

すなわち、図9に示すように、レベル1の割り込み禁止処理では、自VM割り込み禁止処理が実行される(ステップS101)。そして、レベル1の割り込み禁止解除処理では、自VM割り込み禁止解除処理が実行される(ステップS102)。 That is, as shown in FIG. 9, in the level 1 interrupt prohibition process, the own VM interrupt prohibition process is executed (step S101). Then, in the level 1 interrupt prohibition release process, self VM interrupt prohibition release process is executed (step S102).

つづいて、レベル2について説明する。図10は、レベル2の割り込み禁止処理の処理説明図である。また、図11は、レベル2の割り込み禁止処理の処理手順を示すフローチャートである。 Next, level 2 will be explained. FIG. 10 is a processing explanatory diagram of level 2 interrupt prohibition processing. FIG. 11 is a flow chart showing the processing procedure of level 2 interrupt prohibition processing.

図10に示すように、VM#0が、周期C1の途中において割り込み禁止処理を実行する必要があり、かかる割り込み禁止処理のレベルはレベル2であったものとする。 As shown in FIG. 10, it is assumed that VM#0 needs to execute interrupt disabling processing in the middle of cycle C1, and the interrupt disabling processing level is level 2. FIG.

かかる場合、図10に示すように、VM#0の割り込み禁止処理部13beは、かかる割り込み禁止処理を周期C1の残り時間内で実施可能であれば、レベル2割り込み禁止APIにより実行する。 In such a case, as shown in FIG. 10, the interrupt prohibition processing unit 13be of VM#0 executes the interrupt prohibition processing using the level 2 interrupt prohibition API if the interrupt prohibition processing can be performed within the remaining time of the cycle C1.

そして、VM#0の割り込み禁止処理部13beは、かかる割り込み禁止処理が終了すれば、レベル2割り込み禁止解除APIにより割り込み禁止を解除し、通常通りVM#1へ実行空間を割り当てる切り替え制御を切り替え制御部13aに実行させる。 Then, when the interrupt prohibition processing is completed, the interrupt prohibition processing unit 13be of VM#0 cancels the interrupt prohibition by the level 2 interrupt prohibition release API, and performs switching control to allocate the execution space to VM#1 as usual. The part 13a is made to execute.

一方、周期C1の残り時間内でレベル2の割り込み禁止処理を実施不可であれば、VM#0の割り込み禁止処理部13beは、次の周期C3まで割り込み禁止処理を保留する。そして、次の周期C3が到来すれば、VM#0の割り込み禁止処理部13beは、保留していた割り込み禁止処理をレベル2割り込み禁止APIにより実行する。そして、かかる割り込み禁止処理が終了すれば、レベル2割り込み禁止解除APIにより割り込み禁止を解除する。 On the other hand, if the level 2 interrupt prohibition processing cannot be executed within the remaining time of the cycle C1, the interrupt prohibition processing unit 13be of the VM#0 suspends the interrupt prohibition processing until the next cycle C3. Then, when the next cycle C3 arrives, the interrupt prohibition processing unit 13be of VM#0 executes the suspended interrupt prohibition processing using the level 2 interrupt prohibition API. Then, when the interrupt disabling process ends, the interrupt disabling is released by the level 2 interrupt disabling API.

すなわち、図11に示すように、レベル2の割り込み禁止処理では、取得部13bcが、自VMの残り時間を取得し(ステップS201)、判定部13bdが、自VMの残り時間の方が割り込み禁止処理時間より大きいか否かを判定する(ステップS202)。 That is, as illustrated in FIG. 11 , in the level 2 interrupt prohibition processing, the acquisition unit 13bc acquires the remaining time of the own VM (step S201), and the determination unit 13bd determines that the remaining time of the own VM is interrupt prohibition. It is determined whether or not it is longer than the processing time (step S202).

自VMの残り時間の方が大きい場合(ステップS202,Yes)、自VM割り込み禁止処理が実行される(ステップS203)。自VMの残り時間の方が小さい場合(ステップS202,No)、自VM終了待ち、すなわち次の周期C3まで自VM割り込み禁止処理が保留される(ステップS204)。 If the self-VM remaining time is longer (step S202, Yes), self-VM interrupt prohibition processing is executed (step S203). If the remaining time of the own VM is shorter (step S202, No), the own VM interrupt disable processing is suspended until the end of the own VM, that is, until the next period C3 (step S204).

そして、レベル2の割り込み禁止解除処理では、自VM割り込み禁止解除処理が実行される(ステップS205)。 Then, in the level 2 interrupt prohibition release process, self VM interrupt prohibition release process is executed (step S205).

つづいて、レベル3について説明する。図12は、レベル3の割り込み禁止処理の処理説明図である。また、図13は、レベル3の割り込み禁止処理の処理手順を示すフローチャートである。 Next, level 3 will be explained. FIG. 12 is a processing explanatory diagram of level 3 interrupt prohibition processing. FIG. 13 is a flow chart showing the processing procedure of level 3 interrupt prohibition processing.

図12に示すように、VM#0が、周期C1の途中において割り込み禁止処理を実行する必要があり、かかる割り込み禁止処理のレベルはレベル3であったものとする。 As shown in FIG. 12, it is assumed that VM#0 needs to execute interrupt disabling processing in the middle of cycle C1, and the interrupt disabling processing level is level 3. FIG.

かかる場合、図12に示すように、VM#0の割り込み禁止処理部13beは、周期C1においてレベル3割り込み禁止APIにより図7に示したレベル3の割り込み禁止制御を実行する。すなわち、VM#0の割り込み禁止処理部13beは、他VMを含めすべて割り込み禁止となるように割り込み禁止処理を実行する。 In this case, as shown in FIG. 12, the interrupt prohibition processing unit 13be of VM#0 executes the level 3 interrupt prohibition control shown in FIG. 7 by the level 3 interrupt prohibition API in cycle C1. That is, the interrupt prohibition processing unit 13be of VM#0 executes interrupt prohibition processing so that interrupts are prohibited for all VMs including other VMs.

したがって、図12に示すように、かかる割り込み禁止処理の途中で周期C2が到来しても、VM#0の割り込み禁止処理部13beは、VM#1へ実行空間を割り当てる切り替え制御を切り替え制御部13aに実行させない。これにより、VM#0の割り込み禁止処理部13beによる割り込み禁止処理の間、実行空間はVM#0へ継続して割り当てられる。 Therefore, as shown in FIG. 12, even if the cycle C2 arrives in the middle of the interrupt prohibition process, the interrupt prohibition processing unit 13be of VM#0 switches the execution space allocation to VM#1 to the switching control unit 13a. do not let the As a result, the execution space is continuously allocated to VM#0 during the interrupt prohibition processing by the interrupt prohibition processing unit 13be of VM#0.

そして、VM#0の割り込み禁止処理部13beは、かかる割り込み禁止処理が終了すれば、レベル3割り込み禁止解除APIにより割り込み禁止を解除し、VM#1へ実行空間を割り当てる切り替え制御を切り替え制御部13aに実行させる。 Then, when the interrupt prohibition processing is completed, the interrupt prohibition processing unit 13be of VM#0 cancels the interrupt prohibition by the level 3 interrupt prohibition release API, and switches the switching control to allocate the execution space to VM#1. to execute.

すなわち、図13に示すように、レベル3の割り込み禁止処理では、他VMを含めすべて割り込み禁止とする全割り込み禁止処理が実行される(ステップS301)。そして、レベル3の割り込み禁止解除処理では、全割り込み禁止解除処理が実行される(ステップS302)。 That is, as shown in FIG. 13, in level 3 interrupt prohibition processing, all interrupt prohibition processing is executed to prohibit interrupts from all VMs including other VMs (step S301). Then, in the level 3 interrupt prohibition release process, all interrupt prohibition release process is executed (step S302).

上述してきたように、実施形態に係るECU10は、1つの制御部13(「プロセッサ」の一例に相当)で複数のVMを時分割で切り替えつつ動作させる仮想化制御装置であって、割り込み制御部13bbを備える。割り込み制御部13bbは、VMが実行する割り込み禁止処理ごとの重要度に応じて異なる割り込み制御を実行する。 As described above, the ECU 10 according to the embodiment is a virtualization control device that allows one control unit 13 (equivalent to an example of a "processor") to operate a plurality of VMs while switching them in a time-sharing manner. 13bb. The interrupt control unit 13bb executes interrupt control that differs according to the importance of each interrupt prohibition process executed by the VM.

したがって、実施形態に係るECU10によれば、複数のVMを共存させるにあたり柔軟かつ適切な割り込み制御を実現することができる。 Therefore, according to the ECU 10 according to the embodiment, it is possible to realize flexible and appropriate interrupt control when a plurality of VMs coexist.

また、割り込み制御部13bbは、上記重要度がレベル1(「第1の重要度」の一例に相当)である場合に、上記割り込み禁止処理を実行するVM内でのみ割り込み禁止となるように上記割り込み禁止処理を実行させる。 Further, the interrupt control unit 13bb, when the importance is level 1 (equivalent to an example of the "first importance"), disables the interrupt only in the VM that executes the interrupt disabling process. Execute interrupt disable processing.

したがって、実施形態に係るECU10によれば、上記割り込み禁止処理がレベル1で自VMにしか影響を及ぼさない場合に、他VMのVM処理に影響を及ぼすことなく、柔軟かつ適切な割り込み制御を実現することができる。 Therefore, according to the ECU 10 according to the embodiment, when the interrupt prohibition processing is level 1 and affects only the own VM, flexible and appropriate interrupt control is realized without affecting the VM processing of other VMs. can do.

また、割り込み制御部13bbは、上記重要度がレベル1よりも高いレベル2(「第2の重要度」の一例に相当)である場合に、次回のVMの切り替え周期の到来までに上記割り込み禁止処理が終了しないと判定される場合は、当該割り込み禁止処理に次回に実行空間が割り当てられるまで当該割り込み禁止処理を保留させる。 Further, when the importance is level 2 higher than level 1 (corresponding to an example of “second importance”), the interrupt control unit 13bb disables the interrupt before the next VM switching cycle. If it is determined that the processing will not end, the interrupt disabled processing is put on hold until an execution space is allocated to the interrupt disabled processing next time.

したがって、実施形態に係るECU10によれば、上記割り込み禁止処理がレベル2で処理中に他のVMに切り替わるとECUシステムに影響を与えるおそれがある場合に、処理中に他のVMに切り替わらないように上記割り込み禁止処理を実行させることができる。 Therefore, according to the ECU 10 according to the embodiment, if the interrupt prohibition processing is level 2 and switching to another VM during processing may affect the ECU system, the ECU 10 prevents switching to another VM during processing. can be caused to execute the above-described interrupt prohibition processing.

また、割り込み制御部13bbは、上記重要度がレベル2よりも高いレベル3(「第3の重要度」の一例に相当)である場合に、すべてのVMについて割り込み禁止となるように上記割り込み禁止処理を実行させる。 Further, the interrupt control unit 13bb disables interrupts so that interrupts are disabled for all VMs when the importance is level 3 higher than level 2 (corresponding to an example of "third importance"). Let the process run.

したがって、実施形態に係るECU10によれば、上記割り込み禁止処理がレベル3で、たとえば異常発生時など、ECUシステムとして即時実行する必要がある処理である場合に、自VMおよび他VMからの別の割り込みが行われることなく上記割り込み禁止処理を実行させることができる。 Therefore, according to the ECU 10 according to the embodiment, when the interrupt prohibition process is level 3 and the process needs to be executed immediately by the ECU system, for example, when an abnormality occurs, another The interrupt prohibition process can be executed without interrupting.

また、割り込み制御部13bbは、上記重要度がレベル3である場合に、上記割り込み禁止処理が終了して上記すべてのVMについての割り込み禁止が解除されるまでVMの切り替えを禁止させる。 Further, when the importance level is level 3, the interrupt control unit 13bb prohibits switching of VMs until the interrupt prohibition process is completed and interrupt prohibition for all the VMs is released.

したがって、実施形態に係るECU10によれば、上記割り込み禁止処理がレベル3である場合に、VMが切り替えられることなく継続して最後まで上記割り込み禁止処理を実行させることができる。 Therefore, according to the ECU 10 according to the embodiment, when the interrupt prohibition process is at level 3, the interrupt prohibition process can be continuously executed to the end without switching the VM.

なお、上述した実施形態では、割り込み禁止処理の重要度を3つのレベルに分けることとしたが、複数のレベルであればよい。したがって、2つであってもよいし、4つ以上であってもよい。 In the above-described embodiment, the importance of interrupt prohibition processing is divided into three levels, but a plurality of levels may be used. Therefore, it may be two, or four or more.

また、上述した実施形態では、主に2つのVMを例に挙げたが、VMは複数であればよく、したがって3つ以上であってもよい。 Also, in the above-described embodiment, two VMs are mainly exemplified, but the number of VMs may be any number as long as it is plural, and therefore may be three or more.

また、上述した実施形態では、ECU10を仮想制御装置の一例として挙げたが、1コアを搭載するコンピュータであればよく、ECU10以外の他の電子制御装置であってもよい。また、車両に搭載されるものに限らなくともよい。 Further, in the above-described embodiment, the ECU 10 is used as an example of a virtual control device, but any computer having one core may be used, and other electronic control devices other than the ECU 10 may be used. Moreover, it is not necessary to be limited to what is mounted in a vehicle.

また、実施形態に係る割り込み禁止処理は、割り込み要求があって割り込み処理を行う際に、他の割り込み処理の割り込みを禁止する処理であってもよいし、割り込み処理に限らない何らかの処理を行う際に、割り込み処理による割り込みを禁止する処理であってもよい。 Further, the interrupt prohibition process according to the embodiment may be a process of prohibiting an interrupt of another interrupt process when an interrupt process is performed in response to an interrupt request. Alternatively, it may be a process for prohibiting an interrupt by an interrupt process.

また、時分割する際の各VMの切り替え周期(各VMの割り当て時間)は、すべてのVMで同じ時間であってもよいし、時間を異ならせてもよい。たとえば、処理量が他のVMよりも多いVMは、切り替え周期(割り当て時間)を他のVMよりも長くするようにする。 Also, the switching cycle of each VM (the time allocated to each VM) in time-sharing may be the same for all VMs, or may be different. For example, a VM with a larger amount of processing than other VMs has a longer switching period (allocation time) than other VMs.

さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 Further effects and modifications can be easily derived by those skilled in the art. Therefore, the broader aspects of the invention are not limited to the specific details and representative embodiments so shown and described. Accordingly, various changes may be made without departing from the spirit or scope of the general inventive concept defined by the appended claims and equivalents thereof.

1 車載システム
10 ECU
11 タイマ
12 記憶部
12a 時分割情報
12b VM処理プログラム
12c 割り込み禁止レベル情報
12d プログラムカウンタ
12e 閾値情報
12f 割り込み禁止処理ライブラリ
13 制御部
13a 切り替え制御部
13b VM処理部
13ba 主処理部
13bb 割り込み制御部
13bc 取得部
13bd 判定部
13be 割り込み禁止処理部
1 in-vehicle system 10 ECU
11 timer 12 storage unit 12a time division information 12b VM processing program 12c interrupt inhibition level information 12d program counter 12e threshold information 12f interrupt inhibition processing library 13 control unit 13a switching control unit 13b VM processing unit 13ba main processing unit 13bb interrupt control unit 13bc acquisition Section 13bd Determining Section 13be Interrupt Disabling Processing Section

Claims (6)

1つのプロセッサで複数の仮想マシンを時分割で切り替えつつ動作させる仮想化制御装置であって、
前記仮想マシンが実行する割り込み禁止処理ごとの重要度に応じて異なる割り込み制御を実行する割り込み制御部
を備えることを特徴とする仮想化制御装置。
A virtualization control device that operates a plurality of virtual machines while switching them in a time division manner with one processor,
A virtualization control device comprising: an interrupt control unit that executes different interrupt control according to the importance of each interrupt disabled process executed by the virtual machine.
前記割り込み制御部は、
前記重要度が第1の重要度である場合に、前記割り込み禁止処理を実行する前記仮想マシン内でのみ割り込み禁止となるように前記割り込み禁止処理を実行させる
ことを特徴とする請求項1に記載の仮想化制御装置。
The interrupt control unit
2. The method according to claim 1, wherein when the importance is the first importance, the interrupt prohibition processing is executed so that the interrupt is prohibited only in the virtual machine that executes the interrupt prohibition processing. virtualization controller.
前記割り込み制御部は、
前記重要度が前記第1の重要度よりも高い第2の重要度である場合に、次回の前記仮想マシンの切り替え周期の到来までに前記割り込み禁止処理が終了しないと判定される場合は、当該割り込み禁止処理に次回に実行空間が割り当てられるまで当該割り込み禁止処理を保留させる
ことを特徴とする請求項2に記載の仮想化制御装置。
The interrupt control unit
When the importance is a second importance higher than the first importance, if it is determined that the interrupt prohibition processing will not end by the arrival of the next switching cycle of the virtual machine, the 3. The virtualization control device according to claim 2, wherein the interrupt disabled process is put on hold until an execution space is allocated to the interrupt disabled process next time.
前記割り込み制御部は、
前記重要度が前記第2の重要度よりも高い第3の重要度である場合に、すべての前記仮想マシンについて割り込み禁止となるように前記割り込み禁止処理を実行させる
ことを特徴とする請求項3に記載の仮想化制御装置。
The interrupt control unit
3. When the importance is a third importance higher than the second importance, the interrupt disabling process is executed so as to disable interrupts for all of the virtual machines. The virtualization control device according to .
前記割り込み制御部は、
前記重要度が前記第3の重要度である場合に、前記割り込み禁止処理が終了して前記すべての前記仮想マシンについての割り込み禁止が解除されるまで前記仮想マシンの切り替えを禁止させる
ことを特徴とする請求項4に記載の仮想化制御装置。
The interrupt control unit
When the importance is the third importance, the switching of the virtual machines is prohibited until the interrupt prohibition processing is completed and the interrupt prohibition for all the virtual machines is released. 5. The virtualization control device according to claim 4.
1つのプロセッサで複数の仮想マシンを時分割で切り替えつつ動作させる仮想化制御装置を用いた割り込み制御方法であって、
前記仮想マシンが実行する割り込み禁止処理ごとの重要度に応じて異なる割り込み制御を実行する割り込み制御工程
を含むことを特徴とする割り込み制御方法。
An interrupt control method using a virtualization control device for operating a plurality of virtual machines while switching them in a time division manner with one processor,
An interrupt control method, comprising: an interrupt control step of executing different interrupt control depending on the importance of each interrupt disabled process executed by the virtual machine.
JP2021138355A 2021-08-26 2021-08-26 Virtualization control device and interrupt control method Pending JP2023032307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021138355A JP2023032307A (en) 2021-08-26 2021-08-26 Virtualization control device and interrupt control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021138355A JP2023032307A (en) 2021-08-26 2021-08-26 Virtualization control device and interrupt control method

Publications (1)

Publication Number Publication Date
JP2023032307A true JP2023032307A (en) 2023-03-09

Family

ID=85416373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021138355A Pending JP2023032307A (en) 2021-08-26 2021-08-26 Virtualization control device and interrupt control method

Country Status (1)

Country Link
JP (1) JP2023032307A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025115486A1 (en) * 2023-11-28 2025-06-05 株式会社デンソー Operation control device, operation control program, and electronic control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02206841A (en) * 1989-02-06 1990-08-16 Fujitsu Ltd Virtual machine system
US20070300218A1 (en) * 2006-06-22 2007-12-27 Mann Eric K Interrupt processing on virtualized platform
WO2009157178A1 (en) * 2008-06-24 2009-12-30 パナソニック株式会社 Virtual computer control device, virtual computer control program, and virtual computer control circuit
WO2009156178A1 (en) * 2008-06-27 2009-12-30 Christian Seliger Flow-cytometric method for the determination of the total leukocyte number and thrombocyte number and for the leukocyte differentiation in avian blood samples

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02206841A (en) * 1989-02-06 1990-08-16 Fujitsu Ltd Virtual machine system
US20070300218A1 (en) * 2006-06-22 2007-12-27 Mann Eric K Interrupt processing on virtualized platform
WO2009157178A1 (en) * 2008-06-24 2009-12-30 パナソニック株式会社 Virtual computer control device, virtual computer control program, and virtual computer control circuit
WO2009156178A1 (en) * 2008-06-27 2009-12-30 Christian Seliger Flow-cytometric method for the determination of the total leukocyte number and thrombocyte number and for the leukocyte differentiation in avian blood samples

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025115486A1 (en) * 2023-11-28 2025-06-05 株式会社デンソー Operation control device, operation control program, and electronic control device

Similar Documents

Publication Publication Date Title
US10754991B2 (en) Method to isolate real-time or safety-critical software and operating system from non-critical software and operating system
JP4576452B2 (en) Operating system and information processing apparatus
CN111324432B (en) Processor scheduling method, device, server and storage medium
JP5894496B2 (en) Semiconductor device
EP2996043B1 (en) Debugging in a data processing apparatus
JP6838223B2 (en) Vehicle control device
JP5533789B2 (en) In-vehicle electronic control unit
JP2023032307A (en) Virtualization control device and interrupt control method
JP6679419B2 (en) Memory protection unit, memory management unit, and microcontroller
EP3036629B1 (en) Handling time intensive instructions
JP2017204083A (en) Memory protection system
JP2019114097A (en) Semiconductor device
JP2020159344A (en) Control device and control method
JP2008071356A (en) Interrupt prohibition section processing apparatus and method, and page fixing apparatus and method
JP2023047154A (en) electronic controller
JP7574806B2 (en) Information processing device, vehicle, information processing method, and information processing program
JP5703505B2 (en) Computer with bus partition structure
JP2024062067A (en) Virtualization control device and virtualization control method
JP2008176646A (en) Multiprocessor system
JP2008225710A (en) Computer system and process-switching method used in the system
JP5561295B2 (en) Microcomputer
WO2025115486A1 (en) Operation control device, operation control program, and electronic control device
JP2025112863A (en) Electronic control device, memory area allocation method, and memory area allocation program
JP4911842B2 (en) Interrupt control circuit
JP2023152485A (en) Processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250603

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20251202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20260129