CN109753423A - A kind of method and device for assessing Caton degree - Google Patents

A kind of method and device for assessing Caton degree Download PDF

Info

Publication number
CN109753423A
CN109753423A CN201910021670.4A CN201910021670A CN109753423A CN 109753423 A CN109753423 A CN 109753423A CN 201910021670 A CN201910021670 A CN 201910021670A CN 109753423 A CN109753423 A CN 109753423A
Authority
CN
China
Prior art keywords
caton
average
index
frame per
preset duration
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
CN201910021670.4A
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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN201910021670.4A priority Critical patent/CN109753423A/en
Publication of CN109753423A publication Critical patent/CN109753423A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method and devices for assessing Caton degree, the totalframes shown including obtaining terminal picture in preset duration;The number that the frame per second in the preset duration is more than preset frame rate is obtained, Caton number is obtained;Calculate the average frame per second peace Caton number in the preset duration, the average frame per second=totalframes/preset duration, the average Caton number=Caton number/preset duration;According to average frame per second, average Caton number, default weight A and default weight B, Caton index caton=average_fps*A+ (C/average_lag_rate) * B is calculated according to the following formula.By adopting the above-described technical solution, compared with prior art, the present invention is capable of the Caton degree of more synthetically assessment equipment by Caton number being added as reference parameter.

Description

A kind of method and device for assessing Caton degree
Technical field
The present invention relates to field of computer technology, and in particular to a kind of method and device for assessing Caton degree.
Background technique
The upgrading of the mobile terminals hardware device such as smart phone, tablet computer, which updates, to be getting faster, and performance is also more next Stronger, but new engine is after running for a period of time, with the increase of use time and the application program installed increases, by The problem of gradually will appear display picture Caton.System operation volume or hardware aging or frequency reducing cause app operation slower and slower;Machine After device uses several years, due to operating system update, the hardware requirement of system component and the operation of tripartite's component smoothnessization is increased, and is caused App operation is slower and slower;Under normal circumstances, slight Caton user still receives, and serious Caton is by extreme influence user's Usage experience.
Frame per second is the traditional means for measuring video playing fluency, and frame per second is display frame number per second, display each second Frame number it is more, instruction page is more smooth, on the contrary then more Caton, and in general, human body sensory Caton standard is between two frames show It is not higher than 1/24 second every the time.Accurate composite measurement and judgement are carried out to Caton phenomenon, be technical staff to mobile terminal into The premise of row optimization and upgrading, but the prior art only assesses the Caton degree of mobile terminal by frame per second, can not synthetically comment Estimate the Caton degree of equipment, therefore, need to develop a kind of assessment Caton degree that can be integrated and embody mobile terminal method and Equipment.
Summary of the invention
For solve existing measurement mobile terminal Caton in background technique method cannot synthetically assessment equipment Caton journey The problem of spending, the present invention provides a kind of method for assessing Caton degree, specific technical solution is as follows.
A method of assessment Caton degree, which comprises
S1, the totalframes that terminal picture in preset duration is shown is obtained;
S2, the number that the frame per second in the preset duration is more than preset frame rate is obtained, obtains Caton number;
S3, average frame per second peace Caton number in the preset duration, the average frame per second=totalframes/default are calculated Duration, the average Caton number=Caton number/preset duration;
The average frame per second of S4, basis, average Caton number, default weight A and default weight B, calculate according to the following formula Caton index caton=average_fps*A+ (10/average_lag_rate) * B;
Wherein caton is Caton index, and average_fps is average frame per second, and average_lag_rate is average Caton Number, A are default weight A, and B is default weight B, and C is corrected parameter.
Average frame per second be to the page overall performance this period a reference index, when Caton number is for some Between point one that user's intuitive Caton experience instantaneously count.The appraisal procedure list of existing Caton degree is set from frame per second to assess Standby Caton degree, not using Caton number as reference parameter, if there is the feelings of " frame per second is high but Caton number is also more " Condition, user can perceive Caton, but since existing assessment system assesses its Caton degree according only to the numerical values recited of frame per second, comment Caton will not be determined as such case by estimating system.Therefore, it by the way that Caton number is added as reference parameter, can more integrate The Caton degree of ground assessment equipment.
Preferably, the method also includes S5: the Caton index is compared with default Caton index;When Caton index When greater than default Caton index, it is determined as smoothness;When Caton index is less than or equal to preset value, it is determined as Caton.
Preferably, the step S4 further includes following steps:
It, will be on the average frame per second, average Caton number and Caton index when S41, current page are closed and network is normal Reach Cloud Server;When current page is closed and the terminal network fluctuates or network error, by the average frame per second, mean 0100 calorie Number and Caton index are temporarily stored into the terminal, when network is normal again will the average frame per second, be averaged Caton number Cloud Server is uploaded to Caton index;
S42, according to the average frame per second, average Caton number and the Caton index for being uploaded to Cloud Server, described in analysis Caton problem existing for terminal.
Traditional frame per second statistical, due to there was only one index of frame per second, for accurate and server load balancing, generally Using the how many seconds timing reporting schemes in interval, the load when online user number is huge simultaneously for client of this mode is very big.And By only just uploading data when current page is closed, reported data number and data volume greatly reduced, reduction is to reporting The load of server.After the Caton index is uploaded to Cloud Server, Cloud Server collects the current Caton journey of the mobile device Degree evidence, this data can be used for engineer analyze app Caton problem that may be present (such as whether same configuration 6.0.0 version ratio 5.0.0 version caton value is considerably higher, if it is illustrate to introduce in version iteration cause Caton because Element).Secondly it can also judge whether issue according to this data to distribute rationally, current device is allowed to configure using more low-resource, Optimize the experience of current app version operation on the mobile apparatus.
The present invention only needs three parameters: app opens a page total duration (preset duration), this page is default at this Totalframes adds up in (totalframes) and the preset duration lower than the accumulative (Caton time of the number of given threshold value frame per second in duration Number).Average Caton number and average frame per second two indices are calculated based on three above parameter, is blocked after simple computation Index is simultaneously reported to cloud server, and for the mobile end system of current mainstream, this scheme is simple and effective, and calculating process is not necessarily to Magnetic disc i/o carries out database I/O acquisition storage without complicated intermediate variable, reduces technical solution factor itself for referring to Mark influences, and small to the intrusion of the service code of app engineering, is advantageously integrated.
Since only there are three parameters for acquisition data-selected scheme, so single data volume is small, and with page life cycle (may have pause to interrupt and restore to interrupt situation among create- > destroy) is unit, reports, reduces without acquiring in real time Load to server is reported, and if support to give the correct time due to network fluctuation or currently without under net or network error cases, It can be temporarily stored in mobile terminal data library, select a good opportunity and reported again.
Preferably, the preset duration is duration of the terminal during the primary displaying of some page.
Preferably, the value range of the weight A is 0.3-0.7, and the value range of the weight B is 0.3-0.7.
The value range of the corrected parameter C is 5-15.
Preferably, the value range of the default Caton index is 1-300, and the value range of the preset frame rate is 1- 60fps。
It is highly preferred that the value range of the default Caton index is 10-300.
It is highly preferred that the value range of the preset frame rate is 20-60fps.
Based on the same inventive concept, the present invention also provides a kind of devices for assessing Caton degree, comprising:
First obtains module, the totalframes shown for obtaining terminal picture in preset duration;
Second obtains module, for obtaining the number that the frame per second in the preset duration is more than preset frame rate, obtains Caton Number;
First computing module, for obtaining the average frame per second in the preset duration, the average frame per second=totalframes/default Duration;
Second computing module, for calculating the average Caton number in the preset duration, the average Caton number =Caton number/preset duration;
Third computing module, for calculating Caton index caton=average_fps*A+ (10/ according to the following formula average_lag_rate)*B;Wherein caton represents Caton index, and average_fps represents average frame per second, average_ Lag_rate represents average Caton number, and A represents default weight A, and B represents default weight.
The totalframes that the first acquisition module will acquire is sent to the first computing module, the first computing module meter The average frame per second in the preset duration is calculated, and the average frame per second is sent to third computing module;Described second obtains mould The Caton number that block will acquire is sent to the second computing module, and second computing module calculates flat in the preset duration Equal Caton number, and the average Caton number is sent to third computing module;The third computing module is according to receiving Average frame per second, average Caton number and preset weight accordingly, calculate Caton index according to the formula.
Average frame per second be to the page overall performance this period a reference index, when Caton number is for some Between point one that user's intuitive Caton experience instantaneously count.The appraisal procedure list of existing Caton degree is set from frame per second to assess Standby Caton degree, not using Caton number as reference parameter, if there is the feelings of " frame per second is high but Caton number is also more " Condition, user can perceive Caton, but since existing assessment system assesses its Caton degree according only to the numerical values recited of frame per second, comment Caton will not be determined as such case by estimating system.Therefore, it by the way that Caton number is added as reference parameter, can more integrate The Caton degree of ground assessment equipment.
It preferably, further include multilevel iudge module, the multilevel iudge module is connect with the third computing module, is used for The Caton index is compared with default Caton index: when the Caton index is greater than default Caton index, being judged to flowing Freely;When the Caton index is less than or equal to the default Caton index, it is determined as Caton.
Due to using above technical scheme, compared with prior art, the present invention is by being added Caton number as ginseng Parameter is examined, the Caton degree of more synthetically assessment equipment is capable of, only there are three ginsengs secondly as the present invention acquires data-selected scheme Number, and calculation formula is simple, it is not only small to the service code intrusion of app engineering, it is advantageously integrated, and without in acquisition in real time Report reduces the load to server is reported.
Detailed description of the invention
Fig. 1 is flow chart of the invention.
Specific embodiment
Present invention is further described in detail with reference to the accompanying drawing.
Referring to Fig. 1, a method of assessment Caton degree, which comprises
S1, the totalframes that terminal picture in preset duration is shown is obtained;
S2, the number that the frame per second in the preset duration is more than preset frame rate is obtained, obtains Caton number;The default frame The value of rate is 40fps;
S3, average frame per second peace Caton number in the preset duration, the average frame per second=totalframes/default are calculated Duration, the average Caton number=Caton number/preset duration;
The average frame per second of S4, basis, average Caton number, default weight A and default weight B, calculate according to the following formula Caton index caton=average_fps*0.5+ (10/average_lag_rate) * 0.5;
Wherein caton represents Caton index, and average_fps represents average frame per second, and average_lag_rate represents flat Equal Caton number, the value for presetting weight A and default weight B is 0.5, and the value of corrected parameter C is 10;In user's current page When face is closed, if network is normal, the average frame per second, average Caton number and Caton index are uploaded to Cloud Server;If When network fluctuation or currently without net or when network error, the average frame per second, average Caton number and Caton index are temporarily stored into The average frame per second, average Caton number and Caton index until when network is normal, then are uploaded to cloud service by the terminal Device can further analyze the existing card of the terminal according to the average frame per second, average Caton number and Caton index beyond the clouds Problem.
S5, the Caton index is compared with default Caton index;When Caton index is greater than default Caton index, sentence It is set to smoothness;When Caton index is less than or equal to preset value, it is determined as Caton;The value of the default Caton index is 40.
Through the above technical solutions, the present invention only weighs according to average frame per second in app page Caton situation than traditional It is more accurate to measure Caton situation, because average frame per second height is not meant to that the page not Caton, such as a page are shown 5 minutes, If it is that preceding 5 seconds frame per second are low, rear 4 points of 55 seconds frame per second height, its average frame per second also can be very high in this way;And introduce Caton number It is an assessment to temporal frame rate situation this period, so that comparing existing other technologies scheme has higher accurate statistics effect Fruit.There are also the advantages in terms of other two: being that implementation is simple and effective first, existing project operation code is invaded small; Need reported data amount small after followed by acquiring, the real-time reported for the Caton situation data of acquisition is also of less demanding, protects It demonstrate,proves and mitigates server-side load in the accurate situation of data.
page_name fps_total lag_total count record_count average_fps average_lag_rate
A 153,066 1,232 2,806 523 54.55 0.44
B 156,765 53 2,655 510 59.05 0.02
C 4,442,670 35,368 91,919 27,511 48.33 0.38
D 294,770 774 5,673 3,130 51.96 0.14
Table 1
Table 1 illustrates Caton situation of certain terminal during four page presentations.Average_lag_rate as shown in table 1 For the Caton situation of the current page_name page, wherein A page Caton number lag_total=1232, shows number in total Count=2806, so average_lag_rate=0.44 illustrates the average each presentation card of the page 0.44 time.
average_fps average_lag_rate caton
54.55 0.44 38.64
59.05 0.02 279.53
48.33 0.38 37.32
51.96 0.14 61.69
average 104.30
Table 2
average_fps average_lag_rate caton
51.55 1.44 29.25
52.05 1.02 30.93
40.33 1.38 23.79
45.96 1.14 27.37
average 27.83
Table 3
Table 2 and table 3 respectively show Caton situation of two different APP during four page presentations, pass through formula Caton=average_fps*0.5+ (10/average_lag_rate) * 0.5 calculates Caton degree caton, and numerical value is bigger Illustrate that current page is more smooth, the smaller explanation of numerical value is more blocked, and the mean value of average then represents the general performance of entire app, finally Data limit, and the smooth degree of APP corresponding to table 2 is substantially better than table 3, are consistent substantially with user's real experiences.But if adopting With existing Caton degree assessment method (assessing Caton degree only with average frame per second), two APP from table 2 and table 3 Average frame per second difference and it is little, can not accurately evaluate their Caton degree.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (9)

1. a kind of method for assessing Caton degree, which is characterized in that the described method includes:
S1, the totalframes that terminal picture in preset duration is shown is obtained;
S2, the number that the frame per second in the preset duration is more than preset frame rate is obtained, obtains Caton number;
S3, average frame per second peace Caton number in the preset duration is calculated, when the average frame per second=totalframes/default It is long, the average Caton number=Caton number/preset duration;
The average frame per second of S4, basis, average Caton number, default weight A and default weight B, calculate Caton according to the following formula Index caton=average_fps*A+ (C/average_lag_rate) * B;
Wherein caton is Caton index, and average_fps is average frame per second, and average_lag_rate is average Caton number, A is default weight A, and B is default weight B, and C is corrected parameter.
2. the method for assessment Caton degree according to claim 1, which is characterized in that the method also includes S5: by institute Caton index is stated compared with default Caton index;When Caton index is greater than default Caton index, it is determined as smoothness;Work as Caton When index is less than or equal to preset value, it is determined as Caton.
3. the method for assessment Caton degree according to claim 2, which is characterized in that the step S4 further includes walking as follows It is rapid:
When S41, current page are closed and network is normal, the average frame per second, average Caton number and Caton index are uploaded to Cloud Server;When current page is closed and the terminal network fluctuates or network error, by the average frame per second, average Caton time Several and Caton index is temporarily stored into the terminal, again by the average frame per second, average Caton number and card when network is normal The index that pauses is uploaded to Cloud Server;
S42, basis are uploaded to the average frame per second, average Caton number and the Caton index of Cloud Server, analyze the terminal Existing Caton problem.
4. the method for assessment Caton degree described in -3 any one according to claim 1, it is characterised in that: the preset duration For duration of the terminal during the primary displaying of some page.
5. the method for assessment Caton degree described in -3 any one according to claim 1, it is characterised in that: the weight A's Value range is 0.3-0.7, and the value range of the weight B is 0.3-0.7.
6. the method for assessment Caton degree described in -3 any one according to claim 1, it is characterised in that: the corrected parameter The value range of C is 5-15.
7. the method for assessment Caton degree described in -3 any one according to claim 1, it is characterised in that: the default Caton The value range of index is 1-300, and the value range of the preset frame rate is 1-60fps.
8. a kind of device for assessing Caton degree characterized by comprising
First obtains module, the totalframes shown for obtaining terminal picture in preset duration;
Second obtains module, for obtaining the number that the frame per second in the preset duration is more than preset frame rate, obtains Caton number;
First computing module, for obtaining the average frame per second in the preset duration, when the average frame per second=totalframes/default It is long;
Second computing module, for calculating the average Caton number in the preset duration, the average Caton number=card Number/preset duration;
Third computing module, for calculating Caton index caton=average_fps*A+ (10/ according to the following formula average_lag_rate)*B;Wherein caton represents Caton index, and average_fps represents average frame per second, average_ Lag_rate represents average Caton number, and A represents default weight A, and B represents default weight.
The totalframes that the first acquisition module will acquire is sent to the first computing module, and first computing module calculates Average frame per second in the preset duration, and the average frame per second is sent to third computing module;Described second obtains module will The Caton number got is sent to the second computing module, and second computing module calculates the mean 0100 calorie in the preset duration Pause number, and the average Caton number is sent to third computing module;The third computing module is flat according to what is received Equal frame per second, averagely Caton number and accordingly default weight, calculate Caton index according to the formula.
9. the device of assessment Caton degree according to claim 8, it is characterised in that: further include multilevel iudge module, institute Multilevel iudge module is stated to connect with the third computing module, for the Caton index to be compared with default Caton index: When the Caton index is greater than default Caton index, it is determined as smoothness;When the Caton index is less than or equal to described preset When Caton index, it is determined as Caton.
CN201910021670.4A 2019-01-10 2019-01-10 A kind of method and device for assessing Caton degree Pending CN109753423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910021670.4A CN109753423A (en) 2019-01-10 2019-01-10 A kind of method and device for assessing Caton degree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910021670.4A CN109753423A (en) 2019-01-10 2019-01-10 A kind of method and device for assessing Caton degree

Publications (1)

Publication Number Publication Date
CN109753423A true CN109753423A (en) 2019-05-14

Family

ID=66405345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910021670.4A Pending CN109753423A (en) 2019-01-10 2019-01-10 A kind of method and device for assessing Caton degree

Country Status (1)

Country Link
CN (1) CN109753423A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277894A (en) * 2020-03-02 2020-06-12 四川长虹电器股份有限公司 Method for automatically detecting fluency of video playing picture
CN113067752A (en) * 2021-03-31 2021-07-02 广州酷狗计算机科技有限公司 Method, device, terminal and storage medium for acquiring webpage morton data
CN117950927A (en) * 2024-01-26 2024-04-30 镁佳(北京)科技有限公司 Fluency determination method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965773A (en) * 2015-07-09 2015-10-07 网易(杭州)网络有限公司 Terminal, jamming detection method, device as well as game jamming detection method and device
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN107196794A (en) * 2017-05-18 2017-09-22 腾讯科技(深圳)有限公司 A kind of abnormal analysis method of interim card and device
CN108073485A (en) * 2017-12-22 2018-05-25 珠海市君天电子科技有限公司 Terminal screen fluency test method, device and equipment
CN108647126A (en) * 2018-04-27 2018-10-12 上海交通大学 A kind of monitoring of mobile applications interim card degree and quantitative estimation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965773A (en) * 2015-07-09 2015-10-07 网易(杭州)网络有限公司 Terminal, jamming detection method, device as well as game jamming detection method and device
CN106095363A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 Ameliorative way, device and the terminal that a kind of terminal card pauses
CN107196794A (en) * 2017-05-18 2017-09-22 腾讯科技(深圳)有限公司 A kind of abnormal analysis method of interim card and device
CN108073485A (en) * 2017-12-22 2018-05-25 珠海市君天电子科技有限公司 Terminal screen fluency test method, device and equipment
CN108647126A (en) * 2018-04-27 2018-10-12 上海交通大学 A kind of monitoring of mobile applications interim card degree and quantitative estimation method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277894A (en) * 2020-03-02 2020-06-12 四川长虹电器股份有限公司 Method for automatically detecting fluency of video playing picture
CN111277894B (en) * 2020-03-02 2021-08-27 四川长虹电器股份有限公司 Method for automatically detecting fluency of video playing picture
CN113067752A (en) * 2021-03-31 2021-07-02 广州酷狗计算机科技有限公司 Method, device, terminal and storage medium for acquiring webpage morton data
CN117950927A (en) * 2024-01-26 2024-04-30 镁佳(北京)科技有限公司 Fluency determination method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
Briegel et al. One-atom maser: Statistics of detector clicks
US11669420B2 (en) Monitoring performance of computing systems
CN109753423A (en) A kind of method and device for assessing Caton degree
US11829287B2 (en) Customizing computer performance tests
US6973415B1 (en) System and method for monitoring and modeling system performance
CN106886481B (en) Static analysis and prediction method and device for system health degree
CN109710448A (en) A kind of method and device improving mobile terminal Caton
US20170070415A1 (en) System Event Analyzer and Outlier Visualization
CN110601900B (en) Network fault early warning method and device
CN107992410B (en) Software quality monitoring method and device, computer equipment and storage medium
CN110471821B (en) Abnormality change detection method, server, and computer-readable storage medium
US11223668B2 (en) Anomaly detection of media event sequences
US20190394283A1 (en) Techniques for automatically interpreting metric values to evaluate the health of a computer-based service
US7197428B1 (en) Method for performance monitoring and modeling
CN111314173A (en) Monitoring information abnormity positioning method and device, computer equipment and storage medium
CN112650608B (en) Abnormal root cause positioning method, related device and equipment
US20160220147A1 (en) Determining respiratory gas exchange in a subject
US11381635B2 (en) Method of operating a server apparatus for delivering website content, server apparatus and device in communication with server apparatus
CN105844107A (en) Data processing method and device
CN108900339B (en) Method and device for measuring service quality and electronic equipment
CN107480703B (en) Transaction fault detection method and device
CN113626734A (en) User behavior guiding method and device, electronic equipment and storage medium
CN111949502A (en) Database early warning method and device, computing equipment and medium
US20180315227A1 (en) Display apparatus, display method, and program
CN109462510A (en) A kind of method and device of CDN node quality evaluation

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190514