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

Application program lag detection method and device, medium and electronic equipment

A technology of application programs and detection methods, applied in the computer field, can solve problems such as unresponsiveness, stuck applications, waste of manpower and material resources, etc., and achieve the effect of improving accuracy

Active Publication Date: 2020-04-21
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In particular, the problems of freezing and application unresponsiveness caused by multi-threaded lock competition are currently difficult problems to be solved
With the existing technology, when the application freezes or does not respond, due to factory settings, it is difficult to quickly and accurately detect the cause of the application freezing or unresponsive, which requires a lot of wasted manpower and material resources to find the cause of the freeze or unresponsiveness of the application, therefore, it is necessary to optimize the existing detection method of the freeze of the application

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 lag detection method and device, medium and electronic equipment
  • Application program lag detection method and device, medium and electronic equipment
  • Application program lag detection method and device, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Such as figure 1 As shown, according to the specific implementation manner of the present disclosure, in the first aspect, the present disclosure provides a method for detecting application freezing, which specifically includes the following method steps:

[0030] S102: Detect whether the application program is stuck, and obtain the detection result;

[0031] In this step, the method for detecting whether the application program freezes is a conventional method, which will not be repeated here. In the technical solution of the detection method provided by the embodiment of the present disclosure, as long as the method can detect the freezing phenomenon of the application program, it is included in the technical solution of the detection method provided by the embodiment of the present disclosure.

[0032] S104: When the detection result is that the application program is stuck, collect logs with a label identifying lock holding timeout;

[0033] In a specific applicat...

Embodiment 2

[0098] This embodiment follows embodiment 1, and is used to implement the method steps described in embodiment 1. The explanation based on the same name and meaning is the same as embodiment 1, and has the same technical effect as embodiment 1, which will not be repeated here. combined with figure 2 As shown, according to the specific implementation manner of the present disclosure, in the second aspect, the present disclosure provides an application freeze detection device, including a detection unit 202, a search unit 204, and an analysis unit 206, specifically as follows:

[0099] The detection unit 202 is used to detect whether the application program is stuck, and obtain the detection result;

[0100] The search unit 204 is configured to collect a log with a label that identifies the lock holding timeout when the detection result detected by the detection unit 202 is that the application program is stuck;

[0101] The parsing unit 206 is configured to parse the logs sea...

Embodiment 3

[0126] Such as image 3 As shown, this embodiment provides an electronic device, which is used for a method for detecting application freeze, and the electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; in,

[0127] The memory stores instructions that can be executed by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: when the detection result is that the application program is stuck , collect the logs with tags that identify the lock timeout; and analyze the logs to get the reason for the freeze phenomenon in the application; in this way, the cause of the freeze phenomenon in the application can be accurately and quickly analyzed, namely: long-term lock holding logic; improved the accuracy of the application freeze detection method.

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 provides an application program jamming detection method and device, a medium and electronic equipment, and the detection method comprises the steps: detecting whether an application program is jammed or not, and obtaining a detection result; when the detection result shows that the application program is jammed, collecting a log with a label for identifying lock holding timeout; andanalyzing the log to obtain a reason why the application program is stuck. The method comprises the following steps: when a detection result shows that an application program is blocked, searching alog with a label for identifying lock holding timeout; analyzing the log to obtain a reason why the application program is stuck; in this way, the reason why the application program is jammed can be accurately and quickly analyzed, and the reason is logic of long-term lock holding; and the accuracy of the application program lag detection method is improved.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to a method, device, medium and electronic equipment for detecting stuck application programs. Background technique [0002] Compared with the Apple mobile device operating system, the operating performance of the Android system has not been as good as that of the Apple mobile device operating system. One of the main reasons is that Android adopts the Java virtual machine. [0003] Although mobile phone manufacturers and Android manufacturers have been committed to continuously optimizing the operating performance of the existing Android system, the performance of the virtual machine is a key point for optimization. In particular, the problems of freezing and application unresponsiveness caused by multi-threaded lock competition are currently difficult problems to be solved. With the existing technology, when the application freezes or does not respond, due to factory set...

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/36
CPCG06F11/3644Y02D10/00
Inventor 朴英敏
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD