Micro-service fault prediction method and device

A fault prediction and microservice technology, applied in the field of microservice processing, can solve problems such as inability to predict microservice faults, and achieve the effect of reducing fault losses

Active Publication Date: 2020-09-01
ELECTRIC POWER RESEARCH INSTITUTE, CHINA SOUTHERN POWER GRID CO LTD +1
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a microservice fault prediction method and device, which are used to solve the problem that the prior art cannot perform fault prediction on microservices based on logs

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
  • Micro-service fault prediction method and device
  • Micro-service fault prediction method and device
  • Micro-service fault prediction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The embodiment of the present invention provides a microservice failure prediction method, which is used to solve the technical problem that the prior art cannot perform failure prediction on the microservice based on logs.

[0061] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0062] See figure 1 , figure 1 It is a flow chart of the steps of a microservice failu...

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 micro-service fault prediction method and a micro-service fault prediction device, which are used for solving the problem that in the prior art, fault prediction cannot be performed on micro-services based on logs. The method comprises the steps of obtaining historical log data of the micro-service; extracting feature data from the historical log data, wherein the featuredata comprise a plurality of feature items; calculating the information gain values of the feature items; taking the feature items of which the information gain values are greater than a preset threshold value as target feature items; training a fault prediction model by adopting the target feature items; and acquiring current log data, and inputting the current log data into the fault predictionmodel to generate a fault prediction result. The method comprises the steps of extracting feature data from historical log data, extracting the target feature items of which the information gain values are greater than the preset threshold value from the feature data to serve as sample data, and constructing the fault prediction model, thereby realizing prediction of a fault condition of the micro-service in a future period of time through the fault prediction model, and taking measures in time for a prediction result to reduce fault loss.

Description

Technical field [0001] The present invention relates to the technical field of microservice processing, in particular to a method and device for predicting microservice failure. Background technique [0002] Microservice failure prediction is to analyze the current status of the grid metering system based on the microservice architecture to determine whether the system will fail in a period of time in the future, and effectively prevent the impact of system failure. According to the changes in the analysis object, fault prediction is mainly divided into two categories in practical applications: prediction based on the historical fault data of the grid metering system and prediction based on the current grid metering system operating parameters. [0003] By analyzing the failure prediction research of microservice systems, we can know that most of the existing failure prediction methods for microservice systems do not make full use of the information contained in the log data in 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 Applications(China)
IPC IPC(8): G06F11/34G06K9/62
CPCG06F11/3447G06F11/3457G06F18/24G06F18/214
Inventor 肖勇曾勇刚杨劲锋周密
Owner ELECTRIC POWER RESEARCH INSTITUTE, CHINA SOUTHERN POWER GRID 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