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

Method and device for storing log information

A technology for information storage and storage location, applied in the field of communication, can solve problems such as reducing the efficiency of diagnosis and troubleshooting, reducing system performance, and inconvenient to query log information.

Inactive Publication Date: 2017-08-04
COMBA TELECOM SYST CHINA LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for storing log information, which is used to solve the inconvenience of querying log information in the prior art, which reduces the efficiency of diagnosis and troubleshooting, and further reduces the performance of the system

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 storing log information
  • Method and device for storing log information
  • Method and device for storing log information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0052] It should be understood that the present invention can be applied to log files in software systems of various devices, such as log files of base stations, log files of various terminals such as mobile phones, and the like.

[0053] The embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings of the specification.

[0054] figure 1 Illustratively shows a schematic diagr...

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 relates to the technical field of communication, in particular to a method and device for storing log information, so as to facilitate log information queries, improve the trouble-shooting efficiency and improve the performance of a system. The method includes the following steps that the parameter of a log file is obtained, wherein the parameter includes a cursor position of the long file and the cursor position is used for indicating the storage location of the log information; whether the size L of to-be-stored log information is larger than a first storage value X or not is judged, wherein the first storage value X refers to the storage space of long information, which is not stored, from the cursor position and the tail of the log file; if yes, the top X data of the to-be-stored log information starts to be stored to the tail of the log file from the cursor position, and the last L-X data of the to-be-stored log information starts to be stored to a L-X portion from the head of the log file; the cursor position is updated from the head of the log file to the L-X portion. Therefore, the method and the device can facilitate the log information queries, improve the trouble-shooting efficiency and improve the performance of the system.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for storing log information. Background technique [0002] The software systems of almost all equipment products need to save logs in real time or regularly, for operation records, system operation status records, abnormal conditions records, etc., and they are also important means for system problem diagnosis. [0003] In the current method of storing log information in equipment products, one method is to use multiple log files for automatic circular storage. If the current log file reaches the set maximum log file storage value, the current log file will be closed, and Use certain rules and strategies to create or open the next log file, start recording log information, and periodically check the total log file size to ensure that the total set log storage maximum is not exceeded. There are other methods. For example, it has been disclosed in the C...

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
CPCG06F16/13G06F16/1815
Inventor 张伟彬
Owner COMBA TELECOM SYST CHINA LTD