Terminal, log control method thereof and computer readable storage medium
A random access storage and log technology, applied in calculation, response error generation, instruments, etc., can solve problems such as low efficiency of fault analysis and difficulty in accurately locating problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0068] Aiming at the current problem that when a fault occurs in the system startup process of the smart terminal, the code running during the system startup process can only be exported from the serial port through hardware wiring for analysis, and there are problems such as low efficiency of fault analysis and difficulty in accurately locating the problem. This embodiment provides a A terminal log management and control method, the system startup log is generated during the system startup process of the terminal; after the permanent storage of the terminal is started, the system startup log is written into the permanent storage; and then when receiving the system startup log calling instruction, the The system startup log stored in the permanent memory is called according to the system startup log calling instruction. That is to say, the log management and control method provided by this embodiment can generate and store the system startup log in real time during the startup ...
no. 2 example
[0093] For ease of understanding, this embodiment will be further described below in conjunction with a specific application example on the basis of the foregoing embodiments.
[0094] In this embodiment, a system startup log log is generated during the system startup process of the terminal, and the log is output to the first target permanent storage area of the permanent storage, and then called and managed according to requirements, so as to facilitate problems in the boot stage Yes, the problem location analysis is carried out, and the system startup log will not be lost, which is more convenient for solving occasional problems, and can be stored repeatedly.
[0095] See Figure 5 As shown, the log control method in this embodiment includes:
[0096] S501: Plan an area in the permanent storage of the terminal as the first target permanent storage area.
[0097] S502: In the bootloader stage of terminal system startup, allocate a section of RAM area, and store the syste...
no. 3 example
[0117] On the basis of the first embodiment, this embodiment of the present invention provides a terminal. Please refer to Figure 6 , the terminal includes a processor 601, a memory 602, and a communication bus 603; wherein the communication bus 603 is used to realize connection and communication between the processor 601 and the memory 602; the processor 601 is used to execute one or more programs stored in the memory 602 , to implement the steps of the terminal log control method in the above embodiment, including but not limited to the following process:
[0118] The processor 601 generates a system startup log during the system startup process of the terminal. The system startup of the terminal may be the initial startup of the terminal system, system restart, or system debugging startup. In this embodiment, when the system startup log is generated during the system startup process, the current log generation system may be used to generate the system startup log, or a ne...
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