Log file reading method, apparatus and system, and log file writing method, apparatus and system

A log file and reading device technology, applied in the field of log file reading and writing methods, devices and systems, can solve problems such as long time and low reading efficiency

Active Publication Date: 2017-07-14
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a method, device and system for reading and writing log files, aiming to solve the problem of reading the log by reading back the entire User Data partition of the mobile phone when the mobile phone fails to boot in the prior art. Files bring technical problems such as long time required and low reading efficiency

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
  • Log file reading method, apparatus and system, and log file writing method, apparatus and system
  • Log file reading method, apparatus and system, and log file writing method, apparatus and system
  • Log file reading method, apparatus and system, and log file writing method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0031] figure 1 A structural block diagram of a mobile terminal is shown. The log file writing method that the embodiment of the present invention provides can be applied to such as figure 1 In the mobile terminal 10 shown, the mobile terminal 10 may include, but is not limited to: smart phones, notebooks, tablet computers, wearable smart d...

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 log file reading method, apparatus and system, and a log file writing method, apparatus and system. The writing method comprises the steps of storing a generated log file in a preset first storage space if it is detected that the log file is generated; and obtaining storage information of storing the log file in the first storage space, wherein the storage information is stored in a preset second storage space. The reading method comprises the steps of obtaining the storage information when the log file is stored in the first storage space from the preset second storage space after a connection with a mobile terminal in a power-off state is performed; and reading the log file by utilizing the storage information. By setting the second storage space used for storing the storage information during storage of the log file in the mobile terminal, when the mobile terminal is in the power-off state, the log file can be read by utilizing the storage information stored in the second storage space without backward reading of a whole User Data partition, so that the log file reading time is effectively shortened and the reading efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method, device and system for reading and writing log files. Background technique [0002] The log file is a record file or file collection of application system operation events, including the operation log and fault log of the entire application system, and is composed of multiple log records. The recording and reading of log files is essential for the maintenance of the application system and the detection of problems. important. [0003] At present, when the mobile phone is detected or repaired, it is necessary to read the log file from the mobile phone when the mobile phone is turned on, so as to detect and repair the mobile phone. However, in the face of a faulty mobile phone that cannot be turned on, if you want to get the log files saved in the mobile phone, the best solution is to read back the entire User Data partition of the mobile phone, but with the advanc...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/113G06F16/1734
Inventor 张荣春
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products