CN107872367A - 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 PDFInfo
- Publication number
- CN107872367A CN107872367A CN201711061456.9A CN201711061456A CN107872367A CN 107872367 A CN107872367 A CN 107872367A CN 201711061456 A CN201711061456 A CN 201711061456A CN 107872367 A CN107872367 A CN 107872367A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- communication module
- monitoring data
- critical workflow
- blank screen
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (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, and to obtain critical workflow Monitoring Data, and the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;Judge whether the mobile terminal black screen trouble occurs according to the critical workflow Monitoring Data and the communication module Monitoring Data;When black screen trouble occurs in the mobile terminal, black screen trouble information is extracted from the critical workflow Monitoring Data and the communication module Monitoring Data, and the black screen trouble information is exported to feature journal file.The present invention is easy to developer query characteristics journal file, so as to fast and accurately position blank screen reason, greatly to reduce human cost and time cost when the detection for carrying out blank screen reason to mobile terminal positions.
Description
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:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring number
According to, and the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;
Judge whether the mobile terminal goes out according to the critical workflow Monitoring Data and the communication module Monitoring Data
Existing black screen trouble;
When black screen trouble occurs in the mobile terminal, monitored from the critical workflow Monitoring Data and the communication module
Extracting data black screen trouble information, and the black screen trouble information is exported to feature journal file.
Alternatively, it is described that the movement is judged according to the critical workflow Monitoring Data and the communication module Monitoring Data
Whether terminal, which the step of black screen trouble occurs, includes:
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, supervised according to the communication module
Survey data and judge whether the communication module of the mobile terminal exception occurs;
When the communication module of the mobile terminal occurs abnormal, judge that black screen trouble occurs in the mobile terminal, and
When the communication module of the mobile terminal does not occur abnormal, judge that the mobile terminal does not occur black screen trouble.
Alternatively, it is described to judge whether the communication module of the mobile terminal occurs according to the communication module Monitoring Data
Abnormal step includes:
The flow state value of the default flow of the communication module is read from the communication module Monitoring Data, and is judged
Whether the flow state value is preset state value;
When the flow state value is preset state value, judge that exception occurs in the communication module of the mobile terminal, and
When the flow state value is not preset state value, judge that the communication module of the mobile terminal does not occur exception.
Alternatively, the communication module to the mobile terminal is monitored, to obtain communication module Monitoring Data
After step, the blank screen detection method also includes:
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 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 mobile terminal is judged according to the communication module Monitoring Data
Whether communication module there is exception;
When the communication module of the mobile terminal occurs abnormal, blank screen event is extracted from the communication module Monitoring Data
Hinder information, and the black screen trouble information is exported to feature journal file.
Alternatively, it is described that the movement is judged according to the critical workflow Monitoring Data and the communication module Monitoring Data
After whether terminal the step of black screen trouble occurs, the blank screen detection method also includes:
When black screen trouble occurs in the mobile terminal, the critical workflow Monitoring Data and the communication module are monitored
Data storage is 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 and communication module Monitoring Data carry out de-redundancy processing.
Alternatively, the critical workflow Monitoring Data and communication module Monitoring Data in the default partition holding is entered
After the step of row de-redundancy processing, the blank screen detection method also includes:
Judge the storage data quantity of critical workflow Monitoring Data and communication module Monitoring Data in the default partition holding
Whether predetermined threshold value is exceeded;
When the storage data quantity exceedes predetermined threshold value, data to be deleted are chosen from the default partition holding, 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, to mobile terminal
Default critical workflow in display service is monitored, to obtain critical workflow Monitoring Data, and the communication mould to mobile terminal
Block is monitored, and to obtain communication module Monitoring Data, is then monitored according to the critical workflow Monitoring Data and the communication module
Data judge whether the mobile terminal black screen trouble occurs, finally when black screen trouble occurs in the mobile terminal, are flowed from the key
Black screen trouble information is extracted in journey Monitoring Data and the communication module Monitoring Data, and the black screen trouble information is exported to feature
Journal file, this programme are monitored by the critical workflow in the display service to mobile terminal, and to mobile terminal
Communication module is monitored, and exception, and mobile terminal occurs in the critical workflow in the display service of mobile terminal is monitored
Communication module when occurring abnormal, judge that black screen trouble occurs in mobile terminal, and blank screen is proposed in the data obtained from monitoring therefore
Hinder information, and black screen trouble information is exported to feature journal file, be easy to developer carrying out blank screen original to mobile terminal
During the detection positioning of cause, query characteristics journal file, so as to fast and accurately position blank screen reason, human cost is greatly reduced
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 be described in Fig. 3 according to judging the critical workflow Monitoring Data and the communication module Monitoring Data
Whether mobile terminal there is the refinement schematic flow sheet of black screen trouble step;
Fig. 5 is the schematic flow sheet of blank screen detection method second embodiment of the present invention;
Fig. 6 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:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow monitoring number
According to, and the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;
Judge whether the mobile terminal goes out according to the critical workflow Monitoring Data and the communication module Monitoring Data
Existing black screen trouble;
When black screen trouble occurs in the mobile terminal, monitored from the critical workflow Monitoring Data and the communication module
Extracting data 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:
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, supervised according to the communication module
Survey data and judge whether the communication module of the mobile terminal exception occurs;
When the communication module of the mobile terminal occurs abnormal, judge that black screen trouble occurs in the mobile terminal, and
When the communication module of the mobile terminal does not occur abnormal, judge that the mobile terminal does not occur black screen trouble.
Further, following steps are also realized when the blank screen detection program is executed by processor:
The flow state value of the default flow of the communication module is read from the communication module Monitoring Data, and is judged
Whether the flow state value is preset state value;
When the flow state value is preset state value, judge that exception occurs in the communication module of the mobile terminal, and
When the flow state value is not preset state value, judge that the communication module of the mobile terminal does not occur exception.
Further, following steps are also realized when the blank screen detection program is executed by processor:
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 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 mobile terminal is judged according to the communication module Monitoring Data
Whether communication module there is exception;
When the communication module of the mobile terminal occurs abnormal, blank screen event is extracted from the communication module Monitoring Data
Hinder 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:
When black screen trouble occurs in the mobile terminal, the critical workflow Monitoring Data and the communication module are monitored
Data storage is 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 and communication module Monitoring Data carry out de-redundancy processing.
Further, following steps are also realized when the blank screen detection program is executed by processor:
Judge the storage data quantity of critical workflow Monitoring Data and communication module Monitoring Data in the default partition holding
Whether predetermined threshold value is exceeded;
When the storage data quantity exceedes predetermined threshold value, data to be deleted are chosen from the default partition holding, 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, the default critical workflow in display service to the mobile terminal is monitored, to obtain key
Flow Monitoring Data, and the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;
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 in the communication module of mobile terminal
Initialization flow, match flow and communication process with card and be monitored, then when display service is abnormal, based on communication module
Monitoring Data determine whether communication module exception occurs, the critical workflow include light on and off screen broadcast reception flow, light on and off screen thing
Part report flow, display caching region read flow and system UI displays prepare flow etc..Specifically, the present invention is by Java
Deployment monitoring thread, is run in the form of separate threads in the system_server processes of ccf layer, and it is true to adjust startup order
Protect before the formal startup of display service of Java framework layer and perform.In addition, the present invention is also guarded by being created in Native layers
Process, whether the monitoring thread for detecting the operation of Java framework layer there is exception, and the recovery after exception occurs, specifically,
The finger daemon by timing actively initiate with monitoring thread carry out heartbeat communicate judge monitoring thread whether normal operation, the heart
The state that monitoring thread is mainly read in communication by Native layers finger daemon is jumped, judges to monitor according to the state read
Thread whether normal operation, when finger daemon, which reads state, is in blocked state, timing is just carried out, when obstruction reaches default
During duration will the positive closing monitoring thread, and re-create monitoring thread, it is ensured that monitoring thread is in normal work all the time
State.
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 flow and communication are matched to the initialization flow in the communication module of mobile terminal, with card
Flow is monitored, to obtain communication module Monitoring Data.The default critical workflow includes light on and off screen broadcast reception flow, light on and off
Shield reporting events flow, flow is read in display caching region and system UI displays prepare flow etc., the critical workflow Monitoring Data
Including monitoring time, critical workflow mark, operational motion, the execution time of operational motion, operational motion implementing result and display
State etc..The communication module Monitoring Data includes monitoring time, process identification and flow state value 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.
The initialization flow is that communication module obtains the operator basis associated with the SIM card in neck or the matching of USM cards
Information, should be after communication module gets operator's Back ground Information that matching associates, based on operator's base with card matching flow
Plinth information matches signal frequency range, the communication process be communication module frequency band match success after, communicated.The mobile terminal
Initialization flow to communication module, match flow with card and communication process is monitored, i.e., in flow is initialized, detecting
It is when can not get the operator's Back ground Information associated with the SIM card in neck or the matching of USM cards to communication module, this is initial
The flow state value for changing flow is recorded as 0, and is matched detecting that communication module is got with the SIM card in neck or USM cards
During operator's Back ground Information of association, the flow state value of the initialization flow is recorded as 1;In flow is matched with card,
When detecting that the communication module can not match signal frequency range based on operator's Back ground Information, this is matched to the flow of flow with card
State value is recorded as 0, and when detecting that the communication module matches signal frequency range based on operator's Back ground Information, by this with card
The flow state value of matching flow is recorded as 1;In communication process, when detecting communication abnormality, by the stream of the communication process
Journey state value is recorded as 0, and when detecting that communication is normal, the flow state value of the communication process is recorded as 1.
Step S102, judged according to the critical workflow Monitoring Data and the communication module Monitoring Data described mobile whole
Whether end there is black screen trouble;
Default critical workflow during the mobile terminal is serviced the display is monitored, to obtain critical workflow monitoring number
According to, and split screen application is monitored, after obtaining split screen application Monitoring Data, according to the critical workflow Monitoring Data and it is somebody's turn to do
Communication module Monitoring Data judges whether the mobile terminal black screen trouble occurs.
Specifically, reference picture 4, Fig. 4 are the refinement schematic flow sheet of step S102 in Fig. 3, and step S102 includes:
Step S1021, judged according to the critical workflow Monitoring Data default in the display service of the mobile terminal
Whether critical workflow there is exception;
The mobile terminal judges that the key flows after critical workflow Monitoring Data and split screen application Monitoring Data is got
Whether presupposed information is included in journey Monitoring Data, if including presupposed information in the critical workflow Monitoring Data, judge movement
There is exception in default critical workflow in the display service of terminal, if comprising default letter in the critical workflow Monitoring Data
Breath, then judge that the default critical workflow in the display service of mobile terminal does not occur exception.The presupposed information includes representing light on and off
Shield the state return value of operation with state return value identical information before, represent the failure of light on and off screen reporting events information,
Represent that the similarity of generated data and data to be synthesized is less than the information of predetermined threshold value and represents system in display caching region
UI state value is the information of preset state value.It should be noted that the presupposed information can be based in fact by those skilled in the art
Border situation is configured, and the present embodiment does not illustrate to this.
Step S1022, when the default critical workflow in the display service of the mobile terminal occurs abnormal, according to described
Communication module Monitoring Data judges whether the communication module of the mobile terminal exception occurs;
The mobile terminal is when the default critical workflow during display services occurs abnormal, according to the communication module Monitoring Data
Judge whether the communication module of the mobile terminal exception occurs.
Alternatively, in the present embodiment, step S1022 includes:
The flow state value of the default flow of the communication module is read from the communication module Monitoring Data, and is judged
Whether the flow state value is preset state value;
When the flow state value is preset state value, judge that exception occurs in the communication module of the mobile terminal, and
When the flow state value is not preset state value, judge that the communication module of the mobile terminal does not occur exception.
The mobile terminal is when the default critical workflow during display services occurs abnormal, from the communication module Monitoring Data
The flow state value of the default flow of the communication module is read, i.e. extraction initializes flow, matches flow and communication process with card
Flow state value, and judge whether the flow state value is preset state value, if the flow state value is preset state value,
Then judge that exception occurs in the communication module of mobile terminal, if the flow state value is not preset state value, judge movement eventually
The communication module at end does not occur exception, i.e. in initialization flow, with card matching flow and the flow state value of communication process extremely
When a few flow state value be preset state value, judge mobile terminal communication module occur it is abnormal, initialization flow, with
When card matching flow and the flow state value of communication process are not preset state value, judge that the communication module of mobile terminal does not go out
It is now abnormal.The flow state value is 1 and 0, and the flow state value is 1, then it represents that split screen application does not occur exception, the flow shape
State value is 0, and it is abnormal to represent that split screen application occurs, and in the present embodiment, the preset state value is 0.
Step S1023, when the communication module of the mobile terminal occurs abnormal, judge that blank screen occurs in the mobile terminal
Failure, and when the communication module of the mobile terminal does not occur abnormal, judge that the mobile terminal does not occur black screen trouble.
The mobile terminal matches flow and communication stream when the communication module occurs abnormal in initialization flow, with card
When at least one flow state value is preset state value in the flow state value of journey, judge that black screen trouble occurs in the mobile terminal,
And when the communication module of the mobile terminal does not occur abnormal, i.e., in initialization flow, with card matching flow and communication process
When flow state value is not preset state value, judge that the mobile terminal does not occur black screen trouble.
Step S103, when black screen trouble occurs in the mobile terminal, from the critical workflow Monitoring Data and described logical
Module monitors extracting data black screen trouble information is interrogated, and the black screen trouble information is exported to feature journal file.
The mobile terminal services in display to be occurred abnormal, and when the communication module run occurs abnormal, judges movement end
There is exception in end, and black screen trouble information is now extracted from the critical workflow Monitoring Data and the communication module Monitoring Data, and
The black screen trouble information is exported to feature journal file, specifically, mobile terminal individually creates a thread by black screen trouble
Information is output to Debugerd processes, and the output of black screen trouble information orientation extremely is had into Debugerd authorities by Debugerd processes
In the feature journal file of processing.The thread letter that the black screen trouble packet includes existing abnormal flow for displaying and appearance is blocked
Breath.
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 is monitored by the critical workflow in the display service to mobile terminal, and
The communication module of mobile terminal is monitored, and the critical workflow appearance in the display service of mobile terminal is monitored is different
Often, when and the communication module of mobile terminal occurs abnormal, judge that black screen trouble occurs in mobile terminal, and the data obtained from monitoring
Middle proposition black screen trouble information, and black screen trouble information is exported to feature journal file, it is easy to developer to mobile whole
When end carries out the detection positioning of blank screen reason, query characteristics journal file, so as to fast and accurately position blank screen reason, greatly
Reduce 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 S101, the blank screen detection method also includes:
Step S104, 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;
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, according to judging the communication module Monitoring Data
Whether the communication module of mobile terminal there is exception;
Step S108, when the communication module of the mobile terminal occurs abnormal, from the communication module Monitoring Data
Black screen trouble information is extracted, 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 flows after critical workflow Monitoring Data and split screen application Monitoring Data is got according to the key
Journey Monitoring Data judges whether the default critical workflow in the display service of the mobile terminal exception occurs, and in display services
Default critical workflow when not occurring abnormal, detect whether the mobile terminal is in black state, then detecting it is mobile eventually
End obtains the current blank screen time when being in black state, and calculate between current the blank screen time and history air time when
Between it is poor, the history air time is the last air time, subsequently when the time difference being less than predetermined threshold value, according to this
Communication module Monitoring Data judges whether the communication module of the mobile terminal exception occurs, and exception occurs in the communication module
When, black screen trouble information is extracted from the communication module Monitoring Data, and the black screen trouble information is exported to feature daily record text
Part.
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 black screen trouble occurs in the mobile terminal, by the critical workflow Monitoring Data and described logical
Module monitors data storage is interrogated 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 Data and communication module 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.
Default critical workflow in the display service of mobile terminal occurs abnormal, and when communication module occurs abnormal, sentences
Determine mobile terminal and black screen trouble occur, now, the critical workflow Monitoring Data and communication module Monitoring Data are stored to default
Partition holding, then detect mobile terminal be in put out screen holding state when, the critical workflow in partition holding is preset to this
Monitoring Data and communication module Monitoring Data carry out de-redundancy processing, and store the critical workflow Monitoring Data after de-redundancy and lead to
Interrogate module monitors data.For example, the generation time of critical workflow Monitoring Data and communication module Monitoring Data is at 10 points extremely
11 points, total stores 1000 datas, and the default critical workflow in the display service of mobile terminal, and communication module exist
Occur exception during 10 points to 11 points, then de-redundancy is carried out to 1000 datas of storage, i.e., be integrated into this 1000 data
Information output storage including record data quantity and time point, is avoided to the type of 1000 datas and time point difference
Output storage, 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 Data and communication module Monitoring Data carry out de-redundancy processing, and preset time is between the reasonable de-redundancy being determined by experiment
Every the time, within this interval time, it is necessary to the data of de-redundancy will not too much also will not very little, cause spend overlong time or
De-redundancy is excessively frequent.The process of de-redundancy is the critical workflow Monitoring Data that will be preset this in preset time in partition holding
An information is integrated into communication module Monitoring Data to be stored.
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
De-redundancy is carried out according to communication module Monitoring Data, can effectively reduce the data of stored record, 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
The difference for stating embodiment is that after step step S110, the blank screen detection method also includes:
Judge the storage data quantity of critical workflow Monitoring Data and communication module Monitoring Data in the default partition holding
Whether predetermined threshold value is exceeded;
When the storage data quantity exceedes predetermined threshold value, data to be deleted are chosen from the default partition holding, 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 Data and communication module Monitoring Data is also certain, when supervising critical workflow in preset time
Survey data and communication module Monitoring Data is stored when arriving in this storage section, its data volume stored is continuously increased, it is possible to super
Go out its capacity.So as to after critical workflow Monitoring Data and communication module Monitoring Data are carried out into de-redundancy processing storage, judge
Whether the critical workflow Monitoring Data of storage and the storage data quantity of communication module Monitoring Data exceed predetermined threshold value, this default threshold
Value is the amount of capacity for being used to store the storage region of critical workflow Monitoring Data and communication module Monitoring Data.Flowed in key
When the storage data quantity of journey Monitoring Data and communication module Monitoring Data exceedes predetermined threshold value, then illustrate the capacity of this partition holding
Run out, it is impossible to carry out data storage again, it is necessary to which the critical workflow Monitoring Data and communication module Monitoring Data that are stored to it are entered
Row deletion action.Information to be deleted is chosen from the pass critical workflow Monitoring Data and communication module Monitoring Data of storage, by this
Information to be deleted carries out deletion action.The principle wherein chosen can be according to time sequencing, and time sequencing is more forward, shows that this is crucial
Flow Monitoring Data and communication module Monitoring Data are more remote from the now time, and what is referred to has little significance, so as to choose it
Deleted for information to be deleted.
In the present embodiment, the present invention can be in critical workflow Monitoring Data and the data storage of communication module Monitoring Data
When amount exceedes predetermined threshold value, critical workflow Monitoring Data and communication module Monitoring Data are selectively deleted, raising is deposited
Store up space availability ratio.
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, and the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;
Judge whether the mobile terminal goes out according to the critical workflow Monitoring Data and the communication module Monitoring Data
Existing black screen trouble;
When black screen trouble occurs in the mobile terminal, monitored from the critical workflow Monitoring Data and the communication module
Extracting data black screen trouble information, and the black screen trouble information is exported to feature journal file.
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, supervised according to the communication module
Survey data and judge whether the communication module of the mobile terminal exception occurs;
When the communication module of the mobile terminal occurs abnormal, judge that black screen trouble occurs in the mobile terminal, and
When the communication module of the mobile terminal does not occur abnormal, judge that the mobile terminal does not occur black screen trouble.
Further, following steps are also realized when the blank screen detection program is executed by processor:
The flow state value of the default flow of the communication module is read from the communication module Monitoring Data, and is judged
Whether the flow state value is preset state value;
When the flow state value is preset state value, judge that exception occurs in the communication module of the mobile terminal, and
When the flow state value is not preset state value, judge that the communication module of the mobile terminal does not occur exception.
Further, following steps are also realized when the blank screen detection program is executed by processor:
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 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 mobile terminal is judged according to the communication module Monitoring Data
Whether communication module there is exception;
When the communication module of the mobile terminal occurs abnormal, blank screen event is extracted from the communication module Monitoring Data
Hinder 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:
When black screen trouble occurs in the mobile terminal, the critical workflow Monitoring Data and the communication module are monitored
Data storage is 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 and communication module Monitoring Data carry out de-redundancy processing.
Further, following steps are also realized when the blank screen detection program is executed by processor:
Judge the storage data quantity of critical workflow Monitoring Data and communication module Monitoring Data in the default partition holding
Whether predetermined threshold value is exceeded;
When the storage data quantity exceedes predetermined threshold value, data to be deleted are chosen from the default partition holding, 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:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow Monitoring Data,
And the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;
It is black to judge whether the mobile terminal occurs according to the critical workflow Monitoring Data and the communication module Monitoring Data
Shield failure;
When black screen trouble occurs in the mobile terminal, from the critical workflow Monitoring Data and the communication module Monitoring Data
Middle extraction black screen trouble information, 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 it is described according to the critical workflow Monitoring Data and
The communication module Monitoring Data judges whether the mobile terminal the step of black screen trouble occurs and include:
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, number is monitored according to the communication module
It is judged that whether the communication module of the mobile terminal there is exception;
When the communication module of the mobile terminal occurs abnormal, judge that black screen trouble occurs in the mobile terminal, and described
When the communication module of mobile terminal does not occur abnormal, judge that the mobile terminal does not occur black screen trouble.
3. blank screen detection method as claimed in claim 2, it is characterised in that described to be sentenced according to the communication module Monitoring Data
Whether the communication module of the disconnected mobile terminal, which abnormal step occurs, includes:
The flow state value of the default flow of the communication module is read from the communication module Monitoring Data, and described in judgement
Whether flow state value is preset state value;
When the flow state value is preset state value, judge that exception occurs in the communication module of the mobile terminal, and in institute
When to state flow state value be not preset state value, judge that the communication module of the mobile terminal does not occur exception.
4. the blank screen detection method as any one of claim 1-3, it is characterised in that described to the mobile terminal
Communication module is monitored, the step of to obtain communication module Monitoring Data after, the blank screen detection method also includes:
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 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, the communication of the mobile terminal is judged according to the communication module Monitoring Data
Whether module there is exception;
When the communication module of the mobile terminal occurs abnormal, black screen trouble letter is extracted from the communication module Monitoring Data
Breath, 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 and the communication module Monitoring Data judge whether the mobile terminal the step of black screen trouble occurs
Blank screen detection method also includes:
When black screen trouble occurs in the mobile terminal, by the critical workflow Monitoring Data and the communication module 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 and communication module Monitoring 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 the step of flow Monitoring Data and communication module Monitoring Data carry out de-redundancy processing, the blank screen detection method is also wrapped
Include:
Judge in the default partition holding whether is the storage data quantity of critical workflow Monitoring Data and communication module Monitoring Data
More than predetermined threshold value;
When the storage data quantity exceedes predetermined threshold value, data to be deleted are chosen from the default partition holding, and to institute
State data to be deleted and carry out deletion action.
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:
The default critical workflow in display service to the mobile terminal is monitored, to obtain critical workflow Monitoring Data,
And the communication module of the mobile terminal is monitored, to obtain communication module Monitoring Data;
It is black to judge whether the mobile terminal occurs according to the critical workflow Monitoring Data and the communication module Monitoring Data
Shield failure;
When black screen trouble occurs in the mobile terminal, from the critical workflow Monitoring Data and the communication module Monitoring Data
Middle extraction black screen trouble information, 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:
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, number is monitored according to the communication module
It is judged that whether the communication module of the mobile terminal there is exception;
When the communication module of the mobile terminal occurs abnormal, judge that black screen trouble occurs in the mobile terminal, and described
When the communication module of mobile terminal does not occur abnormal, judge that the mobile terminal does not occur black screen trouble.
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711061456.9A CN107872367B (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 |
---|---|---|---|
CN201711061456.9A CN107872367B (en) | 2017-10-31 | 2017-10-31 | Black screen detection method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107872367A true CN107872367A (en) | 2018-04-03 |
CN107872367B CN107872367B (en) | 2021-07-23 |
Family
ID=61756722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711061456.9A Active CN107872367B (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) | CN107872367B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112162888A (en) * | 2020-09-18 | 2021-01-01 | 深圳Tcl新技术有限公司 | Method and device for determining reason of black screen of display and computer storage medium |
CN113784317A (en) * | 2021-08-26 | 2021-12-10 | 上汽通用五菱汽车股份有限公司 | Method, device, equipment and medium for preventing screen-throwing initialization vehicle-triggering machine from failing to sleep |
CN113849251A (en) * | 2020-06-28 | 2021-12-28 | 中兴通讯股份有限公司 | Virtual cloud desktop monitoring method, client, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103517064A (en) * | 2013-08-30 | 2014-01-15 | 支录奎 | Real-time on-line self-diagnosis method and system for video monitoring equipment failure |
CN104378627A (en) * | 2014-11-25 | 2015-02-25 | 广东长虹电子有限公司 | Fault monitoring method and system for a display screen |
CN105657413A (en) * | 2016-01-08 | 2016-06-08 | 成都网丁科技有限公司 | Intelligent video quality monitoring platform |
CN105718354A (en) * | 2016-01-20 | 2016-06-29 | 上海斐讯数据通信技术有限公司 | Fault information reproducing method and device |
-
2017
- 2017-10-31 CN CN201711061456.9A patent/CN107872367B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103517064A (en) * | 2013-08-30 | 2014-01-15 | 支录奎 | Real-time on-line self-diagnosis method and system for video monitoring equipment failure |
CN104378627A (en) * | 2014-11-25 | 2015-02-25 | 广东长虹电子有限公司 | Fault monitoring method and system for a display screen |
CN105657413A (en) * | 2016-01-08 | 2016-06-08 | 成都网丁科技有限公司 | Intelligent video quality monitoring platform |
CN105718354A (en) * | 2016-01-20 | 2016-06-29 | 上海斐讯数据通信技术有限公司 | Fault information reproducing method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849251A (en) * | 2020-06-28 | 2021-12-28 | 中兴通讯股份有限公司 | Virtual cloud desktop monitoring method, client, server and storage medium |
CN112162888A (en) * | 2020-09-18 | 2021-01-01 | 深圳Tcl新技术有限公司 | Method and device for determining reason of black screen of display and computer storage medium |
CN113784317A (en) * | 2021-08-26 | 2021-12-10 | 上汽通用五菱汽车股份有限公司 | Method, device, equipment and medium for preventing screen-throwing initialization vehicle-triggering machine from failing to sleep |
CN113784317B (en) * | 2021-08-26 | 2023-11-21 | 上汽通用五菱汽车股份有限公司 | Method, device, equipment and medium for preventing screen-throwing initialization from causing sleep failure of car machine |
Also Published As
Publication number | Publication date |
---|---|
CN107872367B (en) | 2021-07-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 | |
CN107885635A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN107590057A (en) | Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium | |
CN107704363A (en) | Freeze screen monitoring method, mobile terminal and computer-readable recording medium | |
CN109085963A (en) | A kind of interface display method and terminal device | |
CN107908492A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN107766222A (en) | Blank screen detection 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 | |
CN107967177A (en) | Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on kernel process | |
CN107765922A (en) | Card screen detection is with solving method, mobile terminal and computer-readable recording medium | |
CN108052430A (en) | Mobile terminal restarts localization method, mobile terminal and computer readable storage medium | |
CN110147186A (en) | A kind of control method and terminal device of application | |
CN107391126A (en) | A kind of method, terminal and computer-readable recording medium for lifting starting up speed | |
CN107908491A (en) | Card screen detection is with solving method, mobile terminal and computer-readable recording medium | |
CN107704332A (en) | Freeze screen solution method, mobile terminal and computer-readable recording medium | |
CN107861826A (en) | Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium | |
CN107872367A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN107832191A (en) | Blank screen detection method, mobile terminal and computer-readable recording medium | |
CN108052391A (en) | Memory Optimize Method, mobile terminal and readable storage medium storing program for executing based on thread deadlock | |
CN107908478A (en) | Memory method for cleaning, mobile terminal and computer-readable recording medium | |
CN108287644A (en) | A kind of method for information display and mobile terminal of application program | |
CN108153460A (en) | A kind of icon hiding method and terminal |
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 |