×

Virtual machine (VM) approach to embedded system hot update

  • US 10,360,020 B2
  • Filed: 04/11/2017
  • Issued: 07/23/2019
  • Est. Priority Date: 04/11/2017
  • Status: Active Grant
First Claim
Patent Images

1. A software updating apparatus that operates on an electric vehicle, comprising:

  • a memory;

    a hardware interface in communication with a system of the electric vehicle, wherein the system controls a function of the electric vehicle;

    reserved resources for loading and testing an updated version of an active operating system (OS) of the electric vehicle;

    a processor in communication with the memory, wherein the processor;

    deploys a first virtual machine (VM) that executes a first operating system, the first OS being the active OS for the system of the electric vehicle;

    deploys a second VM in the reserved resources that executes the updated version of the first OS; and

    deploys a third VM that executes a backup copy of the first OS, the backup copy being used for hot swapping the active OS executed by the first OS in case of a failure of the first OS or the first VM; and

    a hypervisor in communication with the first VM, the second VM, the third VM, and the hardware interface, wherein the hypervisor;

    receives an input from the hardware interface and forwards the input to the first VM executing the first OS and the second VM executing the updated version of the first OS;

    receives a first output from the first VM and forwards the first output to the hardware interface for controlling the function of the electric vehicle;

    receives a second output from the second VM and blocks the second output from being sent to the hardware interface such that the second output is not used for controlling the function of the electric vehicle;

    compares the first output and the second output;

    in response to the comparison, deploys, based on one or more rules, the updated version of the first OS executed by the second VM as the active OS and deconstructs a connection between the first VM and the hypervisor;

    updates the third VM to the updated version of the first OS and assign the third VM as a backup version of the active OS executed by the second VM, the updated version of the first OS in the third VM being used for hot swapping the active OS executed by the second VM in case of a failure of the second VM or a failure of the active OS in the second VM; and

    reserves resources of the first VM for a future update of the active OS being executed by the second VM.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×