System and method for generating virtual machine configuration for virtual machines

The system automates virtual machine configuration by using a controller to generate tailored startup commands based on configuration files and stored details, addressing the laborious and error-prone manual setup of virtual machines, enhancing efficiency and reducing errors.

US20260377194A1Pending Publication Date: 2026-11-26CATERPILLAR INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/212830
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Current virtual machine configurations are specific and detailed for each virtual machine, requiring manual effort and are prone to errors due to their complexity, making the setup process laborious and time-consuming.

Method used

A system and method that utilizes a controller with processors and memories to generate unique virtual machine configurations based on configuration files and stored details, allowing for automated generation of startup commands tailored to each virtual machine's specific requirements.

Benefits of technology

Automates the virtual machine configuration process, improving productivity and reducing errors by generating customized configurations efficiently and cost-effectively, ensuring accurate setup of each virtual machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377194A1-D00000_ABST
    Figure US20260377194A1-D00000_ABST
Patent Text Reader

Abstract

A system for generating a virtual machine configuration for one or more virtual machines includes a controller. The controller includes one or more memories configured to store details pertaining to one or more virtual machine configurations for the one or more virtual machines. The controller further includes one or more processors communicably coupled with the one or more memories. The one or more processors are configured to receive, at least one configuration file associated with the one or more virtual machines. Each configuration file includes information indicative of one or more functionalities for the one or more virtual machines. The one or more processors are further configured to generate the virtual machine configuration based on a receipt of the at least one configuration file and the details pertaining to the one or more virtual machine configurations for the one or more virtual machines.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to a system for generating a virtual machine configuration for one or more virtual machines. The present disclosure further relates to a method for generating the virtual machine configuration for the one or more virtual machines.BACKGROUND

[0002] A virtual machine is a software-based emulation of a machine, for example, a computer and typically has no dedicated hardware components. The virtual machines allow multiple operating systems to co-exist and operate inside a host such as the computer. Physical resources of the host are virtualized so that the physical resources can be shared among the different operating systems. Each virtual machine operates as a real machine, even though it is implemented by a software such as a hypervisor. The virtual machines can run independently of the underlying hardware, are isolated from each other even when executing on the same machine / host and are easily provisioned and maintained.

[0003] Currently, virtual machine configurations are specific and detailed for each virtual machine that runs on an embedded device such as the host. The virtual machine configurations depend upon functionality requirements of a corresponding virtual machine. The virtual machine configurations are required by the hypervisor to configure and operate the corresponding virtual machines within the host.

[0004] U.S. Patent Publication Number 2005 / 0216920 describes a device virtual machine (VM) that is configured to emulate a hardware device. The device VM includes device emulation code used to emulate the hardware device.SUMMARY OF THE DISCLOSURE

[0005] In an aspect of the present disclosure, a system for generating a virtual machine configuration for one or more virtual machines is provided. The system includes a controller. The controller includes one or more memories configured to store details pertaining to one or more virtual machine configurations for the one or more virtual machines. The details pertaining to the one or more virtual machine configurations for each of the one or more virtual machines are different from each other. The controller also includes one or more processors communicably coupled with the one or more memories. The one or more processors are configured to receive, at least one configuration file associated with the one or more virtual machines. Each configuration file includes information indicative of one or more functionalities for the one or more virtual machines. The one or more processors are also configured to retrieve, from the one or more memories, the details pertaining to the one or more virtual machine configurations for the one or more virtual machines. The one or more processors are further configured to generate the virtual machine configuration based on a receipt of the at least one configuration file and the details pertaining to the one or more virtual machine configurations for the one or more virtual machines. The virtual machine configuration generated by the one or more processors is different for each of the one or more virtual machines. The virtual machine configuration is used as a startup command to operate the one or more virtual machines.

[0006] In another aspect of the present disclosure, a method for generating a virtual machine configuration for one or more virtual machines is provided. The method includes receiving, by one or more processors of a controller, at least one configuration file associated with the one or more virtual machines. Each configuration file includes information indicative of one or more functionalities for the one or more virtual machines. The method also includes retrieving, by the one or more processors, details pertaining to one or more virtual machine configurations for the one or more virtual machines from one or more memories of the controller. The one or more processors are communicably coupled with the one or more memories. The one or more memories are configured to store the details pertaining to the one or more virtual machine configurations for the one or more virtual machines. The details pertaining to the one or more virtual machine configurations for each of the one or more virtual machines are different from each other. The method further includes generating, by the one or more processors, the virtual machine configuration based on a receipt of the at least one configuration file and the details pertaining to the one or more virtual machine configurations for the one or more virtual machines. The virtual machine configuration generated by the one or more processors is different for each of the one or more virtual machines. The virtual machine configuration is used as a startup command to operate the one or more virtual machines.

[0007] Other features and aspects of this disclosure will be apparent from the following description and the accompanying drawings.BRIEF DESCRIPTION OF THE DRAWINGS

[0008] FIG. 1 is a block diagram of a system for generating a virtual machine configuration for one or more virtual machines, according to an example of the present disclosure; and

[0009] FIG. 2 is a flowchart of a method for generating the virtual machine configuration for the one or more virtual machines of FIG. 1, according to an example of the present disclosure.DETAILED DESCRIPTION

[0010] Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.

[0011] FIG. 1 is a block diagram of a system 100 for generating a virtual machine configuration 202 for one or more virtual machines 200, according to an example of the present disclosure. As an example, only three virtual machines 200 are illustrated herein. However, the system 100 may be used for generating the virtual machine configuration 202 for any number of virtual machines 200. In an example, each of the one or more virtual machines 200 is an Electronic Control Module (ECM) virtual machine. The ECM virtual machine may be associated with a stationary machine, such as, an energy storage system or a movable machine, such as, a construction machine.

[0012] The system 100 includes a controller 102. The controller 102 includes one or more memories 104 to store details 108 pertaining to one or more virtual machine configurations 202 for the one or more virtual machines 200. The details 108 pertaining to the one or more virtual machine configurations 202 for each of the one or more virtual machines 200 are different from each other.

[0013] In an example, the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200 include detailed information related to a number of hardware resources 110 accessible by each of the one or more virtual machines 200, a number of networks 112 accessible by each of the one or more virtual machines 200, a number of Controller Area Network (CAN) datalinks 114 accessible by each of the one or more virtual machines 200, and / or an onboard security enclave 116 for each of the one or more virtual machines 200. In some examples, the detailed information related to the number of hardware resources 110 may include information pertaining to a number of processing units, a size of memory, a non-volatile storage capacity, a graphic card, and the like, associated with a host device, such as a computer, or an ECM (not shown). In some examples, the detailed information related to the number of networks 112 may include information pertaining to network interfaces, internet protocol (IP) address, local area networks (LAN), private networks, virtual switches, software-defined networks (SDN), network function virtualization (NFV), firewall, routing, ethernet networks, and the like, that are associated with the host device, without any limitations. In some examples, the detailed information related to the onboard security enclave 116 may include information related to one or more encryption keys for the one or more virtual machines 200.

[0014] The one or more memories 104 may include any means of storing information, including a hard disk, an optical disk, a floppy disk, ROM (read only memory), RAM (random access memory), PROM (programmable ROM), EEPROM (electrically erasable PROM), or other computer-readable memory media.

[0015] The controller 102 also includes one or more processors 106 communicably coupled with the one or more memories 104.

[0016] It should be noted that the one or more processors 106 may embody a single microprocessor or multiple microprocessors for receiving various input signals and generating output signals. Numerous commercially available microprocessors may perform the functions of the one or more processors. Each processor may further include general processor(s), central processing unit(s), application specific integrated circuit(s) (ASIC), digital signal processor(s), field programmable gate array(s) (FPGA), digital circuit(s), analog circuit(s), microcontroller(s), any other type of processor(s), or any combination thereof. Each processor 106 may include one or more components that may be operable to execute computer executable instructions or computer code that may be stored and retrieved from the one or more memories 104.

[0017] The one or more processors 106 receive one or more configuration files 204 associated with the one or more virtual machines 200. The one or more configuration files 204 include a human-readable high-level description of requirements. In an example, the one or more configuration files 204 are stored with the one or more memories 104 or the one or more configuration files 204 are received from a user.

[0018] In an example, the one or more configuration files 204 are generated and updated by the user. In some examples, the one or more configuration files 204 may be in a Tom's Obvious Minimal Language (TOML) format.

[0019] Each configuration file 204 includes information 206 indicative of one or more functionalities for the one or more virtual machines 200.

[0020] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 includes details of one or more available hardware resources 210 accessible by a corresponding virtual machine 200. The one or more available hardware resources 210 include one or more of a number of processing units 210a associated with the corresponding virtual machine 200, a size of memory 210b associated with the corresponding virtual machine 200, a non-volatile storage capacity 210c associated with the corresponding virtual machine 200, and a graphical display output 210d associated with the corresponding virtual machine 200. The available hardware resources 210 may include any other resource, without any limitations.

[0021] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 further includes details of one or more available networks 212 accessible by the corresponding virtual machine 200. The one or more available networks 212 include one or more ethernet networks. The details of the one or more available networks 212 may also include details related to automatic managing of network addressing of various virtual machines 200. The available networks 212 may include any other network, without any limitations. In some examples, details of one or more available networks 212 may include information pertaining to network interfaces, IP address, LAN, private networks, virtual switches, SDN, NFV, firewall, routing, and the like, that are associated with the host device, without any limitations.

[0022] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 further includes details of available CAN datalinks 214 accessible by the corresponding virtual machine 200.

[0023] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 further includes details of an available onboard security enclave 216 for the corresponding virtual machine 200. In an example, the details of the available onboard security enclave 216 may include one or more available encryption keys for the corresponding virtual machine 200.

[0024] In some examples, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 may include details of development features of the corresponding virtual machine 200. The development features may enable development of a software associated with the virtual machine 200, and may be used only at a development stage.

[0025] It should be noted that the information 206 may include any other information that is relevant for the corresponding virtual machine 200.

[0026] The one or more processors 106 retrieve, from the one or more memories 104, the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200.

[0027] The one or more processors 106 generate the virtual machine configuration 202 based on a receipt of the one or more configuration files 204 and the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200.

[0028] The virtual machine configuration 202 generated by the one or more processors 106 is different for each of the one or more virtual machines 200. The virtual machine configuration 202 is used as a startup command to operate the one or more virtual machines 200.

[0029] In an example, a hypervisor 220 is communicably coupled with the one or more processors 106 and each of the one or more virtual machines 200. The hypervisor, also known as a virtual machine monitor (VMM) or virtualizer, is a type of computer software, firmware or hardware that creates and runs the virtual machines. The hypervisor may include a bare metal type hypervisor, a hosted hypervisor, and the like. The hypervisor 220 receives the virtual machine configuration 202 for each of the one or more virtual machines 200 to operate the corresponding virtual machine 200. In an example, the hypervisor 220 uses the virtual machine configuration 202 as the startup command to operate the corresponding virtual machine 200.

[0030] It is to be understood that individual features shown or described for one embodiment may be combined with individual features shown or described for another embodiment. The above-described implementation does not in any way limit the scope of the present disclosure. Therefore, it is to be understood although some features are shown or described to illustrate the use of the present disclosure in the context of functional segments, such features may be omitted from the scope of the present disclosure without departing from the spirit of the present disclosure as defined in the appended claims.INDUSTRIAL APPLICABILITY

[0031] The present disclosure describes the system 100 for generating the virtual machine configuration 202 for the one or more virtual machines 200. The system 100 generates the virtual machine configurations 202 after processing the one or more configuration files 204. The system 100, via the hypervisor 220, allows configuration and operation of the corresponding virtual machine 200 based on the generated virtual machine configurations 202.

[0032] The system 100 of the present disclosure assists in setting up of the virtual machines 200 and automatically generates the detailed virtual machine configurations 202 for the virtual machines 200. The system 100 reads the high-level configuration files 204 and generates the virtual machine configurations 202 which includes a detailed technical configuration specification to implement a desired virtual machine environment. The process of generating the virtual machine configuration 202 is done for every virtual machine 200 that needs to be set up. Each virtual machine 200 have different requirements, and the system 100 manages those differences.

[0033] Conventionally, getting the exact settings correct for each virtual machine 200 is a laborious process. A single mistyped letter can take a long time to discover and fix and may make a virtual machine not operate correctly. Automation of this process by implementing the system 100 and automatedly generating the virtual machine configuration 202 from a high-level list of required functionalities may improve productivity and quality benefit. Overall, the system 100 provides an easy, time-efficient, and cost-effective technique of generating the virtual machine configuration 202 and setting up each virtual machine 200.

[0034] FIG. 2 is a flowchart of a method 400 for generating the virtual machine configuration 202 (see FIG. 1) for the one or more virtual machines 200 (see FIG. 1). With reference to FIGS. 1 and 2, at step 402, the one or more processors 106 of the controller 102 receive the one or more configuration files 204 associated with the one or more virtual machines 200. Each configuration file 204 includes the information 206 indicative of the one or more functionalities for the one or more virtual machines 200.

[0035] In an example, the method 400 further includes a step (not shown) at which the user creates the one or more configuration files 204. The method 400 further includes a step (not shown) at which the user updates the one or more configuration files 204.

[0036] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 includes the details of the one or more available hardware resources 210 accessible by the corresponding virtual machine 200.

[0037] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 further includes the details of the one or more available networks 212 accessible by the corresponding virtual machine 200.

[0038] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 further includes the details of the available CAN datalinks 214 accessible by the corresponding virtual machine 200.

[0039] In an example, the information 206 indicative of the one or more functionalities for the one or more virtual machines 200 further includes the details of the available onboard security enclave 216 of the corresponding virtual machine 200.

[0040] At step 404, the one or more processors 106 retrieve the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200 from the one or more memories 104 of the controller 102. The one or more processors 106 are communicably coupled with the one or more memories 104. The one or more memories 104 store the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200. The details 108 pertaining to the one or more virtual machine configurations 202 for each of the one or more virtual machines 200 are different from each other.

[0041] In an example, the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200 include the detailed information related to one or more of the number of hardware resources 110 accessible by each of the one or more virtual machines 200, the number of networks 112 accessible by each of the one or more virtual machines 200, the number of Controller Area Network (CAN) datalinks 114 accessible by each of the one or more virtual machines 200, and / or the onboard security enclave 116 for each of the one or more virtual machines 200.

[0042] At step 406, the one or more processors 106 generate the virtual machine configuration 202 based on the receipt of the one or more configuration files 204 and the details 108 pertaining to the one or more virtual machine configurations 202 for the one or more virtual machines 200. The virtual machine configuration 202 generated by the one or more processors 106 is different for each of the one or more virtual machines 200. The virtual machine configuration 202 is used as the startup command to operate the one or more virtual machines 200.

[0043] The method 400 further includes a step (not shown) at which the hypervisor 220 receives the virtual machine configuration 202 for each of the one or more virtual machines 200. The hypervisor 220 is communicably coupled with the one or more processors 106 and each of the one or more virtual machines 200. The method 400 further includes a step (not shown) at which the hypervisor 220 operates the corresponding virtual machine 200 using the virtual machine configuration 202 received from the one or more processors 106.

[0044] While aspects of the present disclosure have been particularly shown and described with reference to the embodiments above, it will be understood by those skilled in the art that various additional embodiments may be contemplated by the modification of the disclosed work machine, systems, and methods without departing from the spirit and scope of the disclosure. Such embodiments should be understood to fall within the scope of the present disclosure as determined based upon the claims and any equivalents thereof.

Claims

1. A system for generating a virtual machine configuration for one or more virtual machines, the system comprising:a controller including:one or more memories configured to store details pertaining to one or more virtual machine configurations for the one or more virtual machines, wherein the details pertaining to the one or more virtual machine configurations for each of the one or more virtual machines are different from each other; andone or more processors communicably coupled with the one or more memories, wherein the one or more processors are configured to:receive, at least one configuration file associated with the one or more virtual machines, wherein each configuration file includes information indicative of one or more functionalities for the one or more virtual machines;retrieve, from the one or more memories, the details pertaining to the one or more virtual machine configurations for the one or more virtual machines; andgenerate the virtual machine configuration based on a receipt of the at least one configuration file and the details pertaining to the one or more virtual machine configurations for the one or more virtual machines, wherein the virtual machine configuration generated by the one or more processors is different for each of the one or more virtual machines, and wherein the virtual machine configuration is used as a startup command to operate the one or more virtual machines.

2. The system of claim 1, wherein the details pertaining to the one or more virtual machine configurations for the one or more virtual machines include detailed information related to at least one of a plurality of hardware resources accessible by each of the one or more virtual machines, a plurality of networks accessible by each of the one or more virtual machines, a plurality of Controller Area Network (CAN) datalinks accessible by each of the one or more virtual machines, and an onboard security enclave for each of the one or more virtual machines.

3. The system of claim 1, wherein the information indicative of the one or more functionalities for the one or more virtual machines includes details of one or more available hardware resources accessible by a corresponding virtual machine.

4. The system of claim 3, wherein the one or more available hardware resources include one or more of a number of processing units associated with the corresponding virtual machine, a size of memory associated with the corresponding virtual machine, a non-volatile storage capacity associated with the corresponding virtual machine, and a graphical display output associated with the corresponding virtual machine.

5. The system of claim 1, wherein the information indicative of the one or more functionalities for the one or more virtual machines further includes details of one or more available networks accessible by a corresponding virtual machine.

6. The system of claim 5, wherein the one or more available networks include one or more ethernet networks.

7. The system of claim 1, wherein the information indicative of the one or more functionalities for the one or more virtual machines further includes details of available CAN datalinks accessible by a corresponding virtual machine.

8. The system of claim 1, wherein the information indicative of the one or more functionalities for the one or more virtual machines further includes details of an available onboard security enclave for the one or more virtual machines.

9. The system of claim 1, wherein the at least one configuration file is generated and updated by a user.

10. The system of claim 1, wherein a hypervisor is communicably coupled with the one or more processors and each of the one or more virtual machines, and wherein the hypervisor is configured to receive the virtual machine configuration for each of the one or more virtual machines to operate a corresponding virtual machine.

11. The system of claim 1, wherein each of the one or more virtual machines is an Electronic Control Module (ECM) virtual machine.

12. The system of claim 1, wherein the at least one configuration file is stored with the one or more memories or the at least one configuration file is received from a user.

13. A method for generating a virtual machine configuration for one or more virtual machines, the method comprising:receiving, by one or more processors of a controller, at least one configuration file associated with the one or more virtual machines, wherein each configuration file includes information indicative of one or more functionalities for the one or more virtual machines;retrieving, by the one or more processors, details pertaining to one or more virtual machine configurations for the one or more virtual machines from one or more memories of the controller, wherein the one or more processors are communicably coupled with the one or more memories, wherein the one or more memories are configured to store the details pertaining to the one or more virtual machine configurations for the one or more virtual machines, and wherein the details pertaining to the one or more virtual machine configurations for each of the one or more virtual machines are different from each other; andgenerating, by the one or more processors, the virtual machine configuration based on a receipt of the at least one configuration file and the details pertaining to the one or more virtual machine configurations for the one or more virtual machines, wherein the virtual machine configuration generated by the one or more processors is different for each of the one or more virtual machines, and wherein the virtual machine configuration is used as a startup command to operate one or more virtual machines.

14. The method of claim 13, wherein the details pertaining to the one or more virtual machine configurations for the one or more virtual machines include detailed information related to at least one of a plurality of hardware resources accessible by each of the one or more virtual machines, a plurality of networks accessible by each of the one or more virtual machines, a plurality of Controller Area Network (CAN) datalinks accessible by each of the one or more virtual machines, and an onboard security enclave for each of the one or more virtual machines.

15. The method of claim 13, wherein the information indicative of the one or more functionalities for the one or more virtual machines includes details of one or more available hardware resources accessible by a corresponding virtual machine.

16. The method of claim 13, wherein the information indicative of the one or more functionalities for the one or more virtual machines further includes details of one or more available networks accessible by a corresponding virtual machine.

17. The method of claim 13, wherein the information indicative of the one or more functionalities for the one or more virtual machines further includes details of available CAN datalinks accessible by a corresponding virtual machine.

18. The method of claim 13, wherein the information indicative of the one or more functionalities for the one or more virtual machines further includes details of an available onboard security enclave for a corresponding virtual machine.

19. The method of claim 13, further comprising:creating by a user, the at least one configuration file; andupdating by the user, the at least one configuration file.

20. The method of claim 13, further comprising:receiving, by a hypervisor, the virtual machine configuration for each of the one or more virtual machines, wherein the hypervisor is communicably coupled with the one or more processors and each of the one or more virtual machines; andoperating, by the hypervisor, a corresponding virtual machine using the virtual machine configuration received from the one or more processors.