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

Method and device for obtaining log data package and computer-readable storage medium

An acquisition method and data packet technology, applied in the field of data processing, can solve the problems of low log analysis efficiency, inaccurate log data packets, etc.

Active Publication Date: 2021-11-09
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, embodiments of the present application provide a method and device for obtaining log data packets and a computer-readable storage medium to solve the problem of low log analysis efficiency caused by inaccurate log data packets obtained by the server in the prior art

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 device for obtaining log data package and computer-readable storage medium
  • Method and device for obtaining log data package and computer-readable storage medium
  • Method and device for obtaining log data package and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0032] The present application will be described in detail below in conjunction with specific embodiments.

[0033] refer to figure 1 , showing a flow chart of the steps of an embodiment of a method for obtaining a log data packet of the present application, which is applied to a process in which a log collection terminal sends at least one log data packet to a server, and the method is executed in the server, specifically May include the following steps:

[0034] Step 101, acquiring the total number of data packets of the first log data packets sent by the log collection terminal.

[0035] In this embodiment of the present application, the log data packet may be a data packet of an offline log. Where...

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 embodiment of the present application provides a log data packet acquisition method, device and computer-readable storage medium, which are applied in the process of sending at least one log data packet from a log collection terminal to a server, the method is executed in the server, The method includes: obtaining the total number of data packets of the first log data packets sent by the log collection terminal; obtaining the first log completion rate according to the total number of data packets and the preset total number of packets sent by the log collection terminal ; According to the completion rate of the first log, obtain the first log acquisition duration; continue to wait to receive the second log data packet within the first log acquisition duration, and receive the first log acquisition duration within the first log acquisition duration In the case of two log data packets, a final log data packet is obtained according to the first log data packet and the second log data packet.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a method and device for obtaining log data packets and a computer-readable storage medium. Background technique [0002] With the rapid development of video services, a large number of logs (such as whether the user clicks to watch the video advertisement, or the viewing time of the user watching the video advertisement, etc.) are generated. In this way, the server needs to perform log processing on the generated large amount of logs. Among them, consider The logs may be of different types, so the log collection terminal needs to collect the logs first, then convert the format of the collected logs and pack them into log data packets, and finally send the log data packets to the server so that the server can collect the logs according to the received log data. package for log analysis. [0003] Because the log collection terminal may fail, or the network connec...

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): G06F16/958G06Q30/02G06F16/182
CPCG06Q30/0242G06Q30/0277G06F16/182G06F16/958
Inventor 余双
Owner BEIJING QIYI CENTURY SCI & TECH 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