This in-vehicle computer is provided with a physical resource comprising a processor having a register and a plurality of physical devices each having a register, and generates a plurality of virtual devices by performing time-division on the physical resource and allocating the time-divided physical resources. When switching is made from a first virtual device to a second virtual device, a register value for the processor of the first virtual device is saved, and a register value for the processor of the second virtual device is restored, and when switching is made from the first virtual device to the second virtual device, a determination is made as to whether or not there is a need to change the register value for a physical device to be used by the second virtual device, and, in the case when it is determined that a change needs to be made, the register value for the physical device of the second virtual device is restored in said physical device.
La présente invention concerne un ordinateur embarqué qui est pourvu d'une ressource physique comprenant un processeur ayant un registre et une pluralité de dispositifs physiques ayant chacun un registre, et qui génère une pluralité de dispositifs virtuels par réalisation d'une division dans le temps sur la ressource physique et par attribution des ressources physiques divisées dans le temps. Lorsqu'une commutation est effectuée d'un premier dispositif virtuel à un second dispositif virtuel, une valeur de registre pour le processeur du premier dispositif virtuel est sauvegardée et une valeur de registre pour le processeur du second dispositif virtuel est rétablie et, lorsque la commutation est effectuée du premier dispositif virtuel au second dispositif virtuel, il est déterminé s'il y a, ou non, un besoin de changer la valeur de registre pour un dispositif physique qui doit être utilisé par le second dispositif virtuel, et, dans le cas où il est déterminé qu'un changement doit être effectué, la valeur de registre pour le dispositif physique du second dispositif virtuel est restaurée dans ledit dispositif physique.
レジスタを有するプロセッサ及びレジスタを有する複数の物理デバイスを含む物理リソースを備え、物理リソースを時分割して割り当てることにより、複数の仮想装置を生成する車載コンピュータは、第1の仮想装置から第2の仮想装置へ切り替える場合、第1の仮想装置に係るプロセッサのレジスタ値を退避し、第2の仮想装置に係るプロセッサのレジスタ値を復元し、第1の仮想装置から第2の仮想装置へ切り替える場合、第2の仮想装置が使用する物理デバイスのレジスタ値の変更の要否を判定し、変更要と判定した場合、第2の仮想装置に係る物理デバイスのレジスタ値を物理デバイスに復元する。
IN-VEHICLE COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
ORDINATEUR EMBARQUÉ, PROCÉDÉ D'EXÉCUTION D'ORDINATEUR ET PROGRAMME INFORMATIQUE
車載コンピュータ、コンピュータ実行方法及びコンピュータプログラム
2022-07-21
Patent
Electronic Resource
Japanese
ON-VEHICLE COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
European Patent Office | 2022
|ON-VEHICLE COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
European Patent Office | 2020
|In-vehicle computer, computer execution method, and computer program
European Patent Office | 2023
|On-board computer, computer execution method, and computer program
European Patent Office | 2024
|ON-BOARD COMPUTER, COMPUTER EXECUTION METHOD, AND COMPUTER PROGRAM
European Patent Office | 2022
|