CN109508280A - Monitor the method, apparatus and terminal of UI Caton - Google Patents

Monitor the method, apparatus and terminal of UI Caton Download PDF

Info

Publication number
CN109508280A
CN109508280A CN201710828048.5A CN201710828048A CN109508280A CN 109508280 A CN109508280 A CN 109508280A CN 201710828048 A CN201710828048 A CN 201710828048A CN 109508280 A CN109508280 A CN 109508280A
Authority
CN
China
Prior art keywords
frame losing
frame
losing
monitoring
user interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710828048.5A
Other languages
Chinese (zh)
Other versions
CN109508280B (en
Inventor
金恒庄
杨攀
张小俊
刘中杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201710828048.5A priority Critical patent/CN109508280B/en
Publication of CN109508280A publication Critical patent/CN109508280A/en
Application granted granted Critical
Publication of CN109508280B publication Critical patent/CN109508280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/349Performance evaluation by tracing or monitoring for interfaces, buses

Abstract

The present invention provides a kind of method, apparatus and terminal for monitoring UI Caton.The described method includes: the frame per second information of monitoring synthesizer synthesis user interface;Monitor memory bandwidth rate;Judge whether frame losing according to the frame per second information that the synthesizer synthesizes user interface;When there is frame losing, according to the memory bandwidth rate in the period of the appearance frame losing of current monitor, frame losing reason is determined.The present invention can comprehensively analyze UI Caton reason, and quickly locate problem, improve the efficiency of performance evaluation.

Description

Monitor the method, apparatus and terminal of UI Caton
Technical field
The present invention relates to technical field of data processing more particularly to a kind of method, apparatus and terminal for monitoring UI Caton.
Background technique
User is when using the terminal devices such as mobile phone, tablet computer, the phenomenon that inevitably will appear interface Caton, UI (User Interface, user interface) sliding, the Caton under the scenes such as animation and video be even more the problem of user often complains that.
The reason of causing Caton has very much, and is directed to the analysis of Caton problem, is only capable of from screen substantially seeing appearance Caton phenomenon, cannot be apparent the reason of determine Caton.It is directed to the tool of UI Caton performance evaluation on the market, also can only The case where independently providing current frame loss condition, or special screne can only be tested, if divided for true usage scenario Analysis, it may be necessary to which tester is tested repeatedly by multiple types of tools, is taken a substantial amount of time and energy.
Summary of the invention
The method, apparatus and terminal of monitoring UI Caton provided by the invention, can comprehensively analyze UI Caton reason, and Problem is quickly located, the efficiency of performance evaluation is improved.
In a first aspect, the present invention provides a kind of method for monitoring UI Caton, which comprises
Monitor the frame per second information of synthesizer synthesis user interface;
Monitor memory bandwidth rate;
Judge whether frame losing according to the frame per second information that the synthesizer synthesizes user interface;
When there is frame losing, according to the memory bandwidth rate in the period of the appearance frame losing of current monitor, frame losing is determined Reason.
Optionally, the frame per second information for synthesizing user interface according to the synthesizer judges whether that frame losing includes:
Judge whether synthesizer synthesizes new user interface in each default equal time;
When synthesizer does not synthesize new user interface in continuous two default equal times, it is judged to losing a frame.
Optionally, the memory bandwidth rate in the period according to the appearance frame losing of current monitor, determines frame losing original Because including:
When there is frame losing, if total memory bandwidth rate within the period for frame losing occur is pre- less than first If threshold value, frame losing reason is determined according to the bandwidth rates of each memory port of monitoring, total memory bandwidth rate is described The sum of the bandwidth rates of each memory port.
Optionally, the memory bandwidth rate in the period according to the appearance frame losing of current monitor, determines frame losing original Cause further include: when there is frame losing, if total memory bandwidth rate within the period for frame losing occur is greater than second Preset threshold determines that frame losing reason is low memory.
Second aspect, the present invention provide a kind of device for monitoring UI Caton, and described device includes:
First monitoring unit, for monitoring the frame per second information of synthesizer synthesis user interface;
Second monitoring unit, for monitoring memory bandwidth rate;
Judging unit, the frame per second information for synthesizing user interface according to the synthesizer judge whether frame losing;
Determination unit, for when there is frame losing, according to the memory bandwidth in the period of the appearance frame losing of current monitor Rate determines frame losing reason.
Optionally, the judging unit, for judging whether synthesizer synthesizes new use in each default equal time Family interface is judged to losing a frame when synthesizer does not synthesize new user interface in continuous two default equal times.
Optionally, the determination unit, for when there is frame losing, if total within the period for frame losing occur Memory bandwidth rate less than the first preset threshold, determine frame losing reason, institute according to the bandwidth rates of each memory port of monitoring State the sum of the bandwidth rates that total memory bandwidth rate is each memory port.
Optionally, the determination unit is also used to when there is frame losing, if within the period for frame losing occur Total memory bandwidth rate is greater than the second preset threshold, determines that frame losing reason is low memory.
The third aspect, the present invention provide a kind of terminal, and the terminal includes the device of above-mentioned monitoring UI Caton.
The method, apparatus and terminal of monitoring UI Caton provided in an embodiment of the present invention, real time monitoring synthesizer synthesize user The frame loss condition occurred when interface, while the bandwidth rates of each memory port are monitored, according to the frame loss condition in the frame losing period With the bandwidth rates of each memory port, position Caton the reason of.Compared with prior art, when the present invention can be accurately positioned Caton Between put and the time point near frame loss rate and memory bandwidth rate, thus quickly position Caton reason, improve performance evaluation Efficiency.
Detailed description of the invention
Fig. 1 is the flow chart for the method that one embodiment of the invention monitors UI Caton;
Fig. 2 is the relationship corresponding diagram of frame loss rate and memory bandwidth rate that one embodiment of the invention monitors out;
Fig. 3 is the structural schematic diagram for the device that one embodiment of the invention monitors UI Caton.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention provides a kind of method for monitoring UI Caton, as shown in Figure 1, which comprises
The frame per second information of S11, monitoring synthesizer synthesis user interface;
S12, monitoring memory bandwidth rate;
S13, frame losing is judged whether according to the frame per second information that the synthesizer synthesizes user interface;
S14, when there is frame losing, according to current monitor appearance frame losing period in memory bandwidth rate, determine Frame losing reason.
Frame per second is to measure an index for applying fluency, expression CPU, GPU (Graphics Processing Unit, Graphics processing unit), the synthesizers such as GSP (Graphics Signal Processor, image signal processing device) are in processing image When data, within the unit time (such as 1 second), the quantity of the still image of synthesis (this width still image is known as a frame). More than 60 frames of synthesis it can be only achieved smooth degree in the one second time of synthesizer, that is, the time for synthesizing each frame reaches less than 16ms Smoothness, interface are not in Caton, if as soon as the phenomenon that time of synthesis frame has been more than 16ms, will appear frame losing, that is, The Caton seen on terminal interface.
The embodiment of the present invention is sentenced by monitoring whether GPU (16ms) in each equal time synthesizes new user interface Disconnected whether frame losing specifically counts the number of GPU Composite Display using a counter, if every 16ms counter Add 1, show no frame losing, if continuous two 16ms counters do not change, show to lose a frame, this makes it possible to accurately fixed The time point of position Caton generation and the at the time point quantity of frame losing, monitor the variation of Counter Value in real time by every 16ms, It can also obtain real-time frame loss rate data.
The embodiment of the present invention monitors the end CPU in the memory bandwidth rate of each memory port, including real time monitoring bus simultaneously Mouth, the port GPU, the port GSP, VSP (Video Signal Processor, video signal preprocessor) port, DISPLAY are (aobvious Show device) the real-time bandwidth read and write rate of the every 16ms in memories port such as port, the sum of the bandwidth read and write rate of each memory port is total Memory bandwidth rate.
The embodiment of the present invention captures the frame losing number at frame losing moment by monitoring frame loss condition and memory bandwidth rate in real time The performance datas such as amount and the bandwidth rates of each port, then all data of capture are mapped on a timeline, Neng Goujin The comprehensive analysis of row.Specifically, it is analyzed comprehensively in conjunction with frame loss rate data and memory bandwidth rate, can quickly position card release The reason of pausing, for example, if total memory bandwidth rate continues to occupy height not near limiting value within the period for frame losing occur Under, illustrate that current memory bandwidth has reached peak value, in DDR (Double Date Rate SDRAM, Double Data Rate SDRAM) The reason of being saved as bottleneck, then orienting current Caton is as caused by DDR low memory.
For another example, as shown in Fig. 2, for when there is frame losing, the frame loss rate data of monitoring and the relationship of memory bandwidth rate are corresponding Figure, if frame loss rate persistently increases within the period for frame losing occur, and total memory bandwidth data decline much suddenly, just It is to cause CPU work slow due to Caton that it is low, which to can analyze out bandwidth rates, and read/write memory is few, Caton can be excluded the reason is that Caused by DDR low memory.At this time, it may be necessary to further according to the bandwidth speed of each memory port such as CPU, GPU, GSP, VSP, DISPLAY The problem of which port is rate to analyze be, i.e. which memory port are under memory bandwidth data are unexpected within the period of frame losing There are many drop, are just which port by Caton positioning problems, to give subsequent analysis directions, analysis are greatly saved and solves The time of problem.
The method of monitoring UI Caton provided in an embodiment of the present invention occurs when monitoring synthesizer synthesis user interface in real time Frame loss condition, while monitoring the bandwidth rates of each memory port, according in the frame losing period frame loss condition and each memory port Bandwidth rates, position Caton the reason of.Compared with prior art, the present invention can be accurately positioned Caton time point and this when Between put neighbouring frame loss rate and memory bandwidth rate, to quickly position Caton reason, improve the efficiency of performance evaluation.
The embodiment of the present invention also provides a kind of device for monitoring UI Caton, as shown in figure 3, described device includes:
First monitoring unit 11, for monitoring the frame per second information of synthesizer synthesis user interface;
Second monitoring unit 12, for monitoring memory bandwidth rate;
Judging unit 13, the frame per second information for synthesizing user interface according to the synthesizer judge whether frame losing;
Determination unit 14, for when there is frame losing, according to the memory band in the period of the appearance frame losing of current monitor Wide rate determines frame losing reason.
Optionally, whether the judging unit 13 synthesizes for judging synthesizer in each default equal time new User interface is judged to losing a frame when synthesizer does not synthesize new user interface in continuous two default equal times.
Optionally, the determination unit 14, for when there is frame losing, if within the period for frame losing occur Total memory bandwidth rate determines frame losing reason less than the first preset threshold, according to the bandwidth rates of each memory port of monitoring, Total memory bandwidth rate is the sum of the bandwidth rates of each memory port.
Optionally, the determination unit 14, is also used to when there is frame losing, if within the period for frame losing occur Total memory bandwidth rate be greater than the second preset threshold, determine frame losing reason be low memory.
The device of monitoring UI Caton provided in an embodiment of the present invention occurs when monitoring synthesizer synthesis user interface in real time Frame loss condition, while monitoring the bandwidth rates of each memory port, according in the frame losing period frame loss condition and each memory port Bandwidth rates, position Caton the reason of.Compared with prior art, the present invention can be accurately positioned Caton time point and this when Between put neighbouring frame loss rate and memory bandwidth rate, to quickly position Caton reason, improve the efficiency of performance evaluation.
The embodiment of the present invention also provides a kind of terminal, and the terminal includes the device of above-mentioned monitoring UI Caton.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (9)

1. a kind of method for monitoring UI Caton, which is characterized in that the described method includes:
Monitor the frame per second information of synthesizer synthesis user interface;
Monitor memory bandwidth rate;
Judge whether frame losing according to the frame per second information that the synthesizer synthesizes user interface;
When there is frame losing, according to the memory bandwidth rate in the period of the appearance frame losing of current monitor, frame losing reason is determined.
2. the method according to claim 1, wherein the frame per second for synthesizing user interface according to the synthesizer Information judges whether that frame losing includes:
Judge whether synthesizer synthesizes new user interface in each default equal time;
When synthesizer does not synthesize new user interface in continuous two default equal times, it is judged to losing a frame.
3. the method according to claim 1, wherein in the period according to the appearance frame losing of current monitor Memory bandwidth rate, determine that frame losing reason includes:
When there is frame losing, if total memory bandwidth rate within the period for frame losing occur is less than the first default threshold Value determines that frame losing reason, total memory bandwidth rate are described each interior according to the bandwidth rates of each memory port of monitoring Deposit the sum of the bandwidth rates of port.
4. according to the method described in claim 3, it is characterized in that, in the period according to the appearance frame losing of current monitor Memory bandwidth rate, determine frame losing reason further include: when there is frame losing, if within the period for frame losing occur Total memory bandwidth rate is greater than the second preset threshold, determines that frame losing reason is low memory.
5. a kind of device for monitoring UI Caton, which is characterized in that described device includes:
First monitoring unit, for monitoring the frame per second information of synthesizer synthesis user interface;
Second monitoring unit, for monitoring memory bandwidth rate;
Judging unit, the frame per second information for synthesizing user interface according to the synthesizer judge whether frame losing;
Determination unit, for when there is frame losing, according to the memory bandwidth rate in the period of the appearance frame losing of current monitor, Determine frame losing reason.
6. device according to claim 5, which is characterized in that the judging unit, for judging synthesizer each pre- If whether synthesizing new user interface in equal time, when synthesizer does not have to synthesize newly in continuous two default equal times When user interface, it is judged to losing a frame.
7. device according to claim 5, which is characterized in that the determination unit, for when there is frame losing, if Total memory bandwidth rate in the period for frame losing occur is less than the first preset threshold, according to each memory port of monitoring Bandwidth rates determine frame losing reason, total memory bandwidth rate is the sum of the bandwidth rates of each memory port.
8. device according to claim 7, which is characterized in that the determination unit is also used to when there is frame losing, if Total memory bandwidth rate within the period for frame losing occur is greater than the second preset threshold, determines that frame losing reason is memory It is insufficient.
9. a kind of terminal, which is characterized in that the terminal includes the monitoring UI Caton as described in any one of claim 5 to 8 Device.
CN201710828048.5A 2017-09-14 2017-09-14 Method, device and terminal for monitoring UI blockage Active CN109508280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710828048.5A CN109508280B (en) 2017-09-14 2017-09-14 Method, device and terminal for monitoring UI blockage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710828048.5A CN109508280B (en) 2017-09-14 2017-09-14 Method, device and terminal for monitoring UI blockage

Publications (2)

Publication Number Publication Date
CN109508280A true CN109508280A (en) 2019-03-22
CN109508280B CN109508280B (en) 2022-08-02

Family

ID=65744689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710828048.5A Active CN109508280B (en) 2017-09-14 2017-09-14 Method, device and terminal for monitoring UI blockage

Country Status (1)

Country Link
CN (1) CN109508280B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375912A (en) * 2014-11-28 2015-02-25 广东欧珀移动通信有限公司 Method and device for measuring blockage of mobile terminal
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN106681913A (en) * 2016-12-08 2017-05-17 武汉斗鱼网络科技有限公司 Application not responding positioning system and method
CN106776253A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 A kind of interface interim card monitoring method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375912A (en) * 2014-11-28 2015-02-25 广东欧珀移动通信有限公司 Method and device for measuring blockage of mobile terminal
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN106681913A (en) * 2016-12-08 2017-05-17 武汉斗鱼网络科技有限公司 Application not responding positioning system and method
CN106776253A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 A kind of interface interim card monitoring method and device

Also Published As

Publication number Publication date
CN109508280B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN104965773B (en) Terminal, Caton detection method, device and game Caton detection method, device
US10261611B2 (en) System and method for objectively measuring user experience of touch screen based devices
US20100079463A1 (en) Method and apparatus for visualizing and interactively manipulating profile data
CN105578258B (en) A kind of method and device of video pre-filtering and video playback
US20130063452A1 (en) Capturing screen displays in video memory and detecting render artifacts
US20100063760A1 (en) Method of processing waveform data from one or more channels using a test and measurement instrument
CN110392232B (en) Real-time data monitoring platform
US9934122B2 (en) Extracting rich performance analysis from simple time measurements
CN104111970B (en) Count page mean residence time, the method and apparatus for determining Page user stickiness
US20160065425A1 (en) Visual representations of status
CN108073597A (en) The page clicks on behavior methods of exhibiting, device and system
CN104679307A (en) Method and device for detecting sliding sensitivity of touch screen
CN112199010A (en) Full storage depth measuring method, digital oscilloscope and storage medium
CN105634793A (en) Network information processing method and c
CN108810522B (en) Method and device for evaluating streaming media data
US20180336122A1 (en) Generating application flow entities
CN109508280A (en) Monitor the method, apparatus and terminal of UI Caton
CN109951727A (en) The method, apparatus and computer equipment of code rate needed for dynamic calculates transmission of video
CN106686371A (en) Frame rate testing method, device, equipment and system
JP6054532B2 (en) Data visualization method and system
Schulz et al. First results of correlated lightning video images and electric field measurements in Austria
CN109815260B (en) Waveform display device, waveform parameter statistical method, terminal device and storage medium
CN115426534A (en) Video stream quality detection method, device, equipment and storage medium
JP2014066707A (en) Methods and systems for displaying triggered waveform record segments
CN112364765A (en) Method and device for detecting human eye movement fixation point

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