Log obtaining device and method and mobile terminal

A mobile terminal and acquisition device technology, applied in the direction of response to error generation, digital transmission systems, electrical components, etc., can solve problems such as increasing the difficulty for developers to solve problems, and cannot accurately obtain logs corresponding to abnormal events, so as to improve reliability. Sexual and Effective Effects

CN106201756AActive Publication Date: 2016-12-07NUBIA TECHNOLOGY CO LTD
14 Cites 36 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2016-12-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a log obtaining method. The log obtaining method includes the steps that whether an abnormal event occurs in a mobile terminal or not is detected; if the abnormal event occurs in the mobile terminal, the abnormal type of the abnormal event is determined, and the preset daemon process of the mobile terminal is controlled to obtain a log corresponding to the abnormal type grabbed by a sub-process; the obtained log is compressed to obtain a compressed packet, and the compressed packet is stored to a specified file; the compressed packet corresponding to the log is uploaded to a server to supply developers to download the log from the server. The invention further discloses a log obtaining device and the mobile terminal. When the abnormal event occurs in the mobile terminal, the log corresponding to the abnormal event can be obtained in time and uploaded to the server, developers conveniently download the log from the server and analyze the log, and the obtained reliability and the obtained effectiveness of the log are improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of mobile terminal equipment, in particular to a log acquisition device, mobile terminal and method. Background technique

[0002] Since the mobile terminal is in the hands of the user, when an abnormal event occurs on the mobile terminal, the user holding the mobile terminal will feed back the problem to the developer. From the user feedback to the developer contacting the user to obtain the mobile terminal log (i.e. Log) for analysis, in the middle It may have been a long time. Since the size of the Log cached by the Logger log system is limited, the mobile terminal will continuously grab the logs, and every once in a while, the newly generated Log will replace the old Log from a period of time ago. When the developer contacts the user, the log corresponding to the abnormal event may have been replaced, and the replaced log cannot be reproduced. At this time, the current log captured may no longer...

Examples

Embodiment Construction

[0045] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0046] A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, "module" and "component" may be mixedly used.

[0047] Mobile terminals may be implemented in various forms. For example, terminals described in the present invention may include mobile terminals such as mobile phones, smart phones, notebook computers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), navigation devices, etc., and mobile terminals such as Stationary terminal for digital TV, desktop computer, etc...