Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Program compressibility log file output method and device

A log file and compressibility technology, which is applied in the computer field, can solve the problems that log files occupy a large storage space, affect program operation efficiency, log file volume is large and the system has a large number of IO resources, etc., to achieve real-time compression, reduce storage space, and improve The effect of operating efficiency

Active Publication Date: 2019-04-12
GUANGZHOU HUADUO NETWORK TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the log file printed and output by the server background program contains a large number of formatted row information with repeated fields, which makes the printing of the log file occupy a large amount of IO resources of the system, which affects the operating efficiency of the program. At the same time, the printed The log files occupy a large amount of storage space. In order to reduce the disk storage space, the log files are usually compressed into binary files on a regular basis, and then restored and decompressed when they need to be queried in the future. Large problems and the problem of a large amount of system IO resources occupied when printing log files

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
  • Program compressibility log file output method and device
  • Program compressibility log file output method and device
  • Program compressibility log file output method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be further described below with reference to the accompanying drawings and exemplary embodiments, wherein the same reference numerals in the accompanying drawings all refer to the same components. Also, detailed descriptions of known arts will be omitted if they are unnecessary to illustrate the features of the present invention.

[0041] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to an...

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 present invention involves the field of computer technology. Specific disclosure of a program compressed log file output method and device, which includes the following steps: obtain several log data generated within a certain time.Date fields and several data items; For each log data, the time difference between the date field of the date field and the start time field defined by the log is used as the compressed date field expression.The specific number assigned by the formatting string is used as a compressed field name expression; the log data that has been compressed within a specific time is output into the log file in this log.By replacing the formatting information of a large amount of repeated fields in the log data, the real -time compression effect of log data is achieved, reducing the IO resources occupied by program output log files, and also saving a lot of storage space occupied by log files.Improve the operating efficiency of the program.

Description

【Technical field】 [0001] The invention relates to the technical field of computers, and specifically discloses a program compression log file output method and device. 【Background technique】 [0002] With the development of the Internet, data has become a strategic resource, and the fields and frequency of electronic logs are constantly increasing. Electronic log files can record necessary and valuable information for servers, workstations, firewalls, and application software. Therefore, The recording, collection and storage of access logs generated on the Internet become the key, especially for log storage. Since the storage space occupied by uncompressed original logs is too large, the original logs must be compressed to achieve long-term preservation. [0003] In the existing technology, the log file printed and output by the server background program contains a large number of formatted row information with repeated fields, which makes the printing of the log file occupy...

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): G06F11/34
CPCG06F11/34
Inventor 黄伟
Owner GUANGZHOU HUADUO NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products