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

Application program protection method and system based on Android platform

A technology of application programs and protection systems, applied in the field of data processing, can solve problems such as APP cycle crashes, achieve the effect of improving user experience and preventing crashes and jams

Active Publication Date: 2021-01-22
北京读我网络技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this restart method can reduce the loss caused by the crash to a certain extent, it has many disadvantages
For example: if the crash point occurs on the home page, or initialization-related logic, etc., there will be a loop crash of the app, which will cause the user to uninstall the app

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
  • Application program protection method and system based on Android platform
  • Application program protection method and system based on Android platform
  • Application program protection method and system based on Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] Such as figure 1 As shown, it is a flow chart of Embodiment 1 of an Android platform-based application program protection method disclosed by the present invention, and the method may include the following steps:

[0052] S101. When the target application program is initialized, obtain the first number of crashes in the local cache;

[0053] When the target application program is initialized, that is, when the application program to be opened by the us...

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 an application program protection method and system based on an Android platform, and the method comprises the steps: obtaining a first crash frequency of a local cache when atarget application program is initialized; adding 1 to the obtained first crash times to obtain second crash times, and storing the second crash times into a local cache; judging whether the second crash frequency is greater than or equal to 5 times, and if yes, additionally starting a thread, blocking the current crash thread, and performing function extension; processing extended functions; entering a target application home page; judging whether the running time of the target application program is longer than 6 seconds, and if yes, setting the second collapse frequency stored in the localcache to be 0. According to the method, the application program can be effectively prevented from being crashed and stuck, so that the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an Android platform-based application program protection method and system. Background technique [0002] With the rapid development of the mobile Internet, many APPs (Applicatio, application programs) have been born. At present, as the number of users using a certain APP continues to increase, users will occasionally experience flashbacks in the process of using the APP, which greatly reduces the user's experience in using the APP. To address this problem, a common approach in the prior art is to restart the APP after it crashes. Although this restart method can reduce the loss caused by the crash to a certain extent, it has many disadvantages. For example, if the crash point occurs on the home page, or initialization-related logic, etc., there will be a loop crash of the app, which will cause the user to uninstall the app. [0003] Therefore, how to effectively preve...

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): G06F11/14
CPCG06F11/1479
Inventor 贠相勇王强
Owner 北京读我网络技术有限公司