Method for reducing log file space occupation, storage medium and terminal
A space-occupying and log file technology, applied in the computer field, can solve the problems of high processor computing power consumption, time-consuming, complex algorithm for compressing log data, etc., achieving low time and space complexity, scalability and flexibility Strong, guaranteeing the effect of version consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0041] Please refer to figure 1 , the embodiment of the present invention provides a method for reducing log file space occupation.
[0042] In this embodiment, the applicable processor is a 32-bit processor, and the CRC-32 algorithm is used to calculate the CRC code of the string, and the data search structure used is a red-black tree.
[0043] In this embodiment, when the communication base station is started, the base station equipment uses the following statement to record a log as an example, as follows:
[0044] GNB_LOG("gNodeB %s startup at %u s (UTC)", gnb_name, timestamp)
[0045] The log encoding process is as follows:
[0046] First extract the first string "gNodeB", and calculate its CRC-32 encoding value as 4264837701. This value does not exist in the red-black tree, so add it to the red-black tree, add the string "gNodeB" to the index table, and get the index table as Figure 4 shown. At this point, replace the string "gNodeB" in the original statement with...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com