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

Task secondary scheduling module and method

A technology of tasks and task chains, applied in the direction of multi-program devices, etc., can solve problems affecting the real-time performance of real-time operating systems and huge system resources, and achieve the effect of improving real-time performance and resource utilization

Active Publication Date: 2009-06-10
ZTE CORP
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For mobile phones, more and more applications are added to the system, and more and more processes and threads need to be created, which occupy more and more system resources and seriously affect the real-time performance of the real-time operating system.

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
  • Task secondary scheduling module and method
  • Task secondary scheduling module and method
  • Task secondary scheduling module and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Such as figure 1 As shown, the task two-level scheduling module of the present invention provides a task operation interface for the application layer user, hangs the task on the corresponding thread of the real-time operating system according to the priority, and distributes and processes the thread message, such as figure 2 As shown in the figure, tasks A and B are hung on thread A, and task C is hung on thread B, so that the user's three task applications can be completed on two threads, saving thread resources.

[0038] Specifically, the task secondary scheduling module includes an initialization submodule, a task scheduling processing submodule and a task operation submodule. in,

[0039] The initialization sub-module is used to initialize the task secondary scheduling module, and create a thread registration table for saving task information under the thread;

[0040] The task scheduling processing sub-module is used to receive the message sent to this thread, ...

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 provides a module and a method for task two-level scheduling. The task two-level scheduling module is applied between a real-time operating system and an application layer, and comprises an initialization submodule, a task scheduling processing submodule and a task operating submodule, wherein the initialization submodule is used for initializing the task two-level scheduling module and establishing a thread registration form to store the task information of a thread; the task scheduling processing submodule is used for receiving a thread message and directly processing inside information of the thread message, and calls an object task for processing after sending a user message to the corresponding object task; and the task operating submodule is used for completing task operation and message receiving and sending between tasks. The module and the method can realize the process of task two-level scheduling on the basis of the prior real-time operating system, thereby increasing the real-time performance and resource utilization rate of the real-time operating system.

Description

technical field [0001] The invention relates to a real-time operating system and a scheduling method, in particular to a module and a method capable of realizing two-level scheduling in a real-time operating system. Background technique [0002] Generally speaking, the current real-time operating system refers to the system kernel layer, and the application layer generally implements the development of application programs by directly calling the process and thread interfaces encapsulated by the system, while the scheduling of processes and threads is completed by the kernel layer. For mobile phones, more and more applications are added to the system, and more and more processes and threads need to be created, taking up more and more system resources, which seriously affects the real-time performance of the real-time operating system. How to realize the same function with the least CPU, memory and other resources has become an urgent demand at present. Contents of the inve...

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/46
Inventor 许兴奎何海建夏新国龚翼
Owner ZTE CORP
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