Method and a device for tracing the whole link of a distributed system log

A distributed system, full-link technology, applied in the field of distributed system log full-link tracking methods and devices, can solve problems such as multiple manpower and material resources, affecting system performance systems, and inability to quickly and easily obtain processing and transfer data. , to achieve the effect of simple application, simple operation and saving log query time

Active Publication Date: 2019-02-19
挖财网络技术有限公司
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] After the above analysis, the log management system can realize the query and recording of different service logs, but it cannot quickly and conveniently obtain the data processed and transferred in various systems
[0007] Buried in the code, creating a unique i...

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 and a device for tracing the whole link of a distributed system log
  • Method and a device for tracing the whole link of a distributed system log
  • Method and a device for tracing the whole link of a distributed system log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The preferred embodiments of this patent will be described in further detail below in conjunction with the accompanying drawings.

[0051] Such as figure 1 Shown is an implementation of a distributed system log full link tracking method, the method includes:

[0052] S1, create a configuration file to configure the system, and execute according to the following process:

[0053] Configure the cluster server;

[0054] Configure cluster dependencies;

[0055] Configure data logical relationships.

[0056] Wherein, configuring the cluster server includes defining a unique identifier of each group of cluster servers; adding or subtracting servers under each group of cluster servers.

[0057]For example, use xml to generate a cluster server configuration file. The extension of the cluster server configuration file is .clusters. The xml nodes of the cluster server configuration file are as follows: the parent node is clusters, and the child node clusterer contains id and ...

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 method and a device for tracing the whole link of a distributed system log. The method comprises the following steps: S1, creating a configuration file configuration system,and executing according to the following flow: configuring a cluster server; Configuring cluster dependencies; Configuring data logic relationships; 2, read and parsing that configuration file by anapplication program to obtain the key information; S3, acquiring the life course of the system data according to the key information. The apparatus includes a system configuration unit, an informationacquisition unit, and a cluster traversal unit. Abstracts full-link tracing of data logs into three configuration files, These configuration files can be read and parsed by the corresponding application program to obtain the server information corresponding to each cluster, System upstream and downstream sequence and the logical relationship between the system data these key information can be achieved in no code burial point one-click access to a system data life cycle and positioning online or testing process encountered problems.

Description

technical field [0001] The present invention relates to the field of log tracking systems, in particular to a distributed system log full-link tracking method and device. Background technique [0002] Today's Internet companies have a large number of distributed servers. After each request is routed, it will pass through multiple business systems and leave footprints, and generate many DB accesses. However, these scattered data are located in different servers and developed by different developers. Group management is of limited help for troubleshooting or process optimization. Once a problem occurs online, all the development teams involved will join the troubleshooting queue, wasting precious development resources. If there is a system that can accurately locate the time and location of the problem, it will greatly improve the efficiency of problem solving and shorten the impact time of online problems. Tracking the complete calling link of each request, collecting the b...

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
IPC IPC(8): G06F16/17G06F16/2458
Inventor 丁海苗郭雅雯
Owner 挖财网络技术有限公司
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