CN107908492A - Blank screen detection method, mobile terminal and computer-readable recording medium - Google Patents

Blank screen detection method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107908492A
CN107908492A CN201711051356.8A CN201711051356A CN107908492A CN 107908492 A CN107908492 A CN 107908492A CN 201711051356 A CN201711051356 A CN 201711051356A CN 107908492 A CN107908492 A CN 107908492A
Authority
CN
China
Prior art keywords
mobile terminal
critical workflow
split screen
default
monitoring data
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.)
Granted
Application number
CN201711051356.8A
Other languages
Chinese (zh)
Other versions
CN107908492B (en
Inventor
周龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711051356.8A priority Critical patent/CN107908492B/en
Publication of CN107908492A publication Critical patent/CN107908492A/en
Application granted granted Critical
Publication of CN107908492B publication Critical patent/CN107908492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0742Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in a mobile device, e.g. mobile phones, handheld devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/142Reconfiguring to eliminate the error
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring 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)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of blank screen detection method, mobile terminal and computer-readable recording medium, the blank screen detection method comprises the following steps:The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring data;Judge whether the default critical workflow in the display service of the mobile terminal exception occurs according to the critical workflow monitoring data;When default critical workflow in the display service of the mobile terminal occurs abnormal, split screen application daily record is obtained, and judge whether the split screen application of the mobile terminal exception occurs according to the split screen application daily record;When the split screen application of the mobile terminal occurs abnormal, black screen trouble information is extracted from the critical workflow monitoring data and the split screen application daily record, and the black screen trouble information is exported to feature journal file.The present invention quick and precisely positions blank screen reason easy to developer's feature based journal file, effectively reduces human cost and time cost.

Description

Blank screen detection method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of blank screen detection method, mobile terminal and computer Readable storage medium storing program for executing.
Background technology
With the development of mobile terminal technology, the APP (Application, application program) integrated in mobile terminal is also got over Come more, it is ten hundreds of to be currently based on the application program of the different scenes of mobile terminal, as user installs on mobile terminals Third-party application and service amount of software it is more and more, during people's routine use mobile terminal, easily influence mobile terminal Display service, causes mobile terminal blank screen phenomenon occur because display service appearance is abnormal.
At present, when there is blank screen phenomenon in mobile terminal, it is necessary to user it is hand-operated forced restart mobile terminal make its recover just Often, user experience is bad, in addition, it is varied to cause mobile terminal the reason for blank screen phenomenon occur, by restarting mobile terminal It might not can be made to recover normal, it is necessary to which mobile terminal is retracted factory repair, it is necessary to which developer expends the more time Positioning blank screen reason is detected to mobile terminal.Therefore, how fast positioning blank screen reason, reduce human cost and time into Originally it is current urgent problem to be solved.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of blank screen detection method, mobile terminal and computer-readable storage medium Matter, it is intended to solve how fast positioning blank screen reason, reduce the technical problem of human cost and time cost.
To achieve the above object, the present invention provides a kind of blank screen detection method, and the blank screen detection method is applied to movement Terminal, the blank screen detection method comprise the following steps:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring number According to;
The default critical workflow in the display service of the mobile terminal is judged according to the critical workflow monitoring data is It is no exception occur;
When default critical workflow in the display service of the mobile terminal occurs abnormal, split screen application daily record is obtained, And judge whether the split screen application of the mobile terminal exception occurs according to the split screen application daily record;
, should from the critical workflow monitoring data and the split screen when the split screen application of the mobile terminal occurs abnormal With black screen trouble information is extracted in daily record, and the black screen trouble information is exported to feature journal file.
Alternatively, it is default in the display service that the mobile terminal is judged according to the critical workflow monitoring data Whether critical workflow, which abnormal step occurs, includes:
Judge whether include presupposed information in the critical workflow monitoring data;
If including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow occurs abnormal;
If not including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow do not occur exception.
Alternatively, it is described to judge whether the split screen application of the mobile terminal exception occurs according to the split screen application daily record The step of include:
The split screen application operation for reading in daily record and being recorded in the default flow of split screen application is applied from the distribution Information;
The log recording bar number of the split screen application operation information in preset time is counted, and judges the log recording bar Whether number exceedes predetermined threshold value;
When the log recording bar number exceedes predetermined threshold value, judge that exception occurs in the split screen application of the mobile terminal, And judge that the split screen application of the mobile terminal does not occur exception not less than predetermined threshold value in the log recording bar number.
Alternatively, it is default in the display service that the mobile terminal is judged according to the critical workflow monitoring data After whether critical workflow abnormal step occurs, the blank screen detection method further includes:
When default critical workflow in the display service of the mobile terminal does not occur abnormal, the mobile terminal is detected Whether black state is in;
When detecting that the mobile terminal is in black state, split screen application daily record is obtained, and should according to the split screen Whether the split screen application for judging the mobile terminal with daily record there is exception;
When the split screen application of the mobile terminal occurs abnormal, black screen trouble letter is extracted from the split screen application daily record Breath, and the black screen trouble information is exported to feature journal file.
Alternatively, it is default in the display service that the mobile terminal is judged according to the critical workflow monitoring data After whether critical workflow abnormal step occurs, the blank screen detection method further includes:
When default critical workflow in the display service of the mobile terminal occurs abnormal, the critical workflow is monitored Data are stored to default partition holding;
Detect the mobile terminal be in put out screen holding state when, to the critical workflow in the default partition holding Monitoring data carry out de-redundancy processing.
Alternatively, the critical workflow monitoring data in the default partition holding carry out the step of de-redundancy processing Afterwards, the blank screen detection method further includes:
Judge whether the storage data quantity of critical workflow monitoring data described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring data exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and delete operation is carried out to the data to be deleted.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes:Memory, The blank screen detection program that processor and being stored in can be run on the memory and on the processor, the blank screen detect journey Sequence realizes the step of blank screen detection method as described above when being performed by the processor.
The present invention also provides a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium On be stored with blank screen detection program, blank screen detection program realizes blank screen detection method as described above when being executed by processor The step of.
The present invention provides a kind of blank screen detection method, mobile terminal and computer-readable recording medium, to mobile terminal Default critical workflow in display service is monitored, to obtain critical workflow monitoring data;Monitored according to the critical workflow Data judge whether the default critical workflow in the display service of the mobile terminal exception occurs;In the aobvious of the mobile terminal When showing that the default critical workflow in service occurs abnormal, split screen application daily record is obtained, and judge according to the split screen application daily record Whether the split screen application of the mobile terminal there is exception;When the split screen application of the mobile terminal occurs abnormal, from described Black screen trouble information is extracted in critical workflow monitoring data and the split screen application daily record, and the black screen trouble information is exported To feature journal file, this programme is monitored by the critical workflow in the display service to mobile terminal, and is being monitored When critical workflow in the display service of mobile terminal occurs abnormal, split screen application daily record is obtained, is then based on the split screen application When daily record determines that the split screen application of mobile terminal occurs abnormal, judge that black screen trouble occurs in mobile terminal, and black screen trouble is believed Breath output is to feature journal file, and easy to developer when the detection that blank screen reason is carried out to mobile terminal positions, inquiry is special Journal file is levied, so as to fast and accurately position blank screen reason, greatly reduces human cost and time cost.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the level schematic diagram of the operating system of mobile terminal of the present invention;
Fig. 3 is the flow diagram of blank screen detection method first embodiment of the present invention;
Fig. 4 is whether the split screen application for judging the mobile terminal according to the split screen application daily record described in Fig. 3 occurs The refinement flow diagram of abnormal step;
Fig. 5 is the flow diagram of blank screen detection method second embodiment of the present invention;
Fig. 6 is the flow diagram of blank screen detection method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
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 ", " component " 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 ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as 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 each embodiment of the realization present 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 unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the component 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 form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components, Either combine some components or different components 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, by the data sending of uplink to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication Standard or agreement, include 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, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex 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 to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided wireless broadband internet to the user and has 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 100 Formula, speech recognition mode, broadcast reception mode when under isotype, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exports,.Moreover, audio output unit 103 The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of 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 100 further 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 sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 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 axis) 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, details are not described herein.
Display unit 106 is used for the information for showing by information input by user or being supplied to user.Display unit 106 can wrap 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 related.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 user on it or neighbouring touch operation (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment device is driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and 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 wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, when contact panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 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 the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, 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 100 or can be with For transmitting data between mobile terminal 100 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, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
With reference to Fig. 2, it is the level schematic diagram of the operating system stored in storing program area, as shown in Fig. 2, the operation system System includes Loader (loader) layer, Kernel (system kernel) layer, Native (local frame) layer, Framework (frame) Layer (including C++Framework layer and Framework layers of Java) and App (application program) layer, wherein, Kernel layers and Also there are HAL layers (hardware abstraction layers) between Native layers, between the C++Framework layers and Java Framework layers also There are JNI layers, also there are SysCall layers between the HAL layers and Kernel layers.
The Loader layers includes Boot ROM (starting service) and Boot Loader (opening initialization program), the Boot ROM is mainly used for when mobile terminal is in off-mode, and long-press Power (start) key start, chip guide starts from curing Default place's code in ROM starts to perform.Boot Loader are the bootstrap before start-up operation system, are mainly examined Look into the function such as RAM, initialization hardware parameter.
The Kernel layers be mainly used for carrying out initialization management of process, memory management, loading Display (display), The related work such as Camera Driver (camera driving) and Binder Driver (Binder drivings), and for creating kernel work Make the kernel finger daemon such as thread kworkder, traps thread ksoftirqd and traps thread thermal.
The finger daemon of the Native layers of user's space mainly come including init hatchings, HAL layers and boot animation etc.. Init processes (by kernel start user level process) can hatch ueventd, logd, healthd, installd, adbd and The user daemon process User such as lmkd Daemons;Init processes also start servicemanager (service house keeper) and The critical services such as bootanim (boot animation);Init processes hatch Zygote processes, and Zygote processes are operating system First Java process, Zygote are the parent processes of all Java processes, Zygote processes be in itself hatched by init processes and Come.
The Framework layers includes Zygote processes, System Server (system service) processes and Media Server (multimedia service) process, wherein, Zygote processes, are to be generated by init processes by fork after parsing init.rc files, Zygote processes mainly comprising loading ZygoteInit classes, registration Zygote Socket services end socket, loaded virtual machine, PreloadClasses and preloadResouces etc.;System Server processes, be by Zygote process fork, System Server are first processes of Zygote hatchings, and System Server are responsible for starting and manage whole Java Framework, comprising, ActivityManager (application component), PowerManager (power management component) and WindowManagerServer (window management component) etc. is serviced;Media Server processes, be by init processes fork and Come, be responsible for starting and manage whole C++framework, include AudioFlinger (audio service), Camera Service (camera service) and MediaPlayServer (multimedia service) etc. service.
The APP layers includes APP processes, and each APP processes are generated by Zygote processes fork, and Zygote processes hatch First App process be Launcher (desktop starter), desktop App, the Zygote process seen for user will also create The App processes such as Browser (browser), Phone (phone) and Email (mail), each App at least operate in a process On.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 109, and calls and is 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;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, 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 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of proposition mobile terminal of the present invention.
Fig. 1 is refer to, in the first embodiment of mobile terminal of the present invention, which includes:Memory, processor And the blank screen detection program that can be run on the memory and on the processor is stored in, the blank screen detects program quilt Processor realizes following steps when performing:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring number According to;
The default critical workflow in the display service of the mobile terminal is judged according to the critical workflow monitoring data is It is no exception occur;
When default critical workflow in the display service of the mobile terminal occurs abnormal, split screen application daily record is obtained, And judge whether the split screen application of the mobile terminal exception occurs according to the split screen application daily record;
, should from the critical workflow monitoring data and the split screen when the split screen application of the mobile terminal occurs abnormal With black screen trouble information is extracted in daily record, and the black screen trouble information is exported to feature journal file.
Further, following steps are also realized when the blank screen detection program is executed by processor:
Judge whether include presupposed information in the critical workflow monitoring data;
If including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow occurs abnormal;
If not including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow do not occur exception.
Further, following steps are also realized when the blank screen detection program is executed by processor:
The split screen application operation for reading in daily record and being recorded in the default flow of split screen application is applied from the distribution Information;
The log recording bar number of the split screen application operation information in preset time is counted, and judges the log recording bar Whether number exceedes predetermined threshold value;
When the log recording bar number exceedes predetermined threshold value, judge that exception occurs in the split screen application of the mobile terminal, And judge that the split screen application of the mobile terminal does not occur exception not less than predetermined threshold value in the log recording bar number.
Further, following steps are also realized when the blank screen detection program is executed by processor:
When default critical workflow in the display service of the mobile terminal does not occur abnormal, the mobile terminal is detected Whether black state is in;
When detecting that the mobile terminal is in black state, split screen application daily record is obtained, and should according to the split screen Whether the split screen application for judging the mobile terminal with daily record there is exception;
When the split screen application of the mobile terminal occurs abnormal, black screen trouble letter is extracted from the split screen application daily record Breath, and the black screen trouble information is exported to feature journal file.
Further, following steps are also realized when the blank screen detection program is executed by processor:
When default critical workflow in the display service of the mobile terminal occurs abnormal, the critical workflow is monitored Data are stored to default partition holding;
Detect the mobile terminal be in put out screen holding state when, to the critical workflow in the default partition holding Monitoring data carry out de-redundancy processing.
Further, following steps are also realized when the blank screen detection program is executed by processor:
Judge whether the storage data quantity of critical workflow monitoring data described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring data exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and delete operation is carried out to the data to be deleted.
The specific embodiment of mobile terminal of the present invention and each specific embodiment of following blank screen detection methods are essentially identical, This is not repeated.
Further, the present invention also provides a kind of blank screen detection method of the mobile terminal applied to shown in Fig. 1, with reference to figure 3, Fig. 3 be the flow diagram of blank screen detection method first embodiment of the present invention.
In the present embodiment, which includes:
Step S101, the default critical workflow in display service to the mobile terminal is monitored, to obtain key Flow monitoring data;
The blank screen detection method is applied to the mobile terminal shown in Fig. 1, which includes smart mobile phone and tablet electricity Brain etc..When the split screen application of display service and mobile terminal in mobile terminal operating system occurs abnormal, movement is easy to cause There is blank screen phenomenon in terminal, therefore, of the invention by combing and standardizing the display service in Java framework layer, and according to display The significance level of flow for displaying in service, critical workflow and non-pass are divided into by the flow for displaying that service is shown in Java framework layer Key flow, is then monitored critical workflow, realizes the exception monitoring of display service, and to the window creation stream of split screen application Journey, window resource loading flow and data communication process carry out log recording, should based on split screen then when display service is abnormal Log recording determines whether split screen application exception occurs, which includes light on and off screen broadcast reception flow, light on and off screen Reporting events flow, display caching region read flow and system UI displays prepare flow etc..Specifically, the present invention by Deployment monitoring thread, is run in the form of separate threads in the system_server processes of Java framework layer, and adjusts startup time Sequence ensures to perform before the formal startup of display service of Java framework layer.In addition, the present invention is also by Native layers of establishment Finger daemon, whether the monitoring thread for detecting the operation of Java framework layer there is exception, and the recovery after being abnormal, specifically Ground, the finger daemon actively initiate to communicate with monitoring thread progress heartbeat to judge to monitor whether thread is normally transported by timing OK, the state of monitoring thread is mainly read in heartbeat communication by Native layers of finger daemon, is sentenced according to the state read Disconnected monitoring thread whether normal operation, when finger daemon, which reads state, is in blocked state, timing is just carried out, when obstruction reaches To during preset duration will the positive closing monitoring thread, and re-create monitoring thread, it is ensured that monitoring thread is all the time in just Normal working status.
When mobile terminal will start to start display service, the system_server for being deployed in Java framework layer is performed Monitoring thread in process, is supervised by the default critical workflow in display service of the monitoring thread to the mobile terminal Survey, to obtain critical workflow monitoring data.The default critical workflow includes light on and off screen broadcast reception flow, light on and off screen reporting events Flow, display caching region read flow and system UI displays prepare flow etc., when which includes monitoring Between, the execution time of critical workflow mark, operational motion, operational motion, operational motion implementing result and dispaly state etc..
Specifically, the mobile terminal is to light on and off screen broadcast reception flow, light on and off screen reporting events flow, display caching region Read flow and system UI display preparation flows etc. to be monitored, that is, whether monitor the light on and off screen operation of user's triggering by mobile whole Hold successful execution, i.e., the state return value for performing the operation of light on and off screens read from register, judge the state return value whether with State return value before is identical, if the state return value is identical with state return value before, then it represents that light on and off screen is broadcasted Receive flow and be in abnormality, if the state return value is different from state return value before, then it represents that light on and off screen is broadcasted Receive flow and be in normal condition;Whether monitoring user reports success based on the light on and off screen event that power button triggers, if should Light on and off screen reporting events success, then it represents that light on and off screen reporting events flow is in normal condition, if the light on and off screen reporting events Failure, then it represents that measure screen light on and off screen reporting events flow of going out and be in abnormality;Monitor in display caching region generated data Whether it is more than predetermined threshold value with the similarity of data to be synthesized, if generated data and data to be synthesized in display caching region Similarity be greater than or equal to predetermined threshold value, then it represents that display caching region read flow be in normal condition, if display delay Deposit in region that the similarity of generated data and data to be synthesized is less than predetermined threshold value, then it represents that read flow in display caching region In abnormality;Whether the state value of monitoring system UI is preset state value, if the state value of system UI is preset state Value, then it represents that system UI displays prepare flow and are in abnormality, if the state value of system UI is not preset state value, table Show that system UI displays prepare flow and are in normal condition.
Step S102, the default pass in the display service of the mobile terminal is judged according to the critical workflow monitoring data Whether key flow there is exception;
The mobile terminal judges the shifting after critical workflow monitoring data are got, according to the critical workflow monitoring data Whether the default critical workflow in the display service of dynamic terminal there is exception.
Specifically, in the present embodiment, step S102 includes:
Judge whether include presupposed information in the critical workflow monitoring data;
If including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow occurs abnormal;
If not including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow do not occur exception.
The mobile terminal judges whether wrapped in the critical workflow monitoring data after critical workflow monitoring data are got Containing presupposed information, if including presupposed information in the critical workflow monitoring data, in the display service for judging mobile terminal There is exception in default critical workflow, if not including presupposed information in the critical workflow monitoring data, judges mobile terminal Default critical workflow in display service does not occur exception.The presupposed information include representing the state return value of light on and off screens operation with The identical information of state return value before, the information for representing the failure of light on and off screen reporting events, represent in display caching region It is preset state that the similarity of generated data and data to be synthesized, which is less than the information of predetermined threshold value and the state value of expression system UI, The information of value.It should be noted that the presupposed information can be configured by those skilled in the art based on actual conditions, this implementation Example does not illustrate this.
Step S103, when the default critical workflow in the display service of the mobile terminal occurs abnormal, obtains split screen Judge whether the split screen application of the mobile terminal exception occurs using daily record, and according to the split screen application daily record;
When default critical workflow of the mobile terminal in display service occurs abnormal, split screen application operation process is obtained Window creation flow, window resource loading flow and the data communication process that middle mobile terminal applies split screen carry out log recording Split screen application daily record, and according to the split screen application daily record judge the mobile terminal split screen application whether there is exception.The window Mouthful visioning procedure creates two split screens for split screen application, after window resource loading flow creates window for split screen application, Resource loading is carried out in window, which applies after resource load successfully for split screen, two split screens of progress it Between data communication.
Specifically, it is the refinement flow diagram of step S103 in Fig. 3 with reference to Fig. 4, Fig. 4, step S103 includes:
Step S1031, point for reading in daily record and being recorded in the default flow of split screen application is applied from the distribution Shield application operation information;
Step S1032, counts the log recording bar number of the split screen application operation information in preset time, and described in judgement Whether log recording bar number exceedes predetermined threshold value;
Step S1033, when the log recording bar number exceedes predetermined threshold value, judges the split screen application of the mobile terminal There is exception, and judge that the split screen application of the mobile terminal does not occur not less than predetermined threshold value in the log recording bar number It is abnormal.
The mobile terminal is read in split screen application when getting split screen application daily record from the distribution application daily record The split screen application operation information recorded in default flow, i.e., window creation flow, window resource loading flow in split screen application With the split screen application operation information recorded in data communication process, the split screen application operation information in preset time is then counted Log recording bar number, and judge whether the log recording bar number exceedes predetermined threshold value, preset if the log recording bar number exceedes Threshold value, then judge that exception occurs in the split screen application of the mobile terminal, if the log recording bar number judges not less than predetermined threshold value The split screen application of the mobile terminal does not occur exception.
For example, the log recording bar number of the split screen application operation information in window creation flow is 10, and every day Record time interval between will record is extremely short and every log recording is window creation failure, i.e., divides in preset time 10 window creations operations of screen application progress, at this time, it may be determined that the appearance of window creation flow is abnormal, namely split screen application appearance is different Often.In another example the log recording bar number of the split screen application operation information in window resource loads flow is 10, and every day Record time interval between will record is extremely short and every log recording is the loading failure of window resource, i.e., in preset time Interior split screen application carries out 10 window resource loading operations, at this time, it may be determined that abnormal, Ye Jifen occurs in window resource loading flow Screen application occurs abnormal.In another example the log recording bar number of the split screen application operation information in data communication flow is 10, And record time interval between every log recording is extremely short and every log recording is data communication failure, i.e., default Split screen application carries out 10 Data communication operations in time, at this time, it may be determined that exception occurs in data communication flow, namely split screen should It is abnormal with occurring.
Step S104, when the split screen application of the mobile terminal occurs abnormal, from the critical workflow monitoring data and Black screen trouble information is extracted in the split screen application daily record, and the black screen trouble information is exported to feature journal file.
The mobile terminal is abnormal in display service appearance, and during the split screen application appearance exception of operation, from the critical workflow Black screen trouble information is extracted in monitoring data and the split screen application daily record, and the black screen trouble information is exported to feature daily record text Part, specifically, mobile terminal individually create a thread and black screen trouble information are output to Debugerd processes, by Debugerd Process is by the orientation output of black screen trouble information into the feature journal file with the processing of Debugerd authorities.The black screen trouble is believed Breath includes the thread information for abnormal flow for displaying occur and appearance is blocked.
In specific implementation, this feature journal file is stored in default storage region, and the mobile terminal is periodically from default Feature journal file is read in storage region, and judges whether the bit number of this feature journal file is greater than or equal to predetermined bit Number, then when the bit number of this feature journal file is greater than or equal to predetermined bit number, by the feature in default storage region Journal file is uploaded to default high in the clouds and is stored, and is deleted from default storage region and upload successful feature journal file, Certain bit number can be exceeded in feature journal file, feature journal file is uploaded to high in the clouds and is stored, improve disk profit With rate.
In the present embodiment, the default critical workflow in display service of the present invention to mobile terminal is monitored, to obtain Take critical workflow monitoring data;Judged according to the critical workflow monitoring data default in the display service of the mobile terminal Whether critical workflow there is exception;When default critical workflow in the display service of the mobile terminal occurs abnormal, obtain Split screen application daily record, and judge whether the split screen application of the mobile terminal exception occurs according to the split screen application daily record; When the split screen application of the mobile terminal occurs abnormal, carried from the critical workflow monitoring data and the split screen application daily record Black screen trouble information is taken, and the black screen trouble information is exported to feature journal file, this programme and is passed through to mobile terminal Critical workflow in display service is monitored, and the critical workflow appearance in the display service of mobile terminal is monitored is abnormal When, obtain split screen application daily record, be then based on split screen application the daily record determine mobile terminal split screen application appearance exception when, sentence Determine mobile terminal and black screen trouble occur, and black screen trouble information is exported to feature journal file, easy to developer to moving When dynamic terminal carries out the detection positioning of blank screen reason, query characteristics journal file, so as to fast and accurately position blank screen reason, pole Big reduction human cost and time cost.
Further, with reference to Fig. 5, based on above-mentioned first embodiment, it is proposed that the second of blank screen detection method of the present invention is real Example is applied, difference lies in after step S102, which further includes with previous embodiment:
Step S105, when the default critical workflow in the display service of the mobile terminal does not occur abnormal, detects institute State whether mobile terminal is in black state;
Step S106, when detecting that the mobile terminal is in black state, obtains split screen application daily record, and according to institute State split screen application daily record and judge whether the split screen application of the mobile terminal exception occurs;
Step S107, when the split screen application of the mobile terminal occurs abnormal, is extracted from the split screen application daily record Black screen trouble information, and the black screen trouble information is exported to feature journal file.
It should be noted that the present invention is based on previous embodiment, it is proposed that a kind of display services black when not occurring exception Shield detection mode, be only explained below, it is other to can refer to previous embodiment.
The mobile terminal detects whether the mobile terminal is located when the default critical workflow during display services does not occur abnormal In black state, and when detecting that mobile terminal is in black state, split screen application daily record is obtained, and according to the split screen application Daily record judges whether the split screen application of the mobile terminal exception occurs, then when the split screen application of mobile terminal occurs abnormal, Black screen trouble information is extracted from the split screen application daily record, and the black screen trouble information is exported to feature journal file.
In the present embodiment, the present invention can service normal in the display of mobile terminal, and mobile terminal is in blank screen shape During state, further the split screen application to operation carries out abnormal judgement, and when the split screen application of operation occurs abnormal, judges to move The blank screen of dynamic terminal is caused by the exception of split screen application, accurately determines blank screen reason.
Further, with reference to Fig. 6, based on above-mentioned first or second embodiments, it is proposed that blank screen detection method of the present invention 3rd embodiment, difference lies in after step S102, which further includes with previous embodiment:
Step S108, when the default critical workflow in the display service of the mobile terminal occurs abnormal, by the pass Key flow monitoring data are stored to default partition holding;
Step S109, detect the mobile terminal be in put out screen holding state when, in the default partition holding Critical workflow monitoring data carry out de-redundancy processing.
It should be noted that the present invention proposes a kind of concrete mode of Elimination of Data Redundancy based on previous embodiment, below Only it is explained, it is other to can refer to previous embodiment.
When default critical workflow in the display service of mobile terminal occurs abnormal, which is deposited Storage to default partition holding, then detect mobile terminal be in put out screen holding state when, this is preset in partition holding Critical workflow monitoring data carry out de-redundancy processing, and store the critical workflow monitoring data after de-redundancy.For example, critical workflow The generated time of monitoring data is at 10 points to 11 points, and total stores 1000 datas, and the display service of mobile terminal In default critical workflow occur during 10 points to 11 points abnormal, then de-redundancy is carried out to 1000 datas of storage, will This 1000 data is integrated into including record data bulk and the output storage of an information at time point, is avoided to 1000 information Type and time point export storage respectively, to save memory space.
In specific implementation, which can also preset this in preset time the critical workflow in partition holding Monitoring data carry out de-redundancy processing, preset time is the reasonable de-redundancy interval time being determined by experiment, here every when In, it is necessary to de-redundancy data will not too much will not very little, cause spend overlong time or de-redundancy it is excessively frequent.Go The process of redundancy be by the critical workflow monitoring data preset this in preset time in partition holding be integrated into an information into Row storage.
In the present embodiment, the present invention is by the way that when mobile terminal is in and puts out screen holding state, number is monitored to critical workflow According to de-redundancy is carried out, the data of stored record can be effectively reduced, disk space is reduced and takes, improve disk utilization.
Further, based on above-mentioned 3rd embodiment, it is proposed that the fourth embodiment of blank screen detection method of the present invention, it is and preceding Stating embodiment, difference lies in after step step S109, which further includes:
Judge whether the storage data quantity of critical workflow monitoring data described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring data exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and delete operation is carried out to the data to be deleted.
It should be noted that the present invention based on previous embodiment proposes a kind of data storage method, below only to this into Row explanation, it is other to can refer to previous embodiment.
Specifically, the storage unit in mobile terminal is divided into multiple partition holdings, and each partition holding is used to store difference Data, and the capacity in each storage section is certain, that is, the data volume that may store is certain.Correspondingly, for storing crucial stream The capacity of the partition holding of journey monitoring data is also certain, is stored when the storage of critical workflow monitoring data is arrived this in preset time When in section, its data volume stored is continuously increased, it is possible to beyond its capacity.So as to be carried out by critical workflow monitoring data After de-redundancy processing storage, judge whether the storage data quantity of the critical workflow monitoring data of storage exceedes predetermined threshold value, this is pre- If threshold value is the amount of capacity for being used to store the storage region of critical workflow monitoring data.In depositing for critical workflow monitoring data When storage data volume exceedes predetermined threshold value, then illustrate that the capacity of this partition holding runs out, it is impossible to carry out data storage again, it is necessary to right Its critical workflow monitoring data stored carries out delete operation.Letter to be deleted is chosen from the critical workflow monitoring data of storage Breath, delete operation is carried out by this information to be deleted.The principle wherein chosen can be according to time sequencing, and time sequencing is more forward, table This bright critical workflow monitoring data are more remote according to the now time, and what is referred to has little significance, so that it is letter to be deleted to choose it Breath is deleted.
In the present embodiment, the present invention can when the storage data quantity of critical workflow monitoring data exceedes predetermined threshold value, Critical workflow monitoring data are selectively deleted, improve memory space utilization rate.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with blank screen detection program, blank screen detection program realizes following steps when being executed by processor:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring number According to;
The default critical workflow in the display service of the mobile terminal is judged according to the critical workflow monitoring data is It is no exception occur;
When default critical workflow in the display service of the mobile terminal occurs abnormal, split screen application daily record is obtained, And judge whether the split screen application of the mobile terminal exception occurs according to the split screen application daily record;
, should from the critical workflow monitoring data and the split screen when the split screen application of the mobile terminal occurs abnormal With black screen trouble information is extracted in daily record, and the black screen trouble information is exported to feature journal file.
Further, following steps are also realized when the blank screen detection program is executed by processor:
Judge whether include presupposed information in the critical workflow monitoring data;
If including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow occurs abnormal;
If not including presupposed information in the critical workflow monitoring data, in the display service for judging the mobile terminal Default critical workflow do not occur exception.
Further, following steps are also realized when the blank screen detection program is executed by processor:
The split screen application operation for reading in daily record and being recorded in the default flow of split screen application is applied from the distribution Information;
The log recording bar number of the split screen application operation information in preset time is counted, and judges the log recording bar Whether number exceedes predetermined threshold value;
When the log recording bar number exceedes predetermined threshold value, judge that exception occurs in the split screen application of the mobile terminal, And judge that the split screen application of the mobile terminal does not occur exception not less than predetermined threshold value in the log recording bar number.
Further, following steps are also realized when the blank screen detection program is executed by processor:
When default critical workflow in the display service of the mobile terminal does not occur abnormal, the mobile terminal is detected Whether black state is in;
When detecting that the mobile terminal is in black state, split screen application daily record is obtained, and should according to the split screen Whether the split screen application for judging the mobile terminal with daily record there is exception;
When the split screen application of the mobile terminal occurs abnormal, black screen trouble letter is extracted from the split screen application daily record Breath, and the black screen trouble information is exported to feature journal file.
Further, following steps are also realized when the blank screen detection program is executed by processor:
When default critical workflow in the display service of the mobile terminal occurs abnormal, the critical workflow is monitored Data are stored to default partition holding;
Detect the mobile terminal be in put out screen holding state when, to the critical workflow in the default partition holding Monitoring data carry out de-redundancy processing.
Further, following steps are also realized when the blank screen detection program is executed by processor:
Judge whether the storage data quantity of critical workflow monitoring data described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring data exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and delete operation is carried out to the data to be deleted.
The specific embodiment of computer-readable recording medium of the present invention and each specific embodiment of above-mentioned blank screen detection method Essentially identical, therefore not to repeat here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or system 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 are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In computer-readable storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be Mobile phone, computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of blank screen detection method, it is characterised in that the blank screen detection method is applied to mobile terminal, the blank screen detection Method comprises the following steps:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring data;
Judge whether the default critical workflow in the display service of the mobile terminal goes out according to the critical workflow monitoring data It is now abnormal;
When default critical workflow in the display service of the mobile terminal occurs abnormal, split screen application daily record, and root are obtained Whether the split screen application for judging the mobile terminal according to the split screen application daily record there is exception;
When the split screen application of the mobile terminal occurs abnormal, day is applied from the critical workflow monitoring data and the split screen Black screen trouble information is extracted in will, and the black screen trouble information is exported to feature journal file.
2. blank screen detection method as claimed in claim 1, it is characterised in that described to be sentenced according to the critical workflow monitoring data Whether the default critical workflow in the display service of the disconnected mobile terminal, which abnormal step occurs, includes:
Judge whether include presupposed information in the critical workflow monitoring data;
If including presupposed information in the critical workflow monitoring data, judge default in the display service of the mobile terminal Critical workflow occurs abnormal;
If not including presupposed information in the critical workflow monitoring data, judge pre- in the display service of the mobile terminal If critical workflow does not occur exception.
3. blank screen detection method as claimed in claim 1, it is characterised in that described that institute is judged according to the split screen application daily record Whether the split screen application for stating mobile terminal there is abnormal step and includes:
The split screen application operation information for reading in daily record and being recorded in the default flow of split screen application is applied from the distribution;
The log recording bar number of the split screen application operation information in preset time is counted, and judges that the log recording bar number is It is no to exceed predetermined threshold value;
When the log recording bar number exceedes predetermined threshold value, judge that the split screen application appearance of the mobile terminal is abnormal, and The log recording bar number judges that the split screen application of the mobile terminal does not occur exception not less than predetermined threshold value.
4. the blank screen detection method as any one of claim 1-3, it is characterised in that described according to the critical workflow It is described after monitoring data judge whether the default critical workflow in the display service of the mobile terminal abnormal step occurs Blank screen detection method further includes:
When default critical workflow in the display service of the mobile terminal does not occur abnormal, whether the mobile terminal is detected In black state;
When detecting that the mobile terminal is in black state, split screen application daily record is obtained, and day is applied according to the split screen Will judges whether the split screen application of the mobile terminal exception occurs;
When the split screen application of the mobile terminal occurs abnormal, black screen trouble information is extracted from the split screen application daily record, And the black screen trouble information is exported to feature journal file.
5. the blank screen detection method as any one of claim 1-3, it is characterised in that described according to the critical workflow It is described after monitoring data judge whether the default critical workflow in the display service of the mobile terminal abnormal step occurs Blank screen detection method further includes:
When default critical workflow in the display service of the mobile terminal occurs abnormal, by the critical workflow monitoring data Store to default partition holding;
Detect the mobile terminal be in put out screen holding state when, in the default partition holding critical workflow monitor Data carry out de-redundancy processing.
6. blank screen detection method as claimed in claim 5, it is characterised in that the key in the default partition holding After flow monitoring data carry out the step of de-redundancy processing, the blank screen detection method further includes:
Judge whether the storage data quantity of critical workflow monitoring data described in the default partition holding exceedes predetermined threshold value;
When the storage data quantity of the critical workflow monitoring data exceedes predetermined threshold value, chosen from the default partition holding Data to be deleted, and delete operation is carried out to the data to be deleted.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the blank screen detection program that can run on the processor, reality when blank screen detection program is performed by the processor Existing following steps:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring data;
Judge whether the default critical workflow in the display service of the mobile terminal goes out according to the critical workflow monitoring data It is now abnormal;
When default critical workflow in the display service of the mobile terminal occurs abnormal, split screen application daily record, and root are obtained Whether the split screen application for judging the mobile terminal according to the split screen application daily record there is exception;
When the split screen application of the mobile terminal occurs abnormal, day is applied from the critical workflow monitoring data and the split screen Black screen trouble information is extracted in will, and the black screen trouble information is exported to feature journal file.
8. mobile terminal as claimed in claim 7, it is characterised in that when the blank screen detection program is performed by the processor Also realize following steps:
Judge whether include presupposed information in the critical workflow monitoring data;
If including presupposed information in the critical workflow monitoring data, judge default in the display service of the mobile terminal Critical workflow occurs abnormal;
If not including presupposed information in the critical workflow monitoring data, judge pre- in the display service of the mobile terminal If critical workflow does not occur exception.
9. mobile terminal as claimed in claim 7, it is characterised in that when the blank screen detection program is performed by the processor The step of also realizing the blank screen detection method as any one of claim 3 to 6.
10. a kind of computer-readable recording medium, it is characterised in that blank screen inspection is stored with the computer-readable recording medium Ranging sequence, the blank screen detection program realize the blank screen detection as any one of claim 1 to 6 when being executed by processor The step of method.
CN201711051356.8A 2017-10-31 2017-10-31 Black screen detection method, mobile terminal and computer readable storage medium Active CN107908492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711051356.8A CN107908492B (en) 2017-10-31 2017-10-31 Black screen detection method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711051356.8A CN107908492B (en) 2017-10-31 2017-10-31 Black screen detection method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107908492A true CN107908492A (en) 2018-04-13
CN107908492B CN107908492B (en) 2021-05-21

Family

ID=61842248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711051356.8A Active CN107908492B (en) 2017-10-31 2017-10-31 Black screen detection method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107908492B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804250A (en) * 2018-05-30 2018-11-13 努比亚技术有限公司 Restart localization method, mobile terminal and storage medium based on input/output module
CN111858214A (en) * 2020-07-20 2020-10-30 广东小天才科技有限公司 Display abnormity detection method and device and electronic equipment
CN113127317A (en) * 2021-03-24 2021-07-16 深圳乐播科技有限公司 Log acquisition processing method, system, device and storage medium
CN116680133A (en) * 2023-04-28 2023-09-01 荣耀终端有限公司 Black screen detection method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925099A (en) * 2010-08-26 2010-12-22 宇龙计算机通信科技(深圳)有限公司 Method and system for detecting system performance and mobile terminal
US20140007048A1 (en) * 2011-10-11 2014-01-02 Zenprise, Inc. Modifying pre-existing mobile applications to implement enterprise security policies
CN104516812A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Method and device for testing software
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal
CN106897197A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 The De-weight method and device of error log

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925099A (en) * 2010-08-26 2010-12-22 宇龙计算机通信科技(深圳)有限公司 Method and system for detecting system performance and mobile terminal
US20140007048A1 (en) * 2011-10-11 2014-01-02 Zenprise, Inc. Modifying pre-existing mobile applications to implement enterprise security policies
CN104516812A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Method and device for testing software
CN106897197A (en) * 2015-12-17 2017-06-27 阿里巴巴集团控股有限公司 The De-weight method and device of error log
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804250A (en) * 2018-05-30 2018-11-13 努比亚技术有限公司 Restart localization method, mobile terminal and storage medium based on input/output module
CN111858214A (en) * 2020-07-20 2020-10-30 广东小天才科技有限公司 Display abnormity detection method and device and electronic equipment
CN113127317A (en) * 2021-03-24 2021-07-16 深圳乐播科技有限公司 Log acquisition processing method, system, device and storage medium
CN116680133A (en) * 2023-04-28 2023-09-01 荣耀终端有限公司 Black screen detection method and electronic equipment

Also Published As

Publication number Publication date
CN107908492B (en) 2021-05-21

Similar Documents

Publication Publication Date Title
CN107807861A (en) Freeze screen solution method, mobile terminal and computer-readable recording medium
CN107704133A (en) Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN107590057A (en) Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN108052412A (en) Restart Fault Locating Method, mobile terminal and computer readable storage medium
CN108040159A (en) Localization method, mobile terminal and readable storage medium storing program for executing are restarted based on hardware driving
CN107678876A (en) Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN110049185A (en) Image processing method and terminal device
CN107908492A (en) Blank screen detection method, mobile terminal and computer-readable recording medium
CN107885635A (en) Blank screen detection method, mobile terminal and computer-readable recording medium
CN107704363A (en) Freeze screen monitoring method, mobile terminal and computer-readable recording medium
CN107967177A (en) Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on kernel process
CN108052390A (en) Memory method for cleaning, mobile terminal and readable storage medium storing program for executing based on thread block
CN107766222A (en) Blank screen detection method, mobile terminal and computer-readable recording medium
CN110147186A (en) A kind of control method and terminal device of application
CN108459805A (en) Screenshot method, mobile terminal and computer readable storage medium
CN107908491A (en) Card screen detection is with solving method, mobile terminal and computer-readable recording medium
CN107765922A (en) Card screen detection is with solving method, mobile terminal and computer-readable recording medium
CN107861826A (en) Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN109117054A (en) A kind of display control method and terminal
CN107704332A (en) Freeze screen solution method, mobile terminal and computer-readable recording medium
CN107908478A (en) Memory method for cleaning, mobile terminal and computer-readable recording medium
CN108733993A (en) A kind of method for information display and terminal
CN108052391A (en) Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on thread deadlock
CN108052430A (en) Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN107872367A (en) Blank screen detection method, mobile terminal and computer-readable recording medium

Legal Events

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