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

Abnormity detecting method and device based on stacks

An anomaly detection and anomaly technology, applied in the computer field, can solve problems such as difficult to locate the wrong position, operation to accident, execution accident, etc., to achieve the effect of improving accuracy, increasing complexity, and reducing the probability of misjudgment

Active Publication Date: 2015-04-22
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since the read is a fixed location, if there is a problem with the stack space, an unexpected value may be manipulated when operating a local variable. If the local variable is a function pointer, it may even cause unexpected code to be executed.
[0007] If there is a problem with the stack space, it will not crash at that time, but it may cause a crash when other business objects manipulate the destroyed local variables, and it is difficult to locate the error location
For example, write data to the address pointed to by a pointer variable, but the variable is destroyed, resulting in an attempt to write data to an unknown area. At this time, it may crash due to writing an unwritable address.

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
  • Abnormity detecting method and device based on stacks
  • Abnormity detecting method and device based on stacks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0076] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a stack-based anomaly detection method embodiment according to an embodiment of the present invention, which may specifically include the following steps:

[0077] Step 101, generating identification information;

[0078] In practical applications, when the first business object calls the second business object, it generally passes one or more par...

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 provides an abnormity detecting method and device based on stacks. The method comprises the steps that identification information is generated; the identification information is pressed into the stacks before a first service object presses one or more parameters into the stacks; when calling of a second service object is finished in the one or more parameters in the stacks, current stack top elements located at the tops of the stacks are extracted; whether the stack top elements are the same as the identification information is detected; when the stack top elements are different from the identification information, it is judged that the stacks are abnormal. Based on the principle of transferring the parameters of the stacks, real-time abnormality detection for calling the second service object is achieved, the speed and the accuracy rate for detecting the abnormality of the stacks are increased, and meanwhile the accuracy of abnormality location is improved; moreover, the collapsed parameters can be visually seen in the stacks so that follow-up developers can carry out collapse analysis, and find out the reason for the stack collapse, and the development efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a stack-based abnormality detection method and a stack-based abnormality detection device. Background technique [0002] Stack (Stack), also known as stack, is a linear table with limited operations, and its limitation is that only insertion and deletion operations are allowed at one end of the table. [0003] People call this end the top of the stack, the first element on the top of the stack is called the top element, and the other end is called the bottom of the stack. Inserting a new element into a stack is also called pushing or pushing, which is to put the element on top of the top element of the stack to make it a new top element of the stack; deleting an element from a stack is also called popping or unstacking , which deletes the top element of the stack and makes the adjacent element below it the new top element of the stack. [0004] The stack stores information su...

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/46G06F9/45
CPCG06F9/46
Inventor 张皓秋
Owner BEIJING QIHOO TECH CO LTD
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