Unlock instant, AI-driven research and patent intelligence for your innovation.

Log data transmission method, device and equipment

A data transmission method and log technology, applied in the field of data processing, can solve problems such as poor real-time reporting effect and error of log data, and achieve the effects of improving efficiency, improving accuracy, and avoiding sending errors

Active Publication Date: 2020-07-03
SF TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above method leads to a certain delay in log collection and reporting, resulting in poor real-time reporting effect
[0004] At the same time, after the log data is collected and reported to the message queue, only relying on the feedback mechanism of the message queue itself, resulting in errors in the reported log data

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
  • Log data transmission method, device and equipment
  • Log data transmission method, device and equipment
  • Log data transmission method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0032] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0033] Please refer to figure 1 , figure 1 A schematic flowchart of the log data transmission method provided by the embodiment of the present application is shown. The method can be executed on a terminal device.

[0034] Such as figure 1 As shown, the method includes:

[0035] Step 110, mon...

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 data processing method, device and equipment. The method comprises the following steps: monitoring log data generated by an application program; sending the log data to afirst theme area of a Kafka message queue in real time; when log data pushing is abnormal, retrying to send the log data, and if retrying succeeds, stopping sending the log data to the Kafka messagequeue; if the retry is not successful, further determining whether the sending frequency of the log data reaches a threshold value or not; if the log data reaches the threshold value, sending the logdata to a second theme area; and if the log data does not reach the threshold value, retrying to send the log data to the first theme area, and carrying out counting statistics to count the sending times of the log data. According to the embodiment of the invention, when the log data of the application program is sent abnormally, the sending error of the log data is avoided by determining the resending result of the log data, and the accuracy of log data transmission is effectively improved.

Description

technical field [0001] The present application generally relates to the technical field of data processing, and in particular relates to log data processing methods, devices and equipment. Background technique [0002] With the development of e-commerce technology, the pressure on the back-end server of the network is also increasing. At the same time, the "data" that needs to be processed is also increasing geometrically. Real-time and accurate collection, transmission, and calculation of massive logs have become an e-commerce urgent demands. [0003] Tools for collecting logs in the prior art, such as Flume, Scribe, Chukwa, ELK, etc., follow the traditional log reporting method, that is, the log data is first recorded to the file system, and the log changes are reported through the collection agent, which may be incremental or Collect log data in full and send it to the message queue. The above method leads to a certain delay in log collection and reporting, resulting in...

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/24H04L12/26
CPCH04L41/069H04L43/08
Inventor 陈东沂姚小龙郭林东
Owner SF TECH