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

A process scheduling method and device

A process scheduling and process technology, applied in the field of communication, can solve the problems of high system overhead of multi-task switching and preemption, heavy workload of transplantation, etc., achieve the effect of reducing task switching overhead, good portability, and avoiding huge workload

Active Publication Date: 2021-06-04
DATANG MOBILE COMM EQUIP CO LTD
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a process scheduling method and a corresponding process scheduling device to solve the problem of high system overhead for multi-task switching and preemption under the Linux operating system and software transplantation of Bare metal software on different hardware platforms and CPUs The above-mentioned problems when the migration workload is relatively large

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 process scheduling method and device
  • A process scheduling method and device
  • A process scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the above objects, features and advantages of the embodiments of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0044] refer to figure 1 , shows a flow chart of the steps of Embodiment 1 of a process scheduling method according to an embodiment of the present invention, which is applied to a Linux system, the Linux system includes a secondary scheduling component, and an application program is installed on the Linux system, which may specifically include Follow the steps below:

[0045] Step 101, receiving a user's input instruction for the application program;

[0046] In the embodiment of the present invention, the Linux system is an operating system based on POSIX (Portable Operating System Interface, PortableOperating System Interface of UNIX) and UNIX (Eunice Operating System) multi-user, multi-task, multi-thread an...

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

Embodiments of the present invention provide a method and device for process scheduling, which are applied to a Linux system. The Linux system includes a secondary scheduling component, and an application program is installed on the Linux system. The method includes: An input instruction of a program; in response to the input instruction, create a process corresponding to the application program; wherein, the process includes a plurality of threads; judge whether the number of the threads exceeds a preset threshold; when the number of the threads exceeds a preset threshold When the threshold is set, the secondary scheduling component is used to schedule the process; one or more exclusive CPUs are set for the secondary scheduling component to ensure that the secondary scheduling component monopolizes one or more CPUs, reducing task switching overhead, thereby maximizing Maximize the improvement of system performance and avoid the huge workload of developing a new operating system. The simple and efficient system including secondary scheduling components has excellent performance and can maximize system efficiency.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a process scheduling method and a process scheduling device. Background technique [0002] In the prior art, embedded development has the following options from the perspective of bottom operating system platform selection: based on open source operating systems, such as Linux, based on commercial operating systems, such as VxWorks, self-developed operating systems, bare metal without operating systems ( Computer bare metal refers to an electronic computer without an operating system and other software) mode. [0003] Solutions based on the open source Linux operating system are very common, but software based on the Linux operating system is generally more complicated, requiring a deep understanding of task scheduling and process / thread models under Linux, which has high requirements for developers, and the Linux operating system The switching and preemption of mu...

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/48G06F9/54G06F9/50
CPCG06F9/4881G06F9/5038G06F9/546G06F2209/484G06F2209/548
Inventor 笪禹黄传义
Owner DATANG MOBILE COMM EQUIP 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