Processing method and device for kernel crash field data
A field data and processing method technology, applied in the kernel field, can solve the problems of not supporting the fourth-generation extended file system, high maintenance cost, and difficult implementation, etc., to achieve the effect of strong applicability, cost reduction, and coverage of a wide range of scenarios
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 A flow chart of a method for processing kernel crash site data provided by Embodiment 1 of the present invention, this embodiment is applicable to the situation where the kernel crash site data is recorded when the Linux kernel crashes, and the method can be performed by a Linux kernel debugging tool Execution, the tool can be run on electronic devices such as personal computers and tablet computers, and specifically includes the following steps:
[0024] Step 110, pre-allocating at least one piece of storage address space for saving crashed kernel site data in the Android / data partition of the embedded multimedia card eMMC, and recording the address information of the storage address space.
[0025] Configure the Android / data partition in the embedded multimedia card eMMC through the debugging software. Usually eMMC uses a certain storage partition as the Android / data partition, such as the D drive. Optionally, in another storage partition other than the / da...
Embodiment 2
[0041] figure 2 A method for processing kernel crash site data provided by Embodiment 2 of the present invention, as a further description of Embodiment 1, in step 110, the address information of the storage address space is recorded, which can be implemented in the following manner:
[0042] Step 110a, in the Android / data partition of the embedded multimedia card eMMC, pre-allocate an address index file, the address index file is used to record the index information of each storage address space, the index information includes the address range of each storage address space .
[0043] After the dummy-ramdump file is generated, create another address index file in the / data partition. The address information recorded in the address index file will serve as the data position basis for writing and reading data in step 120 and step 130 .
[0044] Exemplary, image 3 A mapping relationship diagram between an address index file and a storage space provided by Embodiment 2 of th...
Embodiment 3
[0053] Figure 4 A method for processing kernel crash site data provided by Embodiment 3 of the present invention, as a further description of the above-mentioned embodiment, in step 120, writing the crash kernel site data into the storage address space can be implemented in the following manner:
[0054] Step 121, compressing the crashed kernel site data.
[0055] When compressing, LZO (Lempel-Ziv-Oberhumer) compression algorithm or LZMA (Lempel-Ziv-Markov chain-Algorithm) compression algorithm can be used to compress the crash kernel site data.
[0056] Step 122, write the compressed crash kernel site data into the storage address space.
[0057] Further, after compressing the crash kernel field data, according to different compression algorithms, the data volume of the compressed data obtained is 30% to 70% of the data volume before compression. The amount of compressed data is related to the compression ratio of the compression algorithm. The higher the compression ratio...
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