Module and related electronic equipment for improving the fault tolerance rate of pop-out

A fault-tolerant and pop-up technology, applied in the computer field, can solve problems such as display function exceptions, pages that cannot be released, and null pointer exceptions that come with the system, and achieve the effects of avoiding system crashes, improving user experience, and strengthening capture

Inactive Publication Date: 2018-09-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In some extreme cases, the traditional reference relationship and pop-up frame relationship may cause some abnormal problems. For example, when the activity has been destroyed by the system for some reason, but the system dispatches to the element of the pop-up dialog box at this time, At this time, since the activity is actually empty, this will cause the popup to fail, causing a null pointer exception.
In addition, there is a situation that when the dialog box pops up, but the dialog box has not been destroyed, because the dialog box holds a reference to the activity, the page cannot be released, resulting in a memory leak.
[0004] Moreover, the real underlying implementation of the bullet box logic is realized at the system level, but due to the diversity of Android system versions and the uncertainty of platform devices (each manufacturer will tailor and modify its own system), it may cause system There is an exception in the built-in display function

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
  • Module and related electronic equipment for improving the fault tolerance rate of pop-out

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Apparently, the described embodiment is one embodiment of the present invention, but not all of them. Based on the described embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0028] Unless otherwise defined, the technical terms or scientific terms used in the present invention shall have the usual meanings understood by those skilled in the art to which the present invention belongs.

[0029] According to one aspect of the present invention, the embodiment of the present invention provides a module 100 for improving the fault tolerance rate of...

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 a module for improving the fault tolerance rate of a pop-out. The module comprises a first fault-tolerant processing unit used for processing abnormal events in a pop-out calling component. The first fault-tolerant processing unit can be used for executing the following steps: judging whether the pop-out calling component is empty; judging whether the pop-out calling component is in the destroying stage and judging whether the pop-out calling component is already destroyed or not. The module may also include a feedback unit for feeding back an abnormal event and a secondfault-tolerant processing unit for processing an abnormal event of the pop-out logic and/or a third fault-tolerant processing unit for processing a memory leak event of the pop-out. The abnormal event processed by the three fault-tolerant processing units provided by the module is incremental step-by-step, so that abnormal event processing at the application layer, the system level and the spatial memory layer is realized, and the fault-tolerant capability of the pop-out is greatly enhanced. The invention also relates to an electronic device comprising the above module.

Description

technical field [0001] The invention relates to the field of computers, in particular to a module and related electronic equipment for improving the error tolerance rate of pop-up frames. Background technique [0002] In the Android development process, the development business logic of the dialog box is often used, and the dialog box is usually a page suspended at the top level. The initialization of the dialog box in traditional development needs to rely on an activity object, where the activity object is the page where the dialog box pops up. [0003] In some extreme cases, the traditional reference relationship and pop-up frame relationship may cause some abnormal problems. For example, when the activity has been destroyed by the system for some reason, but the system dispatches to the element of the pop-up dialog box at this time, At this time, since the activity is actually empty, this will cause the popup to fail, causing a null pointer exception. In addition, there...

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): G06F9/451G06F11/07
CPCG06F11/0703G06F9/451
Inventor 张磊陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products