Unlock instant, AI-driven research and patent intelligence for your innovation.

An operating system clock scheduling method and system

An operating system and clock scheduling technology, applied in multi-programming devices, program control design, instruments, etc., can solve the problems of poor real-time performance of operating system, long interval time, long running time of pending interruption events, etc. real-time effects

Active Publication Date: 2020-11-27
北京国科环宇科技股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The interval between triggering two clock interrupts is longer, and the running time of the pending interrupt event in the device will be longer, and the real-time process cannot be switched for a longer time, resulting in poor real-time performance of the operating system of the device
[0012] In the case of periodic clock scheduling, the triggering of clock interrupts is more frequent, and the probability of real-time process switching affecting the operating system of the device is also greater.

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
  • An operating system clock scheduling method and system
  • An operating system clock scheduling method and system
  • An operating system clock scheduling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0034] It can be seen from the background art that when the CPU of the device executes the pending interrupt event, it will affect the real-time performance of real-time process switching in the operating system of the device. If the clock interrupt can be actively triggered at a specific time, and this influencing factor can be controlled within a predictable range, the real-time performance of real-time process switching in the operating system of the device can be significantly improved.

[0035] In order to solve the above problems, in the embodiment of the present invention, when the determined current running process of the operating system is actively scheduled, when it is determined that the priority of the current running process is higher than ...

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 present invention discloses an operating system clock scheduling method and system. The embodiment of the present invention determines that the priority of the current running process is higher than or equal to the set focus priority when determining the active scheduling of the current running process of the operating system of the device. When it is judged that the current time of the operating system of the device is greater than the sum of the last clock interrupt trigger time of the operating system of the device and the clock interrupt scheduling cycle time, the clock interrupt is directly triggered and the pending interrupt event is executed. It can be seen that, in order to prevent frequent judgments and trigger clock interrupts, and prevent reduction of operating system performance of the device, the above solution is executed only when the priority of the currently running process is higher than or equal to the set concern priority for triggering clock interrupts. In this way, the method and system provided by the embodiments of the present invention can accurately determine the time of triggering the clock interrupt, and improve the real-time performance of real-time process switching.

Description

technical field [0001] The present invention relates to the technical field of operating system execution of equipment, in particular to an operating system clock scheduling method and system. Background technique [0002] Devices such as computers or embedded devices are usually composed of hardware parts and software parts, and are devices that can operate independently and perform various functions. Wherein, the software part of the device includes a software operating environment and its operating system, and the hardware part includes hardware units such as a processor, a memory, and a communication module. The device with the above structure is widely used in daily life, industrial control, aerospace and military affairs. [0003] Usually, the device uses an open source operating system, such as a Linux system, to manage and control hardware resources and software resources in the device. The operating system of the device implements the operation of the software pro...

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 Patents(China)
IPC IPC(8): G06F9/48
CPCG06F9/4825G06F2209/484
Inventor 刘志立李壮王志强杜登科张东伟张善从
Owner 北京国科环宇科技股份有限公司