Processor scheduling method and system

A scheduling method and scheduling system technology, applied in the field of communications, can solve the problems of resource consumption, poor system real-time performance, and poor efficiency, and achieve the effects of high system real-time performance, improved switching efficiency, and fairness.

Inactive Publication Date: 2017-01-04
YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because the existing dual-system intelligent terminal is based on the scheduling algorithm of process priority, and the switching between processes will consume more resources, so if the switching between processes is frequent, the efficiency will be relatively poor, and the utilization rate of processor resources will not be very high.
And when the highest priority task is running, it will continue to occupy the CPU until it ends or blocks, otherwise other tasks will not get the chance to run, so the real-time performance of the system will be relatively poor
[0004] In summary, there are obviously inconveniences and defects in the actual use of the existing technology, so it is necessary to improve

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
  • Processor scheduling method and system
  • Processor scheduling method and system
  • Processor scheduling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] 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 in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] Such as figure 1 As shown, the present invention provides a processor scheduling system 100. The system 100 can be applied to a dual-system intelligent terminal, and the intelligent terminal can be a communication terminal such as a mobile phone, a PDA (Personal Digital Assistant, a personal digital assistant), and a tablet computer. The system 100 may be a software unit built in the mobile terminal, a hardware unit or a combination of software and hardware. The system 100 includes an instruction receiving module 10 , a processing module 20 and an executing module 30 .

[0039] The instruc...

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 is applicable to the technical field of communications, and provides a processor scheduling method and system. The method comprises the steps of receiving a thread priority or time slice modification instruction; modifying the priority or time slice of a thread and acquiring a thread with the highest priority in the ready state; and when a thread under a running state currently exits a kernel exclusive area, executing the thread with the highest priority in the ready state in a processor according to the length of the time slice. The processor scheduling method provided by the invention combines a priority enforcement mechanism and a round-robin mechanism; a priority preemption mechanism is adopted between threads of different priorities, and the round-robin mechanism is adopted between threads of the same priority; since a scheduling mechanism is based on threads, switching between threads consumes a very small amount of resources, therefore, the switching efficiency of occupying a CPU between threads of different priorities and the same priority is improved, the fairness of occupying processor resources between the threads is considered, and the system real-time performance is high.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a processor scheduling method and system. Background technique [0002] The dual-system smart terminal can run two independent systems (such as security system and standard system) at the same time, and the applications of the two systems are also independent. These two systems both run on the virtual layer, and when the virtual layer performs processor scheduling, the processor scheduling algorithm adopted is a scheduling algorithm based on process priority. There are three states in the life cycle of a process: ready, executing, and blocked. The switching between these three states is controlled by the process scheduler. A process is usually defined as an instance of a running program, which is the unit of resource allocation. A process can support multiple threads, and multiple threads in a process share the same memory address space. [0003] Because the exis...

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/48
Inventor 周军
Owner YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products