Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Pending Publication Date: 2019-08-20
NUBIA TECHNOLOGY CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: when the current intelligent terminal fails during the system start-up process, the failure analysis efficiency is low and the problem is difficult to locate accurately

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Terminal, log control method thereof and computer readable storage medium
  • Terminal, log control method thereof and computer readable storage medium
  • Terminal, log control method thereof and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a terminal, a log control method thereof and a computer readable storage medium. A system starting log is generated in the system starting process of the terminal; after a permanent memory of the terminal is started, the system starting log is written into the permanent memory; and when a system starting log calling instruction is received, the system starting log stored inthe permanent memory is called according to the system starting log calling instruction. Namely, the log control method provided by the invention can generate the system starting log in real time inthe starting process of the terminal system, and can store the system starting log in the permanent memory of the terminal. The invention further discloses a terminal and a computer readable storage medium. Compared with the mode that codes operated in the system starting process can only be exported from a serial port through hardware wiring for analysis at present, the invention is more convenient and faster, and the efficiency is higher, and the improvement of the fault analysis efficiency and the problem positioning accuracy is facilitated.

Description

technical field [0001] The present invention relates to the technical field of terminals, and more specifically, to a terminal, a log management and control method thereof, and a computer-readable storage medium. Background technique [0002] With the development of technologies of smart terminals (such as various smart phones, IPADs, etc.), smart terminals play an increasingly important role in people's life and work. Therefore, during the current running process of the terminal, corresponding log records will be generated for subsequent fault location analysis when the terminal fails, so as to provide a reliable basis for terminal fault resolution. [0003] However, the current smart terminal will start the log recording system to generate corresponding log records only after the terminal is started. During the startup process of the smart terminal, no log will be generated, which leads to the fact that when the smart terminal fails to start the system or has a startup fa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/07
CPCG06F11/0751G06F11/079G06F11/0787
Inventor 蒙滨
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products