A real-time online log detection method and system

A detection method and log technology, which is applied in the computer field, can solve problems such as test log anomalies, and achieve the effect of real-time detection of anomalies

Active Publication Date: 2016-08-17
INST OF INFORMATION ENG CHINESE ACAD OF SCI
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The greater the relative entropy, the greater the difference between the test log and the training log, but the test log is likely to be abnormal

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
  • A real-time online log detection method and system
  • A real-time online log detection method and system
  • A real-time online log detection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0089] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0090] Such as figure 1 and 2 As shown, it is a kind of real-time online log detection method described in Embodiment 1 of the present invention, which specifically includes the following steps:

[0091] Step 1: Convert the entire training log into a sequence of discrete events;

[0092] Step 2: Build a detection model using the discrete event sequence transformed from the training log;

[0093] Step 3: Segment the log to be tested to generate at least one log segment, and assign a log segment sequence to each log segment;

[0094] Step 4: Select a log segment according to the order of the log segment sequence, and use the abnormal scoring formula to score the abnormality degree of the log segment to obtain the ...

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 relates to a real-time online log detection method. The real-time online log detection method comprises the steps of 1 converting a whole training log into a discrete event sequence, 2 building a detection model, 3 conducting subsection on a log to be detected to generate at least one log section and allocating a log section sequence for each log section, 4 conducting abnormal degree grading on one log section to obtain a relative entropy, 5 judging whether the relative entropy is a positive value or not, considering the current log section to be abnormal if the relative entropy is the positive value, and executing the step 7; otherwise, considering the current log section to be normal, 6 judging whether the relative entropy is larger than a threshold value or not, and considering the current log section to be abnormal if the relative entropy is larger than the threshold value; otherwise, executing the step 8, 7 sending an abnormal alarm to a user and enabling a program to be detected to return to the state before the log section is detected, and 8 judging whether a log section which is not graded exists in an abnormal log or not, and executing the step 4 if the log section which is not graded exists in the abnormal log; otherwise, finishing the detection. By means of the real-time online log detection method, abnormal states can be detected in real time, complicated parameters are not required to be set, and the real-time online log detection method is simple and effective.

Description

technical field [0001] The invention relates to a real-time online log detection method and system, belonging to the field of computers. Background technique [0002] With the continuous development of the Internet, various network applications play an increasingly important role in people's production and life. But at the same time, attacks against network applications continue to emerge, such as various viruses, worms, etc. 1 . On the other hand, with the increasing scale of network applications and the development of commercial hardware as a service, the execution path of network applications is unpredictable, and the hardware environment is no longer reliable, so it is difficult to find all possible errors before deployment. Once the attack on the network application is successful or the network application itself is abnormal, it will bring immeasurable losses to the owners and users of the network application. [0003] The earlier attacks and bugs are discovered, the ...

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): G06F21/50G06F11/34
CPCG06F21/552G06F21/554G06F21/577G06F2221/033G06F2221/034
Inventor 周薇高赟戴娇韩冀中
Owner INST OF INFORMATION ENG CHINESE ACAD OF SCI
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