CN107239493A - Mobile terminal and its offline logs processing method, computer-readable recording medium - Google Patents
Mobile terminal and its offline logs processing method, computer-readable recording medium Download PDFInfo
- Publication number
- CN107239493A CN107239493A CN201710292816.XA CN201710292816A CN107239493A CN 107239493 A CN107239493 A CN 107239493A CN 201710292816 A CN201710292816 A CN 201710292816A CN 107239493 A CN107239493 A CN 107239493A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- offline logs
- offline
- memory cache
- logs
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
Abstract
The invention discloses a kind of mobile terminal and its offline logs processing method, computer-readable recording medium, methods described comprises the following steps:Mobile terminal detects itself whether enter engineering mode or carry out factory reset operation;Itself enter engineering mode if detected, whether detection offline logs have turned on;If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or temporary file;Offline logs in the memory cache or temporary file are preserved into user data subregion, during in order to avoid the memory cache or temporary file reaching maximum upper limit, the offline logs in memory cache or temporary file are covered by the offline logs of the newest crawl of mobile terminal;If detecting itself carries out factory reset operation, offline logs are closed.The present invention can lift the efficiency of analysis of problems existed in production positioning, production hour and human cost needed for reduction problem repetition and follow-up analysis.
Description
Technical field
The present invention relates to field of terminal technology, espespecially a kind of mobile terminal and its offline logs processing method, computer can
Read storage medium.
Background technology
At present, it is all that acquiescence is closed in whole production process that the offline logs (Log) of mobile terminal, which capture function,.When
, it is necessary to engineering code is manually entered, into engineering mode, into offline Log menus when needing to track or reappearing production abnormal problem
Interface, carries out opening after offline Log manually, could start offline Log crawls function;And it is only offline in user's manual-lock
After Log functions, offline Log batches can be just copied in user data (User Data) subregion, easily cause effective Log's
Lose.
Because offline Log functions acquiescence is to close, when running into production problem in process of production, it is impossible to timely obtain
Take effective Log.In order to reappear and capture offline Log, it is necessary to which manually opened offline Log functions are simultaneously repeated when going wrong
Production procedure.Therefore, existing offline logs processing method, both wastes production hour and cost, also influences the speed of positioning problems
Degree and accuracy;If serious problems, in some instances it may even be possible to can cause to stop line stopping production, the serious of production hour and production cost is caused
Waste;When the production problem is probabilistic event, it is necessary to which production procedure, which is repeated several times, to be reappeared, and usually require many
Research and development colleague in position causes the waste of research and development of software cost with line analysis positioning.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of mobile terminal and its offline logs processing method, meter
Calculation machine readable storage medium storing program for executing, can lift efficiency, the reduction R&D costs of analysis of problems existed in production positioning.
In order to reach the object of the invention, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of offline logs processing method of mobile terminal, methods described includes:
Mobile terminal detects itself whether enter engineering mode or carry out factory reset operation;
If the mobile terminal, which detects itself, enters engineering mode,:
Whether the mobile terminal detection offline logs have turned on;
If offline logs have turned on, the mobile terminal crawl offline logs simultaneously write the offline logs grabbed
Memory cache or temporary file;
The mobile terminal preserves the offline logs in the memory cache or temporary file into user data subregion,
During in order to avoid the memory cache or temporary file reaching maximum upper limit, the offline logs in memory cache or temporary file are moved
The offline logs of the newest crawl of terminal are covered;
If mobile terminal detects itself and carries out factory reset operation,:
The mobile terminal closes offline logs.
Further, the mobile terminal preserves the offline logs in the memory cache or temporary file to number of users
According to the step in subregion, specifically include:
Offline logs in the memory cache or the temporary file are preserved to institute the mobile terminal period
State in user data subregion.
Further, the mobile terminal preserves the offline logs in the memory cache or temporary file to number of users
According to the step in subregion, specifically include:
The mobile terminal pre-sets offline logs higher limit;
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs higher limit
When, the mobile terminal preserves the offline logs in the memory cache or the temporary file to the user data subregion
In.
Further, the offline logs in the memory cache or temporary file are preserved to user in the mobile terminal
After step in data partition and the mobile terminal detect itself carry out factory reset operation the step of before, institute
Stating method also includes:
The mobile terminal detects whether itself occurs anomalous event;
, will be described offline in the user data subregion when the mobile terminal, which detects itself, occurs anomalous event
Daily record is uploaded to the server pre-set.
Further, the anomalous event include application program without response abnormality, program crashing is abnormal, it is abnormal to restart and dead
Machine is abnormal.
The embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal includes processor, memory and communication
Bus, the processor and the memory are communicated to connect by the communication bus;Wherein,
The memory is used to store offline logs processing routine;
The processor is used to call the offline logs processing routine stored in the memory, and performs following steps:
Detect whether mobile terminal enters engineering mode or carry out factory reset operation;
If detecting mobile terminal enters engineering mode,:
Whether detection offline logs have turned on;
If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or faced
When file;
Offline logs in the memory cache or temporary file are preserved into user data subregion, in order to avoid the internal memory
When caching or temporary file reach maximum upper limit, the offline logs in memory cache or temporary file are by the newest crawl of mobile terminal
Offline logs covered;
If detecting mobile terminal carries out factory reset operation, offline logs are closed.
Further, the processor is used to preserve the offline logs in the memory cache or temporary file to user
Specifically included in data partition:
Periodically the offline logs in the memory cache or the temporary file are preserved to the user data point
Qu Zhong.
Further, the processor is used to preserve the offline logs in the memory cache or temporary file to user
Specifically included in data partition:
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs pre-set
During higher limit, the offline logs in the memory cache or the temporary file are preserved into the user data subregion.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage
There is one or more program, one or more of programs can be following to realize by one or more computing device
Step:
Detect whether mobile terminal enters engineering mode or carry out factory reset operation;
If detecting mobile terminal enters engineering mode,:
Whether detection offline logs have turned on;
If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or faced
When file;
Offline logs in the memory cache or temporary file are preserved into user data subregion, in order to avoid the internal memory
When caching or temporary file reach maximum upper limit, the offline logs in memory cache or temporary file are by the newest crawl of mobile terminal
Offline logs covered;
If detecting mobile terminal carries out factory reset operation, offline logs are closed.
Further, preserved in the offline logs by the memory cache or temporary file to user data subregion
In step after, and it is described detect mobile terminal carry out factory reset operation the step of before, it is one or
Multiple programs can also be by one or more of computing devices, to realize following steps:
Detect whether the mobile terminal occurs anomalous event;
When anomalous event occurs for the mobile terminal, the offline logs in the user data subregion are uploaded in advance
The server of setting.
Mobile terminal proposed by the present invention and its offline logs processing method, computer-readable recording medium, by moving
When dynamic terminal enters engineering mode, capture offline logs and preserve the offline logs of crawl into user data subregion, and
During mobile terminal factory reset, offline logs crawl function is closed, when running into production problem, number of users can be directly obtained
According to the offline logs in subregion, the efficiency of analysis of problems existed in production positioning is improved, problem repetition is reduced and follow-up analysis is required
Production hour and human cost.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the schematic diagram of the communication system communicated between support mobile terminal of the present invention;
Fig. 3 is a kind of schematic flow sheet of the offline logs processing method of mobile terminal of the embodiment of the present invention;
Fig. 4 is a kind of structural representation of mobile terminal of the embodiment of the present invention.
Embodiment
Technical scheme is described in detail below in conjunction with drawings and Examples.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
With reference to Fig. 3, a kind of offline logs processing method of mobile terminal according to embodiments of the present invention, including following step
Suddenly:
Step 301:Mobile terminal detects itself whether enter engineering mode or carry out factory reset operation;
In the present embodiment, the type of mobile terminal can be configured according to actual needs, for example, mobile terminal can be hand
Machine, tablet personal computer etc., below by by the system of mobile terminal for Android (Android) system exemplified by be described in detail.
Heretofore described engineering mode, refers to a kind of pattern of professional mobile phone engineer debugging.Engineering mode
Function is as detecting hardware adaptor and checking the indispensable actions menu and function of production relevant information in production procedure, almost in institute
Having in production procedure can all use.But engineering mode is for domestic consumer, be it is sightless, almost all of user all without
It is concerned about and enters the pattern.
Step 302:If the mobile terminal, which detects itself, enters engineering mode,:
Whether the mobile terminal detection offline logs have turned on;
It will be appreciated that in program development process, daily record (Log) is widely used for logging program implementation procedure
Mechanism.Heretofore described offline logs, be referred to as produce daily record, refer to mobile terminal produce, for research and development
Personnel inspection mobile terminal state and the daily record for carrying out positioning problems.Can be by setting the grade of daily record (as in detail
Verbose, debug Debug, information Info, alert Warn, mistake Error) or daily record crawl scope (such as display screen relevant date
Will) come the scope of the offline logs that configure crawl.
Step 303:If offline logs have turned on, the mobile terminal crawl offline logs are simultaneously offline by what is grabbed
Daily record writes memory cache or temporary file;
Specifically, in step 303, the offline logs can be manually opened by user, can also be by engineering mode certainly
It is dynamic to open.By the offline logs crawl function of when mobile terminal enters engineering mode, opening mobile terminal so that in production
During most of flow in, offline logs be open, so as to capture effective offline logs in time.
It should be noted that in Android system, the daily record that mobile terminal is produced can be stored in memory cache simultaneously and be
In system temporary folder (being defaulted as/dev/log), and when the daily record produced excessively causes the memory cache or temporary file
When reaching maximum upper limit, existing offline logs can be by the offline day of the newest crawl of mobile terminal in memory cache or temporary file
Will is covered.
Step 304:The mobile terminal preserves the offline logs in the memory cache or temporary file to number of users
It is offline in memory cache or temporary file during in order to avoid the memory cache or temporary file reaching maximum upper limit according in subregion
Daily record is covered by the offline logs of the newest crawl of mobile terminal;
Further, the step 304 is specifically included:
Offline logs in the memory cache or the temporary file are preserved to institute the mobile terminal period
State in user data subregion, during in order to avoid the memory cache or temporary file reaching maximum upper limit, memory cache or temporary file
In offline logs covered by the offline logs of the newest crawl of mobile terminal.
In an embodiment of the present invention, the mobile terminal can be with 30 seconds for a cycle, periodically will be described interior
The offline logs deposited in caching or the temporary file are preserved into the user data subregion.
Further, the step 304 is specifically included:
The mobile terminal pre-sets offline logs higher limit;
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs higher limit
When, the mobile terminal preserves the offline logs in the memory cache or the temporary file to the user data subregion
In.
Further, in step 304, the mobile terminal is by the offline logs in the memory cache or temporary file
Preserve before the step into user data subregion, packing compression is carried out to the offline logs.
In an embodiment of the present invention, in step 304, the mobile terminal is by the memory cache or temporary file
Offline logs when preserving into user data subregion, the file of generation is said with the menu function of current time stamp and current operation
It is bright to be used as file name identifier.
In an embodiment of the present invention, after the step 304, methods described also includes:
The mobile terminal detects whether itself exits engineering mode;
When mobile terminal, which detects itself, exits engineering mode, the offline logs in memory cache or temporary file are protected
Deposit into user data subregion.
Further, after the step 304, methods described also includes:
The mobile terminal detects whether itself occurs anomalous event;
When mobile terminal, which detects itself, occurs anomalous event, the daily record in user data subregion is uploaded to and set in advance
The server put.
Specifically, the anomalous event includes application program without response (Application Not Responding, ANR)
Abnormal, program crashing (i.e. CRASH) is abnormal, it is abnormal to restart, it is abnormal etc. to crash.
Restart it is abnormal, crash it is abnormal etc. be mobile terminal the common Exception Type of system, it is abnormal or extremely when restarting
During the Exception Type such as machine is abnormal, Android can be to ro.bootmode in mobile terminal, the system such as sys.android.reboot
Attribute is configured, as long as judging the value of these attributes it may determine that whether Android is restarted, crashed.ANR is different
Often, CRASH it is abnormal etc. be mobile terminal application program in Common Abnormity type, because ActivityManagerService is
The hard core control module of application program, when there is ANR exceptions or CRASH abnormal, ActivityManagerService can be to going out
Existing ANR exceptions or the abnormal applications of CRASH are handled accordingly.I.e. when occurring anomalous event, mobile terminal will obtain different
The corresponding Log of ordinary affair part.
Further, by Wireless Fidelity (Wireless-Fidelity, WiFi) mode, by user data subregion
Offline logs are uploaded to the server pre-set.
User can also be by way of USB (Universal Serial Bus) storage device copy, by user data
Daily record in subregion is uploaded to the server pre-set.
Step 305:If mobile terminal detects itself and carries out factory reset operation,:
The mobile terminal closes offline logs.
It should be noted that being used to produce in the official software release delivered in mobile terminal, offline logs are to write from memory
Recognize unlatching because offline logs open not only result in mobile terminal power consumption increase, also result in system compatibility certification without
Method passes through, and when offline logs accumulation is excessive, can also take excessive Installed System Memory and file area, and then cause Installed System Memory not
Foot or system space are not enough.Meanwhile, factory reset operation, is last procedure in each stage of production procedure,
Particularly carry out model machine dispatch from the factory packaging before last procedure.Therefore, by mobile terminal factory reset, closing
Offline logs capture function, it is ensured that reach in the official software release in user's hand, offline logs have been off.
Further, after the step 305, methods described also includes:
When mobile terminal is started shooting every time, detect whether the offline logs of itself are turned off;
If it has not, closing offline logs, the risk impacted to user is surprisingly opened to reduce offline logs.
In an embodiment of the present invention, after the step 305, methods described also includes:
When being first powered on after updating mobile terminal, detect whether the offline logs of itself are turned off;
If it has not, closing offline logs.
Specifically, described updating mobile terminal include by aerial software upgrading (Firmware Over-The-Air,
FOTA) or SD (Secure Digital) storage card local upgrade is passed through.
Reference picture 4, the embodiment of the present invention additionally provides a kind of mobile terminal 400, and the mobile terminal 400 includes processor
401st, memory 402 and communication bus 403, the processor 401 and the memory 402 are logical by the communication bus 403
Letter connection;Wherein,
The memory is used to store offline logs processing routine;
The processor 401 is used to call the offline logs processing routine stored in the memory 402, and performs following
Step:
Detect whether mobile terminal enters engineering mode or carry out factory reset operation;
If detecting mobile terminal enters engineering mode,:
Whether detection offline logs have turned on;
If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or faced
When file;
Offline logs in the memory cache or temporary file are preserved into user data subregion, in order to avoid the internal memory
When caching or temporary file reach maximum upper limit, the offline logs in memory cache or temporary file are by the newest crawl of mobile terminal
Offline logs covered;
If detecting mobile terminal carries out factory reset operation, offline logs are closed.
In the present embodiment, the type of mobile terminal can be configured according to actual needs, for example, mobile terminal can be hand
Machine, tablet personal computer etc., below by by the system of mobile terminal for Android (Android) system exemplified by be described in detail.
Heretofore described engineering mode, refers to a kind of pattern of professional mobile phone engineer debugging.Engineering mode
Function is as detecting hardware adaptor and checking the indispensable actions menu and function of production relevant information in production procedure, almost in institute
Having in production procedure can all use.But engineering mode is for domestic consumer, be it is sightless, almost all of user all without
It is concerned about and enters the pattern.
It will be appreciated that in program development process, daily record (Log) is widely used for logging program implementation procedure
Mechanism.Heretofore described offline logs, be referred to as produce daily record, refer to mobile terminal produce, for research and development
Personnel inspection mobile terminal state and the daily record for carrying out positioning problems.Can be by setting the grade of daily record (as in detail
Verbose, debug Debug, information Info, alert Warn, mistake Error) or daily record crawl scope (such as display screen relevant date
Will) come the scope of the offline logs that configure crawl.
Specifically, the offline logs can be manually opened by user, can also be automatically turned on by engineering mode.By
When mobile terminal enters engineering mode, the offline logs of mobile terminal are opened so that in most of flow in process of production,
Offline logs are to open, so as to capture effective offline logs in time.
It should be noted that in Android system, the daily record that mobile terminal is produced can be stored in memory cache simultaneously and be
In system temporary folder (being defaulted as/dev/log), and when the daily record produced excessively causes the memory cache or temporary file
When reaching maximum upper limit, existing offline logs can be by the offline day of the newest crawl of mobile terminal in memory cache or temporary file
Will is covered.
Further, the processor 401 be used for by the offline logs in the memory cache or temporary file preserve to
In user data subregion, specifically include:
Periodically the offline logs in the memory cache or the temporary file are preserved to the user data point
Qu Zhong.
In an embodiment of the present invention, can be with 30 seconds for a cycle, periodically by memory cache or temporary file
In offline logs preserve into user data subregion.
Further, the processor 401 be used for by the offline logs in the memory cache or temporary file preserve to
In user data subregion, specifically include:
Pre-set offline logs higher limit;
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs higher limit
When, the offline logs in the memory cache or the temporary file are preserved into the user data subregion.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
Before step in user data subregion, the processor 401 is additionally operable to call the offline logs processing routine, and performs following
Step:
Packing compression is carried out to the offline logs.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
In step in user data subregion, the file generated in the user data subregion, with current time stamp and the dish of current operation
Single function declaration is used as file name identifier.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
After step in user data subregion, the processor 401 is additionally operable to call the offline logs processing routine, and performs following
Step:
Whether detection mobile terminal exits engineering mode;
When detecting mobile terminal and exiting engineering mode, the daily record in memory cache or temporary file is preserved to user
In data partition.
In an embodiment of the present invention, preserved in the offline logs by memory cache or temporary file to number of users
After the step in subregion, the processor 401 is additionally operable to call the offline logs processing routine, and performs following walk
Suddenly:
Whether detection mobile terminal occurs anomalous event;
When detecting mobile terminal generation anomalous event, the daily record in user data subregion is uploaded to what is pre-set
Server.
Specifically, the anomalous event includes application program without response (Application Not Responding, ANR)
Abnormal, program crashing (i.e. CRASH) is abnormal, it is abnormal to restart, it is abnormal etc. to crash.
Restart it is abnormal, crash it is abnormal etc. be mobile terminal the common Exception Type of system, it is abnormal or extremely when restarting
During the Exception Type such as machine is abnormal, Android can be to ro.bootmode in mobile terminal, the system such as sys.android.reboot
Attribute is configured, as long as judging the value of these attributes it may determine that whether Android is restarted, crashed.ANR is different
Often, CRASH it is abnormal etc. be mobile terminal application program in Common Abnormity type, because ActivityManagerService is
The hard core control module of application program, when there is ANR exceptions or CRASH abnormal, ActivityManagerService can be to going out
Existing ANR exceptions or the abnormal applications of CRASH are handled accordingly.I.e. when occurring anomalous event, mobile terminal will obtain different
The corresponding Log of ordinary affair part.
Further, by Wireless Fidelity (Wireless-Fidelity, WiFi) mode, by the user data subregion
In offline logs be uploaded to the server pre-set.
User can also be by way of USB (Universal Serial Bus) storage device copy, by user data
Daily record in subregion is uploaded to the server pre-set.
It should be noted that being used to produce in the official software release delivered in mobile terminal, offline logs are to write from memory
Recognize unlatching because offline logs open not only result in mobile terminal power consumption increase, also result in system compatibility certification without
Method passes through, and when offline logs accumulation is excessive, can also take excessive Installed System Memory and file area, and then cause Installed System Memory not
Foot or system space are not enough.Meanwhile, factory reset operation, is last procedure in each stage of production procedure,
Particularly carry out model machine dispatch from the factory packaging before last procedure.Therefore, by mobile terminal factory reset, closing
Offline logs capture function, it is ensured that reach in the official software release in user's hand, offline logs have been off.
In an embodiment of the present invention, after the step of the closing offline logs, the processor 401 is additionally operable to adjust
With the offline logs processing routine, and perform following steps:
During each mobile terminal-opening, whether the offline logs of detection mobile terminal are turned off;
If it has not, closing offline logs, the risk impacted to user is surprisingly opened to reduce offline logs.
In an embodiment of the present invention, after the step of the closing offline logs, the processor 401 is additionally operable to adjust
With the offline logs processing routine, and perform following steps:
When being first powered on after updating mobile terminal, whether the offline logs of detection mobile terminal are turned off;
If it has not, closing offline logs.
Specifically, described updating mobile terminal include by aerial software upgrading (Firmware Over-The-Air,
FOTA) or SD (Secure Digital) storage card local upgrade is passed through.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable recording medium storage
There is one or more program, one or more of programs can be following to realize by one or more computing device
Step:
Detect whether mobile terminal enters engineering mode or carry out factory reset operation;
If detecting mobile terminal enters engineering mode,:
Whether detection offline logs have turned on;
If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or faced
When file;
Offline logs in the memory cache or temporary file are preserved into user data subregion, in order to avoid the internal memory
When caching or temporary file reach maximum upper limit, the offline logs in memory cache or temporary file are by the newest crawl of mobile terminal
Offline logs covered;
If detecting mobile terminal carries out factory reset operation, offline logs are closed.
It will be appreciated that in program development process, daily record (Log) is widely used for logging program implementation procedure
Mechanism.Heretofore described offline logs, be referred to as produce daily record, refer to mobile terminal produce, for research and development
Personnel inspection mobile terminal state and the daily record for carrying out positioning problems.Can be by setting the grade of daily record (as in detail
Verbose, debug Debug, information Info, alert Warn, mistake Error) or daily record crawl scope (such as display screen relevant date
Will) come the scope of the offline logs that configure crawl.
Heretofore described engineering mode, refers to a kind of pattern of professional mobile phone engineer debugging.Engineering mode
Function is as detecting hardware adaptor and checking the indispensable actions menu and function of production relevant information in production procedure, almost in institute
Having in production procedure can all use.But engineering mode is for domestic consumer, be it is sightless, almost all of user all without
It is concerned about and enters the pattern.
The offline logs can be manually opened by user, can also be automatically turned on by engineering mode.By mobile whole
When end enters engineering mode, the offline logs of mobile terminal are opened so that in most of flow in process of production, offline day
Will is to open, so as to capture effective offline logs in time.
It should be noted that in Android system, the daily record that mobile terminal is produced can be stored in memory cache simultaneously and be
In system temporary folder (being defaulted as/dev/log), and when the daily record produced excessively causes the memory cache or temporary file
When reaching maximum upper limit, existing offline logs can be by the offline day of the newest crawl of mobile terminal in memory cache or temporary file
Will is covered.
Further, the offline logs by the memory cache or temporary file are preserved into user data subregion
The step of, specifically include:
Periodically the offline logs in the memory cache or the temporary file are preserved to the user data point
Qu Zhong.
In an embodiment of the present invention, one or more of programs can be with 30 seconds for a cycle, periodically
Offline logs in memory cache or temporary file are preserved into user data subregion.
Further, the offline logs by the memory cache or temporary file are preserved into user data subregion
The step of, specifically include:
Pre-set offline logs higher limit;
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs higher limit
When, the offline logs in the memory cache or the temporary file are preserved into the user data subregion.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
Before step in user data subregion, the processor is additionally operable to perform the offline logs processing routine, to realize following step
Suddenly:
Packing compression is carried out to the offline logs.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
In step in user data subregion, the file generated in the user data subregion, with current time stamp and the dish of current operation
Single function declaration is used as file name identifier.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
After step in user data subregion, one or more of programs can also by one or more of computing devices,
To realize following steps:
Whether detection mobile terminal exits engineering mode;
When detecting mobile terminal and exiting engineering mode, by the offline logs in memory cache or temporary file preserve to
In user data subregion.
In an embodiment of the present invention, preserved in the offline logs by the memory cache or temporary file to use
After step in user data subregion, one or more of programs can also by one or more of computing devices,
To realize following steps:
Whether detection mobile terminal occurs anomalous event;
When detecting mobile terminal generation anomalous event, the offline logs in user data subregion are uploaded to and set in advance
The server put.
Specifically, the anomalous event includes application program without response (Application Not Responding, ANR)
Abnormal, program crashing (i.e. CRASH) is abnormal, it is abnormal to restart, it is abnormal etc. to crash.
Restart it is abnormal, crash it is abnormal etc. be mobile terminal the common Exception Type of system, it is abnormal or extremely when restarting
During the Exception Type such as machine is abnormal, Android can be to ro.bootmode in mobile terminal, the system such as sys.android.reboot
Attribute is configured, as long as judging the value of these attributes it may determine that whether Android is restarted, crashed.ANR is different
Often, CRASH it is abnormal etc. be mobile terminal application program in Common Abnormity type, because ActivityManagerService is
The hard core control module of application program, when there is ANR exceptions or CRASH abnormal, ActivityManagerService can be to going out
Existing ANR exceptions or the abnormal applications of CRASH are handled accordingly.I.e. when occurring anomalous event, mobile terminal will obtain different
The corresponding Log of ordinary affair part.
Further, one or more of programs pass through Wireless Fidelity (Wireless-Fidelity, WiFi) side
Offline logs in the user data subregion are uploaded to the server pre-set by formula.
User can also be by way of USB (Universal Serial Bus) storage device copy, by user data
Daily record in subregion is uploaded to the server pre-set.
It should be noted that being used to produce in the official software release delivered in mobile terminal, offline logs are to write from memory
Recognize unlatching because offline logs open not only result in mobile terminal power consumption increase, also result in system compatibility certification without
Method passes through, and when offline logs accumulation is excessive, can also take excessive Installed System Memory and file area, and then cause Installed System Memory not
Foot or system space are not enough.Meanwhile, factory reset operation, is last procedure in each stage of production procedure,
Particularly carry out model machine dispatch from the factory packaging before last procedure.Therefore, by mobile terminal factory reset, closing
Offline logs capture function, it is ensured that reach in the official software release in user's hand, offline logs have been off.
In an embodiment of the present invention, after the step of the closing offline logs, one or more of programs
Can also be by one or more of computing devices, to realize following steps:
When mobile terminal is started shooting every time, whether the offline logs of detection mobile terminal are turned off;
If it has not, closing offline logs, the risk impacted to user is surprisingly opened to reduce offline logs.
In an embodiment of the present invention, after the step of the closing offline logs, one or more of programs
Can also be by one or more of computing devices, to realize following steps:
When being first powered on after updating mobile terminal, whether the offline logs of detection mobile terminal are turned off;
If it has not, closing offline logs.
Specifically, described updating mobile terminal include by aerial software upgrading (Firmware Over-The-Air,
FOTA) or SD (Secure Digital) storage card local upgrade is passed through.
The mobile terminal and its offline logs processing method, computer-readable recording medium of the present invention, by mobile whole
When end enters engineering mode, capture offline logs and preserve the offline logs of crawl into user data subregion, and in movement
During terminal factory reset, offline logs crawl function is closed, when running into production problem, user data point can be directly obtained
Offline logs in area, can lift the efficiency of analysis of problems existed in production positioning, the life needed for reduction problem repetition and follow-up analysis
Produce man-hour and human cost.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. the offline logs processing method of a kind of mobile terminal, it is characterised in that methods described includes:
Mobile terminal detects itself whether enter engineering mode or carry out factory reset operation;
If the mobile terminal, which detects itself, enters engineering mode,:
Whether the mobile terminal detection offline logs have turned on;
If offline logs have turned on, the offline logs grabbed are simultaneously write internal memory by the mobile terminal crawl offline logs
Caching or temporary file;
The mobile terminal preserves the offline logs in the memory cache or temporary file into user data subregion, in order to avoid
When the memory cache or temporary file reach maximum upper limit, the offline logs in memory cache or temporary file are by mobile terminal
The offline logs of newest crawl are covered;
If mobile terminal detects itself and carries out factory reset operation,:
The mobile terminal closes offline logs.
2. according to the method described in claim 1, it is characterised in that the mobile terminal is by the memory cache or temporary file
In offline logs preserve the step into user data subregion, specifically include:
Offline logs in the memory cache or the temporary file are preserved to described the mobile terminal period and used
In user data subregion.
3. according to the method described in claim 1, it is characterised in that the mobile terminal is by the memory cache or temporary file
In offline logs preserve the step into user data subregion, specifically include:
The mobile terminal pre-sets offline logs higher limit;
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs higher limit, institute
Mobile terminal is stated to preserve the offline logs in the memory cache or the temporary file into the user data subregion.
4. according to the method described in claim 1, it is characterised in that by the memory cache or temporarily literary in the mobile terminal
Offline logs in part are preserved after step into user data subregion and the mobile terminal detects itself and recovered
Before the step of Default Value is operated, methods described also includes:
The mobile terminal detects whether itself occurs anomalous event;
When the mobile terminal, which detects itself, occurs anomalous event, by the offline logs in the user data subregion
It is uploaded to the server pre-set.
5. method according to claim 4, it is characterised in that the anomalous event include application program without response abnormality,
Program crashing is abnormal, it is abnormal to restart and crashes abnormal.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes processor, memory and communication bus, the place
Reason device and the memory are communicated to connect by the communication bus;Wherein,
The memory is used to store offline logs processing routine;
The processor is used to call the offline logs processing routine stored in the memory, and performs following steps:
Detect whether mobile terminal enters engineering mode or carry out factory reset operation;
If detecting mobile terminal enters engineering mode,:
Whether detection offline logs have turned on;
If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or interim text
Part;
Offline logs in the memory cache or temporary file are preserved into user data subregion, in order to avoid the memory cache
Or temporary file is when reaching maximum upper limit, offline logs in memory cache or temporary file by the newest crawl of mobile terminal from
Line daily record is covered;
If detecting mobile terminal carries out factory reset operation, offline logs are closed.
7. mobile terminal according to claim 6, it is characterised in that the processor is used for the memory cache or faced
When file in offline logs preserve into user data subregion and specifically include:
Periodically the offline logs in the memory cache or the temporary file are preserved into the user data subregion.
8. mobile terminal according to claim 6, it is characterised in that the processor is used for the memory cache or faced
When file in offline logs preserve into user data subregion and specifically include:
When the size of the offline logs in the memory cache or the temporary file reaches the offline logs upper limit pre-set
During value, the offline logs in the memory cache or the temporary file are preserved into the user data subregion.
9. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing device, to realize following steps:
Detect whether mobile terminal enters engineering mode or carry out factory reset operation;
If detecting mobile terminal enters engineering mode,:
Whether detection offline logs have turned on;
If offline logs have turned on, capture offline logs and the offline logs grabbed are write into memory cache or interim text
Part;
Offline logs in the memory cache or temporary file are preserved into user data subregion, in order to avoid the memory cache
Or temporary file is when reaching maximum upper limit, offline logs in memory cache or temporary file by the newest crawl of mobile terminal from
Line daily record is covered;
If detecting mobile terminal carries out factory reset operation, offline logs are closed.
10. computer-readable recording medium according to claim 9, it is characterised in that described by the memory cache
Or after the offline logs in temporary file preserve the step into user data subregion, and described detect mobile terminal progress
Before the step of factory reset is operated, one or more of programs can also be held by one or more of processors
OK, to realize following steps:
Detect whether the mobile terminal occurs anomalous event;
When anomalous event occurs for the mobile terminal, the offline logs in the user data subregion are uploaded to and pre-set
Server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710292816.XA CN107239493A (en) | 2017-04-28 | 2017-04-28 | Mobile terminal and its offline logs processing method, computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710292816.XA CN107239493A (en) | 2017-04-28 | 2017-04-28 | Mobile terminal and its offline logs processing method, computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107239493A true CN107239493A (en) | 2017-10-10 |
Family
ID=59985462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710292816.XA Pending CN107239493A (en) | 2017-04-28 | 2017-04-28 | Mobile terminal and its offline logs processing method, computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107239493A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798099A (en) * | 2017-10-27 | 2018-03-13 | 努比亚技术有限公司 | A kind of log information grasping means, terminal and computer-readable recording medium |
CN108268335A (en) * | 2018-01-31 | 2018-07-10 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on system service |
CN111309604A (en) * | 2020-02-07 | 2020-06-19 | Tcl移动通信科技(宁波)有限公司 | Offline automatic testing method and system, storage medium and mobile terminal |
CN112612657A (en) * | 2020-12-09 | 2021-04-06 | 南京微智新科技有限公司 | Debug log output method and device, terminal equipment and storage medium |
CN113505014A (en) * | 2021-06-09 | 2021-10-15 | 荣耀终端有限公司 | Fault diagnosis file acquisition method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176888A (en) * | 2011-12-22 | 2013-06-26 | 阿里巴巴集团控股有限公司 | Log recording method and log recording system |
CN104572387A (en) * | 2015-01-30 | 2015-04-29 | 青岛海信移动通信技术股份有限公司 | Method and device for debugging terminal in engineering mode |
CN104965776A (en) * | 2015-07-29 | 2015-10-07 | 广东欧珀移动通信有限公司 | Method and system for viewing logs when mobile terminal is in recovery mode |
CN105068797A (en) * | 2015-07-24 | 2015-11-18 | 深圳市广和通无线股份有限公司 | Mobile terminal device and LOG information capture method therefor |
CN105677689A (en) * | 2015-05-27 | 2016-06-15 | 深圳Tcl数字技术有限公司 | Log record method and device |
CN106411563A (en) * | 2016-06-30 | 2017-02-15 | 北京小米移动软件有限公司 | Log recording method and device and router |
-
2017
- 2017-04-28 CN CN201710292816.XA patent/CN107239493A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176888A (en) * | 2011-12-22 | 2013-06-26 | 阿里巴巴集团控股有限公司 | Log recording method and log recording system |
CN104572387A (en) * | 2015-01-30 | 2015-04-29 | 青岛海信移动通信技术股份有限公司 | Method and device for debugging terminal in engineering mode |
CN105677689A (en) * | 2015-05-27 | 2016-06-15 | 深圳Tcl数字技术有限公司 | Log record method and device |
CN105068797A (en) * | 2015-07-24 | 2015-11-18 | 深圳市广和通无线股份有限公司 | Mobile terminal device and LOG information capture method therefor |
CN104965776A (en) * | 2015-07-29 | 2015-10-07 | 广东欧珀移动通信有限公司 | Method and system for viewing logs when mobile terminal is in recovery mode |
CN106411563A (en) * | 2016-06-30 | 2017-02-15 | 北京小米移动软件有限公司 | Log recording method and device and router |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107798099A (en) * | 2017-10-27 | 2018-03-13 | 努比亚技术有限公司 | A kind of log information grasping means, terminal and computer-readable recording medium |
CN108268335A (en) * | 2018-01-31 | 2018-07-10 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on system service |
CN111309604A (en) * | 2020-02-07 | 2020-06-19 | Tcl移动通信科技(宁波)有限公司 | Offline automatic testing method and system, storage medium and mobile terminal |
CN111309604B (en) * | 2020-02-07 | 2023-10-03 | Tcl移动通信科技(宁波)有限公司 | Offline automatic test method, system, storage medium and mobile terminal |
CN112612657A (en) * | 2020-12-09 | 2021-04-06 | 南京微智新科技有限公司 | Debug log output method and device, terminal equipment and storage medium |
CN113505014A (en) * | 2021-06-09 | 2021-10-15 | 荣耀终端有限公司 | Fault diagnosis file acquisition method and device |
CN113505014B (en) * | 2021-06-09 | 2022-05-27 | 荣耀终端有限公司 | Fault diagnosis file acquisition method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107276789A (en) | Daily record method for uploading, device and computer-readable recording medium | |
CN107239493A (en) | Mobile terminal and its offline logs processing method, computer-readable recording medium | |
CN107688607A (en) | The method and mobile terminal of a kind of database access, computer-readable recording medium | |
CN107508892A (en) | A kind of page access method, server and computer-readable recording medium | |
CN108551411A (en) | Collecting method, mobile terminal and computer readable storage medium | |
CN107133302A (en) | Realize method, system, terminal and the computer-readable recording medium of data consistency | |
CN107577394A (en) | A kind of message treatment method, equipment and computer-readable storage medium | |
CN107861854A (en) | A kind of terminal local collapse processing method, terminal and computer-readable recording medium | |
CN109922078A (en) | Upgrade control method, mobile terminal and computer readable storage medium | |
CN107844230A (en) | A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium | |
CN107273433A (en) | A kind of file scanning method, equipment and computer-readable recording medium | |
CN108600516A (en) | Collecting method, mobile terminal and computer readable storage medium | |
CN109766119A (en) | Restore subregion upgrade method, terminal and computer readable storage medium | |
CN107347117A (en) | A kind of message management method, mobile terminal and computer-readable recording medium | |
CN107846725A (en) | A kind of processing method of notification message, terminal and storage medium | |
CN107765922A (en) | Card screen detection is with solving method, mobile terminal and computer-readable recording medium | |
CN107704332A (en) | Freeze screen solution method, mobile terminal and computer-readable recording medium | |
CN107480003A (en) | A kind of method, equipment and the computer-readable recording medium of backup radio frequency parameter | |
CN110290269A (en) | Display control method, mobile terminal and computer readable storage medium | |
CN108377292A (en) | Solve method, terminal, server and the computer storage media of RAM leakage | |
CN109582565A (en) | Prevent the method, terminal and computer storage medium of application crashes | |
CN110187934A (en) | Application control method, terminal and computer readable storage medium | |
CN110167004A (en) | A kind of network registering method, mobile terminal and computer readable storage medium | |
CN109032621A (en) | A kind of application program installation method, mobile terminal and computer storage medium | |
CN109656649A (en) | A kind of desktop application control method, 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171010 |
|
RJ01 | Rejection of invention patent application after publication |