A log collection method and system

A collection method and collection system technology, applied in the field of log processing, can solve problems such as manual intervention and inconvenient collection of log files, and achieve flexible and convenient collection

Active Publication Date: 2019-01-11
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a log collection method and system for the technical problems that the existing technology is inconvenient to collect log files and requires manual intervention.

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
  • A log collection method and system
  • A log collection method and system
  • A log collection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0021] Such as figure 1 Shown is a work flow diagram of a log collection method of the present invention, including:

[0022] Step S101, comprising: obtaining log files stored by the application according to preset directory rules, the directory rules determine the storage directory of the log files according to the application parameters of the application and the receiver identifier;

[0023] Step S102, comprising: interpreting the log file according to the directory rules to determine the application parameters and receiver identifier of the log file;

[0024] Step S103, including: searching for the receiver address associated with the receiver ID registered by the receiver when the receiver is started according to the receiver ID;

[0025] Step S104, comprising: sending the log file to the receiver address.

[0026] In step S10...

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 log acquisition method and system. The method comprises the steps that: log files of applications saved according to the preset directory rules are acquired, and the save contents of the log files are confirmed by the directory rules according to the application parameters and receiver identification of the applications; the log files are interpreted according to the directory rules and the application parameters and the receiver identification of the log files are confirmed; the registered receiver address associated with the receiver identification in starting of the receiver is searched according to the receiver identification; and the log files are transmitted to the receiver address. The log files are saved according to the preset rules, and the corresponding application parameters and the receiver identification can be interpreted according to the directory rules when the log files are acquired so that accurate acquisition, forwarding and receiving can be performed. Artificial intervention is not required in the whole process, and acquisition of the log files is flexible and convenient.

Description

technical field [0001] The present invention relates to the technical field related to log processing, in particular to a log collection method and system. Background technique [0002] The existing method for collecting log files mainly uses the application to save the generated log files in a preset path, and then the data receiving end obtains them from the path by itself. A general log collection system will provide various optional data types and transmission paths through the web interface. Users can select the specified data type and reach the specified data receiving end through the specified transmission path according to their needs. After all configurations are completed, the data can pass through The specified path is transmitted to the specified data receiver. [0003] However, the existing technical solutions need to manually configure the data transmission path and data receiving terminal. If a new type of data transmission is added, manual intervention is re...

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 Patents(China)
IPC IPC(8): H04L12/24G06F16/10
Inventor 不公告发明人
Owner BEIJING JINGDONG SHANGKE 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