CN109726031A - A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium - Google Patents

A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109726031A
CN109726031A CN201811609066.5A CN201811609066A CN109726031A CN 109726031 A CN109726031 A CN 109726031A CN 201811609066 A CN201811609066 A CN 201811609066A CN 109726031 A CN109726031 A CN 109726031A
Authority
CN
China
Prior art keywords
mobile terminal
control operation
touch control
screen state
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.)
Pending
Application number
CN201811609066.5A
Other languages
Chinese (zh)
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 CN201811609066.5A priority Critical patent/CN109726031A/en
Publication of CN109726031A publication Critical patent/CN109726031A/en
Pending legal-status Critical Current

Links

Abstract

Whether jelly screen monitoring method disclosed by the invention, which monitors the mobile terminal and be in, freezes screen state;If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein the preset instructions are used to trigger and obtain for analyzing the data for freezing screen reason;Obtain the target data that preset instructions described in the mobile terminal execution obtain;Record the target data.In addition, invention additionally discloses a kind of mobile terminal and computer readable storage mediums.When mobile terminal occurs freezing screen, triggering acquisition for mobile terminal is used to analyze the data for freezing screen reason jelly screen monitoring method provided by the invention, facilitates technical staff to analyze and freezes screen reason, so as to promote the efficiency for solving the problems, such as to freeze screen.

Description

A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of jelly screen monitoring methods, mobile terminal and computer Readable storage medium storing program for executing.
Background technique
With the continuous development of electronic technology, the function of mobile terminal (such as smart phone, tablet computer etc.) is increasingly Powerful, user can make mobile terminal realization a variety of different by installing a variety of different application programs on mobile terminals Function.However, as the application program installed on mobile terminal is more and more, and the function supported of application program is also increasingly More, the data processing amount of mobile terminal is also increasing.
So, there is the case where picture freeze when the phenomenon that being easy to appear jelly screen, i.e. user are using mobile terminal.Needle The case where the case where working normally to the touch screen of mobile terminal, i.e., touch screen can normally report touch event, occurs freezing screen Phenomenon is even now problem, and technical staff can not simulate the problem in exploitation and analyze, and causes to solve low efficiency.
As it can be seen that in the prior art, aiming at the problem that there is freezing screen the case where touch screen normally can report touch event Solve low efficiency.
Summary of the invention
In view of this, the present invention proposes that a kind of jelly shields monitoring method, mobile terminal and computer readable storage medium, with solution Certainly above-mentioned technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of jelly screen monitoring method, it is applied to mobile terminal, the side Method includes:
It monitors the mobile terminal and whether is in and freeze screen state;
If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein described default Instruction is obtained for triggering for analyzing the data for freezing screen reason;
Obtain the target data that preset instructions described in the mobile terminal execution obtain;
Record the target data.
Optionally, whether the monitoring mobile terminal is in front of freezing screen state, the method also includes:
Monitor whether the mobile terminal receives touch control operation;
Whether the monitoring mobile terminal, which is in, freezes screen state, comprising:
If the mobile terminal receives touch control operation, monitors the mobile terminal and whether be in and freeze screen state.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, intercepted before the mobile terminal receives the touch control operation respectively Interface images afterwards;
The interface images before and after the touch control operation are received according to the mobile terminal, whether judge the mobile terminal In jelly screen state.
Optionally, the interface images received according to the mobile terminal before and after the touch control operation, described in judgement Whether mobile terminal, which is in, freezes screen state, comprising:
Compare the similarity for the interface images that the mobile terminal receives before and after the touch control operation;
If the similarity is greater than default similarity, determines that the mobile terminal is in and freeze screen state.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, the mobile terminal is intercepted when receiving the touch control operation First interface images;
After receiving the first preset time of the touch control operation, the second contact surface figure of the mobile terminal is intercepted Piece;
Compare the similarity of first interface images and the second contact surface picture;
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is determined Dynamic terminal, which is in, freezes screen state.
Optionally, if the similarity of first interface images and the second contact surface picture is similar greater than presetting Degree determines that the mobile terminal is in and freezes screen state, comprising:
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is judged Whether dynamic terminal generates application program without response ANR dialog box;
If the mobile terminal does not generate ANR dialog box, determines that the mobile terminal is in and freeze screen state.
Optionally, whether the monitoring mobile terminal receives touch control operation, comprising:
It monitors the mobile terminal and whether receives the touch-control of bottom layer driving and report.
Optionally, the preset instructions include at least one below:
adb dumpsys window;
adb shell dumpsys activity;
adb shell dumpsys SurfaceFlinger。
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes storage Device, at least one processor and at least one journey that is stored on the memory and can be executed at least one described processor Sequence, at least one described program realize the step in method described in any of the above embodiments when being executed by least one described processor Suddenly.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers Readable storage medium storing program for executing is stored at least one executable program of computer, at least one described program is executed by the computer When so that the computer is executed the step in the above method.
Compared to the prior art, jelly screen monitoring method proposed by the invention monitors whether the mobile terminal is in jelly screen State;If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein the default finger It enables and obtaining for triggering for analyzing the data for freezing screen reason;Obtain the mesh that preset instructions described in the mobile terminal execution obtain Mark data;Record the target data.Jelly screen monitoring method provided by the invention is when mobile terminal occurs freezing screen, triggering movement Terminal is obtained for analyzing the data for freezing screen reason, is facilitated technical staff to analyze and is frozen screen reason, solves to freeze screen so as to be promoted The efficiency of problem.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is one of the flow diagram provided in an embodiment of the present invention for freezing screen monitoring method;
Fig. 4 is the two of the flow diagram provided in an embodiment of the present invention for freezing screen monitoring method;
Fig. 5 is the three of the flow diagram provided in an embodiment of the present invention for freezing screen monitoring method;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific 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 subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111, the number of the processor 110 are at least one.Ability Field technique personnel are appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, and mobile terminal can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless 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, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the 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 received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent 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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of 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 sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of 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) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch 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 It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and by least one element that the input received is transferred in mobile terminal 100 or can use In transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it 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.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned 100 hardware configuration of mobile terminal and communications network system, each embodiment of the method for the present invention is proposed.
It is one of the step flow chart provided in an embodiment of the present invention for freezing screen monitoring method, the method refering to Fig. 3, Fig. 3 Applied in a mobile terminal, as shown in Figure 3, which comprises
Whether step 301, the monitoring mobile terminal are in and freeze screen state.
In the step, whether the mobile terminal, which monitors the mobile terminal and be in, freezes screen state.The mobile terminal can Freeze screen state to monitor the mobile terminal in the case where the touch screen of the mobile terminal is in illuminating state and whether be in, it can also be with The mobile terminal is only monitored when the mobile terminal receives touch control operation and whether is in freezes screen state.
It may include: to intercept institute respectively that the mobile terminal, which monitors the mobile terminal and whether is in the mode of jelly screen state, Interface images of the mobile terminal before and after receiving touch control operation are stated, before receiving the touch control operation according to the mobile terminal Interface images afterwards judge whether the mobile terminal is in and freeze screen state.The mobile terminal can be by way of screenshot The interface images before and after the touch control operation are obtained, the interface of drafting can also be obtained in the SurfaceFlinger of rendering, It is not limited in the embodiment of the present invention.
If step 302, the mobile terminal, which are in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein The preset instructions are used to trigger and obtain for analyzing the data for freezing screen reason.
In the step, if the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, In, the preset instructions are used to trigger and obtain for analyzing the data for freezing screen reason.
The preset instructions may include below one or more: adb dumpsys window;adb shell dumpsys activity;adb shell dumpsys SurfaceFlinger.
Step 303 obtains the target data that preset instructions described in the mobile terminal execution obtain.
In the step, the acquisition for mobile terminal executes the target data that the preset instructions obtain, the target data For for analyzing the data for freezing screen reason.
Step 304 records the target data.
In the step, target data described in the mobile terminal records, in the present embodiment, the mobile terminal can be in day The target data is recorded in will file, specifically, the mobile terminal can freeze screen monitoring that the mobile terminal is in When state, journal file is opened, and by journal file described in the target data typing after getting the target data.
In the present embodiment, whether the jelly screen monitoring method, which monitors the mobile terminal and be in, freezes screen state;If the shifting Dynamic terminal, which is in, freezes screen state, controls the mobile terminal execution preset instructions, wherein the preset instructions are obtained for triggering For analyzing the data for freezing screen reason;Obtain the target data that preset instructions described in the mobile terminal execution obtain;Record institute State target data.When mobile terminal occurs freezing screen, triggering acquisition for mobile terminal is used for jelly screen monitoring method provided by the invention The data of screen reason are frozen in analysis, are facilitated technical staff to analyze and are frozen screen reason, so as to promote the efficiency for solving the problems, such as to freeze screen.
Optionally, the preset instructions include at least one below:
adb dumpsys window;
adb shell dumpsys activity;
adb shell dumpsys SurfaceFlinger。
Referring to fig. 4, Fig. 4 is the two of the flow diagram provided in an embodiment of the present invention for freezing screen monitoring method, the jelly screen Monitoring method is applied to mobile terminal, as shown in Figure 4, which comprises
Whether step 401, the monitoring mobile terminal receive touch control operation.
In the step, the mobile terminal monitors whether to receive touch control operation, and specifically, the mobile terminal can be sentenced The disconnected touch-control for whether receiving bottom layer driving reports.
If step 402, the mobile terminal receive touch control operation, monitor whether the mobile terminal is in jelly screen shape State.
In the step, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen shape State.Specifically, it if the mobile terminal receives bottom touch-control and reports, monitors the mobile terminal and whether is in and freeze screen state.
If step 403, the mobile terminal, which are in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein The preset instructions are used to trigger and obtain for analyzing the data for freezing screen reason.
Step 404 obtains the target data that preset instructions described in the mobile terminal execution obtain.
Step 405 records the target data.
The step 403 is identical to step 304 to step 405 and the step 302 in present invention embodiment shown in Fig. 3, Details are not described herein again.
In the present embodiment, the jelly screen monitoring method monitors whether the mobile terminal receives touch control operation;If described Whether mobile terminal receives touch control operation, monitor the mobile terminal and be in and freeze screen state;Freeze if the mobile terminal is in Screen state controls the mobile terminal execution preset instructions, wherein the preset instructions freeze screen for analyzing for triggering to obtain The data of reason;Obtain the target data that preset instructions described in the mobile terminal execution obtain;Record the target data.This The jelly screen monitoring method provided is invented when mobile terminal occurs freezing screen, triggering acquisition for mobile terminal, which is used to analyze, freezes screen reason Data facilitate technical staff to analyze and freeze screen reason, so as to promote the efficiency for solving the problems, such as to freeze screen.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, intercepted before the mobile terminal receives the touch control operation respectively Interface images afterwards;
The interface images before and after the touch control operation are received according to the mobile terminal, whether judge the mobile terminal In jelly screen state.
In the embodiment, if the mobile terminal receives touch control operation, the mobile terminal is intercepted respectively and receives institute State the interface images before and after touch control operation;The interface images before and after the touch control operation are received according to the mobile terminal, are sentenced Whether the mobile terminal that breaks, which is in, freezes screen state.The boundary received according to the mobile terminal before and after the touch control operation Face picture judges whether the mobile terminal is in and freezes screen state, can specifically include the comparison mobile terminal and receives institute State the similarity of the interface images before and after touch control operation;If the similarity is greater than default similarity, the mobile terminal is determined In jelly screen state.
Optionally, the interface images received according to the mobile terminal before and after the touch control operation, described in judgement Whether mobile terminal, which is in, freezes screen state, comprising:
Compare the similarity for the interface images that the mobile terminal receives before and after the touch control operation;
If the similarity is greater than default similarity, determines that the mobile terminal is in and freeze screen state.
In the embodiment, the mobile terminal receives the surface chart before and after the touch control operation according to the mobile terminal The similarity of piece judges whether the mobile terminal is in and freezes screen state.Specifically, the mobile terminal compares described mobile whole Termination receives the similarity of the interface images before and after the touch control operation, if the similarity is greater than default similarity, determines institute It states mobile terminal and is in and freeze screen state.
Optionally, whether the monitoring mobile terminal receives touch control operation, comprising:
It monitors the mobile terminal and whether receives the touch-control of bottom layer driving and report.
Referring to three that Fig. 5, Fig. 5 are the flow diagrams provided in an embodiment of the present invention for freezing screen monitoring method, the jelly screen Monitoring method is applied to mobile terminal, as shown in Figure 5, which comprises
Whether step 501, the monitoring mobile terminal receive touch control operation.
The step 501 is identical as the step 401 in present invention embodiment shown in Fig. 4, and details are not described herein again.
If step 502, the mobile terminal receive touch control operation, the shifting is intercepted when receiving the touch control operation First interface images of dynamic terminal.
In the step, if the mobile terminal receives touch control operation, the mobile terminal is receiving the touch-control behaviour As when intercept the first interface images of the mobile terminal.
Step 503, after receiving the first preset time of the touch control operation, intercept the second of the mobile terminal Interface images.
In the step, after receiving the first preset time of the touch control operation, described in the mobile terminal interception The second contact surface picture of mobile terminal.
Step 504, the similarity for comparing first interface images and the second contact surface picture.
In the step, the mobile terminal compares the similarity of first interface images and the second contact surface picture. It is understood that the mobile terminal will not repaint interface, the shifting if the mobile terminal, which is in, freezes screen state The interface of dynamic display of the terminal before and after receiving touch control operation does not change.If the mobile terminal, which is not at, freezes screen state, Then the mobile terminal can respond the touch control operation and repaint interface, the mobile terminal receive the touch control operation it The interface shown afterwards can change.
If the similarity of step 505, first interface images and the second contact surface picture is greater than default similarity, really The fixed mobile terminal, which is in, freezes screen state.
In the step, if the similarity of first interface images and the second contact surface picture is greater than default similarity, It determines that the mobile terminal is in and freezes screen state.In the present embodiment, the default similarity can be 100%.In view of comparing Error, the default similarity may be other values, such as 95% etc..
If step 506, the mobile terminal, which are in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein The preset instructions are used to trigger and obtain for analyzing the data for freezing screen reason.
Step 507 obtains the target data that preset instructions described in the mobile terminal execution obtain.
Step 508 records the target data.
The step 506 is identical to step 304 to step 508 and the step 302 in present invention embodiment shown in Fig. 3, Details are not described herein again.
In the present embodiment, the jelly screen monitoring method monitors whether the mobile terminal receives touch control operation;If described Mobile terminal receives touch control operation, and the first interface images of the mobile terminal are intercepted when receiving the touch control operation; After receiving the first preset time of the touch control operation, the second contact surface picture of the mobile terminal is intercepted;Compare institute State the similarity of the first interface images and the second contact surface picture;If first interface images and the second contact surface picture Similarity be greater than default similarity, determine that the mobile terminal is in and freeze screen state;If the mobile terminal, which is in, freezes screen shape State controls the mobile terminal execution preset instructions, wherein the preset instructions freeze screen reason for analyzing for triggering to obtain Data;Obtain the target data that preset instructions described in the mobile terminal execution obtain;Record the target data.The present invention When mobile terminal occurs freezing screen, triggering acquisition for mobile terminal is used to analyze the number for freezing screen reason the jelly screen monitoring method of offer According to, facilitate technical staff analyze freeze screen reason, so as to promoted solves the problems, such as jelly screen efficiency.
Optionally, if the similarity of first interface images and the second contact surface picture is similar greater than presetting Degree determines that the mobile terminal is in and freezes screen state, comprising:
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is judged Whether dynamic terminal generates application program without response ANR dialog box;
If the mobile terminal does not generate ANR dialog box, determines that the mobile terminal is in and freeze screen state.
It is understood that the mobile terminal, which receives the reason of interface after touch control operation is there is no changing, also to be had It may be since application program does not respond to the touch control operation, in the embodiment, if first interface images and described The similarity of second interface picture is greater than the default similarity, judges whether the mobile terminal generates ANR (Application Not Responding, application program is without response) dialog box, if the mobile terminal does not generate ANR dialog box, determine described in Mobile terminal, which is in, freezes screen state.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of at least one program instruction, at least one described program can store in shifting as shown in Figure 1 It in the memory 109 of dynamic terminal 100, and can be executed by the processor 110, at least one described program is by the processor 110 realize following steps when executing:
It monitors the mobile terminal and whether is in and freeze screen state;
If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein described default Instruction is obtained for triggering for analyzing the data for freezing screen reason;
Obtain the target data that preset instructions described in the mobile terminal execution obtain;
Record the target data.
Optionally, whether the monitoring mobile terminal is in front of freezing screen state, and the processor 110 can also be achieved Following steps:
Monitor whether the mobile terminal receives touch control operation;
Whether the monitoring mobile terminal, which is in, freezes screen state, comprising:
If the mobile terminal receives touch control operation, monitors the mobile terminal and whether be in and freeze screen state.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, intercepted before the mobile terminal receives the touch control operation respectively Interface images afterwards;
The interface images before and after the touch control operation are received according to the mobile terminal, whether judge the mobile terminal In jelly screen state.
Optionally, the interface images received according to the mobile terminal before and after the touch control operation, described in judgement Whether mobile terminal, which is in, freezes screen state, comprising:
Compare the similarity for the interface images that the mobile terminal receives before and after the touch control operation;
If the similarity is greater than default similarity, determines that the mobile terminal is in and freeze screen state.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, the mobile terminal is intercepted when receiving the touch control operation First interface images;
After receiving the first preset time of the touch control operation, the second contact surface figure of the mobile terminal is intercepted Piece;
Compare the similarity of first interface images and the second contact surface picture;
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is determined Dynamic terminal, which is in, freezes screen state.
Optionally, if the similarity of first interface images and the second contact surface picture is similar greater than presetting Degree determines that the mobile terminal is in and freezes screen state, comprising:
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is judged Whether dynamic terminal generates application program without response ANR dialog box;
If the mobile terminal does not generate ANR dialog box, determines that the mobile terminal is in and freeze screen state.
Optionally, whether the monitoring mobile terminal receives touch control operation, comprising:
It monitors the mobile terminal and whether receives the touch-control of bottom layer driving and report.
Optionally, the preset instructions include at least one below:
adb dumpsys window;
adb shell dumpsys activity;
adb shell dumpsys SurfaceFlinger。
In the present embodiment, whether the mobile terminal, which monitors the mobile terminal and be in, freezes screen state;If described mobile whole End controls the mobile terminal execution preset instructions in screen state is frozen, wherein the preset instructions are used for for triggering to obtain The data of screen reason are frozen in analysis;Obtain the target data that preset instructions described in the mobile terminal execution obtain;Record the mesh Mark data.In this way, triggering acquisition for mobile terminal is used to analyze the data for freezing screen reason, convenient when mobile terminal occurs freezing screen Technical staff, which analyzes, freezes screen reason, so as to promote the efficiency for solving the problems, such as to freeze screen.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is It is completed by the relevant hardware of at least one program instruction, at least one described program can store computer-readable deposits in one In storage media, which is performed, comprising the following steps:
It monitors the mobile terminal and whether is in and freeze screen state;
If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein described default Instruction is obtained for triggering for analyzing the data for freezing screen reason;
Obtain the target data that preset instructions described in the mobile terminal execution obtain;
Record the target data.
Optionally, whether the monitoring mobile terminal is in front of freezing screen state, at least one described program is held When row, it can also be achieved following steps:
Monitor whether the mobile terminal receives touch control operation;
Whether the monitoring mobile terminal, which is in, freezes screen state, comprising:
If the mobile terminal receives touch control operation, monitors the mobile terminal and whether be in and freeze screen state.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, intercepted before the mobile terminal receives the touch control operation respectively Interface images afterwards;
The interface images before and after the touch control operation are received according to the mobile terminal, whether judge the mobile terminal In jelly screen state.
Optionally, the interface images received according to the mobile terminal before and after the touch control operation, described in judgement Whether mobile terminal, which is in, freezes screen state, comprising:
Compare the similarity for the interface images that the mobile terminal receives before and after the touch control operation;
If the similarity is greater than default similarity, determines that the mobile terminal is in and freeze screen state.
Optionally, if the mobile terminal receives touch control operation, monitor whether the mobile terminal is in jelly screen State, comprising:
If the mobile terminal receives touch control operation, the mobile terminal is intercepted when receiving the touch control operation First interface images;
After receiving the first preset time of the touch control operation, the second contact surface figure of the mobile terminal is intercepted Piece;
Compare the similarity of first interface images and the second contact surface picture;
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is determined Dynamic terminal, which is in, freezes screen state.
Optionally, if the similarity of first interface images and the second contact surface picture is similar greater than presetting Degree determines that the mobile terminal is in and freezes screen state, comprising:
If the similarity of first interface images and the second contact surface picture is greater than default similarity, the shifting is judged Whether dynamic terminal generates application program without response ANR dialog box;
If the mobile terminal does not generate ANR dialog box, determines that the mobile terminal is in and freeze screen state.
Optionally, whether the monitoring mobile terminal receives touch control operation, comprising:
It monitors the mobile terminal and whether receives the touch-control of bottom layer driving and report.
Optionally, the preset instructions include at least one below:
adb dumpsys window;
adb shell dumpsys activity;
adb shell dumpsys SurfaceFlinger。
Whether in the present embodiment, at least one described program is performed, monitor the mobile terminal and be in and freeze screen state; If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein the preset instructions are used for Triggering is obtained for analyzing the data for freezing screen reason;Obtain the number of targets that preset instructions described in the mobile terminal execution obtain According to;Record the target data.In this way, triggering acquisition for mobile terminal when mobile terminal occurs freezing screen for analyzing and freezing screen original The data of cause facilitate technical staff to analyze and freeze screen reason, so as to promote the efficiency for solving the problems, such as to freeze screen.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of jelly shields monitoring method, it is applied to mobile terminal, which is characterized in that the described method includes:
It monitors the mobile terminal and whether is in and freeze screen state;
If the mobile terminal, which is in, freezes screen state, the mobile terminal execution preset instructions are controlled, wherein the preset instructions It obtains for triggering for analyzing the data for freezing screen reason;
Obtain the target data that preset instructions described in the mobile terminal execution obtain;
Record the target data.
2. as described in claim 1 freeze screen monitoring method, which is characterized in that whether the monitoring mobile terminal is in jelly Before screen state, the method also includes:
Monitor whether the mobile terminal receives touch control operation;
Whether the monitoring mobile terminal, which is in, freezes screen state, comprising:
If the mobile terminal receives touch control operation, monitors the mobile terminal and whether be in and freeze screen state.
3. as claimed in claim 2 freeze screen monitoring method, which is characterized in that if the mobile terminal receives touch-control behaviour Make, monitor the mobile terminal and whether be in and freeze screen state, comprising:
If the mobile terminal receives touch control operation, intercepted before and after the mobile terminal receives the touch control operation respectively Interface images;
The interface images before and after the touch control operation are received according to the mobile terminal, judge whether the mobile terminal is in Freeze screen state.
4. as claimed in claim 3 freeze screen monitoring method, which is characterized in that it is described received according to the mobile terminal it is described Interface images before and after touch control operation judge whether the mobile terminal is in and freeze screen state, comprising:
Compare the similarity for the interface images that the mobile terminal receives before and after the touch control operation;
If the similarity is greater than default similarity, determines that the mobile terminal is in and freeze screen state.
5. as claimed in claim 2 freeze screen monitoring method, which is characterized in that if the mobile terminal receives touch-control behaviour Make, monitor the mobile terminal and whether be in and freeze screen state, comprising:
If the mobile terminal receives touch control operation, the first of the mobile terminal is intercepted when receiving the touch control operation Interface images;
After receiving the first preset time of the touch control operation, the second contact surface picture of the mobile terminal is intercepted;
Compare the similarity of first interface images and the second contact surface picture;
If the similarity of first interface images and the second contact surface picture is greater than default similarity, determine described mobile whole End is in jelly screen state.
6. as claimed in claim 5 freeze screen monitoring method, which is characterized in that if first interface images and described the The similarity of second interface picture is greater than default similarity, determines that the mobile terminal is in and freezes screen state, comprising:
If the similarity of first interface images and the second contact surface picture is greater than default similarity, judge described mobile whole Whether end generates application program without response ANR dialog box;
If the mobile terminal does not generate ANR dialog box, determines that the mobile terminal is in and freeze screen state.
7. as the described in any item jellies of claim 2 to 5 shield monitoring method, which is characterized in that the monitoring mobile terminal Whether touch control operation is received, comprising:
It monitors the mobile terminal and whether receives the touch-control of bottom layer driving and report.
8. as described in claim 1 freeze screen monitoring method, which is characterized in that the preset instructions include below at least one Kind:
adb dumpsys window;
adb shell dumpsys activity;
adb shell dumpsys SurfaceFlinger。
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, at least one processor and is stored in institute At least one program stated on memory and can executed at least one described processor, at least one described program by it is described extremely A few processor realizes the step in the described in any item methods of the claims 1~8 when executing.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least One program, which is characterized in that at least one described program makes the computer execute above-mentioned power when being executed by the computer Benefit requires the step in 1~8 described in any item methods.
CN201811609066.5A 2018-12-27 2018-12-27 A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium Pending CN109726031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811609066.5A CN109726031A (en) 2018-12-27 2018-12-27 A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811609066.5A CN109726031A (en) 2018-12-27 2018-12-27 A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109726031A true CN109726031A (en) 2019-05-07

Family

ID=66296586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811609066.5A Pending CN109726031A (en) 2018-12-27 2018-12-27 A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109726031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475363A (en) * 2020-04-28 2020-07-31 华为技术有限公司 Card death recognition method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140198054A1 (en) * 2013-01-15 2014-07-17 Sprint Communications Company L.P. Screen freezing for a wireless communication device
CN105913088A (en) * 2016-04-13 2016-08-31 厦门美图移动科技有限公司 Lag identification method, lag identification device and computing equipment
CN107132974A (en) * 2017-05-16 2017-09-05 努比亚技术有限公司 Terminal freezes screen processing method, terminal and computer-readable recording medium
CN107807861A (en) * 2017-10-31 2018-03-16 努比亚技术有限公司 Freeze screen solution method, mobile terminal and computer-readable recording medium
CN109005457A (en) * 2018-09-19 2018-12-14 腾讯科技(北京)有限公司 Blank screen detection method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140198054A1 (en) * 2013-01-15 2014-07-17 Sprint Communications Company L.P. Screen freezing for a wireless communication device
CN105913088A (en) * 2016-04-13 2016-08-31 厦门美图移动科技有限公司 Lag identification method, lag identification device and computing equipment
CN107132974A (en) * 2017-05-16 2017-09-05 努比亚技术有限公司 Terminal freezes screen processing method, terminal and computer-readable recording medium
CN107807861A (en) * 2017-10-31 2018-03-16 努比亚技术有限公司 Freeze screen solution method, mobile terminal and computer-readable recording medium
CN109005457A (en) * 2018-09-19 2018-12-14 腾讯科技(北京)有限公司 Blank screen detection method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475363A (en) * 2020-04-28 2020-07-31 华为技术有限公司 Card death recognition method and electronic equipment

Similar Documents

Publication Publication Date Title
CN109725866A (en) Application interface display methods, terminal and computer readable storage medium
CN109151169A (en) Camera right management method, mobile terminal and computer readable storage medium
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN109538538A (en) A kind of processing method of fan noise, mobile terminal and storage medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN109558054A (en) A kind of message treatment method of mobile terminal, mobile terminal and storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN109543474A (en) A kind of method for controlling mobile terminal and mobile terminal
CN109992156A (en) A kind of false-touch prevention method, mobile terminal and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109168189A (en) A kind of electricity saving method, mobile terminal and computer readable storage medium
CN110167004A (en) A kind of network registering method, mobile terminal and computer readable storage medium
CN109947519A (en) Hardware-accelerated control method, terminal and computer readable storage medium
CN110096173A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109726031A (en) A kind of jelly screen monitoring method, mobile terminal and computer readable storage medium
CN109062688A (en) A kind of memory allocation method, server and mobile terminal
CN108879117A (en) Mobile terminal and its antenna structure
CN109151163A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110069291A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN110046011A (en) A kind of display methods, mobile terminal and computer readable storage medium
CN109739676A (en) A kind of operational monitoring method, mobile terminal and computer readable storage medium
CN109002372A (en) A kind of data back up method, mobile terminal and computer readable storage medium
CN109743444A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN109213679A (en) A kind of failure feedback method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190507

RJ01 Rejection of invention patent application after publication