Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A real-time kernel implementation and testing method

A technology of a real-time kernel and an implementation method, applied in the computer field, can solve the problem that the kernel cannot realize real-time operation processing, etc., and achieve the effect of shortening the maximum interrupt response time, highlighting the substantive features, and reliable design principles.

Inactive Publication Date: 2018-12-28
SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the cores in the prior art cannot realize real-time operation processing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A real-time kernel implementation and testing method
  • A real-time kernel implementation and testing method
  • A real-time kernel implementation and testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be described in detail below with reference to the accompanying drawings and specific examples. The following examples are to explain the present invention, but the present invention is not limited to the following embodiments.

[0047] like figure 1 As shown, the implementation method of a real-time kernel provided by the present invention is characterized in that, comprises the following steps:

[0048] Step 1: Introduce a fully preemptive kernel in the real-time cloud data center, set the kernel scheduling policy to SCHED_FIFO or SCHED_RR, and the scheduler determines the scheduling order of tasks according to the priority of user tasks;

[0049] Step 2: Implementation steps of interrupt event threading;

[0050] Step 3: The steps of priority inheritance;

[0051] Step 4: Steps of spinlock element annotation;

[0052] Step 5: the steps of implementing high-resolution timer management;

[0053] Step 6: Steps to implement NO_HZ_FULL mode...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for realizing and testing a real-time kernel, characterized by comprising: 1, introducing a completely preemptive kernel into a real-time cloud data center, setting akernel scheduling strategy to be SCHED_FIFO or SCHED_RR, and determining a scheduling order of the tasks according to the priority of the user tasks by a scheduler; 2, implementing the threading of the interrupt event; 3, priority inheritance; 4, annotating the spin lock element; 5, implementing the management of the high-resolution timer; 6: implementing an NO_HZ_FULL mode.

Description

technical field [0001] The invention belongs to the technical field of Linux kernel development in the computer field, and in particular relates to a real-time kernel implementation and testing method. Background technique [0002] When a Linux real-time virtual machine is created on the host pve-4.4.35 kernel, and the user application is run in the virtual machine, the QEMU layer timer event or IO interrupt event will force the virtual machine to exit the guest state and the QEMU user state will be generated. The interrupt event is processed, and after the interrupt event is processed, the result is returned to the virtual machine, and the user application program is re-entered into the guest state. [0003] In order to ensure that real-time applications can be performed within a limited time, the real-time performance of the kernel must be improved. However, the kernel in the prior art cannot realize real-time operation processing. This is a shortcoming of the prior art....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558
Inventor 刘方刘毅枫吕国亭马晓光
Owner SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products