Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Abnormal object detection method, device and equipment and storage medium

A technology of object detection and abnormality, applied in the computer field, to achieve the effect of preventing null pointer problems and avoiding null pointer problems

Pending Publication Date: 2020-12-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to effectively identify which member variables need to perform null pointer judgment operations before use, and prevent the null pointer problem caused by improper use of member variables, this application proposes an abnormal object detection method, device, equipment and storage medium

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
  • Abnormal object detection method, device and equipment and storage medium
  • Abnormal object detection method, device and equipment and storage medium
  • Abnormal object detection method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

[0029] It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that data so used may be interchanged under app...

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 abnormal object detection method and device, equipment and a storage medium. The method comprises steps of obtaining a target object set which comprises at least one member variable; performing lexical analysis and syntax analysis on the target object set to obtain syntax tree structure data corresponding to the target object set; traversing the syntax tree structure datato obtain attribute information of each member variable; based on the attribute information of each member variable, obtaining the calling frequency of the member variable and the null judgment frequency of null pointer judgment operation before calling; and determining an abnormal object detection result in the target object set based on the obtained calling frequency and null judgment frequencyof each member variable. According to the method and the device, which member variables need to be subjected to null pointer judgment operation before use can be effectively identified according to the use conditions of the member variables, and a null pointer problem caused by improper use of the member variables is prevented.

Description

technical field [0001] The present application belongs to the field of computer technology, and in particular relates to an abnormal object detection method, apparatus, device and storage medium. Background technique [0002] Object-oriented programming is the most popular software development method at present. In the process of writing code files, it is often forgotten to perform null pointer determination operation before using member variables, which leads to a crash due to null pointer exceptions during program operation. The line of code that uses the null pointer variable during the crash of the null pointer exception is called the null pointer crash code. Since the null pointer crash code has the risk of causing the program to crash, in order to avoid this risk, it is usually necessary to perform null protection. The pointer variable is not used, if it is not equal to null, the pointer variable can be used. [0003] In the prior art, the detection of a null pointer...

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/3608Y02D10/00
Inventor 陈洋
Owner TENCENT TECH (SHENZHEN) 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
Eureka Blog
Learn More
PatSnap group products