[go: up one dir, main page]

CN119806630A - Multi-platform operating system compatible system based on core board - Google Patents

Multi-platform operating system compatible system based on core board Download PDF

Info

Publication number
CN119806630A
CN119806630A CN202411671037.7A CN202411671037A CN119806630A CN 119806630 A CN119806630 A CN 119806630A CN 202411671037 A CN202411671037 A CN 202411671037A CN 119806630 A CN119806630 A CN 119806630A
Authority
CN
China
Prior art keywords
module
operating system
hardware
virtualization
core board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411671037.7A
Other languages
Chinese (zh)
Inventor
许淳
杨显志
林加毅
刘子龙
杨晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Digital Grid Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Digital Grid Technology Guangdong Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Digital Grid Technology Guangdong Co ltd filed Critical China Southern Power Grid Digital Grid Technology Guangdong Co ltd
Priority to CN202411671037.7A priority Critical patent/CN119806630A/en
Publication of CN119806630A publication Critical patent/CN119806630A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

本申请公开了基于核心板的多平台操作系统兼容系统,涉及计算机系统技术领域,该兼容系统包括核心板模块、虚拟化模块、资源调度模块、跨平台通信模块、驱动兼容模块、安全管理模块和系统监控模块;核心板模块支持多个操作系统,并通过内部总线与各模块通信;虚拟化模块实现硬件资源的隔离与共享,资源调度模块依据任务优先级和实时性需求动态分配资源;跨平台通信模块通过共享内存和中断机制进行数据传输,驱动兼容模块通过统一API接口解决硬件兼容性问题;安全管理模块确保系统安全隔离,系统监控模块实时监控各操作系统的运行状态;本申请通过高效的资源管理和虚拟化技术,提升了多操作系统环境下的性能和兼容性,适用于多种复杂应用场景。

The present application discloses a multi-platform operating system compatible system based on a core board, and relates to the technical field of computer systems. The compatible system comprises 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; the core board module supports multiple operating systems and communicates with each module through an internal bus; the virtualization module implements isolation and sharing of hardware resources, and the resource scheduling module dynamically allocates resources according to task priority and real-time requirements; the cross-platform communication module performs data transmission through shared memory and interrupt mechanism, and the driver compatibility module solves hardware compatibility problems through a unified API interface; the security management module ensures system security isolation, and the system monitoring module monitors the running status of each operating system in real time; the present application improves the performance and compatibility in a multi-operating system environment through efficient resource management and virtualization technology, and is suitable for a variety of complex application scenarios.

Description

Multi-platform operating system compatible system based on core board
Technical Field
The application relates to the technical field of computer systems, in particular to a multi-platform operating system compatible system based on a core board.
Background
Along with the continuous increase of the parallel operation demands of multiple operating systems, embedded systems and intelligent devices are widely applied in the fields of industrial control, internet of things, intelligent home and the like. Operating systems of many different platforms often need to run on the same hardware device to meet the requirements of complex task processing and multi-function systems. However, hardware resource sharing, compatibility management and real-time guarantee among the multi-platform operating systems become technical bottlenecks, and the traditional technical scheme is difficult to meet the requirements of efficient and safe parallel operation of the multi-operating systems.
The prior art generally relies on virtual machines or simulators to achieve compatibility of multiple operating systems, but the method has significant shortcomings in aspects of resource occupation, performance, response speed and the like. Although virtualization techniques can provide a certain degree of operating system isolation, existing virtual machine schemes often add additional hardware overhead, resulting in reduced system operating efficiency. In addition, different operating systems drive different hardware modes, which brings great difficulty to unified management of hardware devices. Especially in the scenes of industrial control and the like which need high real-time performance and stability, the traditional virtualization scheme cannot guarantee the timely processing of the key tasks and cannot meet the requirements of the modern complex multi-task system.
Disclosure of Invention
The main purpose of the embodiment of the application is to provide a multi-platform operating system compatible system based on a core board so as to improve the compatibility of different operating systems.
In order to achieve the above purpose, the embodiment of the application provides a multi-platform operating system compatible system based on a core board, wherein the compatible system comprises a core board module, a virtualization module, a resource scheduling module, a cross-platform communication module, a drive compatible module, a safety management module and a system monitoring module, wherein:
The core board module is used for simultaneously bearing a plurality of different operating systems, communicating with the virtualization module, the resource scheduling module, the cross-platform communication module, the drive compatibility module, the security management module and the system monitoring module through internal buses, and distributing the hardware resources required by each operating system;
the virtualization module is used for realizing the isolation and sharing of a plurality of operating systems on the hardware resources through a hardware virtualization technology, and supports the parallel operation of the operating systems on a processor level through a hardware auxiliary virtualization function so as to reduce the virtualization overhead and improve the overall performance;
The resource scheduling module is used for dynamically distributing the use of the hardware resources according to the task priority, the real-time requirement and the current system load of each operating system;
The cross-platform communication module is used for realizing data transmission among the operating systems, and the accuracy and timeliness of data exchange among the operating systems are improved through a shared memory mechanism and an interrupt trigger mechanism;
The drive compatible module provides a unified hardware drive interface layer for solving the drive compatibility problem of each operating system on the hardware equipment, and the drive compatible module enables each operating system to share the same hardware equipment through abstracting a standardized API interface;
The security management module is used for controlling the access rights of each operating system to the hardware resources and the data, and the security management module improves the security of the data through a multi-layer access control mechanism based on identity verification and a hardware-level encryption technology and prevents the unauthorized operating system from accessing the hardware resources;
The system monitoring module is used for dynamically monitoring the running state of each operating system, detecting the resource use condition of each operating system, and triggering an alarm or reallocating system resources according to a preset threshold value.
In some embodiments, the hardware resources include a processor unit, a memory unit, and a variety of I/O interfaces, wherein:
the processor unit comprises a plurality of core processors, and the processor unit supports multithreading parallel processing and is used for processing task requests from each operating system;
The memory unit comprises a dynamic random access memory or a static random access memory, supports an on-demand allocation mechanism, and dynamically allocates memory space according to the requirements of different operating systems;
the I/O interface comprises a universal serial bus, a serial communication interface, an Ethernet interface and an I/O interface with preset purposes, and the I/O interface is used for supporting communication and interaction between each operating system and external equipment;
the internal bus in the core board module adopts a target communication protocol, and the internal bus is used for connecting the processor unit, the memory unit and 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.
In some embodiments, the virtualization module comprises 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 hardware resource isolation of each operating system through processor virtualization expansion based on the hardware auxiliary virtualization function module;
The virtual machine monitor operates in a virtualization layer and is used for managing the access of each operating system to the hardware resources and controlling the virtualization processes of the processor unit, the memory unit and various I/O interfaces;
the virtualization module prevents resource conflict among the operating systems through the resource isolation module;
the virtualization module adopts an optimization algorithm through the virtualization overhead optimization algorithm module, so that interrupt overhead between the virtual machine and the hardware resource is reduced.
In some embodiments, the resource scheduling module comprises a task priority scheduling algorithm module and a resource usage model module, wherein:
The resource scheduling module utilizes 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, and the scheduling algorithm adopts a weighted polling mechanism to enable the high-priority task to obtain the resources preferentially;
And the resource scheduling module dynamically monitors the hardware resource use state through the resource use model module and establishes a resource use model.
In some embodiments, the cross-platform communication module comprises 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 among different operating systems through the shared memory mechanism module, and the shared memory mechanism module is provided with a locking mechanism to prevent data conflict caused by simultaneous access of the operating systems;
The cross-platform communication module triggers communication and data synchronization among the operating systems based on a target event by utilizing hardware interrupt according to the interrupt trigger mechanism module so as to improve the instantaneity of cross-operating system data exchange;
The communication scheduling algorithm module adopts a self-adaptive communication scheduling algorithm, optimizes data transmission based on the data exchange frequency and time delay requirements of each operating system, and reduces cross-platform communication delay.
In some embodiments, the driver compatibility module comprises a standardized API interface layer, a driver abstraction mechanism module, and a driver management policy module, wherein:
The drive compatible module abstracts the operation of the hardware equipment into a unified interface through a standardized API based on a standardized API interface layer and supports each operating system to share the same hardware equipment;
The drive compatible module shields the difference between the operating systems through the drive abstract mechanism module, so that the operating systems call a standardized interface to carry out hardware operation without writing a separate drive program for each operating system;
And the drive compatible module dynamically adjusts the loading and unloading of the drive program based on the drive management strategy module according to the requirements of each operating system and the state of the hardware equipment, and improves the resource utilization rate of the hardware equipment.
In some embodiments, the security management module comprises an access control mechanism module, an encryption technology module and an authentication mechanism module, wherein:
The security management module adopts a role-based access control mechanism based on the access control mechanism module, and limits the access of different operating systems to the hardware resources and the data according to the roles and the authorities of the operating systems;
the security management module protects data through the encryption technology module at a hardware level;
the authentication mechanism module is used for enabling each operating system to carry out authentication before accessing the hardware resources through an authentication mechanism based on multi-factor authentication, so that unauthorized operation is avoided.
In some embodiments, the system monitoring module comprises 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 use condition of hardware resources of each operating system based on the real-time monitoring mechanism module, and adopts a periodic sampling technology to ensure that the resource scheduling efficiency under a set load state is achieved;
the system monitoring module detects abnormal behaviors in each operating system through the fault diagnosis mechanism module and records logs;
And under the condition of insufficient system resources, the system monitoring module dynamically adjusts the resource allocation of each operating system based on the dynamic adjustment functional module.
In some embodiments, the core board module supports a variety of processor architectures including x86, ARM, and RISC-V architectures, the core board module optimizing resource scheduling and managing the respective operating systems according to the instruction sets of the different processor architectures.
In some embodiments, the operating system for simultaneous loading of the core board module comprises at least two of Windows, linux or Android.
The embodiment of the application at least comprises the following beneficial effects:
The core board module integrates various hardware resources and supports parallel operation of a plurality of operating systems. The virtualization module realizes the isolation and sharing of resources among a plurality of operating systems through a hardware-assisted virtualization technology, and ensures that different operating systems can efficiently utilize hardware resources. The resource scheduling module dynamically allocates resources of the processor, the memory and the I/O interface according to task priority and real-time requirements of each operating system, so that efficient operation of each operating system in a multi-platform environment is ensured, and particularly, the real-time response capability to high-priority tasks is greatly improved.
The application reduces the performance cost caused by the traditional software virtualization by the hardware auxiliary virtualization functions (such as Intel VT-x, AMD-V and the like) in the virtualization module, and particularly directly supports the parallel operation of the operating system at the processor level. The virtualized overhead optimization algorithm further improves overall system performance by reducing delays of processors, memory, and I/O interfaces in virtualized traps. Meanwhile, the cross-platform communication module realizes high-speed data exchange among a plurality of operating systems through a shared memory and an interrupt trigger mechanism, and reduces data transmission delay.
The security management module ensures the security of a plurality of operating systems on hardware resources and data access and prevents unauthorized operation through a role-based access control mechanism (RBAC) and a hardware-level encryption technology. The system monitoring module monitors the resource use condition of each operating system in real time, and triggers an alarm or dynamically adjusts resource allocation when abnormality occurs, so as to ensure the stable operation of the system in a multi-platform environment. In addition, the drive compatible module solves the compatibility problem of a plurality of operating systems to hardware equipment through a standardized API interface, and ensures the efficient sharing of hardware resources and the stable operation of a drive program.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a compatible system of a multi-platform operating system based on a core board according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a virtualization module according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the application, but are merely examples of apparatuses and methods consistent with aspects of embodiments of the application as detailed in the accompanying claims.
It is to be understood that the terms "first," "second," and the like, as used herein, may be used to describe various concepts, but are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present application. The words "if", as used herein, may be interpreted as "when" or "in response to a determination", depending on the context.
The terms "at least one", "a plurality", "each", "any" and the like as used herein, at least one includes one, two or more, a plurality includes two or more, each means each of the corresponding plurality, and any one means any of the plurality.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
Referring to fig. 1, an embodiment of the present application provides a multi-platform operating system compatible system based on a core board, where the compatible system includes a core board module, a virtualization module, a resource scheduling module, a cross-platform communication module, a drive compatible module, a security management module, and a system monitoring module;
the core board module comprises a processor, a memory and a plurality of I/O interfaces, and is used for simultaneously bearing a plurality of operating systems, wherein the operating systems comprise Windows, linux and Android operating systems, and the core board module is communicated with the virtualization module, the resource scheduling module, the cross-platform communication module, the drive compatibility module, the security management module and the system monitoring module through internal buses and distributes required hardware resources for the operating systems;
the virtualization module is used for realizing the isolation and sharing of a plurality of operating systems on hardware resources of the processor, the memory and the I/O interface through a hardware virtualization technology, and supporting the parallel operation of the operating systems on the processor level through a hardware auxiliary virtualization function, so that the virtualization overhead is reduced and the overall performance is improved;
The resource scheduling module is used for dynamically distributing the use of the processor, the memory, the storage device and the I/O interface according to the task priority, the real-time requirement and the current system load of a plurality of operating systems, so that each operating system can obtain required hardware resources in a multi-platform environment, and the real-time requirement can be met;
the cross-platform communication module is used for realizing high-efficiency data transmission among a plurality of operating systems, and the cross-platform communication module ensures accurate and timely data exchange among the plurality of operating systems through a shared memory mechanism and an interrupt trigger mechanism;
The drive compatible module provides a unified hardware drive interface layer and is used for solving the drive compatibility problem of different operating systems on hardware equipment, and the drive compatible module enables a plurality of operating systems to share the same hardware equipment by abstracting a standardized API interface;
The security management module is used for controlling access rights of a plurality of operating systems to hardware resources and data, ensuring the security of the data and preventing unauthorized operating systems from accessing core hardware resources through a multi-layer access control mechanism based on identity verification and a hardware-level encryption technology;
The system monitoring module is used for monitoring the running states of a plurality of operating systems in real time, detecting the resource use condition of each operating system, triggering an alarm or reallocating system resources according to a preset threshold value, and ensuring the stable and efficient running of the system in a multi-platform environment.
The core board module specifically comprises:
The processor unit comprises a plurality of processing cores and supports multithreading parallel processing and is used for processing task requests from a plurality of operating systems;
the memory unit is a dynamic random access memory or a static random access memory, supports an on-demand allocation mechanism, dynamically allocates memory space according to the requirements of different operating systems, and ensures that each operating system can access the required memory resources;
The I/O interface comprises a universal serial bus, a serial communication interface, an Ethernet interface and other I/O interfaces with specific purposes (target purposes) for supporting the communication and interaction between each operating system and external equipment;
An internal bus, wherein the internal bus adopts a high-bandwidth and low-delay communication protocol (such as AMBA and PCIe) and is used for connecting a processor unit, a memory unit and various I/O interface units, so that the data transmission among the units is fast and efficient;
The core board module supports a plurality of operating systems, wherein the operating systems comprise Windows, linux and Android operating systems, the operating systems are isolated through the virtualization module, and task management and hardware resource allocation are performed through resource scheduling of the core board module;
The core board module supports parallel operation of a plurality of operating systems through a high-efficiency processor, dynamic storage management and various I/O interfaces, and realizes high-efficiency communication among the modules through a high-speed internal bus, thereby ensuring the overall operation efficiency and resource scheduling capability of the system.
Referring to fig. 2, the virtualization module specifically includes:
hardware-assisted virtualization technology, wherein a virtualization module supports hardware resource isolation of different operating systems through processor virtualization expansion based on hardware-assisted virtualization technology (such as Intel VT-x or AMD-V);
The virtual machine monitor (Hypervisor) runs on a virtualization layer and is used for managing the access of a plurality of operating systems to hardware resources, controlling the virtualization processes of a processor, a memory and an I/O interface and ensuring the parallel running of different operating systems on the same hardware resources;
the virtualized module prevents resource conflict among different operating systems through the resource isolation mechanism, and ensures that each operating system can independently run and access own allocated resources;
the virtualization overhead optimization algorithm is that a virtualization module adopts an optimization algorithm, such as an algorithm for minimizing the processing time of a virtualization trap, so that the interrupt overhead between a virtual machine and hardware resources is reduced, and the specific formula is as follows:
Ttrap=Tcpu_overhead+Tmem_access+Tio_delay;
Where T trap represents the total time of virtualized trap processing, T cpu_overhead represents the computational overhead of processor traps, T mem_access represents the latency caused by memory accesses, and T io_delay represents the latency of I/O device accesses.
By optimizing each parameter, the virtualization module realizes the improvement of the overall performance;
The virtualization module ensures that multiple operating systems run in parallel on the same hardware through a hardware-assisted virtualization technology and an optimized virtual machine monitor, reduces virtualization overhead through a resource isolation and optimization algorithm, and improves system performance.
The resource scheduling module specifically comprises:
The resource scheduling module distributes hardware resources for each operating system through a preset priority queue based on the priority and real-time requirements of the task, and the scheduling algorithm adopts a weighted polling mechanism to enable the high-priority task to obtain the resources preferentially, wherein the high-priority task comprises a security task, a communication task and a user interaction task;
Resource use model, the resource scheduling module establishes a resource use model by monitoring the use state of hardware resources in real time, and the expression of the model is as follows:
Wherein R usage represents the current resource utilization, U i represents the resource utilization of the ith operating system, P i represents the priority of the ith operating system, and T represents the total load time of the system;
The model is used for balancing the resource use condition of each operating system and ensuring that the tasks with high priority obtain priority treatment in a multi-platform environment;
the resource scheduling module ensures that a plurality of operating systems realize high-efficiency allocation when resources compete through a task priority scheduling algorithm and a resource using model, avoids system bottlenecks and improves the response speed of key tasks.
The cross-platform communication module specifically comprises:
The shared memory mechanism is used for realizing data transmission among different operating systems through the shared memory by the cross-platform communication module, wherein the shared memory is provided with a locking mechanism to prevent data conflict caused by simultaneous access of a plurality of operating systems;
the cross-platform communication module utilizes hardware interrupt to trigger communication and data synchronization between the operating systems based on a target event, so that the real-time performance of cross-operating system data exchange is ensured;
the communication scheduling algorithm is adopted, and based on the data exchange frequency and time delay requirements of each operating system, data transmission is optimized, so that cross-platform communication delay is reduced;
The cross-platform communication module ensures high-efficiency and reliable data exchange between the operating systems through a shared memory mechanism and an interrupt trigger mechanism, and further improves the collaborative work capability in a multi-platform environment.
The drive compatible module specifically includes:
The drive compatible module abstracts the operation of the hardware equipment into a unified interface through the standardized API interface and supports a plurality of operating systems to share the same hardware equipment;
The drive abstraction mechanism is used for driving the compatible module to shield the difference between the operating systems through the drive abstraction mechanism, so that each operating system calls the standardized interface to carry out hardware operation without writing an independent driver program for each operating system;
The drive management strategy is that the drive compatible module dynamically adjusts the loading and unloading of the drive program according to the requirement of an operating system and the state of the hardware equipment, and improves the resource utilization rate of the hardware equipment;
The drive compatibility module solves the problem of drive compatibility of multiple operating systems to hardware equipment through a standardized API interface and a drive abstraction mechanism, and ensures that hardware resources are efficiently utilized among different operating systems.
The security management module specifically comprises:
The security management module adopts a role-based access control mechanism, and limits the access of different operating systems to hardware resources and data according to the roles and the authorities of the operating systems;
The security management module protects the data through a hardware-level encryption technology, ensures confidentiality in the data transmission and storage process, and avoids unauthorized access and tampering;
The authentication mechanism ensures that each operating system performs authentication before accessing the hardware resource through the authentication mechanism based on multi-factor authentication, thereby avoiding unauthorized operation;
The security management module ensures the security of data and hardware resources of the system in a multi-platform operating environment through a multi-layer access control, encryption and authentication mechanism, and prevents unauthorized operation.
The system monitoring module specifically comprises:
The system monitoring module detects the use condition of the hardware resources of each operating system in real time, and adopts a periodic sampling technology to ensure the resource scheduling efficiency under a high-load state;
The system monitoring module detects abnormal behaviors in the operating system through the built-in fault diagnosis mechanism and records logs to help a system administrator to conduct fault troubleshooting;
dynamic adjustment function, in which the system monitoring module dynamically adjusts the resource allocation of each operating system to ensure the stable operation of the system under the condition of insufficient system resources;
the system monitoring module ensures the efficient operation of the operating system in the multi-platform environment through a real-time monitoring and dynamic adjustment mechanism and provides a fault diagnosis function so as to facilitate the maintenance and optimization of the system.
The core board module supports multiprocessor architectures including x86, ARM, and RISC-V architectures, and optimizes resource scheduling and operating system management according to instruction sets of different processor architectures, ensuring efficient operation of different architecture processors.
The core board module supports a multiprocessor architecture, so that the universality and expansibility of the system are improved, the requirements of different hardware platforms can be met, and the cross-platform efficient compatibility is realized.
The embodiments described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
It will be appreciated by persons skilled in the art that the embodiments of the application are not limited by the illustrations, and may include more or fewer modules than shown, or may be combined with certain modules, or may be different modules.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" is used to describe an association relationship of an associated object, and indicates that three relationships may exist, for example, "a and/or B" may indicate that only a exists, only B exists, and three cases of a and B exist simultaneously, where a and B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one of a, b or c may represent a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and are not thereby limiting the scope of the claims of the embodiments of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the embodiments of the present application shall fall within the scope of the claims of the embodiments of the present application.

Claims (10)

1. The multi-platform operating system compatible system based on the core board is characterized by comprising a core board module, a virtualization module, a resource scheduling module, a cross-platform communication module, a driving compatible module, a safety management module and a system monitoring module, wherein:
The core board module is used for simultaneously bearing a plurality of different operating systems, communicating with the virtualization module, the resource scheduling module, the cross-platform communication module, the drive compatibility module, the security management module and the system monitoring module through internal buses, and distributing the hardware resources required by each operating system;
the virtualization module is used for realizing the isolation and sharing of a plurality of operating systems on the hardware resources through a hardware virtualization technology, and supports the parallel operation of the operating systems on a processor level through a hardware auxiliary virtualization function so as to reduce the virtualization overhead and improve the overall performance;
The resource scheduling module is used for dynamically distributing the use of the hardware resources according to the task priority, the real-time requirement and the current system load of each operating system;
The cross-platform communication module is used for realizing data transmission among the operating systems, and the accuracy and timeliness of data exchange among the operating systems are improved through a shared memory mechanism and an interrupt trigger mechanism;
The drive compatible module provides a unified hardware drive interface layer for solving the drive compatibility problem of each operating system on the hardware equipment, and the drive compatible module enables each operating system to share the same hardware equipment through abstracting a standardized API interface;
The security management module is used for controlling the access rights of each operating system to the hardware resources and the data, and the security management module improves the security of the data through a multi-layer access control mechanism based on identity verification and a hardware-level encryption technology and prevents the unauthorized operating system from accessing the hardware resources;
The system monitoring module is used for dynamically monitoring the running state of each operating system, detecting the resource use condition of each operating system, and triggering an alarm or reallocating system resources according to a preset threshold value.
2. The multi-platform operating system compatible system based on a core board of claim 1, wherein the hardware resources comprise a processor unit, a memory unit, and a plurality of I/O interfaces, wherein:
the processor unit comprises a plurality of core processors, and the processor unit supports multithreading parallel processing and is used for processing task requests from each operating system;
The memory unit comprises a dynamic random access memory or a static random access memory, supports an on-demand allocation mechanism, and dynamically allocates memory space according to the requirements of different operating systems;
the I/O interface comprises a universal serial bus, a serial communication interface, an Ethernet interface and an I/O interface with preset purposes, and the I/O interface is used for supporting communication and interaction between each operating system and external equipment;
the internal bus in the core board module adopts a target communication protocol, and the internal bus is used for connecting the processor unit, the memory unit and 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 a core board of claim 1, wherein the virtualization module comprises 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 hardware resource isolation of each operating system through processor virtualization expansion based on the hardware auxiliary virtualization function module;
The virtual machine monitor operates in a virtualization layer and is used for managing the access of each operating system to the hardware resources and controlling the virtualization processes of the processor unit, the memory unit and various I/O interfaces;
the virtualization module prevents resource conflict among the operating systems through the resource isolation module;
the virtualization module adopts an optimization algorithm through the virtualization overhead optimization algorithm module, so that interrupt overhead between the virtual machine and the hardware resource is reduced.
4. The multi-platform operating system compatible system based on a core board of claim 1, wherein the resource scheduling module comprises a task priority scheduling algorithm module and a resource usage model module, wherein:
The resource scheduling module utilizes 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, and the scheduling algorithm adopts a weighted polling mechanism to enable the high-priority task to obtain the resources preferentially;
And the resource scheduling module dynamically monitors the hardware resource use state through the resource use model module and establishes a resource use model.
5. The multi-platform operating system compatible system based on the core board of claim 1, wherein the cross-platform communication module comprises 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 among different operating systems through the shared memory mechanism module, and the shared memory mechanism module is provided with a locking mechanism to prevent data conflict caused by simultaneous access of the operating systems;
The cross-platform communication module triggers communication and data synchronization among the operating systems based on a target event by utilizing hardware interrupt according to the interrupt trigger mechanism module so as to improve the instantaneity of cross-operating system data exchange;
The communication scheduling algorithm module adopts a self-adaptive communication scheduling algorithm, optimizes data transmission based on the data exchange frequency and time delay requirements of each operating system, and reduces cross-platform communication delay.
6. The multi-platform operating system compatible system based on a core board of claim 1, wherein the driver compatible module comprises a standardized API interface layer, a driver abstraction mechanism module, and a driver management policy module, wherein:
The drive compatible module abstracts the operation of the hardware equipment into a unified interface through a standardized API based on a standardized API interface layer and supports each operating system to share the same hardware equipment;
The drive compatible module shields the difference between the operating systems through the drive abstract mechanism module, so that the operating systems call a standardized interface to carry out hardware operation without writing a separate drive program for each operating system;
And the drive compatible module dynamically adjusts the loading and unloading of the drive program based on the drive management strategy module according to the requirements of each operating system and the state of the hardware equipment, and improves the resource utilization rate of the hardware equipment.
7. The multi-platform operating system compatible system based on a core board of claim 1, wherein the security management module comprises an access control mechanism module, an encryption technology module, and an authentication mechanism module, wherein:
The security management module adopts a role-based access control mechanism based on the access control mechanism module, and limits the access of different operating systems to the hardware resources and the data according to the roles and the authorities of the operating systems;
the security management module protects data through the encryption technology module at a hardware level;
the authentication mechanism module is used for enabling each operating system to carry out authentication before accessing the hardware resources through an authentication mechanism based on multi-factor authentication, so that unauthorized operation is avoided.
8. The multi-platform operating system compatible system based on the core board of claim 1, wherein the system monitoring module comprises 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 use condition of hardware resources of each operating system based on the real-time monitoring mechanism module, and adopts a periodic sampling technology to ensure that the resource scheduling efficiency under a set load state is achieved;
the system monitoring module detects abnormal behaviors in each operating system through the fault diagnosis mechanism module and records logs;
And under the condition of insufficient system resources, the system monitoring module dynamically adjusts the resource allocation of each operating system based on the dynamic adjustment functional module.
9. The core board based multi-platform operating system compatible system of claim 1 wherein said core board module supports a plurality of processor architectures including x86, ARM, and RISC-V architectures, said core board module optimizing resource scheduling and management of each of said operating systems according to the instruction sets of different of said processor architectures.
10. The core board based multi-platform operating system compatible system according to any of claims 1 to 9 wherein the operating system for simultaneous carrying by the core board module comprises at least two of Windows, linux or Android.
CN202411671037.7A 2024-11-21 2024-11-21 Multi-platform operating system compatible system based on core board Pending CN119806630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411671037.7A CN119806630A (en) 2024-11-21 2024-11-21 Multi-platform operating system compatible system based on core board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411671037.7A CN119806630A (en) 2024-11-21 2024-11-21 Multi-platform operating system compatible system based on core board

Publications (1)

Publication Number Publication Date
CN119806630A true CN119806630A (en) 2025-04-11

Family

ID=95275313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411671037.7A Pending CN119806630A (en) 2024-11-21 2024-11-21 Multi-platform operating system compatible system based on core board

Country Status (1)

Country Link
CN (1) CN119806630A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120386588A (en) * 2025-06-30 2025-07-29 准检河北检测技术服务有限公司 Method and system for adapting trust-based innovation environment based on cloud computing platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976200A (en) * 2010-10-15 2011-02-16 浙江大学 Virtual machine system for input/output equipment virtualization outside virtual machine monitor
CN102339229A (en) * 2010-07-15 2012-02-01 戴元顺 Virtualization method based on operating system layer
US20150332048A1 (en) * 2014-05-15 2015-11-19 Lynx Software Technologies, Inc. Systems and Methods Involving Features of Hardware Virtualization, Hypervisor, APIs of Interest, and/or Other Features
CN117707693A (en) * 2023-12-11 2024-03-15 之江实验室 Heterogeneous intelligent computing platform virtualization management system and method
CN117742889A (en) * 2023-12-14 2024-03-22 深圳市汇川技术股份有限公司 Virtualization system, working methods, working equipment and readable storage media
CN118093217A (en) * 2022-11-28 2024-05-28 华为技术有限公司 Multi-system compatibility method and electronic equipment
US20240362083A1 (en) * 2023-04-28 2024-10-31 Suzhou Metabrain Intelligent Technology Co., Ltd. Embedded system running method and apparatus, and embedded system and chip

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339229A (en) * 2010-07-15 2012-02-01 戴元顺 Virtualization method based on operating system layer
CN101976200A (en) * 2010-10-15 2011-02-16 浙江大学 Virtual machine system for input/output equipment virtualization outside virtual machine monitor
US20150332048A1 (en) * 2014-05-15 2015-11-19 Lynx Software Technologies, Inc. Systems and Methods Involving Features of Hardware Virtualization, Hypervisor, APIs of Interest, and/or Other Features
CN118093217A (en) * 2022-11-28 2024-05-28 华为技术有限公司 Multi-system compatibility method and electronic equipment
US20240362083A1 (en) * 2023-04-28 2024-10-31 Suzhou Metabrain Intelligent Technology Co., Ltd. Embedded system running method and apparatus, and embedded system and chip
CN117707693A (en) * 2023-12-11 2024-03-15 之江实验室 Heterogeneous intelligent computing platform virtualization management system and method
CN117742889A (en) * 2023-12-14 2024-03-22 深圳市汇川技术股份有限公司 Virtualization system, working methods, working equipment and readable storage media

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120386588A (en) * 2025-06-30 2025-07-29 准检河北检测技术服务有限公司 Method and system for adapting trust-based innovation environment based on cloud computing platform

Similar Documents

Publication Publication Date Title
Marty et al. Snap: A microkernel approach to host networking
CN112235210B (en) Multi-domain controller virtual machine data communication method and device based on vehicle-mounted Ethernet
US10592270B2 (en) Safety hypervisor function
RU2429530C2 (en) Managing state of allocated hardware in virtual machines
EP0723236B1 (en) System for communicating messages among agent processes
JP5536807B2 (en) System, method and computer program for controlling allocation of shared resources
CN119806630A (en) Multi-platform operating system compatible system based on core board
US20090049449A1 (en) Method and apparatus for operating system independent resource allocation and control
CN107423619A (en) A kind of method during the structure intelligent terminal WEB operations based on virtualization technology
García-Valls et al. Adaptive middleware design for CPS: Considerations on the OS, resource managers, and the network run-time
CN115202908B (en) Privacy computation request response method and device based on dynamic arrangement
Kim et al. Guest-aware priority-based virtual machine scheduling for highly consolidated server
US20220291962A1 (en) Stack memory allocation control based on monitored activities
Chen et al. Gemini: Enabling multi-tenant gpu sharing based on kernel burst estimation
Kim et al. Reducing memory interference latency of safety-critical applications via memory request throttling and Linux Cgroup
Cheng et al. Offloading interrupt load balancing from smp virtual machines to the hypervisor
US11061730B2 (en) Efficient scheduling for hyper-threaded CPUs using memory monitoring
Shih et al. Fairness scheduler for virtual machines on heterogonous multi-core platforms
CN114546599B (en) Container operating system
CN110347507A (en) Multi-level fusion real-time scheduling method based on round-robin
US20060184942A1 (en) System, method and medium for using and/or providing operating system information to acquire a hybrid user/operating system lock
Ziccardi et al. Software-enforced interconnect arbitration for COTS multicores
CN114281529A (en) Distributed virtualization guest operating system scheduling optimization method, system and terminal
Tian et al. sEBP: Event based polling for efficient I/O virtualization
US6704765B1 (en) System for allocating resources among agent processes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination