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

Processing method and apparatus for application not responding

A technology of application programs and processing methods, applied in the computer field, which can solve problems such as relying on user processing, affecting user experience, and poor stability.

Active Publication Date: 2016-03-30
ALIBABA (CHINA) CO LTD
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and device for processing ANR without application program response, so as to solve the problem that the method of processing ANR in the prior art can only rely on user processing, has poor stability, and affects user experience

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
  • Processing method and apparatus for application not responding
  • Processing method and apparatus for application not responding
  • Processing method and apparatus for application not responding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] First, the first embodiment of the processing method of the application program not responding in the present invention is described, see figure 1 , this embodiment includes the following steps:

[0040] Step 101: setting the trackable attribute of the current process where the application program is located, so that the current process can be tracked by a process with non-root authority;

[0041] This application uses the ARM architecture as an example for description, and other architectures only need to be modified to corresponding instructions.

[0042] First set the dumpableflag of the current process, and set its value to true, so that the current process of the application can be tracked by a process with non-root privileges, so as to prepare for tracking the signalcatcher thread in step 102 and modifying the memory code of the signalcatcher thread in step 103 .

[0043]The signalcatcher thread is used to capture linux signals and do some follow-up processing. ...

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 invention disclose a processing method and apparatus for application not responding. A newly established process tracks a signal catcher thread of a current process in which an application is, and a memory code of the signal catcher thread is modified in the new process, so that when application not responding (ANR) occurs, the signal catcher thread can skip to a processing function preprogramed by a developer of the application; and the processing function processes the ANR, so that the application has a chance to interrupt time-consuming threads, stops input / output (I / O) operation, and records detail information of the ANR so as to improve the application.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for processing an application program not responding. Background technique [0002] With the widespread popularization of smart terminals, the functions implemented by the applications installed on the terminals are becoming more and more perfect. Correspondingly, the structures of these application programs themselves are becoming more and more complex, so their operation consumes more system resources. Taking the Android (Android) operating system as an example, a situation of application not responding (Application Not Responding, ANR for short) often occurs. Since Android applications usually run in a separate thread such as the main thread, if the operations performed by the application occupy too many resources of the main thread, the main thread will not be able to process the user's I / O operations or receive Intent broadcasts. , the application has ...

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/48
Inventor 梁捷林作健
Owner ALIBABA (CHINA) 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