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

Log file operating system and log file management method

A log file and operating system technology, which is applied in the field of log file operating system and log file management, can solve the problems of inability to manage in a unified way, the log is not universal, and the file records are not universal, so as to achieve the effect of efficient writing

Active Publication Date: 2012-08-01
广州云标局网络科技有限公司
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although there are some log systems in the industry that can implement system log operations, such as: Log4j, etc., such logs are not universal. For example, each class that needs to use the log system must define itself in order not to conflict with other classes. Log4j configuration, each log file exists in the system separately, so it cannot be managed uniformly
figure 1 It shows the flow chart of the log management method of the log operating system in the prior art. It can be seen from the figure that the file record is directly and simply generated after the application system is started, and the file record has not been numbered or arranged. process, so there is a problem of inconvenient management in the later output process, and it is also mentioned above that this kind of file record is not universal

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 file operating system and log file management method
  • Log file operating system and log file management method
  • Log file operating system and log file management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 2 As shown, the embodiment of the present invention provides a log file operating system, which is used to receive the data content of the external calling module and generate a log file for the data content processing module to read the data content, including:

[0045] The file is written into the pool unit, which stores a plurality of file writing units, and is used to provide the file writing unit for the external calling module according to the call request of the file operation management unit; the file writing unit is used to store the data content written by the external calling module and The data content is generated as a log file;

[0046] a file index unit for providing an index number to the log file in the file write unit;

[0047] A file reading pool unit stores a plurality of file reading units, and the file reading unit is used to read log files in the file writing unit;

[0048] The file merging unit is used for merging the log files in...

Embodiment 2

[0072] For the above log file operating system, the embodiment of the present invention also provides a log file management method, such as image 3 shown, including steps:

[0073] 101: Configure system parameters;

[0074] When the system is started, the file operation management unit first reads the configuration information in the file configuration unit. The specific configuration information has been described in Embodiment 1 above, so it will not be repeated here. Therefore, in this step, the system parameters need to be configured, and the system configuration parameters are stored in the file configuration unit.

[0075] 102: Initialize the system;

[0076] In this step, the initial setting of the system mainly includes the initial setting of the file writing pool unit, which of course includes the initial setting of the file writing unit, and of course also includes the initialization of the remote backup address of the file, that is, the initialization of the remo...

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 file operating system, which comprises a file write cell unit, a multi-file storage write unit, a file index unit, a file read cell unit, a multi-file storage read unit, a file merging unit, a file configuration unit and a file operation management unit. The file operation management unit is used for managing the file write cell unit, the file index unit, the file merging unit, the file read cell unit and the file configuration unit. The invention further provides a log file management method for the log file operating system, which includes: generating log files for the file write unit, allowing the file read unit to read the log files when a user needs to acquire the log files, and using the file merging unit to merge the files. Therefore, by the log file operating system and the log file management method, log files can be written efficiently and backed up, numbered and stored integrally.

Description

technical field [0001] The invention relates to the technical field of a file application system that supports adding a large amount of data content to the end of a large number of files at the same time, and is particularly suitable for an environment where a large amount of data is written into a log system in a cloud computing platform, and specifically relates to a log file operating system and a log file management method. Background technique [0002] Today, as the development of enterprises continues to accelerate, many application systems such as Enterprises informatization and website application systems continue to enrich our work and life, and the stability, convenience and speed of these application platforms are inseparable from system file operations or Support for log system operations, for example: the system may be a transaction log system, an operation log system, or a persistent log system, etc., especially in a cloud computing management platform, such a l...

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): G06F17/30
Inventor 叶耀荣贾玉海
Owner 广州云标局网络科技有限公司
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