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

Application program flash quit prevention method and device, electronic equipment and storage medium

An application program and flashback technology, applied in the computer field, can solve problems such as high maintenance costs, dependence on manpower, and inability to avoid them, and achieve the effects of reducing maintenance costs, strong universality, and lower flashback rates

Pending Publication Date: 2021-08-20
挂号网(杭州)科技有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, improving code robustness through code review or code scanning is still more dependent on manpower and is not suitable for apps with a faster iterative pace.
However, as the business continues to iterate in this way of improving the test case coverage, the maintenance cost will become higher and higher.
The above two methods cannot avoid problems caused by some more complex usage environments, such as the user's own unpredictable operations and network environment, which may cause the App to crash

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 flash quit prevention method and device, electronic equipment and storage medium
  • Application program flash quit prevention method and device, electronic equipment and storage medium
  • Application program flash quit prevention method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a flow chart of an application program anti-flashback method provided by an embodiment of the present invention. The method can be executed by the application program anti-flashback device provided by the embodiment of the present invention, the device can be realized by software and / or hardware, and the device can be integrated on various user terminals or servers.

[0033] Such as figure 1 As shown, the method of the embodiment of the present invention specifically includes the following steps:

[0034] S101. Monitor the running status, and when it is detected that the crash event of the application program is triggered, determine the target crash data that causes the crash event based on the triggered crash event.

[0035] In a specific embodiment, after the application program is started, the running condition of the application program is monitored. Specifically, after the application program is started and the function configuration is completed,...

Embodiment 2

[0046] figure 2 It is a flow chart of an application program anti-flashback method provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned technical solutions. Optionally, before determining the target flashback data that causes the flashback event based on the triggered flashback event, it also includes: determining whether the flashback event needs to be protected; if so, executing the triggered flashback The event identifies the action on the target crash data that caused the crash event to occur. Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.

[0047] Such as figure 2 As shown, the method of the embodiment of the present invention specifically includes the following steps:

[0048] S201. Monitor the running status, and when it is detected that the flashback event of the application program is triggered, determine whether the flashback eve...

Embodiment 3

[0062] The embodiments corresponding to the anti-flashback method of the application program are described in detail above. In order to make the technical solution of the method more clear to those skilled in the art, specific application scenarios are given below.

[0063] image 3 A flow chart of an anti-flashback method in an application scenario provided by an embodiment of the present invention; image 3 As shown, after the APP triggers a flash event, you can use the class name key corresponding to the flashback event to read the value in the pre-stored protection type cache table to reflect whether the flashback event is a flashback event that needs to be protected, and determine the trigger Whether the flashback event exists in the protection cache table, if it exists, it is a hit. If not present, it is a miss.

[0064] When the crash event in the protection type cache table is hit, it is determined whether the crash event needs to be protected according to the value ...

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 embodiment of the invention discloses an application program flash quit prevention method and device, electronic equipment and a storage medium. The method comprises the steps of monitoring a running condition, and when it is monitored that a flash quit event of an application program is triggered, determining target flash quit data causing the occurrence of the flash quit event based on the triggered flash quit event; determining target bottom data corresponding to the target flash quit data in at least one piece of pre-stored alternative bottom data; and replacing target flash-back data causing the occurrence of the flash-back event with the target bottom data to keep the application in a normal running state. According to the method provided by the embodiment of the invention, the flash quit event can be prevented when the flash quit event is just triggered, so that the flash quit rate of a production environment is reduced; moreover, the method of the invention does not need later maintenance, reduces the maintenance cost, is suitable for the flash-back problem caused by different use environments, and is high in universality.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular, to an anti-flashback method, device, electronic equipment, and storage medium. Background technique [0002] The crash rate is a very important item in the quality index and user experience of an App (application). How to effectively reduce the crash rate of an App is an important part of improving App performance. At present, methods such as code review or code scanning are usually used to improve code robustness, or to reduce the crash rate of App in the production environment by improving the coverage of test cases. [0003] However, improving code robustness through code review or code scanning is still more dependent on manpower and is not suitable for apps with a faster iterative pace. As the business continues to iterate in this way of improving the test case coverage, the maintenance cost will become higher and higher. The above two methods cannot avoid pro...

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/30G06F11/07
CPCG06F11/302G06F11/3051G06F11/3055G06F11/0793
Inventor 张明玮周飞谢传纪
Owner 挂号网(杭州)科技有限公司
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