Embedded application log optimization method and system, equipment and storage medium
An optimization method and embedded technology, applied in file systems, file system types, special data processing applications, etc., can solve problems such as small storage space, relieve space, facilitate smooth use, and reduce erasing and erasing time. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0047] Step 1. After the system starts, allocate a part of the system memory as a memory partition. The size of the memory partition is 16M or 32M. It is used to write the log file of the application program, and mount the memory partition in the file system. The specific log system startup process Such as figure 1 shown;
[0048] Step 2, start the application, and define the log file path of the application to the file system node mounted on the memory partition;
[0049] Step 3, the application program writes its own log files into the file system nodes mounted on the memory partition according to its own needs (such as 1M, 2M a file), such as image 3 As shown, the application needs to manage the log files produced by itself in this directory. Each type of log contains at most two files, one of which is the file being written, and the other is the storage file after the packet size is completed.
[0050] Step 4, compress the log files that have been subcontracted;
[005...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com