Log capacity determination method and device, electronic equipment and storage medium

A determination method and log technology, applied in the computer field, can solve the problems of no user dimension and device dimension, and achieve the effects of improving user experience, reducing occupancy, and improving configuration accuracy

Pending Publication Date: 2022-01-07
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This disclosure provides a log capacity determination method, device, electronic equipment, and storage medium to at least solve the problem that log configuration items in related technologies are static, and there is no consideration of user dimension and device dimension, and it is impossible to log information without losing log information. The problem of reducing the disk usage of user equipment as much as possible

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 capacity determination method and device, electronic equipment and storage medium
  • Log capacity determination method and device, electronic equipment and storage medium
  • Log capacity determination method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0068] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to a log capacity determination method and device, electronic equipment and a storage medium. The method comprises the steps: acquiring historical active data and historical log capacity of a target device in a historical time period, wherein the historical active data represents the activity degree of the target equipment in a historical time period; according to the historical active data and the historical log capacity, determining a predicted log capacity which can be stored by the target device in a predicted time period, wherein the predicted time period is a time period after the historical time period; and based on the predicted log capacity and the residual disk capacity of the target device in the predicted time period, determining a target log capacity which can be stored by the target device in the predicted time period. According to the method, the user dimension and the equipment dimension are comprehensively considered, the configuration precision of the target log capacity is improved, occupation of a user equipment disk is reduced as much as possible on the premise that log information is not lost, and the user experience is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a log capacity determination method, device, electronic equipment and storage medium. Background technique [0002] In related technologies, log configuration items (eg, total disk capacity that logs can occupy, number of log files, capacity of individual log files, etc.) are usually configured through a log framework (eg, CocoaLumberjack). [0003] However, the configuration items obtained through the log configuration through the log framework are static, and the log configuration process does not consider the user dimension and device dimension. In addition, log files are limited by statically configured log configuration items (for example, up to 5 log files can be saved, the size of a single file does not exceed 1M, the total size does not exceed 20M, and the duration of the file does not exceed 24 hours, etc.), making It is impossible to reduce the disk usag...

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): G06F11/30G06F11/34
CPCG06F11/3093G06F11/3096G06F11/302G06F11/3438G06F11/3423G06F11/3452G06F11/3476G06F2201/865
Inventor 郭妙友陈晓锵
Owner BEIJING DAJIA INTERNET INFORMATION 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