Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for reducing crash rate of Android application program

A technology of applications and alternatives, applied in the information field, can solve problems affecting user experience, UI thread blocking, application unresponsiveness, etc.

Pending Publication Date: 2022-05-24
TIANYI ELECTRONICS COMMERCE
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Android mobile applications are not like server-side applications, and end users can immediately perceive the update. Once the Android mobile application is released, even if the developer has discovered the crash problem and repaired it, there is no guarantee that the user can immediately update the existing version on the device. Problematic applications installed
In this way, the crash problem of Android applications is always difficult to be solved in time, which greatly affects the user experience.
However, the common hot-repair scheme uses the class loading mechanism to have great problems in the compatibility and stability of the system version, which often leads to the failure of the repair; the scheme of setting the UncaughtExceptionHandler of the thread will cause the UI thread to be blocked and cause the "Application UncaughtExceptionHandler" error. Respond to" questions;

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 reducing crash rate of Android application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] like figure 1 , the present invention provides a method for reducing the crash rate of an Android application, comprising the following steps:

[0020] (1) When the application starts, it takes over the default message polling mechanism in the application by sending a message that will poll the message queue indefinitely;

[0021] (2) Capture the exception of message execution in the self-built polling mechanism;

[0022] (3) According to the abnormal information, select an alternative solution issued by the server to guide the user to continue to use;

[0023] (4) If there is no corresponding alternative for the exception, upload the exception information to the server;

[0024] (5) Developers customize alternative solutions (such as H5 operation process or other equivalent function entry) according to the abnormal information reported in (4);

[0025] (6) Deliver the customized alternative to the client, and the alternative can be hit the next time the client trigg...

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 a method for reducing the crash rate of an Android application program. The method comprises the following steps that (1) when the application program is started, a default message polling mechanism in the application program is taken over by sending a message which can poll a message queue infinitely; (2) capturing the exception of message execution in the self-established polling mechanism; (3) selecting an alternative scheme issued by the server according to the abnormal information to guide the user to continue to use; (4) if no corresponding alternative scheme exists for the exception, uploading exception information to a server; (5) a developer customizes an alternative scheme according to the abnormal information reported in the step (4); and (6) issuing the customized alternative scheme to the client, wherein the alternative scheme can be hit when the client triggers the abnormity again next time. According to the method, the crash rate of the Android application program can be reduced, and the user experience can be improved; the system compatibility problem does not exist; and the problem of'no response to the application program 'caused by UI thread blockage cannot be caused.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method for reducing the crash rate of Android application programs. Background technique [0002] Android mobile applications are not like server-side applications that end users can perceive immediately after an update is released. Once an Android mobile application is released, even if the developer has discovered the crash problem and repaired it, it does not guarantee that the user can immediately update the device. Installed problematic applications. In this way, the crash problem of Android applications is always difficult to solve in time, which greatly affects the user experience. However, the common hot-fix scheme using the class loading mechanism has great problems in the compatibility and stability of the system version, which often leads to the failure of the repair; the scheme of setting the thread's UncaughtExceptionHandler will cause the UI thread to block ...

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): G06F11/07G06F9/54
CPCG06F11/0793G06F11/0778G06F9/546G06F2209/548
Inventor 王振张氣箔张坤洋
Owner TIANYI ELECTRONICS COMMERCE