Unlock instant, AI-driven research and patent intelligence for your innovation.

A log record management method and system

A record management and log technology, applied in the field of log record management methods and systems, can solve the problems of lack of timeliness, frequent flash operations, and inability to guarantee the number of log records, so as to avoid occupying memory space and prolong memory life.

Active Publication Date: 2017-02-15
ZTE CORP
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that the number of log records cannot be guaranteed, especially important logs are likely to be overwritten by non-important log files after a period of time
Real-time reporting of log content can enable log information to be saved in time, but the operation of flash memory (flash) is too frequent
Batch reporting of log records can reduce the read and write operations on the flash space and prolong the life of the memory, but its disadvantage is the lack of timeliness

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
  • A log record management method and system
  • A log record management method and system
  • A log record management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0031] The present invention optimizes the log management in two aspects. In the aspect of reporting information, when the timely reporting of log information is satisfied, the content of log information is reported in batches. File management: Dynamically determine the file compression conditions, and save the compressed log information files in a circular manner, so as to reduce the occupation of memory space.

[0032] The log collection module reports the information to the log management module by combining the timing reporting information with the dynamic reporting thres...

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

A log record management method comprises: periodically detecting a buffer, and reporting a log record when detecting that the log record exists in the buffer; and when the number of log records in the buffer is larger than or equal to a ratio of the number of the reported log records to the times of reporting the log records, reporting the log records in the buffer. Also provided is a log record management system. A log collecting module is configured to periodically detect a buffer, and report a log record to a log management module when detecting that the log record exists in the buffer; and when the number of log records in the buffer is larger than or equal to a ratio of the number of the reported log records to the times of reporting the log records, report the log records. The solution minimizes the reporting times while ensuring that the log records are reported in time, thereby prolonging the service life of the memory. Meanwhile, the log files are compressed and outdated log files are deleted to prevent the log files from occupying too much memory space.

Description

technical field [0001] The invention relates to the technical field of log management in microwave equipment. Specifically, it relates to a logging management method and system. Background technique [0002] With the continuous emergence of hardware devices, the system has higher and higher requirements for device information recording. The recorded log information must not only be accurate and easy to locate, but also be stored in a timely and effective manner. Therefore, how to collect various device information in the system and how to effectively save the collected log information has become a problem that must be solved. In this case, the system should have a reasonable mechanism for collecting, reporting log records, and saving log information. [0003] The log management method provided by Chinese Patent No. CN200810066666.1 is to cache log information in memory space, and determine whether to write log files to save log records by judging the number of records. T...

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/34G06F17/30
CPCH04L41/069
Inventor 邵永春
Owner ZTE CORP