Method and device for collecting log data

A technology for collecting devices and data, which is applied in the field of Internet technology applications, can solve problems such as high bandwidth pressure and high system resource occupancy rate, and achieve the effect of reducing bandwidth pressure and increasing system resource occupancy rate

Active Publication Date: 2021-11-05
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a log data collection method and device, to at least solve the problem of high bandwidth pressure and high system resource occupancy rate caused by always sending the user's behavior data to the log collection server in real time in the related art question

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 collecting log data
  • Method and device for collecting log data
  • Method and device for collecting log data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] According to an embodiment of the present invention, an embodiment of a method for collecting log data is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0026] figure 1 is a schematic flow chart of a method for collecting log data according to an embodiment of the present invention, such as figure 1 As shown, on the log server side, the method includes the following steps:

[0027] Step S102, receiving multimedia start information sent by the terminal;

[0028] Wherein, in the method for collecting log data provided in this embodiment, the terminal may be a browser or an application program APP (Application). In this embodiment, the terminal is taken as an ...

Embodiment 2

[0043] According to another aspect of the embodiments of the present invention, a log data collection device is also provided, image 3 is a schematic structural diagram of a log data collection device according to an embodiment of the present invention, such as image 3 As shown, on the log server side, including:

[0044] The receiving module 32 is used to receive the multimedia opening information sent by the terminal; the first data generation module 34 is used to trigger the simulated user behavior operation according to the multimedia opening information, and generate the first simulated log data according to the simulated user behavior operation. Generate the second simulated log data in the time range; Wherein, the first simulated log data is used to indicate that the multimedia file starts to play; the second simulated log data is used to indicate that the multimedia file is playing; the second data generation module 36 is used to It is assumed that when the closing ...

Embodiment 3

[0050] According to yet another aspect of the embodiments of the present invention, a storage medium is provided, and the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for collecting log data in the first embodiment above.

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 collection method and device. Wherein, the method includes: receiving multimedia opening information sent by the terminal; triggering a simulated user behavior operation according to the multimedia opening information, generating first simulated log data according to the simulated user behavior operation, and generating second simulated log data within a preset time range ; Wherein, the first simulation log data is used to indicate that the multimedia file starts to play; the second simulation log data is used to indicate that the multimedia file is playing; when the closing information is not received beyond the preset time range, the third simulation log data is generated, wherein , the third simulation log data, used to indicate the end of playing the multimedia file. The invention solves the technical problems of high bandwidth pressure and high system resource occupancy rate caused by always sending the user's behavior data to the log collection server in real time in the related art.

Description

technical field [0001] The present invention relates to the field of Internet technology applications, in particular to a method and device for collecting log data. Background technique [0002] Data collection is the most important link in the current analysis system. Generally, the collected data is sent to the log collection server through the deployed website, and then the data on the server is collected through the log for analysis. However, For some users who have not moved on a website for a long time, it becomes more troublesome to collect data. Because in this case, if a user is watching a video or doing other operations, the user will not be on the website during this period of time. Make some operations on the Internet, so the user should watch the video continuously, then the user's action is to watch the video continuously. [0003] The implementation scheme of the related technology is to continuously send the user's behavior to the log collection server in 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/24H04N21/442
CPCH04L41/069H04N21/44204
Inventor 王昌坤
Owner BEIJING GRIDSUM 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