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

Interface stuck processing method and device

A processing method and interface technology, applied in the software field, can solve problems such as difficulty in troubleshooting, difficult for software testers to reproduce and retain the site, repair of unfavorable program problems, etc., to achieve the goal of monitoring program quality and repairing problems. Effect

Active Publication Date: 2018-09-11
广州方硅信息技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After the freeze phenomenon occurs, it is usually difficult for software testers to reproduce and retain the site, and it is very difficult to troubleshoot problems, which is not conducive to program quality monitoring and problem repair, and because the program sacrifices part of the performance to detect whether the interface is stuck, wasted resources

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
  • Interface stuck processing method and device
  • Interface stuck processing method and device
  • Interface stuck processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0042] Before explaining the embodiment of the present invention in detail, some terms used in the subsequent process are firstly explained.

[0043] The singleton pattern is a commonly used software design pattern. In its core structure contains only one special class called singleton class. The singleton mode can ensure that there is only one instance of a class in the system and that the instance is easy to access from the outside world, so as to facilitate the control of the number of instances and save system resources. If you want only one object of a certain class to exist in the system, the singleton mode is the best solution.

[0044] Observer pattern, also known as publish-subscribe pattern, model-view pattern, source-liste...

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 and device for dealing with interface freeze, belonging to the technical field of software. The method includes: periodically sending a heartbeat signal to the first object; detecting whether a heartbeat response signal of the first object is received within a preset time; when the first object is not received within the preset time When the heartbeat of the object responds to the signal, it is determined that the interface corresponding to the currently running application to which the first object belongs is stuck, the running stack of the currently running application is obtained, and the running stack is uploaded to the server. The present invention utilizes the heartbeat mechanism to promptly and quickly detect whether the interface is stuck without consuming a large amount of resources, and because the running stack of the currently running application is reserved, after uploading the running stack to the server, software testers can use the running stack to Reproduce and retain the site, which is conducive to the monitoring of program quality and the repair of problems.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a method and device for detecting interface freeze. Background technique [0002] Stuck phenomenon generally occurs in electronic devices such as mobile phones and laptops. Said "card". [0003] In the prior art, software testers usually embed codes for monitoring stuck phenomena in programs. Use the above code to detect whether the interface is stuck. After the freeze phenomenon occurs, it is usually difficult for software testers to reproduce and retain the site, and it is very difficult to troubleshoot problems, which is not conducive to program quality monitoring and problem repair, and because the program sacrifices part of the performance to detect whether the interface is stuck, Waste of resources. Contents of the invention [0004] In order to solve the problems in the prior art, embodiments of the present invention provide a method and device for handling interfac...

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 Patents(China)
IPC IPC(8): G06F11/34
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