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

Dynamic journal recording method

A recording method and dynamic recording technology, which is applied in the direction of program control, program control design, and instruments using record carriers and instructions, and can solve problems such as occupying disk space, reducing data analysis efficiency, and redundant log files

Inactive Publication Date: 2004-06-23
INVENTEC CORP
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the user needs to run the application for a long time, the log file will expand infinitely. For example, in some test projects, the user needs to perform a long-term stress test on the device, and the test time may be several days or several weeks. , due to the large number of test indicators, the amount of data to be recorded is correspondingly large, so if you continue to use the traditional log method, the generated log files will have a lot of redundancy, which will take up a lot of disk space, and too many logs The data is also likely to be useless to the user, which not only causes a waste of disk resources
And it greatly reduces the efficiency of data analysis

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
  • Dynamic journal recording method
  • Dynamic journal recording method
  • Dynamic journal recording method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0016] figure 1 It is a flow chart of the dynamic log recording method provided by the present invention. A kind of dynamic log recording method, it can dynamically record log data in the log file according to the cycle of program operation, at first, define a plurality of time periods (step 111) as the time interval increases; then, establish corresponding to the plurality of time periods A plurality of log files (step 112); whenever any time period expires, the log data at this moment is written into the log file corresponding to the time period, and the log in the log file corresponding to the previous time period is cleared simultaneously data (step 113).

[0017] Before starting to record the log, the programmer should first define the time period. The so-called time period refers to dividing the time into several consecutive time periods on average. The speci...

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 provides one kind of dynamic journal recording method, and journal data may be recorded dynamically in different journal documents according to program operating period. First, several time periods in different time interval are defined; then several corresponding journal documents are established; and in any time, and the journal data are written into journal document corresponding to the time period while the journal data of the foregoing time period in the journal document are eliminated. The said dynamic journal recording method can limit the volume of the total journal document, and this saves magnetic disc space and raises data analyzing efficiency.

Description

technical field [0001] The invention relates to a log recording method, in particular to a dynamic log recording method. Background technique [0002] In order to ensure the normal operation of the system and solve various problems that may be encountered every day, recording log files is a very important task. In many applications, system administrators will use the log method to record the values ​​of various parameters in the running of the program, and find problems in the running of the program by reading the log file. [0003] The traditional log recording method is to record sequentially according to the passage of time, and record the parameters in the running of the program item by item, and the file size increases linearly with the increase of the running time of the program. If the user needs to run the application for a long time, the log file will expand infinitely. For example, in some test projects, the user needs to perform a long-term stress test on the dev...

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): G06F9/00G06F9/04
Inventor 刘文涵宋建福李智
Owner INVENTEC CORP
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