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

Multi-task concurrent processing method and device for Android system

A processing method and multitasking technology, applied in the field of multitasking concurrent processing methods and devices of the Android system, can solve problems such as unfavorable system maintenance of programs, confusion of thread control by Android system, etc., and achieve the effect of avoiding program exceptions or crashes

Inactive Publication Date: 2013-09-04
NO 15 INST OF CHINA ELECTRONICS TECH GRP
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This makes the control of the thread by the Android system more confusing, which is not conducive to the maintenance of the program by the system.

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
  • Multi-task concurrent processing method and device for Android system
  • Multi-task concurrent processing method and device for Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many of the details listed in the specification are only for readers to have a thorough understanding of one or more aspects of the present invention, and these aspects of the present invention can be implemented even without these specific details.

[0044] As used herein, terms such as "module" and "system" are intended to include computer-related entities such as, but not limited to, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a module may be, but is not limited to being limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and / or a computer. For example, both an applicatio...

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 discloses multi-task concurrent processing method and device for an Android system. The method includes: after receiving a new incoming task, a concurrent processor judges whether the number of current threads is smaller than a set maximum thread number or not; if yes, after the new incoming task is put in a running queue, one current thread is created for the new task and used for executing the new incoming task; if not, the new incoming task is put in a ready queue; if the current thread created by the concurrent processor is executed, the top task in the ready queue is moved to the running queue by the concurrent processor, and one current thread for executing the task is created for the task; and if the current thread created by the concurrent processor is suspended or abnormal during execution, the current thread is moved to a suspension and anomaly queue and is then moved to the ready queue when an onRestart command is received.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a multi-task concurrent processing method and device for an Android system. Background technique [0002] The multi-task concurrent execution of the existing Linux-based Android system refers to the process of dividing the program into multiple separate and independently running tasks, and making the multiple independently running tasks "synchronously" execute. With multithreading, each task executed concurrently is driven by a corresponding thread. Concurrent execution of multiple tasks makes the program respond faster. [0003] When the existing Android system executes multiple tasks concurrently, it will create threads equal to the number of tasks to perform corresponding tasks. Since the time allocated by the system to each thread is equal, when one or some threads have too much computation, the thread cannot be completed within the allocated time. If the system is ...

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/38
Inventor 李秋作李淑惠金京涛郑扬飞何岩刘毅吴瑜刘玉龙胡春波金辉
Owner NO 15 INST OF CHINA ELECTRONICS TECH GRP
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