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

Method for improving task switching efficiency and terminal equipment

A task switching and efficiency technology, applied in the direction of program startup/switching, program control design, instruments, etc., can solve the problems of shared use of coprocessors, low task switching efficiency and inability to multiple tasks, etc., to achieve the effect of improving efficiency

Active Publication Date: 2020-02-04
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 for improving task switching efficiency and terminal equipment
  • Method for improving task switching efficiency and terminal equipment
  • Method for improving task switching efficiency and terminal equipment

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 the purpose of 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 differe...

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 suitable for the technical field of computer information processing, and provides a method for improving task switching efficiency and terminal equipment, and the method comprises thesteps: controlling all coprocessors of a CPU to be in a forbidden state when an operating system is started and each task is switched in a normal operation process of the operating system; when the task runs to a coprocessor instruction, the coprocessor corresponding to the coprocessor instruction is in a forbidden state, triggering the undefined instruction to be abnormal; executing a corresponding undefined instruction exception processing flow; determining that an undefined instruction belongs to an instruction set range of the coprocessor, protecting and recovering the context content information of the coprocessor. According to the method, the context content information of the coprocessor can be automatically protected and recovered as required according to task requirements, so that the task switching efficiency is improved, and a plurality of tasks can share the coprocessor.

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 Applications(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