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

Method for recording log data

A recording method and data technology, which is applied in the field of communication, can solve the problems of occupying log file storage space, the impact of communication equipment fault location, shortening the retention time of log data, etc., and achieve the effect of extending the retention time

Active Publication Date: 2012-07-18
TD TECH COMM TECH LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is a passive measure. When the communication equipment is working normally, the recording of log data is generally relatively stable, so the retention time of log data can be estimated in advance; however, when the working status of the communication equipment is abnormal (for example, failure) , a large amount of log data will be generated in a relatively short period of time, and these generated log data will occupy a large amount of storage space in the log file, so the retention time of the log data in the log file will be severely shortened. The log data (called "golden location information") will be overwritten by new log data in a short time, which will have a serious impact on the fault location of the communication equipment

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 for recording log data
  • Method for recording log data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail by giving specific embodiments and referring to the accompanying drawings.

[0030] The invention provides a method for recording log data. In this method, the length of the measurement cycle is preset and a measurement cycle is started; within the current measurement cycle, the cumulative flow of log data is monitored in real time; Whether the cumulative flow of the log data is greater than the preset throttling flow threshold; if yes, stop recording the log data that is being recorded and has the lowest level according to the level of the preset log data, and start a new measurement cycle, Continue to monitor the cumulative flow of log data in real time; otherwise, it will judge whether the preset recovery conditions are met, and if so, resume recording log data of all levels; otherwise, continue to monitor the cu...

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 method for recording log data, which comprises the following steps: A, predetermining the lengths of measurement periods and starting one measurement period; B, monitoring accumulated flow of the log data in real time in the current measurement period; C, judging whether the accumulated flow of the log data in the current measurement period is greater than a predetermined throttle flow threshold, if so, stopping recording the log data which are recorded currently and are of the lowest level according to predetermined levels of the log data, starting a new measurement period and returning to execute the step B, if not, executing a step D; and D, judging whether a predetermined restoration condition is satisfied, if so, restoring to record log data of all levels, if not, returning to execute the step B. By using the method provided by the invention, when a communication device is in abnormal condition, the retention time of the log data is prolonged effectively, thereby facilitating fault location of the communication device.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for recording log data. Background technique [0002] In the existing communication technology, various communication devices (such as base stations) are long-running technical devices that need to record a large amount of log data during their operation, so that they can be used for fault location when the communication device fails . As time goes on, the amount of log data generated by the communication device will increase. If all the log data generated by the communication device are stored in log files, a very large storage space will be required. Due to the limited physical size of the memory, it is impossible to store the log data of all time periods in the log file, but only the log data of a certain period of time. When the size of the log file reaches the maximum value set, the earliest The log data of will be gradually overwritten by the latest log dat...

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
IPC IPC(8): H04L12/24H04L12/26
Inventor 曹怡鹏
Owner TD TECH COMM TECH LTD
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