Tracking information acquisition method and device

A technology for tracking information and acquisition methods, applied in the field of tracking information acquisition methods and devices, capable of solving problems such as failure to acquire tracking information, failure to obtain computing node path information, and inability to obtain tracking information

Active Publication Date: 2018-01-16
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing technology mainly uses Thread Local Storage to store and transmit tracking information, however, different Thread Local Storage is bound to different processing threads, each processing A thread can only obtain computing node path information from the corresponding Thread Local Storage, but cannot obtain computing node path information from the ThreadLocal Storage corresponding to other processing threads
When a service needs to be processed by multiple threads, since the compu

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
  • Tracking information acquisition method and device
  • Tracking information acquisition method and device
  • Tracking information acquisition method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0063] figure 1 A flow chart of a method for obtaining trace information is shown, which can be implemented by a server. The method for obtaining trace information is used to discover problems that occur during service invocation. Refer to figure 1 , the method may include:

[0064] Step S100, constructing an information tracking structure;

[0065] It should be noted that the information tracking structure in this application stores the computing node path ...

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 tracking information acquisition method and device. The method comprises the following steps: constructing an information tracking structure body in which computing node pathinformation is saved; calling multi-thread to acquire the computing node path information; acquiring the tracking information produced on the current computing node, and saving the tracking information in the information tracking structure body; determining the next computing node which is on the same computing node path with the current computing node from the computing node path information; and transferring the information tracking structure body with the saved tracking information to the next computing node from the current computing node. The computing node path information saved in theinformation tracking structure body is acquired by calling multi-thread, when one service needs to adopt multiple threads to process, each thread can acquire the computing node path information in theinformation tracking structure body so as to acquire the computing node processing the service and the processing order of each computing node, thereby acquiring the successful acquisition of the tracking information.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a tracking information acquisition method and device. Background technique [0002] A network information system is usually a complex distributed system composed of many various modules. During the process of service invocation, response logs will be generated on each module in the distributed system. In order to find problems in the process of service invocation, now Some technologies have proposed multiple methods to track and obtain the response logs generated on each module of the distributed system during a complete service call process, and the response logs obtained through tracking are called tracking information. [0003] The existing technology mainly uses Thread Local Storage to store and transmit tracking information. However, different Thread Local Storage is bound to different processing threads, and each processing thread can only obtain computing no...

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): H04L12/24H04L29/08G06F11/30G06F9/46
Inventor 陆小双
Owner BEIJING QIYI CENTURY SCI & 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