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

Multitask switching execution method based on single process, multitask switching execution system based on single process and processor

A technology of task execution and execution method, applied in the computer field, can solve problems such as wasting system resources, and achieve the effect of saving resources

Inactive Publication Date: 2015-12-30
PHICOMM (SHANGHAI) CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned shortcomings of the prior art, the object of the present invention is to provide a multi-task switching execution method, system and processor based on a single process, which is used to solve the waste of the system by opening multiple threads to execute multiple tasks in the prior art. resource problem

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
  • Multitask switching execution method based on single process, multitask switching execution system based on single process and processor
  • Multitask switching execution method based on single process, multitask switching execution system based on single process and processor
  • Multitask switching execution method based on single process, multitask switching execution system based on single process and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0033] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the compo...

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 multitask switching execution method based on a single process, a multitask switching execution system based on the single process and a processor. The method comprises the steps that a task waiting queue set is set, wherein the task waiting queue set comprises at least one task waiting queue; a task execution queue set is set, wherein the task execution queue set comprises at least two priority lists; a host process obtains task execution units in each priority list according to the priority sequence, and executes actions in the obtained task execution unit; when no task execution units exist in the task execution queue set, the host process obtains a task from the task waiting queue set, and adds the obtained task to the priority list in the corresponding level to be continuously executed. The multitask switching execution method, the multitask switching execution system and the processor have the advantages that the seamless switching among multiple tasks and the multitask execution management are realized by the single process; the starting of multiple processes is not needed; the resource sharing management synchronization mechanism required by multiple processes is also omitted; a large number of resources is saved.

Description

technical field [0001] The invention belongs to the technical field of computers, and relates to a task execution method, in particular to a single-process-based multi-task switching execution method, system and processor. Background technique [0002] A process is a running activity of a program with certain independent functions on a certain data set, and a process is an independent unit for the system to allocate and schedule resources. The multitasking realized in the prior art is to open several threads in the process, and each thread corresponds to a task, finally realizing multitasking execution. A thread is an entity of a process and the basic unit of CPU scheduling and dispatching. It is a basic unit that is smaller than a process and can run independently. The thread itself basically does not own system resources, but only has some essential resources in operation (such as program counter, a set of registers and stack), but it can share all resources owned by the ...

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
IPC IPC(8): G06F9/48G06F9/50
Inventor 庞骏
Owner PHICOMM (SHANGHAI) 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