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

Method and system used for processing log

A technology for processing systems and logs, applied in the field of computer science, can solve problems such as inability to identify clients, inability to quickly identify microservice log information, inability to reproduce, etc.

Inactive Publication Date: 2017-06-13
TAIKANG LIFE INSURANCE CO LTD
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that there are at least the following technical problems in the prior art: in the prior art, it is impossible to identify which logs are generated by a certain server request of the client, and it is impossible to reproduce the process of a service call , which microservices have passed, and which log information has been generated
When an error occurs in a service call, it is impossible to quickly identify the microservice where the fault point is located and the detailed log information

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 system used for processing log
  • Method and system used for processing log
  • Method and system used for processing log

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus their repeated descriptions will be omitted.

[0050] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced without one or more of 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 discloses a method and a system used for processing a log. The method comprises the steps of receiving requests from clients; adding a tracing identifier to each request; and processing the requests by utilizing at least a micro-service, wherein the at least one micro-service generates log information, and the log information comprises the tracing identifiers. In the embodiment, by adding the tracing identifiers to the requests, the log information of each request in different micro-services can be identified rapidly by utilizing the tracing identifiers, reoccurrence of the micro-services called by each request is accordingly carried out, the micro-services which the requests pass through can be positioned rapidly, and fault reason is further positioned conveniently.

Description

technical field [0001] The present invention relates to the technical field of computer science, in particular to a method and system for log processing. Background technique [0002] With the development of the Internet, the amount of information interaction between various business systems is increasing. In order to ensure high availability and high performance, microservice clusters based on microservice architecture design have emerged. In this microservice cluster, a client request may call multiple microservices to finally realize the business. [0003] Since each microservice will record the path and carried information of the request it receives in its own log, in order to know how the request is processed inside the microservice cluster during request processing, it is necessary to The microservice logs running in the microservice are collected. [0004] In the process of realizing the present invention, the inventor found that there are at least the following tec...

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): H04L29/08H04L12/24G06F17/30
CPCH04L41/0631H04L41/0677H04L41/069G06F16/1815H04L67/60
Inventor 武军辉
Owner TAIKANG LIFE INSURANCE 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