Multi-platform operating system compatible system based on core board
By implementing a multi-platform operating system compatible system based on the core board on hardware devices, the problems of multi-operation system compatibility and parallel operation are solved, the system compatibility, performance and security are improved, and the needs of complex multi-task systems are met.
Patent Information
- Application Number
- CN202411671037.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-04-11
AI Technical Summary
The prior art is difficult to efficiently and securely realize the compatibility and parallel operation of multiple operating systems on the same hardware device, especially in industrial control scenarios that require high real-time and stability. Traditional virtualization solutions cannot meet the needs of complex multitasking systems.
A multi-platform operating system compatible system based on the core board is proposed, including the core board module, virtualization module, resource scheduling module, cross-platform communication module, driver compatible module, security management module and system monitoring module. Through hardware-assisted virtualization technology, multiple operating systems can isolate and share hardware resources, dynamically allocate hardware resources, and realize efficient data exchange and unified hardware driver interface.
It improves the compatibility and overall performance of different operating systems, ensures efficient operation and real-time response capabilities of multiple operating systems in a multi-platform environment, and enhances the security and stability of hardware resources.
Smart Images

Figure CN119806630A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computer systems, and in particular to a multi-platform operating system compatible system based on a core board. Background Art
[0002] With the increasing demand for parallel operation of multiple operating systems, embedded systems and smart devices have been widely used in industrial control, Internet of Things, smart home and other fields. Multiple operating systems of different platforms often need to run on the same hardware device to meet the requirements of complex task processing and multi-functional systems. However, hardware resource sharing, compatibility management and real-time guarantee between multi-platform operating systems have become technical bottlenecks. Traditional technical solutions are difficult to meet the requirements of efficient and secure parallel operation of multiple operating systems.
[0003] Existing technologies usually rely on virtual machines or simulators to achieve compatibility with multiple operating systems, but this method has significant deficiencies in terms of resource usage, performance, and response speed. Although virtualization technology can provide a certain degree of operating system isolation, existing virtual machine solutions often add additional hardware overhead, resulting in reduced system operating efficiency. In addition, different operating systems have different ways of driving hardware, which brings great difficulties to the unified management of hardware devices. Especially in scenarios such as industrial control that require high real-time performance and stability, traditional virtualization solutions cannot guarantee the timely processing of critical tasks and cannot meet the needs of modern complex multi-tasking systems. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a multi-platform operating system compatible system based on a core board to improve the compatibility of different operating systems.
[0005] To achieve the above purpose, the embodiment of the present application proposes a multi-platform operating system compatible system based on a core board, and the compatible system includes: a core board module, a virtualization module, a resource scheduling module, a cross-platform communication module, a driver compatibility module, a security management module and a system monitoring module; wherein:
[0006] The core board module includes a variety of hardware resources, and the core board module is used to carry multiple different operating systems at the same time; the core board module communicates with the virtualization module, the resource scheduling module, the cross-platform communication module, the driver compatibility module, the security management module and the system monitoring module through an internal bus, and allocates the required hardware resources to each of the operating systems;
[0007] The virtualization module is used to implement isolation and sharing of the hardware resources by multiple operating systems through hardware virtualization technology. The virtualization module supports the parallel operation of multiple operating systems at the processor level through hardware-assisted virtualization function to reduce virtualization overhead and improve overall performance;
[0008] The resource scheduling module is used to dynamically allocate the use of the hardware resources according to the task priority, real-time requirements and current system load of each operating system;
[0009] The cross-platform communication module is used to realize data transmission between the various operating systems. The cross-platform communication module improves the accuracy and timeliness of data exchange between the various operating systems through a shared memory mechanism and an interrupt trigger mechanism;
[0010] The driver compatibility module provides a unified hardware driver interface layer for solving the driver compatibility problem of each operating system with the hardware device. The driver compatibility module abstracts a standardized API interface so that each operating system can share the same hardware device.
[0011] The security management module is used to control the access rights of each operating system to the hardware resources and data. The security management module improves the security of data through a multi-layer access control mechanism based on identity authentication and hardware-level encryption technology, and prevents unauthorized operating systems from accessing the hardware resources;
[0012] The system monitoring module is used to dynamically monitor the running status of each of the operating systems, detect the resource usage of each of the operating systems, and trigger an alarm or reallocate system resources according to a preset threshold.
[0013] In some embodiments, the hardware resources include: a processor unit, a memory unit, and a plurality of I / O interfaces; wherein:
[0014] The processor unit includes a plurality of core processors, and the processor unit supports multi-threaded parallel processing, and is used for processing task requests from each of the operating systems;
[0015] The memory unit includes a dynamic random access memory or a static random access memory, and the memory unit supports an on-demand allocation mechanism to dynamically allocate memory space according to the requirements of different operating systems;
[0016] The I / O interface includes a universal serial bus, a serial communication interface, an Ethernet interface and an I / O interface of a preset purpose, and the I / O interface is used to support the communication and interaction between each of the operating systems and external devices;
[0017] The internal bus in the core board module adopts a target communication protocol, and the internal bus is used to connect the processor unit, the memory unit and the various I / O interfaces; wherein the bandwidth of the target communication protocol reaches a preset bandwidth threshold and the delay is lower than a preset delay threshold.
[0018] In some embodiments, the virtualization module includes: a hardware-assisted virtualization function module, a virtual machine monitor, a resource isolation module and a virtualization overhead optimization algorithm module; wherein:
[0019] The virtualization module supports the isolation of hardware resources of each operating system through processor virtualization extension based on the hardware-assisted virtualization function module;
[0020] The virtual machine monitor runs in the virtualization layer, and is used to manage the access of each operating system to the hardware resources, and control the virtualization process of the processor unit, the memory unit and various I / O interfaces;
[0021] The virtualization module prevents resource conflicts between the operating systems through the resource isolation module;
[0022] The virtualization module adopts an optimization algorithm through the virtualization overhead optimization algorithm module to reduce the interruption overhead between the virtual machine and the hardware resources.
[0023] In some embodiments, the resource scheduling module includes: a task priority scheduling algorithm module and a resource usage model module; wherein:
[0024] The resource scheduling module uses the task priority scheduling algorithm module to allocate the hardware resources to each operating system through a preset priority queue based on the priority and real-time requirements of the task. The scheduling algorithm adopts a weighted polling mechanism to enable high-priority tasks to obtain resources first;
[0025] The resource scheduling module dynamically monitors the hardware resource usage status through the resource usage model module and establishes a resource usage model.
[0026] In some embodiments, the cross-platform communication module includes: a shared memory mechanism module, an interrupt trigger mechanism module and a communication scheduling algorithm module; wherein:
[0027] The cross-platform communication module realizes data transmission between different operating systems through the shared memory mechanism module, and the shared memory mechanism module has a locking mechanism to prevent data conflicts caused by simultaneous access by various operating systems;
[0028] The cross-platform communication module uses hardware interrupts according to the interrupt trigger mechanism module to trigger communication and data synchronization between the operating systems based on target events, so as to improve the real-time performance of data exchange across operating systems;
[0029] The communication scheduling algorithm module adopts an adaptive communication scheduling algorithm to optimize data transmission based on the data exchange frequency and delay requirements of each operating system to reduce cross-platform communication delay.
[0030] In some embodiments, the driver compatibility module includes: a standardized API interface layer, a driver abstraction mechanism module and a driver management strategy module; wherein:
[0031] The driver compatibility module abstracts the operation of the hardware device into a unified interface through a standardized API interface based on a standardized API interface layer, and supports various operating systems to share the same hardware device;
[0032] The driver compatibility module shields the differences between the operating systems through the driver abstraction mechanism module, so that each operating system calls a standardized interface to perform hardware operations, without the need to write a separate driver for each operating system;
[0033] The driver compatibility module dynamically adjusts the loading and unloading of the driver program based on the driver management strategy module according to the requirements of each operating system and the status of the hardware device, thereby improving the resource utilization of the hardware device.
[0034] In some embodiments, the security management module includes: an access control mechanism module, an encryption technology module and an identity authentication mechanism module; wherein:
[0035] The security management module adopts a role-based access control mechanism based on the access control mechanism module, and restricts the access of different operating systems to the hardware resources and data according to the roles and permissions of the operating system;
[0036] The security management module protects data through the encryption technology module at the hardware level;
[0037] The identity authentication mechanism module is used to enable each operating system to perform identity authentication before accessing the hardware resources through an identity authentication mechanism based on multi-factor authentication, thereby avoiding unauthorized operations.
[0038] In some embodiments, the system monitoring module includes: a real-time monitoring mechanism module, a fault diagnosis mechanism module and a dynamic adjustment function module; wherein:
[0039] The system monitoring module dynamically detects the hardware resource usage of each operating system based on the real-time monitoring mechanism module, and adopts periodic sampling technology to achieve resource scheduling efficiency under a set load state;
[0040] The system monitoring module detects abnormal behaviors in each of the operating systems through the fault diagnosis mechanism module and records logs;
[0041] In the case of insufficient system resources, the system monitoring module dynamically adjusts resource allocation of each operating system based on the dynamic adjustment function module.
[0042] In some embodiments, the core board module supports multiple processor architectures, including x86, ARM and RISC-V architectures, and the core board module optimizes resource scheduling and manages each operating system according to the instruction sets of different processor architectures.
[0043] In some embodiments, the core board module is used to simultaneously carry at least two of the operating systems selected from Windows, Linux, or Android.
[0044] The embodiments of the present application include at least the following beneficial effects:
[0045] The core board module of this application integrates a variety of hardware resources and supports the parallel operation of multiple operating systems. The virtualization module implements resource isolation and sharing between multiple operating systems through hardware-assisted virtualization technology, ensuring that different operating systems can efficiently utilize hardware resources. The resource scheduling module dynamically allocates processor, memory, and I / O interface resources according to the task priority and real-time requirements of each operating system, ensuring the efficient operation of each operating system in a multi-platform environment, especially greatly improving the real-time response capability of high-priority tasks.
[0046] This application reduces the performance overhead caused by traditional software virtualization through the hardware-assisted virtualization function (such as Intel VT-x, AMD-V, etc.) in the virtualization module, especially directly supporting the parallel operation of operating systems at the processor level. The virtualization overhead optimization algorithm further improves the performance of the overall system by reducing the delay of the processor, memory and I / O interface in the virtualization trap. At the same time, the cross-platform communication module realizes high-speed data exchange between multiple operating systems through shared memory and interrupt triggering mechanism, reducing data transmission delay.
[0047] The security management module of this application ensures the security of multiple operating systems' access to hardware resources and data through role-based access control (RBAC) and hardware-level encryption technology to prevent unauthorized operations. The system monitoring module ensures the stable operation of the system in a multi-platform environment by monitoring the resource usage of each operating system in real time and triggering an alarm or dynamically adjusting resource allocation when an abnormality occurs. In addition, the driver compatibility module solves the compatibility issues of multiple operating systems with hardware devices through a standardized API interface, ensuring efficient sharing of hardware resources and stable operation of the driver program. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A schematic diagram of the structure of a multi-platform operating system compatible system based on a core board provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of the structure of the virtualization module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0052] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0053] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0055] Reference Figure 1 , the embodiment of the present application provides a multi-platform operating system compatible system based on a core board, the compatible system includes a core board module, a virtualization module, a resource scheduling module, a cross-platform communication module, a driver compatibility module, a security management module and a system monitoring module, wherein;
[0056] The core board module includes a processor, a memory, and a variety of I / O interfaces, and is used to carry multiple operating systems at the same time. The multiple operating systems include Windows, Linux, and Android operating systems. The core board module communicates with the virtualization module, the resource scheduling module, the cross-platform communication module, the driver compatibility module, the security management module, and the system monitoring module through the internal bus, and allocates the required hardware resources to each operating system;
[0057] The virtualization module is used to implement the isolation and sharing of processor, memory, and I / O interface hardware resources by multiple operating systems through hardware virtualization technology. The virtualization module supports the parallel operation of multiple operating systems at the processor level through hardware-assisted virtualization functions, reducing virtualization overhead and improving overall performance.
[0058] The resource scheduling module is used to dynamically allocate the use of processors, memory, storage devices, and I / O interfaces according to the task priorities, real-time requirements, and current system load of multiple operating systems, ensuring that each operating system obtains the required hardware resources in a multi-platform environment and that real-time requirements are met;
[0059] The cross-platform communication module is used to achieve efficient data transmission between multiple operating systems. The cross-platform communication module ensures accurate and timely data exchange between multiple operating systems through shared memory mechanism and interrupt trigger mechanism;
[0060] The driver compatibility module provides a unified hardware driver interface layer to solve the driver compatibility issues of different operating systems for hardware devices. The driver compatibility module abstracts the standardized API interface to enable multiple operating systems to share the same hardware device.
[0061] The security management module is used to control the access rights of multiple operating systems to hardware resources and data. The security management module ensures data security and prevents unauthorized operating systems from accessing core hardware resources through a multi-layer access control mechanism based on identity authentication and hardware-level encryption technology.
[0062] The system monitoring module is used to monitor the running status of multiple operating systems in real time, detect the resource usage of each operating system, and trigger alarms or reallocate system resources according to preset thresholds to ensure that the system runs stably and efficiently in a multi-platform environment.
[0063] The core board modules include:
[0064] Processor unit: The processor unit contains multiple processing cores and supports multi-threaded parallel processing, which is used to process task requests from multiple operating systems;
[0065] Memory unit: The memory unit is a dynamic random access memory or a static random access memory, which supports an on-demand allocation mechanism and dynamically allocates memory space according to the needs of different operating systems to ensure that each operating system can access the required memory resources;
[0066] Various I / O interface units: I / O interfaces include universal serial bus, serial communication interface, Ethernet interface and other I / O interfaces for specific purposes (target purposes) to support the communication and interaction between various operating systems and external devices;
[0067] Internal bus: The internal bus uses high-bandwidth, low-latency communication protocols (such as AMBA, PCIe) to connect processor units, memory units, and various I / O interface units to ensure fast and efficient data transmission between units;
[0068] Operating system support: The core board module supports carrying multiple operating systems at the same time, including Windows, Linux and Android operating systems. Multiple operating systems are isolated through the virtualization module, and task management and hardware resource allocation are performed through the resource scheduling of the core board module;
[0069] The core board module supports multiple operating systems running in parallel through efficient processors, dynamic storage management and multiple I / O interfaces, and realizes efficient communication between modules through a high-speed internal bus, ensuring the overall operating efficiency and resource scheduling capabilities of the system.
[0070] Reference Figure 2 , the virtualization module specifically includes:
[0071] Hardware-assisted virtualization technology: The virtualization module is based on hardware-assisted virtualization technology (such as Intel VT-x or AMD-V) and supports hardware resource isolation of different operating systems through processor virtualization extensions;
[0072] Hypervisor: A hypervisor runs at the virtualization layer and is used to manage the access of multiple operating systems to hardware resources, control the virtualization process of processors, memory, and I / O interfaces, and ensure that different operating systems can run in parallel on the same hardware resources.
[0073] Resource isolation mechanism: The virtualization module uses the resource isolation mechanism to prevent resource conflicts between different operating systems, ensuring that each operating system can run independently and access its own allocated resources;
[0074] Virtualization overhead optimization algorithm: The virtualization module uses optimization algorithms, such as an algorithm to minimize virtualization trap processing time, to reduce the interruption overhead between virtual machines and hardware resources. The specific formula is as follows:
[0075] T trap =T cpu_overhead +T mem_access +T io_delay ;
[0076] Among them, T trap represents the total virtualization trap processing time, T cpu_overhead represents the computational overhead of the processor trap, T mem_access represents the delay caused by storage access, T io_delay Indicates the latency of I / O device access.
[0077] By optimizing each parameter, the virtualization module achieves overall performance improvement;
[0078] The virtualization module ensures that multiple operating systems run in parallel on the same hardware through hardware-assisted virtualization technology and optimized virtual machine monitors, and reduces virtualization overhead and improves system performance through resource isolation and optimization algorithms.
[0079] The resource scheduling module specifically includes:
[0080] Task priority scheduling algorithm: The resource scheduling module allocates hardware resources to each operating system through a pre-set priority queue based on the priority and real-time requirements of the task. The scheduling algorithm adopts a weighted polling mechanism to give priority to high-priority tasks, including security tasks, communication tasks, and user interaction tasks.
[0081] Resource usage model: The resource scheduling module establishes a resource usage model by monitoring the hardware resource usage status in real time. The expression of the model is as follows:
[0082]
[0083] Among them, R usage Indicates the current resource usage, U i represents the resource utilization of the ith operating system, P i represents the priority of the i-th operating system, and T represents the total system load time;
[0084] This model is used to balance the resource usage of each operating system and ensure that high-priority tasks are given priority in a multi-platform environment;
[0085] The resource scheduling module ensures efficient allocation of resources when multiple operating systems compete for resources through task priority scheduling algorithms and resource usage models, avoiding system bottlenecks and improving the response speed of key tasks.
[0086] The cross-platform communication module specifically includes:
[0087] Shared memory mechanism: The cross-platform communication module realizes data transmission between different operating systems through shared memory. The shared memory has a locking mechanism to prevent data conflicts caused by simultaneous access by multiple operating systems.
[0088] Interrupt trigger mechanism: The cross-platform communication module uses hardware interrupts to trigger communication and data synchronization between operating systems based on target events, ensuring the real-time nature of data exchange across operating systems;
[0089] Communication scheduling algorithm: Adopt an adaptive communication scheduling algorithm to optimize data transmission based on the data exchange frequency and latency requirements of each operating system to reduce cross-platform communication delays;
[0090] The cross-platform communication module ensures efficient and reliable data exchange between operating systems through shared memory mechanism and interrupt trigger mechanism, further improving the collaborative working ability in a multi-platform environment.
[0091] Driver compatible modules include:
[0092] Standardized API interface layer: The driver compatibility module abstracts the operation of hardware devices into a unified interface through a standardized API interface, supporting multiple operating systems to share the same hardware device;
[0093] Driver abstraction mechanism: Through the driver abstraction mechanism, the driver compatibility module shields the differences between operating systems, so that each operating system calls the standardized interface to perform hardware operations, without the need to write a separate driver for each operating system;
[0094] Driver management strategy: The driver compatibility module dynamically adjusts the loading and unloading of the driver according to the requirements of the operating system and the status of the hardware device, thereby improving the resource utilization of the hardware device;
[0095] The driver compatibility module solves the compatibility issues of hardware device drivers in multiple operating systems through standardized API interfaces and driver abstraction mechanisms, ensuring that hardware resources are efficiently utilized between different operating systems.
[0096] The security management module specifically includes:
[0097] Access control mechanism: The security management module adopts a role-based access control mechanism to limit the access of different operating systems to hardware resources and data according to the operating system roles and permissions;
[0098] Encryption technology: The security management module protects data through hardware-level encryption technology to ensure confidentiality during data transmission and storage, and avoid unauthorized access and tampering;
[0099] Authentication mechanism: Through an authentication mechanism based on multi-factor authentication, each operating system is authenticated before accessing hardware resources to prevent unauthorized operations;
[0100] The security management module ensures the security of data and hardware resources in the system's multi-platform operating environment and prevents unauthorized operations through multi-layer access control, encryption and authentication mechanisms.
[0101] The system monitoring module specifically includes:
[0102] Real-time monitoring mechanism: The system monitoring module detects the hardware resource usage of each operating system in real time and uses periodic sampling technology to ensure resource scheduling efficiency under high load conditions;
[0103] Fault diagnosis mechanism: Through the built-in fault diagnosis mechanism, the system monitoring module detects abnormal behavior in the operating system and records logs to help system administrators troubleshoot;
[0104] Dynamic adjustment function: When system resources are insufficient, the system monitoring module dynamically adjusts the resource allocation of each operating system to ensure stable operation of the system;
[0105] The system monitoring module ensures the efficient operation of the operating system in a multi-platform environment through real-time monitoring and dynamic adjustment mechanisms, and provides fault diagnosis functions to facilitate system maintenance and optimization.
[0106] The core board module supports multiple processor architectures, including x86, ARM and RISC-V architectures. The core board module optimizes resource scheduling and operating system management according to the instruction sets of different processor architectures to ensure efficient operation of processors of different architectures.
[0107] The core board module improves the versatility and scalability of the system by supporting multi-processor architecture, can adapt to the needs of different hardware platforms, and achieve efficient cross-platform compatibility.
[0108] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0109] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer modules than shown in the figures, or a combination of certain modules, or different modules.
[0110] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0111] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0112] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A multi-platform operating system compatible system based on a core board, characterized in that: The compatible system includes: a core board module, a virtualization module, a resource scheduling module, a cross-platform communication module, a driver compatibility module, a security management module and a system monitoring module; wherein: The core board module includes a variety of hardware resources, and the core board module is used to carry multiple different operating systems at the same time; the core board module communicates with the virtualization module, the resource scheduling module, the cross-platform communication module, the driver compatibility module, the security management module and the system monitoring module through an internal bus, and allocates the required hardware resources to each of the operating systems; The virtualization module is used to implement isolation and sharing of the hardware resources by multiple operating systems through hardware virtualization technology. The virtualization module supports the parallel operation of multiple operating systems at the processor level through hardware-assisted virtualization function to reduce virtualization overhead and improve overall performance; The resource scheduling module is used to dynamically allocate the use of the hardware resources according to the task priority, real-time requirements and current system load of each operating system; The cross-platform communication module is used to realize data transmission between the various operating systems. The cross-platform communication module improves the accuracy and timeliness of data exchange between the various operating systems through a shared memory mechanism and an interrupt trigger mechanism; The driver compatibility module provides a unified hardware driver interface layer for solving the driver compatibility problem of each operating system with the hardware device. The driver compatibility module abstracts a standardized API interface so that each operating system can share the same hardware device. The security management module is used to control the access rights of each operating system to the hardware resources and data. The security management module improves the security of data through a multi-layer access control mechanism based on identity authentication and hardware-level encryption technology, and prevents unauthorized operating systems from accessing the hardware resources; The system monitoring module is used to dynamically monitor the running status of each of the operating systems, detect the resource usage of each of the operating systems, and trigger an alarm or reallocate system resources according to a preset threshold.
2. The multi-platform operating system compatible system based on the core board according to claim 1, characterized in that: The hardware resources include: a processor unit, a memory unit and a variety of I / O interfaces; wherein: The processor unit includes a plurality of core processors, and the processor unit supports multi-threaded parallel processing, and is used for processing task requests from each of the operating systems; The memory unit includes a dynamic random access memory or a static random access memory, and the memory unit supports an on-demand allocation mechanism to dynamically allocate memory space according to the requirements of different operating systems; The I / O interface includes a universal serial bus, a serial communication interface, an Ethernet interface and an I / O interface of a preset purpose, and the I / O interface is used to support the communication and interaction between each of the operating systems and external devices; The internal bus in the core board module adopts a target communication protocol, and the internal bus is used to connect the processor unit, the memory unit and the various I / O interfaces; wherein the bandwidth of the target communication protocol reaches a preset bandwidth threshold and the delay is lower than a preset delay threshold.
3. The multi-platform operating system compatible system based on the core board according to claim 1, characterized in that: The virtualization module includes: a hardware-assisted virtualization function module, a virtual machine monitor, a resource isolation module and a virtualization overhead optimization algorithm module; wherein: The virtualization module supports the isolation of hardware resources of each operating system through processor virtualization extension based on the hardware-assisted virtualization function module; The virtual machine monitor runs in the virtualization layer, and is used to manage the access of each operating system to the hardware resources, and control the virtualization process of the processor unit, the memory unit and various I / O interfaces; The virtualization module prevents resource conflicts between the operating systems through the resource isolation module; The virtualization module adopts an optimization algorithm through the virtualization overhead optimization algorithm module to reduce the interruption overhead between the virtual machine and the hardware resources.
4. The multi-platform operating system compatible system based on the core board according to claim 1, characterized in that: The resource scheduling module includes: a task priority scheduling algorithm module and a resource usage model module; wherein: The resource scheduling module uses the task priority scheduling algorithm module to allocate the hardware resources to each operating system through a preset priority queue based on the priority and real-time requirements of the task. The scheduling algorithm adopts a weighted polling mechanism to enable high-priority tasks to obtain resources first; The resource scheduling module dynamically monitors the hardware resource usage status through the resource usage model module and establishes a resource usage model.
5. The multi-platform operating system compatible system based on the core board according to claim 1, characterized in that: The cross-platform communication module includes: a shared memory mechanism module, an interrupt trigger mechanism module and a communication scheduling algorithm module; wherein: The cross-platform communication module realizes data transmission between different operating systems through the shared memory mechanism module, and the shared memory mechanism module has a locking mechanism to prevent data conflicts caused by simultaneous access by various operating systems; The cross-platform communication module uses hardware interrupts according to the interrupt trigger mechanism module to trigger communication and data synchronization between the operating systems based on target events, so as to improve the real-time performance of data exchange across operating systems; The communication scheduling algorithm module adopts an adaptive communication scheduling algorithm to optimize data transmission based on the data exchange frequency and delay requirements of each operating system to reduce cross-platform communication delay.
6. The multi-platform operating system compatible system based on the core board according to claim 1 is characterized in that: The driver compatibility module includes: a standardized API interface layer, a driver abstraction mechanism module and a driver management strategy module; wherein: The driver compatibility module abstracts the operation of the hardware device into a unified interface through a standardized API interface based on a standardized API interface layer, and supports various operating systems to share the same hardware device; The driver compatibility module shields the differences between the operating systems through the driver abstraction mechanism module, so that each operating system calls a standardized interface to perform hardware operations, without the need to write a separate driver for each operating system; The driver compatibility module dynamically adjusts the loading and unloading of the driver program based on the driver management strategy module according to the requirements of each operating system and the status of the hardware device, thereby improving the resource utilization of the hardware device.
7. The multi-platform operating system compatible system based on the core board according to claim 1 is characterized in that: The security management module includes: an access control mechanism module, an encryption technology module and an identity authentication mechanism module; wherein: The security management module adopts a role-based access control mechanism based on the access control mechanism module, and restricts the access of different operating systems to the hardware resources and data according to the roles and permissions of the operating system; The security management module protects data through the encryption technology module at the hardware level; The identity authentication mechanism module is used to enable each operating system to perform identity authentication before accessing the hardware resources through an identity authentication mechanism based on multi-factor authentication, thereby avoiding unauthorized operations.
8. The multi-platform operating system compatible system based on the core board according to claim 1 is characterized in that: The system monitoring module includes: a real-time monitoring mechanism module, a fault diagnosis mechanism module and a dynamic adjustment function module; wherein: The system monitoring module dynamically detects the hardware resource usage of each operating system based on the real-time monitoring mechanism module, and adopts periodic sampling technology to achieve resource scheduling efficiency under a set load state; The system monitoring module detects abnormal behaviors in each of the operating systems through the fault diagnosis mechanism module and records logs; In the case of insufficient system resources, the system monitoring module dynamically adjusts resource allocation of each operating system based on the dynamic adjustment function module.
9. The multi-platform operating system compatible system based on the core board according to claim 1, characterized in that: The core board module supports multiple processor architectures, including x86, ARM and RISC-V architectures. The core board module optimizes resource scheduling and manages each operating system according to the instruction sets of different processor architectures.
10. The multi-platform operating system compatible system based on a core board according to any one of claims 1 to 9, characterized in that: The core board module is used to simultaneously carry at least two of the operating systems of Windows, Linux or Android.
Citation Information
Patent Citations
Virtual machine system for input / output equipment virtualization outside virtual machine monitor
CN101976200A
Virtualization method based on operating system layer
CN102339229A
Heterogeneous intelligent computing platform virtualization management system and method
CN117707693A
Virtualization system, working method, working equipment and readable storage medium
CN117742889A
Multi-system compatible method and electronic equipment
CN118093217A
Cited By
Credit and credential environment adaptation method and system combined with cloud computing platform
CN120386588A