CN109614042B - Method for storing log information and terminal equipment - Google Patents

Method for storing log information and terminal equipment Download PDF

Info

Publication number
CN109614042B
CN109614042B CN201811458064.0A CN201811458064A CN109614042B CN 109614042 B CN109614042 B CN 109614042B CN 201811458064 A CN201811458064 A CN 201811458064A CN 109614042 B CN109614042 B CN 109614042B
Authority
CN
China
Prior art keywords
log information
storage space
terminal device
module
storing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811458064.0A
Other languages
Chinese (zh)
Other versions
CN109614042A (en
Inventor
徐何川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811458064.0A priority Critical patent/CN109614042B/en
Publication of CN109614042A publication Critical patent/CN109614042A/en
Application granted granted Critical
Publication of CN109614042B publication Critical patent/CN109614042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0626Reducing size or complexity of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a method for storing log information and terminal equipment, which are applied to the technical field of communication and are used for solving the problem that the storage space of a Read Only Memory (ROM) of the terminal equipment occupies a larger space due to the fact that the log information is stored into the ROM of the terminal equipment in real time for a long time in the prior art. Specifically, this scheme is applied to terminal equipment, includes: acquiring first log information generated in the operation process of the terminal equipment; storing the first log information into a first storage space, wherein the first storage space is a storage space in a RAM in the terminal equipment; in the case where an abnormality occurs in the terminal device, the first log information is stored in a second storage space, which is a storage space in a ROM in the terminal device. The method and the device are particularly applied to the process of storing the log information before the terminal device analyzes the abnormal reason of the terminal device according to the log information.

Description

Method for storing log information and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method for storing log information and terminal equipment.
Background
Under the condition that the operation of the terminal device (such as a mobile phone, a tablet computer, etc.) is abnormal, a technician generally analyzes the reason of the abnormality according to log information generated in the operation process of the terminal device to provide a solution for handling the abnormality.
In the prior art, in the process of operating a terminal device, log information of the terminal device is usually stored in a Read-Only Memory (ROM) in real time, so that when an abnormality occurs in the terminal device, the abnormality cause is analyzed according to the stored log information.
However, storing the log information into the ROM of the terminal device in real time for a long time will result in a large storage space occupation of the ROM of the terminal device.
Disclosure of Invention
The embodiment of the invention provides a method for storing log information and terminal equipment, and aims to solve the problem that the storage space of a Read Only Memory (ROM) of the terminal equipment occupies a large area because the log information is stored into the ROM of the terminal equipment in real time for a long time in the prior art.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for storing log information, which is applied to a terminal device, and the method includes: acquiring first log information generated in the operation process of the terminal equipment; storing the first log information into a first storage space, wherein the first storage space is a storage space in a Random Access Memory (RAM) in the terminal equipment; in the case where an abnormality occurs in the terminal device, the first log information is stored in a second storage space, which is a storage space in a read only memory ROM in the terminal device.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the device comprises an acquisition module, a first storage module and a second storage module; the terminal equipment comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first log information generated in the operation process of the terminal equipment; the first storage module is used for storing the first log information acquired by the acquisition module into a first storage space, and the first storage space is a storage space in a Random Access Memory (RAM) in the terminal equipment; and the second storage module is used for storing the first log information stored by the first storage module into a second storage space under the condition that the terminal equipment is abnormal, wherein the second storage space is a storage space in a Read Only Memory (ROM) in the terminal equipment.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and operable on the processor, and when executed by the processor, the computer program implements the steps of the method for storing log information according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method for storing log information according to the first aspect.
In the embodiment of the invention, first log information generated in the operation process of the terminal equipment can be acquired; storing the first log information into a first storage space, wherein the first storage space is a storage space in a RAM in the terminal equipment; in the case where an abnormality occurs in the terminal device, the first log information is stored in a second storage space, which is a storage space in a ROM in the terminal device. Based on the scheme, the terminal device can store the log information (such as the first log information) generated by the terminal in the storage space of the RAM in real time in the running process, so that the situation that the terminal device cannot acquire the log information generated under the condition that the terminal device is abnormal can be avoided. In addition, because only the log information generated when the terminal device is abnormal can be stored in the storage space of the ROM of the terminal device, and the log information generated by the terminal device does not need to be stored in real time for a long time, the storage space in the ROM of the terminal device can be occupied less, and the problem that the power consumption of the terminal device is large because the log information is stored in the ROM for a long time in real time is avoided. The method and the device can store the log information generated by the terminal equipment in real time under the condition that the power consumption of the terminal equipment is not increased and the storage space of a ROM of the terminal equipment is not excessively occupied, so that the log information related to the abnormity can be obtained under the condition that the terminal equipment is abnormal.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for storing log information according to an embodiment of the present invention;
FIG. 3 is a second flowchart illustrating a method for storing log information according to an embodiment of the present invention;
fig. 4 is a third schematic flowchart of a method for storing log information according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a possible terminal device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of a possible terminal device according to an embodiment of the present invention;
fig. 7 is a third schematic structural diagram of a possible terminal device according to the embodiment of the present invention;
fig. 8 is a fourth schematic structural diagram of a possible terminal device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first storage space and the second storage space, etc. are used to distinguish different storage spaces, and are not used to describe a specific order of the storage spaces.
In the method for storing log information provided in the embodiment of the present invention, when the terminal device generates log information in an operation process, the terminal device may store the log information in a storage space of a Random Access Memory (RAM) of the terminal device in real time. In case of abnormality of the terminal device, the terminal device may store the log information stored in the storage space of the RAM into the storage space of the ROM of the terminal device again. The terminal device can store the log information generated by the terminal in the storage space of the RAM in real time in the operation process, so that the situation that the terminal device cannot determine the log information generated under the condition that the terminal device is abnormal can be avoided. In addition, because only the log information generated when the terminal device is abnormal can be stored in the storage space of the ROM of the terminal device, and the log information generated by the terminal device does not need to be stored in real time for a long time, the storage space in the ROM of the terminal device can be occupied less, and the problem that the power consumption of the terminal device is large because the log information is stored in the ROM for a long time in real time is avoided.
It should be noted that, in the method for storing log information provided in the embodiment of the present invention, the execution main body may be a terminal device, or a Central Processing Unit (CPU) of the terminal device, or a control module in the terminal device for executing the method for storing log information. In the embodiment of the present invention, a method for executing log information storage by a terminal device is taken as an example, and the method for storing log information provided in the embodiment of the present invention is described.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the method for storing log information according to the embodiment of the present invention, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application. For example, applications such as a system setup application, a system chat application, and a system camera application. And the third-party setting application, the third-party camera application, the third-party chatting application and other application programs.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for storing log information provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the method for storing log information may run based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the method for storing log information provided by the embodiment of the invention by running the software program in the android operating system.
The method for storing log information provided by the embodiment of the present invention is described in detail below with reference to the flowchart of the method for storing log information shown in fig. 2. Wherein, although a logical order of methods of storing log information provided by embodiments of the present invention is illustrated in a method flow diagram, in some cases, the steps illustrated or described may be performed in an order different than here. For example, the method of storing log information shown in fig. 2 may include S201, S202, and S203:
s201, the terminal device obtains first log information generated in the operation process of the terminal device.
It is understood that the terminal device may generate log information (such as the first log information) for recording the operation process of the terminal device during the operation process, wherein the log information may be referred to as log. In this way, the log information generated during the operation of the terminal device within a period of time may be information for reflecting the operation process of the terminal device within the period of time. For example, in the case where an abnormality occurs in a terminal device, the log information generated by the terminal device may be information for reflecting the abnormality, that is, information related to the abnormality. The first log information may include one or more log information.
Specifically, different types of log information can be generated in the operation process of the terminal device provided by the embodiment of the invention, for example, different types of log information can be generated in the operation process of a mobile phone adopting an Android operating system. The log information (e.g., the first log information) generated by the terminal device may be an Application Processor (AP) log or a Modem (Modem) log. Specifically, the AP log is used for analyzing and processing an application program exception on the terminal device, and the Modem log is used for analyzing and processing a communication protocol related function exception on the terminal device.
The AP log may be log information corresponding to an Application subsystem (APSS) of the terminal device, and the APSS is also referred to as an APSS module. The Modem log may be log information corresponding to a Modem application subsystem (MPSS), which is also referred to as an MPSS module.
For example, the application program exception of the terminal device may be that an application program (e.g., a system application program) in the terminal device cannot be started or is flashed back. For example, the "address book application" in the terminal device cannot be started.
For example, the communication protocol related function on the terminal device is abnormal, and an abnormality may occur to the call service executed by the terminal device, for example, the terminal device has no sound when executing the call service.
S202, the terminal device stores the first log information into a first storage space, wherein the first storage space is a storage space in a RAM in the terminal device.
Optionally, the first storage space provided in the embodiment of the present invention may be a part of a storage space in a RAM applied for by the terminal device, rather than a whole storage space in the RAM.
Specifically, the method for storing log information provided in the embodiment of the present invention may further include, before the step S201, step S200:
s200, the terminal equipment applies for a storage space with the capacity of preset capacity in the RAM from the terminal equipment, and the storage space with the capacity of preset capacity is used as a first storage space.
In the embodiment of the present invention, the capacity of the storage space in the RAM applied by the terminal device is usually smaller, that is, the preset capacity is smaller, for example, the preset capacity is 15 Megabytes (MB). I.e. the capacity of the first storage space is typically small, e.g. 15 MB.
Specifically, when the terminal device applies for a storage space in the RAM, a storage space with a preset capacity may be allocated from a free storage space of the current RAM as the first storage space.
Optionally, the first storage space in the terminal device may be a storage space with continuous physical addresses in the RAM, or a storage space with discontinuous physical addresses, which is not limited in this embodiment of the present invention.
Optionally, a function control (denoted as a first control) or an instruction input interface (a first interface) for triggering the terminal device to apply for a storage space in the RAM may be provided in the system setting or the application program of the terminal device. Specifically, after the terminal device receives an input of the first control from the user, or receives a specific code input in the first interface from the user, S200 may be executed. In addition, the terminal device may also automatically execute the above S200 when the terminal device is powered on.
Illustratively, the terminal device may be configured with a High-level Operating System (HLOS). The terminal device can apply for the first memory space in the RAM by its HLOS. Specifically, the input of the user to the first control or the input of the user to the first interface may be used to trigger the terminal device to call its HLOS to apply for the first storage space in the RAM.
It can be understood that after the terminal device applies for obtaining the first storage space, the terminal device starts to store the log information in the first storage space until the terminal device generates and obtains the first piece of log information. For example, the first log information provided by the embodiment of the present invention is the first log information stored after the terminal device applies for obtaining the first storage space.
In addition, the terminal device may sequentially store the generated log information in the first storage space in a queue form in order of the generation time of the log information from early to late. The log information with the earlier generation time of the terminal equipment can be stored in the front storage position in the first storage space; conversely, the log information generated later by the terminal device may be stored in a later storage location in the first storage space.
Specifically, when the terminal device generates the first log information, if the first storage space of the terminal device is full, the terminal device may delete some log information stored in the first storage space at the earliest generation time (that is, at the earliest storage location), and store the first log information in a later storage location in the first storage space. That is, the terminal device may delete one or more pieces of log information in the first storage space, so that there is enough capacity in the first storage space to store the first log information (i.e., the log information that is newly generated by the terminal device). The process of storing the log information into the first storage space by the terminal device may be recorded as a loop coverage storage process.
And S203, when the terminal equipment is abnormal, the terminal equipment stores the first log information into a second storage space, wherein the second storage space is a storage space in a ROM in the terminal equipment.
It is understood that, in the process of storing the first log information in the second storage space by the terminal device, the terminal device may store all the log information in the current first storage space in the second storage space. At this time, all log information in the first storage space includes the first log information, or the all log information is the first log information itself.
The ROM of the terminal device may be a Flash Memory (Flash Memory) or a Secure Digital Card (SD Card) in the terminal device.
It can be understood that, in the embodiment of the present invention, after S202 and before S203, the terminal device may determine that an abnormality occurs in the terminal device.
The terminal equipment can autonomously judge whether the terminal equipment is abnormal or not so as to determine that the terminal equipment is abnormal. Or, the user may determine whether the terminal device is abnormal or not according to experience, and indicate the terminal device that the terminal device is abnormal. Specifically, after the terminal device determines that the terminal device is abnormal, the above S203 may be executed.
Specifically, the terminal device provided in the embodiment of the present invention may include an abnormality identification module, where the abnormality identification module is configured to detect whether the mobile terminal is abnormal.
Optionally, a function control (denoted as a second control) or an instruction input interface (denoted as a second interface) for triggering the terminal device to store the log information in the first storage space into the second storage space may be provided in the system setting or the application program of the terminal device. Specifically, the terminal device may execute S203 after receiving an input of the second control from the user or receiving a specific code input in the second interface by the user.
It can be understood that the terminal device that may be provided in the embodiment of the present invention may include a user interface (DCI) for changing an operation mode of the Diag _ mdlog process. The second control may be a control corresponding to the DCI interface, or the second interface may be an interface of a client including the DCI interface.
In addition, in the embodiment of the present invention, the capacity of the second storage space may be greater than or equal to the capacity of the first storage space.
Optionally, in this embodiment of the present invention, the second storage space in the ROM of the terminal device may be preset by the terminal, or the terminal device applies for the ROM of the terminal device. The terminal device may use a storage space with a capacity greater than or equal to the preset capacity in the ROM as the second storage space.
Optionally, when the terminal device is abnormal, the terminal device may store the log information in the first storage space to the second storage area within a preset time. The terminal device can sequentially store the log information of the storage positions from front to back in the first storage space to the storage positions from front to back in the second storage space.
It can be understood that a duration for the terminal device to store all log information in the first storage area, the data amount of which is equal to the preset capacity, into the second storage space can be recorded as a first duration (e.g., 3 seconds).
Specifically, in order to ensure that the terminal device can store all log information in the first storage space into the second storage space, the preset duration may be greater than or equal to the first duration. For example, the preset time period is any one of 3 seconds to 6 seconds.
Illustratively, when the terminal device starts to store the log information in the first storage space into the second storage space, the log information in the first storage space may be recorded as a first set of log information, and the first set of log information includes the first log information.
It is understood that, when the terminal device starts to store the log information in the first storage space to the second storage space, the terminal device may also continue to generate log information (e.g., second log information) during the operation. At this time, the terminal device may store the second log information in the first storage space in a covering manner, and after the terminal device stores the first set of log information in the second storage space within a preset time period, the terminal device may store the second log information in the second storage space.
It is understood that the terminal device stores the log information into the second storage space continuously, that is, the log information stored into the second storage space may not be deleted by being overwritten.
It should be noted that the method for storing log information provided by the embodiment of the present invention is applied to a terminal device, and can obtain first log information generated in an operation process of the terminal device; storing the first log information into a first storage space, wherein the first storage space is a storage space in a RAM in the terminal equipment; in the case where an abnormality occurs in the terminal device, the first log information is stored in a second storage space, which is a storage space in a ROM in the terminal device. Based on the scheme, the terminal device can store the log information (such as the first log information) generated by the terminal in the storage space of the RAM in real time in the running process, so that the situation that the terminal device cannot acquire the log information generated under the condition that the terminal device is abnormal can be avoided. In addition, because only the log information generated when the terminal device is abnormal can be stored in the storage space of the ROM of the terminal device, and the log information generated by the terminal device does not need to be stored in real time for a long time, the storage space in the ROM of the terminal device can be occupied less, and the problem that the power consumption of the terminal device is large because the log information is stored in the ROM for a long time in real time is avoided. The method and the device can store the log information generated by the terminal equipment in real time under the condition that the power consumption of the terminal equipment is not increased and the storage space of a ROM of the terminal equipment is not excessively occupied, so that the log information related to the abnormity can be obtained under the condition that the terminal equipment is abnormal.
In a possible implementation manner, the method for storing log information provided in the embodiment of the present invention further includes S204 after S203. Illustratively, as shown in fig. 3, the method for storing log information according to an embodiment of the present invention further includes, after S203 shown in fig. 2, S204:
s204, the terminal equipment releases the first storage space.
It will be appreciated that the available free memory space of the RAM of the terminal device increases after the terminal device has released the first memory space. Therefore, the storage resource of the terminal equipment is saved, namely the storage resource in the process of storing the log information by the terminal equipment is saved.
In a possible implementation manner, the method for storing log information provided in the embodiment of the present invention further includes S205 before S201 provided in the above embodiment.
S205, the terminal device creates an obtaining process, and the obtaining process is used for obtaining log information generated in the running process of the terminal device.
Optionally, a system setting or an application of the terminal device may provide a function control (denoted as a third control) for capturing log information. Specifically, the terminal device may input the third control element to trigger the terminal device to create an obtaining process, so as to capture log information generated by the terminal device in real time.
It is to be understood that S200 in the above embodiment may be performed before S205 described above.
For example, the acquiring process that can be performed in the terminal device according to the embodiment of the present invention may be a diag _ mdlog process.
It should be noted that, in the embodiment of the present invention, the working modes adopted by the terminal device to run the acquisition process may include a loop mode and a stream mode. The terminal device works in a loop mode through the acquisition process, which refers to a process that the terminal device stores generated log information into a first storage space in the RAM in a loop mode. The terminal device works in a stream mode through the acquisition process, which refers to a process that the terminal device stores the log information in the first storage space into a second storage space in the ROM.
Illustratively, as shown in fig. 4, S201 shown in fig. 3 further includes S205, and S201 in the above embodiment may be implemented by S201 a:
s201a, the terminal device acquires the first log information through the acquisition process.
Illustratively, the terminal device may execute command line Sa: diag _ mdlog-t2-p2-f/sdcard/diag.cfg, to cause the terminal device to acquire log information, such as the first log information described above.
Wherein, the t parameter represents the running mode when the diag _ mdlog process is created, and 2 in t2 represents the loop mode; the p parameter represents log information of which modules are collected by the diag _ mdlog process, and 2 in p2 represents an MPSS module; the f parameter represents the log mask used by the diag _ mdlog process, which defines the information of the module that needs to be collected. The module that the terminal device defined by the log mask needs to acquire may be a sub-module in the MPSS module, for example, the MPSS module includes a module indicating a Global System for Mobile (GSM).
For example, the terminal device in the embodiment of the present invention may include an obtaining module, where the obtaining module may run the above-mentioned diag _ mdlog process.
It is understood that the terminal device executes the command line Sa, i.e., may acquire the first log information through the acquisition process. Accordingly, after the terminal device acquires the first log information, the first log information can be stored in the first storage space by the acquiring process in a loop mode. At this time, the terminal device executes the command line Sa, and S201 and S202 in the above embodiment may be executed corresponding to the terminal device.
Further, the terminal device may execute command line Sb: diag _ dci _ client-i < the _ input _ file >/contents: 4b, 12, c, 8, 0, 1, 0.
The diag _ DCI _ client is a DCI interface client, the client may call the DCI interface to change the operation mode of the diag _ mdlog, and the command line Sb may change the operation mode of the diag _ mdlog into the streaming mode.
It is understood that when the terminal device executes the command line Sb, the terminal device may store the log information in the first storage space into the second storage space, that is, the terminal device may execute S203.
Specifically, as shown in fig. 4, S202 in the above embodiment may be implemented by S202a, and S203 may be implemented by S203 a:
s202a, the terminal device stores the first log information in the first storage space in a round-robin manner through the acquisition process.
S203a, under the condition that the terminal device is abnormal, the terminal device stores the log information in the first storage space to the second storage space by adopting a stream mode through the acquisition process.
In addition, as shown in fig. 4, S204 in the above embodiment may be implemented by S204 a:
s204a, the terminal device terminates the acquiring process and releases the first storage space.
For example, in the embodiment of the present invention, the terminal device may execute command line Sc: diag _ mdlog-p 2-k-c.
The p parameter is already described in the command line Sa, and is not described herein again. The k parameter represents closing the diag _ mdlog process; the c parameter represents the log mask described by the purge command line Sa (e.g., log information included in the MPSS module indicating that the GSM module corresponds to).
It is understood that the terminal device may start executing the command lines Sa and Sb under automatic triggering or under user triggering. Subsequently, in the event of an abnormality of the terminal device, the terminal device triggers automatically, or under the trigger of the user, execution of the command line Sc may be started.
It should be noted that, in the method for storing log information provided in the embodiment of the present invention, the terminal device does not need to store the log information, and the terminal device may not store the log information in the RAM; also, in the case where no abnormality occurs in the terminal device, the terminal device may not store the log information in the ROM. Thus, the storage resource in the terminal device can be further saved.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. Fig. 5 shows a terminal device 50 comprising an acquisition module 501, a first storage module 502 and a second storage module 503; an obtaining module 501, configured to obtain first log information generated in an operation process of the terminal device 50; a first storage module 502, configured to store the first log information acquired by the acquisition module 501 in a first storage space, where the first storage space is a storage space in a RAM in the terminal device 50; and a second storage module 503, configured to, in a case where an abnormality occurs in the terminal device 50, store the first log information stored by the first storage module 502 in a second storage space, where the second storage space is a storage space in a ROM in the terminal device 50.
Optionally, as shown in fig. 6, a schematic structural diagram of another terminal device provided in the embodiment of the present invention is shown. The terminal device 50 shown in fig. 6 further includes: a release module 504; a releasing module 504, configured to release the first storage space after the second storage module 503 stores the first log information in the second storage space.
Optionally, as shown in fig. 7, a schematic structural diagram of another terminal device provided in the embodiment of the present invention is shown. The terminal device 50 shown in fig. 7 further includes: a creation module 505; a creating module 505, configured to create an obtaining process before the obtaining module 501 obtains the first log information generated in the operation process of the terminal device 50, where the obtaining process is used to obtain the log information in the terminal device 50; the obtaining module 501 is specifically configured to obtain the first log information through the obtaining process created by the creating module 505.
Optionally, the releasing module 504 is specifically configured to terminate the acquiring process created by the creating module 505, and release the first storage space.
Optionally, as shown in fig. 8, a schematic structural diagram of another terminal device provided in the embodiment of the present invention is shown. The terminal device 50 shown in fig. 8 further includes: an application module 506; an applying module 506, configured to apply for a storage space with a preset capacity to the RAM before the first storage module 502 stores the first log information in the first storage space, and use the storage space with the preset capacity as the first storage space.
It is understood that the terminal device provided in the embodiment of the present invention may further include other functional modules, for example, an abnormality recognition module may also be included in the terminal device 50. The abnormality identification module may be configured to determine that the terminal device 50 has an abnormality before the second storage module 503 stores the log information stored in the first storage space in the second storage space.
The terminal device 50 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the above embodiments, and is not described here again to avoid repetition.
It should be noted that, the terminal device provided in the embodiment of the present invention may obtain the first log information generated in the operation process of the terminal device; storing the first log information into a first storage space, wherein the first storage space is a storage space in a RAM in the terminal equipment; in the case where an abnormality occurs in the terminal device, the first log information is stored in a second storage space, which is a storage space in a ROM in the terminal device. Based on the scheme, the terminal device can store the log information (such as the first log information) generated by the terminal in the storage space of the RAM in real time in the running process, so that the situation that the terminal device cannot acquire the log information generated under the condition that the terminal device is abnormal can be avoided. In addition, because only the log information generated when the terminal device is abnormal can be stored in the storage space of the ROM of the terminal device, and the log information generated by the terminal device does not need to be stored in real time for a long time, the storage space in the ROM of the terminal device can be occupied less, and the problem that the power consumption of the terminal device is large because the log information is stored in the ROM for a long time in real time is avoided. The method and the device can store the log information generated by the terminal equipment in real time under the condition that the power consumption of the terminal equipment is not increased and the storage space of a ROM of the terminal equipment is not excessively occupied, so that the log information related to the abnormity can be obtained under the condition that the terminal equipment is abnormal.
Fig. 9 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 9 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 110 is configured to obtain first log information generated in an operation process of the terminal device; a memory 109 for storing the first log information acquired by the processor 110 into a first storage space, which is a storage space in a RAM in the terminal device; in the case where an abnormality occurs in the terminal device 50, the log information stored in the first storage space is stored to the second storage space, which is a storage space in the ROM in the terminal device.
It should be noted that, the terminal device provided in the embodiment of the present invention may obtain the first log information generated in the operation process of the terminal device; storing the first log information into a first storage space, wherein the first storage space is a storage space in a RAM in the terminal equipment; when an abnormality occurs in the terminal device, the first log information is stored in a second storage space which is a storage space in a ROM in the terminal device. Based on the scheme, the terminal device can store the log information (such as the first log information) generated by the terminal in the storage space of the RAM in real time in the running process, so that the situation that the terminal device cannot acquire the log information generated under the condition that the terminal device is abnormal can be avoided. In addition, because only the log information generated when the terminal device is abnormal can be stored in the storage space of the ROM of the terminal device, and the log information generated by the terminal device does not need to be stored in real time for a long time, the storage space in the ROM of the terminal device can be less occupied, and the problem that the power consumption of the terminal device is large because the log information is stored in the ROM for a long time in real time is avoided. The method and the device can store the log information generated by the terminal equipment in real time under the condition that the power consumption of the terminal equipment is not increased and the storage space of a ROM of the terminal equipment is not excessively occupied, so that the log information related to the abnormity can be obtained under the condition that the terminal equipment is abnormal.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above method for storing log information, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above method for storing log information, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer readable storage medium is, for example, ROM, RAM, magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for storing log information is applied to a terminal device, and the method comprises the following steps:
acquiring first log information generated in the operation process of the terminal equipment, wherein the first log information comprises: log information generated under the condition that the terminal equipment is abnormal;
storing the first log information to a first storage space by adopting a circulation mode, wherein the first storage space is a storage space in a Random Access Memory (RAM) in the terminal equipment;
under the condition that the terminal equipment is abnormal, storing the first log information into a second storage space in a streaming mode, and storing second log information into the first storage space, wherein the second storage space is a storage space in a Read Only Memory (ROM) in the terminal equipment; the second log information is log information which is continuously generated by the terminal equipment in the running process when the terminal equipment starts to store the log information in the first storage space to the second storage space;
after the storing the first log information to the second storage space, the method further comprises:
and releasing the first storage space.
2. The method for storing log information according to claim 1, wherein before the obtaining the first log information generated during the operation of the terminal device, the method further comprises:
creating an acquisition process, wherein the acquisition process is used for acquiring log information generated in the operation process of the terminal equipment;
the acquiring of the first log information generated in the operation process of the terminal device includes:
and acquiring the first log information through the acquisition process.
3. The method of storing log information of claim 2, wherein the freeing the first storage space comprises:
and terminating the acquiring process and releasing the first storage space.
4. A method of storing log information according to any of claims 1 to 3, wherein prior to storing the first log information to a first storage space, the method further comprises:
and applying for a storage space with a preset capacity from the RAM, and taking the storage space with the preset capacity as the first storage space.
5. A terminal device, comprising: the device comprises an acquisition module, a first storage module, a second storage module and a release module;
the acquiring module is configured to acquire first log information generated in an operation process of the terminal device, where the first log information includes: log information generated under the condition that the terminal equipment is abnormal;
the first storage module is configured to store the first log information acquired by the acquisition module to a first storage space in a loop mode, where the first storage space is a storage space in a random access memory RAM in the terminal device;
the second storage module is configured to store the first log information stored by the first storage module to a second storage space in a streaming mode when the terminal device is abnormal, and store second log information to the first storage space, where the second storage space is a storage space in a read only memory ROM in the terminal device; the second log information is log information continuously generated by the terminal equipment in the running process when the terminal equipment starts to store the log information in the first storage space into the second storage space;
the releasing module is used for releasing the first storage space after the second storage module stores the first log information into the second storage space.
6. The terminal device according to claim 5, wherein the terminal device further comprises: a creation module;
the creating module is configured to create an obtaining process before the obtaining module obtains first log information generated in an operation process of the terminal device, where the obtaining process is used to obtain the log information in the terminal device;
the obtaining module is specifically configured to obtain the first log information through the obtaining process created by the creating module.
7. The terminal device according to claim 6, wherein the releasing module is specifically configured to terminate the obtaining process created by the creating module, and release the first storage space.
8. The terminal device according to any of claims 5 to 7, wherein the terminal device further comprises: an application module;
the application module is used for applying a storage space with a preset capacity to the RAM before the first log information is stored in the first storage space by the first storage module, and taking the storage space with the preset capacity as the first storage space.
9. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of storing log information according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of storing log information according to any one of claims 1 to 4.
CN201811458064.0A 2018-11-30 2018-11-30 Method for storing log information and terminal equipment Active CN109614042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811458064.0A CN109614042B (en) 2018-11-30 2018-11-30 Method for storing log information and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811458064.0A CN109614042B (en) 2018-11-30 2018-11-30 Method for storing log information and terminal equipment

Publications (2)

Publication Number Publication Date
CN109614042A CN109614042A (en) 2019-04-12
CN109614042B true CN109614042B (en) 2022-09-02

Family

ID=66005630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811458064.0A Active CN109614042B (en) 2018-11-30 2018-11-30 Method for storing log information and terminal equipment

Country Status (1)

Country Link
CN (1) CN109614042B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471826A (en) * 2019-08-09 2019-11-19 广东小天才科技有限公司 A kind of method and device for recording ADSP log based on high-pass platform
CN114311029A (en) * 2021-12-22 2022-04-12 珠海一微半导体股份有限公司 Data management method and chip of robot and robot

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204979A (en) * 2015-07-28 2015-12-30 维沃移动通信有限公司 Recording method of Android logs and mobile terminal
JP2016062150A (en) * 2014-09-16 2016-04-25 京セラ株式会社 Communication apparatus and communication apparatus log storage method
CN108572955A (en) * 2017-03-07 2018-09-25 大唐移动通信设备有限公司 A kind of journal file generation method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488578B (en) * 2012-12-28 2016-05-25 晶天电子(深圳)有限公司 Virtual memory facilities (VMD) application/driver
US9501346B2 (en) * 2014-01-21 2016-11-22 Oracle International Corporation Fine and coarse granularity logging handler
KR20160033519A (en) * 2014-09-18 2016-03-28 삼성전자주식회사 Method of data storage device for generating log for write commands and method of raid system including same
JP6292213B2 (en) * 2015-11-25 2018-03-14 コニカミノルタ株式会社 Image forming apparatus and control program
CN105871587A (en) * 2015-12-10 2016-08-17 乐视致新电子科技(天津)有限公司 Log uploading method and device
CN105677258A (en) * 2016-02-23 2016-06-15 浪潮(北京)电子信息产业有限公司 Method and system for managing log data
CN107562567A (en) * 2016-06-30 2018-01-09 华为技术有限公司 A kind of data processing method and data processing equipment
CN106682162B (en) * 2016-12-26 2021-03-09 浙江宇视科技有限公司 Log management method and device
CN106649068A (en) * 2016-12-28 2017-05-10 福建三元达网络技术有限公司 System fault log recording method and system
CN106951521B (en) * 2017-03-20 2020-09-15 Oppo广东移动通信有限公司 Method, device and system for reading and writing log file
CN108182154A (en) * 2017-12-22 2018-06-19 深圳大普微电子科技有限公司 A kind of reading/writing method and solid state disk of the journal file based on solid state disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016062150A (en) * 2014-09-16 2016-04-25 京セラ株式会社 Communication apparatus and communication apparatus log storage method
CN105204979A (en) * 2015-07-28 2015-12-30 维沃移动通信有限公司 Recording method of Android logs and mobile terminal
CN108572955A (en) * 2017-03-07 2018-09-25 大唐移动通信设备有限公司 A kind of journal file generation method and device

Also Published As

Publication number Publication date
CN109614042A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN107861817B (en) Thread blocking-based memory optimization method, mobile terminal and readable storage medium
CN107590057B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN107807861B (en) Screen freezing solution method, mobile terminal and computer readable storage medium
CN110058836B (en) Audio signal output method and terminal equipment
CN107678876B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN107704363B (en) Screen freezing monitoring method, mobile terminal and computer readable storage medium
CN108052390B (en) Thread blocking-based memory cleaning method, mobile terminal and readable storage medium
CN107704133B (en) Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN109976611B (en) Terminal device control method and terminal device
CN107885635B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN109522278B (en) File storage method and terminal equipment
CN109407832B (en) Terminal device control method and terminal device
CN107908492B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107766222B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107908491B (en) Card screen detection and solution method, mobile terminal and computer readable storage medium
CN108762829B (en) Method, client and terminal for beautifying image
CN107967177B (en) Memory optimization method based on core process, mobile terminal and readable storage medium
CN111078523A (en) Log obtaining method and device, storage medium and electronic equipment
CN109614042B (en) Method for storing log information and terminal equipment
CN107908478B (en) Memory cleaning method, mobile terminal and computer readable storage medium
CN109117037B (en) Image processing method and terminal equipment
US11418945B2 (en) Information processing method for RF device and mobile terminal
CN107832191B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107872367B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107818036B (en) Black screen detection method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant