CN107832191A - 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
CN107832191A
CN107832191A CN201711051234.9A CN201711051234A CN107832191A CN 107832191 A CN107832191 A CN 107832191A CN 201711051234 A CN201711051234 A CN 201711051234A CN 107832191 A CN107832191 A CN 107832191A
Authority
CN
China
Prior art keywords
communication module
mobile terminal
critical workflow
monitoring
default
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
CN201711051234.9A
Other languages
Chinese (zh)
Other versions
CN107832191B (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 CN201711051234.9A priority Critical patent/CN107832191B/en
Publication of CN107832191A publication Critical patent/CN107832191A/en
Application granted granted Critical
Publication of CN107832191B publication Critical patent/CN107832191B/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/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

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:Obtain the critical workflow monitoring journal exported in the default critical workflow in monitoring the display service of the mobile terminal;Judge whether the default critical workflow in the display service of the mobile terminal exception occurs according to the critical workflow monitoring journal;When the default critical workflow occurs abnormal, the communication module monitoring journal exported when monitoring the default flow of communication module of the mobile terminal is obtained, and judge whether the communication module exception occurs according to the communication module monitoring journal;When the communication module occurs abnormal, black screen trouble information is extracted from the critical workflow monitoring journal and the communication module monitoring journal, and the black screen trouble information is exported to feature journal file.The present invention can effectively reduce 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, mobile terminal is caused 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, Consumer's 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 into factory repair, it is necessary to which developer expends the more time Detection positioning blank screen reason is carried out 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 for auxiliary and understands technical scheme, does not represent and recognizes 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:
Obtain the critical workflow monitoring exported in the default critical workflow in monitoring the display service of the mobile terminal Daily record;
The default critical workflow in the display service of the mobile terminal is judged according to the critical workflow monitoring journal is It is no exception occur;
When the default critical workflow occurs abnormal, the default stream in the communication module for monitoring the mobile terminal is obtained The communication module monitoring journal exported during journey, and judge whether the communication module occurs according to the communication module monitoring journal It is abnormal;
When the communication module occurs abnormal, from the critical workflow monitoring journal and the communication module monitoring journal Middle extraction black screen trouble information, 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 journal Whether critical workflow, which abnormal step occurs, includes:
The critical workflow Monitoring Data of default critical workflow is extracted from the critical workflow monitoring journal;
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 communication module abnormal step occurs according to the communication module monitoring journal Including:
The communication module recorded in the default flow of the communication module is read from the communication module monitoring journal Operation information, and judge whether the running status value in the communication module operation information is preset state value;
When running status value in the communication module operation information is preset state value, judge that the communication module goes out Now extremely, when and the running status value in the communication module operation information is not preset state value, the communication mould is judged Block does not occur exception.
Alternatively, it is default in the display service that the mobile terminal is judged according to the critical workflow monitoring journal After whether critical workflow abnormal step occurs, the blank screen detection method also 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, the current blank screen time is obtained, and is calculated described current black Shield the time difference between time and history air time;
When the time difference being less than predetermined threshold value, the default flow in the communication module for monitoring the mobile terminal is obtained When the communication module monitoring journal that exports, and it is different according to the communication module monitoring journal to judge whether the communication module occurs Often;
When the communication module occurs abnormal, black screen trouble information is extracted from the communication module monitoring journal, 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 journal After whether critical workflow abnormal step occurs, the blank screen detection method also includes:
When default critical workflow in the display service of the mobile terminal occurs abnormal, the critical workflow is monitored Daily record is 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 journal carries out de-redundancy processing.
Alternatively, the critical workflow monitoring journal in the default partition holding carries out the step of de-redundancy processing Afterwards, the blank screen detection method also includes:
Judge whether the storage data quantity of critical workflow monitoring journal described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring journal exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and deletion action 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, and 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 The step of blank screen detection method as described above is realized when sequence is by the computing device.
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, and obtaining should in monitoring The critical workflow monitoring journal exported during the default critical workflow shown in service of mobile terminal, and supervised according to the critical workflow Survey daily record and judge whether the default critical workflow in the display service of the mobile terminal exception occurs, then in the default crucial stream When journey occurs abnormal, obtain the communication module exported when monitoring the default flow of communication module of the mobile terminal and monitor day Will, and judge whether the communication module exception occurs according to the communication module monitoring journal, finally occur in the communication module different Chang Shi, black screen trouble information is extracted from the critical workflow monitoring journal and the communication module monitoring journal, and the blank screen is former Barrier information is exported to feature journal file, this programme and is monitored by the critical workflow in the display service to mobile terminal, And when monitoring that the critical workflow occurs abnormal, communication module monitoring journal is obtained, it is then based on communication module monitoring day When will determines that the communication module of mobile terminal occurs abnormal, judge that black screen trouble occurs in mobile terminal, and by black screen trouble information Output is easy to developer when the detection that blank screen reason is carried out to mobile terminal positions, query characteristics to feature journal file Journal file, so as to fast and accurately position blank screen reason, greatly reduce 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 schematic flow sheet of blank screen detection method first embodiment of the present invention;
Fig. 4 is the schematic flow sheet of blank screen detection method second embodiment of the present invention;
Fig. 5 is the schematic flow sheet of blank screen detection method 3rd embodiment of the present invention.
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 advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
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. move Dynamic terminal, and the fixed terminal such as digital 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 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 form 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 to 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, penetrate 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 to receive and dispatch 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 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, 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 exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs 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, 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) are carried 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 Caused noise or interference during frequency signal.
Mobile terminal 100 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 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 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 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 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 (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 means are 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 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 wrap 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, 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 part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are 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 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 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.
Reference picture 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 framework) layer, Framework (framework) Layer (including C++Framework layers and Java Framework layers) and App (application program) layer, wherein, Kernel layers and HAL layers (hardware abstraction layer) between Native layers also be present, between the C++Framework layers and Java Framework layers also JNI layers be present, SysCall layers also be present between the HAL layers and Kernel layers.
The Loader layers include Boot ROM (starting service) and Boot Loader (opening initialization program), the Boot ROM is mainly used in when mobile terminal is in off-mode, and long-press Power (start) key start, chip guide starts from solidification 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, initiating hardware parameter.
The Kernel layers be mainly used in 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 Native layers mainly include finger daemon, HAL layers and boot animation of user's space that init hatchings come 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 include Zygote processes, System Server (system service) processes and Media Server (multimedia service) process, wherein, Zygote processes, it is 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 include APP processes, and each APP processes generate 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 Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, 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 radio 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 will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of mobile terminal of the present invention is proposed.
Fig. 1 is refer to, in the first embodiment of mobile terminal of the present invention, the mobile terminal 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 Following steps are realized during computing device:
Obtain the critical workflow monitoring exported in the default critical workflow in monitoring the display service of the mobile terminal Daily record;
The default critical workflow in the display service of the mobile terminal is judged according to the critical workflow monitoring journal is It is no exception occur;
When the default critical workflow occurs abnormal, the default stream in the communication module for monitoring the mobile terminal is obtained The communication module monitoring journal exported during journey, and judge whether the communication module occurs according to the communication module monitoring journal It is abnormal;
When the communication module occurs abnormal, from the critical workflow monitoring journal and the communication module monitoring journal Middle extraction black screen trouble information, 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:
Default crucial stream in the display service that the mobile terminal is judged according to the critical workflow monitoring journal Whether journey, which abnormal step occurs, includes:
The critical workflow Monitoring Data of default critical workflow is extracted from the critical workflow monitoring journal;
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 communication module recorded in the default flow of the communication module is read from the communication module monitoring journal Operation information, and judge whether the running status value in the communication module operation information is preset state value;
When running status value in the communication module operation information is preset state value, judge that the communication module goes out Now extremely, when and the running status value in the communication module operation information is not preset state value, the communication mould is judged Block does not occur exception.
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, the current blank screen time is obtained, and is calculated described current black Shield the time difference between time and history air time;
When the time difference being less than predetermined threshold value, the default flow in the communication module for monitoring the mobile terminal is obtained When the communication module monitoring journal that exports, and it is different according to the communication module monitoring journal to judge whether the communication module occurs Often;
When the communication module occurs abnormal, black screen trouble information is extracted from the communication module monitoring journal, 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 Daily record is 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 journal carries 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 journal described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring journal exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and deletion action 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, reference picture 3, Fig. 3 be the schematic flow sheet of blank screen detection method first embodiment of the present invention.
In the present embodiment, the blank screen detection method includes:
Step S101, obtain the key exported in the default critical workflow in monitoring the display service of the mobile terminal Flow monitoring journal;
The blank screen detection method is applied to the mobile terminal shown in Fig. 1, and the mobile terminal includes smart mobile phone and flat board electricity Brain etc..When the communication module of display service and mobile terminal in mobile terminal operating system occurs abnormal, easily cause to move 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, the flow for displaying that service is shown in Java framework layer is divided into critical workflow and non-pass Key flow, is then monitored to critical workflow, realizes the exception monitoring of display service, and to the initialization flow of communication module Journey, flow and communication process progress log recording are matched with card, then when display service is abnormal, day is monitored based on communication module Will determines whether communication module exception occurs, and the critical workflow includes light on and off screen broadcast reception flow, light on and off screen reporting events stream Journey, display caching region read flow and system UI displays prepare flow etc..Specifically, the present invention is by Java framework layer Monitoring thread is disposed in system_server processes, is run in the form of separate threads, and adjusts startup order to ensure in Java Formal start of display service of ccf layer performs before.In addition, the present invention is used for also by creating finger daemon in Native layers Whether the monitoring thread of detection Java framework layer operation there is exception, and the recovery after exception, specifically, the finger daemon occurs By timing actively initiate with monitoring thread carry out heartbeat communicate judge monitor thread whether normal operation, heartbeat communicate mainly It is the state that monitoring thread is read by Native layers finger daemon, judges whether just to monitor thread according to the state read Often operation, when finger daemon, which reads state, is in blocked state, just carries out timing, will when obstruction reaches preset duration The positive closing monitoring thread, and re-create monitoring thread, it is ensured that monitoring thread is in normal operating conditions all the time.
When mobile terminal will start to start display service, obtain pre- in the display service of the mobile terminal is monitored If the critical workflow monitoring journal exported during critical workflow, that is, perform the system_server processes for being deployed in Java framework layer In monitoring thread, by the monitoring thread to the mobile terminal display service in default critical workflow be monitored, with Critical workflow Monitoring Data is obtained, and the critical workflow Monitoring Data is exported according to default journal format, to obtain critical workflow Monitoring journal.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., the critical workflow Monitoring Data includes monitoring time, critical workflow mark, behaviour Act, the execution time of operational motion, operational motion implementing result and dispaly state etc..When the default journal format is monitors 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 more 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 monitoring system UI state value is preset state value, if system UI state value is preset state Value, then it represents that system UI displays prepare flow and are in abnormality, if system UI state value 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 journal Whether key flow there is exception;
The mobile terminal is based on default journal format and exports the critical workflow Monitoring Data, to obtain critical workflow monitoring day After will, judge whether the default critical workflow in the display service of the mobile terminal occurs according to the critical workflow monitoring journal It is abnormal, and when this is preset critical workflow and occurs abnormal, judge that black screen trouble occurs in the mobile terminal.
Specifically, in the present embodiment, the display for judging the mobile terminal according to the critical workflow monitoring journal takes Whether the default critical workflow in business, which abnormal step occurs, includes:
The critical workflow Monitoring Data of default critical workflow is extracted from the critical workflow monitoring journal;
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 extracts display after critical workflow monitoring journal is got from the critical workflow monitoring journal The critical workflow Monitoring Data of default critical workflow in service, and whether judge in the critical workflow Monitoring Data comprising default Information, if including presupposed information in the critical workflow Monitoring Data, judge the default pass in the display service of mobile terminal There is exception in key flow, if not including presupposed information in the critical workflow Monitoring Data, judges the display clothes of mobile terminal Default critical workflow in business does not occur exception.The presupposed information include representing the state return value of light on and off screens operation with before State return value identical information, the information for representing the failure of light on and off screen reporting events, represent in display caching region composite number It is the letter of preset state value according to the state value that the similarity with data to be synthesized is less than the information of predetermined threshold value and represents system UI Breath.It should be noted that the presupposed information can be configured by those skilled in the art based on actual conditions, the present embodiment is to this Do not illustrate.
Step S103, when the default critical workflow occurs abnormal, obtain and monitoring the communication mould of the mobile terminal The communication module monitoring journal exported during the default flow of block, and the communication mould is judged according to the communication module monitoring journal Whether block there is exception;
When default critical workflow of the mobile terminal in display service occurs abnormal, obtain and monitoring the mobile terminal Communication module default flow (initialization flow, with card match flow and communication process) when communication module monitoring day for exporting Will, and judge whether the split screen application of the mobile terminal exception occurs according to the communication module monitoring journal.The initialization flow The operator's Back ground Information associated with the SIM card in neck or the matching of USM cards is obtained for communication module, should be with card matching flow , should based on operator's Back ground Information matched signal frequency range after communication module gets operator's Back ground Information of matching association Communication process be communication module frequency band match success after, communicated.
Specifically, in the present embodiment, step S103 includes:
The communication module recorded in the default flow of the communication module is read from the communication module monitoring journal Operation information, and judge whether the running status value in the communication module operation information is preset state value;
When running status value in the communication module operation information is preset state value, judge that the communication module goes out Now extremely, when and the running status value in the communication module operation information is not preset state value, the communication mould is judged Block does not occur exception.
The mobile terminal is read logical at this when getting communication module monitoring journal from the communication module monitoring journal The communication module operation information recorded in the default flow recorded in the default flow of module is interrogated, i.e., in the initial of communication module Change flow, the communication module operation information recorded in flow and communication process is matched with card, then judge that the communication module is run Whether the running status value in information is preset state value, if the running status value in the communication module operation information is default State value, then it is abnormal to judge that the communication module occurs, if the running status value in the communication module operation information is not default State value, then judge that the communication module does not occur exception.
The running status value includes 1 and 0, and the preset operating state value is 1, then it represents that communication module does not occur exception, fortune Row state is 0, it is abnormal to represent that communication module occurs, the preset state value is 0, specifically, in flow is initialized, is being detected When communication module can not get the operator's Back ground Information associated with the SIM card in neck or the matching of USM cards, by the communication mould Running status value in block operation information is arranged to 0, and is detecting that communication module gets and the SIM card or USM in neck During operator's Back ground Information of card matching association, the running status value in the communication module operation information is arranged to 1;With card Match in flow, when detecting that the communication module matches signal frequency range based on operator's Back ground Information, by the communication module Running status value in operation information is arranged to 1, detect the communication module be based on operator's Back ground Information can not match During signal frequency range, the running status value in the communication module operation information is arranged to 0;It is logical detecting in communication process When believing normal, the running status value in the communication module operation information is arranged to 1, when detecting communication abnormality, this led to Running status value in news module operation information is arranged to 0.
Step S104, when the communication module occurs abnormal, from the critical workflow monitoring journal and the communication mould Black screen trouble information is extracted in block monitoring journal, and the black screen trouble information is exported to feature journal file.
The mobile terminal display service occur it is abnormal, and when the communication module run occurs abnormal, from the critical workflow Black screen trouble information is extracted in monitoring journal and the communication module monitoring journal, and the black screen trouble information is exported to characteristic day Will file, specifically, mobile terminal individually create a thread and black screen trouble information are output into Debugerd processes, by Debugerd processes are by the orientation output of black screen trouble information into the feature journal file with the processing of Debugerd authorities.This is black The thread information that screen failure information package includes existing abnormal flow for displaying and appearance is blocked.
In specific implementation, this feature journal file is stored in default storage region, and the mobile terminal is regularly from default Feature journal file is read in storage region, and judges whether the bit number of this feature journal file is more than or equal to predetermined bit Number, then when the bit number of this feature journal file is more 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 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 stored, improve disk profit With rate.
In the present embodiment, the present invention obtains defeated in the default critical workflow in monitoring the display service of the mobile terminal The critical workflow monitoring journal gone out, and judge that showing for the mobile terminal is default in service according to the critical workflow monitoring journal Whether critical workflow there is exception, then when this is preset critical workflow and occurs abnormal, obtains and is monitoring the logical of the mobile terminal The communication module monitoring journal exported during the default flow for interrogating module, and the communication mould is judged according to the communication module monitoring journal Whether block there is exception, finally when the communication module occurs abnormal, is supervised from the critical workflow monitoring journal and the communication module Survey and black screen trouble information is extracted in daily record, and the black screen trouble information is exported to feature journal file, this programme and passed through to moving Critical workflow in the display service of dynamic terminal is monitored, and when monitoring that the critical workflow occurs abnormal, obtains communication Module monitors daily record, be then based on the communication module monitoring journal determine mobile terminal communication module occur it is abnormal when, judge There is black screen trouble in mobile terminal, and black screen trouble information is exported to feature journal file, is easy to developer to movement When terminal carries out the detection positioning of blank screen reason, query characteristics journal file, so as to fast and accurately position blank screen reason, greatly Reduction human cost and time cost.
Further, reference picture 4, 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, the difference with previous embodiment is, after step S102, the blank screen detection method also includes:
Step S105, when the default critical workflow in the display service of the mobile terminal does not occur abnormal, detect institute State whether mobile terminal is in black state;
Step S106, when detecting that the mobile terminal is in black state, the current blank screen time is obtained, and calculate institute State the time difference between current blank screen time and history air time;
Step S107, when the time difference being less than predetermined threshold value, obtain and monitoring the communication module of the mobile terminal Default flow when the communication module monitoring journal that exports, and the communication module is judged according to the communication module monitoring journal Whether exception is occurred;
Step S108, when the communication module occurs abnormal, blank screen event is extracted from the communication module monitoring journal Hinder 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, the current blank screen time is obtained, and calculate the current blank screen Time difference between time and history air time, the history air time is the last air time, in the time difference During less than predetermined threshold value, obtain the communication module exported when monitoring the default flow of communication module of the mobile terminal and monitor day Will, and judge whether the communication module exception occurs according to the communication module monitoring journal, then occur in the communication module different Chang Shi, black screen trouble information is extracted from the communication module monitoring journal, and the black screen trouble information is exported to feature daily record 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, abnormal judgement further is carried out to the communication module of operation, and when the communication module of operation occurs abnormal, judge to move The blank screen of dynamic terminal is caused by the exception of communication module, accurately determines blank screen reason.
Further, reference picture 5, based on above-mentioned first or second embodiments, it is proposed that blank screen detection method of the present invention 3rd embodiment, the difference with previous embodiment are, after step S102, the blank screen detection method also includes:
Step S109, when the default critical workflow in the display service of the mobile terminal occurs abnormal, by the pass Key flow monitoring journal is stored to default partition holding;
Step S110, detect the mobile terminal be in put out screen holding state when, in the default partition holding Critical workflow monitoring journal 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, the critical workflow monitoring journal 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 journal carries out de-redundancy processing, and stores the critical workflow monitoring journal after de-redundancy.For example, critical workflow The generation time of monitoring journal 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 the daily record output storage including record data quantity and time point, avoids to 1000 daily records Type and time point export storage respectively, to save memory space.
In specific implementation, the mobile terminal can also preset the critical workflow in partition holding in preset time to this Monitoring journal 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 also will not very little, cause spend overlong time or de-redundancy it is excessively frequent.Go The process of redundancy is entered for the critical workflow monitoring journal preset this in preset time in partition holding is integrated into a daily record 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, day is monitored to critical workflow Will carries out de-redundancy, can effectively reduce the data of stored record, reduces disk space and takes, improves 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 The difference for stating embodiment is that after step step S110, the blank screen detection method also includes:
Judge whether the storage data quantity of critical workflow monitoring journal described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring journal exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and deletion action is carried out to the data to be deleted.
It should be noted that the present invention proposes a kind of data storage method based on previous embodiment, only this is entered below Row explanation, it is other to can refer to previous embodiment.
Specifically, the memory cell 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.Accordingly, for storing crucial stream The capacity of the partition holding of journey monitoring journal is also certain, is stored when the storage of critical workflow monitoring journal is arrived into 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 journal After de-redundancy processing storage, judge whether the storage data quantity of the critical workflow monitoring journal 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 journal.In depositing for critical workflow monitoring journal 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 journal stored carries out deletion action.Letter to be deleted is chosen from the critical workflow monitoring journal of storage Breath, this information to be deleted is subjected to deletion action.The principle wherein chosen can be according to time sequencing, and time sequencing is more forward, table This bright critical workflow monitoring journal is more remote according to the now time, and what is referred to has little significance, and is letter to be deleted so as to choose it Breath is deleted.
In the present embodiment, the present invention can when the storage data quantity of critical workflow monitoring journal exceedes predetermined threshold value, Critical workflow monitoring journal is selectively deleted, improves 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:
Obtain the critical workflow monitoring exported in the default critical workflow in monitoring the display service of the mobile terminal Daily record;
The default critical workflow in the display service of the mobile terminal is judged according to the critical workflow monitoring journal is It is no exception occur;
When the default critical workflow occurs abnormal, the default stream in the communication module for monitoring the mobile terminal is obtained The communication module monitoring journal exported during journey, and judge whether the communication module occurs according to the communication module monitoring journal It is abnormal;
When the communication module occurs abnormal, from the critical workflow monitoring journal and the communication module monitoring journal Middle extraction black screen trouble information, 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:
Default crucial stream in the display service that the mobile terminal is judged according to the critical workflow monitoring journal Whether journey, which abnormal step occurs, includes:
The critical workflow Monitoring Data of default critical workflow is extracted from the critical workflow monitoring journal;
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 communication module recorded in the default flow of the communication module is read from the communication module monitoring journal Operation information, and judge whether the running status value in the communication module operation information is preset state value;
When running status value in the communication module operation information is preset state value, judge that the communication module goes out Now extremely, when and the running status value in the communication module operation information is not preset state value, the communication mould is judged Block does not occur exception.
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, the current blank screen time is obtained, and is calculated described current black Shield the time difference between time and history air time;
When the time difference being less than predetermined threshold value, the default flow in the communication module for monitoring the mobile terminal is obtained When the communication module monitoring journal that exports, and it is different according to the communication module monitoring journal to judge whether the communication module occurs Often;
When the communication module occurs abnormal, black screen trouble information is extracted from the communication module monitoring journal, 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 Daily record is 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 journal carries 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 journal described in the default partition holding exceedes default threshold Value;
When the storage data quantity of the critical workflow monitoring journal exceedes predetermined threshold value, from the default partition holding Data to be deleted are chosen, and deletion action 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 also include the other element being not expressly set out, or also include for 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 Other identical element also be present 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 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 one as described above In computer-readable storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are causing 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.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related 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:
Obtain the critical workflow monitoring journal exported in the default critical workflow in monitoring the display service of the mobile terminal;
Judge whether the default critical workflow in the display service of the mobile terminal goes out according to the critical workflow monitoring journal It is now abnormal;
When the default critical workflow occurs abnormal, obtain when monitoring the default flow of communication module of the mobile terminal The communication module monitoring journal of output, and it is different according to the communication module monitoring journal to judge whether the communication module occurs Often;
When the communication module occurs abnormal, carried from the critical workflow monitoring journal and the communication module monitoring journal Black screen trouble information is taken, 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 journal Whether the default critical workflow in the display service of the disconnected mobile terminal, which abnormal step occurs, includes:
The critical workflow Monitoring Data of default critical workflow is extracted from the critical workflow monitoring journal;
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 to be sentenced according to the communication module monitoring journal Whether the communication module that breaks, which abnormal step occurs, includes:
The communication module operation recorded in the default flow of the communication module is read from the communication module monitoring journal Information, and judge whether the running status value in the communication module operation information is preset state value;
When running status value in the communication module operation information is preset state value, it is different to judge that the communication module occurs Often, when and the running status value in the communication module operation information is not preset state value, the communication module is judged not Occur abnormal.
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 journal judges whether the default critical workflow in the display service of the mobile terminal abnormal step occurs Blank screen detection method also 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, when obtaining the current blank screen time, and calculating the current blank screen Between time difference between the history air time;
When the time difference being less than predetermined threshold value, obtain defeated when monitoring the default flow of communication module of the mobile terminal The communication module monitoring journal gone out, and judge whether the communication module exception occurs according to the communication module monitoring journal;
When the communication module occurs abnormal, black screen trouble information is extracted from the communication module monitoring journal, and by institute Black screen trouble information is stated to export 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 journal judges whether the default critical workflow in the display service of the mobile terminal abnormal step occurs Blank screen detection method also includes:
When default critical workflow in the display service of the mobile terminal occurs abnormal, by the critical workflow monitoring journal 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 Daily record carries 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 journal carries out the step of de-redundancy processing, the blank screen detection method also includes:
Judge whether the storage data quantity of critical workflow monitoring journal described in the default partition holding exceedes predetermined threshold value;
When the storage data quantity of the critical workflow monitoring journal exceedes predetermined threshold value, chosen from the default partition holding Data to be deleted, and deletion action 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, blank screen detection program is by real during the computing device Existing following steps:
Obtain the critical workflow monitoring journal exported in the default critical workflow in monitoring the display service of the mobile terminal;
Judge whether the default critical workflow in the display service of the mobile terminal goes out according to the critical workflow monitoring journal It is now abnormal;
When the default critical workflow occurs abnormal, obtain when monitoring the default flow of communication module of the mobile terminal The communication module monitoring journal of output, and it is different according to the communication module monitoring journal to judge whether the communication module occurs Often;
When the communication module occurs abnormal, carried from the critical workflow monitoring journal and the communication module monitoring journal Black screen trouble information is taken, 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 detects program by the computing device Also realize following steps:
The critical workflow Monitoring Data of default critical workflow is extracted from the critical workflow monitoring journal;
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 detects program by the computing device 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.
CN201711051234.9A 2017-10-31 2017-10-31 Black screen detection method, mobile terminal and computer readable storage medium Active CN107832191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711051234.9A CN107832191B (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
CN201711051234.9A CN107832191B (en) 2017-10-31 2017-10-31 Black screen detection method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107832191A true CN107832191A (en) 2018-03-23
CN107832191B CN107832191B (en) 2021-04-23

Family

ID=61650257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711051234.9A Active CN107832191B (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) CN107832191B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002547A (en) * 2018-07-30 2018-12-14 努比亚技术有限公司 Journal file storage method, mobile terminal and computer readable storage medium
CN110413497A (en) * 2019-07-30 2019-11-05 Oppo广东移动通信有限公司 Abnormality monitoring method, device, terminal device and computer readable storage medium
CN115016665A (en) * 2021-09-14 2022-09-06 北京荣耀终端有限公司 Freeze-screen fault detection method, electronic device and computer-readable storage medium

Citations (7)

* 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
CN106201754A (en) * 2016-07-06 2016-12-07 乐视控股(北京)有限公司 Mission bit stream analyzes method and device
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
CN107179978A (en) * 2017-06-12 2017-09-19 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for sending daily record

Patent Citations (7)

* 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
CN106201754A (en) * 2016-07-06 2016-12-07 乐视控股(北京)有限公司 Mission bit stream analyzes method and device
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal
CN107179978A (en) * 2017-06-12 2017-09-19 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for sending daily record

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002547A (en) * 2018-07-30 2018-12-14 努比亚技术有限公司 Journal file storage method, mobile terminal and computer readable storage medium
CN109002547B (en) * 2018-07-30 2023-09-01 努比亚技术有限公司 Log file storage method, mobile terminal and computer readable storage medium
CN110413497A (en) * 2019-07-30 2019-11-05 Oppo广东移动通信有限公司 Abnormality monitoring method, device, terminal device and computer readable storage medium
CN110413497B (en) * 2019-07-30 2024-02-13 Oppo广东移动通信有限公司 Abnormality monitoring method, abnormality monitoring device, terminal device and computer-readable storage medium
CN115016665A (en) * 2021-09-14 2022-09-06 北京荣耀终端有限公司 Freeze-screen fault detection method, electronic device and computer-readable storage medium

Also Published As

Publication number Publication date
CN107832191B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN107276789A (en) Daily record method for uploading, device and computer-readable recording medium
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
CN107678876A (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
CN107885635A (en) Blank screen detection method, mobile terminal and computer-readable recording medium
CN108052412A (en) Restart Fault Locating Method, mobile terminal and computer readable storage medium
CN107766222A (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
CN107450795A (en) Status bar icon loading method, terminal and computer-readable recording medium
CN107765922A (en) Card screen detection is with solving method, mobile terminal and computer-readable recording medium
CN108920306A (en) What is managed based on memory restarts localization method, mobile terminal and readable storage medium storing program for executing
CN107704132A (en) Terminal freezes detection method, terminal and the computer-readable recording medium of screen
CN110147186A (en) A kind of control method and terminal device of application
CN107704332A (en) Freeze screen solution method, mobile terminal and computer-readable recording medium
CN107908491A (en) Card screen detection is with solving method, mobile terminal and computer-readable recording medium
CN107832191A (en) Blank screen detection method, mobile terminal and computer-readable recording medium
CN108733993A (en) A kind of method for information display and terminal
CN107908492A (en) Blank screen detection 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
CN107818036A (en) Blank screen detection method, mobile terminal and computer-readable recording medium
CN108052430A (en) Mobile terminal restarts localization method, mobile terminal and computer readable storage medium
CN108153460A (en) A kind of icon hiding method and terminal
CN110012152A (en) A kind of interface display method and terminal device
CN107861827A (en) Card 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