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

Method and terminal device for improving task switching efficiency

A task switching and task technology, applied in the direction of program startup/switching, program control design, multi-programming device, etc., can solve the problems of shared use of coprocessors, low task switching efficiency and inability to multiple tasks, etc. Effect

Active Publication Date: 2022-04-12
PAX COMP TECH SHENZHEN
View PDF19 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a method and a terminal device for improving task switching efficiency, so as to solve the problems in the prior art that the task switching efficiency is low and multiple tasks cannot share coprocessors

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
  • Method and terminal device for improving task switching efficiency
  • Method and terminal device for improving task switching efficiency
  • Method and terminal device for improving task switching efficiency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In the following description, specific details such as specific system structures and technologies are presented for illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0048] In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

[0049]The method for improving task switching efficiency provided by the embodiments of the present invention is applicable to all electronic devices equipped with multi-task operating systems and coprocessors. A coprocessor is a part of the CPU. A CPU has many different types of cop...

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 is applicable to the technical field of computer information processing, and provides a method for improving task switching efficiency and a terminal device. The method includes: controlling the CPU's All coprocessors are in a disabled state; when the task runs to a coprocessor instruction, the coprocessor corresponding to the coprocessor instruction is in a disabled state, an undefined instruction exception is triggered, and the corresponding undefined instruction exception processing flow is executed, After determining that the undefined instruction belongs to the instruction set range of the coprocessor, the protection and recovery of the context content information of the coprocessor is performed, so that the context content information of the coprocessor can be automatically protected on demand according to task requirements and recovery, which not only improves the efficiency of task switching, but also enables multiple tasks to share the use of coprocessors.

Description

technical field [0001] The invention belongs to the technical field of computer information processing, and in particular relates to a method for improving task switching efficiency and a terminal device. Background technique [0002] A coprocessor is a processor developed and applied to assist a central processing unit (Central Processing Unit / Processor, CPU) to complete processing tasks that it cannot perform or perform with low efficiency and low effect, and is used to improve the processing performance of the CPU. For example, for floating-point operations, a floating-point coprocessor is added; for JAVA, a JAVA coprocessor is added. On a CPU with a coprocessor, a multitasking operating system runs. In order to ensure the normal use of the coprocessor by each task of the system, it is necessary to protect various working states of the coprocessor between different tasks. [0003] At present, the context information of the coprocessor is usually protected and restored ev...

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/38G06F9/48
CPCG06F9/3877G06F9/4843
Inventor 汤增宏
Owner PAX COMP TECH SHENZHEN
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