Log data packet obtaining method and device and computer readable storage medium

An acquisition method and data packet technology, which is applied in the field of data processing, can solve problems such as inaccurate log data packets and low log analysis efficiency, and achieve the effect of avoiding low accuracy

Active Publication Date: 2019-10-01
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF9 Cites 3 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
  • Log data packet obtaining method and device and computer readable storage medium
  • Log data packet obtaining method and device and computer readable storage medium
  • Log data packet obtaining method and device 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 invention provides a log data packet obtaining method and device and a computer readable storage medium. The method is applied to the process that a log collection terminal sendsat least one log data packet to a server. The method is executed in the server, and the method comprises: obtaining the total number of data packets of a first log data packet sent by the log collection terminal; obtaining a first log completion rate according to the total number of the data packets and a preset total number of sent packets of the log acquisition terminal; obtaining a first log obtaining duration according to the first log completion rate; and continuing to wait for receiving a second log data packet within the first log acquisition duration, and under the condition that thesecond log data packet is received within the first log acquisition duration, obtaining a final log data packet 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 Applications(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products