Android target application crash calculation method and device
A target application and statistical method technology, applied in the field of Android target application crash statistics, Android target application crash statistics device field, can solve the problem of poor applicability, inability to detect and obtain Android system crash information, inability to detect and capture crash information, etc. problems, to achieve the effect of improving comprehensiveness and applicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a method for counting crashes of an Android target application according to an embodiment of the present invention, which may specifically include the following steps:
[0061] Step 110 , monitor whether the activation function of the window of the Activity of the target application calls the exception catching function; if the activation function of the window of the Activity calls the exception catching function, go to step 120 .
[0062] The above-mentioned target applications may include various applications running in the Android system that need to obtain crash information, such as 360 Security Guard, 360 Security Browser, and the like.
[0063] Activity is one of the most basic and most commonly used four components in Android components. Activity is an application component that provides a screen that users can use to interact in order to complete a certain task. In an Android applicati...
Embodiment 2
[0084] refer to figure 2 , which shows a flow chart of the steps of an embodiment of a method for counting crashes of an Android target application according to an embodiment of the present invention, which may specifically include the following steps:
[0085] Step 210, inject the hook function into the application process of the target application.
[0086] In the embodiment of the present invention, the hook function is used to intercept the authority verification result returned by the authority verification function, and at the same time execute the logical process of returning the authority verification result indicating that the verification has passed to the system. Therefore, the embodiment of the present invention needs to inject the hook function into the application process of each application first.
[0087] Preferably, step 210 includes:
[0088] Sub-step 211, when the system starts, replace the initial hatching process that comes with the system with the pred...
Embodiment 3
[0126] refer to image 3 , which shows a structural block diagram of an embodiment of an Android target application crash statistics device according to an embodiment of the present invention, which may specifically include the following modules:
[0127] The monitoring module 310 is adapted to monitor whether the activation function of the window of the Activity of the target application calls the exception capture function; if the activation function of the window of the Activity calls the exception capture function, enter the hooking module.
[0128] The hooking module 320 is adapted to hook the exception catching function through a hook function.
[0129] The obtaining module 330 is adapted to obtain the exception message through the exception catching function.
[0130] The statistical module 340 is adapted to collect statistics on the abnormal messages.
[0131] In the embodiment of the present invention, monitor whether the window activation function of the Activity o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com