Local log processing method, device and equipment and storage medium
A processing method and log technology, which is applied in the field of data processing, can solve problems such as high cost and poor writing performance, and achieve the effects of reducing development costs, improving writing performance, and realizing persistent processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flow chart of a local log processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of locally storing log data generated by the system. This method can be executed by a local log processing device. The device can be implemented by software and / or hardware, and can generally be integrated into computers and all intelligent devices (such as terminal devices or servers) that include program running functions, specifically including the following steps:
[0030] Step 110, when it is detected that the device generates a local log, determine the log data volume of the local log.
[0031] In this step, the log can be data generated during device operation, including program data, business data, and system data. In a specific embodiment, the local log of the native device can be viewed through the development toolkit (such as Microsoft VisualStudio, VS), and when it is detected that the native device genera...
Embodiment 2
[0042] This embodiment is a further refinement of the foregoing embodiments, and explanations of terms that are the same as or corresponding to those of the foregoing embodiments will not be repeated in this embodiment. Figure 2a A flow chart of a local log processing method provided in Embodiment 2. In this embodiment, the technical solution of this embodiment can be combined with one or more methods in the solutions of the above embodiments, such as Figure 2a As shown, the method provided in this embodiment may also include:
[0043] Step 210, when it is detected that the device generates a local log, determine the log data volume of the local log.
[0044] Step 220 , judging whether the amount of log data is less than or equal to the preset standard log data amount, if yes, execute steps 230-270 ; if not, execute step 280 .
[0045]In this embodiment, optionally, the standard log data volume can be preset according to the memory in the Linux kernel, which can be the maxi...
Embodiment 3
[0076] This embodiment is a further refinement of the foregoing embodiments, and explanations of terms that are the same as or corresponding to those of the foregoing embodiments will not be repeated in this embodiment. Figure 3a A flow chart of a local log processing method provided in Embodiment 3. In this embodiment, the technical solution of this embodiment can be combined with one or more methods in the solutions of the above embodiments, such as Figure 3a As shown, the method provided in this embodiment may also include:
[0077] Step 310, when it is detected that the device generates a local log, determine the log data volume of the local log.
[0078] Step 320 , according to the amount of log data, determine in the Linux kernel of the device a target write team matching the local log, and a target write location matching the target write team.
[0079] Step 330, calling a memory mapping function, and writing the local log at the target writing position of the target...
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