An implementation method of an industrial server microkernel architecture
A server and micro-kernel technology, applied in the direction of program control in instruments, micro-control devices, sequence/logic controllers, etc., can solve problems such as limited execution functions, difficulty in meeting user business needs, and low utilization of CPU resources. achieve the effect of free combination
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] figure 1 It is a flow chart of a method for implementing an industrial server microkernel architecture provided by an embodiment of the present invention, the method is applied to an industrial server, figure 2 The structural diagram of the industrial server provided for the embodiment of the present invention, it can be seen that the industrial server includes industrial server hardware, an operating system kernel based on the industrial server hardware, and multiple physical kernels supported by the operating system kernel, and multiple physical kernels can run on each physical kernel. Virtual machine, each virtual machine corresponds to a microkernel, and the control program runs on the microkernel, that is, multiple control programs can run on each physical core. Exemplarily, there are 3 physical cores a, b, and c in total. Three control programs a1, a2, and a3 run on physical core a, three control programs b1, b2, and b3 run on physical core b, and three control p...
Embodiment 2
[0082] On the basis of the above technical solution, the schedule-based scheduling algorithm includes: setting multiple timers, wherein the duration of the first timer is the main frame time, and the second timer is set according to multiple time windows within the main frame time. The sequence starts successively, and the duration of the second timer is the same as the duration of each time window; with the main frame time as the cycle, start the first timer and the second timer at the same time, according to the setting of the schedule control Program, once the timing of the second timer arrives, schedule the next control program, and once the timing of the first timer arrives, start the next cycle, the schedule includes the start and end times of multiple time windows and the control program corresponding to each time window .
[0083] In this embodiment, a control program running on a physical core is scheduled according to a configured timetable. The timetable can be prec...
Embodiment 3
[0086] On the basis of the above technical solution, the priority of the control program running on one or more physical cores is obtained, and the priority is expressed in 8-bit binary mode, wherein the high 3 bits are the main index number, and the low 5 bits are For the secondary index number, mark the corresponding bit in the priority primary index number bitmap according to the primary index number, and mark the corresponding bit in the priority secondary index number bitmap according to the secondary index number.
[0087] In this embodiment, priority can be configured for each control program, and the range of priority can be set to 0-255, wherein 0 corresponds to the highest level, and 255 corresponds to the lowest level. The state of each control program can be ready, waiting, suspended, etc., suspended or dormant. Only the control programs in the ready state can be scheduled, and the control programs in other states are not included in the scheduling objects. Each pr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com