Log storage method, device and apparatus and readable storage medium

A log and storage request technology, applied in the computer field, can solve the problems of wasted storage space, easy to fill up storage space, loss of effective log information, etc.

Inactive Publication Date: 2020-05-12
北京浪潮数据技术有限公司
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, the storage space used to store logs is easily filled, and multiple pieces of repeated log information are recorded in it, resulting in a waste of ...

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0050] At present, log waterfalls often occur in the prior art, which can cause problems such as waste of storage space and loss of effective log information. For this reason, this application provides a log storage solution that can prevent log waterfalls and save log storage. Storage space can also avoid the loss of effective log information, ensure the comprehensiveness of system logs, and provide a reliable basis for fault location.

[0051] See figur...

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 storage method, device and apparatus and a readable storage medium. The method disclosed by the invention comprises the steps of obtaining a storage request of target loginformation; extracting identification information of the target log information and a preset time interval from the storage request; calculating the actual time interval between the previous log information corresponding to the identification information and the target log information; judging whether the actual time interval is greater than a preset time interval; if yes, storing the target loginformation; and if not, filtering the target log information. The log waterfall problem can be prevented, the storage space of the storage log is saved, the loss of effective log information can beavoided, the comprehensiveness of the system log is guaranteed, and a reliable basis is provided for fault problem positioning. Correspondingly, the log storage device and equipment and the readable storage medium disclosed by the invention also have the above technical effects.

Description

Technical field [0001] This application relates to the field of computer technology, in particular to a log storage method, device, equipment and readable storage medium. Background technique [0002] In a storage system, the storage space used to store logs is limited. If the storage system has a fault that cannot be repaired in a short period of time, the log system in the storage system may repeatedly record the log information generated during the fault, resulting in a log waterfall problem. As a result, the storage space for storing logs is easily filled up, and multiple duplicate log information is recorded therein, resulting in a waste of storage space. In addition, duplicate log information may overwrite valid log information, which will cause the loss of valid log information, making it difficult to locate faults. [0003] Therefore, how to prevent log waterfalls and prevent effective log information from being overwritten is a problem for those skilled in the art to sol...

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): G06F16/18G06F16/172
CPCG06F16/1815G06F16/172
Inventor 苏永奇
Owner 北京浪潮数据技术有限公司
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