JP2011008702A - Fault processor - Google Patents

Fault processor Download PDF

Info

Publication number
JP2011008702A
JP2011008702A JP2009154028A JP2009154028A JP2011008702A JP 2011008702 A JP2011008702 A JP 2011008702A JP 2009154028 A JP2009154028 A JP 2009154028A JP 2009154028 A JP2009154028 A JP 2009154028A JP 2011008702 A JP2011008702 A JP 2011008702A
Authority
JP
Japan
Prior art keywords
failure
level
failure level
software
virtual processor
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
JP2009154028A
Other languages
Japanese (ja)
Inventor
Tetsuaki Wakabayashi
哲明 若林
Soichiro Arai
総一郎 荒井
Kotaro Sato
浩太郎 佐藤
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 Corp
Toyota Motor Corp
Renesas Electronics Corp
Original Assignee
Denso Corp
Toyota Motor Corp
Renesas Electronics Corp
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 Corp, Toyota Motor Corp, Renesas Electronics Corp filed Critical Denso Corp
Priority to JP2009154028A priority Critical patent/JP2011008702A/en
Publication of JP2011008702A publication Critical patent/JP2011008702A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a fault processor that performs proper fault handling operation when a fault occurs.SOLUTION: A CPU 110 includes: three first registers 13, 23, 33 storing in advance first fault level information for defining a process when first software 11, 21, 31 disposed on first VCPUs 12, 22, 32 and operating thereon detect a fault; a fault level setting section 451 which, if any of the first softwares 11, 21, 31 detects a fault, reads from the first registers 13, 23, 33 the first fault level information corresponding to the first software that has detected the fault and sets the information as a fault level for defining the fault handling operation; and a process execution section 453 which executes the fault handling corresponding to the set fault level.

Description

本発明は、例えば、1個の物理プロセッサ上に搭載された2個以上の第1個数の第1仮想プロセッサにおいて、それぞれ動作する前記第1個数の第1ソフトウェアのいずれかが故障を検出した場合に、故障が発生した第1ソフトウェアが動作する第1仮想プロセッサに対応する処理を行う、前記1個の物理プロセッサ上に搭載された故障処理装置に関する。特に、車両に搭載される故障処理装置に関する。更に特定的には、車両に搭載されるECU(Electronic Control Unit)を機能統合する場合に配設される故障処理装置に関する。   In the present invention, for example, in the case where two or more first virtual processors mounted on one physical processor detect a failure in any of the first number of first software operating respectively. Furthermore, the present invention relates to a failure processing apparatus mounted on the one physical processor, which performs processing corresponding to the first virtual processor in which the first software in which the failure has occurred operates. In particular, the present invention relates to a failure processing apparatus mounted on a vehicle. More specifically, the present invention relates to a failure processing apparatus that is provided when integrating an ECU (Electronic Control Unit) mounted on a vehicle.

従来、車両に搭載された種々の機器は、ECUによって制御されている。また、近年、車両に搭載される各種機器における制御の高度化、複雑化に伴い、車両に搭載されるECUの個数が増大しており、ECUを機能統合して、その個数を削減することが提案されている(例えば、特許文献1参照)。   Conventionally, various devices mounted on a vehicle are controlled by an ECU. In recent years, the number of ECUs mounted on vehicles has increased along with the sophistication and complexity of control in various devices mounted on vehicles, and it is possible to reduce the number of ECUs by integrating their functions. It has been proposed (see, for example, Patent Document 1).

特許文献1には、自動車に搭載される複数の機器をそれぞれ制御する複数の電子制御ユニット(ECUに相当する)を統合した統合電子制御装置が記載されており、当該統合電子制御装置は、以下の構成を備えている。すなわち、上記統合電子制御装置は、複数の電子制御ユニットの演算処理部を統合して設けた基板と、複数の電子制御ユニットの入出力部と駆動回路とを統合して設けた入出力ユニットとを備え、基板の演算処理部と、入出力ユニットの入出力部及び駆動回路とは、基板又は入出力ユニットのいずれか一方に設けたシフト記憶手段と、該シフト記憶手段に接続した専用回路とを介して接続し、基板と入出力ユニットとは専用回線を構成する配線を介して接続している。   Patent Document 1 describes an integrated electronic control device that integrates a plurality of electronic control units (corresponding to ECUs) that respectively control a plurality of devices mounted on an automobile. The integrated electronic control device is described below. It has the composition of. That is, the integrated electronic control device includes a substrate provided with integrated processing units of a plurality of electronic control units, an input / output unit provided with integrated input / output units and drive circuits of the plurality of electronic control units, The substrate processing unit, the input / output unit of the input / output unit, and the drive circuit include shift storage means provided on either the substrate or the input / output unit, and a dedicated circuit connected to the shift storage means The substrate and the input / output unit are connected via a wire constituting a dedicated line.

上記統合電子制御装置によれば、演算処理部を設けた基板と入出力ユニットとを多重通信で接続して信号の送受信を行うのではなく、シフト記憶手段及び専用回路を介して信号の送受信を行っているため、演算処理部を設けた基板及び入出力ユニットに多重通信用の部品を設ける必要がなく、基板及び入出力ユニットを小型化できる。   According to the integrated electronic control device, the board having the arithmetic processing unit and the input / output unit are not connected by multiplex communication to transmit / receive signals, but transmit / receive signals via the shift storage means and the dedicated circuit. Therefore, it is not necessary to provide components for multiplex communication on the board and the input / output unit provided with the arithmetic processing unit, and the board and the input / output unit can be downsized.

特開2008−296871号公報JP 2008-296871 A

しかしながら、特許文献1に記載の統合電子制御装置では、機能統合前の複数のECUにそれぞれ予め設定されていた故障レベルを保ちながら動作することは困難である。すなわち、ECUには、それぞれ、故障レベルが設定されており、設定された故障レベルに応じた設計が行われている。従って、複数のECUを1個のECUに機能統合する場合に、故障発生時に、統合された1個のECUの故障レベルで動作することは適切ではないのである。   However, it is difficult for the integrated electronic control device described in Patent Document 1 to operate while maintaining a failure level set in advance in each of a plurality of ECUs before function integration. That is, a failure level is set for each ECU, and a design corresponding to the set failure level is performed. Accordingly, when functions of a plurality of ECUs are integrated into one ECU, it is not appropriate to operate at the failure level of one integrated ECU when a failure occurs.

例えば、故障に対して強いことが要求されるブレーキ等を制御するECUでは、故障が発生した場合であっても、最低限の動作が可能なECUとして設計されている。これに対して、故障に対する強さの要求が比較的緩やかなパワーシート等を制御するECUでは、故障が発生した場合に、インパネ等にアラームを表示してその動作を停止する等の処理がなされる。   For example, an ECU that controls a brake or the like that is required to be strong against a failure is designed as an ECU that can perform a minimum operation even when a failure occurs. On the other hand, in an ECU that controls a power seat or the like whose demand for strength against failure is relatively low, when a failure occurs, an alarm is displayed on an instrument panel or the like to stop the operation. The

本発明は、上記事情に鑑みてなされたものであって、故障発生時に、適正な故障処理動作を行うことの可能な故障処理装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a failure processing apparatus capable of performing an appropriate failure processing operation when a failure occurs.

上記目的を達成するために、本発明は、以下の特徴を有している。第1の発明は、1個の物理プロセッサ上に搭載された2個以上の第1個数の第1仮想プロセッサにおいて、それぞれ動作する前記第1個数の第1ソフトウェアのいずれかが故障を検出した場合に、故障が発生した第1ソフトウェアが動作する第1仮想プロセッサに対応する処理を行う、前記1個の物理プロセッサ上に搭載された故障処理装置であって、前記第1個数の仮想プロセッサ上にそれぞれ配設され、前記第1個数の仮想プロセッサ上でそれぞれ動作する第1ソフトウェアが故障を検出した場合の処理を規定する第1故障レベル情報を予め格納する前記第1個数の第1記憶手段と、前記第1ソフトウェアが故障を検出した場合に、故障を検出した第1ソフトウェアに対応する第1故障レベル情報を前記第1記憶手段から読み出し、故障処理動作を規定する故障レベルとして設定する故障レベル設定手段と、前記故障レベル設定手段によって設定された故障レベルに対応する故障処理動作を実行する処理実行手段と、を備える。   In order to achieve the above object, the present invention has the following features. According to a first aspect of the present invention, in the first number of first virtual processors of two or more mounted on one physical processor, when any one of the first number of first software operating respectively detects a failure And a failure processing apparatus mounted on the one physical processor for performing processing corresponding to the first virtual processor on which the first software in which the failure has occurred operates, wherein the failure processing apparatus is mounted on the first number of virtual processors. A first number of first storage means for preliminarily storing first failure level information that defines the processing when the first software that is respectively disposed and operates on the first number of virtual processors detects a failure; When the first software detects a failure, first failure level information corresponding to the first software that has detected the failure is read from the first storage means, and the failure is detected. It includes a failure level setting means for setting as a failure level for defining the management operation, and process execution means for executing a fault handling operation corresponding to the failure level set by the failure level setting means.

第2の発明は、上記第1の発明において、前記第1個数の第1仮想プロセッサが、それぞれ、前記1個の物理プロセッサ上に機能統合された、前記第1個数の物理プロセッサの機能を模擬するプロセッサである。   According to a second invention, in the first invention, the function of the first number of physical processors, in which the first number of first virtual processors are respectively function-integrated on the one physical processor, is simulated. Processor.

第3の発明は、上記第2の発明において、前記1個の物理プロセッサ、及び、前記第1個数の物理プロセッサが、それぞれ、車両に搭載されたECU(Electronic Control Unit)である。   In a third aspect based on the second aspect, the one physical processor and the first number of physical processors are each an ECU (Electronic Control Unit) mounted in a vehicle.

第4の発明は、上記第1の発明において、前記故障レベル設定手段、及び、前記処理実行手段が、前記1個の物理プロセッサ上に搭載された第2仮想プロセッサの一部として構成されている。   In a fourth aspect based on the first aspect, the failure level setting means and the processing execution means are configured as a part of a second virtual processor mounted on the one physical processor. .

第5の発明は、上記第1の発明において、前記第1記憶手段が、レジスタから構成されている。   In a fifth aspect based on the first aspect, the first storage means comprises a register.

第6の発明は、上記第4の発明において、前記第2仮想プロセッサが、該第2仮想プロセッサ上で動作する第2ソフトウェアが故障を検出した場合の処理を規定する第2故障レベル情報を予め格納する第2記憶手段を備え、前記故障レベル設定手段が、前記第2ソフトウェアが故障を検出した場合に、前記第2記憶手段に格納された第2故障レベルに基づいて、故障処理動作を規定する故障レベルを設定し、前記処理実行手段が、前記故障レベル設定手段によって設定された故障レベルに対応する故障処理動作を実行する。   In a sixth aspect based on the fourth aspect, the second virtual processor preliminarily stores second failure level information defining a process when the second software operating on the second virtual processor detects a failure. A second storage means for storing, and the failure level setting means defines a failure processing operation based on the second failure level stored in the second storage means when the second software detects a failure. The failure execution level corresponding to the failure level set by the failure level setting unit is executed by the process execution unit.

第7の発明は、上記第6の発明において、前記故障レベル設定手段が、前記第1記憶手段から読み出された第1故障レベルが、前記第2記憶手段に格納された第2故障レベルと一致するか否かを判定する比較回路を備え、前記処理実行手段が、前記比較回路において第2故障レベルと一致すると判定された場合に、前記第2ソフトウェアに規定された故障処理動作を実行する。   In a seventh aspect based on the sixth aspect, the failure level setting means is configured such that the first failure level read from the first storage means is a second failure level stored in the second storage means. Comparing circuit for determining whether or not they match, and when the processing execution means determines that the second failure level matches with the comparing circuit, executes the failure processing operation defined in the second software .

第8の発明は、上記第6の発明において、前記第2記憶手段が、レジスタから構成されている。   In an eighth aspect based on the sixth aspect, the second storage means is constituted by a register.

第9の発明は、上記第1の発明において、前記故障レベル情報が、故障が発生した第1ソフトウェアを、前記第1個数の第1仮想プロセッサの内、故障が発生していない第1仮想プロセッサ上で動作させる故障処理動作である第1故障処理動作に対応する第1の特定故障レベル情報を含む。   In a ninth aspect based on the first aspect, the failure level information indicates the first software in which a failure has occurred, the first virtual processor in which no failure has occurred among the first number of first virtual processors. The first specific failure level information corresponding to the first failure processing operation which is the failure processing operation operated above is included.

第10の発明は、上記第9の発明において、前記故障レベル設定手段によって設定された故障レベルが、前記第1の特定故障レベルである場合に、前記第1個数の第1仮想プロセッサの中から、前記第1故障処理動作を実行させる故障が発生していない1個の第1仮想プロセッサである代替仮想プロセッサを選定する選定手段を備え、前記処理実行手段が、前記選定手段によって選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアを動作させる。   In a tenth aspect based on the ninth aspect, when the failure level set by the failure level setting means is the first specific failure level, the first number of first virtual processors are selected. Selection means for selecting an alternative virtual processor which is one first virtual processor in which no failure has occurred to execute the first failure processing operation, and the processing execution means is the alternative selected by the selection means The first software in which the failure has occurred is operated on the virtual processor.

第11の発明は、上記第10の発明において、前記選定手段が、前記第1個数の第1仮想プロセッサの中から、各第1仮想プロセッサの負荷率に基づいて、前記代替仮想プロセッサを選定する。   In an eleventh aspect based on the tenth aspect, the selecting means selects the alternative virtual processor from the first number of first virtual processors based on a load factor of each first virtual processor. .

第12の発明は、上記第10の発明において、前記選定手段が、前記第1個数の第1仮想プロセッサの中から、各第1仮想プロセッサの第1記憶手段に格納された第1故障レベルに基づいて、前記代替仮想プロセッサを選定する。   In a twelfth aspect based on the tenth aspect, the selecting means sets the first failure level stored in the first storage means of each first virtual processor from the first number of first virtual processors. Based on this, the alternative virtual processor is selected.

第13の発明は、上記第10の発明において、前記処理実行手段が、前記選定手段によって選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、予め設定された一部の機能を動作させる。   In a thirteenth aspect based on the tenth aspect, the process execution means includes a part of preset functions of the first software in which a failure has occurred on the alternative virtual processor selected by the selection means. To work.

第14の発明は、上記第10の発明において、前記処理実行手段が、前記選定手段によって選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、必要最低限の機能を動作させる。   In a fourteenth aspect based on the tenth aspect, the processing execution unit operates a minimum necessary function in the first software in which the failure has occurred on the alternative virtual processor selected by the selection unit. .

第15の発明は、上記第1の発明において、前記故障レベル情報が、故障が発生した第1ソフトウェアに対応する第1仮想プロセッサのリセットを、予め設定された所定回数迄繰り返し実行し、故障が解消しない場合には、該第1ソフトウェアの実行を停止する故障処理動作である第2故障処理動作に対応する第2の特定故障レベル情報を含む。   In a fifteenth aspect based on the first aspect, the failure level information repeatedly executes a reset of the first virtual processor corresponding to the first software in which the failure has occurred up to a predetermined number of times. If not solved, the second specific failure level information corresponding to the second failure processing operation that is the failure processing operation for stopping the execution of the first software is included.

第16の発明は、上記第1の発明において、前記第1個数の第1記憶手段にそれぞれ格納された前記第1個数の第1故障レベル情報のいずれかに対応する第3故障レベル情報を、予め格納する第3記憶手段を備え、前記故障レベル設定手段が、前記第1ソフトウェアが故障を検出した場合に、故障を検出した第1ソフトウェアに対応する第1故障レベル情報を前記第1記憶手段から読み出すと共に第3故障レベル情報を前記第3記憶手段から読み出し、読み出された第1故障レベル情及び第3故障レベル情報に基づいて、故障処理動作を規定する故障レベルを設定する。   In a sixteenth aspect based on the first aspect, third failure level information corresponding to any one of the first number of first failure level information respectively stored in the first number of first storage means, Third storage means for storing in advance, and when the failure level setting means detects a failure in the first software, first failure level information corresponding to the first software that has detected the failure is stored in the first storage means. And the third failure level information is read from the third storage means, and a failure level that defines the failure processing operation is set based on the read first failure level information and third failure level information.

第17の発明は、上記第16の発明において、前記故障レベル設定手段が、前記第1故障レベル情及び前記第3故障レベル情報の内、要求レベルの高い方の故障レベルを、故障処理動作を規定する故障レベルとして設定する。   In a seventeenth aspect based on the sixteenth aspect, the failure level setting means performs a failure processing operation on a failure level having a higher required level of the first failure level information and the third failure level information. Set as the specified failure level.

第18の発明は、上記第16の発明において、前記第3記憶手段は、レジスタから構成されている。   In an eighteenth aspect based on the sixteenth aspect, the third storage means comprises a register.

上記第1の発明によれば、1個の物理プロセッサ上に搭載された2個以上の第1個数の仮想プロセッサ上にそれぞれ配設され、前記第1個数の仮想プロセッサ上でそれぞれ動作する第1ソフトウェアが故障を検出した場合の処理を規定する第1故障レベル情報が、前記第1個数の第1記憶手段に予め格納されている。また、前記第1ソフトウェアが故障を検出した場合に、故障レベル設定手段によって、故障を検出した第1ソフトウェアに対応する第1故障レベル情報が前記第1記憶手段から読み出され、故障処理動作を規定する故障レベルとして設定される。そして、処理実行手段によって、設定された故障レベルに対応する故障処理動作が実行される。従って、故障発生時に、適正な故障処理動作を行うことができる。   According to the first aspect of the present invention, the first and second virtual processors each disposed on two or more first virtual processors mounted on one physical processor and operating on the first virtual processors respectively. First failure level information that defines processing when software detects a failure is stored in advance in the first number of first storage means. Further, when the first software detects a failure, the failure level setting means reads out the first failure level information corresponding to the first software that has detected the failure from the first storage means, and performs the failure processing operation. It is set as the specified failure level. Then, a failure processing operation corresponding to the set failure level is executed by the processing execution means. Therefore, when a failure occurs, an appropriate failure processing operation can be performed.

すなわち、故障を検出した第1ソフトウェアに対応する第1故障レベル情報が前記第1記憶手段から読み出され、故障処理動作を規定する故障レベルとして設定され、設定された故障レベルに対応する故障処理動作が実行されるため、前記第1個数の第1記憶手段に適正な故障レベル情報を格納することによって、適正な故障処理動作を行うことができるのである。   That is, the first failure level information corresponding to the first software that has detected the failure is read from the first storage means, set as the failure level that defines the failure processing operation, and the failure processing corresponding to the set failure level Since the operation is executed, an appropriate failure processing operation can be performed by storing appropriate failure level information in the first number of first storage means.

上記第2の発明によれば、前記第1個数の第1仮想プロセッサが、それぞれ、前記1個の物理プロセッサ上に機能統合された、前記第1個数の物理プロセッサの機能を模擬するプロセッサである。従って、前記第1個数の物理プロセッサを前記1個の物理プロセッサ上に機能統合した場合に、適正な故障処理動作を行うことができる。   According to the second aspect, each of the first number of first virtual processors is a processor simulating the function of the first number of physical processors, each function integrated on the one physical processor. . Therefore, when the first number of physical processors are functionally integrated on the one physical processor, an appropriate failure processing operation can be performed.

すなわち、例えば、前記第1個数の第1記憶手段に、前記前記第1個数の物理プロセッサに設定されていた故障レベル情報を、それぞれ格納することによって、適正な故障処理動作を行うことができるのである。   That is, for example, by storing the failure level information set in the first number of physical processors in the first number of first storage means, it is possible to perform an appropriate failure processing operation. is there.

上記第3の発明によれば、前記1個の物理プロセッサ、及び、前記第1個数の物理プロセッサが、それぞれ、車両に搭載されたECUである。従って、前記第1個数のECUを前記1個のECU上に機能統合した場合に、適正な故障処理動作を行うことができる。   According to the third aspect, each of the one physical processor and the first number of physical processors is an ECU mounted on a vehicle. Therefore, when the first number of ECUs are function-integrated on the one ECU, an appropriate failure handling operation can be performed.

すなわち、例えば、前記第1個数の第1記憶手段に、前記前記第1個数のECUに設定されていた故障レベル情報を、それぞれ格納することによって、適正な故障処理動作を行うことができるのである。   That is, for example, by storing the failure level information set in the first number of ECUs in the first number of first storage means, an appropriate failure processing operation can be performed. .

上記第4の発明によれば、前記故障レベル設定手段、及び、前記処理実行手段が、前記1個の物理プロセッサ上に搭載された第2仮想プロセッサの一部として構成されている。従って、簡素な構成で、適正な故障処理動作を行うことができる。   According to the fourth aspect, the failure level setting means and the process execution means are configured as a part of the second virtual processor mounted on the one physical processor. Therefore, an appropriate failure handling operation can be performed with a simple configuration.

上記第5の発明によれば、前記第1記憶手段が、レジスタから構成されている。従って、簡素な構成で、故障処理動作を迅速に行うことができる。   According to the fifth aspect, the first storage means is constituted by a register. Therefore, the failure processing operation can be performed quickly with a simple configuration.

上記第6の発明によれば、前記第2仮想プロセッサの第2記憶手段に、該第2仮想プロセッサ上で動作する第2ソフトウェアが故障を検出した場合の処理を規定する第2故障レベル情報が予め格納されている。そして、前記第2ソフトウェアが故障を検出した場合に、前記第2記憶手段に格納された第2故障レベルに基づいて、故障処理動作を規定する故障レベルが設定される。更に、設定された故障レベルに対応する故障処理動作が実行される。従って、前記第2ソフトウェアが故障を検出した場合にも、適正な故障処理動作を行うことができる。   According to the sixth aspect of the present invention, the second failure level information defining the processing when the second software operating on the second virtual processor detects a failure is stored in the second storage means of the second virtual processor. Stored in advance. Then, when the second software detects a failure, a failure level that defines a failure processing operation is set based on the second failure level stored in the second storage means. Further, a failure processing operation corresponding to the set failure level is executed. Therefore, even when the second software detects a failure, an appropriate failure processing operation can be performed.

すなわち、前記第2ソフトウェアが故障を検出した場合に、前記第2記憶手段に格納された第2故障レベルに基づいて故障処理動作が実行されるため、前記第2故障レベルとして適正な故障レベルを設定することによって、前記第2ソフトウェアが故障を検出した場合にも、適正な故障処理動作を行うことができるのである。   That is, when the second software detects a failure, a failure processing operation is executed based on the second failure level stored in the second storage means. Therefore, an appropriate failure level is set as the second failure level. By setting, even when the second software detects a failure, an appropriate failure processing operation can be performed.

上記第7の発明によれば、比較回路において、前記第1記憶手段から読み出された第1故障レベルが、前記第2記憶手段に格納された第2故障レベルと一致するか否かが判定される。そして、該比較回路において第2故障レベルと一致すると判定された場合に、前記第2ソフトウェアに規定された故障処理動作が実行される。従って、故障発生時に、適正な故障処理動作を迅速に行うことができる。   According to the seventh aspect, in the comparison circuit, it is determined whether or not the first failure level read from the first storage means matches the second failure level stored in the second storage means. Is done. When the comparison circuit determines that the second failure level matches, the failure processing operation defined in the second software is executed. Therefore, when a failure occurs, an appropriate failure processing operation can be performed quickly.

上記第8の発明によれば、前記第2記憶手段が、レジスタから構成されている。従って、簡素な構成で、故障処理動作を迅速に行うことができる。   According to the eighth aspect, the second storage means is constituted by a register. Therefore, the failure processing operation can be performed quickly with a simple configuration.

上記第9の発明によれば、前記故障レベル情報が、故障が発生した第1ソフトウェアを、前記第1個数の第1仮想プロセッサの内、故障が発生していない第1仮想プロセッサ上で動作させる故障処理動作である第1故障処理動作に対応する第1の特定故障レベル情報を含む。従って、前記第1仮想プロセッサに対して、故障に対して強いことが要求される場合に、適切な故障処理動作を行うことができる。   According to the ninth aspect, the failure level information causes the first software in which a failure has occurred to operate on a first virtual processor in which no failure has occurred among the first number of first virtual processors. The first specific failure level information corresponding to the first failure processing operation which is the failure processing operation is included. Therefore, when the first virtual processor is required to be strong against a failure, an appropriate failure processing operation can be performed.

すなわち、故障に対して強いことが要求され、前記第1の特定故障レベルが設定されている前記第1仮想プロセッサにおいて、故障が検出された場合に、故障が発生した第1ソフトウェアが、故障が発生していない第1仮想プロセッサ上で動作されるため、適切な故障処理動作を行うことができるのである。   That is, when a failure is detected in the first virtual processor that is required to be strong against a failure and the first specific failure level is set, the first software in which the failure has occurred Since it is operated on the first virtual processor that has not occurred, an appropriate failure processing operation can be performed.

上記第10の発明によれば、前記故障レベル設定手段によって設定された故障レベルが、前記第1の特定故障レベルである場合に、前記第1個数の第1仮想プロセッサの中から、前記第1故障処理動作を実行させる故障が発生していない1個の第1仮想プロセッサである代替仮想プロセッサが選定される。そして、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアが動作される。従って、前記第1仮想プロセッサに対して、故障に対して強いことが要求される場合に、更に適切な故障処理動作を行うことができる。   According to the tenth aspect, when the failure level set by the failure level setting means is the first specific failure level, the first number of the first virtual processors are selected from the first number of first virtual processors. An alternative virtual processor that is one first virtual processor in which no failure has occurred for executing the failure processing operation is selected. Then, the first software in which the failure has occurred is operated on the selected alternative virtual processor. Therefore, when the first virtual processor is required to be strong against a failure, a more appropriate failure processing operation can be performed.

すなわち、故障に対して強いことが要求され、前記第1の特定故障レベルが設定されている前記第1仮想プロセッサにおいて、故障が検出された場合に、故障が発生していない1個の第1仮想プロセッサである代替仮想プロセッサが選定され、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアが動作されるため、前記代替仮想プロセッサを適正に選定することによって、更に適切な故障処理動作を行うことができるのである。   That is, when a failure is detected in the first virtual processor that is required to be strong against a failure and the first specific failure level is set, one first that has not failed. Since an alternative virtual processor that is a virtual processor is selected and the first software in which the failure has occurred is operated on the selected alternative virtual processor, more appropriate failure processing can be performed by appropriately selecting the alternative virtual processor. It can do the action.

上記第11の発明によれば、前記第1個数の第1仮想プロセッサの中から、各第1仮想プロセッサの負荷率に基づいて、前記代替仮想プロセッサが選定される。従って、前記代替仮想プロセッサを適正に選定することができる。   According to the eleventh aspect, the alternative virtual processor is selected from the first number of first virtual processors based on the load factor of each first virtual processor. Therefore, the alternative virtual processor can be appropriately selected.

すなわち、例えば、前記代替仮想プロセッサとして、負荷率の最も低い第1仮想プロセッサを選定することによって、故障が発生した第1ソフトウェアを前記代替仮想プロセッサ上でスムーズに動作させることができるのである。   That is, for example, by selecting the first virtual processor with the lowest load factor as the alternative virtual processor, the first software in which a failure has occurred can be smoothly operated on the alternative virtual processor.

上記第12の発明によれば、前記第1個数の第1仮想プロセッサの中から、各第1仮想プロセッサの第1記憶手段に格納された第1故障レベルに基づいて、前記代替仮想プロセッサが選定される。従って、前記代替仮想プロセッサを適正に選定することができる。   According to the twelfth aspect, the alternative virtual processor is selected from the first number of first virtual processors based on the first failure level stored in the first storage means of each first virtual processor. Is done. Therefore, the alternative virtual processor can be appropriately selected.

すなわち、例えば、前記代替仮想プロセッサとして、故障が発生した第1ソフトウェアと同一の(又は同程度の)第1故障レベルが設定されている第1仮想プロセッサを選定することによって、故障が発生した第1ソフトウェアを前記代替仮想プロセッサ上で適正に動作させることができるのである。   That is, for example, by selecting a first virtual processor that has the same (or similar) first failure level as the first software in which a failure has occurred as the alternative virtual processor, One software can be properly operated on the alternative virtual processor.

上記第13の発明によれば、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、予め設定された一部の機能が動作する。従って、前記第1仮想プロセッサに対して、故障に対して強いことが要求される場合に、更に適切な故障処理動作を行うことができる。   According to the thirteenth aspect, some preset functions of the first software in which the failure has occurred operate on the selected alternative virtual processor. Therefore, when the first virtual processor is required to be strong against a failure, a more appropriate failure processing operation can be performed.

すなわち、故障に対して強いことが要求され、前記第1故障レベルが設定されている前記第1仮想プロセッサにおいて、故障が検出された場合に、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、予め設定された一部の機能が動作するため、故障が発生した第1ソフトウェアに対応する処理を実行することに伴う代替仮想プロセッサの負荷の増加を抑制することができるのである。   That is, when a failure is detected in the first virtual processor that is required to be strong against a failure and the first failure level is set, a failure has occurred on the selected alternative virtual processor Since some functions set in advance operate in the first software, it is possible to suppress an increase in the load on the alternative virtual processor associated with executing the process corresponding to the first software in which the failure has occurred. is there.

上記第14の発明によれば、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、必要最低限の機能が動作する。従って、前記第1仮想プロセッサに対して、故障に対して強いことが要求される場合に、更に適切な故障処理動作を行うことができる。   According to the fourteenth aspect, the minimum necessary functions of the first software in which a failure has occurred operate on the selected alternative virtual processor. Therefore, when the first virtual processor is required to be strong against a failure, a more appropriate failure processing operation can be performed.

すなわち、故障に対して強いことが要求され、前記第1故障レベルが設定されている前記第1仮想プロセッサにおいて、故障が検出された場合に、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、必要最低限の機能が動作するため、故障が発生した第1ソフトウェアに対応する処理を実行することに伴う代替仮想プロセッサの負荷の増加を更に抑制することができるのである。   That is, when a failure is detected in the first virtual processor that is required to be strong against a failure and the first failure level is set, a failure has occurred on the selected alternative virtual processor Since the minimum necessary functions of the first software operate, it is possible to further suppress an increase in the load on the alternative virtual processor associated with executing the process corresponding to the first software in which the failure has occurred.

上記第15の発明によれば、前記故障レベル情報が、故障が発生した第1ソフトウェアに対応する第1仮想プロセッサのリセットを、予め設定された所定回数迄繰り返し実行し、故障が解消しない場合には、該第1ソフトウェアの実行を停止する故障処理動作である第2故障処理動作に対応する第2の特定故障レベル情報を含む。従って、前記第1仮想プロセッサに対して、故障に対する強さの要求が比較的緩やかな場合に、適切な故障処理動作を行うことができる。   According to the fifteenth aspect of the present invention, when the failure level information indicates that the first virtual processor corresponding to the first software in which the failure has occurred is repeatedly reset a predetermined number of times and the failure is not resolved. Includes second specific failure level information corresponding to a second failure processing operation that is a failure processing operation that stops execution of the first software. Therefore, an appropriate failure processing operation can be performed when the demand for strength against failure is relatively moderate for the first virtual processor.

すなわち、故障に対する強さの要求が比較的緩やかであり、前記第2の特定故障レベルが設定されている前記第1仮想プロセッサにおいて、故障が検出された場合に、故障が発生したソフトウェアに対応する第1仮想プロセッサのリセットが、予め設定された所定回数迄繰り返し実行され、故障が解消しない場合には、該ソフトウェアの実行が停止されるため、適切な故障処理動作を行うことができるのである。   That is, when a failure is detected in the first virtual processor in which the demand for strength with respect to the failure is relatively moderate and the second specific failure level is set, it corresponds to the software in which the failure has occurred. If the reset of the first virtual processor is repeatedly executed up to a preset predetermined number of times and the failure is not resolved, the execution of the software is stopped, so that an appropriate failure processing operation can be performed.

例えば、前記所定回数が3回である場合には、前記第1仮想プロセッサのリセットが、3回迄繰り返し実行され、その間に、故障が解消された場合には、故障が発生したソフトウェアの実行が再開される。一方、前記第1仮想プロセッサのリセットが3回繰り返し実行されても故障が解消されない場合には、故障が発生したソフトウェアの実行が停止される。従って、故障に対する強さの要求が比較的緩やかな場合に、適切な故障処理動作を行うことができるのである。   For example, when the predetermined number of times is 3, the reset of the first virtual processor is repeatedly executed up to 3 times, and when the failure is solved during that time, execution of the software in which the failure has occurred is executed. Resumed. On the other hand, if the failure is not resolved even after the first virtual processor is reset three times, the execution of the software in which the failure has occurred is stopped. Therefore, an appropriate failure handling operation can be performed when the strength demand for failure is relatively moderate.

上記第16の発明によれば、前記第1個数の第1記憶手段にそれぞれ格納された前記第1個数の第1故障レベル情報のいずれかに対応する第3故障レベル情報が、第3記憶手段に予め格納されている。そして、前記第1ソフトウェアが故障を検出した場合に、故障を検出した第1ソフトウェアに対応する第1故障レベル情報が前記第1記憶手段から読み出されると共に第3故障レベル情報が前記第3記憶手段から読み出され、読み出された第1故障レベル情報及び第3故障レベル情報に基づいて、故障処理動作を規定する故障レベルが設定される。従って、前記第3故障レベルを適正に設定することによって、前記処理実行手段の処理を簡略化することが可能となる。   According to the sixteenth aspect of the present invention, the third failure level information corresponding to any one of the first number of first failure level information respectively stored in the first number of first storage means is the third storage means. Stored in advance. When the first software detects a failure, the first failure level information corresponding to the first software detecting the failure is read from the first storage unit, and the third failure level information is stored in the third storage unit. The failure level that defines the failure processing operation is set based on the read first failure level information and third failure level information. Accordingly, it is possible to simplify the processing of the processing execution means by appropriately setting the third failure level.

上記第17の発明によれば、前記第1故障レベル情及び前記第3故障レベル情報の内、要求レベルの高い方の故障レベルが、故障処理動作を規定する故障レベルとして設定される。従って、前記第3故障レベルを適正に設定することによって、前記処理実行手段を簡略化することができる。   According to the seventeenth aspect, the higher failure level of the first failure level information and the third failure level information is set as the failure level that defines the failure processing operation. Therefore, the processing execution means can be simplified by appropriately setting the third failure level.

上記第18の発明によれば、前記第3記憶手段が、レジスタから構成されている。従って、簡素な構成で、故障処理動作を迅速に行うことができる。   According to the eighteenth aspect, the third storage means is constituted by a register. Therefore, the failure processing operation can be performed quickly with a simple configuration.

本発明の第1実施形態に係る故障処理装置の構成の一例を示すブロック図The block diagram which shows an example of a structure of the failure processing apparatus which concerns on 1st Embodiment of this invention. 故障レベルの一例を示す図表Chart showing examples of failure levels 第1実施形態に係る故障処理装置の動作の一例を示すフローチャートThe flowchart which shows an example of operation | movement of the failure processing apparatus which concerns on 1st Embodiment. 図3に示すフローチャートのステップS109において実行される第1故障処理の一例を示す詳細フローチャートDetailed flowchart showing an example of the first failure processing executed in step S109 of the flowchart shown in FIG. 図3に示すフローチャートのステップS113において実行される第2故障処理の一例を示す詳細フローチャートDetailed flowchart showing an example of the second failure process executed in step S113 of the flowchart shown in FIG. 図3に示すフローチャートのステップS115において実行される第3故障処理の一例を示す詳細フローチャートDetailed flowchart showing an example of the third failure process executed in step S115 of the flowchart shown in FIG. 本発明の第2実施形態に係る故障処理装置の構成の一例を示すブロック図The block diagram which shows an example of a structure of the failure processing apparatus which concerns on 2nd Embodiment of this invention. 第2実施形態に係る故障処理装置の動作の一例を示すフローチャート(前半部)The flowchart which shows an example of operation | movement of the failure processing apparatus which concerns on 2nd Embodiment (the first half part) 第2実施形態に係る故障処理装置の動作の一例を示すフローチャート(後半部)The flowchart which shows an example of operation | movement of the failure processing apparatus which concerns on 2nd Embodiment (second half part) 機能統合前の状態の一例を示すブロック図Block diagram showing an example of the state before function integration

以下、図面を参照して本発明に係る故障処理装置の実施形態について説明する。以下に示す実施形態(第1実施形態、第2実施形態)では、本発明に係る故障処理装置が、車両に搭載されている場合について説明する。また、本発明に係る故障処理装置は、車両に搭載された第1個数(ここでは、3個)のECU(Electronic Control Unit)(物理プロセッサに相当する)を、1個のECU上に機能統合した場合について説明する。   Embodiments of a failure processing apparatus according to the present invention will be described below with reference to the drawings. In the following embodiments (first embodiment, second embodiment), a case will be described in which the failure processing apparatus according to the present invention is mounted on a vehicle. In addition, the failure processing apparatus according to the present invention integrates a first number (here, three) ECU (Electronic Control Unit) (corresponding to a physical processor) mounted on a vehicle on one ECU. The case will be described.

すなわち、機能統合前には、前記第1個数の第1ソフトウェアが、それぞれ、前記第1個数のECU上で動作している。図10は、機能統合前の状態の一例を示すブロック図である。図10に示すように、機能統合前は、第1ソフトウェア101が、ECU10に搭載されたCPU102上で実行されている。また、第1ソフトウェア201が、ECU20に搭載されたCPU202上で実行されている。更に、第1ソフトウェア301が、ECU30に搭載されたCPU302上で実行されている。   In other words, before the function integration, the first number of first software programs each operate on the first number of ECUs. FIG. 10 is a block diagram illustrating an example of a state before function integration. As shown in FIG. 10, the first software 101 is executed on the CPU 102 mounted on the ECU 10 before function integration. The first software 201 is executed on the CPU 202 mounted on the ECU 20. Further, the first software 301 is executed on the CPU 302 mounted on the ECU 30.

そして、機能統合後は、例えば、図1に示すように、1個のECU100において、前記第1個数(ここでは、3個)の第1ソフトウェア11、21、31が、それぞれ、前記第1個数(ここでは、3個)のCPU(図10に示すCPU102、202、302)にそれぞれ対応する前記第1個数の第1VCPU(仮想CPU:Virtual Central Processing Unit)上で実行される。本発明に係る故障処理装置は、例えば、図1に示すように、前記第1個数の第1VCPU12、22、32において、それぞれ動作する前記第1個数の第1ソフトウェア11、21、31のいずれかが故障を検出した場合に、故障が発生した第1ソフトウェア11、21、31が動作する第1VCPU12、22、32に対応する故障処理を行うものである。   After function integration, for example, as shown in FIG. 1, in one ECU 100, the first number (here, three) of the first software 11, 21, 31 is the first number, respectively. It is executed on the first number of first VCPUs (virtual CPUs: Virtual Central Processing Units) respectively corresponding to (here, three) CPUs (CPUs 102, 202, and 302 shown in FIG. 10). For example, as shown in FIG. 1, the failure processing apparatus according to the present invention is any one of the first number of first software 11, 21, and 31 operating in the first number of first VCPUs 12, 22, and 32. When a failure is detected, failure processing corresponding to the first VCPUs 12, 22, and 32 in which the first software 11, 21, and 31 in which the failure has occurred operates is performed.

<第1実施形態>
図1は、本発明の第1実施形態に係る故障処理装置の構成の一例を示すブロック図である。図1に示すように、ECU100は、CPU110を備えている。また、CPU(Central Processing Unit)110(故障処理装置に相当する)は、第1VCPU12、22、32、及び、第2VCPU42を備えている。更に、第1VCPU12、22、32は、それぞれ、第1レジスタ13、23、33を備えている。
<First Embodiment>
FIG. 1 is a block diagram showing an example of the configuration of the failure processing apparatus according to the first embodiment of the present invention. As shown in FIG. 1, the ECU 100 includes a CPU 110. In addition, a CPU (Central Processing Unit) 110 (corresponding to a failure processing device) includes first VCPUs 12, 22, 32 and a second VCPU 42. Further, the first VCPUs 12, 22, and 32 include first registers 13, 23, and 33, respectively.

第1VCPU12は、CPU110上に仮想的に搭載され、第1ソフトウェア11を実行する仮想CPUである。換言すれば、第1ソフトウェア11及び第1VCPU12は、図10に示すECU10の機能を仮想的に実現する仮想ECU1である。ここでは、第1ソフトウェア11の第1故障レベルは、例えば、「5」に設定されている。第1レジスタ13(第1記憶手段に相当する)は、第1ソフトウェア11が故障を検出した場合の処理を規定する第1故障レベル情報として、第1故障レベルが「5」であることを示す情報(図2参照)を予め格納するレジスタである。   The first VCPU 12 is a virtual CPU that is virtually mounted on the CPU 110 and executes the first software 11. In other words, the first software 11 and the first VCPU 12 are virtual ECUs 1 that virtually realize the functions of the ECU 10 shown in FIG. Here, the first failure level of the first software 11 is set to “5”, for example. The first register 13 (corresponding to the first storage means) indicates that the first failure level is “5” as the first failure level information that defines the processing when the first software 11 detects a failure. It is a register for storing information (see FIG. 2) in advance.

第1VCPU22は、CPU110上に仮想的に搭載され、第1ソフトウェア21を実行する仮想CPUである。換言すれば、第1ソフトウェア21及び第1VCPU22は、図10に示すECU20の機能を仮想的に実現する仮想ECU2である。ここでは、第1ソフトウェア21の第1故障レベルは、例えば、「3」に設定されている。第1レジスタ23(第1記憶手段に相当する)は、第1ソフトウェア21が故障を検出した場合の処理を規定する第1故障レベル情報として、第1故障レベルが「3」であることを示す情報(図2参照)を予め格納するレジスタである。   The first VCPU 22 is a virtual CPU that is virtually mounted on the CPU 110 and executes the first software 21. In other words, the first software 21 and the first VCPU 22 are virtual ECUs 2 that virtually realize the functions of the ECU 20 shown in FIG. Here, the first failure level of the first software 21 is set to “3”, for example. The first register 23 (corresponding to the first storage means) indicates that the first failure level is “3” as the first failure level information that defines the processing when the first software 21 detects a failure. It is a register for storing information (see FIG. 2) in advance.

第1VCPU32は、CPU110上に仮想的に搭載され、第1ソフトウェア31を実行する仮想CPUである。換言すれば、第1ソフトウェア31及び第1VCPU32は、図10に示すECU30の機能を仮想的に実現する仮想ECU3である。ここでは、第1ソフトウェア31の第1故障レベルは、例えば、「1」に設定されている。第1レジスタ33(第1記憶手段に相当する)は、第1ソフトウェア31が故障を検出した場合の処理を規定する第1故障レベル情報として、第1故障レベルが「1」であることを示す情報(図2参照)を予め格納するレジスタである。   The first VCPU 32 is a virtual CPU that is virtually mounted on the CPU 110 and executes the first software 31. In other words, the first software 31 and the first VCPU 32 are virtual ECUs 3 that virtually realize the functions of the ECU 30 shown in FIG. Here, the first failure level of the first software 31 is set to “1”, for example. The first register 33 (corresponding to the first storage means) indicates that the first failure level is “1” as the first failure level information that defines the processing when the first software 31 detects a failure. It is a register for storing information (see FIG. 2) in advance.

図2は、故障レベルの一例を示す図表である。ここでは、故障レベルが、故障レベル5、故障レベル3、故障レベル1を含む場合について説明する。故障レベル5、故障レベル3、故障レベル1は、この順に故障に対する強さの要求が高い故障レベルである。なお、ここでは、図1に示すように、第1ソフトウェア11、21、31がそれぞれ、故障レベル5、故障レベル3、故障レベル1に設定されている場合について説明する。   FIG. 2 is a chart showing an example of the failure level. Here, a case where the failure level includes failure level 5, failure level 3, and failure level 1 will be described. The failure level 5, the failure level 3, and the failure level 1 are failure levels with a high demand for strength in this order. Here, as shown in FIG. 1, a case will be described in which the first software 11, 21, and 31 are set to failure level 5, failure level 3, and failure level 1, respectively.

故障レベル5(第1の特定故障レベルに相当する)は、故障に対して非常に強いことが要求されるブレーキ等を制御するECU10(図10参照)において設定される故障レベルであって、故障が発生した第1ソフトウェア11の必要最低限の機能を、第1個数(ここでは、3個)の第1VCPU12、22、32の内、故障が発生していない第1VCPU22(又は、第1VCPU32)上で実行させる旨の故障処理動作(以下、第1故障処理動作という)が規定された故障レベルである。   The failure level 5 (corresponding to the first specific failure level) is a failure level set in the ECU 10 (see FIG. 10) that controls a brake or the like that is required to be very strong against the failure. The minimum necessary functions of the first software 11 in which the occurrence of the error occurred on the first VCPU 22 (or the first VCPU 32) in which no failure has occurred among the first number (here, three) of the first VCPUs 12, 22, 32. The failure processing operation (hereinafter, referred to as the first failure processing operation) to be executed in step 1 is a specified failure level.

故障レベル3(第2の特定故障レベルの一例に相当する)は、故障に対して中程度に強いことが要求されるECU20(図10参照)において設定される故障レベルであって、故障が発生した第1ソフトウェア21に対応する第1VCPU22のリセットを、予め設定された所定回数(ここでは、3回)迄繰り返し実行し、故障が解消しない場合には、該第1ソフトウェア21の実行を停止する旨の故障処理動作(以下、第2故障処理動作という)が規定された故障レベルである。   The failure level 3 (corresponding to an example of the second specific failure level) is a failure level set in the ECU 20 (see FIG. 10) that is required to be moderately strong against the failure. The resetting of the first VCPU 22 corresponding to the first software 21 is repeatedly executed up to a predetermined number of times (here, three times), and if the failure is not resolved, the execution of the first software 21 is stopped. This is a failure level in which a failure handling operation (hereinafter referred to as a second failure handling operation) is specified.

故障レベル1(第2の特定故障レベルの一例に相当する)は、故障に対する要求が比較的緩やかなパワーシート等を制御するECU30(図10参照)において設定される故障レベルであって、故障が発生した第1ソフトウェア31に対応する第1VCPU32のリセットを、1回だけ実行し、故障が解消しない場合には、該第1ソフトウェア31の実行を停止する旨の故障処理動作(以下、第2故障処理動作という)が規定された故障レベルである。   The failure level 1 (corresponding to an example of the second specific failure level) is a failure level set in the ECU 30 (see FIG. 10) that controls a power seat or the like that has a relatively low demand for failure. If the reset of the first VCPU 32 corresponding to the generated first software 31 is executed only once and the failure is not resolved, a failure processing operation for stopping the execution of the first software 31 (hereinafter referred to as a second failure) This is a specified failure level.

再び、図1に戻って、CPU110の構成について説明する。第2VCPU42は、CPU110上に仮想的に搭載され、第2ソフトウェア41を実行する仮想CPUである。また、第2VCPU42は、第2レジスタ43、比較回路44,及び、故障制御回路45を備えている。ここでは、第2ソフトウェア41の第2故障レベルは、例えば、「3」に設定されている。第2レジスタ43(第2記憶手段に相当する)は、第2ソフトウェア41が故障を検出した場合の処理を規定する第2故障レベル情報として、第2故障レベルが「3」であることを示す情報(図2参照)を予め格納するレジスタである。   Returning to FIG. 1 again, the configuration of the CPU 110 will be described. The second VCPU 42 is a virtual CPU that is virtually mounted on the CPU 110 and executes the second software 41. The second VCPU 42 includes a second register 43, a comparison circuit 44, and a failure control circuit 45. Here, the second failure level of the second software 41 is set to “3”, for example. The second register 43 (corresponding to the second storage means) indicates that the second failure level is “3” as the second failure level information that defines the processing when the second software 41 detects a failure. It is a register for storing information (see FIG. 2) in advance.

第2ソフトウェア41(故障レベル設定手段の一部、処理実行手段の一部に相当する)は、第1ソフトウェア11、21、31、又は、該第2ソフトウェア41において、故障が検出された場合に、比較回路44、故障制御回路45を介して、故障に対応する処理を実行するものである。   The second software 41 (corresponding to a part of the failure level setting means and a part of the processing execution means) is used when the first software 11, 21, 31 or the second software 41 detects a failure. The processing corresponding to the failure is executed via the comparison circuit 44 and the failure control circuit 45.

比較回路44(故障レベル設定手段の一部に相当する)は、第1ソフトウェア11、21、31のいずれかが故障を検出した場合に、対応する第1レジスタ13、23、33から第1故障レベルを読み出すと共に、第2レジスタ43から第2故障レベルを読み出す回路である。そして、比較回路44は、第1レジスタ13、23、33から読み出された第1故障レベルが、第2レジスタ43に格納された第2故障レベルと一致するか否かを判定する。   The comparison circuit 44 (corresponding to a part of the failure level setting means) receives the first failure from the corresponding first register 13, 23, 33 when any of the first software 11, 21, 31 detects a failure. This circuit reads out the level and reads out the second failure level from the second register 43. Then, the comparison circuit 44 determines whether or not the first failure level read from the first registers 13, 23 and 33 matches the second failure level stored in the second register 43.

故障制御回路45(故障レベル設定手段の一部、処理実行手段の一部に相当する)は、比較回路44の判定結果に基づいて、故障処理動作を規定する故障レベルを設定すると共に、設定された故障レベルに対応する故障処理動作を実行する回路である。また、故障制御回路45は、故障レベル設定部451、選定部452、及び、処理実行部453を備えている。   The failure control circuit 45 (corresponding to a part of the failure level setting means and a part of the processing execution means) sets and sets the failure level that defines the failure processing operation based on the determination result of the comparison circuit 44. This is a circuit for executing a fault processing operation corresponding to the fault level. The failure control circuit 45 includes a failure level setting unit 451, a selection unit 452, and a process execution unit 453.

故障レベル設定部451(故障レベル設定手段の一部に相当する)は、第1レジスタ13、23、33から読み出された第1故障レベル、第2レジスタ43から読み出された第2故障レベルに基づいて、故障処理動作を規定する故障レベルを設定する回路である。   The failure level setting unit 451 (corresponding to a part of the failure level setting means) is a first failure level read from the first registers 13, 23, 33, and a second failure level read from the second register 43. Is a circuit for setting a failure level that defines a failure processing operation.

具体的には、比較回路44において、第1レジスタ13、23、33から読み出された第1故障レベルが、第2レジスタ43に格納された第2故障レベルと一致すると判定された場合に、故障レベル設定部451は、故障処理動作を規定する故障レベルとして、第2故障レベル(ここでは、故障レベル3)を設定する。ここでは、第1レジスタ23に格納された第1故障レベルは、故障レベル3であるため、比較回路44において、第2故障レベルと一致すると判定され、故障処理動作を規定する故障レベルとして、故障レベル3が設定される。   Specifically, when the comparison circuit 44 determines that the first failure level read from the first registers 13, 23, and 33 matches the second failure level stored in the second register 43, The failure level setting unit 451 sets a second failure level (here, failure level 3) as a failure level that defines the failure processing operation. Here, since the first failure level stored in the first register 23 is the failure level 3, the comparison circuit 44 determines that the first failure level matches the second failure level, and the failure level that defines the failure processing operation is the failure level. Level 3 is set.

また、比較回路44において、第1レジスタ13、23、33から読み出された第1故障レベルが、第2レジスタ43に格納された第2故障レベルと一致しないと判定された場合に、故障レベル設定部451は、故障処理動作を規定する故障レベルとして、第1レジスタ13、23、33から読み出された第1故障レベルを設定する。ここでは、第1レジスタ13に格納された第1故障レベルは、故障レベル5であるため、比較回路44において、第2故障レベルと一致しないと判定され、故障処理動作を規定する故障レベルとして、故障レベル5が設定される。また、第1レジスタ33に格納された第1故障レベルは、故障レベル1であるため、比較回路44において、第2故障レベルと一致しないと判定され、故障処理動作を規定する故障レベルとして、故障レベル1が設定される。   Further, when the comparison circuit 44 determines that the first failure level read from the first register 13, 23, 33 does not match the second failure level stored in the second register 43, the failure level The setting unit 451 sets the first failure level read from the first registers 13, 23, and 33 as the failure level that defines the failure processing operation. Here, since the first failure level stored in the first register 13 is the failure level 5, the comparison circuit 44 determines that the first failure level does not coincide with the second failure level. Failure level 5 is set. Further, since the first failure level stored in the first register 33 is the failure level 1, the comparison circuit 44 determines that the first failure level does not coincide with the second failure level, and the failure level that defines the failure processing operation is the failure level. Level 1 is set.

選定部452(処理実行手段の一部に相当する)は、故障レベル設定部451によって設定された故障レベルが、第1故障レベル(=故障レベル5)である場合に、前記第1個数(ここでは、3個)の第1VCPU12、22、32の中から、前記第1故障処理動作(=故障レベル5に対応する故障処理動作)を実行させる故障が発生していない1個の第1VCPUである代替仮想プロセッサを選定する回路である。   When the failure level set by the failure level setting unit 451 is the first failure level (= failure level 5), the selection unit 452 (corresponding to a part of the processing execution means) Then, among the three first VCPUs 12, 22, and 32, there is one first VCPU in which no failure has occurred so as to execute the first failure processing operation (= the failure processing operation corresponding to the failure level 5). This circuit selects an alternative virtual processor.

具体的には、ここでは、選定部452は、故障が発生していない第1VCPU22、23の負荷率に基づいて、前記代替仮想プロセッサを選定する。例えば、選定部452は、故障が発生していない第1VCPU22、23の内、負荷率の最も低いものを、前記代替仮想プロセッサとして選定する。なお、負荷率は、図10に示す3個のECU10、20、30を、本発明に係る1個のECU100に機能統合する際に、予め推定される負荷率であっても良いし、機能統合後の実績の負荷率であっても良い。   Specifically, here, the selection unit 452 selects the alternative virtual processor based on the load factor of the first VCPUs 22 and 23 in which no failure has occurred. For example, the selection unit 452 selects, as the alternative virtual processor, the one having the lowest load factor among the first VCPUs 22 and 23 in which no failure has occurred. Note that the load factor may be a load factor estimated in advance when the three ECUs 10, 20, and 30 shown in FIG. 10 are functionally integrated into one ECU 100 according to the present invention. It may be a load factor of a later record.

処理実行部453(処理実行手段の一部に相当する)は、故障レベル設定部451によって設定された故障レベルに対応する故障処理動作を実行する回路である。具体的には、故障レベル設定部451によって故障レベル5に設定された場合には、処理実行部453は、選定部452によって選定された代替仮想プロセッサ(例えば、第1VCPU22)に、故障が発生した第1ソフトウェア11の必要最低限の機能を実行させる。   The process execution unit 453 (corresponding to a part of the process execution means) is a circuit that executes a failure processing operation corresponding to the failure level set by the failure level setting unit 451. Specifically, when the failure level setting unit 451 sets the failure level 5, the process execution unit 453 causes a failure in the alternative virtual processor (for example, the first VCPU 22) selected by the selection unit 452. The minimum necessary functions of the first software 11 are executed.

また、故障レベル設定部451によって故障レベル3に設定された場合には、処理実行部453は、故障が発生した第1ソフトウェア21(又は、第2ソフトウェア41)に対応する第1VCPU22(又は、第2VCPU42)のリセットを、予め設定された所定回数(ここでは、3回)迄繰り返し実行し、故障が解消しない場合には、第1VCPU22(又は、第2VCPU42)に対して、第1ソフトウェア21(又は、第2ソフトウェア41)の実行を停止させる。   When the failure level setting unit 451 sets the failure level 3, the process execution unit 453 causes the first VCPU 22 (or the second software 41) corresponding to the first software 21 (or the second software 41) in which the failure has occurred. 2VCPU 42) is repeatedly executed up to a preset predetermined number of times (here, 3 times). If the failure is not resolved, the first VCPU 22 (or the second VCPU 42) is instructed to the first software 21 (or The execution of the second software 41) is stopped.

更に、故障レベル設定部451によって故障レベル1に設定された場合には、処理実行部453は、故障が発生した第1ソフトウェア31に対応する第1VCPU32のリセットを、1回だけ実行し、故障が解消しない場合には、第1VCPU22に対して、第1ソフトウェア31の実行を停止させる。   Further, when the failure level setting unit 451 sets the failure level 1, the process execution unit 453 executes the reset of the first VCPU 32 corresponding to the first software 31 in which the failure has occurred only once, and the failure is detected. If not resolved, the first VCPU 22 is stopped from executing the first software 31.

このようにして、故障に対して強いことが要求され、故障レベル5が設定されている第1VCPU12において、故障が検出された場合に、故障が発生した第1ソフトウェア11が、故障が発生していない第1VCPU22(又は、第1VCPU32)上で動作されるため、適切な故障処理動作を行うことができる。   In this way, when a failure is detected in the first VCPU 12 that is required to be strong against failure and the failure level 5 is set, the first software 11 that has failed has failed. Since it is operated on the first VCPU 22 (or the first VCPU 32) that is not present, an appropriate failure processing operation can be performed.

また、故障に対して強いことが要求され、故障レベル5が設定されている第1VCPU12において、故障が検出された場合に、故障が発生していない1個の第1VCPUである代替仮想プロセッサ(例えば、第1VCPU22)が選定され、選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェア11が動作されるため、前記代替仮想プロセッサを適正に選定することによって、更に適切な故障処理動作を行うことができる。   Further, when a failure is detected in the first VCPU 12 that is required to be strong against a failure and the failure level 5 is set, an alternative virtual processor (for example, one first VCPU in which no failure has occurred) The first VCPU 22) is selected, and the first software 11 in which the failure has occurred is operated on the selected alternative virtual processor. Therefore, by appropriately selecting the alternative virtual processor, a more appropriate failure processing operation can be performed. It can be carried out.

第1実施形態では、故障レベル設定部451によって故障レベル5に設定されたときに、処理実行部453が、選定部452によって選定された代替仮想プロセッサに、故障が発生した第1ソフトウェア11の機能を実行させる場合について説明するが、処理実行部453が、予め設定された代替仮想プロセッサ(例えば、第1VCPU22)に故障が発生した第1ソフトウェア11の機能を実行させる形態でも良い。この場合には、処理が簡略化される。   In the first embodiment, when the failure level is set to the failure level 5 by the failure level setting unit 451, the processing execution unit 453 has the function of the first software 11 in which a failure has occurred in the alternative virtual processor selected by the selection unit 452. However, the processing execution unit 453 may execute a function of the first software 11 in which a failure occurs in a preset alternative virtual processor (for example, the first VCPU 22). In this case, the process is simplified.

更に、前記代替仮想プロセッサとして、負荷率の最も低い第1VCPU(例えば、第1VCPU22)を選定することによって、故障が発生した第1ソフトウェア11を前記代替仮想プロセッサ(ここでは、第1VCPU22)上でスムーズに動作させることができる。   Further, by selecting the first VCPU (for example, the first VCPU 22) having the lowest load factor as the alternative virtual processor, the first software 11 in which the failure has occurred can be smoothly executed on the alternative virtual processor (here, the first VCPU 22). Can be operated.

第1実施形態では、選定部452が、負荷率に基づいて前記代替仮想プロセッサを選定する場合について説明するが、選定部452が、その他の方法で前記代替仮想プロセッサを選定する形態でも良い。例えば、選定部452が、故障が検出されていない第1VCPU22、32の第1レジスタ23、33に格納された第1故障レベル(ここでは、故障レベル3、故障レベル1)に基づいて、前記代替仮想プロセッサを選定する形態でも良い。具体的には、選定部452が、故障に対して高いレベルを要求する第1故障レベルが設定されている第1VCPUを選定する形態でも良い。この場合には、故障が発生した第1ソフトウェア11を前記代替仮想プロセッサ(ここでは、第1VCPU22)上で適正に動作させることができる。   In the first embodiment, a case where the selection unit 452 selects the replacement virtual processor based on a load factor will be described. However, the selection unit 452 may select the replacement virtual processor by another method. For example, the selection unit 452 performs the replacement based on the first failure level (here, failure level 3 and failure level 1) stored in the first registers 23 and 33 of the first VCPUs 22 and 32 in which no failure is detected. It is also possible to select a virtual processor. Specifically, the selection unit 452 may select the first VCPU in which the first failure level that requires a high level for failure is set. In this case, the first software 11 in which the failure has occurred can be properly operated on the alternative virtual processor (here, the first VCPU 22).

加えて、故障に対して強いことが要求され、故障レベル5が設定されている第1VCPU12において、故障が検出された場合に、選定された代替仮想プロセッサ(ここでは、第1VCPU22)上で、故障が発生した第1ソフトウェア11の内、必要最低限の機能が動作するため、故障が発生した第1ソフトウェア11に対応する処理を実行することに伴う代替仮想プロセッサの負荷の増加を抑制することができる。   In addition, when a failure is detected in the first VCPU 12 that is required to be strong against the failure and the failure level 5 is set, the failure is performed on the selected alternative virtual processor (here, the first VCPU 22). Since the minimum necessary functions are operated in the first software 11 in which the failure has occurred, it is possible to suppress an increase in the load on the alternative virtual processor associated with executing the process corresponding to the first software 11 in which the failure has occurred. it can.

第1実施形態では、故障レベル5が設定されている第1VCPU12において、故障が検出されたときに、処理実行部453が、代替仮想プロセッサ(ここでは、第1VCPU22)に、故障が発生した第1ソフトウェア11の内、必要最低限の機能を実行させる場合について説明するが、処理実行部453が、代替仮想プロセッサ(ここでは、第1VCPU22)に、故障が発生した第1ソフトウェア11の一部を実行させる形態であれば良い。例えば、処理実行部453が、代替仮想プロセッサの負荷率に応じて、代替仮想プロセッサ上で実行させる第1ソフトウェア11の範囲を設定する形態でも良い。すなわち、代替仮想プロセッサの負荷率が低い程、代替仮想プロセッサ上で実行させる第1ソフトウェア11の範囲を拡張する形態でも良い。   In the first embodiment, when a failure is detected in the first VCPU 12 in which the failure level 5 is set, the process execution unit 453 causes the first virtual CPU (here, the first VCPU 22) to generate a failure. The case where the minimum necessary functions are executed in the software 11 will be described. The process execution unit 453 executes a part of the first software 11 in which a failure has occurred in the alternative virtual processor (here, the first VCPU 22). Any form can be used. For example, the processing execution unit 453 may set the range of the first software 11 to be executed on the alternative virtual processor according to the load factor of the alternative virtual processor. That is, as the load factor of the alternative virtual processor is lower, the range of the first software 11 executed on the alternative virtual processor may be expanded.

また、故障に対する強さの要求が比較的緩やかであり、故障レベル3が設定されている第1VCPU22(又は、第2VCPU42)において、故障が検出された場合に、故障が発生した第1ソフトウェア21(又は、第2ソフトウェア41)に対応する第1VCPU22(又は、第2VCPU42)のリセットが、予め設定された所定回数(ここでは、3回)迄繰り返し実行され、故障が解消しない場合には、該第1ソフトウェア21(又は、第2ソフトウェア41)の実行が停止されるため、適切な故障処理動作を行うことができる。   In addition, when a failure is detected in the first VCPU 22 (or the second VCPU 42) in which the request for strength with respect to the failure is relatively moderate and the failure level 3 is set, the first software 21 ( Alternatively, if the reset of the first VCPU 22 (or the second VCPU 42) corresponding to the second software 41) is repeatedly executed up to a predetermined number of times (here, three times) and the failure is not resolved, the first VCPU 22 (or the second VCPU 42) Since the execution of the first software 21 (or the second software 41) is stopped, an appropriate failure processing operation can be performed.

第1実施形態では、故障レベル3が設定されているときのリセットの最大回数である所定回数が、3回である場合について説明するが、該所定回数は、2回以上の回数であれば良い。該所定回数が多い程、故障が解消する可能性が高いため、故障に対する強さが増大する。   In the first embodiment, a case where the predetermined number of times that is the maximum number of resets when the failure level 3 is set is three will be described. However, the predetermined number may be two or more times. . The greater the predetermined number of times, the higher the possibility that the failure will be resolved, so the strength against failure increases.

更に、故障に対する強さの要求が緩やかであり、故障レベル1が設定されている第1VCPU32において、故障が検出された場合に、故障が発生した第1ソフトウェア31に対応する第1VCPU32のリセットが、1回だけ実行され、故障が解消しない場合には、該第1ソフトウェア31の実行が停止されるため、適切な故障処理動作を行うことができる。   Furthermore, when a failure is detected in the first VCPU 32 in which the demand for strength against the failure is moderate and failure level 1 is set, the reset of the first VCPU 32 corresponding to the first software 31 in which the failure has occurred is When the failure is not resolved only once, the execution of the first software 31 is stopped, so that an appropriate failure processing operation can be performed.

図3は、第1実施形態に係る故障処理装置(主に、CPU110)の動作の一例を示すフローチャートである。まず、比較回路44によって、第1ソフトウェア11、21、31のいずれかが故障を検出したか否かの判定が行われる(S101)。故障を検出していないと判定された場合(S101でNO)には、処理が待機状態とされる。故障を検出したと判定された場合(S101でYES)には、比較回路44によって、第1レジスタ13、23、33から第1故障レベルL1が読み出される(S103)。そして、比較回路44によって、第2レジスタ43から第2故障レベルL2が読み出される(S105)。次いで、比較回路44によって、ステップS103において読み出された第1故障レベルL1が、ステップS105において読み出された第2故障レベルL2と一致するか否かの判定が行われる(S107)。   FIG. 3 is a flowchart showing an example of the operation of the failure processing apparatus (mainly the CPU 110) according to the first embodiment. First, the comparison circuit 44 determines whether any of the first software 11, 21, 31 has detected a failure (S101). If it is determined that no failure has been detected (NO in S101), the process is set to a standby state. If it is determined that a failure has been detected (YES in S101), the comparison circuit 44 reads the first failure level L1 from the first registers 13, 23, 33 (S103). Then, the second failure level L2 is read from the second register 43 by the comparison circuit 44 (S105). Next, the comparison circuit 44 determines whether or not the first failure level L1 read in step S103 matches the second failure level L2 read in step S105 (S107).

第1故障レベルL1が第2故障レベルL2と一致すると判定された場合(S107でYES)には、故障レベル設定部451によって、故障処理動作を規定する故障レベルが故障レベル3に設定され、処理実行部453によって故障レベル3に対応する故障処理である第1故障処理が実行されて(S109)、処理が終了される。第1故障レベルL1が第2故障レベルL2と一致しないと判定された場合(S107でNO)には、故障レベル設定部451によって、第1故障レベルL1が故障レベル1であるか否かの判定が行われる(S111)。第1故障レベルL1が故障レベル1であると判定された場合(S111でYES)には、故障処理動作を規定する故障レベルが故障レベル1に設定され、処理実行部453によって故障レベル1に対応する故障処理である第2故障処理が実行されて(S113)、処理が終了される。第1故障レベルL1が故障レベル1ではない(=故障レベル5である)と判定された場合(S111でNO)には、故障処理動作を規定する故障レベルが故障レベル5に設定され、処理実行部453等によって故障レベル5に対応する故障処理である第5故障処理が実行されて(S115)、処理が終了される。   When it is determined that the first failure level L1 matches the second failure level L2 (YES in S107), the failure level that defines the failure processing operation is set to the failure level 3 by the failure level setting unit 451. The execution unit 453 executes the first failure process, which is the failure process corresponding to the failure level 3 (S109), and the process ends. When it is determined that the first failure level L1 does not match the second failure level L2 (NO in S107), the failure level setting unit 451 determines whether the first failure level L1 is the failure level 1 or not. Is performed (S111). When it is determined that the first failure level L1 is the failure level 1 (YES in S111), the failure level that defines the failure processing operation is set to the failure level 1, and the processing execution unit 453 corresponds to the failure level 1 The second failure process, which is the failure process to be performed, is executed (S113), and the process ends. If it is determined that the first failure level L1 is not the failure level 1 (= failure level 5) (NO in S111), the failure level that defines the failure processing operation is set to the failure level 5, and the process is executed. The fifth failure process that is the failure process corresponding to the failure level 5 is executed by the unit 453 or the like (S115), and the process is terminated.

図4は、図3に示すフローチャートのステップS109において実行される第1故障処理の一例を示す詳細フローチャートである。なお、以下の処理は全て処理実行部453によって実行される。まず、第1VCPU22がリセットされる(S201)。そして、第1ソフトウェア21における故障が回復したか否かの判定が行われる(S203)。故障が回復したと判定された場合(S203でYES)には、処理が終了される。故障が回復していないと判定された場合(S203でNO)には、実行されたリセット回数Nが3回以上であるか否かの判定が行われる(S205)。リセット回数Nが3回未満であると判定された場合(S205でNO)には、処理がステップS201に戻され、ステップS201以降の処理が繰り返し実行される。リセット回数Nが3回以上であると判定された場合(S205でYES)には、アラームが出力され(S207)、第1VCPU22の動作が停止されて(S209)、処理が終了される。   FIG. 4 is a detailed flowchart showing an example of the first failure process executed in step S109 of the flowchart shown in FIG. The following processes are all executed by the process execution unit 453. First, the first VCPU 22 is reset (S201). Then, it is determined whether or not the failure in the first software 21 has been recovered (S203). If it is determined that the failure has been recovered (YES in S203), the process ends. If it is determined that the failure has not been recovered (NO in S203), it is determined whether or not the number N of resets executed is 3 or more (S205). If it is determined that the number of resets N is less than 3 (NO in S205), the process returns to step S201, and the processes after step S201 are repeatedly executed. If it is determined that the reset count N is 3 or more (YES in S205), an alarm is output (S207), the operation of the first VCPU 22 is stopped (S209), and the process is terminated.

図5は、図3に示すフローチャートのステップS113において実行される第2故障処理の一例を示す詳細フローチャートである。なお、以下の処理は全て処理実行部453によって実行される。まず、第1VCPU32がリセットされる(S301)。そして、第1ソフトウェア31における故障が回復したか否かの判定が行われる(S303)。故障が回復したと判定された場合(S303でYES)には、処理が終了される。故障が回復していないと判定された場合(S303でNO)には、アラームが出力され(S305)、第1VCPU32の動作が停止されて(S307)、処理が終了される。   FIG. 5 is a detailed flowchart showing an example of the second failure process executed in step S113 of the flowchart shown in FIG. The following processes are all executed by the process execution unit 453. First, the first VCPU 32 is reset (S301). Then, it is determined whether or not the failure in the first software 31 has been recovered (S303). If it is determined that the failure has been recovered (YES in S303), the process ends. If it is determined that the failure has not been recovered (NO in S303), an alarm is output (S305), the operation of the first VCPU 32 is stopped (S307), and the process is terminated.

図6は、図3に示すフローチャートのステップS115において実行される第3故障処理の一例を示す詳細フローチャートである。まず、選定部452によって、故障が発生していない第1VCPU22、32の負荷率が求められる(S401)。そして、ステップS401において求められた負荷率が最も低い第1VCPU(例えば、第1VCPU22)が代替仮想プロセッサ(ここでは、便宜上、代替VCPUと表記する)が選定される(S403)。次いで、処理実行部453によって、ステップS403において選定された代替VCPUに対して、故障が発生した第1ソフトウェア11の必要最低限の機能を実行させる準備をする旨の指示情報が出力される(S405)。次に、処理実行部453によって、故障が発生した第1VCPU12による第1ソフトウェア11の動作が停止される(S407)。そして、処理実行部453によって、ステップS403において選定された代替VCPUに対して、故障が発生した第1ソフトウェア11における必要最低限の機能の実行を開始する旨の指示情報が出力されて(S409)、処理が終了される。   FIG. 6 is a detailed flowchart showing an example of the third failure process executed in step S115 of the flowchart shown in FIG. First, the selection unit 452 obtains the load factor of the first VCPUs 22 and 32 in which no failure has occurred (S401). Then, the first VCPU (for example, the first VCPU 22) having the lowest load factor obtained in step S401 is selected as an alternative virtual processor (herein referred to as an alternative VCPU for convenience) (S403). Next, the process execution unit 453 outputs instruction information indicating that the alternative VCPU selected in step S403 is prepared to execute the minimum necessary functions of the first software 11 in which the failure has occurred (S405). ). Next, the process execution unit 453 stops the operation of the first software 11 by the first VCPU 12 in which the failure has occurred (S407). Then, the process execution unit 453 outputs instruction information indicating that execution of the minimum necessary functions in the first software 11 in which the failure has occurred is started for the alternative VCPU selected in step S403 (S409). The process is terminated.

このようにして、故障を検出した第1ソフトウェア11、21、31に対応する第1故障レベルL1が第1レジスタ13、23、33から読み出され、故障処理動作を規定する故障レベルとして設定され、設定された故障レベルに対応する故障処理動作が実行されるため、前記第1個数(ここでは、3個)の第1レジスタ13、23、33に適正な故障レベル情報を格納することによって、適正な故障処理動作を行うことができる。   In this way, the first failure level L1 corresponding to the first software 11, 21, 31 that has detected the failure is read from the first registers 13, 23, 33, and is set as the failure level that defines the failure processing operation. Since the failure processing operation corresponding to the set failure level is executed, appropriate failure level information is stored in the first number (here, 3) of the first registers 13, 23, 33, An appropriate failure handling operation can be performed.

<第2実施形態>
図7は、本発明の第2実施形態に係る故障処理装置の構成の一例を示すブロック図である。図7に示すように、ECU100Aは、第1実施形態に係るECU100のCPU110に換えて、CPU110Aを備えている。また、CPU(Central Processing Unit)110A(故障処理装置に相当する)は、第1実施形態に係る第1VCPU12、22、32に換えて、第1VCPU12A、22A、32Aを備え、第1実施形態に係る第2VCPU42に換えて、第2VCPU42Aを備えている。更に、第1VCPU12A、22A、32Aは、それぞれ、それぞれ、第1レジスタ13、23、33に加えて、第3レジスタ14、24、34を備えている。また、第2VCPU42Aは、比較回路44に換えて、比較回路44Aを備えている。
Second Embodiment
FIG. 7 is a block diagram showing an example of the configuration of the failure processing apparatus according to the second embodiment of the present invention. As shown in FIG. 7, the ECU 100A includes a CPU 110A instead of the CPU 110 of the ECU 100 according to the first embodiment. In addition, a CPU (Central Processing Unit) 110A (corresponding to a failure processing device) includes first VCPUs 12A, 22A, and 32A instead of the first VCPUs 12, 22, and 32 according to the first embodiment, and is related to the first embodiment. Instead of the second VCPU 42, a second VCPU 42A is provided. Further, the first VCPUs 12A, 22A, and 32A include third registers 14, 24, and 34 in addition to the first registers 13, 23, and 33, respectively. The second VCPU 42A includes a comparison circuit 44A in place of the comparison circuit 44.

すなわち、第2実施形態に係るCPU110Aは、第3レジスタ14、24、34を備える点、及び、比較回路44に換えて、比較回路44Aを備えている点において、第1実施形態に係るCPU110と相違している。以下の説明においては、第1実施形態に係るCPU110との相違点について説明し、第1実施形態に係るCPU110と同一の構成については、同一の参照符号を付してその説明を省略する。   That is, the CPU 110A according to the second embodiment is different from the CPU 110 according to the first embodiment in that it includes the third registers 14, 24, and 34 and includes a comparison circuit 44A instead of the comparison circuit 44. It is different. In the following description, differences from the CPU 110 according to the first embodiment will be described, and the same components as those of the CPU 110 according to the first embodiment will be denoted by the same reference numerals and description thereof will be omitted.

第3レジスタ14、24、34(第3記憶手段に相当する)は、いわゆるマスクレジスタ(マスキング処理を行うレジスタ)として機能するレジスタであって、前記第1個数(ここでは、3個)の第1レジスタ13、23、33にそれぞれ格納された3個の第1故障レベル(ここでは、故障レベル5、故障レベル3、故障レベル1)のいずれかに対応する第3故障レベルL3情報を、予め格納するレジスタである。   The third registers 14, 24, and 34 (corresponding to the third storage means) function as so-called mask registers (registers that perform masking processing), and are the first number (here, three) of the first registers. The third failure level L3 information corresponding to any of the three first failure levels (here, failure level 5, failure level 3, failure level 1) respectively stored in one register 13, 23, 33 is stored in advance. A register to store.

具体的には、例えば、第3レジスタ14、24、34は、第1レジスタ23に格納された第1故障レベル(=故障レベル3)を予め格納している。そして、第3レジスタ14、24、34は、第1レジスタ13、23、33に格納されている第1故障レベルL1が、第3レジスタ14、24、34に格納されている第1故障レベルL3より低い場合には、第1故障レベルL3を出力する。一方、第3レジスタ14、24、34は、第1レジスタ13、23、33に格納されている第1故障レベルL1が、第3レジスタ14、24、34に格納されている第1故障レベルL3より高い場合には、第1故障レベルL1を出力する。   Specifically, for example, the third registers 14, 24, and 34 store in advance the first failure level (= failure level 3) stored in the first register 23. In the third registers 14, 24, 34, the first failure level L1 stored in the first registers 13, 23, 33 is the first failure level L3 stored in the third registers 14, 24, 34. If it is lower, the first failure level L3 is output. On the other hand, in the third registers 14, 24, 34, the first failure level L1 stored in the first registers 13, 23, 33 is the first failure level L3 stored in the third registers 14, 24, 34. If it is higher, the first failure level L1 is output.

比較回路44Aは、第1ソフトウェア11、21、31のいずれかが故障を検出した場合に、対応する第3レジスタ14、24、34から第1故障レベルL1(又は、第1故障レベルL3)を読み出すと共に、第2レジスタ43から第2故障レベルL2を読み出す回路である。そして、比較回路44は、第3レジスタ14、24、34から読み出された第1故障レベルL1(又は、第1故障レベルL3)が、第2レジスタ43に格納された第2故障レベルL2と一致するか否かを判定する。   When any of the first software 11, 21, 31 detects a failure, the comparison circuit 44A obtains the first failure level L1 (or the first failure level L3) from the corresponding third register 14, 24, 34. In addition to reading, the second failure level L2 is read from the second register 43. Then, the comparison circuit 44 determines that the first failure level L1 (or the first failure level L3) read from the third registers 14, 24, 34 is the second failure level L2 stored in the second register 43. It is determined whether or not they match.

ここでは、第3レジスタ14、24、34は、故障レベル3を格納している場合について説明する。第1ソフトウェア11において故障が検出された場合には、第1レジスタ13に格納された故障レベル5が第3レジスタ14に格納された故障レベル3より高いため、第3レジスタ14から第1レジスタ13に格納された故障レベル5が出力される。
また、第1ソフトウェア21において故障が検出された場合には、第1レジスタ23に格納された故障レベル3が第3レジスタ24に格納された故障レベル3と同じであるため、第3レジスタ24から第1レジスタ23に格納された故障レベル3が出力される。更に、第1ソフトウェア31において故障が検出された場合には、第1レジスタ33に格納された故障レベル1が第3レジスタ34に格納された故障レベル3より低いため、第3レジスタ34から第3レジスタ24に格納された故障レベル3が出力される。
Here, the case where the third registers 14, 24, and 34 store the failure level 3 will be described. When a failure is detected in the first software 11, the failure level 5 stored in the first register 13 is higher than the failure level 3 stored in the third register 14. The failure level 5 stored in is output.
If a failure is detected in the first software 21, the failure level 3 stored in the first register 23 is the same as the failure level 3 stored in the third register 24. The failure level 3 stored in the first register 23 is output. Further, when a failure is detected in the first software 31, since the failure level 1 stored in the first register 33 is lower than the failure level 3 stored in the third register 34, the third register 34 to the third register The failure level 3 stored in the register 24 is output.

図8、図9は、第2実施形態に係る故障処理装置(CPU110A)の動作の一例を示すフローチャートである。なお、図8、図9に示すフローチャートでは、便宜上、第3レジスタ14、24、34に格納された、第1故障レベルが故障レベルL3(L3=1、3、5)である場合について説明する。まず、図8に示すように、比較回路44Aによって、第1ソフトウェア11、21、31のいずれかが故障を検出したか否かの判定が行われる(S501)。故障を検出していないと判定された場合(S501でNO)には、処理が待機状態とされる。故障を検出したと判定された場合(S501でYES)には、比較回路44Aによって、第1レジスタ13、23、33から第1故障レベルL1が読み出される(S503)。そして、第3レジスタ14、24、34において、第1レジスタ13、23、33に格納された第1故障レベルL1が、第3レジスタ14、24、34に格納されている第1故障レベルL3以上であるか否かの判定が行われる(S505)。   8 and 9 are flowcharts showing an example of the operation of the failure processing apparatus (CPU 110A) according to the second embodiment. In the flowcharts shown in FIGS. 8 and 9, a case where the first failure level stored in the third registers 14, 24, and 34 is the failure level L3 (L3 = 1, 3, 5) will be described for the sake of convenience. . First, as shown in FIG. 8, the comparison circuit 44A determines whether any of the first software 11, 21, and 31 has detected a failure (S501). If it is determined that a failure has not been detected (NO in S501), the process enters a standby state. If it is determined that a failure has been detected (YES in S501), the comparison circuit 44A reads the first failure level L1 from the first registers 13, 23, and 33 (S503). In the third registers 14, 24, 34, the first failure level L1 stored in the first registers 13, 23, 33 is equal to or higher than the first failure level L3 stored in the third registers 14, 24, 34. It is determined whether or not (S505).

第1故障レベルL1が第1故障レベルL3未満であると判定された場合(S505でNO)には、第3レジスタ14、24、34から出力される故障レベルである判定故障レベルLDが第3故障レベルL3に設定される(S507)。一方、第1故障レベルL1が第1故障レベルL3以上であると判定された場合(S505でYES)には、第3レジスタ14、24、34から出力される故障レベルである判定故障レベルLDが第1故障レベルL1に設定される(S509)。ステップS507の処理が終了した場合、又は、ステップS509の処理が終了した場合には、比較回路44Aによって、第2レジスタ43から第2故障レベルL2が読み出される(S511)。次いで、図9に示すように、比較回路44Aによって、ステップS507又はステップS509において設定された判定故障レベルLDが、ステップS511において読み出された第2故障レベルL2と一致するか否かの判定が行われる(S513)。   When it is determined that the first failure level L1 is less than the first failure level L3 (NO in S505), the determination failure level LD that is the failure level output from the third registers 14, 24, 34 is the third failure level LD. The failure level L3 is set (S507). On the other hand, when it is determined that the first failure level L1 is equal to or higher than the first failure level L3 (YES in S505), the determination failure level LD that is the failure level output from the third registers 14, 24, and 34 is set. The first failure level L1 is set (S509). When the process of step S507 is completed, or when the process of step S509 is completed, the second failure level L2 is read from the second register 43 by the comparison circuit 44A (S511). Next, as shown in FIG. 9, the comparison circuit 44A determines whether or not the determination failure level LD set in step S507 or step S509 matches the second failure level L2 read in step S511. Performed (S513).

判定故障レベルLDが第2故障レベルL2と一致すると判定された場合(S513でYES)には、故障レベル設定部451によって、故障処理動作を規定する故障レベルが故障レベル3に設定され、処理実行部453によって故障レベル3に対応する故障処理である第1故障処理が実行されて(S515)、処理が終了される。判定故障レベルLDが第2故障レベルL2と一致しないと判定された場合(S513でNO)には、故障レベル設定部451によって、判定故障レベルLDが故障レベル1であるか否かの判定が行われる(S517)。判定故障レベルLDが故障レベル1であると判定された場合(S517でYES)には、故障処理動作を規定する故障レベルが故障レベル1に設定され、処理実行部453によって故障レベル1に対応する故障処理である第2故障処理が実行されて(S519)、処理が終了される。判定故障レベルLDが故障レベル1ではない(=故障レベル5である)と判定された場合(S517でNO)には、故障処理動作を規定する故障レベルが故障レベル5に設定され、処理実行部453等によって故障レベル5に対応する故障処理である第5故障処理が実行されて(S115)、処理が終了される。   If it is determined that the determined failure level LD matches the second failure level L2 (YES in S513), the failure level setting unit 451 sets the failure level that defines the failure processing operation to the failure level 3, and executes the process. The first failure processing that is the failure processing corresponding to failure level 3 is executed by the unit 453 (S515), and the processing is terminated. If it is determined that the determined failure level LD does not match the second failure level L2 (NO in S513), the failure level setting unit 451 determines whether the determined failure level LD is the failure level 1. (S517). If it is determined that the determined failure level LD is failure level 1 (YES in S517), the failure level that defines the failure processing operation is set to failure level 1, and the processing execution unit 453 corresponds to failure level 1 A second failure process, which is a failure process, is executed (S519), and the process ends. When it is determined that the determined failure level LD is not the failure level 1 (= failure level 5) (NO in S517), the failure level that defines the failure processing operation is set to the failure level 5, and the process execution unit A fifth failure process that is a failure process corresponding to the failure level 5 is executed by 453 or the like (S115), and the process is terminated.

このようにして、第1故障レベルL1及び第3故障レベルL3に基づいて、故障処理動作を規定する故障レベルが設定されるため、前記第3故障レベルL3を適正に設定することによって、処理実行部453の処理を簡略化することができる。例えば、第3故障レベルL3が、故障レベル3に設定されている場合には、処理実行部453は、故障レベル3、又は、故障レベル5に対応する故障処理を行うため、故障レベル1に対応する故障処理を行う必要がないのである。   In this way, since the failure level that defines the failure processing operation is set based on the first failure level L1 and the third failure level L3, the processing is executed by appropriately setting the third failure level L3. The processing of the unit 453 can be simplified. For example, when the third failure level L3 is set to the failure level 3, the processing execution unit 453 performs failure processing corresponding to the failure level 3 or the failure level 5, and therefore corresponds to the failure level 1. There is no need to perform fault handling.

なお、本発明に係る故障処理装置は、上記第1実施形態に係るCPU110、第2実施形態に係るCPU110Aに限定されず、下記の形態でも良い。
(A)第1実施形態、第2実施形態においては、車両に搭載された第1個数(ここでは、3個)のECUを、1個のECU100、100A上に機能統合する場合について説明したが、2個以上の第1個数の物理プロセッサを1個の物理プロセッサに機能統合する形態でも良い。更に、2個以上の第1個数の物理プロセッサを1個の物理プロセッサに機能統合する場合に限らず、1個の物理プロセッサが、2個以上の第1個数の仮想プロセッサを搭載する形態であれば良い。
Note that the failure processing apparatus according to the present invention is not limited to the CPU 110 according to the first embodiment and the CPU 110A according to the second embodiment, and may be the following form.
(A) In the first and second embodiments, a case has been described in which the first number (here, three) of ECUs mounted on the vehicle is functionally integrated on one ECU 100, 100A. Two or more first number of physical processors may be integrated into one physical processor. Further, the present invention is not limited to the case where two or more first number of physical processors are integrated into one physical processor, but one physical processor may have a form in which two or more first number of virtual processors are mounted. It ’s fine.

(B)第1実施形態、第2実施形態においては、CPU110、110Aが、ECUに搭載されている形態について説明したが、CPU110、110Aが、他の形態の制御ユニット等に搭載されている形態でも良い。例えば、CPU110、110Aが、パーソナルコンピュータ等に搭載されている形態でも良い。   (B) In the first and second embodiments, the CPUs 110 and 110A have been described as being mounted on the ECU. However, the CPUs 110 and 110A are mounted on other types of control units and the like. But it ’s okay. For example, the CPU 110 and 110A may be mounted on a personal computer or the like.

(C)第1実施形態、第2実施形態においては、第1記憶手段、第2記憶手段、第3記憶手段が、それぞれ、レジスタから構成されている場合について説明したが、第1記憶手段、第2記憶手段、第3記憶手段が、その他の形態のメモリで構成されている形態でも良い。例えば、第1記憶手段、第2記憶手段、第3記憶手段が、それぞれ、ROM(Read Only Memory)、又は、RAM(Random Access Memory)で構成されている形態でも良い。   (C) In the first embodiment and the second embodiment, the case where the first storage means, the second storage means, and the third storage means are each configured by a register has been described. However, the first storage means, The second storage means and the third storage means may be configured by other types of memory. For example, the first storage unit, the second storage unit, and the third storage unit may each be constituted by a ROM (Read Only Memory) or a RAM (Random Access Memory).

(D)第1実施形態、第2実施形態においては、第2VCPU42、42Aが、比較回路44、44A、故障制御回路45を備える場合について説明したが、第2VCPU42、42Aが、比較回路44、44A、故障制御回路45の機能を有する機能部を備える形態でも良い。すなわち、ECU100(又は、ECU100A)が、CPU110(又は、CPU110A)に、ECU100(又は、ECU100A)の適所に配設されたROM(Read Only Memory)等に予め格納された制御プログラムを実行させることにより、CPU110(又は、CPU110A)を、機能的に、比較回路44(又は、比較回路44A)、故障制御回路45の機能をそれぞれ有する機能部として機能させる形態でも良い。   (D) In the first and second embodiments, the case where the second VCPUs 42 and 42A include the comparison circuits 44 and 44A and the failure control circuit 45 has been described. However, the second VCPUs 42 and 42A include the comparison circuits 44 and 44A. Alternatively, a configuration including a functional unit having the function of the failure control circuit 45 may be employed. That is, the ECU 100 (or the ECU 100A) causes the CPU 110 (or the CPU 110A) to execute a control program stored in advance in a ROM (Read Only Memory) or the like disposed at an appropriate position of the ECU 100 (or the ECU 100A). The CPU 110 (or the CPU 110A) may be functionally functioned as functional units having the functions of the comparison circuit 44 (or the comparison circuit 44A) and the failure control circuit 45, respectively.

(E)第1実施形態、第2実施形態においては、第1個数が3個である場合について説明したが、第1個数が2個以上であれば良い。第1個数が多い程、本発明の効果は顕在化する。   (E) In the first and second embodiments, the case where the first number is three has been described, but the first number may be two or more. The effect of the present invention becomes more obvious as the first number increases.

本発明は、例えば、1個の物理プロセッサ上に搭載された2個以上の第1個数の第1仮想プロセッサにおいて、それぞれ動作する前記第1個数の第1ソフトウェアのいずれかが故障を検出した場合に、故障が発生した第1ソフトウェアが動作する第1仮想プロセッサに対応する処理を行う、前記1個の物理プロセッサ上に搭載された故障処理装置に適用することができる。   In the present invention, for example, in the case where two or more first virtual processors mounted on one physical processor detect a failure in any of the first number of first software operating respectively. In addition, the present invention can be applied to a failure processing apparatus mounted on the one physical processor that performs processing corresponding to the first virtual processor in which the first software in which the failure has occurred operates.

100、100A ECU
110、110A CPU(故障処理装置)
11、21、31 第1ソフトウェア
12、22、32 第1VCPU(第1仮想プロセッサ)
12A、22A、32A 第1VCPU(第1仮想プロセッサ)
13、23、33 第1レジスタ(第1記憶手段)
14、24、34 第3レジスタ(第3記憶手段)
41 第2ソフトウェア(故障レベル設定手段の一部、処理実行手段の一部)
42、42A 第2VCPU(第2仮想プロセッサ)
43 第2レジスタ(第2記憶手段)
44、44A 比較回路(故障レベル設定手段の一部)
45 故障制御回路
451 故障レベル設定部(故障レベル設定手段の一部)
452 選定部(選定手段の一部)
453 処理実行部(処理実行手段の一部)
100, 100A ECU
110, 110A CPU (fault processing device)
11, 21, 31 First software 12, 22, 32 First VCPU (first virtual processor)
12A, 22A, 32A First VCPU (first virtual processor)
13, 23, 33 First register (first storage means)
14, 24, 34 Third register (third storage means)
41 Second software (part of failure level setting means, part of processing execution means)
42, 42A Second VCPU (second virtual processor)
43 Second register (second storage means)
44, 44A comparison circuit (part of failure level setting means)
45 Failure control circuit 451 Failure level setting section (part of failure level setting means)
452 Selection part (part of selection means)
453 process execution unit (part of process execution means)

Claims (18)

1個の物理プロセッサ上に搭載された2個以上の第1個数の第1仮想プロセッサにおいて、それぞれ動作する前記第1個数の第1ソフトウェアのいずれかが故障を検出した場合に、故障が発生した第1ソフトウェアが動作する第1仮想プロセッサに対応する処理を行う、前記1個の物理プロセッサ上に搭載された故障処理装置であって、
前記第1個数の仮想プロセッサ上にそれぞれ配設され、前記第1個数の仮想プロセッサ上でそれぞれ動作する第1ソフトウェアが故障を検出した場合の処理を規定する第1故障レベル情報を予め格納する前記第1個数の第1記憶手段と、
前記第1ソフトウェアが故障を検出した場合に、故障を検出した第1ソフトウェアに対応する第1故障レベル情報を前記第1記憶手段から読み出し、故障処理動作を規定する故障レベルとして設定する故障レベル設定手段と、
前記故障レベル設定手段によって設定された故障レベルに対応する故障処理動作を実行する処理実行手段と、を備える、故障処理装置。
A failure has occurred in any one of the first number of first virtual processors mounted on one physical processor when any one of the first number of first software operating respectively detects the failure. A failure processing apparatus mounted on the one physical processor that performs processing corresponding to the first virtual processor on which the first software operates;
The first failure level information that preliminarily stores the first failure level information that defines the processing when the first software that is disposed on each of the first number of virtual processors and that respectively operates on the first number of virtual processors detects a failure is stored in advance. A first number of first storage means;
When the first software detects a failure, failure level setting for reading out first failure level information corresponding to the first software that has detected the failure from the first storage means and setting the failure level as a failure level that defines the failure processing operation Means,
A failure processing apparatus comprising: a processing execution unit that executes a failure processing operation corresponding to the failure level set by the failure level setting unit.
前記第1個数の第1仮想プロセッサは、それぞれ、前記1個の物理プロセッサ上に機能統合された、前記第1個数の物理プロセッサの機能を模擬するプロセッサである、請求項1に記載の故障処理装置。   2. The fault processing according to claim 1, wherein each of the first number of first virtual processors is a processor simulating the function of the first number of physical processors, each function integrated on the one physical processor. apparatus. 前記1個の物理プロセッサ、及び、前記第1個数の物理プロセッサは、それぞれ、車両に搭載されたECU(Electronic Control Unit)である、請求項2に記載の故障処理装置。   The failure processing apparatus according to claim 2, wherein each of the one physical processor and the first number of physical processors is an ECU (Electronic Control Unit) mounted on a vehicle. 前記故障レベル設定手段、及び、前記処理実行手段は、前記1個の物理プロセッサ上に搭載された第2仮想プロセッサの一部として構成されている、請求項1に記載の故障処理装置。   The failure processing apparatus according to claim 1, wherein the failure level setting unit and the process execution unit are configured as a part of a second virtual processor mounted on the one physical processor. 前記第1記憶手段は、レジスタから構成されている、請求項1に記載の故障処理装置。   The failure processing apparatus according to claim 1, wherein the first storage unit includes a register. 前記第2仮想プロセッサは、該第2仮想プロセッサ上で動作する第2ソフトウェアが故障を検出した場合の処理を規定する第2故障レベル情報を予め格納する第2記憶手段を備え、
前記故障レベル設定手段は、前記第2ソフトウェアが故障を検出した場合に、前記第2記憶手段に格納された第2故障レベルに基づいて、故障処理動作を規定する故障レベルを設定し、
前記処理実行手段は、前記故障レベル設定手段によって設定された故障レベルに対応する故障処理動作を実行する、請求項4に記載の故障処理装置。
The second virtual processor comprises second storage means for preliminarily storing second failure level information that defines processing when the second software operating on the second virtual processor detects a failure,
The failure level setting means sets a failure level that defines a failure processing operation based on a second failure level stored in the second storage means when the second software detects a failure,
The failure processing apparatus according to claim 4, wherein the processing execution unit executes a failure processing operation corresponding to the failure level set by the failure level setting unit.
前記故障レベル設定手段は、前記第1記憶手段から読み出された第1故障レベルが、前記第2記憶手段に格納された第2故障レベルと一致するか否かを判定する比較回路を備え、
前記処理実行手段は、前記比較回路において第2故障レベルと一致すると判定された場合に、前記第2ソフトウェアに規定された故障処理動作を実行する、請求項6に記載の故障処理装置。
The failure level setting means includes a comparison circuit that determines whether or not the first failure level read from the first storage means matches the second failure level stored in the second storage means,
The fault processing apparatus according to claim 6, wherein the processing execution unit executes a fault processing operation defined in the second software when the comparison circuit determines that the second fault level matches the second fault level.
前記第2記憶手段は、レジスタから構成されている、請求項6に記載の故障処理装置。   The failure processing apparatus according to claim 6, wherein the second storage unit includes a register. 前記故障レベル情報は、故障が発生した第1ソフトウェアを、前記第1個数の第1仮想プロセッサの内、故障が発生していない第1仮想プロセッサ上で動作させる故障処理動作である第1故障処理動作に対応する第1の特定故障レベル情報を含む、請求項1に記載の故障処理装置。   The failure level information is a first failure process that is a failure processing operation that causes the first software in which a failure has occurred to operate on a first virtual processor in which no failure has occurred among the first number of first virtual processors. The failure processing apparatus according to claim 1, comprising first specific failure level information corresponding to an operation. 前記故障レベル設定手段によって設定された故障レベルが、前記第1の特定故障レベルである場合に、前記第1個数の第1仮想プロセッサの中から、前記第1故障処理動作を実行させる故障が発生していない1個の第1仮想プロセッサである代替仮想プロセッサを選定する選定手段を備え、
前記処理実行手段は、前記選定手段によって選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアを動作させる、請求項9に記載の故障処理装置。
When the failure level set by the failure level setting means is the first specific failure level, a failure that causes the first failure processing operation to occur from the first number of first virtual processors occurs. A selection means for selecting an alternative virtual processor that is not one first virtual processor;
The failure processing apparatus according to claim 9, wherein the process execution unit operates the first software in which a failure has occurred on the alternative virtual processor selected by the selection unit.
前記選定手段は、前記第1個数の第1仮想プロセッサの中から、各第1仮想プロセッサの負荷率に基づいて、前記代替仮想プロセッサを選定する、請求項10に記載の故障処理装置。   The failure processing apparatus according to claim 10, wherein the selection unit selects the alternative virtual processor from the first number of first virtual processors based on a load factor of each first virtual processor. 前記選定手段は、前記第1個数の第1仮想プロセッサの中から、各第1仮想プロセッサの第1記憶手段に格納された第1故障レベルに基づいて、前記代替仮想プロセッサを選定する、請求項10に記載の故障処理装置。   The selection means selects the alternative virtual processor from the first number of first virtual processors based on a first failure level stored in a first storage means of each first virtual processor. 10. The failure processing apparatus according to 10. 前記処理実行手段は、前記選定手段によって選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、予め設定された一部の機能を動作させる、請求項10に記載の故障処理装置。   The failure processing apparatus according to claim 10, wherein the processing execution unit operates a part of preset functions of the first software in which a failure has occurred on the alternative virtual processor selected by the selection unit. . 前記処理実行手段は、前記選定手段によって選定された代替仮想プロセッサ上で、故障が発生した第1ソフトウェアの内、必要最低限の機能を動作させる、請求項10に記載の故障処理装置。   The failure processing apparatus according to claim 10, wherein the process execution unit operates a minimum necessary function in the first software in which a failure has occurred on the alternative virtual processor selected by the selection unit. 前記故障レベル情報は、故障が発生した第1ソフトウェアに対応する第1仮想プロセッサのリセットを、予め設定された所定回数迄繰り返し実行し、故障が解消しない場合には、該第1ソフトウェアの実行を停止する故障処理動作である第2故障処理動作に対応する第2の特定故障レベル情報を含む、請求項1に記載の故障処理装置。   The failure level information is obtained by repeatedly resetting the first virtual processor corresponding to the first software in which the failure has occurred until a predetermined number of times set in advance. The failure processing apparatus according to claim 1, comprising second specific failure level information corresponding to a second failure processing operation that is a failure processing operation to be stopped. 前記第1個数の第1記憶手段にそれぞれ格納された前記第1個数の第1故障レベル情報のいずれかに対応する第3故障レベル情報を、予め格納する第3記憶手段を備え、
前記故障レベル設定手段は、前記第1ソフトウェアが故障を検出した場合に、故障を検出した第1ソフトウェアに対応する第1故障レベル情報を前記第1記憶手段から読み出すと共に第3故障レベル情報を前記第3記憶手段から読み出し、読み出された第1故障レベル情及び第3故障レベル情報に基づいて、故障処理動作を規定する故障レベルを設定する、請求項1に記載の故障処理装置。
Third storage means for storing in advance third failure level information corresponding to any of the first number of first failure level information respectively stored in the first number of first storage means;
When the first software detects a failure, the failure level setting means reads out the first failure level information corresponding to the first software that has detected the failure from the first storage means and outputs the third failure level information. The failure processing apparatus according to claim 1, wherein a failure level that defines a failure processing operation is set based on the first failure level information and the third failure level information read from the third storage unit.
前記故障レベル設定手段は、前記第1故障レベル情及び前記第3故障レベル情報の内、要求レベルの高い方の故障レベルを、故障処理動作を規定する故障レベルとして設定する、請求項16に記載の故障処理装置。   The failure level setting means sets a failure level having a higher required level of the first failure level information and the third failure level information as a failure level that defines a failure processing operation. Failure handling equipment. 前記第3記憶手段は、レジスタから構成されている、請求項16に記載の故障処理装置。   The failure processing apparatus according to claim 16, wherein the third storage unit includes a register.
JP2009154028A 2009-06-29 2009-06-29 Fault processor Pending JP2011008702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009154028A JP2011008702A (en) 2009-06-29 2009-06-29 Fault processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009154028A JP2011008702A (en) 2009-06-29 2009-06-29 Fault processor

Publications (1)

Publication Number Publication Date
JP2011008702A true JP2011008702A (en) 2011-01-13

Family

ID=43565240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009154028A Pending JP2011008702A (en) 2009-06-29 2009-06-29 Fault processor

Country Status (1)

Country Link
JP (1) JP2011008702A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012137920A (en) * 2010-12-27 2012-07-19 Toyota Motor Corp Electronic control device and start control method
JP2014139706A (en) * 2013-01-21 2014-07-31 Nec Corp Fault tolerant system
CN108501958A (en) * 2018-04-28 2018-09-07 北京新能源汽车股份有限公司 A kind of processing method of vehicle trouble, device and electric vehicle
JP2020190986A (en) * 2019-05-23 2020-11-26 株式会社デンソー Device for vehicle
CN112052147A (en) * 2020-07-27 2020-12-08 网宿科技股份有限公司 Monitoring method, electronic device and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012137920A (en) * 2010-12-27 2012-07-19 Toyota Motor Corp Electronic control device and start control method
JP2014139706A (en) * 2013-01-21 2014-07-31 Nec Corp Fault tolerant system
CN108501958A (en) * 2018-04-28 2018-09-07 北京新能源汽车股份有限公司 A kind of processing method of vehicle trouble, device and electric vehicle
JP2020190986A (en) * 2019-05-23 2020-11-26 株式会社デンソー Device for vehicle
CN112052147A (en) * 2020-07-27 2020-12-08 网宿科技股份有限公司 Monitoring method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
JP6496562B2 (en) Semiconductor device, diagnostic test method and diagnostic test circuit
US7890800B2 (en) Method, operating system and computing hardware for running a computer program
JP2007011426A (en) Processor
JP2011008702A (en) Fault processor
JP2013137835A (en) Microcomputer and method of operation thereof
US7788533B2 (en) Restarting an errored object of a first class
JP2009059005A (en) Debugging system, debugging device, and method
JP2015067107A (en) Vehicle control device
JP2010117813A (en) Debugging system, debugging method, debugging control method, and debugging control program
JP2017102633A (en) Information processing device and semiconductor integrated circuit device
JP2007034469A (en) Data error detection device and data error detection method
US20090187903A1 (en) Virtual multiprocessor system
US7711985B2 (en) Restarting an errored object of a first class
JP7271973B2 (en) VEHICLE CONTROL DEVICE AND OPERATING CLOCK SWITCHING METHOD
JP6183251B2 (en) Electronic control unit
JP6726136B2 (en) Data access device and access error notification method
JP6524989B2 (en) Operation guarantee method of arithmetic unit
JP7172155B2 (en) Electronic control device and software generation method
JP5756413B2 (en) Control device
JP5942904B2 (en) Processing equipment
WO2011010427A1 (en) Running state monitoring apparatus and running state monitoring method
JP2007094526A (en) Logic verification technique for integrated circuit
US9342359B2 (en) Information processing system and information processing method
JP6645467B2 (en) Microcomputer
JP6558317B2 (en) Electronic equipment

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110901

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120210

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20120217