CN107133143A - Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing - Google Patents
Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107133143A CN107133143A CN201710279873.4A CN201710279873A CN107133143A CN 107133143 A CN107133143 A CN 107133143A CN 201710279873 A CN201710279873 A CN 201710279873A CN 107133143 A CN107133143 A CN 107133143A
- Authority
- CN
- China
- Prior art keywords
- restart
- daily record
- restarted
- type
- restarting
- 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/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
- G06F11/3079—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting the data filtering being achieved by reporting only the changes of the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing the invention discloses one kind, the merging method includes:Receive and parse through mobile terminal upload restarts daily record, to obtain the Restart Type of mobile terminal and restart reason, and by Restart Type and restarts reason and be incorporated as restarting keyword;Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;When restart be not present in issue database it is described restart keyword when, will restart daily record as a class newly restart cause type storage, and keyword will be restarted be added to and restart issue database to restart the storage of cause type associated storage with new.By by Restart Type and restarting reason and merging obtain new and restart keyword and be added to and restart in issue database to restart cause type associated storage with new, as long as developer can be appreciated that the reason for causing system reboot to the elementary analysis for restarting issue database, the log analysis of restarting to repeat type is avoided, workload is reduced.
Description
Technical field
The present invention relates to restarting journaling techniques field, more particularly to one kind restarts daily record merging method, method for uploading, system
And readable storage medium storing program for executing.
Background technology
The mobile terminals such as mobile phone, ipad at present, on the market are captured in related system information when system occurs abnormal
Server is passed to, the system information that developer receives according to server analyzes abnormal cause.When the shifting using android system
When dynamic terminal Android frameworks occurs and causes system reboot extremely, it can will restart daily record and be sent to server, because using on the market
The mobile terminal of android system is numerous, and making to be sent to restarting on server, daily record is also numerous, and many mobile terminals is
System is restarted caused by repeating reason, so that generate repetition restarts daily record.Because developer needs to restart day to each
Will is analyzed, and what this was repeated restarts the workload that daily record adds developer, so as to can not find to move on the market in time
Terminal produced problem, also just can not quickly solve problem, and then the system for causing supplier can not provide high-quality.
The content of the invention
It is a primary object of the present invention to provide one kind to restart daily record merging method, method for uploading, system and readable storage
Medium, it is intended to solve prior art and restart log analysis, the problem of workload is big to what is largely repeated.
To achieve the above object, one kind that the present invention is provided restarts daily record merging method, described to restart daily record merging method
Comprise the following steps:
Receive and parse through mobile terminal upload restarts daily record, to obtain the Restart Type of mobile terminal and restart reason,
And by Restart Type and restart reason and be incorporated as restarting keyword;
Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
When restart be not present in issue database it is described restart keyword when, restart the weight of daily record as a class newly using described
Open cause type storage, and by it is described restart keyword and be added to restart issue database to be associated with new cause type of restarting
Storage.
Alternatively, the judgement includes bag after restarting the step of restarting keyword with the presence or absence of described in issue database
Include:
When restart in issue database exist it is described restart keyword when, will restart that keyword is corresponding to restart daily record and be included into
It is original to restart cause type, and will restart that keyword is corresponding to restart the renewal of daily record quantity.
Alternatively, it is described receive and parse through mobile terminal upload restart daily record, Restart Type and restart reason to obtain
The step of include:
Receive that mobile terminal uploads restarts daily record, and to restarting crash log in daily record and system journal parsing to obtain
Take Restart Type;
According to the classification of the Restart Type, obtain that Restart Type is corresponding to restart reason.
Alternatively, the step of described pair of crash log restarted in daily record and system journal are parsed to obtain Restart Type is wrapped
Include:
Judging to whether there is the first character string in crash log, when there is the first character string, judging Restart Type as the
One class is restarted;
Judging to whether there is the second character string in crash log, when there is the second character string, judging Restart Type as the
Two classes are restarted;
Judging to whether there is the 3rd character string in system journal, when there is three character strings, judging Restart Type as the
Three classes are restarted.
Alternatively, the classification according to the Restart Type, obtaining the step of classification is corresponding to restart reason includes:
When Restart Type is restarted for the first kind, the restarting information restarted according to the first kind determines that first restarts reason;
When Restart Type is restarted for Equations of The Second Kind, the restarting information restarted according to Equations of The Second Kind determines that second restarts reason;
When Restart Type is that the 3rd class is restarted, the restarting information restarted according to the 3rd class determines that the 3rd restarts reason.
Alternatively, it is described by Restart Type and to restart the step of reason is incorporated as restarting keyword and include:
The first kind is restarted to restart reason with first and be incorporated as first and restarts keyword;
Equations of The Second Kind is restarted to restart reason with second and be incorporated as second and restarts keyword;
3rd class is restarted to restart reason with the 3rd and be incorporated as the 3rd and restarts keyword.
In addition, to achieve the above object, the present invention also proposes that one kind restarts daily record method for uploading, described to restart daily record upload
Method comprises the following steps:
Identifier is restarted in setting, when detecting mobile terminal and restarting, judgement restart identifier whether be equal to it is default
Value;
When restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted daily record by described and uploaded onto the server.
Alternatively, described when restarting identifier equal to preset value, daily record is restarted in crawl, and restarts daily record upload by described
The step of to server, includes:
When restarting identifier equal to preset value, generation framework is broadcasted extremely;
By the abnormal broadcast transmission of the framework to log system, restart so that log system is based on framework broadcast crawl extremely
Daily record, and restart daily record by described and upload onto the server.
In addition, to achieve the above object, the present invention also proposes that one kind restarts daily record merger system, described to restart daily record merger
System includes:Memory, processor, communication bus and it is stored on the memory and restarts daily record merger program:
The communication bus is used to realize the connection communication between processor and memory;
The processor be used to performing it is described restart daily record merger program, to realize following steps:
Receive and parse through mobile terminal upload restarts daily record, to obtain Restart Type and restart reason, and will restart class
Type and restart reason and be incorporated as restarting keyword;
Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
When restart be not present in issue database it is described restart keyword when, by it is described restart keyword and be added to restart ask
Inscribe database, and using it is described restart daily record as a class newly restart cause type storage.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable
Storage medium is stored with one or more than one program, one or more than one program can by one or one with
On computing device for:
Receive and parse through mobile terminal upload restarts daily record, to obtain the Restart Type of mobile terminal and restart reason,
And by Restart Type and restart reason and be incorporated as restarting keyword;
Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
When restart be not present in issue database it is described restart keyword when, restart the weight of daily record as a class newly using described
Open cause type storage, and by it is described restart keyword and be added to restart issue database to be associated with new cause type of restarting
Storage.
Technical solution of the present invention restarts daily record merging method, receives the daily record of restarting that mobile terminal uploads and is parsed,
Obtain the Restart Type and restart reason for causing that mobile terminal restarts, and by this Restart Type and restart reason and merge into and restart
Keyword;Judge to restart in database and to restart keyword with the presence or absence of this merging, when restarting keyword in the absence of what this merged
When, illustrate its for a class newly restart keyword, that is, it is new to cause the cause type of restarting restarted, and will restart daily record as one
Class newly restart cause type storage, and keyword will be restarted be added to and restart issue database to restart cause type with new
Associated storage.This programme is by by Restart Type and restarting reason and merging restarting of obtaining and keyword and restart in issue database
Restart Key comparison, judge to restart in issue database whether restart keyword in the presence of what this merging was obtained, when not
In the presence of, then explanation occur a class newly restart keyword, will restart daily record as a class newly restart cause type storage, and
Keyword will be restarted it is added to and restarts issue database to restart cause type associated storage with new.So as to restart in database
Be stored with it is a variety of it is different types of restart keyword, developer only need to analyze restart it is different types of in issue database
Restart keyword and can be appreciated that the reason for causing system reboot, it is to avoid to the log analysis of restarting of repeat type, reduce workload,
Improve analysis efficiency.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless telecommunication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 restarts the schematic flow sheet of daily record merging method first embodiment for the present invention;
Fig. 4 restarts the schematic flow sheet of daily record merging method second embodiment for the present invention;
Fig. 5 restarts the schematic flow sheet of daily record method for uploading first embodiment for the present invention;
Fig. 6 restarts the data transfer flow schematic diagram of daily record merging method for the present invention;
Fig. 7 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
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, communication apparatus structure, propose that the present invention restarts each reality of daily record merging method
Apply example.
Reference picture 3, the present invention provides one kind and restarts daily record merging method, is restarting daily record merging method first embodiment
In, this, which restarts daily record merging method, includes:
Step S10, receive and parse through mobile terminal upload restarts daily record, to obtain the Restart Type and again of mobile terminal
Open reason, and by Restart Type and restart reason and be incorporated as restarting keyword;
Technical scheme is applied to server, when the mobile terminal using android system is because of Android frameworks
When there is abnormal generation system reboot, the daily record of restarting to generation carries out parsing merger, and wherein mobile terminal can be used
Mobile phone, tablet personal computer of android system etc..Android is the operating system based on linux, and linux operating systems are for every
For individual program, there are two CPU running statuses, one is that, in user's space operation, another is in kernel spacing operation.User
Space refers to the separate space of each program native codes operation, such as space of QQ programs operation and the space of wechat program operation
It is separate.Kernel spacing is the space for running operating system, is each procedure sharing, and such as QQ and the kernel spacing of wechat are total to
Enjoy same operating system space.In program development process, with daily record (Log) come logging program implementation procedure, Android is
The application developer of user's space provides the Logger log systems of lightweight, and the log system is driven by driver
Mode run in kernel spacing, the Log of generation is to be stored in the form of device file in file/dev/log/.Should
Log system reads Log interfaces into device file and slave unit file there is provided Log is write, and user's space provides and uses Logger
The Java interface and C/C++ interfaces of log system, can be using Java's and C/C++ by Java interfaces and C/C++ interface exploitations
Mode is programmed, and realization writes Log and Log interfaces are read into device file and slave unit file.The write-in of wherein Log files is
Android frameworks layer identification code is by JNI calling system Runtime Libraries, and by system operation storehouse by Log write device files;
The reading of Log files is then that the Logcat instruments provided by Android are captured, and Logcat instruments are according to developer
Log is read in the order slave unit file of input, and will be exported according to the requirement of developer by the Log information formatted.
Because in program development process, the mechanism of Log logging program implementation procedures is provided with, characterizes mobile terminal current
State, so occurring in program process abnormal, when causing the mobile terminal system to restart, this causes the abnormal cause restarted
Daily record can be restarted by Log record generations.Android frameworks appearance exception is related generally in the present embodiment causes zygote to be restarted,
Wherein Android frameworks are all foundation codes for supporting Android operations.All application programs installed on mobile terminal,
It is required for framework functions support normally to run such as QQ, wechat.And Zygote is used for the application journey for creating Android
The process of sequence, application program first replicates portion Zygote, could normally run before preparation operation is started.When Android frames
When frame occurs abnormal, then all applications including QQ and wechat can all be killed, and cause zygote to be restarted, start-up picture weight
Broadcast.Now Logcat instruments crawl abnormal information, generation is restarted daily record and uploaded onto the server, so that related development personnel are according to this
Restart log analysis and know and cause the reason for restarting, system is optimized.
Receive mobile terminal upload restart daily record after, daily record is restarted to this and is parsed, causes and restarts with acquisition
Restart Type (REBOOTTYPE) and restart reason (REASON).Understandably, because of resource-constrained on mobile terminal, and answer
But have a variety of with program, Android frameworks are as the support that all application programs are run on mobile terminal, it is necessary to coordinate mobile whole
Various resources in end are to support the normal operation of a variety of application programs.Thus when abnormal cause occur in Android frameworks
When Zygote is restarted, its abnormal species is also different, so needing to restart daily record parsing to what is received, causes system to obtain
The Exception Type restarted and the reason for correspondingly produce this Exception Type, that is, obtain the weight that certain class causes mobile terminal to be restarted extremely
Open type and it is corresponding restart reason, and by this Restart Type and it is corresponding restart reason and be incorporated as restarting keyword, with root
Determine whether to restart system reboot caused by cause type for new according to keyword is restarted.
Step S20, judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
Further, by Restart Type and it is corresponding restart after reason merges and obtain restarting keyword, this is restarted
Keyword and the data restarted in issue database compare, to judge to restart in issue database whether restart pass in the presence of this
Key word.It is the database that keyword is restarted dedicated for storage to restart issue database, can be stored in the form of queue, because of team
Row are the linear lists of first in first out, so as to according to the sequencing for entering enqueue, be carried out to the keyword of restarting of advanced enqueue
Processing, improves treatment effeciency.When initial, restarting does not have data in database, i.e., do not restart keyword, and day is restarted when receiving
Will, by the Restart Type restarted in daily record and restarts reason and merges and obtain restarting keyword, and this is restarted into keyword is added to
Restart and its first data is used as in issue database.Hereafter when receive again restart daily record when, its corresponding is restarted into pass
Key word and first data compare, and judge whether identical.Restart keyword increase with restarting in issue database, can use
The mode of traversal, by merge obtain restart keyword and restart the keyword of restarting in issue database and compare one by one, it is determined that
The keyword of restarting that this merging is obtained is already present on and restarted in issue database.
Step S30, when restart be not present in issue database it is described restart keyword when, restart daily record as one using described
Class newly restart cause type storage, and by it is described restart keyword and be added to restart issue database to restart reason with new
Type association is stored.
Further, when judge to merge obtain when restarting keyword and not restarting in issue database, illustrate system
System restart by it is a kind of new the reason for cause, this is restarted keyword it is corresponding restart daily record as a class it is new the reason for type deposit
Storage, and this is restarted into keyword be added to and restart issue database to restart cause type associated storage with new.Because only working as
Restart be not present in database merge obtain restart keyword, this just restarted into keyword be added to and restart issue database
In, it is different from so that restarting the keyword of restarting stored in issue database.Can be corresponded to by restarting keyword for one by many parts
Restart daily record, it is different to restart the Restart Type obtained in daily record and to restart reason all identical, you can to obtain identical and restart pass
Key word.Restart daily record difference for such a.And restart keyword identical type, developer restarts keyword according to this
Know the type and reason for causing and restarting, and without to all log analysis of restarting, largely improving analysis
Efficiency, accelerates the process to system optimization.
Include in the daily record merging method of restarting of the present embodiment:Receive and parse through mobile terminal upload restarts daily record, with
Obtain the Restart Type of mobile terminal and restart reason, and by Restart Type and restart reason and be incorporated as restarting keyword;Sentence
Break to restart in issue database and restart keyword with the presence or absence of described in;Described restart key when restarting to be not present in issue database
During word, using it is described restart daily record as a class newly restart cause type storage, and by it is described restart keyword and be added to restart
Issue database with new to restart cause type associated storage.
This programme is by by Restart Type and restarting reason and merging restarting of obtaining and keyword and restart in issue database
Restart Key comparison, judge to restart in database whether restart keyword in the presence of what this merging was obtained, when in the absence of
When, then explanation occur a class newly restart keyword, will restart daily record as a class newly restart cause type storage, and will weight
Open keyword and be added to and restart issue database to restart cause type associated storage with new.Stored so as to restart in database
Have it is a variety of it is different types of restart keyword, developer only needs to analyze restart in issue database different types of and restarted
Keyword is that can be appreciated that the reason for causing system reboot, it is to avoid to the log analysis of restarting of repeat type, reduces workload, is improved
Analysis efficiency.
Further, Fig. 4 is refer to, on the basis of the present invention restarts daily record merging method first embodiment, weight is proposed
The second embodiment of daily record merging method is opened, in a second embodiment, the judgement, which is restarted, whether there is institute in issue database
Stating includes after the step of restarting keyword:
Step S40, when restart in issue database exist it is described restart keyword when, will restart that keyword is corresponding to restart
Daily record be included into it is original restart cause type, and will restart that keyword is corresponding to restart the renewal of daily record quantity.
Further, when judge to merge obtain restart keyword be present in restart in issue database when, illustrate system
System has been present the reason for restart, and this is restarted to keyword is corresponding to restart daily record merger to be original and restart cause type.Cause
The reason for for system reboot, has been present, then developer carried out analysis for that reason, when occurring again, it is only necessary to
Determine that it is restarted corresponding may know that of cause type with which existed and causes the class restarted to restart type and restart reason, no
Need to analyze again.By this restart keyword it is corresponding restart daily record quantity update, restart key when occurring an identical again
During word, then the quantity for restarting daily record plus one, daily record quantity is restarted according to this would know that and thus restart cause type on the market
Cause the quantity and ratio of system reboot, preferably to be optimized to system, return by that will restart caused by same cause
And for same type, it is to avoid the analysis again of developer, reduce workload, it is to avoid the consumption of human resources, improve
Analysis efficiency.
Further, it is described to receive and parse through mobile terminal in the present invention restarts another embodiment of daily record merging method
What is uploaded restarts daily record, to include the step of obtaining Restart Type and restart reason:
Step S21, receive mobile terminal upload restarts daily record, and to restarting crash log and system journal in daily record
Parse to obtain Restart Type;
Step S22, according to the classification of the Restart Type, acquisition classification is corresponding to restart reason.
In the present embodiment, what mobile terminal was uploaded, which restarts daily record, includes trace files and Android daily record (Android
Log), trace files be from a time point into the mobile terminal in the period another time point application program
Information, characterizes the running of mobile terminal state in the period, when restarting, can print trace stack states.Android
Log is application information in current mobile terminal, the running status of destination mobile terminal is characterized, with real-time.Android
Log includes crash log (Android Crash Log) and system journal (Android System Log), and crash log is used for
Characterize and restart caused by framing program collapse, system journal, which is used to characterizing system service and do not responded, caused restarts.When receiving
What mobile terminal was uploaded restarts after daily record, to restarting crash log and system journal parsing in daily record, to determine Restart Type
It is framework type or system service type.Understandably, causing framework to collapse and service the reason for not responding has a variety of, such as
Deadlock, null pointer, endless loop etc., so need according to the classification of Restart Type, analyzing it acquisition, this restarts classification and causes weight
That opens restarts reason, according to Restart Type and to restart reason and obtain restarting keyword.
Further, in the present invention restarts another embodiment of daily record merging method, described pair restart in daily record collapse
The step of routed daily record and system journal parsing is to obtain Restart Type includes:
Step S211, judges to whether there is the first character string in crash log, when there is the first character string, judges to restart
Type is restarted for the first kind;
Step S212, judges to whether there is the second character string in crash log, when there is the second character string, judges to restart
Type is restarted for Equations of The Second Kind;
Step S213, judges to whether there is the 3rd character string in system journal, when there is three character strings, judges to restart
Type is that the 3rd class is restarted.
Further, restart caused by framing program collapse including Native layers of journey of ava layers of program crashing of frame J and framework
Sequence collapse, system service do not respond caused by restart be due to service do not respond, Watchdag, which actively kills system service, to be caused
's.Ava layers of program of frame J are the supports that application program for mobile terminal is normally run, when the abnormal collapse of its appearance, mobile terminal
Application program be not normally functioning, restart.Native layers of program of framework are used to realize that Java calls non-Java code
Interface function, it is realized by non-Java language, such as C or C++.Because android system is that Linux is by non-based on Linux
Java C is set up, when abnormal collapse occur for Native layers, it is impossible to non-Java code is called, so as to cause android system to go out
Existing abnormal restarting.Watchdog is Linux house dogs, the operation for monitoring system.By starting preset time in kernel
Timer, user space program needs to write data to mobile terminal in preset time, and each write operation can cause again
Set timer.If user space program does not have write operation in preset time, timer, which expires, can cause system reboot.
Restart Type caused by ava layers of program crashing of frame J is restarted as the first kind in the present embodiment, framework Native
Restart Type is restarted as Equations of The Second Kind caused by layer program crashing, and service is not responded, and Watchdag actively kills system service and led
The Restart Type of cause is restarted as the 3rd class.And can be judged by the way of character string in traversal crash log and system journal
It is which kind of is restarted, specifically, there is " * * * FATAL EXCEPTION IN SYSTEM in crash log when detecting
During PROCESS " character strings, i.e., explanation, which occurs restarting the i.e. first kind caused by ava layers of program crashing of frame J, restarts, and by this word
Symbol string is used as the first character string.When detect in crash log exist ">>>system_server<< < or>>>zygote*<
During < < " character strings, i.e., explanation, which occurs restarting i.e. Equations of The Second Kind caused by Native layers of program crashing of framework, restarts, and by this character
String is used as the second character string.There is " * * * WATCHDOG KILLING SYSTEM PROCESS " words in system journal when detecting
During symbol string, that is, illustrate that appearance is serviced and do not respond, Watchdog, which is actively killed, restarts i.e. the 3rd class caused by system service and restart, and
It regard this character string as the 3rd character string.
Restart daily record when receive mobile terminal upload, parsed to restarting crash log in daily record and system journal
Afterwards, character string in crash log and system journal is traveled through.Judge to whether there is the first character string in crash log, when having first
During character string, judge that the Restart Type for causing mobile terminal to be restarted is restarted as the first kind, i.e., frame J ava layers program crashing cause
Mobile terminal is restarted, and obtains the restarting information restarted of the first kind, the time of such as frame J ava layers program crashing, causes it to collapse
Process naming, process number and storehouse this type of information.When in the absence of the first character string, then judge whether deposited in crash log
In the second character string, when there is the second character string, judge that the Restart Type for causing mobile terminal to be restarted is restarted as Equations of The Second Kind, i.e.,
Native layers of program crashing of framework cause mobile terminal to be restarted, and obtain the restarting information that Equations of The Second Kind is restarted, such as framework Native
The time of layer program crashing, process naming, process number and the storehouse this type of information for causing it to collapse.When the second character string not yet
In the presence of, then judge to whether there is the 3rd character string in system journal, when there is three character strings, judgement causes mobile terminal
The Restart Type restarted is that the 3rd class is restarted, that is, services and do not respond, Watchdag actively kills system service and causes mobile terminal
Restart, obtain the restarting information restarted of the 3rd class, such as service the time not responded, cause process naming that it does not respond, enter
Journey number and storehouse this type of information.Wherein to crash log and system journal traversal to judge whether the first character string, the
The order of two character strings and the 3rd character string can be determined according to traversal rule, settable first to judge that the second character string also first judge
3rd character string, is not construed as limiting to this.
Further, it is described according to the Restart Type in the present invention restarts another embodiment of daily record merging method
Classification, obtaining the step of classification is corresponding to restart reason includes:
Step S221, when Restart Type is restarted for the first kind, the restarting information restarted according to the first kind determines the first weight
Open reason;
Step S222, when Restart Type is restarted for Equations of The Second Kind, the restarting information restarted according to Equations of The Second Kind determines the second weight
Open reason;
Step S223, when Restart Type is that the 3rd class is restarted, the restarting information restarted according to the 3rd class determines that the triple
Open reason.
Further, when judging that the Restart Type for causing mobile terminal to be restarted restarts as the first kind, i.e., frame J ava layers
When program crashing causes the mobile terminal to restart, the ava layers of program crashing of frame J included in the restarting information restarted according to the first kind
Time, cause its information such as process naming, process number and storehouse collapsed to determine to cause the first kind to restart the first of generation
Restart reason.In addition when judging that the Restart Type for causing mobile terminal to be restarted restarts as Equations of The Second Kind, i.e., framework Native layers program
When collapse causes the mobile terminal to restart, the Native layers of program crashing of framework included in the restarting information restarted according to Equations of The Second Kind
Time, the second weight for causing the determination of the information such as its process naming, process number and the storehouse that collapse to cause Equations of The Second Kind to restart generation
Open reason.Native layers of program crashing of ava layers of program crashing of frame J and framework are mainly caused by null pointer and endless loop, thus
According to the first restarting information restarted determine first restart reason for null pointer or endless loop or according to second restart restart
Information determines that first restarts reason for null pointer or endless loop.And work as and judge the Restart Type for causing mobile terminal to be restarted as the 3rd
Class is restarted, that is, is serviced and do not responded, and Watchdag actively kills system service when causing the mobile terminal to restart, and is restarted according to the 3rd class
Restarting information in the service that the includes time not responded, the letter such as process naming, process number and storehouse that causes it not respond
Breath determines that causing the 3rd class to restart the 3rd of generation restarts reason.Because the thread for being related to system service is numerous, so as to cause the
Three classes restart the 3rd of generation restart reason type it is also a lot.Specifically, the present embodiment is related to:First, it is current in lookup
Thread holds the resource lock of other side's wait with the thread searched before respectively, causes deadlock, and thread can not obtain its needs
Resource, service is not responded, and Watchdag actively kills system service, now by the thread name combination on deadlock chain, as drawing
Rise occur that the 3rd class restarts the 3rd restart reason.2nd, the current thread in lookup is just in the thread of other processes of binder, this
When binder servers process take the current thread resources in lookup, prevent the current thread in lookup from handling its own
Thread, the stand-by period is longer, and service is not responded, and Watchdag actively kills system service.The process title of binder service ends
It is the current process and thread for taking resource with thread last column, thus by the process title and line of binder service ends
Journey last column call stack name is referred to as causing the occur that the 3rd class restarts the 3rd to restart reason.If the 3, the current line in lookup
Journey does not have a thread of other processes of binder, and its own is in and waits not running status, then by its own the reason for cause
The service of stand-by period length is not responded, and Watchdag actively kills system service, then by current thread last column call stack information
Restart reason as the cause the 3rd class of generation to be restarted the 3rd.
Obtain Restart Type and it is corresponding restart reason after, by Restart Type and restart reason and be incorporated as restarting key
The step of word, includes:
Step a, the first kind is restarted to restart reason with first and be incorporated as first and restarts keyword;
Step b, Equations of The Second Kind is restarted to restart reason with second and be incorporated as second and restarts keyword;
Step c, the 3rd class is restarted to restart reason with the 3rd and be incorporated as the 3rd and restarts keyword.
It is determined that the Restart Type for causing mobile terminal to be restarted is restarted for the first kind, and restart letter according to what the first kind was restarted
Breath is determined to cause the first kind to restart the first of generation to restart after reason, and the first kind is restarted and restarts reason with first and is incorporated as the
One restarts keyword.Likewise, it is determined that the Restart Type for causing mobile terminal to be restarted is restarted for Equations of The Second Kind, and according to Equations of The Second Kind
The restarting information restarted determines that causing Equations of The Second Kind to restart the second of generation restarts after reason, Equations of The Second Kind is restarted and restarts original with second
Restart keyword because being incorporated as second.Because first restart reason restart reason with second may be identical, be all by null pointer or
Endless loop causes, and the first kind is restarted to restart with Equations of The Second Kind and differed, and restarts reason by making to be restarted by the first kind with first and closes
And first restart keyword, restart the second of reason merging different from being restarted by Equations of The Second Kind with second and restart key
Word.In addition it is determined that cause the Restart Type that mobile terminal restarts to be restarted for the 3rd class, and letter is restarted according to what the 3rd class was restarted
Breath is determined to cause the 3rd class to restart the 3rd of generation to restart after reason, and the 3rd class is restarted and restarts reason with the 3rd and is incorporated as the
Three restart keyword.Wherein Restart Type (REBOOTTYPE) and restart reason (REASON) and exist all in the form of character string,
Also exist so as to the keyword (REBOOTTYPE+REASON) of its merging in the form of character string.
Supplemented by assistant's solution, be illustrated with a specific embodiment, restart daily record receive that mobile terminal uploads, and parse
Obtain after crash log therein and system journal, start execution the present embodiment restarts daily record merging method.It refer to Fig. 6:
Step S110, travels through crash log and system log files, into step 120.
Step S120, reads the next line character string in crash log and system log files, and judge crash
Whether character string, which reads, in log and system log files is terminated, and end is not read and then enters step 130, reads and terminates then to enter
Enter step 190.
Step S130, judges whether current string includes * * * FATAL EXCEPTION IN SYSTEM PROCESS's
Character string, if comprising this character string, illustrating to cause Android to be restarted for the collapse of frame J ava layer identification codes, i.e. first kind weight
Open, into step 140;Otherwise step 150 is entered.
Step S140, it is the exception that frame J ava layer identification codes collapse (JAVA_CRASH) to collect Restart Type REBOOTTYPE
Time, process title, process number and storehouse, go successively to step 120.
Step S150, judges whether current string includes>>>system_server<<<Or>>>zygote*<<<Word
Symbol string, if comprising this character string, illustrating to cause Android to restart i.e. Equations of The Second Kind weight for the collapse of framework Native layer identification codes
Open, into step 160;Otherwise step 170 is entered.
Step S160, it is that framework Native layer identification codes collapse (NATIVE_CRASH) to collect Restart Type REBOOTTYPE
Abnormal time, process title, process number and storehouse;Go successively to step 120.
Step S170, judges whether current string includes * * * WATCHDOG KILLING SYSTEM PROCESS word
Symbol string, if comprising this character string, illustrating to be that Watchdog, which actively kills system service, to be caused because service is not responded
Android is restarted i.e. the 3rd class and restarted, into step 180;Otherwise step 120 is entered.
Step S180, collects Restart Type REBOOTTYPE and is not responded for service, Watchdog actively kills system service
(WATCHDOG) abnormal time, process title, process number and storehouse;Go successively to step 120.
Step S190, obtaining abnormal time, last restarts data, goes successively to step 200.
Step S200, whether be WATCHDOG, otherwise into step 210 if judging Restart Type REBOOTTYPE;It is to enter
Enter step 230.
Step S210, whether be JAVA_CRASH, otherwise into step if determining whether Restart Type REBOOTTYPE
220;It is then to enter step 310.
Step S220, when Restart Type REBOOTTYPE is NATIVE_CRASH, then into step 320.
Step S230, passes through the corresponding storehouse of corresponding process title in process number (PID) lookup traces journal files
State, first looks for main main thread states.Into step 240.
Step S240, judges whether the thread that the current thread in lookup was searched with before holds other side's wait respectively
Resource lock, causes deadlock;Enter step 250 if the resource lock of other side's wait is not held respectively, if holding other side etc. respectively
The resource lock treated then enters step 300.
Whether step S250, judge the current thread in lookup in the resource lock for waiting other threads to hold;It is to enter
Step 260, otherwise into step 270.
Step S260, searches the thread state of holder lock, reenters step 240.
Whether step S270, judge the current thread in lookup just in the thread of other processes of binder;It is then to enter step
Rapid 280, otherwise into step 290.
Step S280, REASON is referred to as by the process title of binder service ends and thread last column call stack name,
Into step 330.
Step S290, using current thread last column call stack information as REASON, into step 330.
Step S300, the thread name on deadlock chain is combined, as REASON, into step 330.
Step 230~step S300's is interpreted as:When Restart Type is that the 3rd class is restarted, that is, services and do not respond,
When Watchdag actively kills the Restart Type of system service, correspondence in traces journal files is searched by process number (PID)
The corresponding stack states of process title, and main main thread states are first looked for, to determine to cause the line that server is not responded
Journey.It is functional unit that process, which is used for the workload partition of system, and thread is the execution unit in process, is the schedulable in process
Entity, program at least one process, process at least one thread.Process and process are included in traces files
In thread all storehouses and process status information, for state of a process in tracing system, restart when there is Android
When, traces stack states can be printed.Main main threads refer to the thread of first operation, and other newly-built threads are by main
Main thread gives other mail thread distribution tasks.So mian main threads are if obstruction, other threads then it is corresponding not
It can run, whole process is to be in blocked state, it is impossible to worked on.By first looking for main main thread states, ensuring
In the case that main main threads do not block, then the working condition of other threads is carried out, progressively to search the reason for generation is restarted.
Because thread needs to run by other resources of system, but limited system resources, it may be accounted for by other threads
With, so need to judge whether the thread currently searched in the thread of lookup with before holds the resource lock of other side's wait respectively,
When both sides hold the resource lock of other side's wait respectively, then both sides, which can not run, causes deadlock, and service is blocked and do not responded, now
Thread name on deadlock chain is combined as the 3rd and restarts reason.If both sides do not hold the resource lock of other side's wait respectively
When, then determine whether the current thread in lookup whether in the resource lock for waiting other threads to hold.When currently in lookup
Thread operation needs the support of the resource lock of other threads, when waiting the resource lock of other threads, then searches other threads and holds
Resource lock thread state, if the resource lock that other threads are held is used, make the stand-by period of the thread of current lookup
Long, the service long period is not responded, is also determined as deadlock, and the thread name on deadlock chain is combined as the 3rd and restarts original
Cause.When currently not needing the support of resource lock of other threads in the thread operation of lookup, then further judge currently to exist
The thread of lookup just in the thread of other processes of binder, when currently lookup thread other processes of binder thread
When, the process of binder servers takes the current thread resources in lookup, prevents the current thread in lookup from handling it certainly
Body thread, the stand-by period is longer, and service is not responded, and Watchdag actively kills system service.Now binder service ends are entered
Journey title and thread last column are the current process and thread for taking resource, thus by the process name of binder service ends
Claim and thread last column call stack name is referred to as the 3rd and restarts reason.When the thread currently in lookup does not have binder other enter
During the thread of journey, also there is not deadlock situation, and its server is again without response, then explanation be by its own the reason for draw
Rise stand-by period it is long, service do not respond, should using current thread last column call stack information as cause occur the 3rd class weight
The 3rd opened restarts reason.
Step S310, Java is collapsed stack information as REASON, into step 330.
When Restart Type is restarted for the first kind, i.e., when frame J ava layers program crashing cause the mobile terminal to restart, by Java
Stack information, which is collapsed, as first restarts reason.
Step S320, Native is collapsed stack information as REASON, into step 330.
, i.e., will when framework Native layers program crashing cause the mobile terminal to restart when Restart Type is restarted for Equations of The Second Kind
Nativea, which collapses stack information as second, restarts reason.
Step S300, searches whether to include REBOOTTYPE+REASON character string in issue database has been restarted,
It is then to enter step 340, otherwise into step 350.
Step S340, this is restarted daily record as log processing has been restarted, terminated.
Step S350, REBOOTTYPE+REASON is added to and restarted in issue database, and this is restarted daily record as
New restarts reason processing, terminates.
Reference picture 5, the present invention provides one kind and restarts daily record method for uploading, is restarting daily record method for uploading first embodiment
In, this, which restarts daily record merging method, includes:
Identifier is restarted in step S50, setting, when detecting mobile terminal and restarting, and whether judgement restarts identifier
Equal to preset value;
Step S60, when restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted daily record by described and be uploaded to
Server.
Technical scheme is applied to mobile terminal, when it Android frameworks exception occurs, when causing to restart, incites somebody to action
Restart daily record to upload onto the server.Android system is that based on Linux, have Init processes in Linux, be on linux system
First consumer process, user is root, possesses highest authority in system, by parsing init.rc file starts
Zygote processes.Set before init.rc file start Zygote processes and restart identifier (sys.android.reboot),
And this is restarted into attribute of identifiers value be set to preset value.Specifically, its property value can be preset as to 0, and in zygote
Service definition in addition restart arranges value mark onrestart set sys.android.reboot property values be preset as 1.
By above-mentioned processing, sys.android.reboot property values are 0 when system normally starts, if restarting occurs in Android
Sys.android.reboot property values are 1.When detecting mobile terminal and occurring restarting (Android is restarted), judge to restart
Whether the property value of identifier (sys.android.reboot) is equal to preset value.
Wherein when restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted daily record by described and be uploaded to service
The step of device, includes:
Step m, when restarting identifier equal to preset value, generation framework is broadcasted extremely;
Step n, the abnormal broadcast transmission of the framework to log system is grabbed so that log system is based on framework broadcast extremely
Take and restart daily record, and restart daily record by described and upload onto the server.
Further, when judging to restart identifier equal to preset value, it is determined as that mobile terminal Android frameworks are different
Restart caused by often, now generate framework and broadcast extremely.By Android frameworks by this broadcast transmission to Log log systems,
Log log systems include trace files and Android log weight after this broadcast is received by the crawl of Logcat instruments
Daily record is opened, and this is restarted into daily record and is uploaded onto the server.
Reference picture 7, Fig. 7 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The embodiment of the present invention, which restarts daily record merger system, includes the server and mobile terminal of interaction, and server can net
Stand, mobile terminal can be the terminal device such as PC or smart mobile phone, tablet personal computer pocket computer.
It can include as shown in fig. 7, this restarts daily record merger system:Processor 110, such as CPU, memory 109, communication
Bus 1002, and processor 110 and memory 109 may reside in server, can also be present in mobile terminal, can also take
Business device and mobile terminal are all present.Wherein, communication bus 1002 is used to realize the connection between processor 110 and memory 109
Communication.Memory 109 can be the memory (non-volatile memory) of high-speed RAM memory or stabilization,
Such as magnetic disk storage.Memory 109 optionally can also be the storage device independently of aforementioned processor 110.
Alternatively, this, which restarts daily record merger system, can also include user interface, network interface, camera, RF (Radio
Frequency, radio frequency) circuit, sensor, voicefrequency circuit, WiFi module etc..User interface can include display screen
(Display), input block such as keyboard (Keyboard), optional user interface can also include wireline interface, the nothing of standard
Line interface.Network interface can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard.
It will be understood by those skilled in the art that the daily record merger system architecture of restarting shown in Fig. 7 is not constituted to restarting
The restriction of daily record merger system, can include than illustrating more or less parts, either combine some parts or different
Part is arranged.
As shown in fig. 7, leading to as operating system, network can be included in a kind of memory 109 of computer-readable storage medium
Believe module and restart daily record merger program.Operating system is that daily record merger system hardware and software resource are restarted in management and control
Program, support to restart the operation of daily record merger program and other softwares and/or program.Network communication module is deposited for realization
Communication between each component in the inside of reservoir 109, and communicated with restarting in daily record merger system between other hardware and softwares.
Restarting daily record merger system shown in Fig. 7, restarting daily record merger program and can be applied to server, processor
110 be used for perform stored in memory 109 restart daily record merger program, realize following steps:
Receive and parse through mobile terminal upload restarts daily record, to obtain Restart Type and restart reason, and will restart class
Type and restart reason and be incorporated as restarting keyword;
Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
When restart be not present in issue database it is described restart keyword when, by it is described restart keyword and be added to restart ask
Inscribe database, and using it is described restart daily record as a class newly restart cause type storage.
Further, the judgement includes after restarting the step of restarting keyword with the presence or absence of described in issue database
Including:
When restart in issue database exist it is described restart keyword when, will restart that keyword is corresponding to restart daily record and be included into
It is original to restart cause type, and will restart that keyword is corresponding to restart the renewal of daily record quantity.
Further, it is described receive and parse through mobile terminal upload restart daily record, Restart Type and restart original to obtain
Because the step of include:
Receive that mobile terminal uploads restarts daily record, and to restarting crash log in daily record and system journal parsing to obtain
Take Restart Type;
According to the classification of the Restart Type, acquisition classification is corresponding to restart reason.
Further, the step of described pair of crash log restarted in daily record and system journal are parsed to obtain Restart Type
Including:
Judging to whether there is the first character string in crash log, when there is the first character string, judging Restart Type as the
One class is restarted, and obtains the restarting information that the first kind is restarted;
Judging to whether there is the second character string in crash log, when there is the second character string, judging Restart Type as the
Two classes are restarted, and obtain the restarting information that Equations of The Second Kind is restarted;
Judging to whether there is the 3rd character string in system journal, when there is three character strings, judging Restart Type as the
Three classes are restarted, and obtain the restarting information that the 3rd class is restarted.
Further, the classification according to the Restart Type, obtaining the step of classification is corresponding to restart reason includes:
When Restart Type is restarted for the first kind, the restarting information restarted according to the first kind determines that first restarts reason;
When Restart Type is restarted for Equations of The Second Kind, the restarting information restarted according to Equations of The Second Kind determines that second restarts reason;
When Restart Type is that the 3rd class is restarted, the restarting information restarted according to the 3rd class determines that the 3rd restarts reason.
Further, it is described by Restart Type and to restart the step of reason is incorporated as restarting keyword and include:
The first kind is restarted to restart reason with first and be incorporated as first and restarts keyword;
Equations of The Second Kind is restarted to restart reason with second and be incorporated as second and restarts keyword;
3rd class is restarted to restart reason with the 3rd and be incorporated as the 3rd and restarts keyword.
Further, restarting daily record merger system shown in Fig. 7, restart daily record merger program can be applied to it is mobile eventually
End, what processor 110 was stored for performing in memory 109 restarts daily record merger program, realizes following steps:
Identifier is restarted in setting, when detecting mobile terminal and restarting, judgement restart identifier whether be equal to it is default
Value;
When restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted daily record by described and uploaded onto the server.
Further, described when restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted described in daily record
The step of reaching server includes:
When restarting identifier equal to preset value, generation framework is broadcasted extremely;
By the abnormal broadcast transmission of the framework to log system, restart so that log system is based on framework broadcast crawl extremely
Daily record, and restart daily record by described and upload onto the server.
The invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or
More than one program of person, one or more than one program can also by one or more than one computing device with
In:
Receive and parse through mobile terminal upload restarts daily record, to obtain Restart Type and restart reason, and will restart class
Type and restart reason and be incorporated as restarting keyword;
Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
When restart be not present in issue database it is described restart keyword when, by it is described restart keyword and be added to restart ask
Inscribe database, and using it is described restart daily record as a class newly restart cause type storage.
Further, the judgement includes after restarting the step of restarting keyword with the presence or absence of described in issue database
Including:
When restart in issue database exist it is described restart keyword when, will restart that keyword is corresponding to restart daily record and be included into
It is original to restart cause type, and will restart that keyword is corresponding to restart the renewal of daily record quantity.
Further, it is described receive and parse through mobile terminal upload restart daily record, Restart Type and restart original to obtain
Because the step of include:
Receive that mobile terminal uploads restarts daily record, and to restarting crash log in daily record and system journal parsing to obtain
Take Restart Type;
According to the classification of the Restart Type, acquisition classification is corresponding to restart reason.
Further, the step of described pair of crash log restarted in daily record and system journal are parsed to obtain Restart Type
Including:
Judging to whether there is the first character string in crash log, when there is the first character string, judging Restart Type as the
One class is restarted, and obtains the restarting information that the first kind is restarted;
Judging to whether there is the second character string in crash log, when there is the second character string, judging Restart Type as the
Two classes are restarted, and obtain the restarting information that Equations of The Second Kind is restarted;
Judging to whether there is the 3rd character string in system journal, when there is three character strings, judging Restart Type as the
Three classes are restarted, and obtain the restarting information that the 3rd class is restarted.
Further, the classification according to the Restart Type, obtaining the step of classification is corresponding to restart reason includes:
When Restart Type is restarted for the first kind, the restarting information restarted according to the first kind determines that first restarts reason;
When Restart Type is restarted for Equations of The Second Kind, the restarting information restarted according to Equations of The Second Kind determines that second restarts reason;
When Restart Type is that the 3rd class is restarted, the restarting information restarted according to the 3rd class determines that the 3rd restarts reason.
Further, it is described by Restart Type and to restart the step of reason is incorporated as restarting keyword and include:
The first kind is restarted to restart reason with first and be incorporated as first and restarts keyword;
Equations of The Second Kind is restarted to restart reason with second and be incorporated as second and restarts keyword;
3rd class is restarted to restart reason with the 3rd and be incorporated as the 3rd and restarts keyword.
One or more than one program can also by one or more than one computing device for:
Identifier is restarted in setting, when detecting mobile terminal and restarting, judgement restart identifier whether be equal to it is default
Value;
When restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted daily record by described and uploaded onto the server.
Further, described when restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted described in daily record
The step of reaching server includes:
When restarting identifier equal to preset value, generation framework is broadcasted extremely;
By the abnormal broadcast transmission of the framework to log system, restart so that log system is based on framework broadcast crawl extremely
Daily record, and restart daily record by described and upload onto the server.
Computer-readable recording medium embodiment of the present invention restarts each embodiment base of daily record merging method with above-mentioned
This is identical, will not be repeated here.
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. one kind restarts daily record merging method, it is characterised in that described to restart daily record merging method and comprise the following steps:
Receive and parse through mobile terminal upload restarts daily record, to obtain the Restart Type of mobile terminal and restart reason, and will
Restart Type and restart reason and be incorporated as restarting keyword;
Judgement is restarted in issue database and restarts keyword with the presence or absence of described in;
When restart be not present in issue database it is described restart keyword when, using it is described restart daily record as a class newly restart original
Because of type storage, and by it is described restart keyword be added to restart issue database with it is new restart cause type and associate deposit
Storage.
2. restart daily record merging method as claimed in claim 1, it is characterised in that the judgement, which is restarted in issue database, is
Include after the step of restarting keyword described in no presence:
When restart in issue database exist it is described restart keyword when, will restart keyword it is corresponding restart daily record be included into it is original
Restart cause type, and will restart that keyword is corresponding to restart the renewal of daily record quantity.
3. restart daily record merging method as claimed in claim 1, it is characterised in that described to receive and parse through mobile terminal upload
Restart daily record, to obtain Restart Type and include the step of restart reason:
Receive that mobile terminal uploads restarts daily record, and to restarting crash log in daily record and system journal parsing to obtain weight
Open type;
According to the classification of the Restart Type, obtain that Restart Type is corresponding to restart reason.
4. restart daily record merging method as claimed in claim 3, it is characterised in that the described pair of crash log restarted in daily record
The step of with system journal parsing to obtain Restart Type, includes:
Judging to whether there is the first character string in crash log, when there is the first character string, judging Restart Type as the first kind
Restart;
Judging to whether there is the second character string in crash log, when there is the second character string, judging Restart Type as Equations of The Second Kind
Restart;
Judging to whether there is the 3rd character string in system journal, when there is three character strings, judging Restart Type as the 3rd class
Restart.
5. restart daily record merging method as claimed in claim 4, it is characterised in that point according to the Restart Type
Class, obtaining the step of classification is corresponding to restart reason includes:
When Restart Type is restarted for the first kind, the restarting information restarted according to the first kind determines that first restarts reason;
When Restart Type is restarted for Equations of The Second Kind, the restarting information restarted according to Equations of The Second Kind determines that second restarts reason;
When Restart Type is that the 3rd class is restarted, the restarting information restarted according to the 3rd class determines that the 3rd restarts reason.
6. restart daily record merging method as claimed in claim 5, it is characterised in that described to close Restart Type with reason is restarted
And it is used as the step of restarting keyword to include:
The first kind is restarted to restart reason with first and be incorporated as first and restarts keyword;
Equations of The Second Kind is restarted to restart reason with second and be incorporated as second and restarts keyword;
3rd class is restarted to restart reason with the 3rd and be incorporated as the 3rd and restarts keyword.
7. one kind restarts daily record method for uploading, it is characterised in that described to restart daily record method for uploading and comprise the following steps:
Identifier is restarted in setting, when detecting mobile terminal and restarting, and judgement restarts whether identifier is equal to preset value;
When restarting identifier equal to preset value, daily record is restarted in crawl, and is restarted daily record by described and uploaded onto the server.
8. restart daily record method for uploading as claimed in claim 7, it is characterised in that described to restart identifier equal to preset value
When, daily record is restarted in crawl, and is restarted the step of daily record uploads onto the server by described and included:
When restarting identifier equal to preset value, generation framework is broadcasted extremely;
By the abnormal broadcast transmission of the framework to log system, day is restarted so that log system is based on framework broadcast crawl extremely
Will, and restart daily record by described and upload onto the server.
9. one kind restarts daily record merger system, it is characterised in that described to restart daily record merger system and include:Memory, processor,
Communication bus and it is stored on the memory and restarts daily record merger program:
The communication bus is used to realize the connection communication between processor and memory;
The processor be used to performing it is described restart daily record merger program, to realize as any one of claim 1-6
The step of restarting daily record merging method or any one of claim 7-8 the step of restarting daily record method for uploading.
10. a kind of computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium and restart day
Will merger program, it is described restart when daily record merger program is executed by processor realize as any one of claim 1-6
The step of restarting daily record merging method or any one of claim 7-8 the step of restarting daily record method for uploading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710279873.4A CN107133143A (en) | 2017-04-25 | 2017-04-25 | Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710279873.4A CN107133143A (en) | 2017-04-25 | 2017-04-25 | Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107133143A true CN107133143A (en) | 2017-09-05 |
Family
ID=59716037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710279873.4A Pending CN107133143A (en) | 2017-04-25 | 2017-04-25 | Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133143A (en) |
Cited By (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766222A (en) * | 2017-10-31 | 2018-03-06 | 努比亚技术有限公司 | Blank screen detection method, mobile terminal and computer-readable recording medium |
CN107861827A (en) * | 2017-10-31 | 2018-03-30 | 努比亚技术有限公司 | Card screen detection method, mobile terminal and computer-readable recording medium |
CN108012031A (en) * | 2017-11-30 | 2018-05-08 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108040160A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108040159A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on hardware driving |
CN108038038A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108038030A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108052412A (en) * | 2017-12-28 | 2018-05-18 | 努比亚技术有限公司 | Restart Fault Locating Method, mobile terminal and computer readable storage medium |
CN108052437A (en) * | 2017-12-28 | 2018-05-18 | 努比亚技术有限公司 | Restart localization method, mobile terminal and computer readable storage medium |
CN108052430A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108052406A (en) * | 2017-12-08 | 2018-05-18 | 北京奇虎科技有限公司 | Terminal program exception closing information processing method, device, terminal |
CN108073491A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108076200A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108089937A (en) * | 2017-12-28 | 2018-05-29 | 努比亚技术有限公司 | Localization method, mobile terminal and storage medium are restarted based on direct Memory Allocation |
CN108108257A (en) * | 2017-12-28 | 2018-06-01 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on MDSS |
CN108121613A (en) * | 2017-12-28 | 2018-06-05 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on page |
CN108170549A (en) * | 2017-12-28 | 2018-06-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108182133A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108182123A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108196968A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108197023A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108196969A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | Restart monitoring and localization method, mobile terminal and computer readable storage medium |
CN108228375A (en) * | 2017-12-28 | 2018-06-29 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108228423A (en) * | 2017-12-28 | 2018-06-29 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108228424A (en) * | 2017-12-28 | 2018-06-29 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on GPU |
CN108255631A (en) * | 2017-12-28 | 2018-07-06 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage 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 |
CN108334433A (en) * | 2018-01-31 | 2018-07-27 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on power managed |
CN108563582A (en) * | 2018-04-28 | 2018-09-21 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on power management |
CN108595311A (en) * | 2017-12-28 | 2018-09-28 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on Peripheral Interface |
CN108804250A (en) * | 2018-05-30 | 2018-11-13 | 努比亚技术有限公司 | Restart localization method, mobile terminal and storage medium based on input/output module |
CN109359026A (en) * | 2018-08-15 | 2019-02-19 | 中国平安人寿保险股份有限公司 | Log reporting method, device, electronic equipment and computer readable storage medium |
CN109408266A (en) * | 2018-10-08 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of determination method and apparatus of Restart Type |
CN111104185A (en) * | 2019-12-20 | 2020-05-05 | 上海米哈游网络科技股份有限公司 | File analysis method, device, system and storage medium |
CN111414270A (en) * | 2020-03-24 | 2020-07-14 | 北京字节跳动网络技术有限公司 | Exception handling method and device |
CN112347067A (en) * | 2020-10-27 | 2021-02-09 | 努比亚技术有限公司 | Log information management and control method and device and computer readable storage medium |
CN112612647A (en) * | 2020-12-29 | 2021-04-06 | 上海达梦数据库有限公司 | Log parallel replay method, device, equipment and storage medium |
CN113032183A (en) * | 2021-03-24 | 2021-06-25 | 西安闻泰信息技术有限公司 | System management method, device, computer equipment and storage medium |
CN114124664A (en) * | 2021-11-23 | 2022-03-01 | 上海新炬网络技术有限公司 | Method for judging restart of network equipment based on log and equipment neighbor relation |
US11467894B2 (en) | 2018-10-16 | 2022-10-11 | Huawei Technologies Co., Ltd. | Screen freezing processing method and terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011096184A (en) * | 2009-11-02 | 2011-05-12 | Hitachi Information Systems Ltd | System and method for supporting daily report preparation |
CN103701926A (en) * | 2013-12-31 | 2014-04-02 | 小米科技有限责任公司 | Method, device and system for obtaining fault reason information |
CN105430681A (en) * | 2015-11-04 | 2016-03-23 | 努比亚技术有限公司 | Automatic abnormity upload and recovery methods, automatic abnormity upload device and mobile terminal |
CN105574096A (en) * | 2015-12-10 | 2016-05-11 | 惠州Tcl移动通信有限公司 | Method and system for obtaining, uploading and analyzing log information |
CN105930247A (en) * | 2016-04-14 | 2016-09-07 | 北京小米移动软件有限公司 | Method, device and mobile terminal for processing problem of system restart |
CN106383759A (en) * | 2016-08-31 | 2017-02-08 | 福建联迪商用设备有限公司 | Method and apparatus convenient for tracking and locating fault of payment terminal |
CN106571954A (en) * | 2016-10-24 | 2017-04-19 | 上海斐讯数据通信技术有限公司 | Abnormal restart reason detecting method and device of AP equipment |
-
2017
- 2017-04-25 CN CN201710279873.4A patent/CN107133143A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011096184A (en) * | 2009-11-02 | 2011-05-12 | Hitachi Information Systems Ltd | System and method for supporting daily report preparation |
CN103701926A (en) * | 2013-12-31 | 2014-04-02 | 小米科技有限责任公司 | Method, device and system for obtaining fault reason information |
CN105430681A (en) * | 2015-11-04 | 2016-03-23 | 努比亚技术有限公司 | Automatic abnormity upload and recovery methods, automatic abnormity upload device and mobile terminal |
CN105574096A (en) * | 2015-12-10 | 2016-05-11 | 惠州Tcl移动通信有限公司 | Method and system for obtaining, uploading and analyzing log information |
CN105930247A (en) * | 2016-04-14 | 2016-09-07 | 北京小米移动软件有限公司 | Method, device and mobile terminal for processing problem of system restart |
CN106383759A (en) * | 2016-08-31 | 2017-02-08 | 福建联迪商用设备有限公司 | Method and apparatus convenient for tracking and locating fault of payment terminal |
CN106571954A (en) * | 2016-10-24 | 2017-04-19 | 上海斐讯数据通信技术有限公司 | Abnormal restart reason detecting method and device of AP equipment |
Cited By (59)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861827A (en) * | 2017-10-31 | 2018-03-30 | 努比亚技术有限公司 | Card screen detection method, mobile terminal and computer-readable recording medium |
CN107766222A (en) * | 2017-10-31 | 2018-03-06 | 努比亚技术有限公司 | Blank screen detection method, mobile terminal and computer-readable recording medium |
CN107861827B (en) * | 2017-10-31 | 2021-05-21 | 努比亚技术有限公司 | Card screen detection method, mobile terminal and computer readable storage medium |
CN108040160B (en) * | 2017-11-30 | 2020-12-18 | 南京中诚签信息科技有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108012031A (en) * | 2017-11-30 | 2018-05-08 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108040160A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108040159A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on hardware driving |
CN108038038A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108038030A (en) * | 2017-11-30 | 2018-05-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer-readable recording medium |
CN108052430A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108040159B (en) * | 2017-11-30 | 2021-01-29 | 江苏觅丰电商科技有限公司 | Restart positioning method based on hardware drive, mobile terminal and readable storage medium |
CN108052406A (en) * | 2017-12-08 | 2018-05-18 | 北京奇虎科技有限公司 | Terminal program exception closing information processing method, device, terminal |
CN108197023B (en) * | 2017-12-28 | 2021-11-16 | 努比亚技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108076200A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108108257A (en) * | 2017-12-28 | 2018-06-01 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on MDSS |
CN108121613A (en) * | 2017-12-28 | 2018-06-05 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on page |
CN108170549A (en) * | 2017-12-28 | 2018-06-15 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108182133A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108182123A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108196968A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108197023A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108196969A (en) * | 2017-12-28 | 2018-06-22 | 努比亚技术有限公司 | Restart monitoring and localization method, mobile terminal and computer readable storage medium |
CN108228375A (en) * | 2017-12-28 | 2018-06-29 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108228423A (en) * | 2017-12-28 | 2018-06-29 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108228424A (en) * | 2017-12-28 | 2018-06-29 | 努比亚技术有限公司 | Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on GPU |
CN108255631A (en) * | 2017-12-28 | 2018-07-06 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108196968B (en) * | 2017-12-28 | 2022-09-13 | 上海新纳通信技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108228423B (en) * | 2017-12-28 | 2022-04-19 | 努比亚技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108073491B (en) * | 2017-12-28 | 2022-04-19 | 努比亚技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108595311A (en) * | 2017-12-28 | 2018-09-28 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on Peripheral Interface |
CN108121613B (en) * | 2017-12-28 | 2022-03-18 | 努比亚技术有限公司 | Memory page-based restart positioning method, mobile terminal and readable storage medium |
CN108052437B (en) * | 2017-12-28 | 2022-01-14 | 努比亚技术有限公司 | Restart positioning method, mobile terminal and computer readable storage medium |
CN108182133B (en) * | 2017-12-28 | 2022-01-14 | 努比亚技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108052412A (en) * | 2017-12-28 | 2018-05-18 | 努比亚技术有限公司 | Restart Fault Locating Method, mobile terminal and computer readable storage medium |
CN108595311B (en) * | 2017-12-28 | 2021-11-16 | 努比亚技术有限公司 | Restart positioning method based on peripheral interface, mobile terminal and readable storage medium |
CN108089937A (en) * | 2017-12-28 | 2018-05-29 | 努比亚技术有限公司 | Localization method, mobile terminal and storage medium are restarted based on direct Memory Allocation |
CN108076200B (en) * | 2017-12-28 | 2021-01-05 | 努比亚技术有限公司 | Mobile terminal restart positioning method, mobile terminal and computer readable storage medium |
CN108073491A (en) * | 2017-12-28 | 2018-05-25 | 努比亚技术有限公司 | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium |
CN108052437A (en) * | 2017-12-28 | 2018-05-18 | 努比亚技术有限公司 | Restart localization method, mobile terminal and computer readable storage 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 |
CN108268335B (en) * | 2018-01-31 | 2022-04-19 | 努比亚技术有限公司 | Restart positioning method based on system service, mobile terminal and storage medium |
CN108334433A (en) * | 2018-01-31 | 2018-07-27 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on power managed |
CN108334433B (en) * | 2018-01-31 | 2022-01-14 | 努比亚技术有限公司 | Restart positioning method based on power consumption management, mobile terminal and readable storage medium |
CN108563582B (en) * | 2018-04-28 | 2022-11-29 | 深圳市卓鸿威科技有限公司 | Restart positioning method based on power management, mobile terminal and readable storage medium |
CN108563582A (en) * | 2018-04-28 | 2018-09-21 | 努比亚技术有限公司 | Restart localization method, mobile terminal and readable storage medium storing program for executing based on power management |
CN108804250A (en) * | 2018-05-30 | 2018-11-13 | 努比亚技术有限公司 | Restart localization method, mobile terminal and storage medium based on input/output module |
CN109359026A (en) * | 2018-08-15 | 2019-02-19 | 中国平安人寿保险股份有限公司 | Log reporting method, device, electronic equipment and computer readable storage medium |
CN109408266A (en) * | 2018-10-08 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of determination method and apparatus of Restart Type |
CN109408266B (en) * | 2018-10-08 | 2022-02-18 | 郑州云海信息技术有限公司 | Method and device for determining restart type |
US11467894B2 (en) | 2018-10-16 | 2022-10-11 | Huawei Technologies Co., Ltd. | Screen freezing processing method and terminal |
CN111104185A (en) * | 2019-12-20 | 2020-05-05 | 上海米哈游网络科技股份有限公司 | File analysis method, device, system and storage medium |
CN111414270A (en) * | 2020-03-24 | 2020-07-14 | 北京字节跳动网络技术有限公司 | Exception handling method and device |
CN111414270B (en) * | 2020-03-24 | 2023-05-09 | 北京字节跳动网络技术有限公司 | Exception handling method and device |
CN112347067A (en) * | 2020-10-27 | 2021-02-09 | 努比亚技术有限公司 | Log information management and control method and device and computer readable storage medium |
CN112347067B (en) * | 2020-10-27 | 2024-01-09 | 努比亚技术有限公司 | Log information management and control method, equipment and computer readable storage medium |
CN112612647A (en) * | 2020-12-29 | 2021-04-06 | 上海达梦数据库有限公司 | Log parallel replay method, device, equipment and storage medium |
CN112612647B (en) * | 2020-12-29 | 2024-02-23 | 上海达梦数据库有限公司 | Log parallel replay method, device, equipment and storage medium |
CN113032183A (en) * | 2021-03-24 | 2021-06-25 | 西安闻泰信息技术有限公司 | System management method, device, computer equipment and storage medium |
CN114124664A (en) * | 2021-11-23 | 2022-03-01 | 上海新炬网络技术有限公司 | Method for judging restart of network equipment based on log and equipment neighbor relation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107133143A (en) | Restart daily record merging method, method for uploading, system and readable storage medium storing program for executing | |
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN107688607A (en) | The method and mobile terminal of a kind of database access, computer-readable recording medium | |
CN107273528A (en) | A kind of front and back end separation method, mobile terminal and computer-readable recording medium | |
CN107276789A (en) | Daily record method for uploading, device and computer-readable recording medium | |
CN107330035A (en) | Operation Log synchronous method, mobile terminal and computer-readable recording medium in a kind of database | |
CN107463602A (en) | A kind of log processing method and server, client | |
CN109814941A (en) | A kind of application starting method, terminal and computer readable storage medium | |
CN107508892A (en) | A kind of page access method, server and computer-readable recording medium | |
CN107273263A (en) | A kind of analysis method of misoperation, application terminal and monitoring server | |
CN107341011A (en) | A kind of desktop display method, mobile terminal and computer-readable recording medium | |
CN107169150A (en) | Picture method for pushing, mobile terminal and computer-readable medium | |
CN107133302A (en) | Realize method, system, terminal and the computer-readable recording medium of data consistency | |
CN107038245A (en) | Page switching method, mobile terminal and storage medium | |
CN107194732A (en) | One kind application method for pushing, mobile terminal and computer-readable recording medium | |
CN107132974A (en) | Terminal freezes screen processing method, terminal and computer-readable recording medium | |
CN107220050A (en) | Adaptive display method, terminal and computer-readable recording medium | |
CN107463324A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN107403104A (en) | A kind of apparatus and method for realizing tables of data inquiry limitation | |
CN107341052A (en) | A kind of message treatment method and device | |
CN107426304A (en) | Method, system and the proxy server of interactive media resource | |
CN107273433A (en) | A kind of file scanning method, equipment and computer-readable recording medium | |
CN109002547A (en) | Journal file storage method, mobile terminal and computer readable storage medium | |
CN107818022A (en) | Application programming interfaces merging method, mobile terminal and computer-readable recording medium | |
CN110069458A (en) | Method, equipment and the storage medium of invalid resource in a kind of deletion Android system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170905 |