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

A method for recording log data

A recording method and data technology, applied in the field of communication, can solve the problems of occupying the storage space of log files, shortening the retention time of log data, and the influence of fault location of communication equipment, etc., so as to achieve the effect of extending the retention time.

Active Publication Date: 2016-03-16
TD TECH COMM TECH LTD
View PDF4 Cites 0 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
  • A method for recording log data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the objectives, technical solutions, and advantages of the present invention clearer and more comprehensible, specific embodiments are given below to further describe the present invention in detail with reference to the accompanying drawings.

[0030] The present invention provides a method for recording log data. In the method, the length of the measurement period is set in advance and a measurement period is started; in the current measurement period, the cumulative flow of log data is monitored in real time; and the current measurement period is judged Whether the cumulative flow of the log data is greater than the preset throttling flow threshold; if it is, stop recording the lowest-level log data that is being recorded according to the preset log data level, and start a new measurement cycle, Continue to monitor the cumulative flow of log data in real time; otherwise, it will determine whether the preset recovery conditions are established, if so, res...

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 present invention relates to the field of communication technology, and in particular to a method for recording log data. Background technique [0002] In the existing communication technology, various communication equipment (for example, base station) is a long-running technical equipment, which needs to record a large amount of log data during its operation, so that it can be used for fault location when the communication equipment fails. . As time goes on, the number of log data generated by the communication device will increase. If all the log data generated by the communication device are stored in the log file, a very large storage space will be required. Due to the limited physical size of the memory, it is impossible to store log data for all time periods in the log file, but can only store log data within a certain time period. When the size of the log file reaches its set maximum value, the earliest The log data will be gradually overwritt...

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): 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