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

Log management device and method thereof

A technology for managing devices and logs, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of large storage space, occupancy, and different lengths of log information, so as to increase capacity, improve processing speed, and accurately and quickly read Take the effect

Active Publication Date: 2011-08-17
ZTE CORP
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Embedded systems are relatively lightweight. If you choose a professional database to manage logs, it will take up a large storage space, and the support for the database will occupy limited resources of the embedded system; if you choose log files to manage logs, it must be supported by the file system. , if the file system is downloaded to the memory to run at startup, the log file will not be saved after power failure
[0003] Generally, non-volatile storage media is selected to save log information in embedded systems; however, the storage space of non-volatile storage media is limited, and the length of log information varies, resulting in the inability of non-volatile storage media to save a large number of logs. information

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 management device and method thereof
  • Log management device and method thereof
  • Log management device and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The basic idea of ​​the present invention is: compress and convert the log original text into log records, obtain the converted log record write address according to the address range of the log record and the global information of the log record, and the log record module writes the log record into the address according to the log record write address. The transformed log records are written to storage media.

[0039] Wherein, the address range is an area for storing log records and log global information in the pre-divided and saved storage medium; the log global information includes: log maximum capacity MaxNum, current log capacity TotalNum, initial log sequence number StartSeq , end log sequence number EndSeq, address offset FirstOffset of the first log record.

[0040] Here, the MaxNum is the total number of log records that can be saved by the storage medium, which can be obtained by storing the space capacity of the log records and the length of the log records,...

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 management device, which comprises a log recording module and a log managing module, wherein the log recording module is used for compressing and converting the original log text into a log record according to conversion rules and transferring the log managing module to write the log record in a storage medium according to the write address of the log record obtained by the log managing module; and the log managing module is used for obtaining the write address of the log record according to whole log information stored by the storage medium and the address range of the log record and returning to the log recording module. The invention further discloses a method of log management; by the using of the device and the method, the capacity of the log storage by the storage medium is increased, the processing speed for reading and writing logs is improved, and important logs are prevented from being lost.

Description

technical field [0001] The invention relates to the field of embedded systems, in particular to a log management device and method in the embedded system. Background technique [0002] In products related to communication and computer information processing, the logs recorded during system operation play an important role in locating system failures, early detection of warnings and tracking key operations. Embedded systems are relatively lightweight. If you choose a professional database to manage logs, it will take up a large storage space, and the support for the database will occupy the limited resources of the embedded system; if you choose log files to manage logs, it must be supported by the file system. , if the file system is downloaded to the memory at startup, the log files will not be saved after power failure. [0003] Generally, non-volatile storage media is selected to save log information in embedded systems; however, the storage space of non-volatile storage...

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): H04L12/24
CPCH04L43/04
Inventor 雷婷
Owner ZTE CORP