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

Method and device for reading log file

A log file, to-be-read technology, applied in the information field, can solve problems such as changes in log file file formats, and achieve the effects of avoiding development work, saving personnel consumption, and improving reading efficiency

Inactive Publication Date: 2018-07-10
BEIJING GRIDSUM TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above problems, the present invention is proposed to provide a log file reading method and device, the main purpose is to solve the problem that when the log file changes, the file format of the log file needs to be redeveloped and written

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 reading log file
  • Method and device for reading log file
  • Method and device for reading log file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0040] The embodiment of the present invention provides a method for reading log files, such as figure 1 As shown, the method includes:

[0041] 101. Obtain a log file to be read.

[0042] Wherein, the log files to be read may be log files of different log types. The log types are used to distinguish log content in different log files, for example, playbill logs, which are not specifically limited in the embodim...

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 method and a device for reading log files, and relates to the technical field of information. A main objective is to solve problems that a file format of a log file is changed and needs to be developed and compiled again when the log file has changes. The main technical scheme of the method comprises: obtaining a to-be-read log file; determining a file format of the to-be-read log file; obtaining a configuration file, the configuration file being stored with mapping relations of a plurality of file formats of the log files and a plurality of log file reading programs;according to the file formats of the to-be-read log file and the mapping relations in the configuration file, determining the log file reading program corresponding to the to-be-read log file; usingthe log file reading program to read contents of the to-be-read log file. The method and the device are mainly used for reading log files.

Description

Technical field [0001] The present invention relates to the field of information technology, and in particular to a method and device for reading log files. Background technique [0002] Before the computer system processes the data, it needs to obtain the data to be processed from the storage location. The methods of obtaining data include manual input, collection through the system, and reading through the log. Among them, reading data through the log is the most commonly used data acquisition system Methods. [0003] At present, different log files are developed by specific programs so that the specific data in the log files can be accurately read during the process of reading the log files. However, because the log files of different file formats are all separate There are more and more log files for development, which will lead to more and more development work. For example, the reading program can only read the log file corresponding to the log file format. Different file fo...

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): G06F17/30
CPCG06F16/1815
Inventor 任志伟
Owner BEIJING GRIDSUM TECH CO LTD
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