Method for quickly positioning service fault based on log

A technology for locating services and logs, applied in digital transmission systems, electrical components, transmission systems, etc., to achieve the effect of optimizing business performance

Inactive Publication Date: 2016-05-11
SHANGHAI SNC NET INFORMATION TECH CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to provide a method for quickly locating business faults based on logs, which can conveniently and accurately associate each log, realize correlation analysis of massive log information of multiple modules and systems, and quickly and accurately locate business faults. Faults, solve the problems of difficult log information matching and inability to correlate analysis in existing technical solutions

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
  • Method for quickly positioning service fault based on log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0015] figure 1 It is a schematic flow chart of quickly locating service faults based on logs in the present invention.

[0016] See figure 1 , the method for quickly locating business faults based on logs provided by the present invention includes the following steps:

[0017] Step S1: Add a tracking ID to the first business request of the customer in the front-end operation; the tracking ID includes the customer ID, request time and business type, which can be specifically composed of request time, customer ID, business type and number of requests; specific tracking The ID is separated by spaces and consists of time, customer ID, business type, and number of requests. The specific examples are as follows:

[0018] [2015-03-12 14:29:32][TraceID][201503121429323215207703742631][INFO][Interface][describeInstances][Response result] ;

[0019] Step ...

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 method for quickly positioning a service fault based on a log. The method comprises the following steps: a) adding a tracking ID in a first service request operated by a customer at a front end; b) when a network device, a server and an application program receives the service request having the tracking ID, adding the tracking ID in a generated new request or reply after processing, and recording the tracking ID in the log; and c) searching the log having the tracking ID to position the service fault. According to the method disclosed by the invention, the tracking ID is set to serially connect necessary service logs in the modules to realize association analysis of massive log information of multiple modules and multiple systems, quickly and accurately position the service fault and solve the problems that the existing log information is difficult to be matched and that the association analysis cannot be carried out; and in addition, the specific tracking ID is set and the customer ID, the request time and the service type therein are utilized, so that the counted information can be used for quickly positioning the fault and optimizing the service performance.

Description

technical field [0001] The invention relates to a method for locating service faults, in particular to a method for quickly locating service faults based on logs. Background technique [0002] Network devices, systems and service programs, etc., will generate a time record called log during operation; each line of log records the description of related operations such as date, time, user and action. When locating faults, it is necessary to check the logs of processing business requests. In a certain scale of architecture, the amount of logs generated by equipment, systems, and applications every day is calculated in units of 100 million. Faced with such a huge amount of information, in troubleshooting, bottleneck analysis, Security audits are time-consuming and labor-intensive. [0003] Since the logs are distributed in different applications and storage paths of the system, no effective collection has been formed. At the same time, specific screening is required for the t...

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): H04L12/24
CPCH04L41/0677H04L41/069
Inventor 程永新胡永叶焕荣
Owner SHANGHAI SNC NET INFORMATION 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