Log acquisition method and device, terminal and storage medium

An acquisition method and log technology, applied in the computer field, can solve the problems of low log efficiency, much information obtained, and long time consumption.

Pending Publication Date: 2019-09-20
PING AN TECH (SHENZHEN) CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when collecting logs in the prior art, the server usually obtains all logs of the application regularly. If the frequency of obtaining logs is high, too many network resources will be consumed, and useful information may not be obtained; if If the frequency of obtaining logs is low, the time to obtain each time is too long, and the obtained information requires a large amount of data processing, and it takes a long time to obtain meaningful information, which makes the acquisition of logs in the prior art less efficient

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 acquisition method and device, terminal and storage medium
  • Log acquisition method and device, terminal and storage medium
  • Log acquisition method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0056] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0057] like figure 1 as shown, figure 1 It is a flow chart of a log acquisition method provided by an embodiment of the present invention. According to different requirements, the order of the steps in the flowc...

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 provides a log acquisition method, which comprises the following steps: when an instruction of acquiring a log is received, acquiring a target log of a target application from a terminal; counting the occurrence frequency of each piece of log information in a plurality of pieces of log information contained in the target log; determining the log information of which the occurrence frequency is greater than or equal to a first preset frequency as the log information of the first uploading priority, and determining the log information of which the occurrence frequency is less than the first preset frequency and greater than or equal to a second preset frequency as the log information of the second uploading priority; uploading the log information of the first uploading priority, and deleting the log information which is the same as the log information of the first uploading priority in the terminal; judging whether the terminal is in a preset running state or not; and if yes, uploading the log information of the second uploading priority, and if not, storing the log information of the second uploading priority in the terminal. The invention also discloses a log acquisition device, a terminal and a computer readable storage medium. The log obtaining efficiency can be improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a log acquisition method, device, terminal and computer-readable storage medium. Background technique [0002] With the development of technology, there are more and more types of application software. When the application software is running, it will output logs. Through the logs, various running conditions of the application software can be obtained, which is conducive to optimizing the application. However, when collecting logs in the prior art, the server usually obtains all logs of the application regularly. If the frequency of obtaining logs is high, too many network resources will be consumed, and useful information may not be obtained; if If the frequency of obtaining logs is low, the time to obtain each time is too long, and the obtained information requires a large amount of data processing, and it takes a long time to obtain meaningful information, which make...

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/24H04L29/08G06F11/30
CPCH04L41/069G06F11/302G06F11/3051G06F11/3089H04L67/61
Inventor 邹昆伦
Owner PING AN TECH (SHENZHEN) 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