Virtualized integrated operating system and method for heterogeneous embedded equipment

By introducing a virtualized integrated operating system in a heterogeneous embedded device environment, cross-platform integration and unified management of hardware resources is solved, the problem of low resource integration and scheduling efficiency is improved, system performance and flexibility are improved, and large-scale programs and Execution of resource-intensive tasks.

CN119045985APending Publication Date: 2024-11-29ZHONGYUAN ENGINEERING COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410939162.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In heterogeneous embedded device environment, it is difficult for the existing technology to effectively integrate resources across hardware platforms, resulting in limited system performance, low task scheduling and execution efficiency, and lack of flexibility and scalability, especially in large-scale program and resource-intensive types It is obvious in application scenarios.

Method used

Adopt a virtualized integrated operating system for heterogeneous embedded devices, including the real heterogeneous device hardware layer, integrated virtualization layer and virtualized operating system layer, and realize the cross-sector of hardware resources by virtualizing CPU, memory and hardware registers. Platform integration and unified management support instruction set conversion and resource mapping, dynamic scheduling and optimization between different hardware architectures.

Benefits of technology

Improve hardware resource utilization and system flexibility, realize seamless operation across heterogeneous platforms, reduce dependence on hardware configurations of individual nodes, enhance task execution capabilities and system performance, reduce development and maintenance costs, and support Dynamic configuration and cross-architecture compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045985A_ABST
    Figure CN119045985A_ABST
Patent Text Reader

Abstract

The invention provides a virtualized integrated operating system and method for heterogeneous embedded equipment. The virtualized integrated operating system comprises a real heterogeneous equipment hardware layer, an integrated virtualization layer and a virtualized operating system layer, the real heterogeneous device hardware layer comprises all embedded devices in a heterogeneous environment, all the embedded devices are networked, and each embedded device carries a virtualization interface; the integrated virtualization layer is used for carrying out networking and hardware resource virtualization on embedded equipment in a heterogeneous environment and integrating one piece of virtual equipment; and the virtual operating system layer carries an adaptive operating system on virtual equipment. According to the method, the hardware resource utilization rate and the system flexibility are improved, seamless operation of a cross-heterogeneous platform is realized, and the problems of resource limitation of single equipment and the like are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtualized integrated operating systems, and in particular to a virtualized integrated operating system and method for heterogeneous embedded devices. Background Art

[0002] The technology field of embedded systems has undergone a rapid evolution from simple control logic to complex operating systems and applications. Initially, embedded devices were mainly used to perform simple tasks such as timers or basic signal processing. As computing power increased and costs decreased, these devices began to take on more complex functions such as image processing, artificial intelligence reasoning, edge computing, network communications, and advanced data processing.

[0003] In the field of embedded systems, especially in the application of distributed embedded systems, the development of technology has always faced the dual challenges of hardware resource limitations and efficient resource management. Early embedded systems were mostly designed for simple task execution on a single hardware device. With the advancement of technology, these systems began to expand to more complex applications, including distributed processing and multi-tasking operations.

[0004] In the early stages of this field, distributed embedded systems mainly rely on direct management and control of physical hardware. This approach works well when dealing with simple or single hardware platform tasks, but it is inadequate when dealing with large-scale or complex tasks. Especially in heterogeneous environments, each node needs to have the necessary environment and hardware conditions to execute specific programs, which limits its flexibility and scalability.

[0005] To overcome these limitations, virtualization technology was introduced into embedded systems. Through virtualization, a single device can simulate multiple hardware resources, allowing different programs to run on the same physical device. However, common virtualization technologies mainly rely on the resources of a single device. When faced with programs that require greater hardware resources, the hardware resources of a single node may not be able to meet the requirements, resulting in limited system performance or inability to complete the task.

[0006] In heterogeneous embedded systems, different devices may use different processor architectures and hardware configurations, which brings additional complexity to the unified management and resource optimization of the system. It is difficult to directly apply a single hardware virtualization solution to such an environment because it cannot effectively integrate resources from different hardware, nor can it effectively schedule tasks and allocate resources between different hardware architectures.

[0007] Therefore, existing technologies have obvious defects in dealing with resource integration, task scheduling and execution across hardware platforms. These limitations not only reduce the efficiency of the system, but also limit the scope of its application. Especially in large-scale program execution and resource-intensive application scenarios, the shortcomings of existing methods are more obvious. Summary of the invention

[0008] The present invention provides a virtualized integrated operating system and method for heterogeneous embedded devices, which improves hardware resource utilization and system flexibility, realizes seamless operation across heterogeneous platforms, and solves the problem of single device resource limitation.

[0009] The technical solution of the present invention is implemented as follows: a virtualized integrated operating system for heterogeneous embedded devices, comprising a real heterogeneous device hardware layer, an integrated virtualization layer and a virtualized operating system layer; The real heterogeneous device hardware layer includes all embedded devices in the heterogeneous environment. All embedded devices are networked, and each embedded device is equipped with a virtualization interface. The integrated virtualization layer networks and virtualizes the hardware resources of embedded devices in heterogeneous environments and integrates a virtual device; The virtualized operating system layer carries an adapted operating system on the virtual device.

[0010] Furthermore, the integrated virtualization layer includes a virtualized CPU, virtualized memory, and virtualized hardware registers. The virtualized CPU implements the conversion and execution of different architecture instruction sets through an ISA (architecture instruction set) translation module. The virtualized memory maps the physical memory in the embedded device to a virtual memory table for maintenance through a memory address mapping module. The virtualized hardware registers map the embedded device to the virtual memory through a memory address mapping module.

[0011] Furthermore, the integrated virtualization layer also includes a heterogeneous communication scheduling module, through which CPU switching and data exchange between different embedded devices are performed.

[0012] Furthermore, the integrated virtualization layer also includes a hardware elasticity management module, which is used to monitor the status of each embedded device and process the changes of the virtualized CPU, virtualized memory and virtualized hardware registers caused by the online and offline of the embedded device.

[0013] Furthermore, the ISA translation module converts the instruction set supported by the virtual device and the instruction set supported by the source hardware platform through dynamic or static recompilation technology.

[0014] Furthermore, the memory address mapping module converts the physical address of the embedded device into the memory address of the virtual device, so that the memory from different embedded devices is regarded as a continuous and unified memory block.

[0015] Furthermore, all embedded devices are networked through 5G, wired or wireless LAN.

[0016] A virtualization integration method for heterogeneous embedded devices adopts the virtualization integration operating system and includes the following steps: networking all embedded devices in a heterogeneous environment, starting a virtualization interface program, virtualizing all embedded devices, integrating them into a virtual device, and installing an adaptation operating system on the virtual device.

[0017] Beneficial effects of the present invention: 1) The present invention provides a new operating system architecture. In the existing methods, virtualization is often regarded as the superstructure of the operating system, and is regarded as a software platform on the operating system to provide services to users. At the same time, the operating system is deployed on a single hardware device, and there is a one-to-one relationship between the hardware and the operating system. The present invention deeply integrates virtualization technology into the operating system, not just as a separate layer or service, but as a part of the core of the system architecture, and the virtualization layer virtualizes the hardware resources of embedded devices in heterogeneous environments into a single hardware device, called a virtual device. This makes the hardware and the operating system have a many-to-one relationship in the hardware bottom layer. This integration method improves resource utilization and also enhances the flexibility and scalability of the system.

[0018] 2) The present invention solves the problem of high node dependence. The existing technology requires that each distributed node has the environment and hardware conditions required by the executable program. The present invention realizes resource virtualization and integration across heterogeneous devices through a unified virtualization integrated operating system, reduces the dependence on the hardware configuration of a single node, and enables the system to flexibly schedule resources to adapt to different task requirements.

[0019] 3) This invention solves the problem of single device resource limitation. In the existing methods, program execution is limited by the hardware resources of a single device, especially when facing large programs and resource-intensive tasks. This invention uses virtualization technology to integrate the hardware resources of multiple devices into a virtual device, thereby increasing the available resources, improving the ability to execute tasks and the overall performance of the system.

[0020] 4) The present invention improves the hardware foundation limitation. Existing virtualization platforms usually rely on the hardware resources of a single device. The present invention solves this problem by introducing an integrated virtualization layer that can convert and map resources between multiple heterogeneous devices, thus achieving seamless connection between the real device architecture and the virtual device architecture.

[0021] 5) The present invention improves the flexibility and dynamic configuration of the system. In the existing distributed embedded virtualization platform, changing the system configuration or adding new functions often requires physical hardware changes or new software deployment, which is not only costly but also time-consuming. The present invention integrates the operating system through virtualization, so that the system configuration and function updates can be dynamically performed at the software level without physical intervention, which enhances the flexibility and maintainability of the system.

[0022] 6) The present invention enhances cross-architecture compatibility. The integrated virtualization layer provided by the present invention can realize instruction set conversion between different hardware architectures, so that the application can run on any supported hardware without modifying the code. This not only reduces the cost of development and maintenance, but also enables seamless migration of applications during equipment upgrades or replacements, thereby enhancing cross-architecture compatibility.

[0023] 7) The present invention solves the problem of resource allocation and optimization. The resource allocation in existing systems is usually static, or lacks a sufficiently intelligent dynamic allocation mechanism, resulting in the system not responding quickly enough or being inefficient when resource requirements change. The operating system of the present invention can monitor resource usage in real time through intelligent resource management and scheduling algorithms, and dynamically adjust resource allocation according to task requirements, optimize system performance and reduce resource waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 Integrated operating system architecture diagram for virtualization; Figure 2 A diagram of the relationship between the structures of the operating system for virtualization integration; Figure 3 Execute memory map for virtualized integrated operating system upper layer programs. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] like Figure 1 As shown, a virtualized integrated operating system for heterogeneous embedded devices includes a real heterogeneous device hardware layer, an integrated virtualization layer and a virtualized operating system layer.

[0028] The real heterogeneous device hardware layer includes all embedded devices in the heterogeneous environment. All embedded devices are networked through 5G, wired or wireless LAN. Each embedded device is equipped with a virtualization interface program for networking and virtualization.

[0029] The main function of the integrated virtualization layer is to network embedded devices in heterogeneous environments and virtualize hardware resources, and integrate them into a virtual device. The integrated virtualization layer is mainly divided into three parts, namely virtualized CPU, virtualized memory and virtualized hardware registers.

[0030] The virtualized CPU uses the ISA translation module to realize the conversion and execution of instruction sets of different architectures. The virtualized memory uses the memory address mapping module to map the available memory in heterogeneous embedded devices to a virtual memory table for maintenance. The virtualized hardware registers map the embedded devices to the virtual memory through the memory address mapping module.

[0031] The integrated virtualization layer also includes a heterogeneous communication scheduling module and a hardware elasticity management module. The heterogeneous communication scheduling module is used to implement CPU switching and data exchange between different embedded devices. The function of the hardware elasticity management module is to monitor the status of each embedded device and handle the changes in the virtualized CPU, virtualized memory, and other virtualized hardware registers caused by the online and offline of embedded devices.

[0032] The main function of the virtualized operating system layer is to install an adaptive operating system on the virtual device.

[0033] Virtualized CPU and virtualized memory. The virtualized CPU uses an ISA translation module to allow code written for a specific hardware architecture to run on a virtual device without any modification. This module converts the instruction set supported by the virtual device and the instruction set supported by the source hardware platform through dynamic or static recompilation technology.

[0034] Virtualized memory,centrally manages memory resources from different physical devices through the memory address mapping module,,which is responsible for converting physical addresses into memory addresses of virtual,devices, so that the memory from different hardware can be,regarded as a continuous and unified memory block, such as Figure 3 shown.

[0035] Virtualization integration method for multiple physical devices: Device virtualization integration establishes a virtualization framework that supports resource integration of different types of physical devices (such as CPU, memory, and I / O devices). The abstraction of hardware resources is implemented in the integrated virtualization layer so that resources from different devices can be uniformly scheduled and managed. Figure 2 shown.

[0036] The implementation in the virtualization integrated operating system of the present invention is as follows.

[0037] First, all heterogeneous embedded devices are networked through 5G, wired or wireless LAN to ensure high-speed communication and data exchange between devices. A virtualization interface program runs on each embedded device, which is responsible for starting the virtualization process of the device. This key step allows the core hardware resources of each device, such as CPU, memory, and hardware registers, to be virtualized and integrated into a virtual device. This virtual device not only simulates a specified architecture, but also carries an adapted virtualization operating system on it, such as Figure 2 shown.

[0038] The integrated virtualization layer has the ability to handle a variety of virtualized hardware resources, such as virtualized CPU and virtualized memory, so that the system can support the operation of large or resource-intensive applications. For example, you need to execute a large program with a memory requirement of 20Gb, but there is no single embedded device with a memory size of more than 20Gb in the heterogeneous environment. In this case, by deploying a virtualized integrated operating system, virtualizing all embedded devices, and forming a virtual device with a virtual memory of more than 20Gb, the large program can be executed on the virtual operating system of the virtual device to complete the task. The mapping relationship between all virtual memories of large programs and the physical memory of many embedded devices is shown in the figure below. Figure 3 shown.

[0039] In addition, the virtualization integration also has the ability to automatically identify and configure new connected devices. For example, when an industrial sensor or camera is connected to any embedded device in the network, the operating system can automatically detect the new device through the virtualized hardware registers, and configure and integrate it accordingly so that it can be put into use immediately.

[0040] This highly integrated and automated feature makes the invention useful, especially in application scenarios that require rapid deployment and high scalability. For example, in a complex industrial automation environment, system administrators can remotely deploy updates, optimize system configurations, or add new features and devices through a central console without physically touching each device. This not only significantly improves the operating efficiency and flexibility of the system, but also reduces the complexity and cost of maintenance and upgrades.

[0041] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A virtualized integrated operating system for heterogeneous embedded devices, characterized by: Includes real heterogeneous device hardware layer, integrated virtualization layer and virtualized operating system layer; The real heterogeneous device hardware layer includes all embedded devices in the heterogeneous environment. All embedded devices are networked, and each embedded device is equipped with a virtualization interface. The integrated virtualization layer networks and virtualizes the hardware resources of embedded devices in heterogeneous environments and integrates a virtual device; The virtualized operating system layer carries an adapted operating system on the virtual device.

2. A virtualized integrated operating system for heterogeneous embedded devices according to claim 1, characterized in that: The integrated virtualization layer includes virtualized CPU, virtualized memory, and virtualized hardware registers. The virtualized CPU realizes the conversion and execution of instruction sets of different architectures through the ISA translation module. The virtualized memory maps the physical memory in the embedded device to a virtual memory table for maintenance through the memory address mapping module. The virtualized hardware registers map the embedded device to the virtual memory through memory address mapping.

3. A virtualized integrated operating system for heterogeneous embedded devices according to claim 2, characterized in that: The integrated virtualization layer also includes a heterogeneous communication scheduling module, through which CPU switching and data exchange between different embedded devices are performed.

4. A virtualized integrated operating system for heterogeneous embedded devices according to claim 2 or 3, characterized in that: The integrated virtualization layer also includes a hardware elasticity management module, which is used to monitor the status of each embedded device and handle the changes of the virtualized CPU, virtualized memory and virtualized hardware registers caused by the online and offline of the embedded device.

5. The virtualized integrated operating system for heterogeneous embedded devices according to claim 2, characterized in that: The ISA translation module converts the instruction set supported by the virtual device and the instruction set supported by the source hardware platform through dynamic or static recompilation technology.

6. The virtualized integrated operating system for heterogeneous embedded devices according to claim 1, characterized in that: The memory address mapping module converts the physical address of the embedded device into the memory address of the virtual device, so that the memory from different embedded devices is regarded as a continuous and unified memory block.

7. The virtualized integrated operating system for heterogeneous embedded devices according to claim 1, characterized in that: All embedded devices are networked via 5G, wired or wireless LAN.

8. A virtualization integration method for heterogeneous embedded devices, characterized in that: The virtualized integrated operating system described in any one of claims 1 to 7 includes the following steps: networking all embedded devices in a heterogeneous environment, starting a virtualization interface program, virtualizing all embedded devices, and integrating them into a virtual device, and installing an adaptive operating system on the virtual device.