CN104965773A - Terminal, jamming detection method, device as well as game jamming detection method and device - Google Patents

Terminal, jamming detection method, device as well as game jamming detection method and device Download PDF

Info

Publication number
CN104965773A
CN104965773A CN201510405885.8A CN201510405885A CN104965773A CN 104965773 A CN104965773 A CN 104965773A CN 201510405885 A CN201510405885 A CN 201510405885A CN 104965773 A CN104965773 A CN 104965773A
Authority
CN
China
Prior art keywords
card
time
pause
delay
sequence
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
CN201510405885.8A
Other languages
Chinese (zh)
Other versions
CN104965773B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510405885.8A priority Critical patent/CN104965773B/en
Publication of CN104965773A publication Critical patent/CN104965773A/en
Application granted granted Critical
Publication of CN104965773B publication Critical patent/CN104965773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a jamming detection method. The jamming detection method comprises: when RGB values, obtained in real time, of a plurality of pixel points on a terminal screen change, recording current time stamps to obtain a time stamp sequence; converting the time stamp sequence into a jamming delay sequence, wherein each jamming delay datum in the jamming delay sequence is a difference value between adjacent two time stamps in the time stamp sequence; and calculating, based on the jamming delay sequence, to obtain jamming information, wherein the jamming information comprises one or more of the following: variance of the jamming delay sequence, quantity of jamming delay data, greater than an average value of the jamming delay sequence by a preset threshold value, in the jamming delay sequence, and a difference value between a minimum value with a delay duty function greater than or equal to 95% and the average value of the jamming delay sequence, wherein the delay duty function is a proportion of data, smaller than or equal to the minimum value, in the jamming delay sequence. The invention further correspondingly provides a jamming detection device, a terminal as well as a game jamming detection method and a device.

Description

Terminal, card detection method, device and a game card are paused detection method, device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of user terminal, card detection method, device and a game card pause detection method, device.
Background technology
The history of mobile phone games is almost synchronous with mobile phone, early stage mobile phone due to framework simple, configuration is low, so functionally also do not enrich, corresponding mobile phone games are also generally confined to play with words, simple developmental game (such as Tetris, Snake, pushes box).There is not the concept that card pauses in this kind of game.
In Java language, the J2ME of mobile branch occurs, create a collection of early stage smart mobile phone (such as Nokia Saipan etc.), mobile phone games start to be enriched a little, have occurred the game such as a large amount of Simulating management, racing car.Mobile phone games start the concept having had card to pause, all can be the same with end trip on general game downloading web pages, can identify the minimum mobile phone configuration playing this game.In this stage, owing to being subject to the constraint of mobile phone hardware manufacturing capacity, the research that card pauses is very deep, the standard only just defined by cpu frequency and mobile phone EMS memory size, mobile phone lower than this standard goes to play this game, just there will be card, cannot avoid.
Real mobile phone games emerge in multitude still at iOS (Mobile operating system of Apple's exploitation) and Android (Android system, a cell phone system that Google releases) appearance of cell phone system, mobile phone games type is more and more abundanter, index in handset capability also gets more and more, comprise CPU, EMS memory occupation, flow electric quantity consumption, game FPS (Frames Per Second, transmission frame number per second) etc., game card pauses also as an importance of mobile phone games performance index.
At present, the following two schemes of main employing judges that the card of mobile phone games pauses:
Scheme one: hardware based video analysis scheme.
The program is a kind of by game content recording is output into video and the method analyzed video.Specifically comprise step:
In A, the process of playing games, use video frequency collection card to gather mobile phone screen (frequency acquisition 30 times/second) and also save as video file;
B, video file are actually high-frequency successive image frame and are spliced into video file, utilize program code to be extracted by each two field picture in video, preserve into the picture of a series of free order;
Similarity between C, analysis continuous print two pictures, can obtain a similarity sequence curve;
D, a simple mathematical modeling is carried out to this similarity, finally show that game card pauses result and report.
The mathematical model of the program is briefly described as follows:
For similarity sequence, if the double similarity of setting is greater than 99.99%, then being can be regarded as is a card pause point, and once in test, card pause point quantity determines that game card pauses degree.
The card of hardware based video analysis pauses research approach, and the defect of existence clearly, comprising:
1, need extra cost of equipment, and a card test process is more loaded down with trivial details;
2, a card test effect depends on hardware (video frequency collection card) performance, and the game that the picking rate that video frequency collection card is 30 times/second is greater than 30 frames for frame per second exists certain error; Image analysis algorithm also can be larger by picture audio in addition.
Scheme two: the card based on the numerical value of FPS pauses judgement.
Whether this scheme utilizes FPS numerical value to judge to play to block exactly times.FPS refers to the number of times of game in picture refreshing in each in second, and this point is similar to show a film the same, and under normal circumstances, FPS >=30, human eye just cannot perceive card and pause, if when FPS<30, the possible card that just can perceive game pauses.On this basis, in the process of playing hand trip, the FPS numerical value of different time points can be recorded simultaneously, be then depicted as time/FPS curve, the card that can obtain the trip of this hand pauses distribution curve.
In addition, on above-mentioned basis, then modeling analysis is carried out to FPS and the relation of time, then to pause situation from the card numerically analyzing game.Model brief description is as follows:
A. frame per second distribution is upper analyzes: compose a weight, as following table 1 to different frame per second scope accountings respectively:
Inspection item Weight Result
[30, ~) frame per second accounting >=90% 3
[40, ~) frame per second accounting >=60% 2
[40, ~) frame per second accounting >=75% 2
[45, ~) frame per second accounting >=75% 2
[45, ~) frame per second accounting >=90% 1
[50, ~) frame per second accounting >=85% 1
(table 1)
B. frame per second fluctuation is upper analyzes: compose a weight to different frame per second Continuous Play respectively, concrete scheme is as following table 2:
Frame per second from [30, ~) reduce continuously [20, ~) frequency be (~, 10] beat/min 2
Frame per second from [30, ~) reduce continuously [20, ~) frequency be (~, 3] beat/min 1
Frame per second from [30, ~) reduce continuously [and 15,20) frequency be (~, 15] beat/min 2
Frame per second from [30, ~) reduce continuously [and 15,20) frequency be (~, 10] beat/min 2
Frame per second from [30, ~) reduce continuously [and 15,20) frequency be (~, 3] beat/min 1
(table 2)
Finally, according to A, B two model criteria weights, card score value and a grading can be obtained respectively, then get minimum grading, be the grading of this game.Concrete marking mode is as follows:
For the form clause x in above-mentioned A, B two, weight is respectively a, and what pass through is 1, not by for 0, to ignore be that 1, two kinds of analysis mode scores are respectively Ya, Yb, final score is Z, and formula is as follows:
Y=(x1*a1+x2*a2+…+xn*an)/(a1+a2+…+an)
Z=min(Ya,Yb)
By final score Z, the rating scale with reference to definition can show that game card pauses and be rated S, A, B, C.Standard sees the following form 3:
Rank Describe Score
S Very smooth 0.9+
A Substantially smooth 0.7~0.9
B Some card 0.4~0.7
C Serious card pauses 0.4-
(table 3)
Compare hardware based video analysis scheme one, adopt the decision scheme of pausing of the card of numerical value of FPS to reduce costs.In addition, use FPS numerical value to have certain science as a card decision procedure of pausing, and be that whether the card that can determine game pauses from the perception of human eye for picture really.But can not the card of real fine-grained reaction game to pause problem, a game FPS can be stabilized in 50 ~ 60 frames, even if like this, player also may be allowed to experience Ka Dun and not well sensation.
The card of FPS pauses research can only the going research and judge card of coarseness, this is because FPS account form causes.The calculating of FPS is not real-time, but sampled point interior between regulation, the FPS of calculating is actually the mean value before two ability 2.Detailed process following (supposing that sampled point was 1 second):
Sampled point 1: system always refreshes frame number f1
Sampled point 2: system always refreshes frame number f2
So the frame per second of sampled point 2 is: (f2-f1)/1 (frame number/second)
It is formal because FPS is a mean value concept, in what it numerically represented is in this second real time frame rate level and smooth after value, it has very large relation at not numerical value in the same time and sampling time interval, and interval is larger, FPS time curve is more level and smooth, and more difficult foundation FPS detects card release and pauses.In theory, if the FPS sampling time is reduced to minimum, real FPS value can be obtained, but uncertain due to time of system refresh picture, so sampling time minimum FPS numerical value is without any meaning.
Based on above explanation, study card only when the sampling time is suitable based on FPS numerical value, just have certain card to pause Research Significance, the research and analysis and the card that can only do the sampling time (such as 1 second) such coarseness pauses.This is that FPS is for card the limitation analyzed and shortcoming place.
In addition, Mathematical Models process and the dissimilar game relation of the program are very big, different game needs a set of different model parameter, and the determination of this parameter carrys out experimental check by a large amount of standard game, there is very large subjective factor in the determination of parameter values, the card going inspection one to play not sending out objective science completely pauses.
To sum up, the card based on the numerical value of FPS pause the defect that judges have two: one be FPS data due to its concept reason, be used for doing a card careful not and accurate problem of research existence itself; Two is that Selecting parameter in FPS mathematical model is very subjective, can not the card of reflection game of objective science to pause situation.
Summary of the invention
The embodiment of the present invention proposes a kind of user terminal, card detection method, device and a game card pause detection method, device, and cost is low, can the image data of real-time high-efficiency, and accurately and objectively calculates card release based on the data gathered and to pause result.
The embodiment of the present invention provides an a kind of card detection method, comprising:
When on the terminal screen of Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
Described timestamp sequence is converted to card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
Calculate obtain card information based on the described card time-delayed sequence that pauses, the described card information of pausing comprises following one or more: described card pause the variance of time-delayed sequence, described card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
As the improvement of such scheme, carried out the rgb value of some pixels on Real-time Obtaining terminal screen by the framebuffer device file monitoring Linux.
As the improvement of such scheme, carried out the rgb value of some pixels on Real-time Obtaining terminal screen by following steps:
Read frame buffer zone device file;
By map operation, described frame buffer zone device file is mapped in internal memory;
The changes in coordinates of the some screen pixels points monitored as required, to the side-play amount in internal memory, reads out the rgb value of corresponding coordinate point at a certain time interval.
As the improvement of such scheme, also comprise:
The rgb value of the corresponding coordinate point that the rgb value of the corresponding coordinate point read by current time and a upper moment read contrasts, when the rgb value of any one coordinate points changes, then think Real-time Obtaining terminal screen on the rgb value of some pixels change.
As the improvement of such scheme, the described time interval is 2 milliseconds.
As the improvement of such scheme, after described timestamp sequence being converted to a card time-delayed sequence, also comprise:
Delete the pause card that is greater than preset value in time-delayed sequence of described card to pause delay data, obtain noise reject after card to pause time-delayed sequence;
Describedly calculate and obtain card information based on the described card time-delayed sequence that pauses and be specially the time-delayed sequence that pauses of the card after rejecting based on described noise and calculate and obtain a card information.
As the improvement of such scheme, described preset value is 400ms ~ 600ms.
As the improvement of such scheme, described predetermined threshold value is 20ms.
As the improvement of such scheme, also comprise:
The described card information of pausing is carried out storing or showing.
Embodiment of the present invention correspondence provides an a kind of card pick-up unit, comprising:
Data acquisition module, when on the terminal screen when Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
Data processing module, for described timestamp sequence being converted to card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
Data analysis module, calculate obtain card information based on the described card time-delayed sequence that pauses, the described card information of pausing comprises following one or more: described card pause the variance of time-delayed sequence, described card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
As the improvement of such scheme, described data acquisition module carrys out the rgb value of some pixels on Real-time Obtaining terminal screen by the framebuffer device file monitoring Linux.
As the improvement of such scheme, described data acquisition module comprises rgb value collecting unit, and described rgb value collecting unit carrys out the rgb value of some pixels on Real-time Obtaining terminal screen by following steps:
Read frame buffer zone device file;
By map operation, described frame buffer zone device file is mapped in internal memory;
The changes in coordinates of the some screen pixels points monitored as required, to the side-play amount in internal memory, reads out the rgb value of corresponding coordinate point at a certain time interval.
As the improvement of such scheme, described data acquisition module also comprises:
Rgb value judging unit, the rgb value of the corresponding coordinate point read for the rgb value of corresponding coordinate point that read described rgb value collecting unit current time and a upper moment contrasts, when the rgb value of any one coordinate points changes, then on the terminal screen judging Real-time Obtaining, the rgb value of some pixels changes; And
Timestamp record cell, for when on the terminal screen that rgb value judging unit judges Real-time Obtaining, the rgb value of some pixels changes, record current time stamp.
As the improvement of such scheme, the described time interval is 2 milliseconds.
As the improvement of such scheme, also comprise:
Noise rejects module, to pause delay data for deleting the pause card that is greater than preset value in time-delayed sequence of described card, obtain noise reject after card to pause time-delayed sequence;
Described data analysis module reject based on described noise after the card time-delayed sequence that pauses calculate and obtain a card information.
As the improvement of such scheme, described preset value is 400ms ~ 600ms.
As the improvement of such scheme, described predetermined threshold value is 20ms.
As the improvement of such scheme, also comprise:
Memory module, to pause information for storing described card; Or
Display module, to pause information for showing described card.
The embodiment of the present invention additionally provides a kind of user terminal, comprises a card pick-up unit as above.
Embodiments provide a kind of game card to pause detection method, comprising:
Data collection steps: the timestamp that the pixel data obtaining some control points of game picture changes;
Data processing step: obtain multiple card based on the multiple timestamps in same test period and to pause delay time, a card delay time described in each is the time interval between two adjacent described timestamps;
Data analysis step: calculate obtain card data based on the delay time that pauses of the multiple cards in same test period, comprise following one or more: described multiple card pause the variance of delay time, described multiple card pause in delay time than described multiple card pause card that the mean value of delay time is greater than predetermined threshold value pause delay time quantity, meet time delay accounting function be more than or equal to 95% minimum value and described multiple card to pause the difference of mean value of delay time, described time delay accounting function is that described multiple card pauses and is less than or equal to the ratio data of described minimum value in delay time.
As the improvement of such scheme, described data collection steps specifically comprises:
The rgb value of some control points of Real-time Obtaining game picture is carried out by the framebuffer device file monitoring Linux;
Judge that the rgb value of any point in some control points that current time reads is compared the rgb value of corresponding control point that a moment reads and whether changed;
If so, the timestamp of current time is then recorded.
Embodiments provide a kind of game card to pause pick-up unit, comprising:
Data acquisition module, the timestamp that the pixel data for the some control points obtaining game picture changes;
Data processing module, obtains multiple card based on the multiple timestamps in same test period and to pause delay time, and a card delay time described in each is the time interval between two adjacent described timestamps;
Data analysis module, calculate obtain card data based on the delay time that pauses of the multiple cards in same test period, comprise following one or more: described multiple card pause the variance of delay time, described multiple card pause in delay time than described multiple card pause card that the mean value of delay time is greater than predetermined threshold value pause delay time quantity, meet time delay accounting function be more than or equal to 95% minimum value and described multiple card to pause the difference of mean value of delay time, described time delay accounting function is that described multiple card pauses and is less than or equal to the ratio data of described minimum value in delay time.
As the improvement of such scheme, described data acquisition module specifically comprises:
Monitoring means, carrys out the rgb value of some control points of Real-time Obtaining game picture for the framebuffer device file by monitoring Linux;
Judging unit, for judging that the rgb value of any point in some control points that current time reads was compared the rgb value of corresponding control point that a upper moment reads and whether changed;
Record cell, for when judging unit is judged as YES, the timestamp of record current time.
Implement the embodiment of the present invention, there is following beneficial effect: the time changed by the rgb value of pixels some on real-time monitoring screen, efficiently (Millisecond) time stamp data of pixel change can be gathered, thus improve sample frequency; Within a test period, carry out process based on the sampled data of such real-time high-efficiency calculate to obtain a card result, make a card result more careful and accurate.In addition, pause card that detection method is applicable to any type game of card of the present invention pauses detection, without the need to the parameter according to dissimilar game subjectivity setting various criterion, and the situation thus the card that objectively can detect game pauses, and there is not hardware cost, convenient test.
Accompanying drawing explanation
Fig. 1 is that card that first embodiment of the invention provides pauses the schematic flow sheet of detection method.
Fig. 2 is that card that first embodiment of the invention provides pauses the idiographic flow schematic diagram of detection method.
Fig. 3 utilizes the card provided by the invention card after detection method process that pauses to pause delay data sequence diagram.
Fig. 4 is that utilize card provided by the invention to pause card that detection method calculates pauses the time delay accounting curve synoptic diagram of delay data sequence.
Fig. 5 is that card that second embodiment of the invention provides pauses the schematic flow sheet of detection method.
Fig. 6 is that card that third embodiment of the invention provides pauses the structured flowchart of pick-up unit.
Fig. 7 is that card that third embodiment of the invention provides pauses the structured flowchart of data acquisition module of pick-up unit.
Fig. 8 is that card that fourth embodiment of the invention provides pauses the structured flowchart of pick-up unit.
Fig. 9 is that game card that fifth embodiment of the invention provides pauses the schematic flow sheet of detection method.
Figure 10 is that game card that fifth embodiment of the invention provides pauses the idiographic flow schematic diagram of detection method.
Figure 11 is that game card that sixth embodiment of the invention provides pauses the structured flowchart of pick-up unit.
Figure 12 is that game card that sixth embodiment of the invention provides pauses the structured flowchart of data acquisition module of pick-up unit.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is that card that first embodiment of the invention provides pauses the schematic flow sheet of detection method.Specifically comprise the steps:
S101, when on the terminal screen of Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
In embodiments of the present invention, described terminal can be smart mobile phone (as the mobile phone of Android system, the i Phone of IOS system or the mobile phone of WP system) or panel computer etc.Described terminal can be used for running various application program, as game or various application etc.
When adopting described terminal operating application program, the situation of change coming on monitoring screen by selecting N number of (such as, N can equal 4) control point on a terminal screen.In the present embodiment, frame buffering (FrameBuffer) device file by monitoring Linux carrys out the rgb value of this N number of control point on Real-time Obtaining terminal screen.
Below in conjunction with Fig. 2, how detailed description is by the change on the next real-time monitoring screen of the framebuffer device file of monitoring Linux.As shown in Figure 2, step S101 comprises further:
S1011, reading frame buffer zone device file;
Generally, user terminal image information is shown on screen often by FrameBuffer.The device file that frame buffer zone equipment is corresponding is /dev/graphics/fb0, and file reading/dev/graphics/fb0 is equivalent to reading screen buffer zone.Such as can, by the copy content of current screen in a file, cp tmp>/dev/graphics/fb0 be ordered then to be presented on screen by graphic file tmp with cp/dev/graphics/fb0tmp order.
S1012, by map operation, described frame buffer zone device file is mapped in internal memory;
Because Linux is operated in protected mode, each application program has oneself virtual address space, directly can not access physical address buffer in the application.For this reason, Linux provides mmap function in file operation file_operations structure, can by the content map of file to user's space.For framebuffer device, then by map operation, can by the physical address map of screen buffer in one section of virtual address of user's space, user just by read-write this section of virtual address access screen buffer zone, screen can have been drawn afterwards.In fact, the application program of framebuffer device is used all to carry out display graphics by map operation.
S1013, the changes in coordinates of some screen pixels points monitored as required, to the side-play amount in internal memory, read out the rgb value of corresponding coordinate point at a certain time interval;
After by mmap to memory-mapped, then the changes in coordinates passing through the screen pixels point monitored as required, to the side-play amount in internal memory, just can take out the on-screen data of corresponding coordinate point from internal memory, and here, we only need the rgb value reading corresponding coordinate point.In the present embodiment, the described time interval is 2 milliseconds.
The rgb value of the corresponding coordinate point that S1014, the rgb value of corresponding coordinate point read by current time and a upper moment read contrasts, when the rgb value of any one coordinate points changes, record current time stamp, thus obtain the timestamp sequence of a test period.
Wherein, what each timestamp in described timestamp sequence identified is in test process, the time that screen changes at every turn.
Visible, the present embodiment realizes monitoring screen change by the FrameBuffer device file monitoring Linux, can in millisecond rank (such as, the screen change of reading control point 2ms), compare level operation second carrying out mobile phone screen sectional drawing, performance improves very large, and the research that card pauses is only just more convincing when time granularity is smaller.
S102, described timestamp sequence converted to a card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
In this step, need the raw data to step S101 collects to process, specifically timestamp sequence transformation is become a card time-delayed sequence, concrete processing mode is as follows:
Suppose that timestamp sequence T sequence is: T=[t0, t1, t2 ... .t (n-1), tn], so a card time-delayed sequence D is: D=[t1-t0, t2-t1 ... tn-t (n-1)].
Can find out, a card time-delayed sequence D is the spacing of adjacent time stamp time in timestamp sequence T.Be understood that, what block each data representation in a time-delayed sequence D is the time interval that screen-picture remains unchanged, and is a card delay time.Wherein, Fig. 3 shows a card time-delayed sequence.
S103, the time-delayed sequence that to pause based on described card calculate and obtain a card information, the described card information of pausing comprises following one or more: described card pause the variance of time-delayed sequence, described card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
After the data processing of step S102, obtaining card time-delayed sequence, by carrying out mathematical modeling to it, to pause situation to calculate card release.In the present embodiment, carry out analyzing card to pause situation mainly through calculating following three indexs:
Index 1: delay time variance
From Fig. 3 curve, significantly can see a stable horizontal line, this root line is the average line of a card time delay.Card in calculation procedure 2 the pause mean value average of delay data, the average of all cards in time-delayed sequence D that pause is that screen card pauses averaging time of time delay at numerical response, and this averaging time, as card averaging time, is a basic data of a card analysis.
The variance of a card time-delayed sequence D can reflect the fluctuation situation of data in this sequence.The pause fluctuation situation of delay time of screen card can be paused severe degree from reflecting on the one hand the card of application program (such as, playing); If the screen change of a game is for a moment fast for a moment slow, can be easy to present the sensation that card release pauses to player, otherwise if the change of game screen is all stabilized in average value ranges, so game will give the very smooth sensation smoothly of player.The pause variance variance of time-delayed sequence D of computer card can reflect that the card of game pauses situation, and variance is larger, illustrates that game time delay fluctuation is larger, and the card Shaoxing opera that pauses is strong.
The computing formula of variance is as follows:
Suppose the mean value M:M=(x1+x2+x3+ of a card time-delayed sequence D ... + xn) (n represents this group data amount check to/n, x1, x2, x3 ... xn represents the concrete numerical value of these group data)
So variance S:S 2=< (M-x1) 2+ (M-x2) 2+ (M-x3) 2+ ... + (M-xn) 2> ╱ n
Index 2: doubtful card pause point quantity
Card pause point is an index for judging a card situation, and in fact this point is readily appreciated that, such as, the point that in game, delay time is long is many, illustrates that the number of times that game card pauses is more, plays more not smooth certainly to the sensation of people exactly.In this programme, the preset rules of doubtful card pause point is:
Described card pauses in time-delayed sequence D and is greater than the point of more than predetermined threshold value as doubtful card pause point than described card the pause mean value average of delay data of all cards in time-delayed sequence D that pauses.That is if: D (i)-average> predetermined threshold value, then i is doubtful card pause point.
In the present embodiment, described predetermined threshold value is 20ms.In screen display, the selection of 20ms is the average delay time that can identify according to human eye.If doubtful card pause point is more, instruction card situation of pausing is more serious.Namely the doubtful card pause point quantitative value calculated can be paused as analyzing card an index of situation.
Index three, 95% accounting delay inequality
95% is the critical value defining small probability event in theory of probability, if the probability of a thing generation is less than 5%, so can think that it is small probability event.Such as, when game screen time delay accounting is greater than 95% time, can think and almost comprise all card pause points, be positioned at the pause difference of delay value average of the minimum time delay of this accounting and mean 0100 calorie and be this desired value, the size reflection of this value be that card pauses the vibrations scope of time delay, be appreciated that this vibrations scope is less, illustrate that duration curve is relatively more level and smooth, play also more smooth.
First, define time delay accounting function p (d), this time delay accounting p (d) illustrates, in all data of a card time-delayed sequence D, time delay is less than or equal to the ratio data of d, such as:
Suppose a card time-delayed sequence D=[21,33,46,50,62,69], so,
p(30)=1/6
p(60)=4/6
p(70)=1.0
To be paused by computer card the time delay accounting of time-delayed sequence D, can obtain one " time delay/accounting curve ", as shown in Figure 4.
Wherein, 95% this index of accounting delay inequality refers to the minimum d value that meets time delay accounting function p (d) >=95% and mean 0100 calorie and to pause the difference of delay value average.The card of this value reflection pauses the scope of time delay and concentrated situation.The accounting of >=95% can think most time delay all within this scope, to pause the difference x of delay value average, represent that most of data all restrain in the scope of average+x, as shown in Figure 4 with mean 0100 calorie.
Visible, when 95% this index of accounting delay inequality is less, the data that instruction card is paused in time-delayed sequence D more concentrate near mean value average, and it is also faster that curve rises, and plays also more smooth.
To pause information (comprising at least one index in delay time variance, doubtful card pause point quantity, 95% accounting delay inequality) at the card obtained after step S103, display screen can be sent to carry out showing or send to storage unit to store.
In addition, for different application (such as, dissimilar game), can be obtained and the card stored pauses information (comprising at least one index in delay time variance, doubtful card pause point quantity, 95% accounting delay inequality) by the embodiment of the present invention and carry out contrast conclusion, the card be convenient between different game situation of pausing contrasts.Table 4 pauses detection method to 3 different correlation datas after carrying out a card detection of playing by the card of the embodiment of the present invention:
Table 4
Visible, utilize data can obtain multiple game card clearly and to pause situation comparing result, measure a card order of severity with the index of reasonable science, the card of the different game of convenient contrast pauses degree, instructs development of games to improve game, improve the Consumer's Experience of game with this.Therefore, the card utilizing the embodiment of the present invention to obtain information of pausing is analyzed between difference game has objective meaning.
The card of the present embodiment pauses the time that detection method is changed by the rgb value that the framebuffer device file monitoring Linux carrys out some pixels on real-time monitoring screen, efficiently (Millisecond) time stamp data of pixel change can be gathered, thus improve sample frequency; Carry out processing based on the sampled data of such real-time high-efficiency within a test period and calculate to obtain, as some indexs of a card analysis result, making analysis result more careful and accurate.
Please refer to Fig. 5, is that card that second embodiment of the invention provides pauses the schematic flow sheet of detection method.Specifically comprise the steps:
S201, when on the terminal screen of Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
S202, described timestamp sequence converted to a card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
S203, delete the pause card that is greater than preset value in time-delayed sequence of described card and to pause delay data, obtain noise reject after card to pause time-delayed sequence;
S204, card after rejecting based on the described noise time-delayed sequence that pauses calculates and obtains a card information, the described card information of pausing comprises following one or more: described noise reject after card to pause the variance of time-delayed sequence, described noise reject after the pause card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence of card to pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in the time-delayed sequence after described noise is rejected.
In the present embodiment, the process of the implementation of step S201, S202 and S204 and the step S101 of the first embodiment, S102 and S103 is basically identical, does not repeat them here.
With the first embodiment unlike, embodiment adds and pretreated step is carried out to the described card time-delayed sequence that pauses, namely reject the noise that described card pauses in time-delayed sequence.Wherein, noise is individual impulse data in a card time-delayed sequence D, the generation of these data may be due to Acquisition Error or system reason, the basic data can not paused as analyzing card, if these irrational data join in calculating, a normal card result of calculation can be affected, so must reject.
The rejecting noise method that the present embodiment adopts, delete described card exactly to pause in time-delayed sequence D and be greater than preset value (such as 400ms ~ 600ms, be preferably 500ms) delay data, because all do not change in the time that screen is greater than 500ms, game be described or be block completely motionless, or being exactly error information.No matter any situation, does not belong to a card category analyzed.Through pretreated data, being depicted as a card time delay chart can be more directly perceived, with reference to figure 3.
Therefore, the card of the present embodiment detection method of pausing increases and carries out noise to a card time-delayed sequence and reject step, and the card after rejecting based on noise pauses, time-delayed sequence calculates and obtains a card information, and the impact of minimizing error information, makes analysis result more accurate.
With reference to figure 6, it is the structural representation that third embodiment of the invention provides a card pick-up unit.As shown in the figure, the card of this embodiment pick-up unit 30 that pauses comprises data acquisition module 301, data processing module 302 and data analysis module, wherein:
Data acquisition module 301, when on the terminal screen when Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
In the present embodiment, as shown in Figure 7, described data acquisition module 301 comprises rgb value collecting unit 3011, rgb value judging unit and timestamp record cell 3012 further, wherein:
Rgb value collecting unit 3011, the rgb value of some pixels on Real-time Obtaining terminal screen;
In the present embodiment, described rgb value collecting unit carrys out the rgb value of some pixels on Real-time Obtaining terminal screen by the framebuffer device file monitoring Linux, concrete, the rgb value of some pixels on Real-time Obtaining terminal screen is carried out by performing following steps:
Read frame buffer zone device file;
By map operation, described frame buffer zone device file is mapped in internal memory;
The changes in coordinates of the some screen pixels points monitored as required is to the side-play amount in internal memory, and (such as, 2ms) reads out the rgb value of corresponding coordinate point at a certain time interval.
Rgb value judging unit 3012, the rgb value of the corresponding coordinate point read for the rgb value of corresponding coordinate point that read described rgb value collecting unit current time and a upper moment contrasts, when the rgb value of any one coordinate points changes, then on the terminal screen judging Real-time Obtaining, the rgb value of some pixels changes; And
Timestamp record cell 3013, for when on the terminal screen that rgb value judging unit judges Real-time Obtaining, the rgb value of some pixels changes, record current time stamp.Therefore, within a test period, a timestamp sequence can be obtained.
Data processing module 302, for described timestamp sequence being converted to card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
Concrete, the concrete processing mode of this data processing module 302 is as follows:
The timestamp sequence T sequence that tentation data processing module 302 receives is: T=[t0, t1, t2, ... .t (n-1), tn], after data processing module 302 processes, the card time-delayed sequence D that pauses exported is: D=[t1-t0, t2-t1 ... tn-t (n-1)].
Can find out, a card time-delayed sequence D is the spacing of adjacent time stamp time in timestamp sequence T.Be understood that, what block each data representation in a time-delayed sequence D is the time interval that screen-picture remains unchanged, and is a card delay time.
Data analysis module 303, calculate obtain card information based on the described card time-delayed sequence that pauses, the described card information of pausing comprises following one or more: described card pause the variance of time-delayed sequence, described card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
Data analysis module 303, for carrying out mathematical modeling to a card time-delayed sequence, to pause situation to calculate card release.In the present embodiment, carry out analyzing card mainly through at least one index in computation delay time variance, doubtful card pause point quantity and 95% accounting delay inequality to pause situation.Detailed computation process about these three indexs please refer to the first embodiment, omits describe at this.
In the present embodiment, also comprise memory module and display module, be respectively used to store described card and pause information; And show described card and to pause information.
The card of the present embodiment pauses the time that pick-up unit is changed by the rgb value that the framebuffer device file monitoring Linux carrys out some pixels on real-time monitoring screen, efficiently (Millisecond) time stamp data of pixel change can be gathered, thus improve sample frequency; Carry out processing based on the sampled data of such real-time high-efficiency within a test period and calculate to obtain, as some indexs of a card analysis result, making analysis result more careful and accurate.
With reference to figure 8, it is the structural representation that fourth embodiment of the invention provides a card pick-up unit.As shown in the figure, the card of this embodiment pauses, and pick-up unit 40 comprises data acquisition module 401, data processing module 402, noise reject module 403 and data analysis module 404, wherein:
Data acquisition module 401, when on the terminal screen when Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
Data processing module 402, for described timestamp sequence being converted to card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
Noise rejects module 403, to pause delay data for deleting the pause card that is greater than preset value in time-delayed sequence of described card, obtain noise reject after card to pause time-delayed sequence;
Data analysis module 404, card after rejecting based on the described noise time-delayed sequence that pauses calculates and obtains a card information, the described card information of pausing comprises following one or more: described noise reject after card pause the variance of time-delayed sequence, described noise reject after card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
In the present embodiment, the module of the principle of work of module 401,402 and 404 and process and the 3rd embodiment 301,302 and 303 basically identical, do not repeat them here.
With the 3rd embodiment unlike, embodiment adds noise and reject module 403 pre-service is carried out, namely for rejecting the noise that described card pauses in time-delayed sequence to the described card time-delayed sequence that pauses.Wherein, noise is individual impulse data in a card time-delayed sequence D, the generation of these data may be due to Acquisition Error or system reason, the basic data can not paused as analyzing card, if these irrational data join in calculating, a normal card result of calculation can be affected, so must reject.
The noise of the present embodiment rejects the rejecting noise process performed by module 403, delete described card exactly to pause in time-delayed sequence D and be greater than preset value (such as 400ms ~ 600ms, be preferably 500ms) delay data, because all do not change in the time that screen is greater than 500ms, game be described or be block completely motionless, or being exactly error information.No matter any situation, does not belong to a card category analyzed.Through pretreated data, being depicted as a card time delay chart can be more directly perceived, with reference to figure 3.
Therefore, the card of the present embodiment pick-up unit that pauses increases noise and rejects module 403 and carry out noise rejecting to the card time-delayed sequence that pauses, and the card after rejecting based on noise pauses, time-delayed sequence calculates and obtains a card information, reduces the impact of error information, makes analysis result more accurate.
The embodiment of the present invention also provides a kind of user terminal, the described user terminal card comprised described in above-mentioned any embodiment pauses pick-up unit, the user terminal that the embodiment of the present invention provides, can different application programs run (such as, game) time, the real-time card detecting game pauses situation, and instructs development of games to improve game with this, improves the Consumer's Experience of game.
With reference to figure 9, be that a kind of game card that fifth embodiment of the invention provides pauses the schematic flow sheet of detection method, specifically comprise step:
S501, data collection steps: the timestamp that the pixel data obtaining some control points of game picture changes;
S502, data processing step: obtain multiple card based on the multiple timestamps in same test period and to pause delay time, a card delay time described in each is the time interval between two adjacent described timestamps;
S503, data analysis step: calculate obtain card data based on the delay time that pauses of the multiple cards in same test period, comprise following one or more: described multiple card pauses the variance of delay time, described multiple card pauses in delay time and to pause delay time quantity than pause card that the mean value of delay time is greater than predetermined threshold value of described multiple card, meet time delay accounting function be more than or equal to 95% minimum value and described multiple card to pause the difference of mean value of delay time, described time delay accounting function is that described multiple card pauses and is less than or equal to the ratio data of described minimum value in delay time.
Wherein, with reference to Figure 10, described data collection steps specifically comprises step:
S5011, carry out the rgb value of some control points of Real-time Obtaining game picture by monitoring the framebuffer device file of Linux;
Whether the rgb value that S5012, the rgb value of any point judged in some control points that current time reads compare the corresponding control point that a moment reads changes;
S5013, if so, then record the timestamp of current time.Like this, the multiple timestamps in same test period can be obtained through a test period.
In the present embodiment, data collection steps carrys out the rgb value of some control points of Real-time Obtaining game picture especially by the framebuffer device file monitoring Linux, and specific implementation process please refer to the first embodiment.
In data processing step, the multiple timestamps in same test period of collecting data collection steps are needed to process, obtain multiple card to pause delay time, specifically the multiple timestamps (i.e. timestamp sequence) in same test period are transformed into a card time-delayed sequence, concrete processing mode is as follows:
Suppose that timestamp sequence T sequence is: T=[t0, t1, t2 ... .t (n-1), tn], so a card time-delayed sequence D is: D=[t1-t0, t2-t1 ... tn-t (n-1)].
Can find out, a card time-delayed sequence D is the spacing of adjacent time stamp time in timestamp sequence T.Be understood that, what block each data representation in a time-delayed sequence D is the time interval that game picture remains unchanged, and is a card delay time.Wherein, Fig. 3 shows a card time-delayed sequence.
Data analysis step is used for carrying out mathematical modeling to the card time-delayed sequence that pauses, and to pause situation to calculate game card.In the present embodiment, analyze game card mainly through at least one index in computation delay time variance, doubtful card pause point quantity and 95% accounting delay inequality to pause situation.Detailed computation process about these three indexs please refer to the first embodiment, omits describe at this.
To pause information (comprising at least one index in delay time variance, doubtful card pause point quantity, 95% accounting delay inequality) at the card obtained after data analysis step, display screen can be sent to carry out showing or send to storage unit to store.
The game card of the present embodiment detection method of pausing monitors time of the rgb value change of some control points of game picture in real time by the framebuffer device file monitoring Linux, efficiently (Millisecond) time stamp data of pixel change can be gathered, thus improve sample frequency; Carry out processing based on the sampled data of such real-time high-efficiency within a test period and calculate to obtain, as some indexs of a card analysis result, making analysis result more careful and accurate.
With reference to Figure 11, be that a kind of game card that sixth embodiment of the invention provides pauses the structural representation of pick-up unit, this game card pick-up unit 60 that pauses comprises data acquisition module 601, data processing module 602 and data analysis module 603, wherein:
Data acquisition module 601, the timestamp that the pixel data for the some control points obtaining game picture changes;
Data processing module 602, obtains multiple card based on the multiple timestamps in same test period and to pause delay time, and a card delay time described in each is the time interval between two adjacent described timestamps;
Data analysis module 603, calculate obtain card data based on the delay time that pauses of the multiple cards in same test period, comprise following one or more: described multiple card pause the variance of delay time, described multiple card pause in delay time than described multiple card pause card that the mean value of delay time is greater than predetermined threshold value pause delay time quantity, meet time delay accounting function be more than or equal to 95% minimum value and described multiple card to pause the difference of mean value of delay time, described time delay accounting function is that described multiple card pauses and is less than or equal to the ratio data of described minimum value in delay time.
Concrete, with reference to Figure 12, described data acquisition module 601 comprises:
Monitoring means 6011, carrys out the rgb value of some control points of Real-time Obtaining game picture for the framebuffer device file by monitoring Linux; Detailed process please refer to the first embodiment.
Judging unit 6012, for judging that the rgb value of any point in some control points that current time reads was compared the rgb value of corresponding control point that a upper moment reads and whether changed; And
Record cell 6013, for when judging unit is judged as YES, the timestamp of record current time.
Described data processing module 602 processes for the multiple timestamps in same test period of collecting data collection steps, to pause delay time to obtain multiple card, specifically the multiple timestamps (i.e. timestamp sequence) in same test period are transformed into a card time-delayed sequence, concrete processing mode is as follows:
Suppose that timestamp sequence T sequence is: T=[t0, t1, t2 ... .t (n-1), tn], so a card time-delayed sequence D is: D=[t1-t0, t2-t1 ... tn-t (n-1)].
Can find out, a card time-delayed sequence D is the spacing of adjacent time stamp time in timestamp sequence T.Be understood that, what block each data representation in a time-delayed sequence D is the time interval that game picture remains unchanged, and is a card delay time.Wherein, Fig. 3 shows a card time-delayed sequence.
Data analysis module 603, for carrying out mathematical modeling to a card time-delayed sequence, to pause situation to calculate game card.In the present embodiment, analyze game card mainly through at least one index in computation delay time variance, doubtful card pause point quantity and 95% accounting delay inequality to pause situation.Detailed computation process about these three indexs please refer to the first embodiment, omits describe at this.
To pause information (comprising at least one index in delay time variance, doubtful card pause point quantity, 95% accounting delay inequality) at the card obtained after data analysis module 603, display module can be sent to carry out showing or send to memory module to store.
The game card of the present embodiment pick-up unit that pauses monitors time of the rgb value change of some control points of game picture in real time by the framebuffer device file monitoring Linux, efficiently (Millisecond) time stamp data of pixel change can be gathered, thus improve sample frequency; Carry out processing based on the sampled data of such real-time high-efficiency within a test period and calculate to obtain, as some indexs of a card analysis result, making analysis result more careful and accurate.
Those of ordinary skill in the art one of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.

Claims (23)

1. a card detection method, is characterized in that, comprising:
When on the terminal screen of Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
Described timestamp sequence is converted to card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
Calculate obtain card information based on the described card time-delayed sequence that pauses, the described card information of pausing comprises following one or more: described card pause the variance of time-delayed sequence, described card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
2. a card detection method as claimed in claim 1, be is characterized in that, carried out the rgb value of some pixels on Real-time Obtaining terminal screen by the framebuffer device file monitoring Linux.
3. a card detection method as claimed in claim 1 or 2, be is characterized in that, carried out the rgb value of some pixels on Real-time Obtaining terminal screen by following steps:
Read frame buffer zone device file;
By map operation, described frame buffer zone device file is mapped in internal memory;
The changes in coordinates of the some screen pixels points monitored as required, to the side-play amount in internal memory, reads out the rgb value of corresponding coordinate point at a certain time interval.
4. a card detection method as claimed in claim 3, is characterized in that, also comprise:
The rgb value of the corresponding coordinate point that the rgb value of the corresponding coordinate point read by current time and a upper moment read contrasts, when the rgb value of any one coordinate points changes, then think Real-time Obtaining terminal screen on the rgb value of some pixels change.
5. a card detection method as claimed in claim 3, it is characterized in that, the described time interval is 2 milliseconds.
6. a card detection method as claimed in claim 1, is characterized in that, after described timestamp sequence being converted to a card time-delayed sequence, also comprises:
Delete the pause card that is greater than preset value in time-delayed sequence of described card to pause delay data, obtain noise reject after card to pause time-delayed sequence;
Describedly calculate and obtain card information based on the described card time-delayed sequence that pauses and be specially the time-delayed sequence that pauses of the card after rejecting based on described noise and calculate and obtain a card information.
7. a card detection method as claimed in claim 6, it is characterized in that, described preset value is 400ms ~ 600ms.
8. a card detection method as claimed in claim 1, it is characterized in that, described predetermined threshold value is 20ms.
9. a card detection method as claimed in claim 1, is characterized in that, also comprise:
The described card information of pausing is carried out storing or showing.
10. a card pick-up unit, is characterized in that, comprising:
Data acquisition module, when on the terminal screen when Real-time Obtaining, the rgb value of some pixels changes, record current time stamp, thus obtain a timestamp sequence;
Data processing module, for described timestamp sequence being converted to card time-delayed sequence, the described card each card paused in the time-delayed sequence delay data that pauses is the difference of adjacent two timestamps in described timestamp sequence;
Data analysis module, calculate obtain card information based on the described card time-delayed sequence that pauses, the described card information of pausing comprises following one or more: described card pause the variance of time-delayed sequence, described card pause the card that is greater than predetermined threshold value than the mean value of a card time-delayed sequence in time-delayed sequence pause delay data quantity, meet time delay accounting function and be more than or equal to the minimum value of 95% and the difference of the mean value of a card time-delayed sequence, described time delay accounting function is the ratio data being less than or equal to described minimum value in a described time-delayed sequence.
11. block a pick-up unit as claimed in claim 10, it is characterized in that, described data acquisition module carrys out the rgb value of some pixels on Real-time Obtaining terminal screen by the framebuffer device file monitoring Linux.
12. cards as described in claim 10 or 11 pause pick-up unit, and it is characterized in that, described data acquisition module comprises rgb value collecting unit, and described rgb value collecting unit carrys out the rgb value of some pixels on Real-time Obtaining terminal screen by following steps:
Read frame buffer zone device file;
By map operation, described frame buffer zone device file is mapped in internal memory;
The changes in coordinates of the some screen pixels points monitored as required, to the side-play amount in internal memory, reads out the rgb value of corresponding coordinate point at a certain time interval.
13. block a pick-up unit as claimed in claim 12, and it is characterized in that, described data acquisition module also comprises:
Rgb value judging unit, the rgb value of the corresponding coordinate point read for the rgb value of corresponding coordinate point that read described rgb value collecting unit current time and a upper moment contrasts, when the rgb value of any one coordinate points changes, then on the terminal screen judging Real-time Obtaining, the rgb value of some pixels changes; And
Timestamp record cell, for when on the terminal screen that rgb value judging unit judges Real-time Obtaining, the rgb value of some pixels changes, record current time stamp.
14. block a pick-up unit as claimed in claim 12, and it is characterized in that, the described time interval is 2 milliseconds.
15. block a pick-up unit as claimed in claim 10, it is characterized in that, also comprise:
Noise rejects module, to pause delay data for deleting the pause card that is greater than preset value in time-delayed sequence of described card, obtain noise reject after card to pause time-delayed sequence;
Described data analysis module reject based on described noise after the card time-delayed sequence that pauses calculate and obtain a card information.
16. block a pick-up unit as claimed in claim 15, and it is characterized in that, described preset value is 400ms ~ 600ms.
17. block a pick-up unit as claimed in claim 10, and it is characterized in that, described predetermined threshold value is 20ms.
18. block a pick-up unit as claimed in claim 10, it is characterized in that, also comprise:
Memory module, to pause information for storing described card; Or
Display module, to pause information for showing described card.
19. 1 kinds of user terminals, is characterized in that, the card comprised as described in claim 10 ~ 18 any one pauses pick-up unit.
20. 1 kinds of game cards pause detection method, it is characterized in that, comprising:
Data collection steps: the timestamp that the pixel data obtaining some control points of game picture changes;
Data processing step: obtain multiple card based on the multiple timestamps in same test period and to pause delay time, a card delay time described in each is the time interval between two adjacent described timestamps;
Data analysis step: calculate obtain card data based on the delay time that pauses of the multiple cards in same test period, comprise following one or more: described multiple card pause the variance of delay time, described multiple card pause in delay time than described multiple card pause card that the mean value of delay time is greater than predetermined threshold value pause delay time quantity, meet time delay accounting function be more than or equal to 95% minimum value and described multiple card to pause the difference of mean value of delay time, described time delay accounting function is that described multiple card pauses and is less than or equal to the ratio data of described minimum value in delay time.
21. game cards as claimed in claim 20 pause detection method, and it is characterized in that, described data collection steps specifically comprises:
The rgb value of some control points of Real-time Obtaining game picture is carried out by the framebuffer device file monitoring Linux;
Judge that the rgb value of any point in some control points that current time reads is compared the rgb value of corresponding control point that a moment reads and whether changed;
If so, the timestamp of current time is then recorded.
22. 1 kinds of game cards pause pick-up unit, it is characterized in that, comprising:
Data acquisition module, the timestamp that the pixel data for the some control points obtaining game picture changes;
Data processing module, obtains multiple card based on the multiple timestamps in same test period and to pause delay time, and a card delay time described in each is the time interval between two adjacent described timestamps;
Data analysis module, calculate obtain card data based on the delay time that pauses of the multiple cards in same test period, comprise following one or more: described multiple card pause the variance of delay time, described multiple card pause in delay time than described multiple card pause card that the mean value of delay time is greater than predetermined threshold value pause delay time quantity, meet time delay accounting function be more than or equal to 95% minimum value and described multiple card to pause the difference of mean value of delay time, described time delay accounting function is that described multiple card pauses and is less than or equal to the ratio data of described minimum value in delay time.
23. game cards as claimed in claim 22 pause pick-up unit, and it is characterized in that, described data acquisition module specifically comprises:
Monitoring means, carrys out the rgb value of some control points of Real-time Obtaining game picture for the framebuffer device file by monitoring Linux;
Judging unit, for judging that the rgb value of any point in some control points that current time reads was compared the rgb value of corresponding control point that a upper moment reads and whether changed;
Record cell, for when judging unit is judged as YES, the timestamp of record current time.
CN201510405885.8A 2015-07-09 2015-07-09 Terminal, Caton detection method, device and game Caton detection method, device Active CN104965773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510405885.8A CN104965773B (en) 2015-07-09 2015-07-09 Terminal, Caton detection method, device and game Caton detection method, device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510405885.8A CN104965773B (en) 2015-07-09 2015-07-09 Terminal, Caton detection method, device and game Caton detection method, device

Publications (2)

Publication Number Publication Date
CN104965773A true CN104965773A (en) 2015-10-07
CN104965773B CN104965773B (en) 2019-06-04

Family

ID=54219808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510405885.8A Active CN104965773B (en) 2015-07-09 2015-07-09 Terminal, Caton detection method, device and game Caton detection method, device

Country Status (1)

Country Link
CN (1) CN104965773B (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389258A (en) * 2015-12-10 2016-03-09 腾讯科技(深圳)有限公司 Program detection method and apparatus
CN105653407A (en) * 2015-12-08 2016-06-08 网易(杭州)网络有限公司 Terminal, jam measuring method, device, game jam measuring method and apparatus
CN105761255A (en) * 2016-02-04 2016-07-13 网易(杭州)网络有限公司 Game frame stagnation test method and device
CN105913429A (en) * 2016-04-12 2016-08-31 工业和信息化部电信研究院 Calculating method for visual perception response time delay index of intelligent terminal user
CN105912444A (en) * 2016-04-29 2016-08-31 网易(杭州)网络有限公司 Refresh rate testing method and device of picture change of mobile terminal game screen
CN106126012A (en) * 2016-06-17 2016-11-16 浙江万朋教育科技股份有限公司 Quickly judge the method whether user is currently in use specified application
CN106375755A (en) * 2016-08-31 2017-02-01 福建省天奕网络科技有限公司 Video data stalling detection method and system
CN106604135A (en) * 2016-12-21 2017-04-26 深圳市泰普森科技有限公司 Video playing method based on set top box and set top box
CN106776253A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 A kind of interface interim card monitoring method and device
CN106730844A (en) * 2017-01-10 2017-05-31 网易(杭州)网络有限公司 A kind of scene run time method of testing and device
CN106973321A (en) * 2017-03-31 2017-07-21 广州酷狗计算机科技有限公司 Determine the method and device of video cardton
CN107038107A (en) * 2017-03-09 2017-08-11 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining application interim card information
CN107196794A (en) * 2017-05-18 2017-09-22 腾讯科技(深圳)有限公司 A kind of abnormal analysis method of interim card and device
CN107491349A (en) * 2017-08-25 2017-12-19 广东欧珀移动通信有限公司 Applied program processing method and device, computer equipment, storage medium
CN107749914A (en) * 2017-10-13 2018-03-02 北京小米移动软件有限公司 Interim card data capture method and device
CN108319974A (en) * 2018-01-22 2018-07-24 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and electronic device
CN108536367A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of processing method, terminal and the readable storage medium storing program for executing of interaction page interim card
CN109445941A (en) * 2018-10-19 2019-03-08 Oppo广东移动通信有限公司 Method, apparatus, terminal and the storage medium of configuration processor performance
CN109697247A (en) * 2018-12-30 2019-04-30 北京奇艺世纪科技有限公司 A kind of detection method and device of data accuracy
CN109753423A (en) * 2019-01-10 2019-05-14 湖南快乐阳光互动娱乐传媒有限公司 A kind of method and device for assessing Caton degree
CN109885492A (en) * 2019-02-13 2019-06-14 福建天晴数码有限公司 A kind of response time test method and terminal based on image recognition and curve matching
CN110618904A (en) * 2018-06-20 2019-12-27 广州优视网络科技有限公司 Stuck detection method and device
CN110825466A (en) * 2019-11-11 2020-02-21 腾讯科技(深圳)有限公司 Program jamming processing method and jamming processing device
CN111078541A (en) * 2019-11-29 2020-04-28 珠海金山网络游戏科技有限公司 Automatic katon detection method and system based on Unity engine
CN111097169A (en) * 2019-12-25 2020-05-05 上海米哈游天命科技有限公司 Game image processing method, device, equipment and storage medium
CN111880984A (en) * 2020-06-09 2020-11-03 上海容易网电子商务股份有限公司 Monitoring system for android interactive screen application running state
CN111984544A (en) * 2020-09-08 2020-11-24 网易(杭州)网络有限公司 Equipment performance testing method and device, electronic equipment and storage medium
CN112929702A (en) * 2021-04-01 2021-06-08 北京百家视联科技有限公司 Data stream sending method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137175A1 (en) * 2010-06-01 2012-05-31 Hill David T Correlated testing system
CN104063286A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Method and device for testing fluency of change of displayed content
CN104166614A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Frame rate detecting method for mobile device and related device
CN104239168A (en) * 2013-06-09 2014-12-24 腾讯科技(深圳)有限公司 Blocking detection method and device
CN104375912A (en) * 2014-11-28 2015-02-25 广东欧珀移动通信有限公司 Method and device for measuring blockage of mobile terminal
CN104427402A (en) * 2013-09-03 2015-03-18 中国科学院声学研究所 Wireless network stream media quality acquisition method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137175A1 (en) * 2010-06-01 2012-05-31 Hill David T Correlated testing system
CN104063286A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Method and device for testing fluency of change of displayed content
CN104166614A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Frame rate detecting method for mobile device and related device
CN104239168A (en) * 2013-06-09 2014-12-24 腾讯科技(深圳)有限公司 Blocking detection method and device
CN104427402A (en) * 2013-09-03 2015-03-18 中国科学院声学研究所 Wireless network stream media quality acquisition method and system
CN104375912A (en) * 2014-11-28 2015-02-25 广东欧珀移动通信有限公司 Method and device for measuring blockage of mobile terminal

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653407A (en) * 2015-12-08 2016-06-08 网易(杭州)网络有限公司 Terminal, jam measuring method, device, game jam measuring method and apparatus
CN105389258B (en) * 2015-12-10 2020-08-14 腾讯科技(深圳)有限公司 Program detection method and device
WO2017096734A1 (en) * 2015-12-10 2017-06-15 腾讯科技(深圳)有限公司 Program detection method and device
CN105389258A (en) * 2015-12-10 2016-03-09 腾讯科技(深圳)有限公司 Program detection method and apparatus
CN105761255A (en) * 2016-02-04 2016-07-13 网易(杭州)网络有限公司 Game frame stagnation test method and device
CN105761255B (en) * 2016-02-04 2019-01-25 网易(杭州)网络有限公司 Game picture Caton test method and device
CN105913429A (en) * 2016-04-12 2016-08-31 工业和信息化部电信研究院 Calculating method for visual perception response time delay index of intelligent terminal user
CN105913429B (en) * 2016-04-12 2019-03-08 工业和信息化部电信研究院 The calculation method of intelligent terminal user visual perception response time delay index
CN105912444A (en) * 2016-04-29 2016-08-31 网易(杭州)网络有限公司 Refresh rate testing method and device of picture change of mobile terminal game screen
CN106126012A (en) * 2016-06-17 2016-11-16 浙江万朋教育科技股份有限公司 Quickly judge the method whether user is currently in use specified application
CN106126012B (en) * 2016-06-17 2019-09-20 浙江万朋教育科技股份有限公司 Quickly judge the method whether user is used specified application
CN106375755A (en) * 2016-08-31 2017-02-01 福建省天奕网络科技有限公司 Video data stalling detection method and system
CN106776253A (en) * 2016-12-08 2017-05-31 武汉斗鱼网络科技有限公司 A kind of interface interim card monitoring method and device
CN106776253B (en) * 2016-12-08 2020-08-04 武汉斗鱼网络科技有限公司 Interface card pause monitoring method and device
CN106604135A (en) * 2016-12-21 2017-04-26 深圳市泰普森科技有限公司 Video playing method based on set top box and set top box
CN106730844A (en) * 2017-01-10 2017-05-31 网易(杭州)网络有限公司 A kind of scene run time method of testing and device
CN107038107A (en) * 2017-03-09 2017-08-11 武汉斗鱼网络科技有限公司 A kind of method and device for obtaining application interim card information
CN107038107B (en) * 2017-03-09 2020-03-17 武汉斗鱼网络科技有限公司 Method and device for acquiring application blocking information
WO2018161622A1 (en) * 2017-03-09 2018-09-13 武汉斗鱼网络科技有限公司 Method and device for acquiring lag information of application
CN106973321A (en) * 2017-03-31 2017-07-21 广州酷狗计算机科技有限公司 Determine the method and device of video cardton
CN106973321B (en) * 2017-03-31 2019-07-30 广州酷狗计算机科技有限公司 Determine the method and device of video cardton
CN107196794A (en) * 2017-05-18 2017-09-22 腾讯科技(深圳)有限公司 A kind of abnormal analysis method of interim card and device
CN107491349A (en) * 2017-08-25 2017-12-19 广东欧珀移动通信有限公司 Applied program processing method and device, computer equipment, storage medium
CN107749914B (en) * 2017-10-13 2020-10-30 北京小米移动软件有限公司 Method and device for acquiring stuck data
CN107749914A (en) * 2017-10-13 2018-03-02 北京小米移动软件有限公司 Interim card data capture method and device
CN108319974A (en) * 2018-01-22 2018-07-24 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and electronic device
CN108319974B (en) * 2018-01-22 2022-10-28 腾讯科技(深圳)有限公司 Data processing method, data processing device, storage medium and electronic device
CN108536367A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of processing method, terminal and the readable storage medium storing program for executing of interaction page interim card
CN108536367B (en) * 2018-03-28 2020-11-13 努比亚技术有限公司 Interactive page jamming processing method, terminal and readable storage medium
CN110618904A (en) * 2018-06-20 2019-12-27 广州优视网络科技有限公司 Stuck detection method and device
CN109445941A (en) * 2018-10-19 2019-03-08 Oppo广东移动通信有限公司 Method, apparatus, terminal and the storage medium of configuration processor performance
CN109697247A (en) * 2018-12-30 2019-04-30 北京奇艺世纪科技有限公司 A kind of detection method and device of data accuracy
CN109753423A (en) * 2019-01-10 2019-05-14 湖南快乐阳光互动娱乐传媒有限公司 A kind of method and device for assessing Caton degree
CN109885492A (en) * 2019-02-13 2019-06-14 福建天晴数码有限公司 A kind of response time test method and terminal based on image recognition and curve matching
CN109885492B (en) * 2019-02-13 2022-01-28 福建天晴数码有限公司 Response time testing method and terminal based on image recognition and curve fitting
CN110825466B (en) * 2019-11-11 2021-11-02 腾讯科技(深圳)有限公司 Program jamming processing method and jamming processing device
CN110825466A (en) * 2019-11-11 2020-02-21 腾讯科技(深圳)有限公司 Program jamming processing method and jamming processing device
CN111078541A (en) * 2019-11-29 2020-04-28 珠海金山网络游戏科技有限公司 Automatic katon detection method and system based on Unity engine
CN111097169A (en) * 2019-12-25 2020-05-05 上海米哈游天命科技有限公司 Game image processing method, device, equipment and storage medium
CN111097169B (en) * 2019-12-25 2023-08-29 上海米哈游天命科技有限公司 Game image processing method, device, equipment and storage medium
CN111880984A (en) * 2020-06-09 2020-11-03 上海容易网电子商务股份有限公司 Monitoring system for android interactive screen application running state
CN111984544A (en) * 2020-09-08 2020-11-24 网易(杭州)网络有限公司 Equipment performance testing method and device, electronic equipment and storage medium
CN111984544B (en) * 2020-09-08 2024-03-22 网易(杭州)网络有限公司 Device performance test method and device, electronic device and storage medium
CN112929702A (en) * 2021-04-01 2021-06-08 北京百家视联科技有限公司 Data stream sending method and device, electronic equipment and storage medium
CN112929702B (en) * 2021-04-01 2021-08-24 北京百家视联科技有限公司 Data stream sending method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104965773B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN104965773A (en) Terminal, jamming detection method, device as well as game jamming detection method and device
CN105653407A (en) Terminal, jam measuring method, device, game jam measuring method and apparatus
CN105589783A (en) Application program lag problem data obtaining method and device
CN102880616A (en) Browser page loading method and device
Console et al. Real time forecasts through an earthquake clustering model constrained by the rate-and-state constitutive law: comparison with a purely stochastic ETAS model
CN107515825A (en) Fluency method of testing and device, storage medium, terminal
US20140052395A1 (en) Method and apparatus for estimating the remaining time required to fully charge a battery, and mobile device incorporating thereof
CN109445884B (en) Function label display method and terminal equipment
CN107688533A (en) Applied program testing method, device, computer equipment and storage medium
CN103455555B (en) Recommendation method and recommendation apparatus based on mobile terminal similarity
US11205418B2 (en) Monotone speech detection
CN112801775A (en) Client credit evaluation method and device
US10198147B2 (en) Object management and visualization using a computing device
CN107633426A (en) Advertising message method for implantation and system based on environmental data
CN110796591A (en) GPU card using method and related equipment
CN111538852B (en) Multimedia resource processing method, device, storage medium and equipment
CN113902457B (en) Method and device for evaluating reliability of house source information, electronic equipment and storage medium
CN108460475A (en) Poor student&#39;s prediction technique and device based on network playing by students behavior
CN111026991B (en) Data display method and device and computer equipment
CN114071127A (en) Live video delay testing method and device, storage medium and electronic equipment
CN110362470A (en) Test data collection method, device, electronic equipment and storage medium
KR101433866B1 (en) Method and apparatus for review alarm considering study period
CN110427553B (en) Searching method and device for intelligent sound box, server and storage medium
CN111026990B (en) Hot topic log information display method and device
CN202711259U (en) Computing terminal data processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant